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
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
d37926dd84
*Catch error in stream and close the stream
2022-09-19 16:51:02 -04:00
Derrick Hammer
48ef0411b3
*Add support for redirecting web3 domain proxies
2022-09-08 07:31:24 -04:00
Derrick Hammer
8a0de28d32
*Move https redirect to request handler directly
2022-09-08 07:30:46 -04:00
Derrick Hammer
29125ab6a3
*Move fetching request to a private helper
2022-09-08 07:29:30 -04: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
e6f32a41c3
*Abort if theres no page url
2022-08-22 03:57:15 -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
d79086ad00
*handleBuffer should return a promise to operate in order
2022-08-22 03:21:22 -04:00
Derrick Hammer
eb65cc6b10
*Wrap handleBuffer in filterPromise/streamPromise chain to ensure it is called when the stream is ready
...
*Use an empty uint8array on reduce to handle edge cases
2022-08-22 03:09:32 -04:00
Derrick Hammer
0d5d3fa1e3
*Filter is not stored
2022-08-22 02:06:22 -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
1ef168cd9e
*check hostname not url
2022-08-22 01:50:26 -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
ffe6c9595e
*Ensure the dns module is ready before making a query
2022-08-22 00:35:01 -04:00
Derrick Hammer
512b85aa55
*Fix cache id generation
2022-08-21 23:37:13 -04:00
Derrick Hammer
e5f02c413b
*Add new dns helper scanRecords
...
*Large refactors for dns lookup on providers
2022-08-21 23:36:56 -04:00
Derrick Hammer
7a084a1e11
*Pass missing type
2022-08-21 21:55:15 -04:00
Derrick Hammer
40ceda37ef
*Update chunk length check to use the buffer and check byteOffset
2022-08-21 21:51:33 -04:00
Derrick Hammer
abc7a31e80
*Wrap arrayBuffer in Uint8Array to standardize receiveUpdate input
2022-08-21 21:50:17 -04:00
Derrick Hammer
bb8a5e5ac6
*Remove commented contentLength
2022-08-21 21:49:17 -04:00
Derrick Hammer
697819bc4e
*Update to new dns resolver framework
2022-08-21 21:48:46 -04:00
Derrick Hammer
a8607150e8
*Close filter stream after processing buffer
2022-08-15 13:30:35 -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
dfed76acc5
*Move cachedDb to dedicated file
2022-08-15 09:50:44 -04:00
Derrick Hammer
8a6ec42fa6
*Add IPFS caching with IndexedDb
2022-08-15 09:02:25 -04:00
Derrick Hammer
ac5cf77f0f
*Override default portal list for now
2022-08-15 04:49:01 -04:00
Derrick Hammer
a462edb4d8
*Add basic dns caching
2022-08-15 04:29:13 -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
fe93f6763a
*Ensure we only ever run on a search
2022-08-14 14:55:22 -04:00
Derrick Hammer
f1cba065cb
*Only add to navigation queue right before dns lookup
2022-08-14 14:42:18 -04:00
Derrick Hammer
d485116f89
*Don't attempt to process if we are not logged in
2022-08-14 14:36:59 -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
f3ee68679b
*Add navigation monitoring system to hijack search results and attempt to resolve via web3
2022-08-14 13:15:32 -04:00
Derrick Hammer
1443b2d79a
*Cleanup imports
2022-08-14 08:21:21 -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
5be2d72d48
*update ipfs and skynet provider to use the available dht relays as status proxies
2022-08-14 08:19:45 -04:00
Derrick Hammer
fc0ca7d847
*Force redirect from https to http
2022-08-14 06:15:20 -04:00
Derrick Hammer
67d94d1c47
*Add temp hack to filter out inline source maps
2022-08-13 13:16:53 -04:00
Derrick Hammer
2450390229
*Update mimes.ts
2022-08-13 13:15:52 -04:00
Derrick Hammer
ab278d20f3
*Add initial version of IPFS provider
2022-08-13 04:19:01 -04:00
Derrick Hammer
86d0ca68c0
*Add type imports
2022-08-13 04:17:16 -04:00
Derrick Hammer
a541d89110
*Major refactor of WebEngine
2022-08-13 04:16:51 -04:00
Derrick Hammer
7b59584c57
*Check if resolved dns is an ip or domain, return false otherwise
2022-08-01 00:28:07 -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
236f64bc43
*Add initial skynet provider
2022-07-31 00:58:39 -04:00
Derrick Hammer
67285ccc08
*add modified downloadSkylink that uses the trust-needed endpoint and supports a path on the skylink, but also provides the raw response object
2022-07-31 00:56:54 -04:00
Derrick Hammer
7d5578f5ee
*Add more types from webextension
2022-07-31 00:55:16 -04:00
Derrick Hammer
e917c0e7b4
*Add resolveDns shared provider method to parse a domain, check icann, sanitize, check if we have already queried for the current request id, and cache the result
...
*Add setData and getData helper methods
2022-07-31 00:54:42 -04:00
Derrick Hammer
4b1717c021
*Add requestData map to store arbitrary state information for requests
...
*Add getRequestData and setRequestData methods
2022-07-31 00:52:47 -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