Commit Graph
307 Commits
Author SHA1 Message Date
dependabot[bot] c88ce09011 Bump actions/checkout from 2.3.4 to 2.3.5
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.3.4 to 2.3.5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.3.4...v2.3.5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-15 20:07:32 +00:00
Joachim Bauch fdf43a7787 Merge pull request #160 from strukturag/migrate-jwt
deps: Migrate to "github.com/golang-jwt/jwt".
2021-10-11 15:20:23 +02:00
Joachim Bauch e09022c78d deps: Migrate to "github.com/golang-jwt/jwt".
The previous "gopkg.in/dgrijalva/jwt-go.v3" is no longer maintained.
2021-10-11 14:02:57 +02:00
Joachim Bauch 1190856414 Merge pull request #158 from strukturag/dependabot/go_modules/github.com/nats-io/nats.go-1.13.0
Bump github.com/nats-io/nats.go from 1.12.3 to 1.13.0
2021-10-11 13:45:48 +02:00
dependabot[bot] 27d7d43e32 Bump github.com/nats-io/nats.go from 1.12.3 to 1.13.0
Bumps [github.com/nats-io/nats.go](https://github.com/nats-io/nats.go) from 1.12.3 to 1.13.0.
- [Release notes](https://github.com/nats-io/nats.go/releases)
- [Commits](https://github.com/nats-io/nats.go/compare/v1.12.3...v1.13.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-08 20:11:20 +00:00
Joachim Bauch aeb7834ff7 Merge pull request #133 from strukturag/check-subscribe-call
Only allow subscribing if both users are in the same room and call.
2021-09-23 13:38:37 +02:00
Joachim Bauch a663dd43f9 Add option to allow subscribing of any streams (disabled by default). 2021-09-23 09:05:49 +02:00
Joachim Bauch b398591447 Only allow subscribing if both users are in the same room and call.
Previously it was possible to subscribe any stream if the session id of the
publisher was known.
2021-09-23 09:05:25 +02:00
Joachim Bauch 7a6f9577fe Merge pull request #154 from strukturag/dependabot/go_modules/github.com/nats-io/nats.go-1.12.3
Bump github.com/nats-io/nats.go from 1.12.1 to 1.12.3
2021-09-22 08:55:32 +02:00
dependabot[bot] b165aa178d Bump github.com/nats-io/nats.go from 1.12.1 to 1.12.3
Bumps [github.com/nats-io/nats.go](https://github.com/nats-io/nats.go) from 1.12.1 to 1.12.3.
- [Release notes](https://github.com/nats-io/nats.go/releases)
- [Commits](https://github.com/nats-io/nats.go/compare/v1.12.1...v1.12.3)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats.go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-21 20:18:40 +00:00
Joachim Bauch 4530b91434 Merge pull request #153 from strukturag/ci-go-1.17
CI: Also test with Golang 1.17
2021-09-14 14:03:18 +02:00
Joachim Bauch 93a4bf1949 CI: Also test with Golang 1.17 2021-09-14 13:58:13 +02:00
Joachim Bauch 6d4c8bba20 Merge pull request #150 from strukturag/dependabot/go_modules/github.com/nats-io/nats.go-1.12.1
Bump github.com/nats-io/nats.go from 1.11.0 to 1.12.1
2021-09-13 09:12:33 +02:00
dependabot[bot] ef3c250e21 Bump github.com/nats-io/nats.go from 1.11.0 to 1.12.1
Bumps [github.com/nats-io/nats.go](https://github.com/nats-io/nats.go) from 1.11.0 to 1.12.1.
- [Release notes](https://github.com/nats-io/nats.go/releases)
- [Commits](https://github.com/nats-io/nats.go/compare/v1.11.0...v1.12.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-06 20:17:16 +00:00
Joachim Bauch c0603d6b4d Merge pull request #144 from strukturag/dependabot/go_modules/github.com/prometheus/client_golang-1.11.0
Bump github.com/prometheus/client_golang from 1.10.0 to 1.11.0
2021-08-11 08:58:55 +02:00
dependabot[bot] d93144f77d Bump github.com/prometheus/client_golang from 1.10.0 to 1.11.0
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.10.0...v1.11.0)

---
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>
2021-08-10 20:10:39 +00:00
Joachim Bauch 29cd282691 Merge pull request #99 from strukturag/prometheus-metrics
Add prometheus metrics
2021-08-10 10:08:50 +02:00
Joachim Bauch 4c77ae04ef Close publishers/subscribers if proxy session is closed. 2021-08-10 09:24:59 +02:00
Joachim Bauch 6841d1495f Fixup: don't decrement virtual sessions twice. 2021-08-10 08:50:41 +02:00
Joachim Bauch ce1b3fc6e2 Add more metrics on rooms / sessions / backends. 2021-08-10 08:50:41 +02:00
Joachim Bauch 5d431e5612 Lint prometheus stats. 2021-08-10 08:50:40 +02:00
Joachim Bauch 70f9f7ea91 Also track subscriber streams by type. 2021-08-10 08:50:40 +02:00
Joachim Bauch f758f8a5e7 Expose publisher streams by type through metrics. 2021-08-10 08:50:39 +02:00
Joachim Bauch c01caa94e6 Add prometheus metrics. 2021-08-10 08:50:39 +02:00
Joachim Bauch 300edddc5a Add github.com/prometheus/client_golang v1.10.0 2021-08-10 08:50:35 +02:00
Joachim Bauch dfad9307ce Merge pull request #143 from strukturag/override-country-continent-mapping
Support continent mapping overrides.
2021-08-10 08:49:36 +02:00
Joachim Bauch 7bf6fa903b Support continent mapping overrides.
This can be used for example to route all users on continent A to proxies
on continent B. Useful if no proxy exists on continent A and the global
selection chooses a non-ideal proxy.
2021-08-06 16:00:54 +02:00
Joachim Bauch ffb79c747c Add method "IsValidContinent". 2021-08-06 15:41:18 +02:00
Joachim Bauch 2ac58a3360 Merge pull request #140 from strukturag/stop-publishers-without-permissions
Stop publishers if session is no longer allowed to publish.
2021-08-05 12:21:10 +02:00
Joachim Bauch ed1c834a29 Stop publishers if session is no longer allowed to publish. 2021-08-05 12:15:26 +02:00
Joachim Bauch 64faa1c499 Merge pull request #138 from strukturag/dependabot/go_modules/github.com/google/uuid-1.3.0
Bump github.com/google/uuid from 1.2.0 to 1.3.0
2021-07-14 08:34:57 +02:00
dependabot[bot] fd84a576fc Bump github.com/google/uuid from 1.2.0 to 1.3.0
Bumps [github.com/google/uuid](https://github.com/google/uuid) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/google/uuid/releases)
- [Commits](https://github.com/google/uuid/compare/v1.2.0...v1.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-13 20:11:11 +00:00
Joachim Bauch 425b52c2c3 Merge pull request #134 from strukturag/body-on-redirect
Only include body in 307/308 redirects if going to same host.
2021-07-13 08:52:00 +02:00
Joachim Bauch 66bcf2468d Simplify request creation when getting capabilities. 2021-07-07 12:35:53 +02:00
Joachim Bauch dc713ea8e8 Only include body in 307/308 redirects if going to same host. 2021-07-07 12:35:53 +02:00
Joachim Bauch b422b4d379 Merge pull request #131 from strukturag/dependabot/github_actions/coverallsapp/github-action-1.1.3
Bump coverallsapp/github-action from 1.1.2 to 1.1.3
2021-07-07 11:33:33 +02:00
dependabot[bot] 8655c216d2 Bump coverallsapp/github-action from 1.1.2 to 1.1.3
Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/coverallsapp/github-action/releases)
- [Commits](https://github.com/coverallsapp/github-action/compare/v1.1.2...1.1.3)

---
updated-dependencies:
- dependency-name: coverallsapp/github-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-07 09:28:24 +00:00
Joachim Bauch 1820816160 Merge pull request #132 from strukturag/force-https
Force HTTPS for backend connections in old-style configurations.
2021-07-07 11:03:32 +02:00
Joachim Bauch ec71f29fee Force HTTPS for backend connections in old-style configurations.
Prevents clients from sending a HTTP auth URL to trigger an insecure
connection from the signaling server to Nextcloud.
2021-07-07 09:16:59 +02:00
Joachim Bauch ed8c2752cb Merge pull request #129 from morph027/multiarch-easyjson
adjust easyjson for multiarch builds
2021-07-05 08:30:41 +02:00
morph027 e157c1d0e7 adjust easyjson for multiarch builds
Signed-off-by: morph027 <stefan.heitmueller@gmx.com>
2021-07-03 14:47:11 +02:00
Joachim Bauch 2662d49017 Update changelog for 0.3.0 v0.3.0 2021-07-01 09:24:52 +02:00
Joachim Bauch e40e86f32c Merge pull request #104 from strukturag/stream-selection-api
Add API to select a simulcast substream / temporal layer.
2021-07-01 08:54:11 +02:00
Joachim Bauch b091db000e Merge pull request #121 from strukturag/initial-virtual-flags
Notify new clients about flags of virtual sessions
2021-06-08 13:51:23 +02:00
Joachim Bauch 8a87a0d602 Add feature flag "simulcast". 2021-06-08 13:49:09 +02:00
Joachim Bauch 0a8ce3bda3 Add API to select a simulcast substream / temporal layer. 2021-06-08 13:49:08 +02:00
Joachim Bauch 9d2ad0f243 Notify new clients about current flags of virtual sessions. 2021-06-08 13:46:25 +02:00
Joachim Bauch 4d991725c3 Add method to get pending messages from testclient. 2021-06-08 13:45:58 +02:00
Joachim Bauch 6886bb9b53 Merge pull request #119 from strukturag/check-capabilities-v4api
Fetch capabilities to check if "v3" signaling API of Talk should be used.
2021-06-08 10:33:21 +02:00
Joachim Bauch 2bbc0a4d3c Fetch capabilities to check if "v3" signaling API of Talk should be used. 2021-06-08 10:23:27 +02:00