Commit Graph
193 Commits
Author SHA1 Message Date
Ilya Kreymer 8e715cdf54 deps: update to wabac.js 2.16.12, use default index html loading (#232)
wabac.js now serves the correct index for RWP, don't need to inject custom html
bump to 1.8.11, update CHANGELIST
2023-09-05 18:43:02 -04:00
Ilya Kreymer 16284ee198 Fix embed loading regression (#227)
* pass in the embed index.html (a page just containing <replay-app-main></replay-app-main>) to wabac.js via indexHtml query arg
to be served back at replay root
fixes regression in 1.8.9, fixes #226
* update CHANGES.md
* bump to wabac.js 2.16.11
2023-08-29 14:28:04 -07:00
Ilya Kreymer 47fb16590c CHANGES: update changelist for 1.8.9 (#225)
deps: bump to wabac.js 2.16.10
2023-08-28 20:18:14 -07:00
Ilya Kreymer 0cc1824b3a deps: update to wabac.js 2.16.9 (#217)
* update CHANGES for 1.8.8, bump to 1.8.8
2023-08-17 16:39:40 -07:00
sua yoo dd70bc722f Lint and fix Lit html (#216)
- Adds eslint lit plugin to catch linting errors in lit html
- Fixes linting errors
2023-08-16 18:57:11 -07:00
sua yoo 13d6f011ca Format changed files in src on pre-commit (#211)
Formats staged files on pre-commit with prettier. Requires running `yarn prepare` once or is enabled after first `yarn install`.
2023-08-16 18:46:38 -07:00
sua yoo 1893550274 Format src files with Prettier (#215)
Formats files in `src` with [prettier for consistent code style](https://prettier.io/docs/en/why-prettier) and adds npm script

Related to https://github.com/webrecorder/replayweb.page/issues/201
2023-08-16 18:21:18 -07:00
Ilya Kreymer 79e4c2a77e deps: bump to wabac.js 2.16.8 for relative url rewriting fix (#204) 2023-08-11 00:27:54 -07:00
Ilya Kreymer 38548a25aa bump to 1.8.7, update CHANGES (#203)
deps: bump to wabac.js 2.16.7
2023-08-09 20:30:18 -07:00
dependabot[bot] 8090970f75 build(deps): bump word-wrap from 1.2.3 to 1.2.4 (#195)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-09 20:16:42 -07:00
dependabot[bot]andIlya Kreymer d2895045b3 build(deps): bump semver from 5.7.1 to 5.7.2 (#191)
* loading: improved multi-wacz loading, support for patching
deps: update to 2.16.5
bump to 1.8.5

* build(deps): bump semver from 5.7.1 to 5.7.2

Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Ilya Kreymer <ikreymer@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-09 20:16:23 -07:00
Ilya Kreymer 873615079d fixes for 1.8.6 release: (#196)
- Loading: Fix improved handling of multi-wacz collections (via wabac.js 2.16.6)
- Loading: Allow embedded video/audio to play inline instead of being downloaded (via wabac.js 2.16.6)
- Fidelity: Add missing ruffle.js files to fix ruffle
- bump wabac.js to 2.16.6
2023-07-26 19:35:53 -07:00
Ilya Kreymer a138ce0d50 patch: testing wabac.js fix 2023-07-11 15:23:57 +02:00
Ilya Kreymer fb41ea818c loading: improved multi-wacz loading, support for patching
deps: update to 2.16.5
bump to 1.8.5
2023-07-11 11:06:25 +02:00
Ilya Kreymer 03a049496f fidelity: improved replay of pages with top-level let / const globals, addresses webrecorder/wombat#82 (#190)
deps: bump to wabac.js 2.16.4
bump to 1.8.4
2023-07-05 20:38:34 -07:00
Ilya Kreymer dbafc19522 ui: fix 'show non-seed pages' for multi wacz and for after first load (#187)
deps: bump to wabac.js 2.16.3
bump to 1.8.3
2023-06-27 22:51:12 -07:00
Ilya Kreymer 646f3f8d76 fix redirect loop (fixes #184): (#185)
- loading: fix redirect loop on 404s (via wabac.js 2.16.2)
- misc: additional check before autoupdate, update build deps to support Node 20
bump to 1.8.2
2023-06-20 18:21:55 -07:00
Ilya Kreymer 3fb9e82c1c Deps Update for 1.8.0 (#178)
* update to wabac.js 2.16.1, electron 25.1.1, ruffle 2023-06-14
2023-06-14 17:28:48 -07:00
Ilya Kreymer 21ddc5b713 Show All Pages Option (#177)
* show all pages:
- add option to 'show all pages' if additional non-seed pages are present in the wacz file
- only show checkbox if there are additional pages
- tweak page results to just show 'Pages' or 'Pages Shown' to avoid confusion over 'Pages Found'
- bump to 1.8.0

fixes #176

CHANGES: add changes for 1.8.0
2023-06-14 17:17:20 -07:00
Ilya Kreymer a1c0a9bb57 deps: bump wabac.js to 2.16.0
update README
2023-05-30 19:50:21 -07:00
Ilya Kreymer e9d5ca7f21 CHANGES: update changelist
deps: bump to wabac.js 2.15.5
2023-04-06 10:43:56 -07:00
dependabot[bot] d505dc88ff build(deps-dev): bump webpack from 5.75.0 to 5.76.0 (#161)
Bumps [webpack](https://github.com/webpack/webpack) from 5.75.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-06 10:10:58 -07:00
Ilya Kreymer 913a28b594 wabac.js + wombat version bump (#166)
- Fidelity: Support dynamic 'import()' in non-module JS (via wabac.js 2.15.4)
- Fidelity: Fix dynamic iframes that fall through via document.write / srcdoc by rewriting to blob:<content> (via wombat 3.5.0, wabac.js 2.15.4)
- Dependencies: Update to wabac.js 2.15.4, wombat 3.5.0
2023-03-31 18:15:42 -07:00
Ilya Kreymer 05287749ca fidelity / loading fixes: (#159)
- Fidelity: Improved replay via unrewriting fixes of style urls, request/response urls (via wabac.js 2.15.3)
- Embeds: Support updating auth headers if custom headers provided in embed 'config'
- Dependencies: Update to wabac.js 2.15.3, wombat 3.4.6, Electron 23.1.1
- bump to 1.7.13
2023-02-25 16:38:10 -08:00
dependabot[bot] 775285485d build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 (#152)
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-02 19:38:13 -08:00
dependabot[bot] 4f4056b890 build(deps): bump json5 from 1.0.1 to 1.0.2 (#145)
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-02 19:38:03 -08:00
dependabot[bot] f75820918c build(deps): bump qs from 6.10.1 to 6.11.0 (#140)
Bumps [qs](https://github.com/ljharb/qs) from 6.10.1 to 6.11.0.
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.10.1...v6.11.0)

---
updated-dependencies:
- dependency-name: qs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-02 19:37:51 -08:00
Ilya Kreymer 8b2a5c6076 fidelity: improved fb/instagram replay (via wabac.js 2.15.1)
loading: fix incorrect loading of some WACZ files (incorrect SURT detection, fixed in wabac 2.15.2)
deps: update to wabac.js 2.15.2
bump to 1.7.12
2023-02-02 17:55:30 -08:00
Ilya Kreymer 0c737101c2 loading + fidelity fix:
- loading: Support loading URLs without extension (including blob: urls), automated type detection of WACZ, WARC, compressed and uncompressed (via wabac.js)
 - fidelity: Improved handling of ESM modules, cookies, Vimeo videos (via wabac.js)
 - dependencies: Update to wabac.js 2.15.0, wombat 3.4.3
bump to 1.7.11
2023-01-15 11:17:06 -08:00
Ilya Kreymer 7d0866aa23 deps: update to wabac.js 2.14.0 (#143)
deps: also includes update to wombat 3.4.2, warcio 2.0.1
ci: fix yarn flags, add --ignore-engines to electron build
build: update banner copyright text to use current year
fidelity fixes:  including better location and ESM module rewriting (via wabac.js and wombat)
reduce size of sw.js by ~40k
bump to 1.7.9
2022-12-17 10:39:19 -08:00
Ilya Kreymer e6f837df13 Cleanup Electron App + Dependency Update (#139)
* electron: clean-up / remove unused code in main process, including:
- remove native plugin init (no longer supported)
- remove auto-js-ipfs (used in render process)
- remove ipfs handling logic (handled in render process)
- use custom file2:// scheme for loading files, instead of custom prefix
- proxyLive supports POST requests, using original UA (if set, for archiveweb.page)
- webpack: remove unused __IPFS_CORE_URL__
- ci: add lint check

* dependency update:
- update to wabac.js 2.13.15 for latest auto-js-ipfs (2.1.0) and wombat (3.3.13)
- update to electron 22.0
- update webpack + electron updater to latest

* bump to 1.7.8
2022-12-07 13:33:36 -08:00
Ilya Kreymer 591753d6d8 loading: remove cacehing ruffle.js to avoid old versions being cached
deps: wabac.js 2.13.14
2022-12-02 14:14:03 -08:00
Ilya Kreymer e4e6f07618 loading fixes:
- fix for ignoring partial videos (partial 206s)
- fix for error on first load (waiting to load check injected scripts)
update to wabac.js 2.13.13
bump to 1.7.7
2022-12-02 13:41:26 -08:00
Ilya Kreymer 9dc7d8d8c1 deps: update to wabac.js 2.13.12 to update wombat, fixing occasional window.open regression (fixed in wombat 3.3.12) 2022-11-25 10:57:35 -08:00
Ilya Kreymer 6b14849d60 regression fix for flash: fix ruffle.js not loading (reported via webrecorder/archiveweb.page#121) via wabac.js
opt: check if ruffle.js exists before injecting into page (via wabac.js)
deps: update wabac.js 2.13.11, update ruffle to 2022-11-25 version
bump to 1.7.6
2022-11-25 10:03:03 -08:00
dependabot[bot] 8aa2b0502b build(deps): bump loader-utils from 1.4.0 to 1.4.2 (#137)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.2)
2022-11-24 20:36:38 -08:00
dependabot[bot] 1aaacbcf78 build(deps): bump ansi-regex from 4.1.0 to 4.1.1 (#128)
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v4.1.0...v4.1.1)
2022-11-24 20:36:16 -08:00
Ilya Kreymer 99d2fe492a deps: update to wabac.js 2.13.10 2022-11-24 20:33:15 -08:00
Ilya Kreymer bc5f8b07eb embeds: new embed option 'loading="eager"' to support eager loading entire WACZ file, instead of on-demand loading
deps: update to wabac 2.13.9 to support eager loading, update electron to 21.3.1
package: remove assets from package
bump to 1.7.4
2022-11-24 17:28:53 -08:00
Ilya Kreymer 26b54cb7bf loading: fix issues with multiple embeds on same page + force reload issues (via wabac.js 2.13.8) 2022-11-21 19:11:30 -08:00
Ilya Kreymer 54b53f9d9b dependencies: update to wabac.js 2.13.7, latest wombat (3.3.11), auto-js-ipfs 1.5.1
update CHANGES.md
2022-11-21 17:33:27 -08:00
Ilya Kreymer 5c7dc64e0b update to wabac.js 2.13.6 for misc fidelity improvements / bug fixes via wabac.js 2.13.6 + wombat 3.3.10
bump to 1.7.3
2022-11-12 14:42:23 -08:00
Ilya Kreymer 8bfd93837d dependencies: update to wombat 2.13.4
fidelity: fix replay of tiktok via webrecorder/wabac.js#85
bump to 1.7.2
2022-10-19 11:42:50 -07:00
Ilya Kreymer e006028bab electron app: fix app not loading preload.js, regression in 1.7.0
fidelity: Fixed embedded tweet video issue (via wabac.js)
fidelity: include target="new" in target rewriting (possibly fix for #118)
deps: bump to wabac.js 2.13.3
bump to 1.7.1
2022-10-09 23:55:49 -04:00
Ilya Kreymer 415d344027 dependency update: bump to wabac.js 2.13.2, electron 20.x
bump to 1.7.0 for release
2022-10-04 16:55:10 -07:00
RangerMauveandIlya Kreymer f1df02ea3c remove js-ipfs in electron app, eslint to dev deps (#123)
- add ipfs:// protocol handlers, not enabled for now
- use browser-side auto-js-ipfs for loading from ipfs even in electron app
- deps: bump wabac.js to 2.13.0
- update CHANGES

Co-authored-by: Ilya Kreymer <ikreymer@gmail.com>
2022-10-04 15:54:43 -07:00
Ilya Kreymer 43122425e5 Restrict new windows in replay + improved service worker loading + better error messages (#126)
* embeds:
- support target rewriting with named iframe as per webrecorder/wombat#94
- refactor sw init: detect additional errors, such as CORS issues in nested iframes
- support cross-origin replaybase for embeds
- add 'requirecrossoriginiframe' to restrict embed to only be loaded in subdomain iframes, otherwise showing
- rename noSandbox -> sandbox, not enabled by default

init: set appName on service worker init
docs:
- add example embed to embedding doc
- update docs for noSandbox -> sandbox
- add warning if deprecated 'noSandbox' flag is used, explaining that it is now deprecated
- update embedding and CHANGES.md with latest features
- add tweet-example.wacz
- add embed.html to test embeds

bump to 1.7.0-beta.1
2022-10-03 20:04:35 -07:00
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
Matteo Cargnelutti 064f6db55e Upgrade to the latest version of webpack (#116) 2022-09-01 18:31:45 -07:00