Commit Graph

21 Commits

Author SHA1 Message Date
Joachim Bauch b1c78f6e9d
Use DNS monitor from static GRPC clients configuration. 2024-01-30 17:03:45 +01:00
Joachim Bauch 97ae079cd6
Support old-style compat backend configurations. 2023-10-31 08:53:06 +01:00
Joachim Bauch 2a40c89585
Include backend URL to when starting dialout request. 2023-10-31 08:42:02 +01:00
Joachim Bauch 8e98ad3438
Add tests for dialout messages. 2023-10-26 10:43:52 +02:00
Joachim Bauch e333ddfd53
Make sure room ids for dial-out are numeric. 2023-10-26 10:43:51 +02:00
Joachim Bauch e895fe3aeb
Attempt to fix flaky TestBackendServer_RoomDisinviteDifferentRooms. 2023-10-12 11:19:07 +02:00
Joachim Bauch 1e8dd56f7e
stats: Support configuring subnets for allowed IPs. 2023-03-16 16:22:48 +01:00
Joachim Bauch ad1dea2780
Only send single "incall" message with "all: true" in clustered setup.
Previously each instance would send one message to all users in the cluster.
2022-07-04 15:26:12 +02:00
Joachim Bauch 24eab34da7
Allow configuring backends through etcd. 2022-06-30 11:35:36 +02:00
Joachim Bauch 20cc51c2fe
grpc: Automatically detect if a target is the current server itself.
This allows configuring the same list of targets for all instances without
having to setup the "own" address differently for each server.
2022-06-30 11:35:35 +02:00
Joachim Bauch 0e144906a4
Added tests for clustered behaviour. 2022-06-30 11:35:33 +02:00
Joachim Bauch a0d3af14e0
Add initial clustering support. 2022-06-30 11:35:28 +02:00
Joachim Bauch 0115c97946
Refactor asynchronous events to central location. 2022-06-24 13:37:35 +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 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 c8886d03c9
Simplify loopback NATS client.
Only use one goroutine per client instead of one per subscription.
This ensures that (like with the "real" client), all messages are
processed in order across different subscriptions.
2021-06-07 16:53:26 +02:00
Joachim Bauch c8e4bfe007
Fix various issues found by golangci-lint. 2021-04-26 17:25:52 +02:00
Joachim Bauch 0c53f10fd7
No need to manually close rooms in testing, will be done by hub on client disconnects. 2021-04-23 15:26:05 +02:00
Joachim Bauch 9b0c4fab00
Update nats.go to 1.10.0 2021-04-13 16:47:28 +02:00
Joachim Bauch 8ba2e0ad64
Switch dependency tracking to Go modules.
With that bump minimum required version to Go 1.13.
2021-04-09 16:15:00 +02:00
Renamed from src/signaling/backend_server_test.go (Browse further)