timedout
c1a6e649da
feat: Combine local & remote force join
2026-05-25 18:01:08 +01:00
timedout
f01e119890
style: Make graph output easier to comprehend
2026-05-25 17:53:53 +01:00
timedout
3764faeefc
style: Reformat
2026-05-25 17:18:25 +01:00
timedout
6b835a327d
style: Rename unmark_pdu to clear_pdu_markers
2026-05-25 17:18:24 +01:00
timedout
7dd61cd560
feat: Add !admin debug show-auth-chain
...
Because why not am I right lads
2026-05-25 17:18:24 +01:00
timedout
d9535eccf1
feat: Make !admin debug get-pdu more informative
2026-05-25 17:18:24 +01:00
timedout
1f6cab9e2e
feat: Implement event rejection
...
Co-Authored-By: star <star@nexy7574.co.uk >
2026-05-25 17:18:23 +01:00
Ginger
e70004c98f
chore: Clippy fixes
2026-04-28 09:16:56 -04:00
Ginger
385b4b10d1
refactor: Fix errors in admin/debug/commands.rs
2026-04-28 09:16:56 -04:00
Ginger
955da3a74f
feat: Add admin commands for managing users' email addresses
2026-03-31 02:20:59 +00:00
K900
cb79a3b9d7
refactor(treewide): get rid of compile time build environment introspection
...
It's cursed and not very useful. Still a few uses of ctor left, but oh well.
2026-01-19 19:44:28 +00:00
Jade Ellis
aed15f246a
refactor: Clean up logging issues
...
Primary issues: Double escapes (debug fmt), spans without levels
2026-01-05 18:28:57 +00:00
Ginger
c565e6ffbc
feat: Restrict where certain admin commands may be used
2025-12-31 19:56:31 +00:00
nexy7574
7e4071c117
Implement room v12 ( #943 )
...
**Does not yet work!** Currently, state resolution does not correctly resolve conflicting states. Everything else appears to work as expected, so stateres will be fixed soon, then we should be clear for takeoff.
Also: a lot of things currently accept a nullable room ID that really just don't need to. This will need tidying up before merge. Some authentication checks have also been disabled temporarily but nothing important.
A lot of things are tagged with `TODO(hydra)`, those need resolving before merge. External contributors should PR to the `hydra/public` branch, *not* ` main`.
---
This PR should be squash merged.
Reviewed-on: https://forgejo.ellis.link/continuwuation/continuwuity/pulls/943
Co-authored-by: nexy7574 <git@nexy7574.co.uk >
Co-committed-by: nexy7574 <git@nexy7574.co.uk >
2025-09-17 20:46:03 +00:00
Ginger
e27ef7f5ec
feat: Do not persist remote PDUs fetched with admin commands
2025-09-07 21:20:26 +00:00
Jason Volk
364293608d
Post-formatting aesthetic and spacing corrections
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-07-02 19:17:06 +01:00
Jason Volk
af4f66c768
Cleanup/improve other async queries in some client handlers.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-07-02 19:12:51 +01:00
Jason Volk
116f85360f
Toward abstracting Pdu into trait Event.
...
Co-authored-by: Jade Ellis <jade@ellis.link >
Signed-off-by: Jason Volk <jason@zemos.net >
2025-07-02 19:03:26 +01:00
nex
e508b1197f
feat: allow overriding the "most recent event" when forcing a state download ( #853 )
...
Add option to select which event to set the state at to, for the force-set-room-state admin command.
This allows us to work around issues where the latest PDU is one that remote servers don't know about (i.e. failed federation for whatever reason)
Closes #852
Reviewed-on: https://forgejo.ellis.link/continuwuation/continuwuity/pulls/853
Reviewed-by: Jade Ellis <jade@ellis.link >
Co-authored-by: nex <nex@noreply.forgejo.ellis.link >
Co-committed-by: nex <nex@noreply.forgejo.ellis.link >
2025-06-19 21:27:50 +00:00
Jason Volk
4f8fec7e5a
replace admin command branches returning RoomMessageEventContent
...
rename admin Command back to Context
Signed-off-by: Jason Volk <jason@zemos.net >
2025-04-19 23:33:52 +01:00
Jason Volk
b3e5d2f683
remove box ids from admin room command arguments
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-04-19 23:33:52 +01:00
Jason Volk
532dfd004d
move core::pdu and core::state_res into core::matrix::
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-04-05 02:44:46 +00:00
June Clementine Strawberry
a1e1f40ded
run cargo fix for rust 2024 changes and rustfmt
...
Signed-off-by: June Clementine Strawberry <strawberry@puppygock.gay >
2025-02-23 01:17:45 -05:00
Jason Volk
31c2968bb2
move db files command w/ filter args; misc related cleanup
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-29 23:21:08 +00:00
Jason Volk
50acfe7832
flatten auth chain iterations
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-29 21:28:26 +00:00
Jason Volk
af399fd517
flatten state accessor iterations
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-29 01:18:08 +00:00
Jason Volk
4a2d0d35bc
split federation request from sending service
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-28 18:36:00 +00:00
Jason Volk
3e0ff2dc84
simplify references to server_name
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-28 18:36:00 +00:00
Jason Volk
5be07ebc0f
eliminate references to services.globals.config
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-25 01:35:18 +00:00
Jason Volk
7c0c029a4a
add try_lock to MutexMap; allow TryFrom constructions
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-22 06:40:07 +00:00
Jason Volk
3dae02b886
add preferred jemalloc config
...
add muzzy/dirty configuration mallctl interface
add program argument for --gc-muzzy=false
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-18 01:30:41 +00:00
Jason Volk
f9e76d6239
improve debug memory-stats options
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-20 04:48:47 +00:00
Jason Volk
8141ca3444
refactor admin outputs to asyncwrite
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-20 04:48:47 +00:00
Jason Volk
7a8ca8842a
add jemallctl base; add trim to interface w/ console cmd
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-20 04:17:02 +00:00
Jason Volk
6a0f9add0c
refactor database engine/options; add column descriptors
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-10 07:03:34 +00:00
Jason Volk
0a9b6c136f
refactor for ruma identifiers optimizations
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-01 23:28:01 -05:00
Jason Volk
6458f4b195
refactor various Arc<EventId> to OwnedEventId
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-01 23:28:01 -05:00
strawberry
77e0b76408
apply new rustfmt.toml changes, fix some clippy lints
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-12-15 01:00:41 -05:00
strawberry
0317cc8cc5
rename conduit to conduwuit finally
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-12-14 22:24:45 -05:00
Jason Volk
5fc8e90e02
fix runtime metrics command
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-12-10 05:40:45 +00:00
Jason Volk
6175e72f1c
simplify get_pdu() interface; eliminate unconditional Arc
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-11-29 08:47:02 +00:00
Jason Volk
3789d60b6a
refactor to iterator inputs for auth_chain/short batch functions
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-11-24 21:30:32 +00:00
Jason Volk
7450c654ae
add get_pdu_owned sans Arc; improve client/room/event handler
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-11-06 21:46:20 +00:00
Jason Volk
0bc6fdd589
Refactor ShortStateInfo et al to properly named structures
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-11-03 08:03:25 +00:00
Jason Volk
354dc9e703
add map accessor to Database; move cork interface
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-10-28 20:52:52 -04:00
strawberry
85890ed425
remove some unnecessary HTML from admin commands
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-10-28 20:52:52 -04:00
strawberry
60d84195c5
implement MSC4210, bump ruwuma
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-10-26 18:50:29 -04:00
Jason Volk
c0939c3e9a
Refactor server_keys service/interface and related callsites
...
Signed-off-by: Jason Volk <jason@zemos.net >
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-10-26 18:50:29 -04:00
Jason Volk
1a09eb0f02
use string::EMPTY; minor formatting and misc cleanups
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-10-26 18:50:29 -04:00
Jason Volk
3f7ec4221d
minor auth_chain optimizations/cleanup
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-10-25 00:32:33 -04:00