1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2025-09-05 18:41:00 +00:00
Commit graph

2508 commits

Author SHA1 Message Date
Samuel Meenzen
4fe568ea61 Merge branch 'feat/oci-image-timestamp' into 'next'
feat: add commit timestamp to oci-image

Closes #520

See merge request famedly/conduit!769
2025-08-28 14:34:58 +02:00
AndSDev
6d227019ec
feat(service/media): add S3 support 2025-08-28 10:01:27 +02:00
AndSDev
470e4770cc
refactor(service/admin): improve readability for command processing 2025-08-28 09:16:36 +02:00
AndSDev
5f3bda81f9
refactor(service/media): make all fs operations async 2025-08-28 09:16:36 +02:00
AndSDev
1f7f74af65
fix(service/media): create directory for media file only on new file creation
Any access to a media file created a directory for it, which led to unnecessary operations. Especially if this media file had already been deleted (as well as its directory).
2025-08-28 09:16:36 +02:00
Matthias Ahouansou
03dfa72b8f 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
2025-08-16 19:51:32 +00:00
Matthias Ahouansou
54916a25bf tests: make complement work & switch to Caddyfile 2025-08-15 15:00:00 +00:00
Matthias Ahouansou
92ce47aa71
docs: update Conduit matrix room alias 2025-08-15 12:10:23 +02:00
Matthias Ahouansou
660dd9c227
feat: room version 12
and set it as the default version
2025-08-11 00:18:28 +02:00
Matthias Ahouansou
532b17ade8
feat: MSC4311, Ensuring the create event is available on invites and knocks 2025-08-11 00:18:28 +02:00
Matthias Ahouansou
d71d94a0c8
feat: MSC4297, State Resolution v2.1 2025-08-11 00:18:28 +02:00
Matthias Ahouansou
bd8686ec20
feat: MSC4291, Room IDs as hashes of the create event (2/2) 2025-08-11 00:18:28 +02:00
Matthias Ahouansou
4b833037ea
feat: MSC4289, Explicitly privilege room creators (2/2) 2025-08-11 00:18:28 +02:00
Matthias Ahouansou
bc5145f092
feat(client-api): support format query parameter for GET /state/ 2025-08-11 00:18:28 +02:00
Matthias Ahouansou
8170b4ff14
chore: bump ruma 2025-08-10 21:16:31 +02:00
Matthias Ahouansou
f6d14fdabd
feat: MSC4291, Room IDs as hashes of the create event (1/2) 2025-08-10 20:03:38 +02:00
Matthias Ahouansou
b5e318561c
feat: MSC4289, Explicitly privilege room creators (1/2) 2025-08-10 20:03:28 +02:00
Matthias Ahouansou
be867db3d9
chore: bump ruma 2025-08-10 20:03:07 +02:00
Matthias Ahouansou
a7513cef7f
fix: some edge-cases causing panics
- if servers don't send signatures, it could cause a panic
- clients sending invalid or non-canonical json could cause a panic
2025-07-25 19:11:23 +01:00
Samuel Meenzen
ed5b0514f5
chore: remove old ci files 2025-07-16 19:02:46 +01:00
Samuel Meenzen
874821ea9d
chore: remove unused reference to inputs 2025-07-16 18:11:11 +02:00
Samuel Meenzen
97e36dc237
fix: make cross build work 2025-07-16 18:09:45 +02:00
Samuel Meenzen
6682530ea5
feat: add commit timestamp to oci-image 2025-07-16 17:16:52 +02:00
Gwen Lg
c54cbc214e chore(docker): Bump base image to alpine 3.22.1
alpine 3.16.0 is no longer maintained (and have known vulnerabilities)
2025-07-16 12:06:25 +02:00
Matthias Ahouansou
4bd17b2d34
fix: various issues around key fetching (especially on send_join)
- Fetch keys if cached ones aren't valid to verify current PDU

- Fetch keys from sever when we don't have any keys cached

- Don't reduce validity of current keys if we recieve stale ones
2025-07-13 20:43:04 +01:00
Jakub Pieńkowski
3c13d6e17b fix: Include m.room.member in invite_room_state 2025-07-10 12:22:00 +00:00
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
2025-07-07 11:56:14 +01:00
Emanuele Rocca
03e7b1ad79 docs/configuration.md: allow_federation defaults to false
It seems that allow_federation does not default to true. Starting conduit
without the option I get the following error:

ERROR conduit::utils::error: BadConfig: Federation is disabled.
2025-07-04 19:59:38 +02:00
Jakub Pieńkowski
a87f4b6171 fix: Respond with HTTP code 413, when request size is too big 2025-07-04 16:16:44 +00:00
Matthias Ahouansou
a8fa237fad
refactor: use RoomVersionRules instead of matching against RoomVersionId 2025-07-03 18:53:08 +01:00
Matthias Ahouansou
b631621f8c
feat(spaces): sort space room children & simplify 2025-07-03 18:49:31 +01:00
Matthias Ahouansou
1a4a348ccf
chore: bump ruma 2025-07-03 13:08:47 +01:00
Matthias Ahouansou
5c8b030c1e
Revert "feat: add new attic cache"
This reverts commit a54291ac7e.
2025-06-23 15:23:43 +01:00
Samuel Meenzen
a54291ac7e feat: add new attic cache 2025-06-22 21:23:57 +00:00
Matthias Ahouansou
5b68ce890d
chore: bump ruma and axum 2025-06-22 18:27:11 +01:00
Matthias Ahouansou
b44b5641f0
chore(rust): upgrade to 1.85.0
required for axum 0.8.x
2025-06-22 14:19:30 +01:00
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
2025-06-22 01:17:17 +01:00
Matthias Ahouansou
1ea5f412b6
fix: don't perform UIA when uploading cross-signing keys for the first time
as per MSC3967
2025-06-16 17:49:30 +01:00
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
2025-06-07 13:36:54 +01:00
Matthias Ahouansou
09e1713c30
feat(devices): update the device last seen timestamp on usage 2025-06-06 13:49:07 +01:00
Curious
a1886a1396 Enhance admin commands parsing 2025-05-31 14:33:53 +00:00
Matthias Ahouansou
04fb4f62b8
chore: bump version to 0.11.0-alpha 2025-05-31 15:13:58 +01:00
Matthias Ahouansou
18a83ea292
chore(release): 0.10.4 2025-05-30 15:44:51 +01:00
Matthias Ahouansou
7afc8ff546
chore(ruma): bump
Closes https://gitlab.com/famedly/conduit/-/issues/504 with https://github.com/ruma/ruma/pull/2084
2025-05-30 15:44:29 +01: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