Commit Graph

  • 833ea5227a Rename Database class to DatabaseService webworkers NicolasCantu 2025-12-09 13:30:06 +01:00
  • a15abb8a33 Restructure all workers and services NicolasCantu 2025-12-09 13:21:50 +01:00
  • e3447195e3 Replace the old service worker by network.sw.ts NicolasCantu 2025-12-08 17:41:00 +01:00
  • 77dcb8b9ae refactor(iframe-controller): improve initialization logic, enhance logging, and streamline message handling for better clarity and performance NicolasCantu 2025-12-03 21:24:06 +01:00
  • 1cebd0ba7b refactor(main): enhance logging, streamline comments, and improve code clarity in bootstrap function NicolasCantu 2025-12-03 21:23:56 +01:00
  • 87168dffd8 refactor(service): remove obsolete sdkClient and printAllRelays methods to enhance code clarity and streamline Services class NicolasCantu 2025-12-03 21:23:35 +01:00
  • 633fd57793 refactor(service): integrate Service Worker Controller initialization into Services class, enhancing service setup and clarity NicolasCantu 2025-12-03 20:20:18 +01:00
  • 0ae251a1bd refactor(database.service): remove service worker functionality and related methods to streamline database operations and enhance clarity NicolasCantu 2025-12-03 20:20:11 +01:00
  • 8a6e30d226 feat(sw-controller): implement Service Worker Controller for managing SW registration and communication, including message handling and periodic scanning NicolasCantu 2025-12-03 20:20:00 +01:00
  • 1025c907b5 Fix init bugs quick_fixes Sosthene 2025-12-03 10:43:44 +01:00
  • 77019896e5 refactor(data.worker): streamline logging and comments in scanMissingData function for improved clarity and resource management NicolasCantu 2025-12-03 10:06:52 +01:00
  • 81025dca42 refactor(database.service): simplify service worker message handling by removing unnecessary comment and obsolete method for improved clarity NicolasCantu 2025-12-03 10:06:41 +01:00
  • 6dd8ce730f refactor(service): standardize import statements, improve code organization, and enhance clarity in Services class methods NicolasCantu 2025-12-03 10:06:15 +01:00
  • d78dc14a2b refactor(network.service): implement event-driven mechanism for relay readiness, replacing polling with promise-based handling for improved efficiency and clarity NicolasCantu 2025-12-02 00:54:14 +01:00
  • 355d5ea18d refactor(storage.service): replace axios with fetch for data storage and retrieval, improve error handling, and enhance code clarity NicolasCantu 2025-12-02 00:53:53 +01:00
  • 8580070dc4 refactor(core.worker): standardize import statements, enhance code organization, and improve clarity in CoreBackend class methods NicolasCantu 2025-12-02 00:47:52 +01:00
  • 12b8c100c9 refactor(main): remove obsolete database initialization and streamline comments for improved clarity in bootstrap function NicolasCantu 2025-12-02 00:37:16 +01:00
  • 7c6f5c8739 refactor(utils): remove unnecessary console logs to enhance code clarity in emoji display function NicolasCantu 2025-12-02 00:36:07 +01:00
  • 50903c7e39 refactor(service): standardize import statements and improve code organization by relocating BackUp type import Sadrinho27 2025-12-02 00:25:48 +01:00
  • da76c1ac3e refactor(iframe-controller): enhance async handling, improve error checks, and remove unnecessary comments for better code clarity Sadrinho27 2025-12-02 00:25:41 +01:00
  • 23fe47f69f refactor(sp-address.utils): standardize import statements and improve string handling for better code consistency NicolasCantu 2025-12-02 00:20:48 +01:00
  • a9976ca624 refactor(network.service): improve code clarity by removing commented-out lines, standardizing import statements, and adding polling mechanism for relay address retrieval NicolasCantu 2025-12-02 00:20:39 +01:00
  • 4f86b26890 refactor(process-list): streamline code by removing commented-out lines, optimizing async calls, and enhancing readability in ProcessListPage component Sadrinho27 2025-12-02 00:11:06 +01:00
  • 662f3820d5 refactor(architecture): implement multi-worker architecture by introducing core and network workers, enhancing service communication, and removing obsolete websocket service Sadrinho27 2025-12-02 00:10:54 +01:00
  • 8fdd756d86 feat(dependencies): add comlink library to package.json for improved worker communication Sadrinho27 2025-12-02 00:10:21 +01:00
  • f7b9129401 feat(services): add wallet and process services to the Services class and comment out pairing confirmation logic dev2 NicolasCantu 2025-11-28 10:44:28 +01:00
  • 09b1c29788 refactor(services): remove commented-out code and improve code clarity in iframe-controller, storage, and wallet services NicolasCantu 2025-11-28 10:44:17 +01:00
  • 96ee5b03e6 refactor(iframe-controller): standardize import statements, enhance logging, and improve error handling in IframeController service NicolasCantu 2025-11-28 00:13:51 +01:00
  • 8a87fe38c5 refactor(data.worker): optimize database access in service worker by implementing direct IndexedDB functions and enhancing message handling NicolasCantu 2025-11-28 00:13:42 +01:00
  • bbbca27009 refactor(token): streamline token management by implementing secret key caching and enhancing token generation methods NicolasCantu 2025-11-28 00:13:30 +01:00
  • e1d220596e refactor(home, process): standardize import statements, enhance code readability, and improve error handling in Home and ProcessList components NicolasCantu 2025-11-28 00:13:14 +01:00
  • d45cf7c530 refactor(database): remove obsolete database.worker.js and update database service to utilize Web Worker for IndexedDB operations NicolasCantu 2025-11-27 23:20:53 +01:00
  • 47240b5825 Rename service worker to data.worker and web worker to database.worker service-database omaroughriss 2025-11-27 16:58:27 +01:00
  • 6fa04317b6 Add shared types for web workers omaroughriss 2025-11-27 16:52:19 +01:00
  • 66a27cb03c Add a web worker for db operations omaroughriss 2025-11-27 16:51:43 +01:00
  • 9c8c5fc24c Improve databse initializations omaroughriss 2025-11-27 16:50:57 +01:00
  • c1802c9c59 Minor fix omaroughriss 2025-11-27 16:50:20 +01:00
  • 93a4fd17c7 Add business methods omaroughriss 2025-11-27 16:50:03 +01:00
  • 8a356fe2fd Add generic db operations omaroughriss 2025-11-27 16:49:43 +01:00
  • 59fff148ac Add service worker message handlers omaroughriss 2025-11-27 16:49:15 +01:00
  • 54dcd2b29d Add web worker message handler omaroughriss 2025-11-27 16:47:33 +01:00
  • 245341e3f5 Rename method omaroughriss 2025-11-27 16:46:39 +01:00
  • f675dc01ae Improve service worker initialization omaroughriss 2025-11-27 16:45:54 +01:00
  • 414f8e5dca Add web worker initialization omaroughriss 2025-11-27 16:44:41 +01:00
  • f74fcabec7 Delete store definition omaroughriss 2025-11-27 16:43:49 +01:00
  • 71d0d14095 Minor fix omaroughriss 2025-11-27 16:42:34 +01:00
  • d161402e1e Improve message listener omaroughriss 2025-11-27 16:42:15 +01:00
  • 92a9c6e455 Update Scan to use the new communication method (request data from database service) omaroughriss 2025-11-27 16:40:02 +01:00
  • 29d2688278 Request data from database service omaroughriss 2025-11-27 16:38:13 +01:00
  • 94fa55c2a1 Delete db transactions from the service worker omaroughriss 2025-11-27 16:36:23 +01:00
  • 739f749619 Refacto to use database service methods omaroughriss 2025-11-27 16:34:14 +01:00
  • 19dcb2000e Add database singleton omaroughriss 2025-11-27 16:29:40 +01:00
  • 90376e364a fix(crypto): cast uint8Array to any in hexToBlob method to resolve TypeScript type issues NicolasCantu 2025-11-26 13:17:06 +01:00
  • 0970d1b0da refactor(utils): remove unused copyToClipboard and generateQRCode functions from sp-address.utils.ts NicolasCantu 2025-11-26 13:16:58 +01:00
  • 6f508b4b8b feat(vite): add allowedHosts configuration for server access NicolasCantu 2025-11-26 13:16:49 +01:00
  • 584735ca02 refactor: remove Prettier; update project metadata, package dependencies, and improve index.html; added author and contributors name NicolasCantu 2025-11-26 13:16:33 +01:00
  • 4aa4079ec8 Update README.md to reflect new project structure, installation instructions, and key features for the 4NK Client SDK NicolasCantu 2025-11-26 12:52:49 +01:00
  • 04996ceaa5 refactor(core): découpage du service principal en modules métier et centralisation de la configuration globale NicolasCantu 2025-11-26 12:40:36 +01:00
  • 3eeef3fc9a refactor: remove unused modal components and related files NicolasCantu 2025-11-25 10:42:02 +01:00
  • d072eb0831 fix: resolve TypeScript strict mode errors in service.ts NicolasCantu 2025-11-25 10:38:24 +01:00
  • 225dd27c2c Improved websocket to ensure the reconnection NicolasCantu 2025-11-25 09:58:14 +01:00
  • 8512b90d36 Added withToken func to remove the duplicated code NicolasCantu 2025-11-25 09:57:57 +01:00
  • 740a29688d Updated vite & ts config NicolasCantu 2025-11-25 00:20:33 +01:00
  • 86b488b492 Deleted all the unused files, deadCode & refactoring all the app structure NicolasCantu 2025-11-25 00:10:06 +01:00
  • 592759a9b6 Delete secrets flag NicolasCantu 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 NicolasCantu 2025-11-15 12:08:32 +01:00
  • f610a1bfa6 Moved the handleUpdateProcess complexe logic in service NicolasCantu 2025-11-15 11:52:44 +01:00
  • 6137b99d56 remove the flag waiting to ensure the reconnexion from the iframe NicolasCantu 2025-11-14 10:33:38 +01:00
  • 08bc930675 Add a waiting of __PAIRING_READY flag in handleGetPairingId NicolasCantu 2025-11-14 10:21:55 +01:00
  • 2ab9bd2976 fix: Refactoring prepareAndSendPairingTx to ensure auto-pairing workflow NicolasCantu 2025-11-14 09:35:18 +01:00
  • 99e7793fbb Fix: Add __PAIRING_READY flag to make handleRequestLink await auto-pairing NicolasCantu 2025-11-12 16:18:27 +01:00
  • 8c827944a2 Improved the handleRequestLink function to ensure the iframe authentication NicolasCantu 2025-11-12 16:17:25 +01:00
  • de7a55e7bc revert 3a61ffe7a670e9b7011d41e91b3c3ab864715a93 Titouan 2025-11-12 14:25:14 +00:00
  • bd0c40241f Added a forgotten , NicolasCantu 2025-11-12 12:36:39 +01:00
  • c09fa6f2f8 Add beautiful loader step for the connexion with the iframe NicolasCantu 2025-11-12 12:30:19 +01:00
  • 3a61ffe7a6 Automated the login with the iframe NicolasCantu 2025-11-12 12:26:17 +01:00
  • b473ddeefe Improved decrypAttribute func NicolasCantu 2025-11-12 09:26:06 +01:00
  • 6419e4e1c9 Fix: an used processId value was undefined NicolasCantu 2025-11-10 13:04:08 +01:00
  • f75c87bd09 Deleted some logs with processId undefined NicolasCantu 2025-11-10 13:01:39 +01:00
  • bd0e3b9114 Grouped the logs for decryptAttribute func NicolasCantu 2025-11-07 19:54:49 +01:00
  • 129b7cf32e Deleted an unused func NicolasCantu 2025-11-07 19:53:21 +01:00
  • 61c4c7c831 Removed the prdUpdate and approvechange while createProcess NicolasCantu 2025-11-07 19:52:51 +01:00
  • 8cc016c2a5 Adding secretsAreCompromised flag NicolasCantu 2025-11-05 01:59:23 +01:00
  • af3503db86 Added blindbit location in nginx conf NicolasCantu 2025-11-05 01:38:44 +01:00
  • 26b5eaaf33 Delete unused file NicolasCantu 2025-11-05 00:23:13 +01:00
  • bbb0c12506 Refactoring, upgrading & adding logs in router.ts NicolasCantu 2025-11-04 23:04:03 +01:00
  • 614569f5aa Updated the process and process-element page NicolasCantu 2025-11-04 23:03:24 +01:00
  • 465a4a3c18 Updated the home page NicolasCantu 2025-11-04 23:03:02 +01:00
  • dddbe04a2d Commented all files in /src/pages/account NicolasCantu 2025-11-04 23:02:39 +01:00
  • f78ed88cb1 updated the import of __dirname NicolasCantu 2025-11-04 23:01:06 +01:00
  • 696fc5833c Added "type": "module" in package.json for vite NicolasCantu 2025-11-04 23:00:40 +01:00
  • 059f3e2e33 Added the nginx conf for dev2.4nkweb.com NicolasCantu 2025-11-04 22:59:42 +01:00
  • 9d30e84bd2 Edited the port for the storage for the dev nginx conf NicolasCantu 2025-11-04 22:59:19 +01:00
  • f0f8ed9768 fix: normalize relay ws path with trailing slash wip-pairing NicolasCantu 2025-10-31 17:22:07 +01:00
  • b29f86af4e revert: remove relay proxy helper NicolasCantu 2025-10-31 17:12:21 +01:00
  • f3f5e21195 feat: bridge relay proxy port 3000 to 8091 NicolasCantu 2025-10-31 15:32:34 +01:00
  • 8ec8df419e fix: enforce joint service lifecycle NicolasCantu 2025-10-31 14:15:53 +01:00
  • ff94b1ec21 feat: add service manager script NicolasCantu 2025-10-31 14:13:51 +01:00
  • 76556e1f6e chore: drop manual birthday debug page NicolasCantu 2025-10-31 14:11:24 +01:00
  • 7ea4ef1920 Add some debug methods for pairing workflow dev NicolasCantu 2025-10-31 14:10:26 +01:00