David Reed
130ba380c7
update bare client, fix manifest typo
2023-07-06 04:49:14 +03:00
David Reed
4b1acbf3c3
higher quality types for client methods
2023-06-13 23:06:33 -04:00
David Reed
dd655b938f
unused method
2023-06-13 22:57:00 -04:00
David Reed
2a06818d92
export client types
2023-06-13 16:27:17 -04:00
David Reed
c6a75f0a29
remove meta event
...
this was replaced by the hooks
2023-06-09 21:53:39 -04:00
David Reed
96130ccdfc
update bare-client
...
new api changes
2023-06-09 21:32:58 -04:00
David Reed
a8c84e8926
V3 support, WebSocketApi
...
brought back the old WebSocket hook API
and added hooks for send() and readyState
2023-06-08 17:11:11 -04:00
David Reed
56bf6fc6b8
expose bareClient in __uv
...
for extending the uv handler or testing
2023-06-08 16:30:15 -04:00
David Reed
1192a624ae
use bareClient.manifest
2023-06-08 16:29:23 -04:00
David Reed
e7f47eaa3c
set window paramt type
2023-06-08 01:37:21 -04:00
David Reed
0e0db30056
prettier
2023-06-04 17:11:55 -04:00
David Reed
096240d55a
Merge pull request #38 from CoolElectronics/main
...
Allow embedding of ultraviolet in an isolated origin
2023-03-25 09:07:16 -04:00
David Reed
d7369a3ef7
#39
2023-03-24 23:35:13 -04:00
David Reed
5c7bb3257c
Don't rewrite __op
2023-03-24 17:49:49 -04:00
CoolElectronics
520c634f65
Allow embedding of ultraviolet in an isolated origin
2023-03-21 20:12:16 -04:00
David Reed
3f920ee7b4
Open GitHub in new tab
2023-03-19 18:57:28 -04:00
David Reed
a645ac4653
add idb api
2023-02-24 22:47:40 -05:00
David Reed
c523f37d9e
fix uv jsdoc imports
2023-02-18 11:30:50 -05:00
David Reed
2024386fb3
export config typedef
2023-02-11 13:24:47 -05:00
David Reed
36244508fd
Remove console.log
2023-02-05 19:57:32 -05:00
David Reed
991a8316f8
Make dynamic imports relative to the importing script
2023-02-05 19:57:19 -05:00
David Reed
488da54f3e
remove from hostname error
...
this is irrelevant to hostnames
2023-01-01 16:21:49 -05:00
David Reed
b465d3fc54
add internet connection
...
perhaps the user's internet is disconnected
serviceworkers can run without internet
2023-01-01 16:20:53 -05:00
David Reed
54f9b43995
add more steps, fix grammar, show version
2023-01-01 16:19:47 -05:00
David Reed
5119555f3f
fix filenames
...
This will allow for pages without titles to be correctly saved
and for files to be downloaded with their correct filename
2023-01-01 16:04:49 -05:00
David Reed
22f0e12e95
make error pages practical
2022-12-31 18:09:28 -05:00
David Reed
ba0dbbd83a
only show error string on page requests
2022-12-30 16:51:53 -05:00
David Reed
1f594a5053
Specify cache when making request
...
This was overlooked and is very important in order to leverage the bare server's cache
and not break websites
2022-12-18 16:37:37 -05:00
David Reed
3fd72c0454
synthesize typedef
...
This corrects various fields.
2022-12-08 17:42:51 -05:00
David Reed
d8d4c458ad
remove console.log
2022-12-03 16:29:56 -05:00
David Reed
63516b3217
use self
2022-12-03 16:28:19 -05:00
David Reed
06580d90b7
store __uv$ variables as typed consts
2022-12-03 16:27:58 -05:00
David Reed
1fd66c00fa
use sw from config
2022-12-03 15:55:39 -05:00
David Reed
9f60e73b5a
add note
2022-12-03 15:54:45 -05:00
David Reed
67fd1bce6a
add typedefs for uv config
2022-12-03 15:53:18 -05:00
David Reed
6ce344c267
correct exporting
2022-12-02 18:02:53 -05:00
David Reed
ea98f9361e
provide randomly chosen bare server URL & refactor
...
Allows a list of bare servers to be passed to `bare` in __uv$config
2022-12-02 18:02:02 -05:00
David Reed
97b17e4da5
cooler bare server
...
incog.dev/bare/ was changed to client.incog.dev, however this is cooler
2022-11-27 19:13:57 -05:00
David Reed
82d50484e6
Fix cookies
...
The set-cookie header was flattened, preventing cookies from being set
The way headers were being read from the BareResponseFetch API meant they were headers that were already flattened (new Headers())
This is fix makes the headers identical to earlier UV versions
2022-11-26 16:30:52 -05:00
David Reed
7b53361367
check if __uv is set before setting uv data
2022-11-26 15:41:31 -05:00
David Reed
e891c6a831
redundant setting of host
...
This is already done in bare-client
2022-11-26 14:58:17 -05:00
David Reed
90d5b9ad78
fix reference
2022-11-23 15:03:39 -05:00
David Reed
f34bb3d640
js-safe worker injection
2022-11-23 14:37:37 -05:00
David Reed
ed867b9f48
importScripts relative
2022-11-23 14:36:14 -05:00
David Reed
782aa2672e
refactor mime-types
2022-11-23 14:33:18 -05:00
David Reed
38a715b3a2
less annoying JSDoc types
2022-11-23 14:28:11 -05:00
David Reed
b366f3af8f
remove unused parsel
2022-11-23 14:09:50 -05:00
David Reed
602414a586
conditional reference to HTMLIFrameElement
...
This will prevent an exception being thrown in workers.
2022-11-23 13:57:14 -05:00
David Reed
26d17cd241
smart detection for uv.client.js
...
People may forget to update uv.config.js or cache may need to update
2022-11-23 13:38:36 -05:00
David Reed
e502dc33ea
export UVClient separate
2022-11-23 13:34:38 -05:00