strawberry
6f473efbc8
use BTreeMap again
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-22 23:42:22 -04:00
strawberry
42b450e266
remove unnecessary match arm for space invite join_rule
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-22 23:31:46 -04:00
renovate[bot]
8ef3c016f1
fix(deps): update rust crate regex to 1.10.4
2024-03-22 22:52:55 -04:00
strawberry
5f57fded19
forgot to fix these ones too
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-22 22:50:38 -04:00
strawberry
f956eec75f
resolve and add even more pedantic clippy lints
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-22 22:44:31 -04:00
strawberry
c78410f056
resolve clippy match_bool
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-22 21:55:05 -04:00
strawberry
d466c12c02
resolve couple pedantic clippy lints, remove unnecessary qualifications
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-22 21:51:21 -04:00
strawberry
04fd1ce622
format cargo.toml
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-22 21:50:51 -04:00
strawberry
64fa936b85
ci: make docker username and GHCR variables
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-22 21:50:19 -04:00
strawberry
31c3b37d09
add zed to .gitignore
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-22 21:49:55 -04:00
strawberry
9fe6c2c087
update differences.md
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-22 20:28:58 -04:00
strawberry
a8e815bfc5
only allow up to info level logging on release builds
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-22 20:17:38 -04:00
strawberry
87a2e2849b
bump ruma and bytes
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-22 20:05:17 -04:00
strawberry
afdfdc8e8b
add main.rs test for unix maximize_fd_limit
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-22 20:05:13 -04:00
Charles Hall
72adedf87a
allow including extra info in --version
output
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-22 19:50:57 -04:00
strawberry
1d31dbf5cd
remove rocksdb prefix extractor
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-22 19:48:52 -04:00
Timo Kösters
6f1d1bc8c6
refactor: remove previous typing implementation and add sync wakeup for new one
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-22 19:47:56 -04:00
Matthias Ahouansou
25a22cecc2
refactor appservice type stuff
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-22 19:21:51 -04:00
strawberry
652613b9fb
log room for backfill_if_required requests
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-22 00:32:57 -04:00
strawberry
634d2db1e1
Revert RocksDB 9.0.0 update
...
there seems to be a regression, likely from https://github.com/facebook/rocksdb/issues/12361 / https://github.com/facebook/rocksdb/pull/12309
```
[1/0/2 built] building rocksdb-9.0.0 (configurePhase): -- Detecting CXX compile features - donedirenv: ([/Users/strawberry/.nix-profile/bin/direnv export zsh]) is taking a while to execute. Use CTRL-C to give up.
error: builder for '/nix/store/9slwgpnardhn2vqzqhn361ic668n38wq-rocksdb-9.0.0.drv' failed with exit code 1;
last 10 log lines:
> -- Found lz4: /nix/store/cafwv4439qbm2ij04mpc7xz5m3f7mfix-lz4-1.9.4/lib/liblz4.dylib
> CMake Error at /nix/store/bin32lqag7lx38994xpf9jvhk1xbd64c-cmake-3.28.2/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
> Could NOT find zstd (missing: ZSTD_INCLUDE_DIRS)
> Call Stack (most recent call first):
> /nix/store/bin32lqag7lx38994xpf9jvhk1xbd64c-cmake-3.28.2/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
> cmake/modules/Findzstd.cmake:17 (find_package_handle_standard_args)
> CMakeLists.txt:167 (find_package)
>
>
> -- Configuring incomplete, errors occurred!
For full logs, run 'nix log /nix/store/9slwgpnardhn2vqzqhn361ic668n38wq-rocksdb-9.0.0.drv'.
error: 1 dependencies of derivation '/nix/store/ir8jf2wic98iymjlk7d2i1kjjsgv15v2-nix-shell-env.drv' failed to build
```
happens in both rust-rocksdb and our fork of rust-rocksdb
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-21 23:59:55 -04:00
strawberry
96b73342f4
Revert "bump rocksdb in nix flake"
...
This reverts commit 4475c1ba25
.
2024-03-21 23:56:26 -04:00
strawberry
4475c1ba25
bump rocksdb in nix flake
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-21 23:39:18 -04:00
strawberry
b4943fcdcf
remove/update incorrect example config comment
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-21 23:34:27 -04:00
strawberry
64bed79aff
bump conduwuit version to 0.1.9
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-21 23:25:42 -04:00
strawberry
aefb7d94ea
fix incorrect v1 URL path for URL previews
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-21 23:23:20 -04:00
strawberry
65612fd6eb
follow 3 redirects for federation requests instead of 2
...
just in case
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-21 23:19:41 -04:00
strawberry
69522b4e98
follow 3 redirects for URL previews instead of 6
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-21 23:18:44 -04:00
strawberry
b55bef15a1
document new timeout config options
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-21 23:16:33 -04:00
strawberry
c56ab53094
oops forgot to commit these new files
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-21 23:16:20 -04:00
Jason Volk
1b0f1af074
refactor reqwest client suite w/ conf items.
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-03-21 22:25:19 -04:00
Jason Volk
c611a1a0d9
add corks to coalesce writes for several heavy calltrees.
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-03-21 22:25:04 -04:00
Jason Volk
2f4a6ff9b6
add write buffer corking using rocksdb manual_wal_flush.
...
Signed-off-by: Jason Volk <jason@zemos.net>
2024-03-21 22:24:47 -04:00
Charles Hall
614022a965
make chapter name reflect file name
...
Personally I think this makes more sense anyway.
2024-03-21 22:23:45 -04:00
Charles Hall
4541fd35f0
reduce scope of nixos documentation
...
There are so many ways to do this we realistically shouldn't bother
describing any of them, especially because people should be learning all
the options and choosing the one that suits them best anyway.
Co-authored-by: strawberry <strawberry@puppygock.gay>
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-21 22:22:43 -04:00
strawberry
70d9a1c556
rename Docker header
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-21 22:19:20 -04:00
Charles Hall
19205ba60a
rename "simple" deployment to "generic"
...
The main thing this section is really useful for is explaining how to
configure various reverse proxies, which applies to basically anything.
Also, remove all the language about this being "recommended", because
nothing in this documentation is actually tested in CI.
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-21 22:18:33 -04:00
Charles Hall
bd9a5c83a7
remove section about cross compilation
...
It is very stale. Please just use Nix. Trying to do it outside of Nix
will be an exercise in frustration, I guarantee it.
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-21 22:17:10 -04:00
strawberry
db8b5e033a
bump ruma, rust-rocksdb, and cargo.lock
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-21 22:17:03 -04:00
Charles Hall
77215adb5a
avoid duplicating links in documentation
...
Because one might forget to update them. I did, initially, which is why
I'm making this change.
2024-03-21 22:15:49 -04:00
Charles Hall
0339b153af
add mdbook to the devshell
2024-03-21 22:15:36 -04:00
renovate[bot]
ce97a03b07
fix(deps): update rust crate jsonwebtoken to 9.3.0
2024-03-21 22:08:45 -04:00
strawberry
d5db11eb45
significantly drop URL preview timeouts
...
theres no reason for us to spend so long trying to get
a preview
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-20 22:18:23 -04:00
strawberry
ba80fbd2a4
raise connection pooling idle timeout to 50 seconds
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-20 22:17:17 -04:00
strawberry
3a1941a972
raise get_keys_helper timeout even more
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-20 22:16:39 -04:00
strawberry
e6ab3ac2ad
update book.toml for conduwuit
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-20 21:33:08 -04:00
strawberry
fd428e9512
slight request logging improvements
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-20 21:20:04 -04:00
strawberry
32188ba1f9
auto join rooms from admin room created users too
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-20 21:16:03 -04:00
strawberry
a51bc163f5
fix wrong error message about presence
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-20 18:28:34 -04:00
strawberry
f27d98cfb5
skip rooms we have not joined before for auto-join
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-20 18:09:07 -04:00
strawberry
d62c01b3c0
default to None if "name" in m.room.name
is empty
...
Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-03-20 17:43:48 -04:00