Matthias Ahouansou
6455e918be
fix: don't always assume ruma can generate reference hashes
2 years ago
Matthias Ahouansou
ea3e7045b4
fix: don't fail the entire transaction if any PDU's format is invalid
2 years ago
Matthias Ahouansou
d95345377b
fix: remove TLS name override when no SRV record is present (but properly)
...
The previous attempt only did so when no IP could be resolved, which isn't enough
2 years ago
Matthias Ahouansou
11187b3fad
fix: remove TLS name override when no SRV record is present
...
this could have been an issue in cases where there was previously a SRV record, but later got removed
2 years ago
Matthias Ahouansou
ba8429cafe
fix: don't cache server name lookups indefinitely
2 years ago
Matthias Ahouansou
62f1da053f
feat(appservice): support timestamped messaging
2 years ago
Matthias Ahouansou
602c56cae9
chore: bump ruma
2 years ago
Matthias Ahouansou
48c1f3bdba
fix: userid checks for incoming EDUs
2 years ago
Matthias Ahouansou
ba2a5a6115
chore: bump all dependencies
2 years ago
mikoto
a888c7cb16
OpenID routes
...
Co-Authored-By: Matthias Ahouansou <matthias@ahouansou.cz>
2 years ago
Matthias Ahouansou
256dae983b
chore: bump rust
...
and fix new lints that come with it
2 years ago
Jakub Kubík
c1f695653b
feat: support hosting .well-known from Conduit
...
Co-authored-by: Matthias Ahouansou <matthias@ahouansou.cz>
2 years ago
Matthias Ahouansou
dfe2916357
feat(federation): add destination field to X-Matrix header
2 years ago
Matthias Ahouansou
475a68cbb9
refactor: disable federation at the router level
2 years ago
Matthias Ahouansou
e38af9b7fc
feat: use _matrix-fed._tcp SRV record, fallback to _matrix._tcp
2 years ago
Matthias Ahouansou
3ce3d13378
fix: do not expect that all http requests are valid reqwest requests
2 years ago
Timo Kösters
d2817679e5
refactor: remove previous typing implementation and add sync wakeup for new one
2 years ago
Timo Kösters
6bd7ff4917
improvement: do not save typing edus in db
2 years ago
Matthias Ahouansou
5f0bea6961
refactor: check if federation is disabled inside the authcheck where possible
2 years ago
Matthias Ahouansou
becaad677f
refactor: use async-aware RwLocks and Mutexes where possible
2 years ago
Timo Kösters
f4e57fdb22
Avoid federation when it is not necessary
2 years ago
Charles Hall
0d17aedae5
fix `cargo doc` lints
...
Rustdoc (rightfully) thought the `[commandbody]` "tags" were broken
links, so I've just made them links to nothing instead.
2 years ago
Charles Hall
ab1fff2642
fix `cargo clippy` lints
2 years ago
Charles Hall
92c5b6b86c
fix `cargo check` lints
2 years ago
Timo Kösters
f73a657a23
fix: ACL error shouldn't break the whole request
3 years ago
Timo Kösters
11103a92ed
Do not show "Invalid room version" errors when server is not in room
3 years ago
Timo Kösters
c1e2ffc0cd
improvement: maybe cross signing really works now
3 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
girlbossceo
83805c66e5
sanitise potentially sensitive errors
...
prevents errors like DB or I/O errors from leaking filesystem paths
Co-authored-by: infamous <ehuff007@gmail.com>
Signed-off-by: girlbossceo <june@girlboss.ceo>
3 years ago
girlbossceo
e2c914cc11
fix: s/ok_or/ok_or_else in relevant places
...
Signed-off-by: girlbossceo <june@girlboss.ceo>
3 years ago
girlbossceo
d7061e6984
cargo fmt
...
Signed-off-by: girlbossceo <june@girlboss.ceo>
3 years ago
girlbossceo
cc5dcceacc
Log the room ID, event ID, PDU, and event type where possible
...
Signed-off-by: girlbossceo <june@girlboss.ceo>
3 years ago
Tobias Tom
7990822f72
It's ok not being able to find a .well-known response.
3 years ago
Timo Kösters
a9ba067e77
fix: e2ee over federation
3 years ago
Timo Kösters
c17187777f
fix: never try federation with self
3 years ago
Timo Kösters
9d49d599f3
feat: space hierarchies
3 years ago
Timo Kösters
49a0f3a60d
fix: /context for element android. start and end must be set even with limit=0
3 years ago
Timo Kösters
c7e0ea525a
feat: WIP relationships and threads
3 years ago
Kévin Commaille
f53ecaa97d
Bump Ruma
3 years ago
Timo Kösters
63f787f635
Reduce logs from info to debug
3 years ago
Timo Kösters
27f29ba699
fix: SRV lookups should end with a period
3 years ago
Timo Kösters
cb0ce5b08f
Logs for server resolution
3 years ago
Timo Kösters
2316d89048
Even more logging
3 years ago
Timo Kösters
10fa686c77
feat: respect history visibility
3 years ago
Timo Kösters
2aa0a2474b
fix: ignore unparsable pdus in /send
3 years ago
Timo Kösters
7bdd9660aa
feat: ask for backfill
3 years ago
Timo Kösters
23b18d71ee
feat: handle backfill requests
...
Based on https://gitlab.com/famedly/conduit/-/merge_requests/421
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
Jonas Platte
d39ce1401d
WIP: Upgrade Ruma
3 years ago
Timo Kösters
b9fd6127e2
fix: rejoining restricted rooms over federation
3 years ago