Neil Alexander
4e8f1a7d3f
Stronger sorting
2022-06-15 11:14:45 +01:00
Neil Alexander
7f0bc0d4aa
That might be better
2022-06-15 11:02:00 +01:00
Neil Alexander
17091ee8e6
One more time
2022-06-15 10:45:44 +01:00
Neil Alexander
caccf7c663
aaaaargh
2022-06-15 10:20:56 +01:00
Neil Alexander
9b2dc10254
Be more specific
2022-06-15 10:10:04 +01:00
Neil Alexander
ba8e1607e2
Try this again
2022-06-15 10:08:24 +01:00
Neil Alexander
158ffa4ded
thanks VS Code for doing exactly the wrong thing
2022-06-15 10:01:33 +01:00
Neil Alexander
0be9c6bb7e
Preserve order jeezo this is messy
2022-06-15 10:00:27 +01:00
Neil Alexander
e979667952
Try that again
2022-06-15 09:52:06 +01:00
Neil Alexander
87e7d32665
Check nil
2022-06-15 09:47:26 +01:00
Neil Alexander
21cfabbbfb
Try to fix bugs
2022-06-15 09:45:12 +01:00
Neil Alexander
fb3e1df89f
Fix bug with admitting events into cache
2022-06-15 09:40:56 +01:00
Neil Alexander
07ce5b185f
Use separate caches for hopefully better hash distribution
2022-06-15 09:36:33 +01:00
Neil Alexander
b7a908305e
Try this
2022-06-15 09:23:59 +01:00
Neil Alexander
9a3f483e9c
Try again
2022-06-14 16:57:16 +01:00
Neil Alexander
3f9617e373
Some guards
2022-06-14 16:52:27 +01:00
Neil Alexander
c4c2c9d0ff
Try caching events
2022-06-14 16:45:13 +01:00
Neil Alexander
1fd4ec1bb6
Reduce counters a bit
2022-06-14 15:29:41 +01:00
Neil Alexander
e4ccddf5b7
Estimate cost for metrics better
2022-06-14 15:20:17 +01:00
Neil Alexander
2425354b6d
Update GMSL
2022-06-14 15:13:52 +01:00
Neil Alexander
f7e2cbbb16
Update cost estimation, add metric
2022-06-14 15:06:30 +01:00
Neil Alexander
345a01ce73
Make federation caches mutable
2022-06-14 14:41:15 +01:00
Neil Alexander
da107c78da
Namespace keys
2022-06-14 14:39:28 +01:00
Neil Alexander
2f3cd2828e
Tweaks
2022-06-14 14:36:13 +01:00
Neil Alexander
8147d8367d
Determine mutability using deep equality
2022-06-14 14:29:59 +01:00
Neil Alexander
e1f4a485f5
Don't enforce mutability checks for now
2022-06-14 14:18:37 +01:00
Neil Alexander
2488058e62
Make less panicky
2022-06-14 14:16:59 +01:00
Neil Alexander
800dbbf9e4
Fix that some more
2022-06-14 14:10:48 +01:00
Neil Alexander
e614269bc3
More strict keyable interface
2022-06-14 14:08:09 +01:00
Neil Alexander
7f2584a7c5
Update GMSL
2022-06-14 14:00:41 +01:00
Neil Alexander
202b25a694
It's beautiful
2022-06-14 13:59:12 +01:00
Neil Alexander
f948dc8c18
Tweak
2022-06-14 10:02:50 +01:00
Neil Alexander
4613203763
Try Ristretto cache
2022-06-14 09:56:51 +01: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