Commit Graph

2315 Commits (all-the-lints)
 

Author SHA1 Message Date
Matthias Ahouansou 475a68cbb9
refactor: disable federation at the router level 3 months ago
Matthias Ahouansou 92817213d5 Add missing import 3 months ago
Matthias Ahouansou ab8592526f Replace panic!() with unreachable!() 3 months ago
Matthias Ahouansou 561a103140
chore(config): bump default room version to v10 3 months ago
Val Lorentz b5e21f761b Merge branch 'next' into 'room-v11'
# Conflicts:
#   src/service/rooms/timeline/mod.rs
#   src/utils/error.rs
3 months ago
Matthias Ahouansou 9e6ce8326f Remove TODO 3 months ago
Matthias Ahouansou e88d137bd7 Replace panic!() with unreachable!() 3 months ago
Charles Hall 7f63948db9 Merge branch 'version-extra' into 'next'
allow including extra info in `--version` output

See merge request famedly/conduit!601
3 months ago
Timo Kösters f16bff2466 Merge branch 'user_can_membership' into 'next'
refactor(state_accessor): add method to check if a user can invite another user

See merge request famedly/conduit!621
3 months ago
Timo Kösters e8796d6bf9 Merge branch 'admin-check-remote-users' into 'next'
fix: do not allow administration of remote users

Closes #377

See merge request famedly/conduit!614
3 months ago
Matthias Ahouansou fe78cc8262
refactor(state_accessor): add method to check if a user can invite another user 3 months ago
Timo Kösters 03f9c888f0 Merge branch 'remove-join_authorized_via_users_servers' into 'next'
fix(membership): remove join_authorized_via_users_server field on state update

See merge request famedly/conduit!619
3 months ago
Matthias Ahouansou 2c73c3adbb
fix(sync): send phoney leave event where room state is unknown on invite rejection 3 months ago
Matthias Ahouansou 9497713a79
fix(membership): check if server is in room to decide whether to do remote leaves 3 months ago
Matthias Ahouansou 110b7e10e6
fix: do not allow administration of remote users 3 months ago
Timo Kösters 6c3ce71304 Merge branch 'dont-expect-reqwest-http-request' into 'next'
fix: do not expect that all http requests are valid reqwest requests

Closes #396

See merge request famedly/conduit!611
3 months ago
Matthias Ahouansou fb4217486f
feat(membership): check if user already has the membership that is requested to be set 3 months ago
Charles Hall dc23206e27 Merge branch 'nix-0.28' into 'next'
chore: upgrade nix to 0.28

See merge request famedly/conduit!615
3 months ago
Matthias Ahouansou 0f6b771cdd
fix(membership): remove join_authorized_via_users_server field on state update 3 months ago
Timo Kösters 24e9c99d47 Merge branch 'no-auth-ignore-token' into 'next'
fix: ignore access tokens where they are not needed

See merge request famedly/conduit!617
3 months ago
Matthias Ahouansou 0d62c9de7c
fix: ignore access tokens where they are not needed 3 months ago
Timo Kösters 33fb32be9a Merge branch 'srv-matrix-fed-record' into 'next'
feat: use _matrix-fed._tcp SRV record, fallback to _matrix._tcp

See merge request famedly/conduit!616
3 months ago
Matthias Ahouansou e38af9b7fc
feat: use _matrix-fed._tcp SRV record, fallback to _matrix._tcp 3 months ago
Matthias Ahouansou 1c529529aa
chore: upgrade nix to 0.28
needed for musl targets on s390x
3 months ago
Timo Kösters cf1e7bc1ed Merge branch 'unregister-fail-id-not-found' into 'next'
fix: return error when trying to unregister unknown appservice id

See merge request famedly/conduit!610
3 months ago
Matthias Ahouansou 3ce3d13378
fix: do not expect that all http requests are valid reqwest requests 3 months ago
Matthias Ahouansou 11612e347d
fix: return error when trying to unregister unknown appservice id 3 months ago
Timo Kösters 7aa70e2030 Merge branch 'error-appservice-token-auth' into 'next'
fix: reject requests with authentication when not used

Closes #430

See merge request famedly/conduit!608
3 months ago
Timo Kösters 71546a9fb7 Merge branch 'registration_appservice_token_check' into 'next'
fix: reject /register requests when there is no token and the type is appservice

Closes #430

See merge request famedly/conduit!609
3 months ago
Matthias Ahouansou 5c634ceb6b
fix: reject requests with authentication when not used 3 months ago
Matthias Ahouansou 8d70f69e62
fix: reject /register requests when there is no token and the type is appservice 3 months ago
Timo Kösters 9176474513 Merge branch 'ruma-registration-type' into 'next'
fix: don't panic if registration url is empty

See merge request famedly/conduit!583
3 months ago
Matthias Ahouansou b20483aa13
refactor(appservices): avoid cloning frequently 3 months ago
Matthias Ahouansou 5c650bb67e
refactor: use BTreeMap for cached registration info 3 months ago
Timo Kösters b11855e7a1 Merge branch 'performance' into 'next'
improvement: do not save typing edus in db

See merge request famedly/conduit!597
3 months ago
Timo Kösters 1fb5bcf98f
improvement: registration token now only works when registration is enabled 3 months ago
lafleur 34e0e710cb
add registration_token in default cfg and README 3 months ago
Timo Kösters 0bb28f60cf
refactor: minor appservice code cleanup 3 months ago
Timo Kösters d2817679e5
refactor: remove previous typing implementation and add sync wakeup for new one 3 months ago
Timo Kösters 6bd7ff4917
improvement: do not save typing edus in db 3 months ago
Timo Kösters bdae9ceccf Merge branch 'rocksdb' into 'next'
improvement: use simpler rocksdb config

See merge request famedly/conduit!602
3 months ago
Charles Hall 3ffdaaddcd Merge branch 'docs' into 'next'
reduce scope of the documentation

See merge request famedly/conduit!607
3 months ago
Charles Hall 5a4ee9808a
make chapter name reflect file name
Personally I think this makes more sense anyway.
3 months ago
Charles Hall 3dd21456ef
reduce scope of nixos documentation
There are so many ways to do this we realistically shouldn't bother
describing any of them, especially because people should be learning all
the options and choosing the one that suits them best anyway.
3 months ago
Charles Hall f6bfba7014
normalize headers to "Conduit for X" 3 months ago
Charles Hall f56abba216
rename "simple" deployment to "generic"
The main thing this section is really useful for is explaining how to
configure various reverse proxies, which applies to basically anything.

Also, remove all the language about this being "recommended", because
nothing in this documentation is actually tested in CI.
3 months ago
Charles Hall 2022efd279
remove section about cross compilation
It is very stale. Please just use Nix. Trying to do it outside of Nix
will be an exercise in frustration, I guarantee it.
3 months ago
Charles Hall 0a790686c5
avoid duplicating links in documentation
Because one might forget to update them. I did, initially, which is why
I'm making this change.
3 months ago
Charles Hall 68a33862b3
add mdbook to the devshell 3 months ago
Timo Kösters 879a8b969d
improvement: use simpler rocksdb config 4 months ago