Commit Graph

  • d3e207c6da [bug] fix types mismatch with Device Sosthene 2025-07-16 11:31:29 +02:00
  • cb5297e6fe Refactoring of handleUpdateProcess to try to commit again processes that have not been commited fix_my_processes Sosthene 2025-07-02 12:34:39 +02:00
  • f0151fa55e Don't try to batch write to db if objects is empty Sosthene 2025-07-02 12:34:04 +02:00
  • 5192745a48 Refactor handshake message handling using bach writing Sosthene 2025-07-02 11:36:15 +02:00
  • a027004bd0 [bug] Set cache in restoreProcessesFromDb, not Backup Sosthene 2025-07-02 11:35:36 +02:00
  • aae11200d4 Add batchSaveProcessesToDb() Sosthene 2025-07-02 11:34:54 +02:00
  • dbb7f67154 Don't automatically connect to realys in init() Sosthene 2025-07-02 11:34:30 +02:00
  • 58fed7a53b use a processCache for optimization Sosthene 2025-07-01 18:06:44 +02:00
  • 19b2ab994e Batch writes processes at initialization Sosthene 2025-07-01 18:02:46 +02:00
  • 93d610e942 Add batchWriting() to database Sosthene 2025-07-01 18:02:08 +02:00
  • 1dad1d4e2b Add BATCH_WRITING to database.worker Sosthene 2025-07-01 18:01:42 +02:00
  • a467c45401 Add device basic flow device_management Sosthene 2025-07-07 15:27:55 +02:00
  • 5a98fac745 Update our pairing addresses on receiving updates Sosthene 2025-07-08 17:21:29 +02:00
  • 18d46531a0 Correctly handle states in pairDevice() Sosthene 2025-07-08 17:18:46 +02:00
  • 62ccfec315 Add GET_MEMBER_ADDRESSES and ADD_DEVICE messages Sosthene 2025-07-07 15:26:40 +02:00
  • e9fc0b8454 Rm await on getDeviceAddress() Sosthene 2025-07-07 15:24:55 +02:00
  • 5119d04243 Don't retry commit message for Not enough members to validate errors Sosthene 2025-07-07 15:24:15 +02:00
  • 5a8c31df32 Add getUncommitedStates() Sosthene 2025-07-07 15:23:47 +02:00
  • deebcefc3d Track states on pairing process Sosthene 2025-07-07 15:23:05 +02:00
  • d9b8817ecc Create connections with devices in a pairing process Sosthene 2025-07-07 15:22:23 +02:00
  • d8c2b22c3d Rm uneccessary async on decodeValue() Sosthene 2025-07-07 15:21:25 +02:00
  • 39f24114e1 Rm uneccessary async on getDeviceAddress() Sosthene 2025-07-07 15:20:00 +02:00
  • 189bd3d252 Don't throw error if unpaired while trying to get my processes Sosthene 2025-07-04 12:26:11 +02:00
  • 989263d44a handleValidateMerkleProof Sosthene 2025-07-03 17:56:03 +02:00
  • 7391a08a01 Add VALIDATE_MERKLE_PROOF MessageType Sosthene 2025-07-03 17:54:36 +02:00
  • 4e109e8fba Add validateMerkleProof Sosthene 2025-07-03 17:54:07 +02:00
  • 13b605a850 Update port omaroughriss 2025-07-03 11:38:40 +02:00
  • 0a860bd559 Add CICD omaroughriss 2025-07-02 15:40:44 +02:00
  • a8b0248b5f Minor updates omaroughriss 2025-07-02 15:39:51 +02:00
  • 0dc3c83c3c Add a start script omaroughriss 2025-07-02 15:39:32 +02:00
  • 1a87a4db14 Add nginx config omaroughriss 2025-07-02 15:37:34 +02:00
  • 67cd7a1662 Add Dockerfile omaroughriss 2025-07-02 15:36:42 +02:00
  • 44f0d8c6c9 [bug] fix rolesContainsMember Sosthene 2025-07-02 13:50:54 +02:00
  • 10589b056f Solve potential race conditions in dumpStore() Sosthene 2025-07-01 18:03:04 +02:00
  • 926f41d270 Fix race condition on getMyProcesses Sosthene 2025-07-01 16:09:15 +02:00
  • 7c39795cef Add HASH_VALUE and GET_MERKLE_PROOF Sosthene 2025-06-30 22:45:50 +02:00
  • 207b308173 Add getMerkleProofForFile Sosthene 2025-06-30 22:45:25 +02:00
  • 337a6adc60 Add HASH_VALUE and GET_MERKLE_PROOF Sosthene 2025-06-30 22:45:50 +02:00
  • d8422de94e Add getMerkleProofForFile Sosthene 2025-06-30 22:45:25 +02:00
  • 9edcc2e897 Add HASH and MERKLE MessageType Sosthene 2025-06-30 19:49:41 +02:00
  • f5fae245e2 [bug] validateToken was bypassed Sosthene 2025-06-30 19:49:06 +02:00
  • ed4fa732f7 Remove redundant log and dead code NicolasCantu 2025-06-26 10:52:28 +02:00
  • ac11893e93 Add messageId to each message, refactor listeners NicolasCantu 2025-06-25 16:59:20 +02:00
  • 929e7ee36d [bug] fix updateProcess NicolasCantu 2025-06-25 14:40:08 +02:00
  • c2a4b598a7 Validate token for getProcesses request NicolasCantu 2025-06-25 14:39:42 +02:00
  • 2bd2fdff98 Add mock VITE_JWT_SECRET_KEY NicolasCantu 2025-06-25 14:39:12 +02:00
  • 13731da7e1 Add getLastCommitedStateIndex NicolasCantu 2025-06-25 14:38:52 +02:00
  • 965f5da9a9 Add DECODE_PUBLIC_DATA MessageType Sosthene 2025-06-24 18:22:10 +02:00
  • 18ef18db71 Add DECODE_PUBLIC_DATA api Sosthene 2025-06-24 15:52:23 +02:00
  • 50a92995d7 Add decodeValue api Sosthene 2025-06-23 19:45:21 +02:00
  • 17bdcec317 [bug] Fix access verification in decryptAttribute Sosthene 2025-06-23 19:45:08 +02:00
  • 25caed410e [bug] checkConnections didn't get the member addresses Sosthene 2025-06-23 19:44:36 +02:00
  • cf57681c31 Add handleUpdateProcess in router Sosthene 2025-06-15 22:17:58 +02:00
  • 91ba7205cc Fix return value of handleDecryptState Sosthene 2025-06-15 22:17:22 +02:00
  • d31e18d4ae Use new utils splitPrivateData and isValid32ByteHex Sosthene 2025-06-15 22:16:32 +02:00
  • 6076c342f8 [bug] Do not request keys when we are not in the role in decryptAttribute Sosthene 2025-06-15 22:12:22 +02:00
  • bb5d3ff16d [bug] Correctly encode data in updateProcess Sosthene 2025-06-15 22:11:02 +02:00
  • a3fe29e4a0 [bug] Correctly iterate on members addresses in checkConnection Sosthene 2025-06-15 22:10:25 +02:00
  • 0d51f9d056 [bug] wrong variable name in handleDecryptState Sosthene 2025-06-15 22:08:41 +02:00
  • c0d402b234 Add service.utils with splitPrivateData and isValid32ByteHex Sosthene 2025-06-15 22:07:23 +02:00
  • dfae77de58 Remove dead code Sosthene 2025-06-13 21:04:45 +02:00
  • e1494d5bf4 Reorganise MessageType and remove dead code from models Sosthene 2025-06-13 21:04:15 +02:00
  • ed23adf8f1 Rename folderCreated to processData Sosthene 2025-06-13 20:35:35 +02:00
  • 2a7c0d6675 Add notify and validate api Sosthene 2025-06-12 17:33:22 +02:00
  • 25dba4e67b minor fixes Sosthene 2025-06-12 17:26:51 +02:00
  • 65d43686cb Add handleCreateProcess Sosthene 2025-06-12 14:34:36 +02:00
  • 18e82de549 Minor fixes and refactor in router Sosthene 2025-06-12 14:33:24 +02:00
  • f4d8f8652f Profile and Folder event handler return object Sosthene 2025-06-11 21:43:50 +02:00
  • 39f2b086b5 Make createAndSend{Profile,Folder}Tx returns object Sosthene 2025-06-11 21:42:30 +02:00
  • 00bc3d8ad2 Add getMyProcesses api Sosthene 2025-06-11 20:35:17 +02:00
  • b52ff937f0 Add GET_PAIRING_ID event listener Sosthene 2025-06-11 15:31:38 +02:00
  • d6e06f3594 Generate the pdf beside the json file NicolasCantu 2025-06-10 13:19:57 +02:00
  • 05f13224fa Add generateProcessPdf to service NicolasCantu 2025-06-10 13:18:48 +02:00
  • 06295fe591 Add pdf-lib NicolasCantu 2025-06-10 13:18:12 +02:00
  • 72d43210de Add transaction check logic for document validation NicolasCantu 2025-06-10 09:30:52 +02:00
  • 73cee5d144 Center buttons and allow file picker NicolasCantu 2025-06-09 10:23:49 +02:00
  • 85fe8cc251 Refactor getDocumentValidation NicolasCantu 2025-06-06 23:05:28 +02:00
  • ec9fe0f62c refactor decryptAttribute NicolasCantu 2025-06-06 23:05:15 +02:00
  • b6a2a5fc3b Add getHashForFile NicolasCantu 2025-06-06 23:04:57 +02:00
  • 7417aec7e0 [bug] createProfileProcess NicolasCantu 2025-06-06 23:04:17 +02:00
  • f42aca7eb9 createProcess split json and binary data and encode them separately NicolasCantu 2025-06-06 23:03:47 +02:00
  • 0f0b5d1af3 Download all encrypted data in separate files on process creation NicolasCantu 2025-06-06 23:02:51 +02:00
  • 84aa6298e3 [bug] rm useless variable NicolasCantu 2025-06-05 17:23:04 +02:00
  • 14b539595f [bug] wrong number of args to createPairingProcess NicolasCantu 2025-06-05 15:42:42 +02:00
  • 99400a71f7 Various bug fixes in Services NicolasCantu 2025-06-05 15:42:12 +02:00
  • c5b58d999f Download the new process in json file NicolasCantu 2025-06-05 15:39:33 +02:00
  • 23a3b2a9e8 adding document when creating process takes a fileBlob type NicolasCantu 2025-06-05 15:39:10 +02:00
  • 6167d59501 document validation takes json certificates NicolasCantu 2025-06-05 15:38:06 +02:00
  • b828e5197a Correct typing in showProcess NicolasCantu 2025-06-05 15:36:51 +02:00
  • 26ba3e6e93 [bug] Check for state_id when looking for a state NicolasCantu 2025-06-04 15:38:50 +02:00
  • df726d929a Add fullscreen mode for modal - Fix css issue Anthony Janin 2025-06-04 14:37:13 +02:00
  • 0e44a01218 Add fullscreen mode for modal Anthony Janin 2025-06-04 13:06:01 +02:00
  • 8260c6c5da Add some decoding logic in service NicolasCantu 2025-06-04 09:13:07 +02:00
  • 8eb6f36b64 Refactor process creation for pairing/profile/folder use cases NicolasCantu 2025-06-04 09:12:42 +02:00
  • e15da5c22a createProcess does encoding before creating a new process NicolasCantu 2025-06-04 09:11:16 +02:00
  • a8b3631dc1 [bug] strict equality for address comparison NicolasCantu 2025-06-04 09:10:12 +02:00
  • 89e9b3e4e0 Add Process tab NicolasCantu 2025-05-22 22:33:38 +02:00
  • c4db22f626 [bug] Actually pass the file object to wasm as bytes NicolasCantu 2025-05-22 22:32:52 +02:00
  • accd427cab Add RoleDefintion type to role NicolasCantu 2025-05-22 15:39:05 +02:00
  • 381dcdf7a8 Update getProcesses iframe handler NicolasCantu 2025-05-22 15:38:10 +02:00