Commit graph

2706 commits

Author SHA1 Message Date
Devon Hudson 91126e6efa
Fix sqlite unit test parallelization issues 2023-01-18 16:02:32 -07:00
Devon Hudson 703d4371f5
Update gmsl dependency 2023-01-18 09:50:50 -07:00
Devon Hudson 02eff71f40
Use valid servers in relayapi http routing test 2023-01-18 09:29:04 -07:00
Devon Hudson 5833c86aca
Insert relay transaction destinations in a single db transaction 2023-01-17 17:41:04 -07:00
Devon Hudson cbad03fc5e
Add validation to relay_txn prev entry id 2023-01-17 17:22:05 -07:00
Devon Hudson 41cd9d256e
Change to using default prevEntryIDs for initial relay query 2023-01-17 17:08:07 -07:00
Devon Hudson 5aa6b47a64
Order relay queue select to return oldest entries first 2023-01-17 16:47:10 -07:00
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