Commit graph

2699 commits

Author SHA1 Message Date
Devon Hudson 7c692e7eda
Check that db actually returned json blob for requested nid 2023-01-17 15:50:25 -07:00
Devon Hudson d440223e04
Delete relay entries and json in a single transaction 2023-01-17 15:38:04 -07:00
Devon Hudson c476e71ec3
Update sendrelay_test todo contexts to background 2023-01-17 14:49:30 -07:00
Devon Hudson 0e4d2593eb
Refactor relay perform_test for clarity 2023-01-17 13:41:01 -07:00
Devon Hudson 27b40621fd
Refactor relayapi routing tests to be parametric & reduce redundancy 2023-01-17 13:37:53 -07:00
Devon Hudson 4037ee3b21
Refactor relayapi to remove unnecessary internal http scaffolding 2023-01-17 12:41:58 -07:00
Devon Hudson 8090f20c20
Remove redundant tests for assumed offline table 2023-01-17 10:33:58 -07:00
Devon Hudson 16eb9e4e49
Cleanup relay servers table and add batch deletion to sqlite 2023-01-13 16:00:36 -07:00
Devon Hudson 98d4e4f89b
Simplify assumed offline table sql 2023-01-13 11:54:13 -07:00
Devon Hudson a252ad4516
Isolate p2p specific federation & federation db apis 2023-01-13 11:40:25 -07:00
Devon Hudson f45d612ebd
Refactor federationapi db to better distinguish p2p specifics 2023-01-13 11:35:49 -07:00
Devon Hudson d926444daf
Add new test db files 2023-01-12 16:15:27 -07:00
Devon Hudson 51d2e7f51e
Remove package name shadowing 2023-01-12 16:13:50 -07:00
Devon Hudson e83940b5cf
Move in memory test databases into test package 2023-01-12 16:11:15 -07:00
Devon Hudson 75bc8ab826
Various typos and whitespace cleanup 2023-01-12 14:16:23 -07:00
Devon Hudson 4626f6c9d8
Fix license headers on some files 2023-01-12 14:05:55 -07:00
Devon Hudson e089015020
Refactor federation perform relay bailout to reduce duplication 2023-01-12 13:24:28 -07:00
Devon Hudson 0f7ac684b7
Remove accidentally added file 2023-01-12 12:43:52 -07:00
Devon Hudson b2c8094643
Name test constants for clarity 2023-01-12 12:27:06 -07:00
Devon Hudson 73c42232fc
Fix race in refactored statistics 2023-01-12 12:20:03 -07:00
Devon Hudson e54e036948
Remove code complexity when adding relay server 2023-01-12 11:35:54 -07:00
Devon Hudson 7fb194fc61
Rework statistics offline/blacklist clearing logic to flow better 2023-01-12 11:23:08 -07:00
Devon Hudson f6a9a77ecc
Check assumed offline state in statistics test 2023-01-12 11:22:10 -07:00
Devon Hudson cba0644ec2
Refactor stats success to clarify whether sent via relay or direct 2023-01-12 10:44:52 -07:00
Devon Hudson 75fd677081
Merge branch 'main' into mailbox 2023-01-12 09:29:16 -07:00
Devon Hudson 477a44faa6
Always initialize statistics server map 2023-01-12 09:23:03 -07:00
Devon Hudson 381a606347
Update gmsl dependency 2023-01-12 08:27:41 -07:00
Devon Hudson 07d2976854
Finish s&f rename refactor 2023-01-12 08:21:26 -07:00
Till 0491a8e343
Fix room summary returning wrong heroes (#2930)
This should fix #2910.
Probably makes Sytest/Complement a bit upset, since this not using
`sort.Strings` anymore.
2023-01-12 10:06:03 +01: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 25dfbc6ec3
Extend cypress test timeout in ci 2023-01-11 10:47:37 -07:00
Devon Hudson 6ae1dd565c
Revert "Add cypress cloud recording"
This reverts commit b297ea7379.
2023-01-11 10:46:52 -07:00
Devon Hudson b297ea7379
Add cypress cloud recording 2023-01-11 10:40:38 -07:00
Devon Hudson 8fef692741
Edit cypress config before running tests 2023-01-11 10:10:24 -07:00
Devon Hudson 11a07d855d
Initial attempt at adding cypress tests to ci 2023-01-11 09:52:58 -07:00
Devon Hudson 97ebd72b5a
Add FAQs based on commonly asked questions from the community 2023-01-10 16:26:41 -07:00
devonh 7482cd2b47
Handle DisplayName field in admin user registration endpoint (#2935)
`/_synapse/admin/v1/register` has a `displayname` field that we were
previously ignoring.
This handles that field and adds the displayname to the new user if one
was provided.
2023-01-10 18:09:25 +00:00
Till b0c5af6674
Fix /login issue causing wrong device list updates (#2922)
Fixes https://github.com/matrix-org/dendrite/issues/2914 and possibly
https://github.com/matrix-org/dendrite/issues/2073?
2023-01-10 17:02:38 +01:00
Devon Hudson 0995dc4822
Add curl to dendrite-demo-pinecone docker container 2023-01-06 12:02:43 -07:00
Devon Hudson 54b47a98e5
Add curl to dendrite docker containers 2023-01-06 11:49:59 -07:00
Till Faelligen 3fd95e60cc
Try that again 2023-01-06 15:54:04 +01:00
Till Faelligen 002310390f
Output to docs folder, hopefully 2023-01-06 15:51:07 +01:00
Till d579ddb8e7
Add simplified helm chart (#2905)
As discussed yesterday, a simplified version of [my
helm](https://github.com/S7evinK/dendrite-helm) which deploys a monolith
with internal NATS and an optionally enabled PostgreSQL server. If the
PostgreSQL dependency is not enabled, a user specified connection string
is constructed.

Co-authored-by: kegsay <kegan@matrix.org>
2023-01-06 15:44:10 +01:00