Commit graph

2211 commits

Author SHA1 Message Date
Neil Alexander 629713369e
Remove the cache test from the federation API as we no longer guarantee immediate cache admission 2022-07-08 11:44:49 +01:00
Neil Alexander ded7b95bb9
Update Complement images to Go 1.18 2022-07-08 11:33:59 +01:00
Neil Alexander d5e69e97ea
Update GHA Workflow 2022-07-08 11:12:59 +01:00
Neil Alexander 6191a7290a
Update sample configs 2022-07-08 11:11:43 +01:00
Neil Alexander ebf5e4e62a
Review comments 2022-07-08 10:55:28 +01:00
Neil Alexander 7b8216775a
Don't return errors when creating caches (it is better just to crash since otherwise we'll nil-pointer exception everywhere) 2022-07-08 10:40:51 +01:00
Neil Alexander 0c63a8e0d3
Review comments @S7evinK 2022-07-08 09:38:22 +01:00
Neil Alexander 1437ac42e3
Only register prometheus metrics if requested 2022-07-07 14:39:51 +01:00
Neil Alexander 56b2672f92
Tweak max age handling, config key name 2022-07-07 14:27:58 +01:00
Neil Alexander caecdedeed
Include key in cost 2022-07-07 11:47:01 +01:00
Neil Alexander 4a648a9052
Include key in cost 2022-07-07 11:41:42 +01:00
Neil Alexander 858cc61f92
Add back some lazy loading caching 2022-07-07 11:39:51 +01:00
Neil Alexander 0647844636
Merge branch 'main' into neilalexander/ristretto 2022-07-07 10:59:24 +01:00
Till f3e8a9a4cb
Fix nil pointer access when redacting events (#2560) 2022-07-07 11:40:53 +02:00
Neil Alexander 80071ab61d
Merge branch 'main' into neilalexander/ristretto 2022-07-05 17:13:35 +01:00
Neil Alexander 460dccf93d
Hopefully fix read receipts timestamps (#2557)
This should avoid coercions between signed and unsigned ints which might fix problems like `sql: converting argument $5 type: uint64 values with high bit set are not supported`.
2022-07-05 17:13:26 +01:00
Neil Alexander 107b90e19a
Merge branch 'main' into neilalexander/ristretto 2022-07-05 15:06:21 +01:00
Neil Alexander c0f824d437
Wrap error from SnapshotNIDFromEventID 2022-07-05 15:06:10 +01:00
Neil Alexander 937253a2b7
Merge branch 'main' into neilalexander/ristretto 2022-07-05 15:01:41 +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
Neil Alexander 343374b8d0
Merge branch 'main' into neilalexander/ristretto 2022-07-05 13:53:23 +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 cafc45863e
Merge branch 'main' into neilalexander/ristretto 2022-07-01 12:00:42 +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 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