Jade Ellis
5a66de2633
feat: Generate admin command documentation
...
The first part of getting admin command docs on the website.
Next is is including it in the same way we do the example config or
readme.
There's also the beginnings of manpage generation here, although it's
kinda sus and I'm not sure how it's supposed to work. I'll leave that to
anyone who wants to package it.
We introduce the beginings of the xtask pattern here - we do a lot of
file generation, I thought it would be best to avoid doing that on every
compilation. It also helps avoid lots of runtime deps.
We'll need to document generating this stuff & probably add pre-commit
hooks for it, though.
2025-06-14 19:41:17 +01:00
Jade Ellis
22c9650c0a
feat: Support logging to journald with tracing-journald
...
This stubs out on non-unix platforms.
2025-06-14 19:41:17 +01:00
Jade Ellis
60960c6e09
feat: Automatically set well-known support contacts
2025-05-21 20:32:53 +01:00
Jade Ellis
beee996f72
docs: Rename conduwuit to continuwuity in more places
2025-05-10 20:37:08 +01:00
Jade Ellis
dcbacb5b78
feat: Allow controlling client message filtering
2025-04-26 21:59:25 +01:00
Jade Ellis
859ec56b4f
docs: Fix configuration examples and defaults
2025-04-24 00:48:20 +01:00
Jade Ellis
45872ede7a
chore: Fix formatting
2025-04-24 00:48:20 +01:00
Jade Ellis
2d9bdc0979
refactor: The update checker has become the announcements checker
...
Replaces June's endpoint with a continuwuity endpoint.
Adds a JSON schema.
Closes #89
Closes #760
2025-04-20 21:01:29 +01:00
Peter Gervai
5486dbda24
config: rocksdb_compaction help was inverted :-)
...
You seem to have replaced `disable_rocksdb_compaction` with `rocksdb_compaction`, since the help is blackmailing me never to set it to `true`, except **true is the default**.
I have tried to make it say what you possibly meant.
2025-04-20 19:48:09 +01:00
Jade Ellis
84445b8458
docs: Document backfill bypassing federation restrictions
2025-04-20 00:16:29 +01:00
Jade Ellis
9e62076baa
feat: Add allowed_remote_server_names
...
This allows explicitly allowing servers. Can be
combined with the opposite to create allowlist-only
federation.
See also #31
Closes #673
2025-04-19 23:37:55 +01:00
Jade Ellis
0eb9e4f3d2
refactor: Centralize server forbidden checks into moderation module
...
This moves all checks related to `forbidden_remote_server_names`,
`forbidden_remote_room_directory_server_names` and
`prevent_media_downloads_from` to a new `moderation` module.
This is useful for implementing more complicated logic globally.
Mostly the changes from #673 , but is also relevant for #750
2025-04-19 23:37:54 +01:00
Jade Ellis
f76f669d16
chore: Remove the default sentry endpoint
2025-04-15 22:35:54 +00:00
June Clementine Strawberry
d5ad973464
change forbidden_server_names and etc to allow regex patterns for wildcards
...
Signed-off-by: June Clementine Strawberry <june@3.dog>
2025-04-06 15:25:19 -04:00
June Clementine Strawberry
a212bf7cfc
update default room version to v11
...
Signed-off-by: June Clementine Strawberry <june@3.dog>
2025-04-05 14:00:40 -04:00
June Clementine Strawberry
ea246d91d9
remove pointless and buggy *_visibility in-memory caches
...
Signed-off-by: June Clementine Strawberry <june@3.dog>
2025-04-02 22:38:47 -04:00
strawberry
c8a730c29e
implement MSC4267 automatically forgetting room on leave
...
Signed-off-by: strawberry <june@girlboss.ceo>
2025-03-08 03:07:42 -05:00
June Clementine Strawberry
6052c0c8a2
ci: allow ourselves to write to the public docs directory
...
Signed-off-by: June Clementine Strawberry <june@3.dog>
2025-03-07 01:25:43 -05:00
June Clementine Strawberry
f4c51cd405
remove zlib as a default rocksdb compression option
...
Signed-off-by: June Clementine Strawberry <june@3.dog>
2025-03-06 00:18:28 -05:00
Jason Volk
ecc9099127
add conf item to re-disable atomic flush
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-02-16 17:40:21 -05:00
Niko
62180897c0
Added blurhash.rs to fascilitate blurhashing.
...
Signed-off-by: Niko <cnotsomark@gmail.com>
2025-02-04 21:47:03 +00:00
Jason Volk
ffe3b0faf2
make shutdown grace periods configurable
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-02-02 16:30:55 +00:00
Jason Volk
bd6d4bc58f
enforce timeout on request layers
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-02-02 16:30:55 +00:00
morguldir
f698254c41
make registration tokens reloadable, and allow configuring multiple
...
Signed-off-by: morguldir <morguldir@protonmail.com>
2025-01-31 03:09:02 +01:00
Jason Volk
2c5af902a3
support executing configurable admin commands via SIGUSR2
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-01-29 01:18:08 +00:00
Jason Volk
2f449ba47d
support reloading config via SIGUSR1
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-01-29 01:18:08 +00:00
Jason Volk
98f9570547
add option to disable rocksdb checksums
...
reference runtime state for default option initialization
Signed-off-by: Jason Volk <jason@zemos.net>
2025-01-28 18:38:47 +00:00
bumpsoo
9dcf289c7a
(doc): Update docker-compose.yml and conduwuit-example.toml
...
The server cannot start without a registration token when registration is configured
Signed-off-by: bumpsoo <bumpsoo063@protonmail.ch>
2025-01-25 20:08:46 -05:00
Jason Volk
277b4951e8
add compression-shaping; tweak default compression levels
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-01-20 11:50:17 +00:00
Jason Volk
5167e1f06d
add option to disable listeners
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-01-18 01:43:58 +00:00
Jade Ellis
2cc6ad8df3
implement /login/get_token
(MSC3882)
2025-01-17 17:40:53 -05:00
Jade Ellis
afe9e5536b
remove undocumented jwt token login
2025-01-17 17:40:53 -05:00
Jason Volk
16fa2eca87
add conf item for write buffer size
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-01-10 07:03:34 +00:00
Jason Volk
94c8683836
improve db pool topology configuration
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-01-09 18:14:23 +00:00
Jason Volk
2259e2c82f
batch queries to maximize throughput
...
query-side streams for first level of callsites
Signed-off-by: Jason Volk <jason@zemos.net>
2025-01-01 23:28:01 -05:00
Jason Volk
7a6d657558
configurable dynamic stream concurrency scalar
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-01-01 23:28:01 -05:00
Jason Volk
b195107053
optimize for multi-queue storage topologies with affinity
...
Signed-off-by: Jason Volk <jason@zemos.net>
2025-01-01 23:28:01 -05:00
Jason Volk
af3d6a2e37
shard sender into multiple task workers by destination hash
...
rename Destination::Normal variant
tracing instruments
Signed-off-by: Jason Volk <jason@zemos.net>
2025-01-01 23:28:01 -05:00
Neil Svedberg
5bce0a3a46
Improve documentation for configuration
...
Although the configuration file was mostly wrapped to a line-width of
80, some lines were wrapped slightly shorter. I fixed this.
In general, all sentences were changed to start with a capital letter
and end with a period or other punctuation mark.
Many of the documentation commets read as, "config option to do XYZ". I
shortened these to simply "do XYZ".
2025-01-01 16:31:30 -05:00
strawberry
61670370ed
add rocksdb paranoid_file_checks config option, add some more config checks
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-12-09 12:28:14 -05:00
Jason Volk
d921b82376
add options for console tracing EnvFilter details
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-12-08 07:12:26 +00:00
Jason Volk
f0a1aaf7bc
extend x-platform support for binding URL previews to interfaces via address
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-12-08 07:12:23 +00:00
Jade Ellis
52cee65748
add support for binding to a specific interface for url previews
...
This is helpful to, for example, bind to an interface that can
only access the public internet. The resulting setup is less
maintenance-heavy / error-prone than manually maintaining a deny/
allowlist to protect internal resources.
Signed-off-by: Jade Ellis <jade@ellis.link>
2024-12-07 23:27:56 +00:00
Jason Volk
c2d97aaa5e
increase default db pool worker count for large systems
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-12-04 21:49:19 +00:00
Jason Volk
2a9bb1ce11
add configurables for frontend pool options
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-28 07:20:43 +00:00
morguldir
63d1fcf213
add queued transactions rocksdb cf cache
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-11-25 16:08:30 -05:00
Jason Volk
1c751168c6
check-in missed example config changes
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-24 23:50:05 +00:00
strawberry
dac1a01216
update generated example config
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-11-15 09:43:58 -05:00
strawberry
08365bf5f4
update config documentation, commit generated example config
...
also removes the no-op/useless "database_backend" config option
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-11-15 09:41:17 -05:00
strawberry
7a59add8f1
add support for reading a registration token from a file
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-10-25 00:38:18 -04:00