strawberry
4a55f6ee79
simplify conduwuit version number, bump to 0.3.0
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-04-24 14:59:46 -04:00
Tom Foster
dea57e3ddf
Improved CI artifact filename handling
2024-04-24 14:55:20 -04:00
Jason Volk
6060e63a1c
cleanup/refactor sender base loop
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-04-24 04:12:37 -04:00
Jason Volk
5a9d4e2df8
Revert "Revert "prevent empty transactions from going out""
...
This reverts commit bb43351658
.
2024-04-24 04:12:29 -04:00
strawberry
e0c122b3f7
delete all active requests for the appservice when we delete it
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-04-24 02:19:52 -04:00
strawberry
ec5352166e
misc changes
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-04-24 02:19:50 -04:00
strawberry
9aa704556b
resolve rust 1.75 error?
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-04-24 01:23:59 -04:00
strawberry
0ff0655c13
make "release_max_level_info" into a crate feature
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-04-24 01:15:49 -04:00
strawberry
18a49f231a
please stop "rustc-ice"
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-04-24 01:02:05 -04:00
strawberry
7419f310c0
adjust appservice sending logging
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-04-24 01:00:19 -04:00
strawberry
847f6cfd99
remove unnecessary appservice reqwest timeout, reduce couple unwraps, return if unsuccessful HTTP response
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-04-24 00:43:31 -04:00
strawberry
6aa64b95a1
slightly adjust pusher logging, return if non-successful status instead of continuing
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-04-24 00:38:18 -04:00
strawberry
fd65de45c3
missing semicolon
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-04-24 00:03:42 -04:00
Jason Volk
93794b6603
improve various logging
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-04-24 00:02:11 -04:00
Jason Volk
32cd77d9a3
split sending/send base functions
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-04-24 00:02:08 -04:00
Jason Volk
3ac9c5accd
abbrev destination in sender
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-04-24 00:01:54 -04:00
strawberry
3474bd4d28
partially revert this in main.rs
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-04-24 00:01:51 -04:00
Jason Volk
462fe05041
split request base result handling and tweak logging
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-04-23 23:55:44 -04:00
Jason Volk
995eab4fe4
add release_log_level feature to simulate release logs in debug mode.
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-04-23 23:51:28 -04:00
Jason Volk
400447d0b6
move clap into utils
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-04-23 23:51:11 -04:00
strawberry
43d20e6a26
slight misc error.rs changes
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-04-23 23:44:56 -04:00
renovate[bot]
8a6be8b9e6
chore(deps): update nixos/nix docker tag to v2.22.0
2024-04-23 23:35:23 -04:00
Tom Foster
a002078333
Multi-threaded CI to accelerate builds
2024-04-23 23:32:28 -04:00
strawberry
9ac04cd411
ignore irrelevant cargo audit RUSTSEC in engage explicitly
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-04-23 22:34:26 -04:00
strawberry
5674defe99
try logging the full URI instead of just the path for tracing_span
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-04-23 22:33:06 -04:00
strawberry
0a56ffacc0
allow RUSTSEC-2020-0016 due to hot lib reload
...
this is an optional crate anyways
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-04-23 20:15:37 -04:00
strawberry
e27a5ba80f
use 403 for auth check fails everywhere else
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-04-23 19:37:11 -04:00
strawberry
dbbada694a
use HTTP 403 (forbidden) instead of HTTP 400 for membership failed auth checks
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-04-23 18:59:14 -04:00
strawberry
4d27fe454b
add back complement test results (dir subject to change?)
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-04-23 18:38:37 -04:00
strawberry
efdf1c9f24
docs: fix complement script command
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-04-23 17:59:15 -04:00
strawberry
4bc023f1b4
fix(appservices): don't perform identity assertion when auth is optional
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-04-23 17:11:30 -04:00
strawberry
47f6e1f58d
replace all mentions of docker compose v1
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-04-23 01:39:13 -04:00
strawberry
60d8f69bef
use perf_measurements attributes here
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-04-23 01:36:55 -04:00
Jason Volk
b85e5e325f
reduce tls override cache lock exposure
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-04-23 00:30:16 -04:00
strawberry
a205a144ff
remove some various unused functions and mark some possibly important ones *for now*
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-04-22 23:54:56 -04:00
strawberry
9dd9aeea97
make everything pub(crate) instead of pub
...
conduwuit is not a library
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-04-22 23:48:57 -04:00
strawberry
52b9a837b6
conduit "library" delete, resolve some warnings from that
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-04-22 22:36:11 -04:00
strawberry
d08b377c6c
flip min_duration and max_duration
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-04-22 20:24:29 -04:00
Jason Volk
81a4283f19
cleanup scoped types; improve error logging
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-04-22 20:16:30 -04:00
Jason Volk
51a3b13fd2
add conf item for sender retry backoff limit
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-04-22 20:16:27 -04:00
Jason Volk
93b894a72c
resolver defaults to error for everything except NoRecordsFound.
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-04-22 20:16:09 -04:00
strawberry
eabf2a94c9
add all
admin query command for appservices
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-04-22 18:53:40 -04:00
strawberry
601b5d7adf
remove mentions of "outgoing_kind" everywhere else too
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-04-22 18:41:01 -04:00
strawberry
22874c0fc5
rename OutgoingKind to Destination, add QueuedRequests and ActiveRequestsFor admin query commands
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-04-22 17:28:15 -04:00
Tom Foster
5a8921558e
Separate CI job for publishing docker manifest
2024-04-22 11:49:35 -04:00
strawberry
af6ed05b6a
dont allow admin room to be made world readable
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-04-22 02:54:06 -04:00
Charles Hall
f59e47065c
update flake.lock
...
Flake lock file updates:
• Updated input 'attic':
'github:zhaofengli/attic/6eabc3f02fae3683bffab483e614bebfcd476b21?narHash=sha256-wSZjK%2BrOXn%2BUQiP1NbdNn5/UW6UcBxjvlqr2wh%2B%2BMbM%3D' (2024-02-14)
→ 'github:zhaofengli/attic/4dbdbee45728d8ce5788db6461aaaa89d98081f0?narHash=sha256-0O4v6e4a1toxXZ2gf5INhg4WPE5C5T%2BSVvsBt%2B45Mcc%3D' (2024-03-29)
• Updated input 'attic/nixpkgs':
'github:NixOS/nixpkgs/aa9d4729cbc99dabacb50e3994dcefb3ea0f7447?narHash=sha256-KnIRG5NMdLIpEkZTnN5zovNYc0hhXjAgv6pfd5Z4c7U%3D' (2023-12-14)
→ 'github:NixOS/nixpkgs/07262b18b97000d16a4bdb003418bd2fb067a932?narHash=sha256-QoQqXoj8ClGo0sqD/qWKFWezgEwUL0SUh37/vY2jNhc%3D' (2024-03-25)
• Updated input 'attic/nixpkgs-stable':
'github:NixOS/nixpkgs/1e2e384c5b7c50dbf8e9c441a9e58d85f408b01f?narHash=sha256-blbrBBXjjZt6OKTcYX1jpe9SRof2P9ZYWPzq22tzXAA%3D' (2023-12-17)
→ 'github:NixOS/nixpkgs/44733514b72e732bd49f5511bd0203dea9b9a434?narHash=sha256-akSgjDZL6pVHEfSE6sz1DNSXuYX6hq%2BP/1Z5IoYWs7E%3D' (2024-03-26)
• Updated input 'crane':
'github:ipetkov/crane/55f4939ac59ff8f89c6a4029730a2d49ea09105f?narHash=sha256-Vz1KRVTzU3ClBfyhOj8gOehZk21q58T1YsXC30V23PU%3D' (2024-04-21)
→ 'github:ipetkov/crane/f6c6a2fb1b8bd9b65d65ca9342dd0eb180a63f11?narHash=sha256-qd/MuLm7OfKQKyd4FAMqV4H6zYyOfef5lLzRrmXwKJM%3D' (2024-04-21)
• Updated input 'fenix':
'github:nix-community/fenix/aa45c3e901ea42d6633af083c0c555efaf948b17?narHash=sha256-nTaO7ZDL4D02dVC5ktqnXNiNuODBUHyE4qEcFjAUCQY%3D' (2024-03-28)
→ 'github:nix-community/fenix/19aaa94a73cc670a4d87e84f0909966cd8f8cd79?narHash=sha256-3pbv7UgAgetwz9YdjzIT/lZ6Rgj6wj6MR4mphBLyDjU%3D' (2024-04-21)
• Updated input 'fenix/rust-analyzer-src':
'github:rust-lang/rust-analyzer/ad51a17c627b4ca57f83f0dc1f3bb5f3f17e6d0b?narHash=sha256-s/YOyBM0vumhkqCFi8CnV5imFlC5JJrGia8CmEXyQkM%3D' (2024-03-27)
→ 'github:rust-lang/rust-analyzer/55d9a533b309119c8acd13061581b43ae8840823?narHash=sha256-iN5QUlUq527lswmBC%2BRopfXdu6Xx7mmTaBSH2l59FtM%3D' (2024-04-20)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/2726f127c15a4cc9810843b96cad73c7eb39e443?narHash=sha256-UKcYiHWHQynzj6CN/vTcix4yd1eCu1uFdsuarupdCQQ%3D' (2024-03-27)
→ 'github:NixOS/nixpkgs/5c24cf2f0a12ad855f444c30b2421d044120c66f?narHash=sha256-XtTSSIB2DA6tOv%2Bl0FhvfDMiyCmhoRbNB%2B0SeInZkbk%3D' (2024-04-19)
2024-04-22 02:49:36 -04:00
Charles Hall
60756b16d5
add cargo-audit to the devshell
...
Apparently github actions VMs ship with it and that's how it was working
before? Cursed. We should control our own supply chain and also ensure
that local development uses the same version as CI.
2024-04-22 02:49:36 -04:00
Charles Hall
8a7e8271ad
use lib.makeScope
and files to organize packages
...
Some of the improvements here include:
* rocksdb can actually use jemalloc now instead of just pulling in a
second rocksdb for no reason
* "complement-runtime" factored back out into shell file
* complement image no longer uses `mkDerivation` for `copyToRoot`
because that's what `buildEnv` is for
* complement image no longer sets `SERVER_NAME`, complement already does
that
* all packages were factored out into `callPackage`-able files for use
with a custom `lib.makeScope pkgs.newScope`
* new version of `mkPackage` has options that are easier to use and
override such as `features`
2024-04-22 02:49:36 -04:00
Charles Hall
e678af7601
always go through inputs
2024-04-22 02:49:36 -04:00