Commit graph

2185 commits

Author SHA1 Message Date
Neil Alexander a7024f8720
Update GMSL 2022-07-01 10:56:40 +01:00
Neil Alexander 86760e90db
Merge branch 'main' into neilalexander/ristretto 2022-07-01 10:55:21 +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
Neil Alexander 5697980795
Merge branch 'main' into neilalexander/ristretto 2022-06-27 09:44:50 +01: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 e064a97eb1
Various tweaks 2022-06-20 11:38:48 +01:00
Neil Alexander 6ff90fa0ee
Add config.DataUnit for specifying friendly cache sizes 2022-06-20 11:28:45 +01:00
Neil Alexander 7e9109510d
Tweaks 2022-06-17 10:15:49 +01:00
Neil Alexander bf18f7d5ad
Configurable cache sizees 2022-06-16 16:43:49 +01:00
Neil Alexander 4aaed3aff3
1GB 2022-06-16 11:32:48 +01:00
Neil Alexander 97e05aac16
Update GMSL 2022-06-16 10:59:40 +01:00
Neil Alexander 03cd7f041b
Clean up a bit 2022-06-16 09:50:40 +01:00
Neil Alexander ad40b054bc
Reduce counters a bit 2022-06-15 16:32:15 +01:00
Neil Alexander 52aa240586
Update ristretto 2022-06-15 16:23:43 +01:00
Neil Alexander 8460f1dc08
Cost estimation fixes 2022-06-15 15:59:00 +01:00
Neil Alexander e0466c7777
Use a shared cache again 2022-06-15 14:54:13 +01:00
Neil Alexander 849dfdfc1f
Merge branch 'main' into neilalexander/ristretto 2022-06-15 14:27:16 +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
Neil Alexander 42fede903e
Put it back 2022-06-15 12:17:59 +01:00
Neil Alexander e385c8d4c7
Cache expiries, async publishing of EDUs 2022-06-15 12:15:28 +01:00
Till 1b90cc9536
Fix rare panic when returning user devices over federation (#2534) 2022-06-15 12:50:02 +02:00
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