Commit graph

543 commits

Author SHA1 Message Date
Joachim Bauch b2da4002a4
grpc: Reload certificate if file has changed and support mutual authentication. 2022-07-04 11:05:21 +02:00
Joachim Bauch 06e9ae0644
Add certificate reloader class. 2022-07-04 10:50:44 +02:00
Joachim Bauch 44bf8b74c2
grpc: Make sure DNS discovery of clients continues if initial lookup failed. 2022-07-01 11:42:49 +02:00
Joachim Bauch 15dabeee1e
grpc: Check clients for own server id asychronously.
The external address of the (own) GRPC server might only be reachable after
some time, so performing the check only initially could fail but will
succeed later.
2022-07-01 10:22:16 +02:00
Joachim Bauch 715b2317df
Add helper to wait with exponential backoff. 2022-07-01 10:21:49 +02:00
Joachim Bauch 24eab34da7
Allow configuring backends through etcd. 2022-06-30 11:35:36 +02:00
Joachim Bauch 01858a89f4
grpc: Enable DNS discovery for GRPC clients. 2022-06-30 11:35:35 +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 5a242b2570
readme: Add note on clustering. 2022-06-30 11:35:34 +02:00
Joachim Bauch 0e144906a4
Added tests for clustered behaviour. 2022-06-30 11:35:33 +02:00
Joachim Bauch dcb5be956c
Implement "sendoffer" for remote sessions. 2022-06-30 11:35:33 +02:00
Joachim Bauch 36710c8aa9
Improve detection of decodable sessions that were created on a different server. 2022-06-30 11:35:32 +02:00
Joachim Bauch 25dabf910d
Allow configuring GRPC targets through etcd. 2022-06-30 11:35:32 +02:00
Joachim Bauch b6e419f18a
Add metrics for GRPC calls. 2022-06-30 11:35:31 +02:00
Joachim Bauch b315c09a3b
Allow configuring GRPC transport credentials. 2022-06-30 11:35:30 +02:00
Joachim Bauch 6f64ff901d
Create temporary connection to proxy used by remote publisher. 2022-06-30 11:35:30 +02:00
Joachim Bauch 2ca9fb21c4
Add SingleNotifier class. 2022-06-30 11:35:29 +02:00
Joachim Bauch a0d3af14e0
Add initial clustering support. 2022-06-30 11:35:28 +02:00
Joachim Bauch 7b24dc1d1d
Add grpc 1.47.0 / protobuf 1.28.0 2022-06-24 13:37:38 +02:00
Joachim Bauch ece2903413
Trigger "joined" events through async messages. 2022-06-24 13:37:37 +02:00
Joachim Bauch 0115c97946
Refactor asynchronous events to central location. 2022-06-24 13:37:35 +02:00
Joachim Bauch ddb7ece622
Merge pull request #283 from strukturag/etcd-tests-running
Fix testing etcd server not starting up if etcd is running on host.
2022-06-24 13:37:11 +02:00
Joachim Bauch a761f135a8
Fix testing etcd server not starting up if etcd is running on host. 2022-06-24 13:30:32 +02:00
Joachim Bauch a06bc333d2
make: remove leftover easyjson bootstrap files in "clean" target 2022-06-24 13:01:03 +02:00
Joachim Bauch af4bd51ec0
Merge pull request #282 from strukturag/refactor-etcd
Move common etcd code to own class.
2022-06-24 12:20:15 +02:00
Joachim Bauch b0624be0a9
Move etcd configuration to common section. 2022-06-24 11:15:29 +02:00
Joachim Bauch 134d22bfe7
Move common etcd code to own class. 2022-06-24 11:15:29 +02:00
Joachim Bauch 28b94191b1
Merge pull request #277 from strukturag/dependabot/pip/docs/sphinx-5.0.2
Bump sphinx from 5.0.1 to 5.0.2 in /docs
2022-06-20 08:47:39 +02:00
dependabot[bot] 83ce95f39f
Bump sphinx from 5.0.1 to 5.0.2 in /docs
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 5.0.1 to 5.0.2.
- [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/v5.0.1...v5.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-16 20:31:46 +00:00
Joachim Bauch 79532954da
readme: Update link to documentation. 2022-06-15 09:13:14 +02:00
Joachim Bauch 3393ffde8a
Merge pull request #275 from Tachi107/systemd-sysusers
dist: add systemd sysusers file
2022-06-15 08:39:27 +02:00
Andrea Pappacoda f09c343592
dist: add systemd sysusers file
The systemd unit makes use of the user "signaling", but it is not
created in any way, so the directive is ignored.

By creating a sysusers file it is possible to tell the system to create
a "signaling" user so that the directive is honoured.

For more information, see the sysusers.d manpage, at
https://www.freedesktop.org/software/systemd/man/sysusers.d.html

This is mainly useful on systems running systemd, but the sysusers
concept is implemented also by other projects that don't use systemd,
like opensysusers, originated from Artix Linux.
2022-06-14 22:30:31 +02:00
Joachim Bauch da1efac59d
make: No need to run easyjson against room.go.
Doesn't define any JSON structs, so easyjson is no longer needed.
2022-06-14 16:50:34 +02:00
Joachim Bauch 4bedfdf780
Merge pull request #274 from strukturag/ignore-room-message-not-joined
Fix check for async room messages received while not joined to a room.
2022-06-14 16:44:14 +02:00
Joachim Bauch 078768f9c8
Fix check for async room messages received while not joined to a room. 2022-06-14 16:38:29 +02:00
Joachim Bauch 26f9edd476
Merge pull request #270 from strukturag/dependabot/pip/docs/sphinx-5.0.1
Bump sphinx from 5.0.0 to 5.0.1 in /docs
2022-06-03 08:25:44 +02:00
dependabot[bot] 31e7923ec1
Bump sphinx from 5.0.0 to 5.0.1 in /docs
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 5.0.0 to 5.0.1.
- [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/v5.0.0...v5.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-02 20:57:29 +00:00
Joachim Bauch 6a1a00551d
Merge pull request #269 from strukturag/dont_run_mod_tidy
Don't run "go mod tidy" while building.
2022-06-02 15:58:11 +02:00
Joachim Bauch b83bf7cb5d
Don't run "go mod tidy" while building. 2022-06-02 15:52:29 +02:00
Joachim Bauch cbfc96e0a7
Update changelog for 0.5.0 2022-06-02 14:16:33 +02:00
Joachim Bauch f089a4ab25
Merge pull request #268 from strukturag/dependabot/pip/docs/sphinx-5.0.0
Bump sphinx from 4.5.0 to 5.0.0 in /docs
2022-05-31 08:27:13 +02:00
dependabot[bot] 3d5be823f6
Bump sphinx from 4.5.0 to 5.0.0 in /docs
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 4.5.0 to 5.0.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.5.0...v5.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-30 21:06:14 +00:00
Joachim Bauch 24aad5d28c
Merge pull request #266 from strukturag/dependabot/go_modules/github.com/nats-io/nats-server/v2-2.8.4
Bump github.com/nats-io/nats-server/v2 from 2.8.2 to 2.8.4
2022-05-30 08:16:22 +02:00
dependabot[bot] 48cb14c5fc
Bump github.com/nats-io/nats-server/v2 from 2.8.2 to 2.8.4
Bumps [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) from 2.8.2 to 2.8.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.8.2...v2.8.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-30 06:10:34 +00:00
Joachim Bauch 157d1c0bcf
Merge pull request #264 from strukturag/dependabot/github_actions/jandelgado/gcov2lcov-action-1.0.9
Bump jandelgado/gcov2lcov-action from 1.0.8 to 1.0.9
2022-05-30 08:10:23 +02:00
Joachim Bauch 2d8dd3f10d
Merge pull request #267 from strukturag/dependabot/go_modules/github.com/nats-io/nats.go-1.16.0
Bump github.com/nats-io/nats.go from 1.15.0 to 1.16.0
2022-05-30 08:09:27 +02:00
dependabot[bot] 98258be390
Bump github.com/nats-io/nats.go from 1.15.0 to 1.16.0
Bumps [github.com/nats-io/nats.go](https://github.com/nats-io/nats.go) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/nats-io/nats.go/releases)
- [Commits](https://github.com/nats-io/nats.go/compare/v1.15.0...v1.16.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>
2022-05-27 20:06:54 +00:00
dependabot[bot] 02fd80340e
Bump jandelgado/gcov2lcov-action from 1.0.8 to 1.0.9
Bumps [jandelgado/gcov2lcov-action](https://github.com/jandelgado/gcov2lcov-action) from 1.0.8 to 1.0.9.
- [Release notes](https://github.com/jandelgado/gcov2lcov-action/releases)
- [Changelog](https://github.com/jandelgado/gcov2lcov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jandelgado/gcov2lcov-action/compare/v1.0.8...v1.0.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-23 20:25:24 +00:00
Joachim Bauch 90a52d0692
Merge pull request #250 from strukturag/multiple-room-ping
Combine ping requests of different rooms on the same backend.
2022-05-17 16:43:18 +02:00
Joachim Bauch 800ece1d90
Support combining ping requests of different rooms on the same backend. 2022-05-17 16:38:16 +02:00