Commit graph

2293 commits

Author SHA1 Message Date
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
da842c6499
enable unneeded_field_pattern lint 2024-05-12 19:14:59 -07:00
Charles Hall
2b6a933538
enable undocumented_unsafe_blocks lint
There was only one unsafe block (thankfully) but it also had no docs.
I did some reading and found out this in fact safe, but only for cursed
reasons, and documented them. Also, the name of the type was misleading,
as the entire point is the aliasing, and `Box` is already non-aliasing.
2024-05-12 19:10:31 -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
d144db8688
enable ref_patterns lint 2024-05-12 18:51:27 -07:00
Charles Hall
6bdaeab1af
enable multiple_inherent_impl lint 2024-05-12 18:51:27 -07:00
Charles Hall
4a7b9c16cc
enable missing_assert_message lint 2024-05-12 18:51:27 -07:00
Charles Hall
052f3088e9
enable let_underscore_must_use lint 2024-05-12 18:51:26 -07:00
Charles Hall
2ded335adb
enable impl_trait_in_params lint
See also <https://github.com/rust-lang/rust-clippy/issues/12792>.
2024-05-12 18:51:26 -07:00
Charles Hall
52c2893073
enable if_then_some_else_none 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
5fd156a6bb
enable error_impl_error lint
Except the 1 violation would have to be renamed in, like, every single
file in this project. So we're just enabling it so that we don't make
the same mistake in the future.
2024-05-12 18:51:26 -07:00
Charles Hall
a127253daa
enable empty_struct_with_brackets lint 2024-05-12 18:51:26 -07:00
Charles Hall
885fc8428c
enable deref_by_slicing 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
242d9e84cc
enable more lints that aren't already violated
These are good lints to have and we want them enabled, and luckily no
existing code needs to be modified to keep the linters happy for these.
2024-05-12 18:51:12 -07:00
Charles Hall
806fabc4c7
run clippy for no, default, and all features
This should be good enough for now.
2024-04-30 21:54:56 -07:00
Charles Hall
d21221d54e
remove backend_* features that do nothing 2024-04-30 21:54:56 -07:00
Charles Hall
c0972c2b57
use dep: syntax in cargo features 2024-04-30 21:54:56 -07:00
Charles Hall
daf7b1e678
sort keys in Cargo.toml 2024-04-30 21:54:56 -07:00
Charles Hall
c27fc4e177
convert license to markdown 2024-04-30 21:54:56 -07:00
Charles Hall
f437a9ab88
add gitignore 2024-04-30 21:54:56 -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
d41f0fbf72
remove documentation, metadata, etc
This drastically reduces the maintenance burden.

You may notice the `CODE_OF_CONDUCT.md` is deleted here. This is because
I don't feel like updating the relevant parts and I don't think this
will ever actually have a community build around it. If that changes for
some reason, I'm not opposed to adding a code of conduct again.
2024-04-30 21:54:55 -07:00
Charles Hall
c496878afa
remove unused dependencies 2024-04-30 21:54:55 -07:00
Charles Hall
c097e79e52
remove src/lib.rs 2024-04-30 21:54:55 -07:00
Charles Hall
0f7b6d482c
remove conduit_bin feature 2024-04-30 21:54:55 -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
c765a1634d
remove unused database backends 2024-04-30 21:54:39 -07:00
Charles Hall
aa51acf152
remove dead code 2024-04-30 00:08:26 -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
a854ce5cf6 Merge branch 'next' into 'master'
Merge branch 'next' into 'master'

See merge request famedly/conduit!646
2024-04-24 23:23:33 +00:00
Timo Kösters
414056442a Merge branch 'bump' into 'next'
Bump version to v0.7.0

See merge request famedly/conduit!645
2024-04-24 22:22:56 +00: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
Timo Kösters
a854a46c24
Bump version to v0.7.0 2024-04-24 23:24:20 +02:00
Timo Kösters
429f80548f Merge branch 'sync-up-debian-generated-config' into 'next'
Sync up the generated Conduit config for Debian

See merge request famedly/conduit!644
2024-04-24 21:01:58 +00:00
Timo Kösters
a140bf8a6f Merge branch 'authorized-user-search' into 'next'
fix(membership): perform stricter checks when choosing an authorized user

See merge request famedly/conduit!620
2024-04-24 21:00:52 +00:00
Matthias Ahouansou
74db555336
fix(membership): perform stricter checks when choosing an authorized user 2024-04-24 20:54:07 +01:00