Commit Graph
525 Commits
Author SHA1 Message Date
sua yoo 73e7da4c7c Show page thumbnails in pages list (#221)
* convert pages / pageentry to ts
* render page icon
* adjust for smaller screen
* show favicon even if thumbnail exists
2023-09-05 17:26:16 -07:00
sua yoo d8300169ec chore: allow implicit any 2023-09-05 17:26:16 -07:00
sua yoo 1e579845b5 chore: enable svg import 2023-09-05 17:26:16 -07:00
sua yoo 22313c5bb1 Build Webpack in Pages workflow (#222) 2023-09-05 17:26:14 -07:00
sua yoo 2d0b163148 Upgrade Lit to 2.8 and add Shoelace styles (#206) 2023-09-05 17:25:42 -07:00
sua yoo b7406189bb Add Typescript to build (#207) 2023-09-05 17:24:08 -07:00
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 d31c25c4de embed html: keep ui.js import in default embed html, not always possible to inject 2023-08-29 15:18:39 -07: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 2bc9fb0a15 Use published sw.js from wabac.js instead of rebuilding a custom version. (#223)
* sw: instead of rebuilding sw.js with slightly different settings (baked in index.html + ruffle.js cache),
can now just use the published sw.js release with custom queryArgs, injectScripts=ruffle/ruffle.js
index.html is cached automatically on-load
webpack: for dev server, still build 'sw.js' locally to allow dynamic updates when developing on a linked wabac.js
remove src/sw.js, as no longer used, just importing from wabac.js directly
bump to 1.8.9
2023-08-28 19:59:29 -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
Anish Lakhwara 2de4703908 feat: Multi WACZ json Front End Support (#214)
Better display for Multi WACZ collections, including showing:
- File size of combined WACZ
- List of all WACZ files (with downloadable links)
- Use collection title instead of filename for all names (collection index, breadcrumb, sidebar)
- Display collection description (if available) on sidebar + info page
2023-08-17 16:35:53 -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 32b2dad06e bump version to 1.8.8-beta.0 for future changes 2023-08-16 17:38:13 -07:00
Ilya Kreymer 2dd82345bd docs: add separate page for cors-settings to mention cors settings for both regular replayweb.page usage and embedding, link from embedding guide (#205)
addresses #74, #168, #202
2023-08-11 18:23:10 -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
Matteo CargneluttiandHenry Wilkinson ca6c19ff0f Bugfix: "info" tab overflow is hidden (#197)
* Bugfix: "info" tab overflow is hidden

* add `height: fit-content` to info list

The scrollbar is added in the correct place, but without this the actual info text gets cut off based on the page size.

* Revert changes to compiled files

* re-commit compiled files

---------

Co-authored-by: Henry Wilkinson <henry@wilkinson.graphics>
2023-08-09 20:18:17 -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 7a8c88b038 CHANGES: update changelist for 1.8.6 release! 2023-07-26 19:47:49 -07:00
Henry Wilkinson dbf8f90064 Reorder Archive Receipt Sections (#194)
* Reorder sections, move download above technical info
* Make the download button more prominent
2023-07-26 19:44:06 -07:00
Henry Wilkinson 2a2330e7f1 Adds the Observer Public Key field to Archive Info (#192) 2023-07-26 19:43:17 -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 df23be42ca bump to 1.8.5 2023-07-11 12:57:12 +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 f8116eeaa6 ruffle: update to ruffle 2023-05-13 release, later versions interfere… (#181)
* ruffle:
- switch to ruffle 2023-05-13 release, later versions interfere with loading, it seems (see #180)
fixes #180

* add ruffle toggling options
- disable by default in embed mode, can be enabled with 'useruffle' attr
- enable by default in standalone, can be disabled with 'skipruffle' attr
- fixes #182

* update CHANGES for 1.8.1
2023-06-16 16:01:31 -07:00
Ilya Kreymer b26f4b082d Compute unique collection id using full sourceUrl if relative url given (#179)
* loading: update sourceToId to resolve any pathname to absolute URL (via document.baseURI) for computing unique id (eg. to avoid conflicts of two 'webarchive.wacz' loaded from different paths) - matches behavior used in embed
embed demo: fix typo, don't change default service worker name
2023-06-15 09:45:01 -07:00
Ilya Kreymer 99a034af49 ui: don't show sidebar within sidebar 2023-06-14 18:16:46 -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 d1e84b1b52 Custom SW filename (#175)
* embed: support using custom filename for service worker instead of sw.js
can be set via <replay-web-page swName='custom.js' ... > property
docs: update embedding docs to mention new option
fixes #160
2023-06-14 17:06:51 -07:00
Ilya Kreymer d767e6e164 CI: Update MacOS Runner to 11 from 10.15 (#173)
* bump to macos-11 runners
* remove xcode removal hack
2023-06-01 17:55:43 -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 c7adbdeb0c file chooser: relax extension pattern to allow query/hash after extension (check for ?/#) (#171)
bump to 1.7.15
2023-05-12 13:52:33 +02:00
Ilya Kreymer f4da4051eb CHANGES: update changelist for 1.7.14
deps: bump to wabac.js 2.15.5
2023-04-06 10:45:09 -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
Matteo CargneluttiandIlya Kreymer 6a24be439c Show total pages count (#164)
* Update pages.js

* show x of y pages found when showing partial results

---------
Co-authored-by: Ilya Kreymer <ikreymer@gmail.com>
2023-04-06 10:10:26 -07:00
Ilya Kreymer 02631740d4 CHANGES: update changes 2023-04-06 10:02:46 -07:00
Matteo Cargnelutti b074cda6d8 Fixes background color in fullscreen mode (#165)
* Fixes background color in fullscreen mode

* Applied fix suggested by @curtgrimes
2023-04-03 11:17:34 -07:00
Curt Grimes d4832e4df9 Support dropping files onto window to load (#163)
- Allow dropping a supported file type onto the window to automatically
  load it as an alternative to clicking the "Choose File..." button,
  selecting a file in the file dialog, and clicking the "Load" button.
- Do not do anything when unsupported files are dropped.
2023-03-31 18:47:00 -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