Neil Alexander
edc625f215
Apply history visibility
2022-10-13 14:02:45 +01:00
Neil Alexander
3a3b252b31
Track child event types, more updates
2022-10-13 13:07:37 +01:00
Neil Alexander
32b8a5b06d
Add table tests
2022-10-13 12:14:34 +01:00
Neil Alexander
dfd02efab1
Update comment
2022-10-13 11:02:35 +01:00
Neil Alexander
8f23aefa2e
More review comments
2022-10-13 11:01:43 +01:00
Neil Alexander
4d9acadd72
Review comments
2022-10-13 10:55:31 +01:00
Neil Alexander
a17df91449
Merge branch 'main' into neilalexander/relations
2022-10-12 13:18:04 +01:00
Neil Alexander
ba9822899a
Fix pagination
2022-10-12 12:31:43 +01:00
Neil Alexander
566bfae939
Tweaks to pagination
2022-10-12 11:35:23 +01:00
Neil Alexander
2a374fc272
Pagination probably works now
2022-10-11 16:49:58 +01:00
Neil Alexander
9907ffaf2c
Clean up a bit
2022-10-11 16:33:47 +01:00
Neil Alexander
6811998611
Early pagination
2022-10-11 16:28:33 +01:00
Neil Alexander
25c8655497
It sorta works
2022-10-11 16:03:40 +01:00
Neil Alexander
17b532104f
Early relations endpoints
2022-10-11 15:49:14 +01:00
Neil Alexander
2f67bca94b
Fix SQLite
2022-10-11 15:21:05 +01:00
Neil Alexander
2c052ea292
Provide stream ID statements
2022-10-11 15:14:25 +01:00
Neil Alexander
c0030f5b00
SQLite
2022-10-11 15:11:40 +01:00
Till
3c1474f68f
Fix /get_missing_events for rooms with joined/invited history_visibility ( #2787 )
...
Sytest was using a wrong `history_visibility` for `invited`
(https://github.com/matrix-org/sytest/pull/1303 ), so `invited` was
passing for the wrong reason (-> defaulted to `shared`, as `invite`
wasn't understood).
This change now handles missing events like Synapse, if a server isn't
allowed to see the event, it gets a redacted version of it, making the
`get_missing_events` tests pass.
2022-10-11 16:04:02 +02:00
Neil Alexander
54c122a168
Fix redactions maybe
2022-10-11 14:53:07 +01:00
Neil Alexander
46a2204064
Update update relation logic
2022-10-11 14:34:53 +01:00
Neil Alexander
5af68b1e0a
Log errors if there are any
2022-10-11 14:29:30 +01:00
Neil Alexander
d96d0f4a72
Don't yell if no rows affected on deletion
2022-10-11 14:21:48 +01:00
Neil Alexander
1f06794904
Update deletion/redaction
2022-10-11 14:21:15 +01:00
Neil Alexander
c9ef9a6106
Handle redactions
2022-10-11 14:17:51 +01:00
Neil Alexander
ff786c0094
Update the event ordering
2022-10-11 14:16:37 +01:00
Neil Alexander
9bae393776
Tweak query
2022-10-11 14:14:22 +01:00
Neil Alexander
4445dd48c9
Create sequence
2022-10-11 14:12:52 +01:00
Neil Alexander
303155beba
Try to wire in relation updates
2022-10-11 14:11:29 +01:00
Neil Alexander
a5f6da72f3
Add PostgreSQL relations tables
2022-10-11 13:19:02 +01:00
Neil Alexander
ef4829473f
Update to matrix-org/gomatrixserverlib@49fa704
2022-10-11 12:54:27 +01:00
Neil Alexander
0a9aebdf01
Private read receipts ( #2789 )
...
Implement behaviours for `m.read.private` receipts.
2022-10-11 12:27:21 +01:00
Neil Alexander
3920b9f9b6
Tweak GetStateDeltas behaviour ( #2788 )
...
Improves the control flow of `GetStateDeltas` for clarity and possibly
also fixes a bug where duplicate state delta entries could be inserted
with different memberships instead of being correctly overridden by
`join`.
2022-10-11 10:58:34 +01:00
Neil Alexander
9ed8ff6b93
Tweak federation M_NOT_FOUND errors
2022-10-11 10:48:36 +01:00
Neil Alexander
6bf1912525
Fix joined hosts with RewritesState ( #2785 )
...
This ensures that the joined hosts in the federation API are correct
after the state is rewritten. This might fix some races around the time
of joining federated rooms.
2022-10-10 16:54:04 +01:00
Till
b000db81ca
Send E2EE related errors to sentry ( #2784 )
...
Only sends errors if we're not retrying them in NATS.
Not sure if those should be scoped/tagged with something like "E2EE".
2022-10-10 17:36:26 +02:00
Till Faelligen
39581af3ba
CI update
2022-10-10 15:49:56 +02:00
Till Faelligen
dcc0116287
SyTest List Maintenance
2022-10-10 15:38:00 +02:00
Till
0f09e9d196
Move /event to the SyncAPI ( #2782 )
...
This allows us to apply history visibility without having to recalculate
it in the roomserver.
Unblocks https://github.com/matrix-org/complement/pull/495 , fix missing
part of https://github.com/matrix-org/dendrite/issues/617
2022-10-10 12:19:16 +02:00
Neil Alexander
fb6cb2dbcb
Tweak GetAccountByPassword more
2022-10-10 11:14:16 +01:00
Neil Alexander
80a0ab6246
Further tweak to the issue template
2022-10-10 11:09:40 +01:00
Neil Alexander
b32b6d6e8e
Update issue and pull request templates
2022-10-10 11:03:52 +01:00
Neil Alexander
04bab14290
Add regression test for 980fa55846
2022-10-10 10:45:15 +01:00
Neil Alexander
980fa55846
Stronger passwordless account checks ( fixes #2780 )
2022-10-10 10:39:29 +01:00
Neil Alexander
f1b8df0f49
Version 0.10.2 ( #2778 )
...
Changelog and version bump.
2022-10-07 15:55:29 +01:00
Till
1ca3f3efb5
Fix issue with DMs shown as normal rooms ( #2776 )
...
Fixes #2121 , test added in
https://github.com/matrix-org/complement/pull/494
2022-10-07 16:00:12 +02:00
Neil Alexander
8e231130e9
Revert "tDatabase transaction tweaks in roomserver"
...
This reverts commit 8d8f4689a0 .
2022-10-07 14:05:06 +01:00
Neil Alexander
1b5460a920
Ensure we only wake up a given user once ( #2775 )
...
This ensures that the sync API notifier only wakes up a given user once
for a given stream position.
2022-10-07 13:42:35 +01:00
Neil Alexander
8d8f4689a0
tDatabase transaction tweaks in roomserver
2022-10-07 12:21:55 +01:00
Till
b9d0e9f7ed
Add test for QueryDeviceMessages ( #2773 )
...
Adds tests for `QueryDeviceMessages` and also includes some
optimizations to reduce allocations in the DB layer.
2022-10-07 10:54:42 +02:00
Till Faelligen
453b50e1d3
Update README
2022-10-07 07:32:27 +02:00