Commit Graph
626 Commits
Author SHA1 Message Date
dependabot[bot] 2772d27f40 Bump github.com/nats-io/nats-server/v2 from 2.7.4 to 2.8.1
Bumps [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) from 2.7.4 to 2.8.1.
- [Release notes](https://github.com/nats-io/nats-server/releases)
- [Changelog](https://github.com/nats-io/nats-server/blob/main/.goreleaser.yml)
- [Commits](https://github.com/nats-io/nats-server/compare/v2.7.4...v2.8.1)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats-server/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-22 20:11:33 +00:00
Joachim Bauch 6fa4a8b434 Also return in-order list of "join" events. 2022-04-11 17:01:08 +02:00
Joachim Bauch ef8d5ff628 Merge pull request #228 from strukturag/send-to-session
Send directly to local session with disconnected client.
2022-04-11 17:00:58 +02:00
Joachim Bauch 5f97794691 Send directly to local session with disconnected client.
Before it was using NATS to deliver the message to the session.
2022-04-11 16:53:47 +02:00
Joachim Bauch 681ba401a3 Merge pull request #226 from strukturag/dependabot/github_actions/actions/setup-go-3
Bump actions/setup-go from 2 to 3
2022-04-11 10:23:31 +02:00
Joachim Bauch 144eefa2fb make: Fix unnecessary building of easyjson. 2022-04-11 10:22:22 +02:00
dependabot[bot] 60fa182188 Bump actions/setup-go from 2 to 3
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-08 20:11:32 +00:00
Joachim Bauch 156a8a2086 Merge pull request #221 from danxuliu/fix-media-type-not-updated-after-publisher-renegotiations
Fix mediaType not updated after publisher renegotiations
2022-04-07 08:24:57 +02:00
Daniel Calviño Sánchez b9d671ab2f Fix mediaType not updated after publisher renegotiations
The "mediaTypes" attribute is checked to know if a publisher needs to be
closed when the permissions are updated. However, that attribute was set
only when the publisher was initially created; due to this if a
publisher then used a renegotiation to add media not included in the
original offer the publisher would not be closed if the publishing
permission for that media was later revoked.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-04-07 02:50:57 +02:00
Joachim Bauch e5f2d4d3cf Merge pull request #220 from strukturag/golang-updates
Use features from newer Golang versions
2022-04-06 10:07:20 +02:00
Joachim Bauch 43530aa301 Merge pull request #222 from strukturag/dependabot/go_modules/go.etcd.io/etcd/client/v3-3.5.2
Bump go.etcd.io/etcd/client/v3 from 3.5.1 to 3.5.2
2022-04-06 08:35:11 +02:00
dependabot[bot] 9e3b3879bf Bump go.etcd.io/etcd/client/v3 from 3.5.1 to 3.5.2
Bumps [go.etcd.io/etcd/client/v3](https://github.com/etcd-io/etcd) from 3.5.1 to 3.5.2.
- [Release notes](https://github.com/etcd-io/etcd/releases)
- [Changelog](https://github.com/etcd-io/etcd/blob/main/RELEASE.md)
- [Commits](https://github.com/etcd-io/etcd/compare/v3.5.1...v3.5.2)

---
updated-dependencies:
- dependency-name: go.etcd.io/etcd/client/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-05 20:12:12 +00:00
Joachim Bauch 2a491ec3f0 Use "T.Cleanup()" instead of manually deferred shutdown function. 2022-04-05 12:57:40 +02:00
Joachim Bauch 81a52389aa Stop using deprecated ioutil package. 2022-04-05 12:48:27 +02:00
Joachim Bauch 9c2df744c1 Switch to "T.TempDir()" to avoid manual cleanup. 2022-04-05 12:40:26 +02:00
Joachim Bauch b98a00ec10 Merge pull request #190 from strukturag/dependabot/go_modules/github.com/prometheus/client_golang-1.12.1
Bump github.com/prometheus/client_golang from 1.11.0 to 1.12.1
2022-04-05 11:51:59 +02:00
dependabot[bot] fad58e0712 Bump github.com/prometheus/client_golang from 1.11.0 to 1.12.1
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.11.0 to 1.12.1.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.11.0...v1.12.1)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-05 09:39:02 +00:00
Joachim Bauch 1ad487b790 Merge pull request #179 from strukturag/etcd-update
Update etcd to v3.5.1
2022-04-05 11:38:07 +02:00
Joachim Bauch 72965533b9 make: Setup PATH to include path to go binary when running easyjson. 2022-04-05 11:29:56 +02:00
Joachim Bauch 58b4beb3ba Update etcd to v3.5.1
Requires at least Golang 1.14
2022-04-05 11:16:38 +02:00
Joachim Bauch 5fc886913c Merge pull request #207 from strukturag/dependabot/go_modules/github.com/nats-io/nats-server/v2-2.7.4
Bump github.com/nats-io/nats-server/v2 from 2.2.6 to 2.7.4
2022-04-05 11:09:03 +02:00
dependabot[bot] 5287bc7f1c Bump github.com/nats-io/nats-server/v2 from 2.2.6 to 2.7.4
Bumps [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) from 2.2.6 to 2.7.4.
- [Release notes](https://github.com/nats-io/nats-server/releases)
- [Changelog](https://github.com/nats-io/nats-server/blob/main/.goreleaser.yml)
- [Commits](https://github.com/nats-io/nats-server/compare/v2.2.6...v2.7.4)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats-server/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-05 09:02:11 +00:00
Joachim Bauch 75c56ee9dd Merge pull request #161 from strukturag/dependabot/go_modules/github.com/golang-jwt/jwt-3.2.2incompatible
Bump github.com/golang-jwt/jwt from 3.2.1+incompatible to 3.2.2+incompatible
2022-04-05 11:01:21 +02:00
dependabot[bot] f669bbf859 Bump github.com/golang-jwt/jwt
Bumps [github.com/golang-jwt/jwt](https://github.com/golang-jwt/jwt) from 3.2.1+incompatible to 3.2.2+incompatible.
- [Release notes](https://github.com/golang-jwt/jwt/releases)
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md)
- [Commits](https://github.com/golang-jwt/jwt/compare/v3.2.1...v3.2.2)

---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-05 08:56:18 +00:00
Joachim Bauch 0bb00d4cfa Merge pull request #219 from strukturag/ci-last-two-golang
Only support last two versions of Golang (1.17 / 1.18).
2022-04-05 10:55:29 +02:00
Joachim Bauch 54715aa6d7 lint: Install dependencies with Golang 1.17 2022-04-05 10:49:12 +02:00
Joachim Bauch b066785b00 CI: Update cache paths. 2022-04-05 10:46:04 +02:00
Joachim Bauch 320f643a87 make: Update for Go 1.17+ 2022-04-05 10:32:10 +02:00
Joachim Bauch 3cc074896a go.mod: Update version to 1.17 and run "go mod tidy". 2022-04-05 09:57:13 +02:00
Joachim Bauch dcc4723154 Update minimum version in readme. 2022-04-05 09:55:16 +02:00
Joachim Bauch 88ef423934 CI: Only test with the last two versions of Golang.
Currently this is Go 1.17 and 1.18.
2022-04-05 09:53:23 +02:00
Joachim Bauch 03bd3a334b Merge pull request #213 from strukturag/dependabot/go_modules/github.com/oschwald/maxminddb-golang-1.9.0
Bump github.com/oschwald/maxminddb-golang from 1.8.0 to 1.9.0
2022-04-05 09:45:11 +02:00
dependabot[bot] 3c1c7e08f3 Bump github.com/oschwald/maxminddb-golang from 1.8.0 to 1.9.0
Bumps [github.com/oschwald/maxminddb-golang](https://github.com/oschwald/maxminddb-golang) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/oschwald/maxminddb-golang/releases)
- [Commits](https://github.com/oschwald/maxminddb-golang/compare/v1.8.0...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/oschwald/maxminddb-golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-05 07:40:15 +00:00
Joachim Bauch cd091ec578 Merge pull request #214 from strukturag/dnsservice-discovery
Support DNS discovery for proxy server URLs.
2022-04-05 09:38:58 +02:00
Joachim Bauch 659730d371 Support DNS discovery for proxy server URLs.
If the hostname of a proxy server resolves to multiple IP addresses,
a connection is established to each of them.

Changes to the DNS are monitored regularly and proxy connections are
created or deleted as necessary.
2022-04-04 16:17:22 +02:00
Joachim Bauch f1b2401088 Merge pull request #216 from strukturag/dependabot/pip/docs/sphinx-4.5.0
Bump sphinx from 4.2.0 to 4.5.0 in /docs
2022-04-04 16:15:36 +02:00
Joachim Bauch b267f0dc50 Merge pull request #218 from strukturag/ci-workflows
CI: Only run workflows if relevant files have changed.
2022-04-04 16:14:44 +02:00
Joachim Bauch 16072d020c CI: Only run workflows if relevant files have changed. 2022-04-04 16:12:33 +02:00
dependabot[bot] e2c46d75a4 Bump sphinx from 4.2.0 to 4.5.0 in /docs
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 4.2.0 to 4.5.0.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/5.x/CHANGES)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v4.2.0...v4.5.0)

---
updated-dependencies:
- dependency-name: sphinx
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-04 14:04:02 +00:00
Joachim Bauch 692879be78 Merge pull request #215 from strukturag/ci-fix-readthedocs
CI: Pin dependencies to fix readthedocs build.
2022-04-04 16:03:38 +02:00
Joachim Bauch bbbe81e597 dependabot: Check rtd requirements for updates. 2022-04-04 15:58:59 +02:00
Joachim Bauch 090a1cfd3f CI: Pin dependencies to fix readthedocs build. 2022-04-04 15:54:37 +02:00
Joachim Bauch b87f071336 CI: Include all tests in coverage reports. 2022-03-23 13:28:40 +01:00
Joachim Bauch 7bfba499ba Merge pull request #212 from strukturag/token-in-future
Return dedicated error if proxy receives token that is not valid yet
2022-03-23 13:21:32 +01:00
Joachim Bauch 5101b16df3 Return dedicated error if proxy receives token that is not valid yet.
This can happen for example if the times of the machines running the
signaling server and proxy don't match.
2022-03-23 13:13:32 +01:00
Joachim Bauch fde95ddc93 make: Also run tests in subfolders. 2022-03-23 13:12:50 +01:00
Joachim Bauch 9f86c80c33 Only stop MCU if started before. 2022-03-23 11:46:17 +01:00
Joachim Bauch 57eb2388ca Merge pull request #209 from strukturag/ci-golang-1.18
CI: Also test with Golang 1.18
2022-03-23 11:29:32 +01:00
Joachim Bauch 2ebd93d71d make: Install easyjson for Golang 1.17+ 2022-03-23 11:11:36 +01:00
Joachim Bauch 8849d547a3 Merge pull request #208 from strukturag/incall-change-all
Add special events to update "incall" flags of all sessions.
2022-03-23 09:20:08 +01:00