Commit Graph

2353 Commits (ffc57f89977a8e44becdecbfb39b3868feb6e433)
 

Author SHA1 Message Date
Matthias Ahouansou ffc57f8997 Merge branch 'nightly-rustfmt' into 'next'
ci: use nightly rustfmt

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

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

See merge request famedly/conduit!692
2 months ago
Matthias Ahouansou 16af8b58ae
ci: build for Debian aarch64 2 months ago
Timo Kösters 7a5b893013
Bump version 2 months 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)
2 months ago
Matthias Ahouansou 144d548ef7
fix: permission checks for aliases 2 months ago
Benjamin Lee 7b259272ce
fix: do not return redacted events from search 2 months ago
Matthias Ahouansou 48c1f3bdba
fix: userid checks for incoming EDUs 2 months ago
Timo Kösters dd19877528 Merge branch 'bump-ruma' into 'next'
chore: bump all dependencies

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

See merge request famedly/conduit!691
2 months ago
Matthias Ahouansou 39b4932725
docs: add security disclosure instructions 2 months 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
3 months ago
Matthias Ahouansou 1dbb3433e0
fix(media): use csp instead of modifying content-type 3 months 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
3 months ago
Matthias Ahouansou f25a0b49eb Merge branch 'recurse-relationships' into 'next'
feat: recurse relationships

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

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

See merge request famedly/conduit!685
3 months ago
Matthias Ahouansou 6c2eb4c786
feat(admin): remove alias command 3 months 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
3 months ago
Matthias Ahouansou 9374b74e77
refactor: let ruma-server-util handle X-Matrix parsing 3 months 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
3 months ago
Matthias Ahouansou 33c9da75ec Merge branch 'clarify-3pids-are-unsupported' into 'next'
fix: clarify that 3pids are currently unsupported

See merge request famedly/conduit!683
3 months ago
Matthias Ahouansou 59d7674b2a
fix: clarify that 3pids are currently unsupported 3 months ago
tony 6bcc2f80b8
add command to set the allow registration status
Co-Authored-By: Matthias Ahouansou <matthias@ahouansou.cz>
3 months ago
Matthias Ahouansou 817f382c5f Merge branch 'openid-api' into 'next'
feat: support OpenID endpoints

Closes #453

See merge request famedly/conduit!681
3 months ago
mikoto a888c7cb16
OpenID routes
Co-Authored-By: Matthias Ahouansou <matthias@ahouansou.cz>
3 months ago
Timo Kösters 47aadcea1d Merge branch 'membership-reason-fixes' into 'next'
fix(membership): always set reason & allow new events if reason changed

Closes #452

See merge request famedly/conduit!669
3 months ago
Matthias Ahouansou 9b8ec21e6e Merge branch 'admin-faq' into 'next'
docs(faq): add instructions on how to make a user admin

See merge request famedly/conduit!677
3 months ago
Matthias Ahouansou e51f60e437
docs(faq): add instructions on how to make a user admin 3 months ago
Matthias Ahouansou 11990e7524 Merge branch 'admin-hash-sign' into 'next'
feat(admin): add hash-and-sign-event command

See merge request famedly/conduit!670
3 months ago
Matthias Ahouansou 3ad7675bbf Merge branch 'format-toml' into 'next'
style: format all toml with taplo

See merge request famedly/conduit!673
3 months ago
Matthias Ahouansou e2d91e26d6
style: format all toml with taplo 3 months ago
Matthias Ahouansou 20d9f3fd5d Merge branch 'media' into 'next'
fix: make media response match spec

See merge request famedly/conduit!672
3 months ago
Timo Kösters 965b6df83d
fix: make media response match spec 3 months ago
Matthias Ahouansou 8876d54d78
feat(admin): add hash-and-sign-event command 4 months ago
Matthias Ahouansou d8badaf64b
fix(membership): always set reason & allow new events if reason changed 4 months ago
Matthias Ahouansou 08485ea5e4 Merge branch 'bump-rust-nix' into 'next'
chore: bump rust & nix

See merge request famedly/conduit!668
4 months ago
Matthias Ahouansou eec9b9ed87
chore: bump nix 4 months ago
Matthias Ahouansou 256dae983b
chore: bump rust
and fix new lints that come with it
4 months ago
Matthias Ahouansou 79c4bb17ca Merge branch 'build-and-cache-everything' into 'next'
Draft: build and cache all packages and CI dependencies

See merge request famedly/conduit!667
4 months ago
Matthias Ahouansou 57a24f234d
Revert "ci: temporarily disable CONDUIT_VERSION_EXTRA"
This reverts commit 2a2b9554c8.
4 months ago
Charles Hall a4c973e57e
build and cache all packages and CI dependencies
This fixes the problem where some artifacts were not being cached when
they should have been. The secret sauce is the  `nix-store` command.
4 months ago
Matthias Ahouansou f9953c31fc
Revert "ci: use sh instead of bash"
This reverts commit 70b07dfabf.
4 months ago