Ginger
cb7af18bc2
fix: Make unembed_unsigned_info infallible
2026-10-01 18:43:54 +00:00
Ginger
a6fae7498d
fix: Don't bump version if it's already bumped
2026-10-01 18:43:54 +00:00
Ginger
48c36d6f17
refactor: Remove some unnecessary macro logic
2026-10-01 18:43:54 +00:00
Ginger
23d07e3d4f
refactor: Clean up migration logic
2026-10-01 18:43:54 +00:00
timedout
550dd0160a
fix: SEC8
...
Reviewed-By: Ginger <ginger@gingershaped.computer >
Reviewed-By: Jade <jade@ellis.link >
Reviewed-By: Jacob Taylor <jacob@explodie.org >
2026-09-28 02:00:37 +01:00
timedout
c0ad864d57
fix: Make unembed unsigned run in bg
2026-09-27 22:58:08 +01:00
timedout
a61026912c
feat: Add a migration to fix up unsigned data
2026-09-27 18:31:46 +01:00
Ginger
9fbabe2210
chore: Reformat with latest nightly
2026-09-01 12:55:05 -04:00
Ginger
8cde2ad0cc
fix: Fix missing migration logic
2026-07-25 15:18:13 -04:00
Ginger
9a94b93ddd
fix: Fix new database migrations running on every server startup
2026-07-12 12:31:12 -04:00
timedout
4f509fa113
fix: Convert room summary to federation format when sending invites
2026-07-12 02:11:50 +00:00
Ginger
f55207d5c7
fix: Stop appservice users from being wrongly deactivated during migration
2026-07-11 14:55:43 +00:00
Ginger
89dcda4c3c
feat: Kill roomsynctoken_shortstatehash dead
2026-07-09 16:43:10 -04:00
Ginger
ad4f7973cb
refactor: Remove list_local_users function
2026-07-07 11:33:47 -04:00
Ginger
69163b5391
refactor: Split remote and deactivated users into their own columns
2026-07-02 16:24:07 -04:00
Ginger
88b59eb053
fix: Include target user's membership when building stripped state
2026-05-01 13:15:55 -04:00
Ginger
e70004c98f
chore: Clippy fixes
2026-04-28 09:16:56 -04:00
Ginger
24f7e1d658
chore: Clippy fixes
2026-04-28 09:16:51 -04:00
Jade Ellis
a4e64383b7
refactor: Ruma upstraming, bake a little more
2026-04-28 09:16:51 -04:00
Ginger and Jade Ellis
204bc1367e
refactor: Ruma upstreaming, half-baked edition
...
Co-authored-by: Jade Ellis <jade@ellis.link >
2026-04-28 09:16:51 -04:00
timedout
906c3df953
style: Reduce migration warning verbosity to info
...
They aren't actually warning of anything
2026-03-09 13:30:24 +00:00
timedout
33e5fdc16f
style: Reduce verbosity of fix_corrupt_msc4133_fields
2026-03-09 13:30:24 +00:00
timedout
77ac17855a
fix: Don't fail on invalid stripped state entries during migration
2026-03-09 13:30:24 +00:00
timedout
65ffcd2884
perf: Insert missed migration markers into fresh databases
2026-03-09 13:30:24 +00:00
timedout
7ec88bdbfe
feat: Make noise about migrations and make errors more informative
2026-03-09 13:30:24 +00:00
Ginger
b9b1ff87f2
chore: Formatting fixes
2026-02-10 02:29:11 +00:00
Ginger
3c0146d437
feat: Implement a migration to fix busted local invites
2026-02-10 02:29:11 +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
7345c241a9
fix: Don't halt and catch fire on deserialization errors in MSC4133 migration
2025-12-12 11:16:52 -05:00
Ginger
8ffc6d4f15
chore(sync/v3): Sacrifice a goat to clippy
2025-12-07 19:58:24 +00:00
Ginger
93efe89a1f
fix(sync/v3): Cache shortstatehashes to speed up migration
2025-12-07 19:58:24 +00:00
Ginger
16f37d21ff
fix(sync/v3): Implement a migration for the userroomid_leftstate table
2025-12-07 19:58:24 +00:00
Ginger
1c21e4af6e
fix: Properly sync left rooms
...
- Remove most usages of `update_membership` in favor
of directly calling the `mark_as_*` functions
- Store the leave membership event as the value in the
`userroomid_leftstate` table
- Use the `userroomid_leftstate` table to synchronize the
timeline and state for left rooms if possible
2025-12-07 19:58:24 +00:00
Ginger
902fe7b7ab
fix: Fix panic in debug builds caused by MSC4133 migration
2025-09-24 16:45:11 -04:00
Ginger
458811f241
fix: Fix nexy's very accurate and not-at-all busted fix to my fix
2025-09-17 20:04:50 -04:00
nexy7574
0672ce5b88
style: Fix clippy lint errors
2025-09-17 23:54:09 +01:00
Ginger
7f287c7880
fix: Use a database migration to fix corrupted us.cloke.msc4175.tz fields
...
(cherry picked from commit 4a893ce4cc81487bcf324dccefd8184ddef5b215)
2025-09-17 23:14:07 +01: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
Tom Foster
b5a2e49ae4
fix: Resolve Clippy CI failures from elided lifetime warnings
...
The latest Rust nightly compiler (2025-08-27) introduced the
elided-named-lifetimes lint which causes Clippy CI checks to fail
when an elided lifetime ('_) resolves to a named lifetime that's
already in scope.
This commit fixes the Clippy warnings by:
- Making lifetime relationships explicit where 'a is already in scope
- Keeping elided lifetimes ('_) in functions without explicit
lifetime parameters
- Ensuring proper lifetime handling in the database pool module
Affected files (17 total):
- Database map modules: Handle, Key, and KeyVal references in get,
qry, keys, and stream operations
- Database pool module: into_recv_seek function
This change resolves the CI build failures without changing any
functionality, ensuring the codebase remains compatible with the
latest nightly Clippy checks.
2025-08-28 21:13:19 +01:00
Jason Volk
143cb55ac8
Fix clippy::unnecessary-unwrap.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-07-02 19:29:32 +01: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
b872f8e593
optimize with SmallString; consolidate related re-exports
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-02-16 17:40:21 -05:00
strawberry
f761d4d5c9
bump db version to 17, cleanup, rerun old migrations for users who downgraded
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2025-02-06 16:48:19 -05: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
6a0f9add0c
refactor database engine/options; add column descriptors
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-10 07:03:34 +00: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
58be22e695
fix new lints; clippy::unnecessary-map-or
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-11-29 06:58:45 +00:00
Jason Volk
2592f83b69
add migration fix for duplicate readreceipt entries
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-11-25 02:54:29 +00:00
strawberry
cd2c473bfe
add missing fix_referencedevents_missing_sep key on fresh db creations
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-11-15 21:00:26 -05:00