Commit Graph

56 Commits

Author SHA1 Message Date
Matthias Ahouansou
ba2a5a6115 chore: bump all dependencies 2024-06-11 20:35:56 +01:00
Matthias Ahouansou
1c4ae8d268 fix(redaction): use content.redacts when checking v11 events 2024-04-24 10:52:33 +01:00
Matthias Ahouansou
00d6aeddb6 refactor(redactions): move checks inside conduit
ruma was already accidentally performing these checks for us, but this shouldn't be the case
2024-04-23 23:05:27 +01:00
Matthias Ahouansou
c58af8485d revert: remove dependency on async_recursion 2024-03-05 19:59:24 +00:00
Matthias Ahouansou
becaad677f refactor: use async-aware RwLocks and Mutexes where possible 2024-03-05 14:23:59 +00:00
Timo Kösters
99ab234f40 Merge branch 'fixes' into 'next'
Avoid panic when client is confused about rooms

See merge request famedly/conduit!588
2024-02-28 16:19:48 +00:00
Timo Kösters
d7fd89df49 fix: avoid panic when client is confused about rooms 2024-02-28 16:31:41 +01:00
Matthias Ahouansou
4c06f329c4 refactor: appease clippy 2024-02-16 21:13:59 +00:00
Charles Hall
ab1fff2642 fix cargo clippy lints 2024-01-24 07:22:37 -08:00
Timo Kösters
3bfdae795d Merge branch 'sliding' into 'next'
Sliding sync improvements and redaction fixes

See merge request famedly/conduit!549
2023-09-13 18:57:57 +00:00
Timo Kösters
75c80df271 Sliding sync improvements and redaction fixes 2023-09-13 20:54:53 +02:00
Timo Kösters
094cb888d4 Merge branch 'badacl' into 'next'
fix: ACL error shouldn't break the whole request

See merge request famedly/conduit!542
2023-09-13 18:46:03 +00:00
Timo Kösters
9b55ce933a Back off from more events, don't retry auth events 2023-08-12 09:53:32 +02:00
Timo Kösters
f73a657a23 fix: ACL error shouldn't break the whole request 2023-08-11 20:29:22 +02:00
girlbossceo
ce2017a10e log handling previous event time as debug
Signed-off-by: girlbossceo <june@girlboss.ceo>
2023-08-10 23:12:37 +00:00
Timo Kösters
fd9e52a559 More sanity checks 2023-08-10 11:45:31 +02:00
Timo Kösters
acfe381dd3 fix: threads get updated properly
Workaround for element web while waiting for https://github.com/matrix-org/matrix-js-sdk/pull/3635
2023-07-31 16:18:23 +02:00
girlbossceo
a0148a9996 Print relevant room ID and ACL'd server in informational level
These are room ACLs, not server ACLs. Causes confusion where people
think their Conduit homeserver was ACL'd. Print where these are coming from
in informational level.

Signed-off-by: girlbossceo <june@girlboss.ceo>
2023-07-29 14:29:26 +00:00
Timo Kösters
d64a56d88b Do soft fail check before doing state res to allow leave events 2023-06-27 18:48:34 +02:00
Timo Kösters
be877ef719 Improve sync performance with more caching and wrapping things in Arcs to avoid copies 2023-06-27 13:15:11 +02:00
Timo Kösters
7c6d25dcd1 Do state res even if the event soft fails 2023-06-27 13:13:33 +02:00
Timo Kösters
63f787f635 Reduce logs from info to debug 2023-03-13 10:39:19 +01:00
Timo Kösters
b7c99788e4 All the logs 2023-03-13 10:39:18 +01:00
Timo Kösters
bde4880c1d fix: don't unwrap server keys 2023-03-13 10:39:18 +01:00
Timo Kösters
4617ee2b6b More logging for remote joins 2023-03-13 10:39:18 +01:00
Timo Kösters
fcfb06ffa6 fix: allow handling create event itself 2023-03-13 10:39:17 +01:00
Timo Kösters
c7a7c913d4 Bump ruma 2022-12-21 14:08:08 +01:00
Nyaaori
7c196f4e00 feat: Add max prev events config option, allowing adjusting limit for prev_events fetching 2022-12-21 10:55:32 +01:00
Nyaaori
c86313d4fa chore: code cleanup
https://rust-lang.github.io/rust-clippy/master/index.html#op_ref

https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string

https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
2022-12-21 10:42:12 +01:00
Timo Kösters
2a0515f528 Replace println/dbg calls with corresponding macros from tracing crate 2022-12-18 07:52:22 +01:00
Timo Kösters
6d5e54a66b fix: jaeger support 2022-12-18 06:37:03 +01:00
Timo Kösters
f1d2574651 finish upgrade ruma 2022-12-17 09:28:08 +01:00
Jonas Platte
d39ce1401d WIP: Upgrade Ruma 2022-12-16 11:57:32 +01:00
Timo Kösters
5894d35eb2 Merge branch 'fixrestrictedjoin' into 'next'
fix: rejoining restricted rooms over federation

See merge request famedly/conduit!431
2022-11-30 21:32:12 +00:00
Timo Kösters
b9fd6127e2 fix: rejoining restricted rooms over federation 2022-11-30 22:30:55 +01:00
Andriy Kushnir (Orhideous)
a3a1db124d Clean some noisy logs 2022-11-21 21:48:06 +02:00
Nyaaori
23cf39c525 Cleanly handle invalid response from trusted server instead of panicking 2022-10-31 12:28:30 +01:00
Timo Kösters
2b70d9604a fix: element gets stuck in /initialSync 2022-10-11 23:07:03 +02:00
Nyaaori
f430b87459 cargo clippy 2022-10-10 14:09:11 +02:00
Timo Kösters
076e9810ba cargo fix 2022-10-10 14:02:04 +02:00
Timo Kösters
6b131202b9 Bump ruma 2022-10-10 14:02:04 +02:00
Timo Kösters
1a7893dbbd fix: update state_cache on join over federation 2022-10-10 14:02:03 +02:00
Timo Kösters
7822a385bb cargo fmt 2022-10-10 14:02:02 +02:00
Timo Kösters
d5b4754cf4 0 errors left! 2022-10-10 14:02:02 +02:00
Timo Kösters
f47a5cd5d5 cargo fix 2022-10-10 14:02:01 +02:00
Timo Kösters
a4637e2ba1 cargo fmt 2022-10-10 14:02:01 +02:00
Timo Kösters
33a2b2b772 37 errors left 2022-10-10 14:02:01 +02:00
Timo Kösters
44fe6d1554 127 errors left 2022-10-10 14:02:00 +02:00
Timo Kösters
cff52d7ebb messing around with arcs 2022-10-10 14:02:00 +02:00
Timo Kösters
face766e0f messing with trait objects 2022-10-10 14:02:00 +02:00