Charles Hall
f8420883a1
expand abbreviation for clarity
...
This looked like a typo before.
2024-05-16 15:20:26 -07:00
Charles Hall
de662a88f5
clarify the meaning of this comment
2024-05-16 01:08:48 -07:00
Charles Hall
3efe3fb337
remove comments about filtering buggy items
2024-05-16 01:08:48 -07:00
Charles Hall
034169bb8a
remove obvious comments
2024-05-15 16:43:52 -07:00
Charles Hall
f9f066417b
remove pointless else branch
2024-05-15 16:43:52 -07:00
Lambda
4aab4c9b2e
service/appservice: fix weird indirection through global services
2024-05-14 20:21:51 -07:00
Lambda
ad7a5ea777
Remove useless wrapper Services
2024-05-14 20:21:51 -07:00
Charles Hall
a25f2ec950
add conduit compat mode
...
This makes it possible to deploy Grapevine while using a database
originally created by Conduit, including leaving the admin bot user's
localpart the same as before.
2024-05-14 20:21:51 -07:00
Charles Hall
44b15dcb08
enable wildcard_imports lint
2024-05-14 20:01:25 -07:00
Charles Hall
e3672eb4e0
enable unused_self lint
...
Functions using `services()` are allowed to pointlessly take `self`
because the existence of `services()` is a crime and the solution is
making the types store references to their dependencies and then going
through `self`, so just allowing the lint saves us from modifying some
code only to switch it back later. Much later. Getting rid of
`services()` will probably be an ordeal.
2024-05-14 20:01:25 -07:00
Charles Hall
f855bd09d1
enable unused_async lint
...
This also caused a "new" `unnecessary_wraps` lint to fire too, so that
got fixed too.
2024-05-14 20:01:25 -07:00
Charles Hall
86218f4771
enable uninlined_format_args lint
2024-05-14 20:01:24 -07:00
Charles Hall
baab928281
enable too_many_lines lint
...
And just disable it everywhere it fires, I know.
2024-05-14 20:01:24 -07:00
Charles Hall
75358340bb
enable single_match_else lint
...
Also collapses some if statements in the federation name resolution code
2024-05-14 20:01:24 -07:00
Charles Hall
db4951c5fd
enable semicolon_if_nothing_returned lint
2024-05-14 20:01:24 -07:00
Charles Hall
96e1877639
enable redundant_closure_for_method_calls lint
2024-05-14 20:01:24 -07:00
Charles Hall
a636405bed
enable needless_pass_by_value lint
2024-05-14 20:01:24 -07:00
Charles Hall
2b8b5ccb1a
enable match_same_arms lint
2024-05-14 20:01:24 -07:00
Charles Hall
4e6c8451ca
enable match_bool lint
2024-05-14 20:01:24 -07:00
Charles Hall
224ba65d06
enable map_unwrap_or lint
2024-05-14 20:01:24 -07:00
Charles Hall
645d88177a
enable manual_string_new lint
2024-05-14 20:01:24 -07:00
Charles Hall
9606f59141
enable manual_let_else lint
2024-05-14 20:01:23 -07:00
Charles Hall
c51e87ec9a
enable items_after_statements lint
2024-05-14 19:59:43 -07:00
Charles Hall
ebae8ceeb0
enable implicit_clone lint
2024-05-14 19:59:43 -07:00
Charles Hall
b0f65913f3
enable ignored_unit_patterns lint
2024-05-14 19:59:43 -07:00
Charles Hall
623824dc0c
enable if_not_else lint
2024-05-14 19:59:40 -07:00
Charles Hall
da440934bd
enable doc_markdown lint
2024-05-14 16:34:10 -07:00
Charles Hall
0f2cf26a36
enable default_trait_access lint
2024-05-14 16:08:26 -07:00
Charles Hall
844b32f097
enable string_slice lint
...
Also swaps out vendored HTML-escaping code for a dependency that I
imagine has decent testing considering all of its reverse depedencies.
2024-05-12 19:08:12 -07:00
Charles Hall
9abe4799db
enable string_add lint
2024-05-12 19:01:29 -07:00
Charles Hall
cc5977b4e4
enable same_name_method lint
2024-05-12 18:51:48 -07:00
Charles Hall
052f3088e9
enable let_underscore_must_use lint
2024-05-12 18:51:26 -07:00
Charles Hall
bd6ea4e358
enable format_push_string lint
2024-05-12 18:51:26 -07:00
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