Matthias Ahouansou
47745daa64
feat: updated MSC4311 support
...
(cherry picked from commit 1c6b2e0016 )
6 months ago
Matthias Ahouansou
7a45c25d7a
fix: don't lookup create event when converting stripped state
...
by making the caller pass the room version rules, fixing stripped state conversion for invites over federation
(cherry picked from commit 03dfa72b8f )
6 months ago
Matthias Ahouansou
7f06765417
feat: MSC4311, Ensuring the create event is available on invites and knocks
...
(cherry picked from commit 532b17ade8 )
7 months ago
Matthias Ahouansou
c3e2297f08
feat: MSC4291, Room IDs as hashes of the create event (2/2)
...
(cherry picked from commit bd8686ec20 )
7 months ago
Matthias Ahouansou
db60f7e7b8
chore: bump ruma
...
(cherry picked from commit 8170b4ff14 )
7 months ago
Matthias Ahouansou
b8cb2bc824
refactor: use RoomVersionRules instead of matching against RoomVersionId
...
(cherry picked from commit a8fa237fad )
7 months ago
Matthias Ahouansou
75e0b55b16
chore: bump ruma and axum
...
(cherry picked from commit 5b68ce890d )
9 months ago
Matthias Ahouansou
88c95d36a8
chore(crates): bump
10 months ago
Matthias Ahouansou
594fe5f98f
feat(media): blocking
10 months ago
Matthias Ahouansou
66a14ac802
feat: freeze unauthenticated media
10 months ago
Matthias Ahouansou
70d7f77363
feat(media): use file's sha256 for on-disk name & make directory configurable
...
In addition, metadata about the file, such as creation time, last access, and
file size, are stored in the database
10 months ago
Matthias Ahouansou
7b9ba62b67
correct path on federated media endpoint doc comment
12 months ago
Matthias Ahouansou
2dce87546a
ci: check for typos
12 months ago
Matthias Ahouansou
4dc15a4605
refactor: set send_request matrix versions in a single constant
1 year ago
Matthias Ahouansou
21af83ea72
feat: knocking
...
You may notice that we do no database migration for populating the state cache for knocking.
This is because that in all the places where we use the state cache, it doesn't make a difference:
- For local users, the clients wouldn't have been able to knock on rooms, as the `/knock`
endpoint wasn't implemented yet, and I am not aware of any client which tries to knock over
`/state`, as it would fail if the server is not currently in the room
- It is not used for remote users
1 year ago
Matthias Ahouansou
8acacdebc8
chore: bump ruma & rust
1 year ago
Matthias Ahouansou
d0c1b920ae
feat(federation): implement /make_leave and /send_leave
1 year ago
Matthias Ahouansou
ca76e92abd
refactor federation membership handshake endpoints, reducing duplication
1 year ago
Matthias Ahouansou
55ec39c47e
feat(federation): support /make_join and /send_join for restricted rooms
1 year ago
Matthias Ahouansou
2a7aa6242f
chore: upgrade ruma
1 year ago
Matthias Ahouansou
406367b4f2
chore: upgrade rust
...
this is needed for recent versions of ruma
1 year ago
Matthias Ahouansou
56a51360e0
feat(spaces): hierarchy over federation
...
fix(spaces): deal with hierarchy recursion
fix(spaces): properly handle max_depth
refactor(spaces): token scheme to prevent clients from modifying max_depth and suggested_only
perf(spaces): use tokens to skip to room to start populating results at
feat(spaces): request hierarchy from servers in via field of child event
1 year ago
Timo Kösters
a7405cddc0
fix: Matrix media repo
1 year ago
Matthias Ahouansou
27d6d94355
feat: add support for authenticated media requests
2 years ago
Matthias Ahouansou
a3716a7d5a
chore: upgrade request client matrix version
...
this is needed so that new endpoints use stable paths
2 years ago
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