Commit Graph

2375 Commits (restricted-make-send-join)
 

Author SHA1 Message Date
strawberry 4a6805a517
fixup! feat(federation): support /make_join and /send_join for restricted rooms
check event is join membership

Co-Authored-By: Matthias Ahouansou <matthias@ahouansou.cz>
3 days ago
Matthias Ahouansou 3a8ed99246
fixup! feat(federation): support /make_join and /send_join for restricted rooms
move out checking restricted room rules into separate function
3 days ago
Matthias Ahouansou a6da294c55
refactor: remove unecessery async 3 days ago
Matthias Ahouansou 98c7b89fca
fixup! feat(federation): support /make_join and /send_join for restricted rooms
Only sign join event if restricted join if required
3 days ago
strawberry ddcfcb9302
fixup! feat(federation): support /make_join and /send_join for restricted rooms
check event is join membership, state_key user is the same as the sender, and state_key is from the origin

Co-Authored-By: Matthias Ahouansou <matthias@ahouansou.cz>
3 days ago
Matthias Ahouansou 7fa0025c43
fixup! feat(federation): support /make_join and /send_join for restricted rooms
collect iterator
3 days ago
Matthias Ahouansou 062f138cfe
fixup! perf(knock): add database cache
iterate over all users in migration
3 days ago
Matthias Ahouansou 960259720b
fixup! perf(knock): add database cache
rename duplicated invite to leave
3 days ago
Matthias Ahouansou 96f3b88132
fixup! feat(federation): support /make_join and /send_join for restricted rooms
remove unnecessery clone
3 days ago
Matthias Ahouansou 6565d3fa71
fixup! feat(federation): support /make_join and /send_join for restricted rooms
remove indents when getting authorized join user
3 days ago
Matthias Ahouansou ba4fa81620
feat(federation): support /make_join and /send_join for restricted rooms 3 days ago
Matthias Ahouansou ae0fa29b09
perf(knock): add database cache 3 days ago
Matthias Ahouansou 1f313c6807 Merge branch 'finite-servername-cache' into 'next'
fix: don't cache server name lookups indefinitely

See merge request famedly/conduit!702
3 days ago
Matthias Ahouansou e70d27af98 Merge branch 'timestamped-messaging' into 'next'
feat(appservice): support timestamped messaging

See merge request famedly/conduit!703
3 days ago
Matthias Ahouansou ba8429cafe
fix: don't cache server name lookups indefinitely 3 days ago
Matthias Ahouansou 7a4d0f6fe8 Merge branch 'acl-dont-have-empty-exception' into 'next'
fix: don't ignore ACLs when there is no content

See merge request famedly/conduit!705
1 week ago
Matthias Ahouansou 2f45a907f9
fix: don't ignore ACLs when there is no content
despite this being very bad behavior, it is required by the spec
1 week ago
Matthias Ahouansou de0deda179 Merge branch 'bump-ruma' into 'next'
chore: bump ruma

Closes #447

See merge request famedly/conduit!704
1 week ago
Matthias Ahouansou 62f1da053f
feat(appservice): support timestamped messaging 1 week ago
Matthias Ahouansou 602c56cae9
chore: bump ruma 1 week ago
Matthias Ahouansou 4b9520b5ad Merge branch 'bump-rust' into 'next'
chore: bump rust to 1.79.0 and apply new lints

See merge request famedly/conduit!700
2 weeks ago
Matthias Ahouansou 9014e43ce1
chore: bump rust to 1.79.0 and apply new lints 2 weeks ago
Matthias Ahouansou ffc57f8997 Merge branch 'nightly-rustfmt' into 'next'
ci: use nightly rustfmt

See merge request famedly/conduit!699
3 weeks ago
Matthias Ahouansou fd19dda5cb
ci: use nightly rustfmt
we were using this before, but it broke when refactoring the flake out into separate files
3 weeks ago
Matthias Ahouansou dc0fa09a57 Merge branch 'bump' into 'next'
chore: bump version to 0.9.0-alpha

See merge request famedly/conduit!698
3 weeks ago
Matthias Ahouansou ba1138aaa3
chore: bump version to 0.9.0-alpha 3 weeks ago
Matthias Ahouansou 6398136163 Merge branch 'debian-aarch64' into 'next'
ci: build for Debian aarch64

See merge request famedly/conduit!692
3 weeks ago
Matthias Ahouansou 16af8b58ae
ci: build for Debian aarch64 3 weeks ago
Timo Kösters 7a5b893013
Bump version 3 weeks ago
Matthias Ahouansou c453d45598
fix(keys): only use keys valid at the time of PDU or transaction, and actually refresh keys
Previously, we only fetched keys once, only requesting them again if we have any missing, allowing for ancient keys to be used to sign PDUs and transactions
Now we refresh keys that either have or are about to expire, preventing attacks that make use of leaked private keys of a homeserver
We also ensure that when validating PDUs or transactions, that they are valid at the origin_server_ts or time of us receiving the transaction respectfully
As to not break event authorization for old rooms, we need to keep old keys around
We move verify_keys which we no longer see in direct requests to the origin to old_verify_keys
We keep old_verify_keys indefinitely as mentioned above, as to not break event authorization (at least until a future MSC addresses this)
3 weeks ago
Matthias Ahouansou 144d548ef7
fix: permission checks for aliases 3 weeks ago
Benjamin Lee 7b259272ce
fix: do not return redacted events from search 3 weeks ago
Matthias Ahouansou 48c1f3bdba
fix: userid checks for incoming EDUs 3 weeks ago
Timo Kösters dd19877528 Merge branch 'bump-ruma' into 'next'
chore: bump all dependencies

See merge request famedly/conduit!627
3 weeks ago
Matthias Ahouansou ba2a5a6115
chore: bump all dependencies 3 weeks ago
Matthias Ahouansou a36ccff06a Merge branch 'security-readme' into 'next'
docs: add security disclosure instructions

See merge request famedly/conduit!691
4 weeks ago
Matthias Ahouansou 39b4932725
docs: add security disclosure instructions 4 weeks ago
Matthias Ahouansou c45e52f45a Merge branch 'media-csp' into 'next'
fix(media): use csp instead of modifying content-type

See merge request famedly/conduit!689
1 month ago
Matthias Ahouansou 1dbb3433e0
fix(media): use csp instead of modifying content-type 1 month ago
Matthias Ahouansou efecb78888 Merge branch 'local-event-non-restricted-room-vers' into 'next'
fix(membership): fallback to locally signed event if the join wasn't a restricted one on send_join response

See merge request famedly/conduit!680
1 month ago
Matthias Ahouansou f25a0b49eb Merge branch 'recurse-relationships' into 'next'
feat: recurse relationships

See merge request famedly/conduit!613
1 month ago
Matthias Ahouansou b46000fadc
feat: recurse relationships 1 month ago
Matthias Ahouansou 7b19618136 Merge branch 'server-user-globals' into 'next'
refactor: add server_user to globals

See merge request famedly/conduit!686
1 month ago
Matthias Ahouansou 19154a9f70
refactor: add server_user to globals 1 month ago
Matthias Ahouansou ec8dfc283c
fix(membership): fallback to locally signed event if the join wasn't a restricted one on send_join response 1 month ago
Matthias Ahouansou be1b8b68a7 Merge branch 'remove-alias-command' into 'next'
feat(admin): remove alias command

See merge request famedly/conduit!685
1 month ago
Matthias Ahouansou 6c2eb4c786
feat(admin): remove alias command 1 month ago
Matthias Ahouansou 3df791e030 Merge branch 'ruma-server-util' into 'next'
refactor: let ruma-server-util handle X-Matrix parsing

See merge request famedly/conduit!684
1 month ago
Matthias Ahouansou 9374b74e77
refactor: let ruma-server-util handle X-Matrix parsing 1 month ago
Matthias Ahouansou c732c7c97f Merge branch 'toggle_allow_register' into 'next'
add command to set the allow registration status

See merge request famedly/conduit!477
1 month ago