2465 Commits

Author SHA1 Message Date
Ralf Zerres
4710a974c4 feat (msc3266): Room Summary API 2025-05-20 19:51:09 +00:00
Matthias Ahouansou
ff7b2af80d chore(release): 0.10.3 2025-05-12 19:19:09 +01:00
Matthias Ahouansou
1fc82477c5 chore(/versions): declare support for matrix <= v1.12
this is required for Element-* to actually use the authenticated media endpoints
2025-05-12 19:18:42 +01:00
Matthias Ahouansou
a5a8f6c3c1 chore(release): 0.10.2 2025-05-11 12:39:25 +01:00
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
2025-05-11 12:38:14 +01:00
Matthias Ahouansou
17f56081ce chore(release): 0.10.1 2025-05-09 18:24:10 +01:00
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.
2025-05-09 18:23:16 +01:00
Matthias Ahouansou
c5901b90ee chore: bump version to 0.11.0-alpha 2025-05-09 16:23:18 +01:00
Matthias Ahouansou
160ab757a8 chore(release): 0.10.0 2025-05-09 12:37:57 +01:00
Matthias Ahouansou
52c64cb62d docs: update info on simplified sliding sync 2025-05-09 12:34:40 +01:00
Matthias Ahouansou
88c95d36a8 chore(crates): bump 2025-05-09 12:34:03 +01:00
Matthias Ahouansou
bdc6dabe3a Merge branch 'simplified-sliding-sync' into 'next'
feat: Simplfied Sliding Sync

See merge request famedly/conduit!744
2025-05-08 22:27:18 +00:00
Matthias Ahouansou
ec2c61e277 feat(sync): v4 -> v5 2025-05-08 23:02:25 +01:00
Matthias Ahouansou
215198d1c0 Merge branch 'media-refactor' into 'next'
Media refactor

Closes #436, #146, #312, #168, #421, and #496

See merge request famedly/conduit!740
2025-05-08 22:02:10 +00:00
Matthias Ahouansou
a552a47339 ci(nix): update attic public key 2025-05-08 21:30:27 +01:00
Matthias Ahouansou
0528eb5928 docs: guide to moderating media 2025-05-07 14:14:05 +01:00
Matthias Ahouansou
a189b66ca6 feat(admin): show media command 2025-05-07 14:14:05 +01:00
Matthias Ahouansou
fd16e9c509 feat(admin): list & query information about media 2025-05-07 14:14:05 +01:00
Matthias Ahouansou
c3fb1b0456 feat(media): retention policies 2025-05-07 14:14:05 +01:00
Matthias Ahouansou
594fe5f98f feat(media): blocking 2025-05-07 14:14:05 +01:00
Matthias Ahouansou
d76637048a feat(admin): commands for purging media 2025-05-07 14:14:05 +01:00
Matthias Ahouansou
33b02c868d chore(rust): upgrade to 1.83.0
This is needed for std::io::ErrorKind::DirectoryNotEmpty
2025-05-06 20:44:03 +01:00
Matthias Ahouansou
bdf2014cf4 chore: bump nix flake 2025-05-06 20:44:03 +01:00
Matthias Ahouansou
3171b779c6 feat(media): save user id of uploader 2025-05-06 20:44:03 +01:00
Matthias Ahouansou
19d0ea408c feat(media): deep hashed directory structure 2025-05-06 20:44:02 +01:00
Matthias Ahouansou
66a14ac802 feat: freeze unauthenticated media 2025-05-06 20:44:02 +01:00
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
2025-05-06 20:44:02 +01:00
Matthias Ahouansou
937521fcf1 refactor: allow for post-processing on the config 2025-03-24 12:29:05 +00:00
Matthias Ahouansou
7b9ba62b67 correct path on federated media endpoint doc comment 2025-03-24 12:29:05 +00:00
Matthias Ahouansou
a7e6f60b41 Merge branch 'typos' into 'next'
ci: check for typos

See merge request famedly/conduit!741
2025-03-24 04:10:01 +00:00
Matthias Ahouansou
2dce87546a ci: check for typos 2025-03-24 03:01:57 +00:00
Matthias Ahouansou
063d13a0e1 Merge branch 'ruma-exhaustive-env-var' into 'next'
switch to env var for enabling ruma exhaustive types

See merge request famedly/conduit!739
2025-03-15 02:23:40 +00:00
Matthias Ahouansou
0d8a4f4d10 switch to env var for enabling ruma exhaustive types
this is more reliable than rustflags, since if RUST_FLAGS is set, then this setting would be ignored
2025-03-15 00:31:47 +00:00
Matthias Ahouansou
d0607b6459 chore(ruma): bump 2025-03-15 00:30:12 +00:00
Matthias Ahouansou
244dbbe6dd Merge branch 'appservice-ping' into 'next'
feat(appservice): pinging

See merge request famedly/conduit!738
2025-03-08 14:39:52 +00:00
Matthias Ahouansou
dc5abd6f3b feat(appservice): pinging 2025-03-08 13:29:18 +00:00
Matthias Ahouansou
b726ccaab8 chore(ruma): upgrade 2025-03-08 13:29:18 +00:00
Matthias Ahouansou
4dc15a4605 refactor: set send_request matrix versions in a single constant 2025-03-08 13:29:12 +00:00
Matthias Ahouansou
42d8e88c74 Merge branch 'membership-refactor' into 'next'
feat: leaving over federation & knocking

Closes #54, #56, and #431

See merge request famedly/conduit!728
2025-03-03 19:16:05 +00:00
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
2025-03-03 18:07:21 +00:00
Matthias Ahouansou
f4d90e9989 refactor: move duplicate code and some other small optimizations 2025-03-03 16:25:43 +00:00
Matthias Ahouansou
8acacdebc8 chore: bump ruma & rust 2025-03-03 16:25:43 +00:00
Matthias Ahouansou
d0c1b920ae feat(federation): implement /make_leave and /send_leave 2025-03-03 16:25:43 +00:00
Matthias Ahouansou
ca76e92abd refactor federation membership handshake endpoints, reducing duplication 2025-03-03 16:25:43 +00:00
Matthias Ahouansou
3bbf2cda3e Merge branch 'enforce-valid-keys-uploaded' into 'next'
fix: check that keys uploaded by clients are valid

See merge request famedly/conduit!737
2025-02-27 22:08:48 +00:00
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
2025-02-27 00:38:21 +00:00
Matthias Ahouansou
a3386f405e Merge branch 'restricted-make-send-join' into 'next'
feat: support /make_join and /send_join for restricted rooms

Closes #393 and #380

See merge request famedly/conduit!618
2025-02-26 20:47:23 +00:00
Matthias Ahouansou
5b47e0f3d4 Merge branch 'clearer-error-content-disposition-migration' into 'next'
make error if content disposition migration fails clearer, as well as logging the name of the responsible file

See merge request famedly/conduit!736
2025-02-26 18:01:44 +00:00
Matthias Ahouansou
86b6551dee make error if content disposition migration fails clearer, as well as logging the name of the responsible file 2025-02-26 16:42:02 +00:00
Matthias Ahouansou
55ec39c47e feat(federation): support /make_join and /send_join for restricted rooms 2025-02-26 16:04:07 +00:00