Commit c7488cd
authored
Feat/2805 Log Entry Fanout Ingestion (#3041)
* ingest entries from qss fanout
* ingest entry correctly and prevent sending multiple messages for the same entry
* setup just one listener
* add e2e test
* fix backend unit tests
* fix state manager tests
* update changelog
* add waits in oneclient to allow app to fully open
* update submodule pointer
* add delay in test
* add additional tor init interval logging to debug multiple clients test fail
* make sure starting panel doesn't occlude after startup
* replace startPanel waitForLoadingToComplete with more suitable test for DOM removal
* avoid crashing renderer if watch is still active
* close join community modal when custom protocol finishes
* wait for starting panel to be either invisible OR not in the DOM
* fix some crashes and e2e test weirdest
* fix hangups
* fix back compat test
* make address required
* allow only one attempts for quicker feedback
* better type safety and address selection for dialing and invites
* extend ping intervals and timeouts
* bring back normal attempt limit1 parent 9f9763e commit c7488cd
File tree
33 files changed
+612
-155
lines changed- .github/workflows
- 3rd-party
- packages
- backend/src/nest
- connections-manager
- libp2p
- qss
- socket
- storage
- channels
- orbitDb
- tor
- common/src
- desktop/src/renderer/components
- CreateJoinCommunity/JoinCommunity
- debugInfo
- e2e-tests/src
- tests
- state-manager/src
- sagas/appConnection
- toggleP2P
- utils/tests
- types/src
33 files changed
+612
-155
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
- app/eslint.config.mjs+43-32
- app/package.json+1
- app/src/client/ws.client.ts+9-1
- app/src/nest/communities/auth/auth.connection.ts+8-1
- app/src/nest/communities/communities-manager.service.spec.ts+1-1
- app/src/nest/communities/communities-manager.service.ts+1-2
- app/src/nest/communities/storage/log-entry-sync.storage.service.spec.ts+2-2
- app/src/nest/communities/storage/log-entry-sync.storage.service.ts+11-1
- app/src/nest/communities/websocket/auth.handler.ts+10-1
- app/src/nest/communities/websocket/captcha.handler.ts+2
- app/src/nest/communities/websocket/communities.handler.ts+12
- app/src/nest/communities/websocket/log-entry-sync.handler.ts+6
- app/src/nest/storage/postgres/postgres.repo.ts+13-17
- app/src/nest/websocket/ws.types.ts+2
- app/test/e2e-tests/communities/communities.complete.e2e.spec.ts+198-81
- app/test/utils/test.utils.ts+9-4
- app/test/utils/waitFor.ts+30
- app/tsconfig.json+2-1
- aws/scripts/application-start.sh+2-1
- bootstrapper/const.mjs+2-2
- package.json+1-1
- pnpm-lock.yaml+32-5
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
Lines changed: 22 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
253 | | - | |
254 | | - | |
| 253 | + | |
255 | 254 | | |
256 | 255 | | |
257 | 256 | | |
| |||
794 | 793 | | |
795 | 794 | | |
796 | 795 | | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
797 | 816 | | |
798 | 817 | | |
799 | 818 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
| 429 | + | |
429 | 430 | | |
430 | 431 | | |
431 | | - | |
| 432 | + | |
432 | 433 | | |
433 | 434 | | |
434 | 435 | | |
| |||
440 | 441 | | |
441 | 442 | | |
442 | 443 | | |
443 | | - | |
| 444 | + | |
444 | 445 | | |
445 | 446 | | |
446 | 447 | | |
| |||
0 commit comments