This website requires JavaScript.
3ada847570
extract client ip from connection state
Jason Volk
2024-06-07 01:01:30 +00:00
0bade5317f
add connection info to router
Jason Volk
2024-06-06 22:31:52 +00:00
c2267d4c03
add services state to router
Jason Volk
2024-06-05 07:30:30 +00:00
aebae11c82
reintroduce the variadic macro for ruma handler.
Jason Volk
2024-06-07 00:53:30 +00:00
f871d8fd4e
move impl FromRequest for Ruma up one level; some cleanup
Jason Volk
2024-06-06 18:04:29 +00:00
4a68e28c71
use debug_warn for presence spam
Jason Volk
2024-06-06 17:44:57 +00:00
6e59135a7d
eliminate RotationHandler
Jason Volk
2024-06-05 21:57:10 +00:00
0e74ade7d7
isolate axum shutdown in router; minor run-cycle/signalling tweaks
Jason Volk
2024-06-05 19:59:50 +00:00
e4aa20ebeb
move services ctor/dtor detail into service
Jason Volk
2024-06-05 05:41:29 +00:00
427aa4645c
cleanup/reduce some tracing spans.
Jason Volk
2024-06-04 20:16:36 +00:00
73718a1208
elminate generic argument in ruma_wrapper::auth
Jason Volk
2024-06-04 18:30:51 +00:00
0e3d192ad2
fix trivial-casts
Jason Volk
2024-06-03 10:44:46 +00:00
76a4d8aa4c
additional clippy configuration
Jason Volk
2024-06-03 06:54:58 +00:00
9bb52cb3ec
add missing dev_release_log_level feature projection
Jason Volk
2024-06-03 01:32:57 +00:00
dd49b3c3a1
fix/simplify emergency access initialization
Jason Volk
2024-06-03 02:23:27 +00:00
b2e56777af
fix missing toolchain in cargo smoketest run invocation.
Jason Volk
2024-05-27 22:40:51 +00:00
f32380772f
rename api::client_server to api::client
Jason Volk
2024-06-06 18:21:02 +00:00
8428f43c78
add legacy element hack for UIAA using invalid user field
strawberry
2024-06-06 03:43:21 -04:00
3af153f5ae
split s2s into units
Jason Volk
2024-06-05 04:32:58 +00:00
38238c309f
appservices: remove unnecessary services() call for self
strawberry
2024-06-05 02:09:31 -04:00
0857fe7907
abstract+add more "users in room" accessors, check membership state on active_local_joined_users_in_room
strawberry
2024-06-05 01:52:53 -04:00
c738c119f8
delete unnecessary real_users_cache, fix overwriting push_target iter, add proper function for getting local active users in room
strawberry
2024-06-04 01:13:43 -04:00
c1227340b3
update complement results
strawberry
2024-06-05 18:17:46 -04:00
bf10ff65a4
media: ignore Content-Type params, use binary_search
strawberry
2024-06-05 03:24:24 -04:00
b781771a9b
media: drop Content-Type detection support
strawberry
2024-06-03 23:14:31 -04:00
df8ba04e31
media: trust client Content-Type again
strawberry
2024-06-03 18:52:02 -04:00
19926ba00d
sort ALLOWED_INLINE_CONTENT_TYPES
strawberry
2024-06-03 18:13:48 -04:00
893cc50570
csp: set form-action 'none'
strawberry
2024-06-03 23:24:26 -04:00
c9fbbdce1c
csp: remove unusual directives, slight security improvement
strawberry
2024-06-03 18:07:39 -04:00
732e8b82aa
Abstract password hashing into util.
Jason Volk
2024-06-04 23:51:02 +00:00
282c2feca8
Clarify purpose and temporary muting
Tom Black
2024-06-04 17:13:21 +01:00
919735b4ce
remove usages of &String and &Owned[..]
strawberry
2024-06-03 01:58:26 -04:00
2e83e56a07
remove deleted config options and update address example option
strawberry
2024-06-03 01:17:00 -04:00
ff7dfec74c
slightly cleanup update check
strawberry
2024-06-03 00:52:33 -04:00
84290bd668
update deps, remove unnecessary zstd crate, pin rust-rocksdb rev
strawberry
2024-06-03 00:07:38 -04:00
b29a8791de
admincmd: leave all rooms if deactivating all users with --force
strawberry
2024-06-02 19:29:08 -04:00
83220b43a2
use saturating_add and vec with_capacity in even more places
strawberry
2024-06-01 00:49:56 -04:00
4ea7af5780
ci(engage): use all-features devshell for cargo doc / rustdoc --all-features
strawberry
2024-06-01 00:33:41 -04:00
79fb8091dc
ci(engage): use all-features direnv devshell for clippy/all
strawberry
2024-06-01 00:28:14 -04:00
f6fa2a4f65
use swap_remove instead of remove in a few places
strawberry
2024-06-01 00:22:50 -04:00
b63937af0b
ci(engage): add cargo test default, use all-features devshell for cargo test --all-features
strawberry
2024-06-01 00:17:03 -04:00
3c4e325036
nix(bin): cache default devshell on top of all-features devshell
strawberry
2024-06-01 00:12:28 -04:00
023fb41c49
load .env file before initializing flake to use DIRENV_DEVSHELL in .env
strawberry
2024-06-01 00:08:26 -04:00
9a5f1dac57
drop unnecessarily verbose get_alias_helper logging
strawberry
2024-05-31 00:19:26 -04:00
173ff26eb6
disable URL previews by default upon admin room creation
strawberry
2024-05-30 23:44:57 -04:00
45e3fdba69
admin room: add get-latest-pdu and get-first-pdu commands
strawberry
2024-05-30 23:42:29 -04:00
9f359e0550
make resolve_state public to resolve new forced compressed room state
strawberry
2024-05-30 23:37:34 -04:00
ffdf47d1ea
add latest_pdu_in_room timeline function
strawberry
2024-05-30 23:36:48 -04:00
1af65e695d
media: return application/octet-stream if no content-type was provided
strawberry
2024-05-30 23:33:52 -04:00
b1886583d9
csp: fix typo, add base-uri none
strawberry
2024-05-30 23:14:35 -04:00
f11103b43b
media: check detected content-type against MSC2702
strawberry
2024-05-30 23:03:59 -04:00
9b096cc67b
fix: check if you've left the room before forgetting it
strawberry
2024-05-28 18:21:25 -04:00
1ac72ab914
init a few state hashmaps using with_capacity
strawberry
2024-05-28 16:55:08 -04:00
f0533e07ef
fed: remove unnecessary mutables, use with_capacity in couple more places
strawberry
2024-05-28 15:59:08 -04:00
68f42f5a2f
fed: relax read receipt EDU check
strawberry
2024-05-28 15:07:30 -04:00
884cbab135
ci: comment out hardened_malloc clippy check for now
strawberry
2024-05-28 12:53:39 -04:00
4aead5de7a
reflax a couple restrictions on custom room IDs and aliases
strawberry
2024-05-28 12:51:22 -04:00
aef25ea1f7
enable tracing feature for axum
strawberry
2024-05-28 02:28:45 -04:00
1a4736d40b
support configuring multiple bind hosts; default to dual localhost.
Jason Volk
2024-06-02 22:36:00 +00:00
f09e0dc137
add conduwuit community code of conduct
strawberry
2024-06-02 19:17:23 -04:00
de79b66cea
misc docs changes
strawberry
2024-06-02 18:00:38 -04:00
95ca9d00a2
nix: get all features from main crate
strawberry
2024-06-02 21:08:52 +00:00
887496d040
consolidate default cargo features
Jason Volk
2024-06-01 12:10:25 +00:00
c2586737ae
accept receipts prior to events
Jason Volk
2024-06-01 01:36:37 +00:00
7d2f510cc3
single-source for defaulty log filter string
Jason Volk
2024-05-31 05:39:51 +00:00
102bd1b4a6
use debug_warn for parse_incoming_pdu err results.
Jason Volk
2024-06-02 03:40:31 +00:00
89ab687f16
move signal handling out to main
Jason Volk
2024-06-01 08:03:20 +00:00
1108235c63
misc simplifications and cleanup
Jason Volk
2024-05-25 20:16:28 +00:00
90d9a997a5
split / cleanup core utils.
Jason Volk
2024-05-27 20:05:33 +00:00
5fe5ab279c
split RouterExt impl related into ruma_wrapper unit.
Jason Volk
2024-05-28 04:52:58 +00:00
f1d1366129
split resolve_actual_dest
Jason Volk
2024-05-31 05:08:00 +00:00
ba48758b89
impl fmt::Display for FedDest
Jason Volk
2024-05-31 01:21:15 +00:00
9df5265c00
split sending resolver into unit.
Jason Volk
2024-05-31 00:14:22 +00:00
ee52d2f751
refactor lints into categories. lints are now more strict.
Jason Volk
2024-06-01 09:20:37 +00:00
53fe2362fc
Fix path-buf-push-overwrite
Jason Volk
2024-06-02 01:43:25 +00:00
38ab1083e3
Fix ptr-cast-constness
Jason Volk
2024-06-02 00:30:04 +00:00
050841a871
Fix inefficient-to-string
Jason Volk
2024-06-02 00:29:45 +00:00
4521e93d04
Fix stable-sort-primitive
Jason Volk
2024-06-02 00:27:03 +00:00
0f3d43153b
Fix unused-self
Jason Volk
2024-06-02 00:25:22 +00:00
e5eccb3a0c
Fix unreadable-literal
Jason Volk
2024-06-02 00:23:21 +00:00
68cbf19154
Fix items-after-statements
Jason Volk
2024-06-02 00:22:48 +00:00
2ab427fe99
Fix default-trait-access
Jason Volk
2024-06-02 00:21:08 +00:00
02081b66c4
Fix some unnecessary-unwraps w/ addl cleanup/simplification.
Jason Volk
2024-06-02 00:18:57 +00:00
b3fc8516ed
Fix unnested-or-patterns
Jason Volk
2024-06-02 00:16:29 +00:00
9e51525c25
Fix uninlined-format-args
Jason Volk
2024-06-02 00:15:02 +00:00
14039d9df4
cleanup unused extern crates.
Jason Volk
2024-06-01 10:26:05 +00:00
eed8a2a801
add and sort incomplete package metadata
Jason Volk
2024-06-01 10:19:26 +00:00
c3a0d28309
add tracing span; mute connection errors.
Jason Volk
2024-05-31 03:00:55 +00:00
6d1144bb69
move unix socket unlink from services to router
Jason Volk
2024-05-31 00:43:30 +00:00
2e45cb281a
split router::serve units.
Jason Volk
2024-05-30 22:38:39 +00:00
0baa57f5d9
add back unix socket listener.
Jason Volk
2024-05-29 16:59:20 +00:00
faa2b95c84
add unwrap_infallible tool
Jason Volk
2024-05-25 21:24:17 +00:00
dd1d8fa760
upgrade to hyper-util 0.1.5
Jason Volk
2024-05-29 17:21:59 +00:00
f4cfc77a57
Check if database symlink already exists
Jayryn
2024-05-28 09:14:30 +02:00
b8b93a2e86
Bump 0.4.1
Jason Volk
2024-05-27 18:47:34 +00:00
29d69b7688
update complement test results
Jason Volk
2024-05-27 20:12:46 +00:00
bd07fb61e0
add hot_reload.md to SUMMARY.md
strawberry
2024-05-27 17:47:46 -04:00
a41a60ef07
media: dont ignore requested filename on /download for Content-Disposition
strawberry
2024-05-27 14:43:13 -04:00
ec7a9ab726
add toolchain and build/check shortcut to smoketest
Jason Volk
2024-05-27 08:26:48 +00:00
25f598ce6c
enable http2 feature for reqwest.
Jason Volk
2024-05-27 08:43:05 +00:00