Jason Volk
d73b4332bf
Fix deletion of local leave state to allow sync for clients.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-09-11 06:20:41 +00:00
Jason Volk
4b49aaad53
Fix spec compliance limiting /joined_rooms to current members only.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-09-05 05:45:41 +00:00
Jason Volk
888b93df91
Fix /joined_members results. (regression a3666fe672) ( fixes #147 )
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-09-02 05:34:37 +00:00
dasha_uwu
b59af0530c
Deprioritize joins through configured servers
2025-08-31 12:30:27 +05:00
dasha_uwu
44af849ed0
Dedup base join servers
2025-08-31 11:30:10 +05:00
Jason Volk
aa413ae601
Implement room purge after last local user leaves. ( resolves #83 )
...
Consume a state_lock for room delete call.
Signed-off-by: Jason Volk <jason@zemos.net >
2025-08-30 11:45:32 +00:00
Jason Volk
ce6212b161
Add room_version argument and reorg convert_outgoing_federation_event.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-08-28 23:28:20 +05:00
dasha_uwu
8e9c6661b2
Membership refactor
...
Introduce deactivate, membership services
Move membership and user deactivation functions from api crate into those services
2025-08-28 23:28:20 +05:00
dasha_uwu
6810604629
banned_room_check: pull out common part
2025-08-28 23:28:20 +05:00
dasha_uwu
b5890b9664
Services refactor
...
Replace structs of Dep<Service> with OnceServices, so each service has a Services reference
Remove service name => Service map
Flatten Services.rooms
Make reqwest Clients lazy initialized (client service)
2025-08-28 23:15:59 +05:00
Jason Volk
628597c318
State-reset and security mitigations.
...
Upgrade Ruma to present.
The following are intentionally benign for activation in a later commit:
- Hydra backports not default.
- Room version 12 not default.
- Room version 12 not listed as stable.
Do not enable them manually or you can brick your database.
Signed-off-by: Jason Volk <jason@zemos.net >
2025-08-11 18:45:28 +00:00
Jason Volk
a3666fe672
Use member profile rather than global profile for joined_members ( fixes #121 )
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-08-10 23:52:03 +00:00
Jason Volk
fa3b72947a
Eliminate rooms outlier service, duplicate subset of timeline service.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-08-02 18:00:20 +00:00
Jason Volk
18f8d6c65c
Rebox future segmentations.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-07-24 04:07:27 +00:00
Jason Volk
c8d35cca57
Refactor to async closures.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-07-24 04:07:27 +00:00
Jason Volk
ae707ab465
Simplify default Result generics.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-07-24 04:07:27 +00:00
Jason Volk
d5df12fd5e
Update additional docs and legacy references.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-05-28 08:50:00 +00:00
Jason Volk
0463b962fd
Migrate additional names in src/
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-05-14 03:18:13 +00:00
Jason Volk
af7dfb31bc
Abstract Pdu filter matching into trait Event.
...
Abstract Pdu unsigned accessors into trait Event.
Abstract Pdu relation related into trait Event.
Abstract PDU content into trait Event.
Move event_id utils from pdu to event.
Signed-off-by: Jason Volk <jason@zemos.net >
2025-05-11 07:02:14 +00:00
Jason Volk
1b70ef5dea
Split api/client/membership.rs into directory
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-05-11 07:02:14 +00:00