Neil Alexander
c0f824d437
Wrap error from SnapshotNIDFromEventID
2022-07-05 15:06:10 +01:00
Neil Alexander
d4341a2d97
Return clearer error when no state NID exists for an event ( #2555 )
2022-07-05 15:01:34 +01:00
Till
5087b36af0
Fix QuerySharedUsers for the SyncAPI keychange consumer ( #2554 )
...
* Make more use of base.BaseDendrite
* Fix QuerySharedUsers if no UserIDs are supplied
2022-07-05 14:50:56 +02:00
Till
f29cdb26f6
Use new testrig for key changes tests ( #2552 )
...
* Use new testrig for tests
* Log the error message
2022-07-05 14:50:24 +02:00
Kabir Kwatra
43147bd654
feat+fix: Ignore unknown keys and verify required fields are present in appservice registration files ( #2550 )
...
* fix: ignore unknown keys in appservice configs
fixes matrix-org/dendrite#1567
* feat: verify required fields in appservice configs
2022-07-05 12:53:51 +01:00
Neil Alexander
b5c55faf98
Version 0.8.9 ( #2549 )
...
* Version 0.8.9
* Update changelog
2022-07-01 12:00:32 +01:00
Neil Alexander
b50a24c666
Roomserver producers package ( #2546 )
...
* Give the roomserver a producers package
* Change init point
* Populate ACLs API
* Fix build issues
* `RoomEventProducer` naming
2022-07-01 10:54:07 +01:00
Till
89cd0e8fc1
Try to fix backfilling ( #2548 )
...
* Try to fix backfilling
* Return start/end to not confuse clients
* Update GMSL
* Update GMSL
2022-07-01 11:49:26 +02:00
Neil Alexander
086f182e24
Disable WebAssembly builds for now
2022-07-01 09:50:06 +01:00
Neil Alexander
54bed4c593
Blacklist Guest users can join guest_access rooms test until it can be investigated
2022-07-01 09:37:54 +01:00
Till
561c159ad7
Silence presence logs ( #2547 )
2022-06-30 12:34:37 +02:00
Neil Alexander
519bc1124b
Add evacuateUser endpoint, use it when deactivating accounts ( #2545 )
...
* Add `evacuateUser` endpoint, use it when deactivating accounts
* Populate the API
* Clean up user devices when deactivating
* Include invites, delete pushers
2022-06-29 15:29:39 +01:00
Neil Alexander
2dea466685
Return an error if trying to invite a malformed user ID ( #2543 )
2022-06-29 12:32:24 +01:00
Till
2086992caf
Don't return end if there are not more messages ( #2542 )
...
* Be more spec compliant
* Move lazyLoadMembers to own method
2022-06-29 10:49:12 +02:00
Jean Lucas
920a20821b
Fix nats.go commit ( #2540 )
...
Signed-off-by: Jean Lucas <jean@4ray.co>
2022-06-27 09:15:19 +01:00
Neil Alexander
7120eb6bc9
Add InputDeviceListUpdate to the keyserver, remove old input API ( #2536 )
...
* Add `InputDeviceListUpdate` to the keyserver, remove old input API
* Fix copyright
* Log more information when a device list update fails
2022-06-15 14:27:07 +01:00
Till
1b90cc9536
Fix rare panic when returning user devices over federation ( #2534 )
2022-06-15 12:50:02 +02:00
Till Faelligen
075618833f
Use newly added GMSL HistoryVisibility
2022-06-14 11:48:38 +02:00
Till Faelligen
888297f831
Merge branch 'main' of github.com:matrix-org/dendrite into s7evink/hisvismessages
2022-06-14 11:15:53 +02:00
Neil Alexander
4c2a10f1a6
Handle state before, send history visibility in output ( #2532 )
...
* Check state before event
* Tweaks
* Refactor a bit, include in output events
* Don't waste time if soft failed either
* Tweak control flow, comments, use GMSL history visibility type
2022-06-13 15:11:10 +01:00
Emanuele Aliberti
c500958583
generic CaddyFile in front of Dendrite (monolith) ( #2531 )
...
for Caddy 2.5.x
Co-authored-by: emanuele.aliberti <emanuele.aliberti@mtka.eu>
2022-06-13 12:08:46 +01:00
Till Faelligen
e1136f4d3e
Make the linter happy again
2022-06-13 11:46:59 +02:00
Neil Alexander
0a7f7dc716
Add --difference to resolve-state tool
2022-06-13 10:16:30 +01:00
Neil Alexander
89d2adadbd
Attempt to raise the file descriptor limit at startup ( #2527 )
2022-06-10 10:58:04 +01:00
Neil Alexander
1030072285
Rename the page to "Optimise your installation"
2022-06-10 10:18:32 +01:00
Neil Alexander
16ed1633b6
Highlighting in docs
2022-06-10 10:15:14 +01:00
Neil Alexander
e2a64773ce
Add new next steps page to the documentation
2022-06-10 10:14:15 +01:00
Till
660f7839f5
Correctly redact events over federation ( #2526 )
...
* Ensure we check powerlevel/origin before redacting an event
* Add passing test
* Use pl.UserLevel
* Make check more readable, also check for the sender
2022-06-09 18:38:07 +02:00
Neil Alexander
83797573be
Version 0.8.8 ( #2525 )
2022-06-09 12:18:50 +01:00
Till
289b3c5608
Allow "registration is idempotent, with username specified" to pass ( #2488 )
...
Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2022-06-09 11:26:48 +01:00
Neil Alexander
3cdefcf765
Update sample configs for exempt_user_ids
2022-06-08 09:13:25 +01:00
Neil Alexander
c4df6d7723
Optimise state res v2 by only updating the allower when necessary (update to matrix-org/gomatrixserverlib@e55d796 )
2022-06-07 15:34:58 +01:00
Neil Alexander
b21a2223ef
Optimise state res v2 by parsing power level content less often (update to matrix-org/gomatrixserverlib@e938c07 )
2022-06-07 15:04:00 +01:00
Neil Alexander
6d4bd5d890
Rate limiting changes ( #2519 )
...
* Rate limiting changes
This makes the following changes:
* For logged in users, the rate limiting now applies to the device session rather than the remote IP address;
* For non-logged in users, the rate limiting continues to apply to remote address as it does today;
* It is now possible to add user IDs to the `exempt_user_ids` option under `rate_limiting` to exclude bots from rate limiting;
* Admin and appservice users are now exempt from rate limiting by default.
* Fix build with media API
2022-06-07 14:24:04 +01:00
Neil Alexander
27948fb304
Optimise loadAuthEvents, add roomserver tracing
2022-06-07 14:23:26 +01:00
Neil Alexander
aafb7bf120
Avoid panicking unnecessarily when shutting down the gobind P2P demos ( #2520 )
2022-06-07 10:46:21 +01:00
Neil Alexander
0d7020fbaf
Send tombstone to other servers when upgrading rooms
2022-06-06 17:27:50 +01:00
Neil Alexander
2cb609c428
Room upgrade tweaks
...
Squashed commit of the following:
commit 7a1568c716866594af6d0b1d561c58c96de29b20
Author: Neil Alexander <neilalexander@users.noreply.github.com>
Date: Mon Jun 6 15:17:49 2022 +0100
Make errors more useful
commit 64befe7c9a901b00650442171660c2dc4ea575fa
Author: Neil Alexander <neilalexander@users.noreply.github.com>
Date: Mon Jun 6 15:02:40 2022 +0100
Tweak ordering a bit
2022-06-06 15:18:02 +01:00
Neil Alexander
02597f15f0
Fix panic in QueryRestrictedJoinAllowed
2022-06-06 08:56:06 +01:00
Till Faelligen
32a478f32f
Re-add passing test
2022-06-03 15:03:58 +02:00
Till Faelligen
e8b1fd9ef8
Move filtering to own function to avoid duplication
2022-06-03 14:38:18 +02:00
Till Faelligen
0fed7ed32d
Re-add passing tests
2022-06-03 14:25:50 +02:00
Till Faelligen
eeaf2f9ac9
Add passing tests; Remove failing tests :(
2022-06-03 10:16:11 +02:00
Till Faelligen
b666b1e014
Add filtering to /sync and /context
...
Some cleanup
2022-06-03 10:04:47 +02:00
Till Faelligen
4f0d41be9c
Move queries to topology table
2022-06-03 09:30:54 +02:00
Till Faelligen
bb9e775a1b
Move ApplyHistoryVisibilityFilter to internal
2022-06-03 06:51:03 +02:00
Till Faelligen
fae758b2bc
Merge branch 'main' of github.com:matrix-org/dendrite into s7evink/hisvismessages
2022-06-03 06:44:53 +02:00
Till
3e9c734da5
Make setting state idempotent ( #2512 )
...
* Make Setting state twice is idempotent pass
* Add passing tests
* PR comment & comments
2022-06-03 06:43:51 +02:00
Till Faelligen
f4bf25a495
Merge branch 's7evink/hisvismessages' of github.com:matrix-org/dendrite into s7evink/hisvismessages
2022-06-02 13:54:44 +02:00
Till Faelligen
78974fe53d
Fix build on 386
2022-06-02 13:50:33 +02:00