Neil Alexander
554d15fc8e
Merge branch 'master' into neilalexander/nats
2021-07-21 13:37:04 +01:00
Neil Alexander
f0f8c7f055
Optimise QueryServerJoinedToRoom ( #1933 )
...
* Optimise checking if a server is in a room
* Fix queries
* Fix queries
2021-07-21 13:06:32 +01:00
Neil Alexander
2f5e4f5991
Support initial_state properly in /createRoom
( #1932 )
...
* Refactor room creation to allow initial_state
* GMSL types
* Tweaks to alias
* Fix ordering
* Fix bugs
* Fix create content
* Only unmarshal create content if specified
* Review comments @Kegsay
2021-07-21 12:31:46 +01:00
Neil Alexander
c6acb94af4
Update to matrix-org/gomatrixserverlib#270
2021-07-20 15:14:24 +01:00
J. Ryan Stinnett
034f5ae3f1
Add startup testing for Wasm Pinecone build ( #1910 )
...
* Only include go-sqlite3 on the relevant binaries
* The driver name is always sqlite3 now
* Update to matrix-org/go-sqlite3-js@e537baa
* Add initial Wasm test harness
* Upgrade go-sqlite3-js
This fixes an error about semicolons in single statements.
* Add browser-like WebSocket API for testing
* Upgrade go-sqlite3-js
This upgrade includes printing panic messages next to stacks.
* Run for all PRs targeting any branch
* Use manual Node caching
* Temporarily run for all pushes
* Use npm ci instead of install
* Use HTTPS auth for repo packages
* Match path style from build.sh
* update utp
Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2021-07-20 12:14:58 +01:00
Neil Alexander
f63068df3b
Only include go-sqlite3 on the relevant binaries ( #1900 )
...
* Only include go-sqlite3 on the relevant binaries
* The driver name is always sqlite3 now
* Update to matrix-org/go-sqlite3-js@e537baa
2021-07-20 11:18:14 +01:00
Neil Alexander
0ff078ebd7
Fixed log printing bug ( closes #1885 )
...
Signed-off-by: Kilos kilosliu@workly.ai>
2021-07-20 10:49:12 +01:00
S7evinK
da2023ba04
Rename Riot to Element ( #1874 )
...
* s/riot/element/g
Signed-off-by: Till Faelligen <tfaelligen@gmail.com>
* fix formatting
Co-authored-by: kegsay <kegan@matrix.org>
Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2021-07-20 09:45:40 +01:00
David Spenler
8d8fe485b4
Fix failing ban tests ( #1884 )
...
* Add room membership and powerlevel checks for func SendBan
* Added non-error return to func GetStateEvent when no state events with the specified state key are found
* Add passing tests to whitelist
* Fixed formatting
* Update roomserver/storage/shared/storage.go
Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
Co-authored-by: kegsay <kegan@matrix.org>
Co-authored-by: kegsay <kegsay@gmail.com>
2021-07-19 18:33:05 +01:00
S7evinK
5094bc89bf
Set MaxFileSizeBytes <= 0 to unlimited ( #1876 )
...
* Revert "Set MaxFileSizeBytes <= 0 to "unlimited" (#1875 )"
This reverts commit 9ed0440421
.
* Actually allow unlimited upload
Signed-off-by: Till Faelligen <tfaelligen@gmail.com>
Co-authored-by: kegsay <kegan@matrix.org>
2021-07-19 17:58:51 +01:00
Neil Alexander
09d3bab838
Metric fixes
...
Squashed commit of the following:
commit c6eb4d8bbf
Author: Neil Alexander <neilalexander@users.noreply.github.com>
Date: Mon Jul 19 16:52:57 2021 +0100
Fix bug
commit d420966d9a
Author: Neil Alexander <neilalexander@users.noreply.github.com>
Date: Mon Jul 19 16:46:12 2021 +0100
Update metric
commit 0ad6e37846
Author: Neil Alexander <neilalexander@users.noreply.github.com>
Date: Mon Jul 19 16:30:14 2021 +0100
Fix observe for calculateStateDurations
2021-07-19 17:20:55 +01:00
Neil Alexander
eb2a8e4c0b
Set buckets for dendrite_roomserver_calculate_state_duration_microseconds
2021-07-19 16:07:06 +01:00
Neil Alexander
b20d402f39
dendrite_roomserver_calculate_state_duration_microseconds as histogram rather than summary
2021-07-19 15:34:12 +01:00
Neil Alexander
628e4cc709
Update to matrix-org/gomatrixserverlib#269
2021-07-19 15:09:01 +01:00
kegsay
af64e648d7
Fix failing Complement tests ( #1931 )
...
* Check for missing state keys to avoid panicking
* Check for not allowed errors on send_leave
* More logging
* handle send_join errors too
* Additional send_join checks
* s/join/gmsl.json/
2021-07-19 13:15:19 +01:00
S7evinK
b954343d73
Fix DNS CacheLifetime ( #1926 )
...
Signed-off-by: Till Faelligen <tfaelligen@gmail.com>
2021-07-16 19:42:53 +01:00
kegsay
728061db03
fedsender: try to satisfy all notary key requests from the cache first ( #1925 )
...
* fedsender: try to satisfy all notary key requests from the cache first
* Linting
2021-07-16 11:35:42 +01:00
kegsay
c102adaf43
fedsender: add cache tables for notary keys ( #1923 )
...
* Add notary server tables for postgres
* Add sqlite tables
* fedsender: GetServerKeys -> QueryServerKeys
As it now checks a cache and can return multiple responses
2021-07-15 17:45:37 +01:00
Neil Alexander
1827dd7c09
Update dendrite-demo-yggdrasil to Yggdrasil 0.4 ( #1921 )
...
* Update Yggdrasil P2P demo for Yggdrasil v0.4
* Build fixes
2021-07-15 12:16:44 +01:00
Neil Alexander
5e07ebfa8f
Update nats.go dependency
2021-07-15 09:58:32 +01:00
Kegan Dougal
c211fdf581
Add missing sytest to whitelist
2021-07-14 18:13:00 +01:00
kegsay
e8de96b78c
sytests: fix failing PL tests by updating GMSL ( #1920 )
2021-07-14 15:48:14 +01:00
Neil Alexander
af49ce17a7
Restore storage/retention
2021-07-14 15:45:46 +01:00
Neil Alexander
0f65b8a621
Try to use in-memory for CI
2021-07-14 15:25:15 +01:00
Neil Alexander
ee6bfe24f5
Try to sane default on jetstream base path
2021-07-14 15:22:25 +01:00
Neil Alexander
ec4e0302c0
Disable interest policies
2021-07-14 14:50:17 +01:00
Neil Alexander
74735e7cd5
Config tweaks, make random jetstream storage path for CI
2021-07-14 14:26:14 +01:00
Neil Alexander
be60a3bda4
Build fixes
2021-07-14 14:08:25 +01:00
Neil Alexander
48322bc2b2
Various other refactoring
2021-07-14 14:06:14 +01:00
Neil Alexander
8f40e8fd5e
Merge branch 'master' into neilalexander/nats
2021-07-14 13:47:09 +01:00
Neil Alexander
fa1397c21e
Remove unused binaries
2021-07-14 13:46:35 +01:00
Neil Alexander
4c45de81b3
Jetstream package
2021-07-14 13:34:42 +01:00
Neil Alexander
a92936ffa4
Merge branch 'master' into neilalexander/nats
2021-07-14 11:10:51 +01:00
Neil Alexander
5a76c3b07a
Update go.mod/go.sum
2021-07-14 10:49:22 +01:00
kegsay
2713d1935e
AWSY: update list and shuffle groups ( #1919 )
...
So it's more accurate.
2021-07-14 10:48:34 +01:00
kegsay
e80098e186
bugfix: retire invites even when we cannot talk to the remote server to make/send_leave ( #1918 )
...
* bugfix: retire invites even when we cannot talk to the remote server to make/send_leave
Also modify the leave response in /sync to include a fake event as this is ultimately
what clients (and sytest) will use to determine leave-ness.
* hash the event ID
* Base64 not hex
2021-07-14 10:39:17 +01:00
Neil Alexander
beb2ddf03d
Make sure NATS uses own persistent directory (TODO: make this configurable)
2021-07-14 10:23:04 +01:00
Neil Alexander
e2d562257c
Try setting up with NATS
2021-07-13 13:34:41 +01:00
kegsay
7df3e691f2
Fix failing complement test ( #1917 )
...
Specifically `TestBannedUserCannotSendJoin`
2021-07-13 12:22:27 +01:00
kegsay
f8ae391a5b
Expose more data when outputting output room events ( #1916 )
...
* Add more logging for content fields
* Fix fields
2021-07-13 11:19:21 +01:00
kegsay
f698142073
update whitelist ( #1914 )
...
* update whitelist
* newline
2021-07-12 19:42:05 +01:00
Kegan Dougal
93cf1e7590
Actually bump GMSL
2021-07-12 18:58:25 +01:00
kegsay
b130fab583
Update are we synapse groupings ( #1913 )
2021-07-12 16:27:13 +01:00
Kegan Dougal
ea477d7d66
Update blacklist
2021-07-12 16:11:26 +01:00
Neil Alexander
913e4e651f
Merge branch 'add-nats-support' of github.com:s7evink/dendrite into add-nats-support
2021-07-12 14:02:09 +01:00
Neil Alexander
a478b1682c
Merge branch 'master' into add-nats-support
2021-07-12 14:01:28 +01:00
Neil Alexander
48bdd79bde
Fix attribution in changelog
2021-07-12 11:54:11 +01:00
Neil Alexander
89a16bdcd9
Version 0.4.0
2021-07-12 11:48:29 +01:00
Kegan Dougal
0530302cd6
Add shared secret sytests to whitelist
2021-07-12 11:48:08 +01:00
Melroy van den Berg
e48a08fef0
Propose config better ( #1758 )
...
Better explain where the config file are located and how to deal with the yml file.
Co-authored-by: kegsay <kegan@matrix.org>
2021-07-12 10:13:17 +01:00