Commit graph

  • f7ce4db0b0 add is_not_found functor to error; tweak status code matcher Jason Volk 2024-09-12 00:01:25 +00:00
  • a5822ebc27 add missing err! case Jason Volk 2024-09-13 18:55:56 +00:00
  • 63053640f1 add util functors for is_zero/is_equal; move clamp to math utils Jason Volk 2024-09-13 18:24:33 +00:00
  • bd75ff65c9 move common_elements util into unit Jason Volk 2024-09-08 06:53:15 +00:00
  • aa265f7ca4 add err log trait to Result Jason Volk 2024-09-08 04:39:27 +00:00
  • 3d4b0f10a5 add expected! macro to checked math expression suite Jason Volk 2024-09-07 22:04:28 +00:00
  • 2709995f84 add MapExpect to Result Jason Volk 2024-09-01 01:53:22 +00:00
  • 99ad404ea9 add str traits for split, between, unquote; consolidate tests Jason Volk 2024-08-31 02:13:23 +00:00
  • 2db017af37 simplify service trait bounds and lifetimes Jason Volk 2024-08-30 00:26:23 +00:00
  • 16014e1594
    remove ProcSubset=pid from systemd units for now v0.4.7-rc JadedBlueEyes/strawberry/small-fixes strawberry 2024-10-24 23:51:02 -04:00
  • 7e828440f9
    allow conduit database version 16 strawberry 2024-10-24 23:44:15 -04:00
  • f6918833d7
    remove -unknown- from nix flake strawberry 2024-10-24 23:03:36 -04:00
  • 4d7bbe9fb4 tiny micro-optimisations in some config stuff strawberry 2024-09-20 23:34:49 -04:00
  • 75be68fa61
    add config option to control sending admin notices of alerts strawberry 2024-10-24 22:19:18 -04:00
  • 0760150822
    cache all 3 x86_64 nix devshells in CI strawberry 2024-10-24 22:08:23 -04:00
  • 37a2ba59d0 improve UX of admin media deletion commands, ignore errors by default, support deleting local media too strawberry 2024-10-01 01:27:45 -04:00
  • 724711218a add note that ko-fi takes a fee strawberry 2024-10-24 21:46:23 -04:00
  • 359fb25262
    add missing feat_sha256_media to fresh database creations strawberry 2024-10-24 21:45:13 -04:00
  • 9761e2f10c
    fix lockdown_public_room_directory bypass, add appservice exclusion strawberry 2024-10-24 21:38:26 -04:00
  • 30e3e45f9f
    misc CI improvements, build macOS binaries, flake improvements/fixes strawberry 2024-10-24 21:29:17 -04:00
  • e5efd55838 feature-gate direct TLS mode to make rustls/aws-lc-rs optional strawberry 2024-10-10 16:23:38 -04:00
  • 87734a074f add m.call and m.call.member to list of permissions to set on public rooms strawberry 2024-10-02 20:45:15 -04:00
  • a7c4a7933d disable log colours in the complement config strawberry 2024-09-29 13:02:18 -04:00
  • 83becf013c add config option to disable ANSI log colours strawberry 2024-09-29 12:27:42 -04:00
  • acb9eae707 add back server name to error sending PDU to remote server strawberry 2024-09-29 03:09:20 -04:00
  • 2eee454a18 docs: nixos and unix socket fail, jemalloc and hardened.nix strawberry 2024-09-28 21:55:02 -04:00
  • e0b2595905 support reading TURN secret from a file (turn_secret_file) strawberry 2024-09-20 22:57:04 -04:00
  • 73afc1fd8f allow taking multiple --config arguments to "include"/merge more config files strawberry 2024-09-20 16:22:29 -04:00
  • 6acdd0d947 improve some general documentation strawberry 2024-09-17 18:55:08 -04:00
  • e38c37d9e7 allow users to respond to polls by default (org.matrix.msc3381.poll.response) strawberry 2024-09-17 18:04:59 -04:00
  • 45254638b1 drop target-cpu optimised builds strawberry 2024-09-28 17:38:37 -04:00
  • 2d54264fbe
    bump rust to 1.82.0, rocksdb v9.7.3, ruwuma, and a few nix pkgs strawberry 2024-10-24 20:47:51 -04:00
  • 6c1c7b35a5 Separate command lines Toby Murray 2024-10-23 19:59:56 -04:00
  • 72bc3d47f4
    Separate command lines Toby Murray 2024-10-23 19:59:56 -04:00
  • 3cb5850d1e
    bump deps, nix flake lockfile, cleanup some things, bump rust, provide macOS binaries, fix more build issues and macOS building JadedBlueEyes/strawberry/deps-updates-old strawberry 2024-10-20 00:59:39 -04:00
  • 8f4f95e2b4 fix search result amount/count being incorrect strawberry 2024-10-21 16:54:28 -04:00
  • e2c58e6824 add config generator controls via attribute metadatas Jason Volk 2024-10-22 22:16:59 +00:00
  • 7e25db5942
    chore(deps): update rust crate proc-macro2 to v1.0.89 renovate[bot] 2024-10-22 21:23:01 +00:00
  • 45921e5d0c add default-directives to config document comments Jason Volk 2024-10-22 10:09:14 +00:00
  • c1626e73a2 complete the example-config generator macro Jason Volk 2024-10-22 09:09:20 +00:00
  • c93f6baa33 add some interruption points in recursive event handling to prevent shutdown hangs Jason Volk 2024-10-22 07:15:28 +00:00
  • 3bb581c57c reduce unnecessary clone in pdu handler Jason Volk 2024-10-22 07:07:42 +00:00
  • 576dd5c8ee optimize for pdu_exists; remove a yield thing Jason Volk 2024-10-22 06:37:09 +00:00
  • 231124e275 optimize config denylists Jason Volk 2024-10-22 06:21:57 +00:00
  • 0d33959c2e aggregate receipts into single edu; dedup presence; refactor selection limits etc Jason Volk 2024-10-22 05:30:28 +00:00
  • a65764f752 split keys_changed for stronger-type overloads Jason Volk 2024-10-22 04:03:07 +00:00
  • 90ff1fa1c7 further optimize presence_since iteration Jason Volk 2024-10-22 03:28:45 +00:00
  • 2cd72f2f89 add some additional database::de test cases Jason Volk 2024-10-22 03:21:56 +00:00
  • c57727982a de-wrapper max_fetch_prev_event; increase default config Jason Volk 2024-10-22 00:09:55 +00:00
  • 9c1a7e36c8 add ready_try_for_each to TryReadyExt extension utils Jason Volk 2024-10-21 23:54:54 +00:00
  • b16f4b40f2 add (back) query_trusted_key_servers_first w/ additional configuration detail Jason Volk 2024-10-21 22:00:39 +00:00
  • f33d5df092 event_handler/timeline service cleanups Jason Volk 2024-10-16 11:33:24 +00:00
  • e1e8ab8a62 add is_ok to futures TryExtExt utils Jason Volk 2024-10-21 20:21:00 +00:00
  • eb937c70a6 additional sync cleanup Jason Volk 2024-10-16 06:58:37 +00:00
  • d487e7cb1b split client/sync Jason Volk 2024-10-16 05:32:27 +00:00
  • d7ca59f9ff merge rooms state_compressor service and data Jason Volk 2024-10-16 03:12:30 +00:00
  • f309a48dd8 slightly cleanup appservice_in_room Jason Volk 2024-10-16 02:31:36 +00:00
  • e52815ab07 merge remaining rooms state_cache data and service Jason Volk 2024-10-15 10:34:37 +00:00
  • fa98a00e1e merge rooms user service and data Jason Volk 2024-10-15 09:54:20 +00:00
  • bb33d63e83 merge rooms state service and data Jason Volk 2024-10-15 09:34:43 +00:00
  • f763a13f0f add resolve_with_servers() to alias service; simplify api Jason Volk 2024-10-14 01:01:12 +00:00
  • 37b9b361ba add federation client for select high-timeout requests Jason Volk 2024-10-14 03:58:25 +00:00
  • f82eba1861 Refactor server_keys service/interface and related callsites Jason Volk 2024-10-11 18:57:59 +00:00
  • bcbda1815f add random shuffle util Jason Volk 2024-10-14 05:16:18 +00:00
  • 257a4548fd use string::EMPTY; minor formatting and misc cleanups Jason Volk 2024-10-13 00:57:08 +00:00
  • 41cafbe867 add timepoint_from_now to complement timepoint_ago in utils Jason Volk 2024-10-11 20:32:32 +00:00
  • b76fac3abc Refactor for structured insertions Jason Volk 2024-10-07 17:54:27 +00:00
  • d4e538ab14 re-scheme naming of stream iterator overloads Jason Volk 2024-10-09 05:08:22 +00:00
  • e5badf6a0f add IgnoreAll directive to deserializer Jason Volk 2024-10-09 19:41:52 +00:00
  • 997c6d8695 add serialized insert interface Jason Volk 2024-10-06 22:15:19 +00:00
  • 95731f1f4d further develop serializer for insertions Jason Volk 2024-10-06 05:15:24 +00:00
  • 27741d2212 add document comments to config items Jason Volk 2024-10-05 19:39:27 +00:00
  • dbc4d19a59 cleanup Config::load() Jason Volk 2024-10-04 19:10:20 +00:00
  • ba253738dc initial example-config generator Jason Volk 2024-09-08 22:17:02 +00:00
  • 370db5ccea add macro util to determine if cargo build or check/clippy. Jason Volk 2024-09-25 05:04:25 +00:00
  • 930755d44a add non-allocating fixed-size random string generator Jason Volk 2024-10-07 19:19:53 +00:00
  • a3ba31144a add tuple access functor-macro Jason Volk 2024-09-29 09:01:57 +00:00
  • 429031b0bb add util to restore state on scope exit Jason Volk 2024-09-29 04:18:47 +00:00
  • 80b94675f7 relax Sized bound for debug::type_name Jason Volk 2024-09-29 09:20:17 +00:00
  • ac8c55eb63 sort rustfmt Jason Volk 2024-07-09 17:23:00 +00:00
  • a847c56a46 Add constructions and Default for PduBuilder Jason Volk 2024-10-04 20:25:32 +00:00
  • eaf7282e5a misc cleanup Jason Volk 2024-10-03 10:03:31 +00:00
  • e9e378a6ba additional database stream deserializations for serde_json::from_ elim Jason Volk 2024-10-03 10:02:24 +00:00
  • 187b9ca80c refactor various patterns for serde_json::from_ elim Jason Volk 2024-10-03 09:57:43 +00:00
  • fb7c82f4e5 refactor to pdu.get_content() for serde_json::from_ elim Jason Volk 2024-10-03 09:49:28 +00:00
  • e5595a9e60 refactor to room_state_get_content() for serde_json::from_ elim Jason Volk 2024-10-03 09:44:43 +00:00
  • 2fb8acf427 Add state_get_content(shortid) for serde_json::from elim Jason Volk 2024-10-03 09:38:10 +00:00
  • 624c392414 abstract account-data deserializations for serde_json::from_elim Jason Volk 2024-10-02 07:57:18 +00:00
  • ea8f4ea946 abstract common patterns as core pdu memberfns Jason Volk 2024-10-03 01:01:25 +00:00
  • 5f40741411 parallelize calculate_invite_state Jason Volk 2024-10-04 03:40:00 +00:00
  • 6dacf668bb add is_not_found as Error member function; tweak interface; add doc comments Jason Volk 2024-10-04 17:07:31 +00:00
  • 0a7c0e3535 add unwrap_or to TryFutureExtExt Jason Volk 2024-10-03 08:04:16 +00:00
  • b08eb9a290 add mactors for true/false Jason Volk 2024-10-03 01:00:00 +00:00
  • da1ac8c4e7 add FlatOk trait to Result/Option suite Jason Volk 2024-10-03 00:30:16 +00:00
  • de4917ab43 catch panics at base functions to integrate with other fatal errors. Jason Volk 2024-09-26 04:59:16 +00:00
  • 25727c162f split admin-room branch from build_and_append_pdu (fixes large stack warning) Jason Volk 2024-10-02 21:18:32 +00:00
  • bd8b17ef45 use loop condition to account for loole channel close Jason Volk 2024-10-06 22:08:55 +00:00
  • 88ca855215 fix unnecessary re-serializations Jason Volk 2024-10-09 03:37:13 +00:00
  • aa6f6c1bfa feature-gate direct TLS mode to make rustls/aws-lc-rs optional strawberry 2024-10-10 16:23:38 -04:00
  • 127fb1a37b dont answer the admin room ID over /_matrix/federation/v1/query/directory strawberry 2024-10-05 14:36:09 -04:00