Tak Wai Wong
dd9186734d
Merge branch 'main' into takwaiw/3782-login-publickey
2022-07-01 16:08:09 -07: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
Tak Wai Wong
f10eb91c9f
update odules
2022-06-30 22:22:23 -07:00
Tak Wai Wong
50d219c237
Merge branch 'main' into takwaiw/3782-login-publickey
2022-06-30 15:10:37 -07:00
Tak Wai Wong
7d1678d688
rename user id to decentralizedid
2022-06-30 15:10:16 -07: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
Tak Wai Wong
cebc4ec489
Fix race condition when creating new registration session
2022-06-24 18:22:17 -07:00
Tak Wai Wong
3115998616
During registration, verify that the user ID passes the grammar of CAIP-10, and the Matrix ID. Also verify that the ID matches the authentication data. Then during login authentication, verify that the user ID in the auth request matches the fields in the signed message.
2022-06-16 10:18:01 -07: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
Tak Wai Wong
e10f54d7f4
revert changes to input_latest_events.go
2022-06-14 15:02:19 -07:00
Tak Wai Wong
aa8ed3040e
Merge branch 'main' into takwaiw/3782-login-publickey
2022-06-14 14:58:28 -07:00
Tak Wai Wong
0bf23cae2f
Implement CAIP-10 user ID
2022-06-14 14:56:22 -07:00
Tak Wai Wong
8e4ee4c229
refresh latest dendrite
2022-06-14 14:48:00 -07: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
Tak Wai Wong
e40f9bb7f0
use rand.Seed to seed the random function generator
2022-06-09 13:02:18 -07: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
Tak Wai Wong
d017f8c3ec
revert unintended changes in md file
2022-06-03 11:05:52 -07:00
Tak Wai Wong
28ef650ad0
implement EIP-4361
2022-06-03 11:03:57 -07:00
Tak Wai Wong
50d3b9b7f5
resolve merge conflicts with main
2022-06-03 10:50:28 -07: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
Tak Wai Wong
ffb7581ef2
merge and resolve conflicts with main
2022-06-01 09:34:29 -07:00
Neil Alexander
f41931b566
Version 0.8.7 ( #2509 )
2022-06-01 11:40:37 +01:00
Neil Alexander
02e5c74101
Revert #2457
...
Squashed commit of the following:
commit 2bd0daf4d61376d2dd56628eaff267b0bc63e116
Author: Neil Alexander <neilalexander@users.noreply.github.com>
Date: Wed Jun 1 09:55:54 2022 +0100
Revert resolving old extremities as well as new
This may no longer be needed with the new state fixes and probably just burns more CPU time than is strictly necessary.
2022-06-01 10:09:27 +01:00