Commit Graph

111 Commits

Author SHA1 Message Date
Derrick Hammer e19ff1e0a1
refactor: remove unneeded bridgeLoaded 2023-07-19 05:18:03 -04:00
Derrick Hammer f6081fa0d4
refactor: switch getBlockForBootloader to use a defer and be getAuthStatusDefer 2023-07-19 05:17:42 -04:00
Derrick Hammer 25a1c5c454
chore: clean up unneeded imports 2023-07-19 05:06:49 -04:00
Derrick Hammer cae343cdcc
refactor: remove unneeded bridgeLoaded listener 2023-07-19 05:06:08 -04:00
Derrick Hammer 210a9f12ce
refactor: consolidate all bootloader state to a map 2023-07-19 04:51:15 -04:00
Derrick Hammer 3e2d2bd261
fix: don't unhook the bootloader listener 2023-07-19 04:26:19 -04:00
Derrick Hammer 88f563d0d7
refactor: remove setBootloaderPortals 2023-07-18 17:18:58 -04:00
Derrick Hammer 4e05659a17
dep: update kernel hash 2023-07-18 17:15:48 -04:00
Derrick Hammer 825db849e2
refactor: switch to loading kernel as a Blob with script injection, and do not use in-memory variables to pass data. Additionally, fix reading of code with readableStreamToBlob 2023-07-18 17:12:34 -04:00
Derrick Hammer aefc9755cd
refactor: move handleIncomingMessage to its own file 2023-07-18 15:53:23 -04:00
Derrick Hammer 7d9c61e795
fix: log error and sendAuthUpdate if we fail to load the portals 2023-07-18 15:52:11 -04:00
Derrick Hammer 31256eeb88
dep: update kernel hash 2023-07-18 09:58:42 -04:00
Derrick Hammer 4a50742ea0
fix: bootstrap portal list and set portal key 2023-07-18 09:58:29 -04:00
Derrick Hammer e0ca3c71b7
dep: update defaultKernelLink 2023-07-18 08:58:44 -04:00
Derrick Hammer cbc864c950
feat: add encrypted communication mechanism to the kernel for the private key 2023-07-18 08:53:51 -04:00
Derrick Hammer f3f0a8374a
feat: implement a simple dynamic message system from the background script to the bootloader/kernel 2023-07-18 08:51:18 -04:00
Derrick Hammer 76fabec96a
refactor: update key handling 2023-07-18 06:48:22 -04:00
Derrick Hammer 017a71e942
fix: return getLogoutComplete call not function 2023-07-18 06:46:48 -04:00
Derrick Hammer 4b4f0c163c
fix: return logoutComplete not loginComplete 2023-07-18 06:46:21 -04:00
Derrick Hammer 18b0ced465
refactor: remove favicon from InternalProvider 2023-07-18 05:32:49 -04:00
Derrick Hammer bf614ac222
refactor: remove unneeded listener 2023-07-17 23:51:34 -04:00
Derrick Hammer 34ceedc33a
refactor: further split background entry into more components 2023-07-17 23:51:03 -04:00
Derrick Hammer 8fb936ea09
refactor: restructure and split up code 2023-07-17 15:28:58 -04:00
Derrick Hammer 73f3b1d515
refactor: change storage key for private key to "key" 2023-07-17 13:43:05 -04:00
Derrick Hammer d76ab76017
dep: add @types/webextension-polyfill 2023-07-17 13:42:16 -04:00
Derrick Hammer 099aaf4218
refactor: remove basic login page 2023-07-17 12:49:48 -04:00
Derrick Hammer b355648db5
chore: remove unneeded file 2023-07-17 12:26:44 -04:00
Derrick Hammer 1c8a640c48
refactor: update imports and add missing dependencies 2023-07-17 11:39:16 -04:00
Derrick Hammer 73cf786750
refactor: remove old bootup code and use a refer to signal when we are booted 2023-07-17 10:44:21 -04:00
Derrick Hammer 93dc1e76de
refactor: our custom ipns cache should no longer be needed 2023-07-17 10:43:48 -04:00
Derrick Hammer 2e7fdef740
style: cleanup and fix imports 2023-07-17 10:43:02 -04:00
Derrick Hammer bb6bf3128e
refactor: move to new sdks and build system 2023-07-17 10:41:39 -04:00
Derrick Hammer 735082cdd6
refactor: move ui code to subfolder 2023-07-17 07:58:41 -04:00
Derrick Hammer 3d4d275770
refactor: merge initial ux code 2023-07-15 12:34:25 -04:00
cymon 9771d7be03 create dashboard page 2023-06-23 08:41:54 +00:00
cymon 51dec75baf create package, create onboarding and account pages 2023-06-17 16:52:16 +00:00
Derrick Hammer d0646ac7c4
*refactor continued 2023-04-17 02:39:48 -04:00
Derrick Hammer 9f0daf8952
*clean up imports 2023-04-17 02:38:36 -04:00
Derrick Hammer 2ec631096a
*we dont need to set window.callModule 2023-04-17 02:38:24 -04:00
Derrick Hammer 665a7e7ee1
*Need to refactor and make mime parsing its own separate step, and then request the stream a second time 2023-04-17 02:37:46 -04:00
Derrick Hammer f9f074e73f
*replace protocol format with path format 2023-04-17 02:36:32 -04:00
Derrick Hammer 4ddfa970aa
*Large IPFS/IPNS refactor 2023-04-09 19:49:12 -04:00
Derrick Hammer 2bed5158fa
* Update host and port in util.ts to use "web3portal.com" and port "80" for HTTP requests. 2023-04-09 19:45:29 -04:00
Derrick Hammer d0325ed8b5
* Add map object `extToMimes` to map file extensions to MIME types. 2023-04-09 19:45:13 -04:00
Derrick Hammer 73a64dfe22
* Remove debugger statement and undefined check in getAuthStatus in baseProvider.ts. 2023-04-09 19:45:00 -04:00
Derrick Hammer 35eca95c06
* Update default kernel link and remove unnecessary comment in bootloader.ts file. 2023-04-09 19:44:32 -04:00
Derrick Hammer 97584ee172
* Refactor DNS module to use deferred promise for setup in present tense. 2023-04-09 19:43:56 -04:00
Derrick Hammer 3b559efabc
* Add two new imports and export two new clients: swarmClient and peerDiscoveryClient. 2023-04-09 19:43:22 -04:00
Derrick Hammer f39b6a285c
* Add deferred promise to blockForDnsSetup variable and replace getDnsSetupPromise with getDnsSetupDefer to return a deferred promise. 2023-04-09 19:43:10 -04:00
Derrick Hammer 615a9680e7
* Remove obsolete code for logging in bridge.ts. 2023-04-09 19:42:57 -04:00