Matthias Ahouansou
7ddd32aeff
fix(media): only fetch remote media when requested by authenticated endpoints
...
this was already done for thumbnails, but I forgot to do so for full-sized media
8 months ago
Jakub Pieńkowski
a87f4b6171
fix: Respond with HTTP code 413, when request size is too big
9 months ago
Matthias Ahouansou
a8fa237fad
refactor: use RoomVersionRules instead of matching against RoomVersionId
9 months ago
Matthias Ahouansou
b631621f8c
feat(spaces): sort space room children & simplify
9 months ago
Matthias Ahouansou
1a4a348ccf
chore: bump ruma
9 months ago
Matthias Ahouansou
5b68ce890d
chore: bump ruma and axum
9 months ago
Matthias Ahouansou
b44b5641f0
chore(rust): upgrade to 1.85.0
...
required for axum 0.8.x
9 months ago
Matthias Ahouansou
3248efbe4b
fix(registration): enforce the strict user ID grammar
...
previously, !is_historical was used, but this caused user IDs that are no longer allowed under the current spec version's historial grammer to be allowed in registration
9 months ago
Matthias Ahouansou
1ea5f412b6
fix: don't perform UIA when uploading cross-signing keys for the first time
...
as per MSC3967
9 months ago
Matthias Ahouansou
263bc61ec8
fix(sync v5): fix underflow when clamping room list indexes & allow empty range
...
both these issues could both previously cause panics when the user is not in many rooms
9 months ago
Matthias Ahouansou
09e1713c30
feat(devices): update the device last seen timestamp on usage
9 months ago
Curious
a1886a1396
Enhance admin commands parsing
10 months ago
Matthias Ahouansou
1fc82477c5
chore(/versions): declare support for matrix <= v1.12
...
this is required for Element-* to actually use the authenticated media endpoints
10 months ago
Matthias Ahouansou
45861f8e4a
fix(key_value): return a map of algorithms instead of key ids for count_one_time_keys
...
this regession was introduced in 2a7aa6242f
10 months ago
Matthias Ahouansou
a566a5687b
fix(config): attempt to deserialize deep directory structure before flat
...
This meant that if you had set the directory structure, than it would
always deserialize as "Flat".
We also migrate the newly migrated media to the deep directory structure,
if configured.
10 months ago
Matthias Ahouansou
88c95d36a8
chore(crates): bump
10 months ago
Matthias Ahouansou
ec2c61e277
feat(sync): v4 -> v5
10 months ago
Matthias Ahouansou
a189b66ca6
feat(admin): show media command
10 months ago
Matthias Ahouansou
fd16e9c509
feat(admin): list & query information about media
10 months ago
Matthias Ahouansou
c3fb1b0456
feat(media): retention policies
10 months ago
Matthias Ahouansou
594fe5f98f
feat(media): blocking
10 months ago
Matthias Ahouansou
d76637048a
feat(admin): commands for purging media
10 months ago
Matthias Ahouansou
33b02c868d
chore(rust): upgrade to 1.83.0
...
This is needed for std::io::ErrorKind::DirectoryNotEmpty
10 months ago
Matthias Ahouansou
3171b779c6
feat(media): save user id of uploader
10 months ago
Matthias Ahouansou
19d0ea408c
feat(media): deep hashed directory structure
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
937521fcf1
refactor: allow for post-processing on the config
12 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
d0607b6459
chore(ruma): bump
1 year ago
Matthias Ahouansou
dc5abd6f3b
feat(appservice): pinging
1 year ago
Matthias Ahouansou
b726ccaab8
chore(ruma): upgrade
1 year 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
f4d90e9989
refactor: move duplicate code and some other small optimizations
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
be3187fda7
fix: check that keys uploaded by clients are valid
...
clients uploading invalid keys can cause errors later when trying to add signatures
1 year ago
Matthias Ahouansou
86b6551dee
make error if content disposition migration fails clearer, as well as logging the name of the responsible file
1 year ago
Matthias Ahouansou
55ec39c47e
feat(federation): support /make_join and /send_join for restricted rooms
1 year ago
Matthias Ahouansou
4942cc8e55
refactor: remove unecessery async
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
3686f6d260
remove unused backends
...
they have been disabled for a long time, and are unlikely to ever make a comeback
1 year ago
Matthias Ahouansou
30855cef81
fix(media): return an error when content is failed to be parsed as an image
1 year ago
Matthias Ahouansou
dbc1daaefb
feat(turn): move config to table & error when no config is set
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
Matthias Ahouansou
de323cbecb
re-add well-known table, while still allowing individual values to be set with env vars without double underscores
1 year ago