Commit Graph

88 Commits

Author SHA1 Message Date
Derrick Hammer 4b4f0c163c
fix: return logoutComplete not loginComplete 2023-07-18 06:46:21 -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 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 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 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 35eca95c06
* Update default kernel link and remove unnecessary comment in bootloader.ts file. 2023-04-09 19:44:32 -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
Derrick Hammer 61f7821c0b
* Add DNS setup functionality and import necessary clients, add peer and relay registration, and refactor DNS setup to use promises instead of callbacks. 2023-04-09 19:42:31 -04:00
Derrick Hammer 2e15a16faa
*WIP 2023-04-03 13:29:20 -04:00
Derrick Hammer 7efd901b97
*Update references of .skynet to .lume 2023-01-14 03:01:41 -05:00
Derrick Hammer 33c6302205
*Refactor to a Web Stream based architecture for processing IPFS content
*Implement a concept of content filters to support modifying stream data before rendering it
*Add a CSP filter to remove CSP meta tags
2022-09-08 07:28:31 -04:00
Derrick Hammer a9faa22b19
*Load the server provider last incase there the domain has content and ip records are issues with the dns server 2022-08-23 15:28:05 -04:00
Derrick Hammer c7589158d2
*Change crypto loader to use DOMContentLoaded to ensure document.head exists 2022-08-22 03:22:03 -04:00
Derrick Hammer 3f8e7075a1
*Consolidate all dns setup into 1 function and store the promise
*await on the dns setup promise on the cached resolve function
2022-08-22 01:52:10 -04:00
Derrick Hammer eac9e7b579
*Replace variables with more getter/setters 2022-08-22 01:49:58 -04:00
Derrick Hammer 3122bbaf2c
*Implement a crypto subtle polyfill 2022-08-22 01:19:34 -04:00
Derrick Hammer 697819bc4e
*Update to new dns resolver framework 2022-08-21 21:48:46 -04:00
Derrick Hammer a105c9471d
*Track the provider used for a domain via a map
*Add a context menu to clear the cache if the provider is ipfs
2022-08-15 09:51:43 -04:00
Derrick Hammer a3baf41237
*Handle both google.com and www.google.com
*Ensure queriedUrl has a protocol before parsing
*Handle kernel.skynet in navigation request
*Abort if we are not logged in only after checking for kernel urls
2022-08-14 15:15:28 -04:00
Derrick Hammer c9b0daf053
*Major refactor to store global state behind getter and setters to be shared between files 2022-08-14 14:36:26 -04:00
Derrick Hammer 0274210bfb
*Abort trying to intercept if we are not logged in 2022-08-14 13:51:01 -04:00
Derrick Hammer 25db9704ce
*Refactor background to start everything up in a boot function
*Preload the dns and rpc subsystem with the dns ready call
2022-08-14 08:21:09 -04:00
Derrick Hammer ab278d20f3
*Add initial version of IPFS provider 2022-08-13 04:19:01 -04:00
Derrick Hammer 03c9f543d9 *Add serverProvider which supports ip's and hostnames, and does not filter content 2022-07-31 01:36:06 -04:00
Derrick Hammer c6398c2efb *Add needed imports
*register the skynetprovider
2022-07-31 00:59:51 -04:00
Derrick Hammer 1142576ea5 *Solve bridge loading race condition by using a blocking promised, resolved by a bridgeLoaded command from a bridge 2022-07-31 00:51:02 -04:00
Derrick Hammer f394776a72 *Support calling modules from the background page 2022-07-29 19:42:49 -04:00
Derrick Hammer fa97cba286 *Fix casing 2022-07-29 19:41:58 -04:00
Derrick Hammer 34b132fc54 *Fix bad casing 2022-07-29 08:06:11 -04:00
Derrick Hammer 250b09e5be *Skeleton starting point for new extension 2022-07-29 06:37:20 -04:00