Michał "rysiek" Woźniak
4b9f4fb2ec
Merge branch 'link2xt/redirect-follow' into 'master'
...
Follow redirects with `fetch`
Closes #85
See merge request rysiekpl/libresilient!29
2024-10-19 21:51:26 +00:00
Michał "rysiek" Woźniak
8c6cb45b2a
Merge branch 'link2xt/basic-integrity' into 'master'
...
Fix basic-integrity link in ARCHITECTURE.md
See merge request rysiekpl/libresilient!28
2024-10-19 21:48:03 +00:00
link2xt
625af867f6
Follow redirects with `fetch`
2024-10-19 16:17:50 +00:00
link2xt
909cfa366b
Fix basic-integrity link in ARCHITECTURE.md
2024-10-19 13:49:13 +00:00
Michał "rysiek" Woźniak
5b2f37c9a3
Merge branch 'wip-error-handling-revamp' into 'master'
...
Improved error handling
See merge request rysiekpl/libresilient!27
2024-03-14 00:04:47 +00:00
Michał 'rysiek' Woźniak
562a62df11
documentation updated (ref. #36 )
2024-03-13 04:07:29 +00:00
Michał 'rysiek' Woźniak
c573810762
additional test for activate event handling
2024-03-13 03:35:19 +00:00
Michał 'rysiek' Woźniak
935b9c27ac
additional tests for handling HTTP errors from plugins (ref. #36 )
2024-03-13 03:20:10 +00:00
Michał 'rysiek' Woźniak
e4db403d62
additional tests for handling errors/rejections in plugins (ref. #36 )
2024-03-13 02:48:29 +00:00
Michał 'rysiek' Woźniak
b7419d0fe8
tests passing for work done so far for error handling improvements (ref. #36 )
2024-03-06 16:33:22 +00:00
Michał 'rysiek' Woźniak
cf0b9d93b0
further improved error handling, fixing some corner cases (ref. #36 )
2024-03-06 13:47:10 +00:00
Michał 'rysiek' Woźniak
e443e26aae
now displaying a user-facing HTML error page when a navigation request fails (ref. #36 )
2024-03-02 19:15:23 +00:00
Michał 'rysiek' Woźniak
58cb74cb2b
still-loading screen page HTML now on the way to being configurable (ref. #36 , #82 )
2024-03-02 18:17:35 +00:00
Michał 'rysiek' Woźniak
833ad8b07c
minor improvement in the client-side code of the still-loading screen
2024-03-01 18:24:05 +00:00
Michał 'rysiek' Woźniak
933bcbe7b4
handling 5xx HTTP errors directly in the service worker (ref. #36 )
2024-03-01 18:23:42 +00:00
Michał 'rysiek' Woźniak
18e436568a
the still-loading screen now displays plugin errors (re. #36 )
2024-02-28 07:01:44 +00:00
Michał 'rysiek' Woźniak
0932bf9b9f
exceptions thrown in plugins are now properly caught in libresilientFetch (ref. #36 )
2024-02-28 06:47:02 +00:00
Michał 'rysiek' Woźniak
81dfaab7c5
LibResilientResourceInfo can now hold errors for all plugins (ref. #36 )
2024-02-28 06:33:37 +00:00
Michał 'rysiek' Woźniak
17d1aee6db
this.client is not used anymore in LibResilientResourceInfo
2024-02-28 05:39:52 +00:00
Michał 'rysiek' Woźniak
5bae7cace6
minor improvements, including fetch plugin now returning 4xx errors directly as Response objects (ref. #36 )
2024-02-28 02:58:28 +00:00
Michał 'rysiek' Woźniak
f5facd288a
clarifying comment in alt-fetch plugin code
2024-02-28 02:57:08 +00:00
Michał 'rysiek' Woźniak
2406bca941
error plugin can now into headers
2024-02-25 18:36:53 +00:00
Michał 'rysiek' Woźniak
c1b84cac86
doh.js: bugfix (window is not a thing in service workers), improved errorreporting (ref. #36 )
2024-02-25 15:35:08 +00:00
Michał "rysiek" Woźniak
15a52cade7
Merge branch 'wip-improved-user-experience' into 'master'
...
Improved user experience
Closes #33
See merge request rysiekpl/libresilient!26
2024-02-23 17:58:45 +00:00
Michał "rysiek" Woźniak
e85d77bfe5
Improved user experience
2024-02-23 17:58:45 +00:00
Michał 'rysiek' Woźniak
dd1ef475e8
fixed handling of errrs thrown when executing fetch()-ed config.json ( fixes #81 )
2024-02-18 00:43:42 +00:00
Michał 'rysiek' Woźniak
4ec2b9f911
documentation for the more resilient config.json loading routine (ref. #48 )
2024-02-14 00:19:11 +00:00
Michał "rysiek" Woźniak
124faa79e7
Merge branch 'wip-improved-config-handling' into 'master'
...
Milestone: Improved config.json handling when fetched via alternative channels
See merge request rysiekpl/libresilient!25
2024-02-11 23:39:51 +00:00
Michał 'rysiek' Woźniak
b50b76d0d5
improved config.json error handling, including additional tests (ref. #48 )
2024-02-11 23:27:56 +00:00
Michał 'rysiek' Woźniak
28c79a35e4
working on tests for the improved config.json handling (ref. #48 )
2024-02-05 23:37:10 +00:00
Michał 'rysiek' Woźniak
0fe53bcc20
WIP: config.json caching/verification; some tests fixed, v1:verified cache implemented (ref. #48 )
2024-02-01 23:46:10 +00:00
Michał 'rysiek' Woźniak
5bca087442
WIP: safe loading of config.json (ref. #48 )
2024-02-01 01:38:29 +00:00
Michał 'rysiek' Woźniak
2409e716ef
verifying config.json downloaded via other plugins than fetch (ref. #48 )
2024-01-31 21:58:07 +00:00
Michał 'rysiek' Woźniak
d40cf65714
loading external MIME sniffing library moved to executeConfig() (ref. #48 )
2024-01-31 15:41:58 +00:00
Michał 'rysiek' Woźniak
4bf42c1c93
preparing for fully revertable config deployment: executeConfig() (ref. #48 )
2024-01-29 23:22:15 +00:00
Michał 'rysiek' Woźniak
b159976478
service-worker: checking for plugin constructors availability after retrieving config.json using non-fetch means now also dives into dependencies (ref. #48 )
2024-01-28 22:56:25 +00:00
Michał 'rysiek' Woźniak
707ce71102
no such thing as "fail()" in Deno testing system
2024-01-28 22:41:02 +00:00
Michał "rysiek" Woźniak
8f23bc6965
Merge branch 'signed-integrity-cli-better-file-reading' into 'master'
...
signed-integrity cli: Improve file reading
See merge request rysiekpl/libresilient!24
2024-01-12 14:24:47 +00:00
Wesley Aptekar-Cassels
9203834f78
signed-integrity cli: Improve file reading
...
This code uses the Deno reader API to collect a list of chunks of the
file, then allocates an array for the entire file at once, and copies
the chunks into the final array, instead of continuously reallocating
new arrays that are larger and larger.
This is significantly faster than the previous code in the case of large
files.
2024-01-12 09:12:03 -05:00
Michał 'rysiek' Woźniak
d96022f870
mentions of MIME type guessing in IPFS based plugins' documentation (ref. #62 )
2023-11-12 13:20:42 +00:00
Michał "rysiek" Woźniak
d648d95e81
Merge branch 'wip-mime-type-sniffing' into 'master'
...
MIME type sniffing
See merge request rysiekpl/libresilient!22
2023-11-10 21:08:03 +00:00
Michał "rysiek" Woźniak
ac759fb3e2
MIME type sniffing
2023-11-10 21:08:03 +00:00
Michał "rysiek" Woźniak
e6f03e7dbd
Add new file: CONTRIBUTING, containing a section on AI-generated code
2023-11-10 15:51:58 +00:00
Michał 'rysiek' Woźniak
feb75b978c
added funding section to README.md
2023-11-04 17:09:39 +00:00
Michał "rysiek" Woźniak
a39f7cd69f
Merge branch 'wip-improve-for-admins' into 'master'
...
Improving experience for site administrators
See merge request rysiekpl/libresilient!21
2023-11-03 05:58:50 +00:00
Michał 'rysiek' Woźniak
9bb1e4c56f
service worker removal script, plus documentation in the FAQ (ref. #71 )
2023-11-03 05:56:52 +00:00
Michał 'rysiek' Woźniak
05e9d6f2a5
basic-integrity plugin now handles absolute paths as keys as well (ref. #70 )
2023-11-01 00:29:35 +00:00
Michał 'rysiek' Woźniak
fb63efbaa6
basic-integrity: comment about relative IRLs (ref. #70 )
2023-10-07 22:25:57 +00:00
Michał 'rysiek' Woźniak
dfd07201eb
implemented query params normalization (ref. #27 )
2023-10-07 17:08:05 +00:00
Michał 'rysiek' Woźniak
428c6be365
normalizing query params (ref. #27 )
2023-10-07 04:58:48 +00:00