Neil Alexander
16325203af
Try that again
2022-11-17 09:32:19 +00:00
Neil Alexander
607819f425
Fix /key/v2/server, add HTTP Host matching
2022-11-17 09:26:56 +00:00
devonh
df76a17234
Add test code coverage reporting ( #2871 )
2022-11-16 22:02:25 +00:00
Neil Alexander
163dabc498
Fix bug in a2f72dd9
2022-11-16 15:10:33 +00:00
Neil Alexander
a916b041b1
Detect consumer being deleted in JetStreamConsumer
2022-11-16 10:28:22 +00:00
Neil Alexander
1e714bc3b6
Update to NATS Server 2.9.6 and nats.go 1.20.0
2022-11-16 10:05:59 +00:00
Neil Alexander
a2f72dd966
Fix slice out of bounds in federation API
2022-11-16 09:39:19 +00:00
Neil Alexander
d558da1c87
Virtual host server name workaround
2022-11-16 09:34:09 +00:00
Neil Alexander
deddf686b9
Tweak /key/v2/server
2022-11-16 09:16:07 +00:00
Neil Alexander
9b8bb55430
Don't get blacklisted hosts when querying joined servers ( #2880 )
...
Otherwise we just waste time/CPU.
2022-11-15 17:21:16 +00:00
Neil Alexander
5c9aed6af9
Update to matrix-org/gomatrixserverlib@900369e
2022-11-15 15:11:08 +00:00
Neil Alexander
6650712a1c
Federation fixes for virtual hosting
2022-11-15 15:05:23 +00:00
Omar Kotb
f4ee397734
Fix Caddy config well-known delegation example ( #2879 )
...
Signed-off-by: Omar Kotb <omar@omarkotb.com>
Signed-off-by: Omar Kotb <omar@omarkotb.com>
2022-11-14 17:15:39 +00:00
Till
2a77a910eb
Handle remote room upgrades ( #2866 )
...
Makes the following tests pass
```
/upgrade moves remote aliases to the new room
Local and remote users' homeservers remove a room from their public directory on upgrade
```
2022-11-14 12:07:13 +00:00
Till
858a4af224
Try to optimize CI ( #2867 )
...
Try to optimize CI by using caches
2022-11-14 12:06:41 +00:00
Till
1e79b0557e
Use a writer to assign state key NIDs ( #2877 )
2022-11-14 12:06:27 +00:00
PiotrKozimor
b772f9ee78
Allow for only one pusher for given pushkey and app ID - remove pushers duplicates ( #50 )
2022-11-14 08:56:52 +01:00
Neil Alexander
529df30b56
Virtual hosting schema and logic changes ( #2876 )
...
Note that virtual users cannot federate correctly yet.
2022-11-11 16:41:37 +00:00
Till Faelligen
e177e0ae73
Fix oops, add simple UT
2022-11-11 16:44:59 +01:00
Neil Alexander
72ce6acf71
Run upgrade tests for SQLite too ( #2875 )
...
This should hopefully catch problems with database migrations in SQLite
as well as PostgreSQL.
2022-11-11 11:21:16 +00:00
Till
c648c671a3
Fix issue with missing user NIDs ( #2874 )
...
This should fix #2696 and possibly other related issues regarding
missing user NIDs.
(https://github.com/matrix-org/dendrite/issues/2094 ?)
2022-11-11 10:52:43 +01:00
Till
d35a5642e8
Deny guest access on several endpoints ( #2873 )
...
Second part for guest access, this adds a `WithAllowGuests()` option to
`MakeAuthAPI`, allowing guests to access the specified endpoints.
Endpoints taken from the
[spec](https://spec.matrix.org/v1.4/client-server-api/#client-behaviour-14 )
and by checking Synapse endpoints for `allow_guest=true`.
2022-11-11 10:52:08 +01:00
Till
0193549201
Send presence to newly added servers ( #2869 )
...
This should make `New federated private chats get full presence
information (SYN-115)` happy.
2022-11-11 10:35:17 +01:00
PiotrKozimor
8ae2820d7a
Change multiroom prefix to connect.multiroom for clarity ( #54 )
2022-11-10 13:36:01 +01:00
Neil Alexander
efa50253f6
Fix lint error
2022-11-10 10:16:56 +00:00
Neil Alexander
503d9c7586
Improve logging in upgrade tests
2022-11-10 10:07:19 +00:00
Neil Alexander
bdaae060cc
Update Ristretto
2022-11-09 14:07:29 +00:00
Neil Alexander
a5cabdbac5
Remove unspecced fields from Transaction (update to matrix-org/gomatrixserverlib@715dc88 )
2022-11-09 09:24:29 +00:00
Daniel Aloni
949041b8a3
Merge pull request #53 from globekeeper/daniel/adjust-cloudbuild
...
🐳 Update .cloudbuild to point to correct path of dockerfile
2022-11-07 18:03:44 +02:00
danielaloni
9fd0aa421b
Using old Dockerfile.monolith content in new Dockerfile
2022-11-07 17:34:30 +02:00
danielaloni
5a66cd300b
🐳 Update .cloudbuild to point to correct path of dockerfile
2022-11-07 17:25:13 +02:00
Till Faelligen
205a15621a
Add custom build flag to satisfy Sytest
2022-11-07 15:07:47 +01:00
Daniel Aloni
68c9e853aa
Merge pull request #52 from globekeeper/release/upstream-0.10.7
...
Release/upstream 0.10.7
2022-11-07 15:37:38 +02:00
danielaloni
3cbd6c2e57
appended AS can deactivate a user to whitelist
2022-11-07 11:36:59 +02:00
danielaloni
5c07b88b0d
Merge remote-tracking branch 'origin' into release/upstream-0.10.7
2022-11-07 10:50:36 +02:00
Till
c125203eb6
Handle m.room.tombstone events in the UserAPI ( #2864 )
...
Fixes #2863 and makes
```
/upgrade preserves direct room state
local user has tags copied to the new room
remote user has tags copied to the new room
```
pass.
2022-11-07 09:47:18 +01:00
Neil Alexander
a7b74176e3
Revert Docker user change
2022-11-04 21:49:18 +00:00
Till Faelligen
b2712cd2b1
Fix GHA release script
2022-11-04 20:58:24 +01:00
Neil Alexander
7c73b131f4
Version 0.10.7 ( #2861 )
...
Changelog and version bump.
2022-11-04 15:33:20 +00:00
Till
efe28db631
Update latestPosition when getting reversed room delta ( #2860 )
...
Regression test added in
https://github.com/matrix-org/complement/pull/551
Should fix https://github.com/matrix-org/dendrite/issues/2514 ?
2022-11-04 15:39:09 +01:00
Till
b13cb43785
Send presence to joined hosts only ( #2858 )
...
Send presence events only to rooms the user is participating, not all
servers we know about.
Should fix #2752
2022-11-04 13:23:00 +01:00
Till Faelligen
eeabe892a9
Cache go mod directory
2022-11-04 11:54:53 +01:00
Neil Alexander
98d3f88bfb
Move prev_batch calculation ( #2856 )
...
This might help #2847 .
2022-11-03 16:56:21 +00:00
PiotrKozimor
44ac2ce023
Assign JoinedRooms in PDU incremental sync as well ( #51 )
2022-11-03 16:07:43 +01:00
PiotrKozimor
23584d9738
Reconfigure typing and presence streams upon nats reconnection ( #48 )
...
When NATS is restarted in single mode, in-memory streams are lost, which makes dendrite unable to publish presence and typing events. We attempt to recreate streams upon reconnection event, since it will happen when NATS is restarted.
2022-11-03 15:29:01 +01:00
Daniel Aloni
610c73c1f5
Merge pull request #49 from globekeeper/release/upstream-0.10.6
...
Release/upstream 0.10.6
2022-11-03 16:11:45 +02:00
Neil Alexander
fb2e7d1b05
Put P2P Demos back into their own Dockerfiles
2022-11-03 13:57:44 +00:00
Piotr Kozimor
6b764275a4
Remove update-docker-images step
2022-11-03 14:37:49 +01:00
Neil Alexander
9625a79926
Update to matrix-org/pinecone@37f2e9b
2022-11-03 13:06:21 +00:00
danielaloni
d2721839b8
🔥 Remove docker.yml
2022-11-03 14:30:55 +02:00