Jason Volk
b3f8118f0e
Re-export itertools from tuwunel_core crate.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2026-01-18 13:19:59 +00:00
Jason Volk
3694ffbab3
Bump Ruma w/ PushRule type optimizations.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-10-28 23:23:27 +00:00
Jason Volk
f1c2548807
Add PduCount value to userroomid/roomuserid_joined; move PduCount to argument for update_membership.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-10-02 05:29:48 +00:00
dasha_uwu
89a67af607
pull stuff out of globals
2025-09-23 05:16:29 +00:00
dasha_uwu
b882e7efdb
rename db to engine
2025-09-23 05:16:29 +00:00
dasha_uwu
b5890b9664
Services refactor
...
Replace structs of Dep<Service> with OnceServices, so each service has a Services reference
Remove service name => Service map
Flatten Services.rooms
Make reqwest Clients lazy initialized (client service)
2025-08-28 23:15:59 +05:00
Jason Volk
628597c318
State-reset and security mitigations.
...
Upgrade Ruma to present.
The following are intentionally benign for activation in a later commit:
- Hydra backports not default.
- Room version 12 not default.
- Room version 12 not listed as stable.
Do not enable them manually or you can brick your database.
Signed-off-by: Jason Volk <jason@zemos.net >
2025-08-11 18:45:28 +00:00
Jason Volk
fb17aa19bf
Add configs for creating the admin room and granting first user.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-08-04 18:55:37 +00:00
Jason Volk
ae707ab465
Simplify default Result generics.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-07-24 04:07:27 +00:00
Jason Volk
05627b67ac
Fix clippy::unnecessary-unwrap.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-05-22 08:03:28 +00:00
Jason Volk
0463b962fd
Migrate additional names in src/
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-05-14 03:18:13 +00:00
Jason Volk
76509830e6
chain_width to 50
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-04-22 04:42:34 +00:00
Jason Volk
9b658d86b2
Rename crates.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-04-22 04:37:49 +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
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
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
Jason Volk
9da523c004
refactor for stronger RawPduId type
...
implement standard traits for PduCount
enable serde for arrayvec
typedef various shortid's
pducount simplifications
split parts of pdu_metadata service to core/pdu and api/relations
remove some yields; improve var names/syntax
tweak types for limit timeline limit arguments
Signed-off-by: Jason Volk <jason@zemos.net >
2024-11-06 21:46:20 +00:00
Jason Volk
52f09fdb51
add database migration for missing referencedevents separator
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-11-03 14:50:28 +00:00
Jason Volk
ba1c134689
move migrations out of globals service
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-11-03 08:03:25 +00:00