Commit Graph
142 Commits
Author SHA1 Message Date
Ilya Kreymer 27a8524aac Archive verification info + Embed improvements + Embed Receipts UI (#125)
info panel verification/integrity additions, (fixes on #113)
- info panel: display number of hashes verified valid (and invalid), observer domain (if any), and certificate fingerprint, creation software, and package digest
- info: ensure replayTS is updated, not just replayUrl, to ensure correct stats

404 page: improved formatting on 404 page (via wabac.js)

embeds:
- new embed 'replay-with-info mode, displays replay-only with dropdown showing archival 'receipt, which includes condensed info and verification (hashes valid/invalid, observer domain, cert fingerprint)
- support 'newWindowBase' attribute for specifying base replay URL for opening new window. default: use current url if deepLink enabled, otherwise use https://replayweb.page/
use transparent for embeds
- embed dropdown/receipt styling from @Shrinks99 
- automatically setting noCache and noWebWorker for older browsers (eg. safari < 16)
- add 'hideOffscreen' attribute to enable unloading embed when offscreen

dependencies: update to wabac.js 2.13.0-beta.0

bump version to 1.7.0-beta.0

Embed receipt styling co-authored-by: @Shrinks99
2022-10-01 18:22:30 -07:00
Ilya Kreymer 7e8650519e fidelity: various replay improvements (fix module script rewriting, twitter embedded video rewriting fidelity, ignore invalid link headers)
dependencies: update to wabac.js 2.12.5
bump to 1.6.5
2022-09-01 18:37:30 -07:00
Ilya Kreymer 8a698bef41 loading: don't ignore hashtag, eg. '#.wacz' to specify file type for source when loading (via wabac.js)
dependencies: bump wabac.js to 2.12.4
bump to 1.6.5
2022-08-24 10:33:43 -07:00
Ilya Kreymer 6c6d66f03a loading: add 'noCache' option for <replay-web-page> embeds, ensure option is passed to wabac.js loader
dependencies: update to wabac.js 2.12.3 to fully support noCache for WARCs
bump to 1.6.4
2022-08-06 17:56:16 -07:00
Ilya Kreymer 2a0aba02bb dependency: update to wabac.js 2.12.2 (includes fixes for replaying revisit records + incorrect js module detection)
bump to 1.6.3
2022-08-04 21:34:48 -07:00
Ilya Kreymer f1c5e931c8 extensability: make purge cache configurable
ui: fix date padding for month-day
package: add index.html to npm package
bump to 1.6.2, update CHANGES.md
2022-07-05 12:24:50 -07:00
Ilya Kreymer 54fd92c273 error fix + embedding extensability (#110)
* embed mode: make embedding options more extensible
ui: unify service worker not available errors, show same error in standard/embed mode, including when loaded over http
- more customizations for extended embed, allow hiding 'browse contents' button
- simplify title updates
- make error page / icon more customizable
- autoupdating in editable mode: don't update if previous one didn't finish, make customizable, don't autoupdate at all over >=100 pages

* dependencies: update ruffle to 2022-07-02

* bump to 1.6.1, update CHANGELIST
2022-07-05 10:48:32 -07:00
Ilya Kreymer 7ff5b49011 dependencies: update to wabac.js 1.12.0 (improved eval() and twitter video fidelity)
electron: update to 19.0.4, update electron-builder
CHANGES: update for 1.6.0
bump to 1.6.0
2022-06-15 12:04:26 -07:00
Ilya Kreymer 36da7fa2c6 Add a 'noWebWorker=true' option to <replay-web-page> embed to disable loading in separate web worker (#102)
* add a 'noWebWorker' option to <replay-web-page> embed to disable the default webworker-based loading, and load via the service worker directly. this feature was previously available, but turned-off, as its less efficient (uses sw for what can be done in a separate web worker thread). however, service-worker based loading may be needed for certain edge cases (see #97), and this option enables this loading method to be turned back on for embedding.
* docs: update guide to include 'noWebWorker', also use include attribute for boolean attributes
* update CHANGES.md
* bump to 1.5.12
2022-06-15 11:38:04 -07:00
Ilya Kreymer 44182c66d8 dependency: update to wabac 2.11.0
loading: various loading improvements, support for per-host live proxy config, fix url-prefix api errors (via wabac.js)
bump to 1.5.11
2022-03-24 22:28:35 -07:00
Ilya Kreymer 8a1e2a5ac4 replay fidelity: encoding fix for non-ascii links, optimizations for utf-8 parsing (via wabac.js 2.10.3)
dependencies: update to wabac.js 2.10.3
bump to 1.5.10
2022-03-07 17:45:13 -08:00
Ilya Kreymer 221aabaaf7 dependencies: update to wabac.js 2.10.2
loading: for experimental multi-wacz input, disable periodic reload for now
bump to 2.5.9
2022-02-01 18:18:03 -08:00
Ilya Kreymer 213079ce11 dependency: update to wabac.js 2.10.1
bump version to 1.5.8
2022-02-01 16:59:10 -08:00
Ilya Kreymer 114d5fe1c9 gh action: update action version
dependency: update lit to latest
dependency: rollback ipfs-core update, as electron-builder does not yet support node>=15
2022-01-09 10:17:52 -08:00
Ilya Kreymer 91ef718b08 dependency update release: update to wabac.js 2.10.0, wombat 3.3.6, electron 16.0.6, ruffle (2022-01-08)
bump to 1.5.7
2022-01-08 23:33:33 -08:00
Ilya Kreymer b60a0ee7d3 loading: fix cancel button broken by worker-based loading 2021-11-27 17:25:10 -08:00
Ilya Kreymer 178d0507eb * large WARC loading optimizations (attempted to fix #67)
- use dedicated web worker for loading, remove when done
- update to warcio 1.5.0 for faster loading of large WARCs
- show WARC records loading for better progress update

* fidelity: fix potentially invalid location redirect via wombat 3.3.5 (see: webrecorder/pywb#684)

* dependencies: wabac.js 2.10.0-beta.0 (includes warcio 1.5.0, wombat 3.3.5)

* bump to 1.5.6, update CHANGES
2021-11-27 17:06:37 -08:00
Ilya Kreymer 34b03e6b08 didelity: only wrap JS globals if necessary (via wabac.js 2.9.5)
update to wabac.js 2.9.5
bump to 1.5.5
2021-10-25 11:04:55 -07:00
Ilya Kreymer e69b082222 misc improvements:
- Faster rewriting of large JS files
- Fidelity: Fixes for twitter video replay
- Loading: Fix IPFS loading of WARCs
- Dependencies: update to wabac.js 2.9.3
bump to 1.5.4
2021-10-12 10:20:28 -07:00
Ilya Kreymer a261a61721 fidelity: fix eval edge case (via wombat), enable http->https check for wacz sources (via wabac.js)
dependency updates:
- switch to webpack 5 and related build dependencies
- update litelement -> 'lit'
- wabac.js 2.9.2, wombat 1.3.4

search:
- update to latest flexsearch
- optimize search by using single-field index

bump to 1.5.3
2021-09-18 12:32:00 -07:00
Ilya Kreymer d341c03350 ipfs improvements:
- fix ipfs for apple m1 osx builds by adding extra binary prebuilds (for now)
- use <profile directory>/js-ipfs for ipfs repo
- update to js-ipfs 0.10.6
bump to 1.5.2
2021-09-13 07:31:37 -07:00
Ilya Kreymer 589ea5ddd4 misc improvements for library usage:
- app: allow custom serviceworker path, or disable altogether
- page download options: add warc/1.0 option
- ui: remove unused small style from chooser
ui: tweak initial refresh time to half second

bump to 1.5.1
2021-09-07 22:42:13 -07:00
Ilya Kreymer f4699444fb 1.5.0 release:
- tweak CHANGES
- undo accidental change disabling skip-nav
2021-08-29 14:12:13 -07:00
Ilya Kreymer c090003d8a update to wabac.js 2.9.0-beta.0, smaller file size, loading improvements
ruffle: support for ruffle for flash loading, both hosted and in app
electron: update to latest beta (14) for latest chromium version
embed error messages: better error message when service worker can not be found
electron: build universal app for osx
bump to 1.5.0!
2021-08-28 13:55:57 -07:00
Ilya Kreymer 2b95e03fcc upstream wabac + wombat update:
- update to wabac.js 2.8.0-beta.0: optimzed rewriting for html, better eval() rewrite and jsonp matching
- update to wombat 3.3.0: disable POST-to-get rewriting (no longer needed in chrome!)
2021-08-12 19:58:37 -07:00
Ilya Kreymer c9fd30afaa fix for #60 via wabac.js 2.7.11
- improved HAR loading, don't filter out empty responses, add error messages when content is missing
- fix empty hashtag displayed as "null"
bump to 1.4.7
2021-08-05 17:18:57 -07:00
Ilya Kreymer 1a69e65bcb dependency update: latest wabac.js/wombat.js for improved WS override (no network connection), pixel ratio override fix
bump to 1.4.6
2021-06-25 15:59:08 -07:00
Ilya Kreymer fa0b229aa9 loading: fix loading from ipfs, use latest ipfs-core
fidelity: support local/sessionStorage replay, if available
update CHANGES
dep: use wabac.js 2.7.8
bump to 1.4.5
2021-06-05 21:44:46 -07:00
Ilya Kreymer 042ca4a78e update to wabac.js 2.7.5, including loading fixes:
- better loading if range in HEAD request not support
- avoid 'If-Range header
bump to 1.4.4
2021-05-24 17:46:29 -07:00
Ilya Kreymer 15720189b3 1.4.3 work (#51)
* update to 1.4.3-beta for testing auto-live-redirect in wabac.js

* update to latest wabac.js beta:
- limit prefix querying
- rewrite: ensure redirect http->https preserves original url in case of fuzzy matching

* update to latest wabac.js beta

* update to latest wabac.js beta, further auto-live-redir fixes

* ui: fix location bar not reloading with URLs that contain hashtags

* dependencies: bump to wabac.js 2.7.4

* bump to 1.4.3
2021-05-17 12:39:34 -07:00
Ilya Kreymer a032961fc6 dependency update: latest wabac.js 2.7.3-beta.1 for more wacz loading optimizations (more efficient lookup, avoid duplicate compressed block loading) 2021-05-02 12:52:47 -07:00
Ilya Kreymer f82c8e1bf1 dependency: update to wabac.js 2.7.3-beta.0, optimized wacz loading 2021-05-01 11:17:40 -07:00
Ilya Kreymer d3a3fe91e9 dependency: update to wabac.js 2.7.2, including: fixes for more accurate rewriting, fixes for old-wacz
bump to 1.4.2
2021-04-30 17:00:49 -07:00
Ilya Kreymer 0f08190aca misc fixes:
- fix file download in chrome
- fix full-text index loading in older wacz files
dependencies: updaate to wabac 2.7.1
bump to 1.4.1
2021-04-29 13:44:24 -07:00
Ilya Kreymer 5e72914bab ui collection load: retry loading if index api fails, smooth transition from previous version 2021-04-25 22:32:37 -07:00
Ilya Kreymer 0ef8f955db 1.4.0 Release (#45)
* customizations for chooser, coll-index and appmain to support usage in archiveweb.page
- chooser: support panel/message view
- move apiPrefix to misc
- make coll-index extensible, overridable styles, filtering

* api changes: make configurable in coll-index, now using '/w/' instead of '/wabac/', '/c/' prefix for coll apis

* lint pass!

* bulma: update to 0.9.2, fix delete spinner with latest bulma

* ui fixes:
- show 'Loading Archives...' on initial load until first api response succeeds
- fix typo in oncontrollerchange not actually resolving the promise!

* embed sandbox: add other allow options, except top-nav
- first api load: keep loading message until first successful api load
- don't reset hash on purge to keep current page
- sw config: fix typo with latest wabac.js
- embed: add 'noSandbox' option to avoid adding sandbox to iframe, needed to show PDFs, add more allow rules (all except top-navigation)

* ui improvements:
- refresh: ensure location refresh from hitting enter in location bar always resets url
- pageentry doubleclick: ensure double-clicking on page in sidebar always triggers reload, even if current page
- pageentry typo fix: fix missing var causing selection error (fixes webrecorder/archivewebpage#25)
- lint: don't include 'event' as global
- use latest wabac.js 2.7.0-beta.1

* add CHANGES for 1.4.0, add 'noSandbox' to embedding options
- electron app: fix path to 'w/'
- bump electron to 11.4.3

* docs: autoload current version from package.json
- chooser: support .json files for multiwacz (experimental)
- update CHANGES.md
- add missing .eslintrc.js file

* bump version to 1.4.0
2021-04-25 16:45:40 -07:00
Ilya Kreymer 0648f7d4ce fidelity: fix encoding issue in utf-8 encoded js/css introduced in 1.3.13, ensure consistent decoding (fix in wabac 2.6.9)
bump to 1.3.15
2021-03-30 15:07:32 -07:00
Ilya Kreymer e45e4267b6 bump to 1.3.14 to fix npm package 2021-03-26 08:32:20 -07:00
Ilya Kreymer 0c3c601eca dependencies: update to wabac.js 2.6.8, fixes: replay of non-utf-8 encoded pages, better detection of jsonp responses
bump to 1.3.13
2021-03-25 22:19:12 -07:00
Ilya Kreymer 7b41fdc234 embedding tweaks: resolve relative "source" URL to current page before passing to app
docs: embedding: add example using latest npm release for testing, recommend versioned releases for production
2021-03-18 22:17:41 -07:00
Ilya Kreymer d86ab8300b loading fixes: fix pages loaded from wacz files having the wrong timestamp, more efficent loading of wacz files even if HEAD method is not supported (from wabac.js 2.6.6)
docs: embedding: add that relative paths are relative to replayBase
bump to 3.1.12
2021-03-18 21:05:18 -07:00
Ilya Kreymer 6035cbae50 loading fixes:
- update to wabac.js to fix regression with WARC loading, including accidental indexing of metadata records
- add periodic ping to service worker during loading, to avoid serviceworker shutdown in firefox
- ui: only show 'try again' button if trying again may be possible
- dependencies: use wabac 2.6.5
bump to 1.3.11
2021-03-14 21:27:19 -07:00
Ilya Kreymer 3eb4befa06 embed mode fix: set default replayBase to current directory ./replay/ (as documented) not /replay/ - fixes #36 2021-03-12 00:34:08 -08:00
Ilya Kreymer b388b9d9e1 update to wabac.js 2.6.3, loading improvements with using event.waitUntil() in message haandler to wait for loading to be done!
ui: add ability to retry loading in non-embedded mode
2021-03-10 14:41:46 -08:00
Ilya Kreymer 5afc8d7665 update to latest wabac.js (+wombat.js and warcio.js),
loading improvements of streaming video, especially on Safari by cacheing range requests while loading
fidelity improvements, rewriting fixes for JS modules, fixes for replay of pages with JS modules
bump to 1.3.10
2021-03-08 17:09:16 -08:00
Ilya Kreymer 72194c308a ui tweaks for downstream (archiveweb.page):
- don't show page editing options when in sidebar mode
- don't autorefresh in replay and sidebar not visibile
- disable plugins by default now
2021-02-15 15:24:22 -08:00
Ilya Kreymer 2fbea9b970 dependencies: update to wabac.js 0.6.0-beta.0, wombat 3.1.0, numerous fidelity improvements for tableau dashboards, POST request replay
library/ui: fix spinner style for page deletion
bump to 1.3.9
2021-02-12 09:09:54 -08:00
Ilya Kreymer bf4194e0ae ui: support asking permission if needed when reloading a local file with 'purge cache and full reload' 2021-01-28 17:18:12 -08:00
Ilya Kreymer b36726535a update to wabac.js 2.5.6
text fixes: update copyright, CHANGES.md
2021-01-28 16:04:51 -08:00
Ilya Kreymer 064f7e180f ui awp support:
- move <wr-modal> from awp here
- support page deletion confirmation dialog (in editing mode)
- support deleting multiple pages, deleting current selection (after confirmation)
- bump to wabac.js 2.5.1
- bump to 1.3.8
2021-01-15 01:36:23 -08:00