Charles Hall
|
71c48f66c4
|
enable as_conversions lint
There were some very, uh, creative (and inconsistent) ways to convert
between numeric types in here...
|
2024-05-12 18:51:26 -07:00 |
|
Charles Hall
|
a78bf8f50b
|
enable unused_lifetimes lint
|
2024-05-12 18:51:26 -07:00 |
|
Charles Hall
|
5d5e28770b
|
enable single_use_lifetimes lint
|
2024-05-12 18:51:26 -07:00 |
|
Charles Hall
|
bc2f7c6826
|
enable enum_variant_names lint
|
2024-05-12 18:51:26 -07:00 |
|
Charles Hall
|
2ff08c9fc4
|
enable dead_code lint
And delete all the dead code. And add some cfgs for feature-specific
items.
|
2024-05-12 18:51:26 -07:00 |
|
Charles Hall
|
d748544f0e
|
enable unreachable_pub lint
This causes some other lints to start firing too (which is good), but
I'm going to fix them in follow-up commits to keep things organized.
|
2024-05-12 18:51:26 -07:00 |
|
Charles Hall
|
a626e7b0f0
|
enable mod_module_files lint
|
2024-05-12 18:51:26 -07:00 |
|
Charles Hall
|
360e020b64
|
rename conduit to grapevine
|
2024-04-30 21:54:56 -07:00 |
|
Charles Hall
|
5619d7e318
|
remove program name from config option
This is technically a breaking change but this is really silly, I can't
not get rid of this.
|
2024-04-30 21:54:56 -07:00 |
|
Charles Hall
|
f27941d510
|
remove half-baked presence implementation
But I'm leaving behind the database state for now in case we want it
back later, so we won't need to do a migration or whatever.
|
2024-04-30 21:54:55 -07:00 |
|
Charles Hall
|
c9945f6bba
|
remove welcome message
|
2024-04-30 00:08:26 -07:00 |
|
Charles Hall
|
cddf6991f2
|
remove optional automatic display name emoji
|
2024-04-30 00:08:07 -07:00 |
|
Charles Hall
|
17a0b34309
|
remove version checker
This reverts commit b8c164dc60.
|
2024-04-29 22:18:28 -07:00 |
|
Timo Kösters
|
7c83372336
|
Merge branch 'exclusive-namespace-error' into 'next'
feat(appservice): ensure users/aliases outside of namespaces are not accessed
See merge request famedly/conduit!634
|
2024-04-24 21:39:20 +00:00 |
|
Matthias Ahouansou
|
3086271139
|
feat(appservice): ensure users/aliases outside of namespaces are not accessed
|
2024-04-24 19:51:28 +01:00 |
|
Matthias Ahouansou
|
e40aed3a7d
|
fix(state-accessor): hold the state_lock when checking if a user can invite
|
2024-04-24 19:17:00 +01:00 |
|
Matthias Ahouansou
|
1c4ae8d268
|
fix(redaction): use content.redacts when checking v11 events
|
2024-04-24 10:52:33 +01:00 |
|
Valentin Lorentz
|
89c1c2109c
|
Link to the specification from user_can_redact's documentation
|
2024-04-24 08:29:47 +02:00 |
|
Matthias Ahouansou
|
00d6aeddb6
|
refactor(redactions): move checks inside conduit
ruma was already accidentally performing these checks for us, but this shouldn't be the case
|
2024-04-23 23:05:27 +01:00 |
|
Valentin Lorentz
|
2d8c551cd5
|
Fix doc
|
2024-04-17 19:41:38 +02:00 |
|
Valentin Lorentz
|
eb6801290b
|
Document copy_redacts
|
2024-04-17 19:37:32 +02:00 |
|
Matthias Ahouansou
|
7a7c09785e
|
feat(pdu): copy top level redact to content and vice versa
|
2024-04-17 19:34:36 +02:00 |
|
Matthias Ahouansou
|
92817213d5
|
Add missing import
|
2024-04-12 05:15:37 +00:00 |
|
Matthias Ahouansou
|
ab8592526f
|
Replace panic!() with unreachable!()
|
2024-04-12 05:14:39 +00:00 |
|
Val Lorentz
|
b5e21f761b
|
Merge branch 'next' into 'room-v11'
# Conflicts:
# src/service/rooms/timeline/mod.rs
# src/utils/error.rs
|
2024-04-11 17:34:42 +00:00 |
|
Matthias Ahouansou
|
e88d137bd7
|
Replace panic!() with unreachable!()
|
2024-04-11 17:19:42 +00:00 |
|
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
|
2024-04-06 14:27:20 +00:00 |
|
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
|
2024-04-06 13:21:29 +00:00 |
|
Matthias Ahouansou
|
fe78cc8262
|
refactor(state_accessor): add method to check if a user can invite another user
|
2024-04-06 14:20:18 +01:00 |
|
Matthias Ahouansou
|
110b7e10e6
|
fix: do not allow administration of remote users
|
2024-04-05 10:56:28 +01:00 |
|
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
|
2024-04-05 09:53:14 +00:00 |
|
Matthias Ahouansou
|
3ce3d13378
|
fix: do not expect that all http requests are valid reqwest requests
|
2024-03-31 22:20:36 +01:00 |
|
Matthias Ahouansou
|
11612e347d
|
fix: return error when trying to unregister unknown appservice id
|
2024-03-31 21:24:15 +01:00 |
|
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
|
2024-03-23 15:33:01 +00:00 |
|
Matthias Ahouansou
|
b20483aa13
|
refactor(appservices): avoid cloning frequently
|
2024-03-22 20:53:27 +00:00 |
|
Matthias Ahouansou
|
5c650bb67e
|
refactor: use BTreeMap for cached registration info
|
2024-03-22 17:52:47 +00:00 |
|
Timo Kösters
|
0bb28f60cf
|
refactor: minor appservice code cleanup
|
2024-03-22 08:59:36 +01:00 |
|
Timo Kösters
|
d2817679e5
|
refactor: remove previous typing implementation and add sync wakeup for new one
|
2024-03-22 08:24:17 +01:00 |
|
Timo Kösters
|
6bd7ff4917
|
improvement: do not save typing edus in db
|
2024-03-22 07:48:44 +01:00 |
|
Matthias Ahouansou
|
fa930182ae
|
fix(appservices): don't panic on empty registration url
perf(appservices): cache regex for namespaces
|
2024-03-10 13:27:48 +00:00 |
|
Matthias Ahouansou
|
07bb369c5c
|
perf: remove unnecessary async
|
2024-03-05 20:20:19 +00:00 |
|
Matthias Ahouansou
|
17dd8cb918
|
style: rename Sync(Mutex|RwLock) to Std(Mutex|RwLock)
|
2024-03-05 20:16:28 +00:00 |
|
Matthias Ahouansou
|
c58af8485d
|
revert: remove dependency on async_recursion
|
2024-03-05 19:59:24 +00:00 |
|
Matthias Ahouansou
|
becaad677f
|
refactor: use async-aware RwLocks and Mutexes where possible
|
2024-03-05 14:23:59 +00:00 |
|
Matthias Ahouansou
|
4934020ee7
|
style: remove unnecessary else block
|
2024-03-04 09:33:03 +00:00 |
|
Matthias Ahouansou
|
da5975d727
|
fix: avoid panics when admin room is not available
|
2024-03-03 22:42:24 +00:00 |
|
Matthias Ahouansou
|
e06e15d4ec
|
fix(accounts): don't give guests admin
|
2024-03-03 11:26:58 +00:00 |
|
Timo Kösters
|
a159fff08a
|
improvement: deactivate old presence code because it slows down sync
The problem is that for each sync, it creates a new rocksdb iterator for each room, and creating iterators is somewhat expensive
|
2024-02-29 10:31:25 +01:00 |
|
Timo Kösters
|
99ab234f40
|
Merge branch 'fixes' into 'next'
Avoid panic when client is confused about rooms
See merge request famedly/conduit!588
|
2024-02-28 16:19:48 +00:00 |
|
Timo Kösters
|
d7fd89df49
|
fix: avoid panic when client is confused about rooms
|
2024-02-28 16:31:41 +01:00 |
|