270 Commits

Author SHA1 Message Date
omaroughriss
739f749619 Refacto to use database service methods 2025-11-27 16:34:14 +01:00
omaroughriss
19dcb2000e Add database singleton 2025-11-27 16:29:40 +01:00
3eeef3fc9a refactor: remove unused modal components and related files 2025-11-25 10:42:02 +01:00
d072eb0831 fix: resolve TypeScript strict mode errors in service.ts 2025-11-25 10:38:24 +01:00
86b488b492 Deleted all the unused files, deadCode & refactoring all the app structure 2025-11-25 00:10:06 +01:00
592759a9b6 Delete secrets flag 2025-11-24 15:42:15 +01:00
95e7044e0a fix(service): Remplacer le polling des clés par un listener pour éviter une race condition 2025-11-15 12:08:32 +01:00
f610a1bfa6 Moved the handleUpdateProcess complexe logic in service 2025-11-15 11:52:44 +01:00
b473ddeefe Improved decrypAttribute func 2025-11-12 09:26:06 +01:00
6419e4e1c9 Fix: an used processId value was undefined 2025-11-10 13:04:08 +01:00
f75c87bd09 Deleted some logs with processId undefined 2025-11-10 13:01:39 +01:00
bd0e3b9114 Grouped the logs for decryptAttribute func 2025-11-07 19:54:49 +01:00
8cc016c2a5 Adding secretsAreCompromised flag 2025-11-05 01:59:23 +01:00
bbb0c12506 Refactoring, upgrading & adding logs in router.ts 2025-11-04 23:04:03 +01:00
7ea4ef1920 Add some debug methods for pairing workflow
Some checks failed
Build and Push to Registry / build-and-push (push) Failing after 44s
2025-10-31 14:10:26 +01:00
412c855777 Add promise to wait for relay availability to make createProcess functional
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 2m23s
2025-10-08 11:10:03 +02:00
Sosthene
0d473cf3d1 [bug] Update device blockheight right after initialization to prevent race condition
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 2m25s
2025-09-13 08:12:30 +02:00
Sosthene
457994c506 Updating testData in storage
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 2m15s
2025-09-13 07:34:43 +02:00
Sosthene
5fc485e233 Fix checkConnections, also check more aggressively 2025-09-13 07:34:43 +02:00
omaroughriss
6f9fa60e2f Use env variables to config urls
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 2m2s
2025-09-10 17:41:01 +02:00
omaroughriss
e729e32b35 Add handshakeMsg log
Some checks failed
Build and Push to Registry / build-and-push (push) Has been cancelled
2025-09-10 16:24:06 +02:00
omaroughriss
e4681f91e4 Merge branch 'dev' of https://git.4nkweb.com/4nk/ihm_client into dev
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 2m4s
2025-09-10 15:25:07 +02:00
omaroughriss
6363ec1189 Update relay handshake verification to use peer list or sp adresses 2025-09-10 15:25:05 +02:00
Sosthene
c8ac815e2b Refactor handleHandshakeMsg
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 2m11s
2025-09-08 22:00:36 +02:00
Sosthene
ef31cba983 Improve checkConnections to prevent no shared secrets 2025-09-08 22:00:36 +02:00
Sosthene
e8c2d1a05a Get the storage urls from diffs 2025-09-08 15:56:14 +02:00
Sosthene
63ee4ce719 Merge branch 'bug_scan_blocks_update' into dev 2025-09-05 07:59:09 +02:00
Sosthene
e0e186f4f4 Refactor pairing logic
Account for the fact that we need the pairing id earlier now
2025-09-05 07:57:57 +02:00
Sosthene
bfca596e8b Adapt storage to new api 2025-09-05 07:57:50 +02:00
Sosthene
acb9739a80 [bug] Now save device after scan_blocks 2025-09-02 13:30:52 +02:00
Sosthene
c422881cd1 [bug] Failed to update tips 2025-09-02 13:30:52 +02:00
Sosthene
19da967605 Remove unnecessary async 2025-08-25 01:32:24 +02:00
Sosthene
d4223ce604 [bug] Correct args for parse_cipher 2025-08-25 01:31:35 +02:00
Sosthene
420979e63e [bug] Prevent duplicated addresses when sharing secrets 2025-08-25 01:30:58 +02:00
Sosthene
1c92a40984 [bug] remove test code 2025-08-23 16:10:11 +02:00
Sosthene
77d9c1ad43 Add updateDeviceBlockHeight 2025-08-23 16:03:49 +02:00
Sosthene
3ce412d814 Keep currentBlockHeight in services 2025-08-23 16:02:31 +02:00
Sosthene
7100eda272 [bug] update parse_new_tx 2025-08-23 16:02:06 +02:00
Sosthene
1a3a2dbef1 Remove pdf code 2025-08-23 16:00:35 +02:00
Sosthene
8e9d7f0c76 remove wasm processes cache 2025-08-23 15:54:22 +02:00
Sosthene
5ba45a29be MyProcesses always include pairing 2025-08-08 08:27:46 +02:00
7b86318dec Fix error on pairing 2025-07-31 13:28:24 +02:00
Sosthene
d3e207c6da [bug] fix types mismatch with Device 2025-07-16 11:31:29 +02:00
Sosthene
f0151fa55e Don't try to batch write to db if objects is empty 2025-07-08 17:24:51 +02:00
Sosthene
5192745a48 Refactor handshake message handling using bach writing 2025-07-08 17:24:50 +02:00
Sosthene
a027004bd0 [bug] Set cache in restoreProcessesFromDb, not Backup 2025-07-08 17:24:14 +02:00
Sosthene
aae11200d4 Add batchSaveProcessesToDb() 2025-07-08 17:24:14 +02:00
Sosthene
dbb7f67154 Don't automatically connect to realys in init() 2025-07-08 17:24:14 +02:00
Sosthene
58fed7a53b use a processCache for optimization 2025-07-08 17:24:14 +02:00
Sosthene
19b2ab994e Batch writes processes at initialization 2025-07-08 17:24:14 +02:00