Commit Graph
100 Commits
Author SHA1 Message Date
Joachim Bauch cdf5cd47cb Merge pull request #252 from strukturag/refactor-capabilities
Move capabilities handling to own file and refactor http client pool.
2022-05-13 10:21:13 +02:00
Joachim Bauch eb9e93b811 CI: Setup GOROOT environment variable so gcov2lcov uses correct path. 2022-05-13 10:16:46 +02:00
Joachim Bauch 79f7d85a53 Add tests for capabilities. 2022-05-13 10:16:45 +02:00
Joachim Bauch e9f2e037fd Add methods to get config values from the capabilities. 2022-05-13 09:21:53 +02:00
Joachim Bauch 4856f63de8 Move capabilities handling to own file and refactor http client pool. 2022-05-13 09:20:31 +02:00
Joachim Bauch cbcd27bd74 Merge pull request #247 from strukturag/dependabot/github_actions/golangci/golangci-lint-action-3.2.0
Bump golangci/golangci-lint-action from 3.1.0 to 3.2.0
2022-05-12 10:06:40 +02:00
Joachim Bauch b517b01503 Merge pull request #249 from strukturag/ci-runon-yaml-change
CI: Run when workflow yaml file has changed.
2022-05-12 09:54:50 +02:00
Joachim Bauch f2e159e429 CI: Run when workflow yaml file has changed. 2022-05-12 09:49:35 +02:00
Joachim Bauch 94ee083d59 Merge pull request #248 from strukturag/dependabot/pip/docs/readthedocs-sphinx-search-0.1.2
Bump readthedocs-sphinx-search from 0.1.1 to 0.1.2 in /docs
2022-05-12 09:44:55 +02:00
Joachim Bauch c0f56ff81a Merge pull request #239 from strukturag/toggle-audio-video
Support toggling audio/video in subscribed streams.
2022-05-10 11:39:10 +02:00
Joachim Bauch ec7bc6874e Remove redundant check for "nil" (fixes linter error). 2022-05-10 10:52:19 +02:00
Joachim Bauch 3cb8fc1117 Support toggling audio/video in subscribed streams.
The command `selectStream` also supports optional boolean flags `audio`
and `video` that can be used to enable/disable receiving the corresponding
media from the stream.
2022-05-10 10:29:44 +02:00
Joachim Bauch 6e5497cfff Merge pull request #243 from strukturag/dependabot/go_modules/github.com/nats-io/nats.go-1.15.0
Bump github.com/nats-io/nats.go from 1.14.0 to 1.15.0
2022-05-06 08:22:02 +02:00
Joachim Bauch fd4208ae9c Merge pull request #244 from strukturag/dependabot/github_actions/docker/build-push-action-3
Bump docker/build-push-action from 2 to 3
2022-05-06 08:21:50 +02:00
Joachim Bauch 8ec7b03180 Merge pull request #245 from strukturag/dependabot/github_actions/docker/setup-buildx-action-2
Bump docker/setup-buildx-action from 1 to 2
2022-05-06 08:21:33 +02:00
Joachim Bauch e92d2bd543 Merge pull request #242 from strukturag/dependabot/go_modules/github.com/nats-io/nats-server/v2-2.8.2
Bump github.com/nats-io/nats-server/v2 from 2.8.1 to 2.8.2
2022-05-05 08:35:14 +02:00
Joachim Bauch 7e40df3592 Merge pull request #240 from danxuliu/fix-signaling-server-messages-total-stat-not-being-incremented
Fix "signaling_server_messages_total" stat not being incremented
2022-05-03 14:08:27 +02:00
Joachim Bauch 135df8c50d Merge pull request #191 from danxuliu/add-support-for-request-offers-to-update-subscriber-connections
Add support for request offers to update subscriber connections
2022-04-28 08:39:13 +02:00
Joachim Bauch f8f2adb0e2 Merge pull request #227 from strukturag/hide-displaynames
Add "permission" for sessions that may not receive display names.
2022-04-27 16:19:23 +02:00
Joachim Bauch 93746a4d9d Merge pull request #229 from danxuliu/add-specific-id-for-connections-and-replace-update-parameter-with-it
Add specific id for connections and replace "update" parameter with it
2022-04-27 16:17:17 +02:00
Joachim Bauch 88af6f9285 Merge pull request #238 from strukturag/ci-docker
CI: Build docker image.
2022-04-26 15:02:35 +02:00
Joachim Bauch ccb1a724b8 docker: Build with Golang 1.18 2022-04-26 15:00:29 +02:00
Joachim Bauch 82c0071e80 CI: Build docker image. 2022-04-26 15:00:29 +02:00
Joachim Bauch 39cc523477 Add "permission" for sessions that may not receive display names.
By default, the "join" events contain the whole userdata as received
from the "auth" response. This might include a "displayname" field
containing the display name of the associated user.

For privacy reasons in certain scenarios, some attendees should not
be able to know which other users are connected to a room, therefore
the "displayname" should be hidden for them. By default, no filtering
occurrs.
2022-04-26 14:47:01 +02:00
Joachim Bauch a20b21b7fe Merge pull request #236 from strukturag/dependabot/go_modules/go.etcd.io/etcd/client/v3-3.5.4
Bump go.etcd.io/etcd/client/v3 from 3.5.2 to 3.5.4
2022-04-26 12:13:04 +02:00
Joachim Bauch bd069ce5da Merge pull request #237 from strukturag/dependabot/github_actions/github/codeql-action-2
Bump github/codeql-action from 1 to 2
2022-04-26 11:17:09 +02:00
Joachim Bauch 83c906b8bc Merge pull request #235 from strukturag/dependabot/go_modules/go.etcd.io/etcd/client/pkg/v3-3.5.4
Bump go.etcd.io/etcd/client/pkg/v3 from 3.5.2 to 3.5.4
2022-04-26 11:16:03 +02:00
Joachim Bauch 1f20907092 Merge pull request #234 from strukturag/dependabot/go_modules/github.com/nats-io/nats-server/v2-2.8.1
Bump github.com/nats-io/nats-server/v2 from 2.7.4 to 2.8.1
2022-04-25 09:03:06 +02: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
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
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
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
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
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
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
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
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
Joachim Bauch 97f2a1d5f0 Add special events to update "incall" flags of all sessions. 2022-03-23 09:15:22 +01:00
Joachim Bauch 5ffa8c32d7 Merge pull request #211 from strukturag/dependabot/github_actions/actions/cache-3
Bump actions/cache from 2.1.7 to 3
2022-03-22 08:39:15 +01:00
Joachim Bauch 008879aefa Merge pull request #210 from strukturag/metrics-documentation
Add documentation on the available metrics.
2022-03-17 10:25:57 +01:00
Joachim Bauch 3442a8a36a Add documentation on the available metrics. 2022-03-17 10:17:15 +01:00
Joachim Bauch e6d39d149e CI: Also test with Golang 1.18 2022-03-17 09:26:15 +01:00
Joachim Bauch 4b002e0952 Merge pull request #205 from strukturag/dependabot/github_actions/actions/checkout-3
Bump actions/checkout from 2.4.0 to 3
2022-03-02 14:27:14 +01:00
Joachim Bauch 49cc6e3af9 Merge pull request #202 from strukturag/dependabot/github_actions/golangci/golangci-lint-action-3.1.0
Bump golangci/golangci-lint-action from 2.5.2 to 3.1.0
2022-03-02 14:27:00 +01:00
Joachim Bauch bdb9b6e5da Merge pull request #206 from strukturag/ci-lint-fixes
CI: Fix linter errors
2022-03-02 14:09:15 +01:00
Joachim Bauch 73bad27ea1 CI: Ignore "error-strings" for revive linter. 2022-03-02 14:03:51 +01:00
Joachim Bauch 7b631b0b2a Format code using "gofmt". 2022-02-25 09:20:26 +01:00
Joachim Bauch 8fd9c688b6 Merge pull request #195 from danxuliu/send-updated-offers-to-subscribers-after-publisher-renegotiations
Send updated offers to subscribers after publisher renegotiations
2022-02-25 09:16:10 +01:00
Joachim Bauch d1417751ed Merge pull request #193 from strukturag/transient-data
Add API for transient room data.
2022-02-16 12:40:32 +01:00
Joachim Bauch ae82acf9ff Document transient data. 2022-02-16 12:30:39 +01:00
Joachim Bauch fca30af201 Add API for transient room data. 2022-02-16 12:30:39 +01:00
Joachim Bauch 99f5fb0be1 Add method "RunUntilJoinedAndReturnIgnored". 2022-02-16 12:21:45 +01:00
Joachim Bauch 42a5506da7 Support multiple "joined" entries when waiting for clients. 2022-02-16 12:21:44 +01:00
Joachim Bauch eafeae8972 Merge pull request #198 from strukturag/dependabot/go_modules/github.com/gorilla/websocket-1.5.0
Bump github.com/gorilla/websocket from 1.4.2 to 1.5.0
2022-02-16 11:38:00 +01:00
Joachim Bauch 75493c4327 Merge pull request #197 from strukturag/ci-golint
CI: Enable golint linter.
2022-02-11 12:15:53 +01:00
Joachim Bauch d84f628deb CI: Enable revive linter (drop-in replacement of golint). 2022-02-11 12:09:43 +01:00
Joachim Bauch 614c5f6e21 Fix issues reported by revive. 2022-02-11 12:09:42 +01:00
Joachim Bauch 267f383bb6 Merge pull request #196 from strukturag/ci-lint-format
CI: Check format in linter.
2022-02-11 10:50:47 +01:00
Joachim Bauch 0f9c64a038 CI: Enable gofmt linter. 2022-02-11 10:39:48 +01:00
Joachim Bauch cbb25097ef CI: Use latest version of golangci-lint. 2022-02-11 10:32:23 +01:00
Joachim Bauch 7fbd0b4580 Add documentation badge. 2022-02-10 15:11:58 +01:00
Joachim Bauch 46bcdfc18b Remove trailing whitespace. 2022-02-10 15:11:39 +01:00
Joachim Bauch afa72b576f Merge pull request #194 from strukturag/api-docs
Add API docs
2022-02-10 14:58:00 +01:00
Joachim Bauch 5bda595cce Add configuration for readthedocs.io 2022-02-10 14:53:31 +01:00
Joachim Bauch 826f4314a7 Update link to API of PHP backend. 2022-02-10 14:45:57 +01:00
Joachim Bauch 0bce422e30 Add API documentation.
Taken from commit deb2494193a51321273070b39739e625651d40ea of
https://github.com/nextcloud/spreed/

Should be kept at the signaling server repository as the API is defined
and implemented here.
2022-02-10 14:09:23 +01:00
Joachim Bauch e4214eb95d Merge pull request #188 from strukturag/changelog-0.4.1
Update changelog for 0.4.1
2022-01-25 10:14:01 +01:00
Joachim Bauch 2e2861d1b8 Update changelog for 0.4.1 2022-01-25 10:07:29 +01:00