Devon Hudson
07d2976854
Finish s&f rename refactor
2023-01-12 08:21:26 -07:00
Devon Hudson
40563741da
Another incremental renaming refactor for s&f
2023-01-11 16:42:55 -07:00
Devon Hudson
ed71fe63ae
Another incremental renaming refactor of relay server
2023-01-11 16:28:16 -07:00
Devon Hudson
7b2cbc7133
Incremental renaming refactor of relay server
2023-01-11 14:14:57 -07:00
Devon Hudson
1b2a043993
Add comment clarifying relay server sync loop
2023-01-11 13:22:54 -07:00
Devon Hudson
c8a6c3627d
Add log to pinecone demo when relay server query fails
2023-01-11 12:04:13 -07:00
Devon Hudson
3b3e235969
Switch pinecone demo to use new TotalPeerCount for clarity
2023-01-11 11:56:37 -07:00
Devon Hudson
b8bb0395c5
Fix more s&f architecture docs typo
2023-01-11 11:14:07 -07:00
Devon Hudson
2958ce76c6
Fix s&f architecture docs typo
2023-01-11 11:11:52 -07:00
Devon Hudson
18cc81fb9f
Add tests for caching relay servers from db
2022-12-23 17:07:51 -07:00
Devon Hudson
3eebf431ef
Add test for federation directory lookup handler
2022-12-23 16:40:28 -07:00
Devon Hudson
e7f2841d7d
Add basic test for pinecone monolith
2022-12-23 16:03:46 -07:00
Devon Hudson
90690b96ff
Add test for federation keys endpoint
2022-12-23 15:22:26 -07:00
Devon Hudson
be43dfe5e0
Add test for federation query profile endpoint
2022-12-23 10:17:26 -07:00
Devon Hudson
8b53cdce57
Add test for federation query directory endpoint
2022-12-23 10:08:03 -07:00
Devon Hudson
f18a838297
Add test for federation send endpoint
2022-12-23 09:14:24 -07:00
Devon Hudson
a5e012eda9
Merge branch 'main' into mailbox
2022-12-23 08:21:02 -07:00
Devon Hudson
b417a09b07
Add fed query relay servers test
2022-12-23 08:04:14 -07:00
Devon Hudson
f76336151c
Add fed wakeup servers test
2022-12-23 07:53:56 -07:00
Till
e449d174cc
Add possibility to run complement with coverage enabled ( #2901 )
...
This adds the possibility to run Complement with coverage enabled.
In combination with https://github.com/matrix-org/complement/pull/566 we
should then be able to extract the coverage logs, combine them with
https://github.com/wadey/gocovmerge (or similar) and upload them to
Codecov (with different flags, depending on SQLite, HTTP etc.)
2022-12-23 14:28:15 +01:00
Till
f762ce1050
Add clientapi tests ( #2916 )
...
This PR
- adds several tests for the clientapi, mostly around `/register` and
auth fallback.
- removes the now deprecated `homeserver` field from responses to
`/register` and `/login`
- slightly refactors auth fallback handling
2022-12-23 14:11:11 +01:00
Till
f47515e38b
Pushrule tweaks, make pattern non-optional on EventMatchCondition ( #2918 )
...
This should fix https://github.com/matrix-org/dendrite/issues/2882
(Tested with FluffyChat 1.7.1)
Also adds tests that the predefined push rules (as per the spec) is what
we have in Dendrite.
2022-12-23 12:52:47 +01:00
Devon Hudson
691c29180f
Flush out txn request pdu failure case testing
2022-12-22 16:38:03 -07:00
Devon Hudson
4d523a6353
Add tests for internal relayapi http interface
2022-12-22 15:35:39 -07:00
Devon Hudson
643ae6f45f
Add failure cases tests to txn requests
2022-12-22 14:57:54 -07:00
Devon Hudson
5f8f6585be
Add tests for transaction request edus
2022-12-22 13:19:03 -07:00
Devon Hudson
ead825b1bf
Add fed storage tests for assumed offline & relay servers
2022-12-22 10:38:34 -07:00
Devon Hudson
9a159e3ae0
Consolidate relay servers table prepare statements
2022-12-22 10:05:23 -07:00
Devon Hudson
6c47069b0b
Remove duplicate db statement prepares
2022-12-22 09:47:26 -07:00
Devon Hudson
e5feacbfc0
Consolidate relay db prepare statements
2022-12-22 09:42:56 -07:00
Devon Hudson
e83068e079
Remove unused events from pinecone monolith handling
2022-12-22 09:42:16 -07:00
Devon Hudson
eaa09f0d82
Goimports config test imports
2022-12-22 08:26:13 -07:00
devonh
044f1d1f37
Merge branch 'main' into mailbox
2022-12-22 15:22:41 +00:00
Devon Hudson
13cb10f44a
Fix Transaction request pdus for full path testing
2022-12-22 08:14:55 -07:00
Till
5eed31fea3
Handle guest access [1/2?] ( #2872 )
...
Needs https://github.com/matrix-org/sytest/pull/1315 , as otherwise the
membership events aren't persisted yet when hitting `/state` after
kicking guest users.
Makes the following tests pass:
```
Guest users denied access over federation if guest access prohibited
Guest users are kicked from guest_access rooms on revocation of guest_access
Guest users are kicked from guest_access rooms on revocation of guest_access over federation
```
Todo (in a follow up PR):
- Restrict access to CS API Endpoints as per
https://spec.matrix.org/v1.4/client-server-api/#client-behaviour-14
Co-authored-by: kegsay <kegan@matrix.org>
2022-12-22 13:05:59 +01:00
Till Faelligen
09dff951d6
More flakey tests
2022-12-22 13:04:32 +01:00
Till
d1d2d16738
Fix reset password endpoint ( #2921 )
...
Fixes the admin password reset endpoint.
It was using a wrong variable, so could not detect the user.
Adds some more checks to validate we can actually change the password.
2022-12-22 11:54:03 +01:00
Till Faelligen
beea2432e6
Fix flakey test
2022-12-22 11:31:54 +01:00
Till
d3db542fbf
Add federation peeking table tests ( #2920 )
...
As the title says, adds tests for inbound/outbound peeking federation
table tests.
Also removes some unused code
2022-12-22 10:56:20 +01:00
Devon Hudson
4597a5a405
Add basic edu handling test to transaction request
2022-12-21 13:08:35 -07:00
Devon Hudson
95f08c349d
Add initial transaction request unit test
2022-12-21 11:44:55 -07:00
Devon Hudson
05769fa60e
Cleanup new file license headers
2022-12-21 10:42:35 -07:00
Devon Hudson
f25986d8fd
Fix race in pinecone monolith tests
2022-12-21 09:13:09 -07:00
Devon Hudson
a91e33037c
Add tests for pinecone monolith
2022-12-21 08:26:24 -07:00
Devon Hudson
59a5dd2bfa
Add test coverage for config verification
2022-12-20 10:27:02 -07:00
Devon Hudson
9f27e691fc
Remove unused code from fed send route tests
2022-12-19 15:14:53 -07:00
Devon Hudson
96d5467e03
Cleanup relayapi usage in p2p demos
2022-12-19 14:09:16 -07:00
Devon Hudson
9f7f60e9e2
Update gmsl
2022-12-19 12:29:23 -07:00
Devon Hudson
4f3ef6897a
Remove non-json fields from transaction tests for relayapi
2022-12-19 12:07:57 -07:00
Devon Hudson
81278440db
Remove extra logging in relayapi
2022-12-19 11:37:05 -07:00