Timo Kösters
57ecd81534
fix: logs for ruma crate
5 years ago
Timo Kösters
e5c7119516
feat: forward federation errors to the client
5 years ago
Timo Kösters
1939e62814
fmt
5 years ago
Timo Kösters
c1b2b468b8
fix: bad except in ruma wrapper
5 years ago
Timo Kösters
90cd11d850
fix: Forbidden instead of InvalidParam when joining
5 years ago
Timo Kösters
9b77eb7bb7
fix: too many syncs
5 years ago
Timo Kösters
1b42770ab5
improvement: warning for small max_request_size values
5 years ago
Timo Kösters
3e2f742f30
fix: room version warnings and other bugs when joining rooms
5 years ago
Timo Kösters
989d843c40
fix: unauthorized pdus will be responded to with FORBIDDEN
5 years ago
Timo Kösters
09157b2096
improvement: federation get_keys and optimize signingkey storage
...
- get encryption keys over federation
- optimize signing key storage
- rate limit parsing of bad events
- rate limit signature fetching
- dependency bumps
5 years ago
Timo Kösters
ae41bc5067
fix: run state res with old current state again
...
I'm a bit torn on the "auth check based on the current state of the
room". It can mean multiple things:
1. The state of the room before the homeserver looked at the event at
all. But that means if a message event from a user arrives, but we
didn't see their join event before, we soft fail the message (even
though we would find the join event when going through the auth events
of the event and doing state res)
2. The state of the room after doing state-res with the event and our
previous room state. We need to do this state resolution to find the new
room state anyway, so we could just use the new room state for the auth
check. The problem is that if the incoming event is a membership leave
event, the new room state does not allow another leave event. This is
obviously the wrong option.
3. The state of the room after doing state-res with the state **before**
the event and our previous room state. This will mean a lot more
calculations because we have to run state-res again
We used 2. before and now use 1. again
5 years ago
Timo Kösters
8f27e6123b
feat: send read receipts over federation
...
currently they will only be sent if a PDU has to be sent as well
5 years ago
Timo Kösters
24793891e0
feat: implement GET /presence
5 years ago
Timo Kösters
f62258ba35
improvement: bug fixes and refactors
...
- power level content override adds to the default event instead of
replacing it
- sending code refactored to make edus possible
- remove presence events when restarting conduit
- remove room_id field from read receipts over /sync
- handle incoming read receipts
- fix array bounds bug in server_server.rs
5 years ago
Jonas Platte
af6fea3d4e
Refactor some canonical JSON code
5 years ago
Jonas Platte
a0457000ff
Upgrade Ruma
5 years ago
Jonathan de Jong
268ad3441c
add dbg_macro check
5 years ago
Timo Kösters
cf94b8e712
improvement: uiaa works like in synapse
5 years ago
Jonas Platte
e1c4e5c73e
Return only event content in account_data endpoints, not the entire event
5 years ago
Jonas Platte
8bfaf09f37
Clean up reqwest::Response to http::Response conversion
5 years ago
Jonas Platte
c28eba1e5b
Bump ruma
5 years ago
Jonas Platte
08ca573df0
Remove explicit setting of content-type header
...
`try_into_http_request` takes care of this already.
5 years ago
Jonas Platte
61c522dcc0
Fix formatting
5 years ago
Jonas Platte
b76af682a6
Fix clippy warnings
5 years ago
Timo Kösters
3c3062a316
improvement: optimize room directory
5 years ago
Jonas Platte
2e1d7d12ca
Refactor usage of CanonicalJsonValue
5 years ago
Jonas Platte
c2b72773d5
Fix clippy warning
5 years ago
Timo Kösters
58463bba93
feat: send invites over federation
5 years ago
Timo Kösters
3dfc245633
fix: send transaction retry code
5 years ago
Timo Kösters
2fc1ec2ad5
fix: logging
5 years ago
Timo Kösters
226045ea4b
improvement: warning on misconfigured reverse proxy
5 years ago
Jonas Platte
026af6b1a6
Improve formatting of ruma_wrapper.rs
5 years ago
Jonas Platte
d8b484beed
Upgrade ruma
5 years ago
Jonas Platte
e72fd44bb5
Refactor send_request for appservices
5 years ago
Jonas Platte
7067d7acae
Refactor Responder implementation for RumaResponse
5 years ago
Timo Kösters
23f81bfaf7
chore: update dependencies
5 years ago
Timo Kösters
bb234ca002
fix: only show one typing event per user
5 years ago
Timo Kösters
6e84d317b2
improvement: update ruma
5 years ago
Timo Kösters
1f84013b2a
feat: verify signatures for incoming requests
5 years ago
Timo Kösters
2f440e644d
fix: clippy
5 years ago
Timo Kösters
71ed1b295a
feat: /devices route
5 years ago
Timo Kösters
e815486030
fix: don't allow inviting other users (not implemented yet)
5 years ago
Gabriel Souza Franco
ed253e236c
chore: document FedDest, fix tests
5 years ago
Timo Kösters
d4e0ba245b
fix: bug when fetching events over federation
5 years ago
Timo Kösters
eedac4fd96
feat: make_join, send_join and /directory
5 years ago
Gabriel Souza Franco
7faa021ff5
chore: code formatting and cleanup
5 years ago
Gabriel Souza Franco
e73de2317e
fix: verify tls cert for non-conformant servers
5 years ago
Gabriel Souza Franco
b4c001de2f
chore: cleanup string-based code in find_actual_destination
5 years ago
Gabriel Souza Franco
0b56589dce
feat: add handling of tls cert for delegated hosts
5 years ago
Timo Kösters
bc98425dfe
improvement: use invite state as hints to what servers to ask for joining
5 years ago