Commit graph

  • e06d126d4e
    add constructor for users service Charles Hall 2024-10-08 16:36:26 -07:00
  • f771d319b2
    add constructor for spaces service Charles Hall 2024-10-08 16:31:57 -07:00
  • f702b6cccd
    add constructor for state compressor service Charles Hall 2024-10-08 16:16:54 -07:00
  • c6e2f8372c
    add constructor for state accessor service Charles Hall 2024-10-08 16:15:24 -07:00
  • a083ff9200
    add constructor for lazy-loading service Charles Hall 2024-10-08 16:10:30 -07:00
  • 3b28d0cfda
    add constructor for typing service Charles Hall 2024-10-08 16:08:51 -07:00
  • b18df8de70
    rename appservice service constructor Charles Hall 2024-10-08 16:07:03 -07:00
  • 5be1e20eb4
    call maximize_fd_limit at top of main Charles Hall 2024-10-21 11:25:08 -07:00
  • 9529d43a21 ChangeLog entry for check-config subcmd Andreas Fuchs 2024-11-01 12:16:49 -04:00
  • dcf64f03fb Validate generated config file in the nixos module Andreas Fuchs 2024-10-30 11:19:10 -04:00
  • a02c551a5e Disallow any unknown fields in configuration files Andreas Fuchs 2024-10-30 11:11:29 -04:00
  • 26ba489aa3 Add a "check-config" command to validate config files & tests for it Andreas Fuchs 2024-10-04 10:49:08 -04:00
  • b391614d90 Merge branch 'charles/db-refactorings' into 'main' Charles Hall 2024-10-27 11:21:19 +00:00
  • 70ee206031 Extract source address for requests Lambda 2024-09-15 17:04:47 +00:00
  • 3247c64cd8 Add support for HAProxy proxy protocol for listeners Lambda 2024-09-15 15:55:47 +00:00
  • 99f3e2aecd Refactor server listener spawning Lambda 2024-09-15 15:12:49 +00:00
  • 86481fd651
    make reload_handles optional for creating Services Charles Hall 2024-10-22 12:17:03 -07:00
  • b03c2a15b3
    add observability infrastructure for cli subcmds Charles Hall 2024-10-10 14:30:13 -07:00
  • b93c39ee93 fix: use non-alias name in nixos module K900 2024-10-24 14:46:44 +00:00
  • 153e3e4c93
    make database config a sum type charles/db-refactorings Charles Hall 2024-10-08 19:20:58 -07:00
  • f5ba3e3062
    make each db backend responsible for its own setup Charles Hall 2024-10-08 19:16:18 -07:00
  • 5e3825c37c
    hardcode sqlite database file name Charles Hall 2024-10-08 19:02:18 -07:00
  • 989cad2715
    remove check_db_setup Charles Hall 2024-10-08 19:00:09 -07:00
  • a061afa431
    move open off of KeyValueDatabaseEngine Charles Hall 2024-09-26 17:14:15 -07:00
  • 4dd7e13f41
    break out function for opening unstructured db Charles Hall 2024-09-26 16:56:11 -07:00
  • 27dcb83c7e
    implement _file in terms of _folder Charles Hall 2024-09-26 20:02:02 -07:00
  • 76b12c3775
    wrap very long line Charles Hall 2024-09-26 20:11:53 -07:00
  • 59147cbae7
    remove outdated comment Charles Hall 2024-09-26 16:53:52 -07:00
  • ce7efc1eff
    move lasttimelinecount_cache to service Charles Hall 2024-10-08 14:40:54 -07:00
  • 107f4521e0
    move appservice_in_room_cache to service Charles Hall 2024-10-08 15:41:17 -07:00
  • 9d62865b28
    move our_real_users_cache to service Charles Hall 2024-10-08 15:21:07 -07:00
  • d3b62e598d
    move shortstatekey_cache to service Charles Hall 2024-10-08 13:38:12 -07:00
  • 190b788683
    move statekeyshort_cache to service Charles Hall 2024-10-08 13:27:02 -07:00
  • 2b2b4169df
    move eventidshort_cache to service Charles Hall 2024-09-30 21:45:04 -07:00
  • 095ee483ac
    move auth_chain_cache to service Charles Hall 2024-09-30 21:29:16 -07:00
  • 47502d1f36
    move shorteventid_cache to service Charles Hall 2024-09-30 21:06:37 -07:00
  • 7563360bee
    move pdu_cache to service Charles Hall 2024-09-30 20:37:50 -07:00
  • fb534d8140
    move userdevicesessionid_uiaarequest to service Charles Hall 2024-09-30 13:38:25 -07:00
  • a1fe0f3fff
    add service type for short Charles Hall 2024-09-30 20:52:06 -07:00
  • e0cf163486
    delete useless admin commands Charles Hall 2024-09-30 20:25:23 -07:00
  • 6a44d0af2b Fix u8_slice_to_hex() Lambda 2024-10-20 18:50:05 +00:00
  • c956e8f999 Merge branch 'charles/db-convert' into 'main' Charles Hall 2024-10-15 16:15:41 +00:00
  • 76a633cb66
    Log failed remote resident server join requests Andreas Fuchs 2024-10-13 19:24:41 -07:00
  • e001356653
    Return local join error if all remote joins fail Andreas Fuchs 2024-10-13 20:58:52 -04:00
  • bb52753a92
    allow configuring the admin bot localpart charles/cfg-admin-bot-localpart Charles Hall 2024-09-27 10:51:29 -07:00
  • 9589382cb8
    save the admin bot localpart Charles Hall 2024-09-27 16:06:14 -07:00
  • 76ea95634e
    make server name check errors much more specific Charles Hall 2024-09-27 17:47:17 -07:00
  • ea5605bbc3
    save server_name separately in the database Charles Hall 2024-09-27 15:22:20 -07:00
  • 43018e5793
    refactor server_name check Charles Hall 2024-09-27 17:31:18 -07:00
  • 12f2f89f81
    remove admin room membership checks Charles Hall 2024-09-27 13:12:14 -07:00
  • 5a490a4397
    fix mod/use order Charles Hall 2024-10-03 15:28:24 -07:00
  • 287f6b9163
    refactor calculate_invite_state mikoto 2024-09-17 18:07:58 +02:00
  • e3cb72e01d globals: make filter_keys_single_server() associated function lambda/expect-lint-reasons Lambda 2024-09-06 18:33:22 +00:00
  • cc3588ecbd service/users: add ConnectionKey type alias Lambda 2024-09-06 18:04:08 +00:00
  • 29634f689a service, database: extract cache capacity to variable Lambda 2024-09-06 18:03:37 +00:00
  • b09c44a0ca Use #[expect], lint reasons Lambda 2024-09-05 19:01:22 +00:00
  • e14b7f28f2
    Implement federation self-test Lambda 2024-09-20 12:05:24 +00:00
  • 6022d56094
    Use enums for options to send_request(), add allow_loopback Lambda 2024-09-21 10:47:55 +00:00
  • 94d523ebcb
    Reload TLS config on SIGHUP Lambda 2024-09-26 16:29:03 -07:00
  • 39880cc6ac
    Abstract over sd_notify Lambda 2024-09-26 16:27:58 -07:00
  • 0e3e5c10bf
    wip: db convert command charles/db-convert Charles Hall 2024-09-26 20:43:58 -07:00
  • b3d9cd5e9c
    remove database's dependency on entire Config Charles Hall 2024-09-26 17:36:29 -07:00
  • 14b0769a3e
    move open off of KeyValueDatabaseEngine Charles Hall 2024-09-26 17:14:15 -07:00
  • 7a228810e2
    break out function for opening unstructured db Charles Hall 2024-09-26 16:56:11 -07:00
  • b91aea687c
    implement _file in terms of _folder Charles Hall 2024-09-26 20:02:02 -07:00
  • 8aa17fc71c
    wrap very long line Charles Hall 2024-09-26 20:11:53 -07:00
  • 274d910800
    remove outdated comment Charles Hall 2024-09-26 16:53:52 -07:00
  • 6ab87f97dd
    include traceresponse header if possible Charles Hall 2024-09-22 11:01:33 -07:00
  • c1f158276e Merge branch 'benjamin/break-db-compatibility' into 'main' Benjamin Lee 2024-09-26 22:24:23 +00:00
  • 107e9e2a51
    add changelog entry for 'db migrate' command benjamin/break-db-compatibility Benjamin Lee 2024-09-14 01:47:13 -07:00
  • 8e966c7ac4
    error migrating to/from conduit with conduit_compat disabled Benjamin Lee 2024-09-17 22:20:59 -07:00
  • 3226d3a9eb
    add option to migrate database in-place without copying Benjamin Lee 2024-09-14 01:41:04 -07:00
  • b93d4f471c
    add 'db migrate' command option to specify target version Benjamin Lee 2024-09-14 01:18:11 -07:00
  • 6446822bf2
    add 'db migrate' subcommand Benjamin Lee 2024-09-13 14:44:51 -07:00
  • f3e0de22ad Merge branch 'benjamin/complement' into 'main' Benjamin Lee 2024-09-26 21:02:09 +00:00
  • a2ed21f1c2
    add copy_dir helper function Benjamin Lee 2024-09-09 18:19:12 -07:00
  • d7dedb8f10
    changelog entry for db compatibility break Benjamin Lee 2024-09-14 01:46:06 -07:00
  • cfbb11916a
    no-op migration to break db compatibility Benjamin Lee 2024-08-31 14:58:38 -07:00
  • 82a75dc2c1
    grapevine-specific db version namespace Benjamin Lee 2024-08-30 22:30:44 -07:00
  • 9add9a1e96
    fix room version comparisons Benjamin Lee 2024-09-24 21:26:06 -07:00
  • ad37eae869
    use OnceLock instead of RwLock for SERVICES Charles Hall 2024-09-24 20:05:18 -07:00
  • 032e1ca3c6
    hide global services jank in service module Charles Hall 2024-09-24 19:48:33 -07:00
  • 1fd20cdeba
    factor server_name change check into a reusable fn Charles Hall 2024-09-24 19:46:21 -07:00
  • c2c6083277
    make load_or_create *only* load_or_create Charles Hall 2024-09-24 17:44:33 -07:00
  • e9caf228b3
    move config check into config load function Charles Hall 2024-09-24 17:18:22 -07:00
  • 75ef57e0ce
    remove config check Charles Hall 2024-09-24 17:19:20 -07:00
  • 279c6472c5
    split some logic out of KeyValueDatabase::load_or_create Benjamin Lee 2024-09-08 16:31:51 -07:00
  • 059dfe54e3
    factor out helper function for db migrations Benjamin Lee 2024-08-30 17:47:57 -07:00
  • 2e03b39cdd
    kill dangling docker containers in complement run benjamin/complement Benjamin Lee 2024-06-22 14:21:50 -07:00
  • e6f5aa6150
    write raw log file in complement wrapper Benjamin Lee 2024-06-22 00:22:33 -07:00
  • 0eee282558
    handle cancellation in complement wrapper Benjamin Lee 2024-06-22 00:12:23 -07:00
  • f76806655f
    xtask-specific binaries in GRAPEVINE_XTASK_PATH Benjamin Lee 2024-06-21 17:08:10 -07:00
  • 102430cc79
    CLI help for the complement script Benjamin Lee 2024-06-21 16:25:57 -07:00
  • 8eab6eea20
    compare complement test results to a baseline Benjamin Lee 2024-06-21 16:33:51 -07:00
  • ab883ffa44
    write complement per-test logs to files Benjamin Lee 2024-06-21 12:04:59 -07:00
  • b3b1d43d8e
    write complement test result summary to a tsv file Benjamin Lee 2024-06-21 12:02:27 -07:00
  • e4e224f5dc
    add live progress display to complement wrapper Benjamin Lee 2024-06-21 00:17:06 -07:00
  • ef6eb27b9b
    add complement wrapper xtask script Benjamin Lee 2024-06-20 19:06:57 -07:00
  • 3f89bc4a7c
    allow 'nix build'-specific nix-build-and-cache args Benjamin Lee 2024-06-20 00:40:44 -07:00
  • 1bfcf62d2a
    move dependencies and some package attrs to workspace Benjamin Lee 2024-06-19 19:38:31 -07:00