Matthias Ahouansou
41e56baf60
refactor: all the clippy lints
2 years ago
Matthias Ahouansou
256dae983b
chore: bump rust
...
and fix new lints that come with it
2 years ago
Matthias Ahouansou
74db555336
fix(membership): perform stricter checks when choosing an authorized user
2 years ago
Matthias Ahouansou
9497713a79
fix(membership): check if server is in room to decide whether to do remote leaves
2 years ago
Matthias Ahouansou
fb4217486f
feat(membership): check if user already has the membership that is requested to be set
2 years ago
Matthias Ahouansou
0f6b771cdd
fix(membership): remove join_authorized_via_users_server field on state update
2 years ago
Matthias Ahouansou
becaad677f
refactor: use async-aware RwLocks and Mutexes where possible
2 years ago
Matthias Ahouansou
ace9637bc2
replace unwraps with expects
2 years ago
strawberry
a2ac491c54
bump ruma, add wrong room keys error code, tiny logging change
...
can't update ruma to very latest commit because of the weird JsOption thing for syncv4 that i can't wrap my head around how to use, not important anyways
Signed-off-by: strawberry <strawberry@pupbrain.dev>
2 years ago
Charles Hall
ab1fff2642
fix `cargo clippy` lints
2 years ago
Val Lorentz
98e81c6217
Log underlying error when rejecting sendjoin response
2 years ago
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
3 years ago
Timo Kösters
fd1ccbd3ad
improvement: randomize server order for alias joins
3 years ago
Timo Kösters
be877ef719
Improve sync performance with more caching and wrapping things in Arcs to avoid copies
3 years ago
Timo Kösters
1ea27c4f97
fix: restricted room error is now FORBIDDEN
3 years ago
Kévin Commaille
f53ecaa97d
Bump Ruma
3 years ago
Timo Kösters
a1bd348977
fix: history visibility
3 years ago
Timo Kösters
4617ee2b6b
More logging for remote joins
3 years ago
Timo Kösters
7bdd9660aa
feat: ask for backfill
3 years ago
Nyaaori
7cc346bc18
feat: Implement membership ban/join/leave/invite reason support
3 years ago
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
3 years ago
Timo Kösters
2a04c213f9
improvement: handle restricted joins locally
3 years ago
Jonas Platte
d39ce1401d
WIP: Upgrade Ruma
3 years ago
Timo Kösters
b9fd6127e2
fix: rejoining restricted rooms over federation
3 years ago
Timo Kösters
3b3c451c83
fix: unable to leave room
3 years ago
Timo Kösters
c063700255
fix: invite dendrite users
4 years ago
Nyaaori
e9697f13d6
Handle initiating restricted joins over federation
...
Allows Conduit users to join restricted rooms if we are not currently participating
4 years ago
Nyaaori
3b0aa23fdf
Rejoin room over federation if we are not participating in it; do not include invited users in participating servers calculation
4 years ago
Nyaaori
f430b87459
cargo clippy
4 years ago
Timo Kösters
6b131202b9
Bump ruma
4 years ago
Timo Kösters
1a7893dbbd
fix: update state_cache on join over federation
4 years ago
Timo Kösters
7822a385bb
cargo fmt
4 years ago
Timo Kösters
d5b4754cf4
0 errors left!
4 years ago
Timo Kösters
f47a5cd5d5
cargo fix
4 years ago
Timo Kösters
a4637e2ba1
cargo fmt
4 years ago
Timo Kösters
33a2b2b772
37 errors left
4 years ago
Timo Kösters
44fe6d1554
127 errors left
4 years ago
Timo Kösters
cff52d7ebb
messing around with arcs
4 years ago
Timo Kösters
face766e0f
messing with trait objects
4 years ago
Timo Kösters
8708cd3b63
431 errors left
4 years ago
Timo Kösters
bd8b616ca0
Fixed more compile time errors
4 years ago
Timo Kösters
057f8364cc
fix: some compile time errors
...
Only 174 errors left!
4 years ago
Timo Kösters
dcdbcc0851
refactor: event handling code
4 years ago
Timo Kösters
025b64befc
refactor: renames and split room.rs
4 years ago
Timo Kösters
0bc03e90a1
improvement: make more things async
4 years ago
Nyaaori
4b28146ee7
Support room version 3
4 years ago
Nyaaori
714873694d
Refactor room version support, add default room version config
4 years ago
Timo Kösters
df4c38cb61
fix: remove warnings
4 years ago
Timo Kösters
2808dd2000
Ruma upgrade
4 years ago
Jonathan de Jong
e9f87e1952
update ruma
4 years ago