Commit Graph
556 Commits
Author SHA1 Message Date
Ilya Kreymerandemma 592ccc5253 Add 'utils' module export (#410)
Export core utils and assets used by RWP in /utils.
Add serviceWorkerActivated() utility promise.

---------

Co-authored-by: emma <hi@emma.cafe>
2025-03-12 21:55:29 -07:00
Ilya Kreymer 2ef95985cd downloadUrl support for multiWACZ + latest wabac (#407)
main menu tweaks:
- use downloadUrl for action menu download
- don't show download menu if downloadUrl is null
- don't show Archive Info if downloadUrl !== sourceUrl and in embed mode

improved loading: update to wabac.js 2.21.3

bump to 2.3.3, update CHANGES for release
2025-03-04 11:37:20 -08:00
Emma Segal-Grossman 64dc599532 Add basic date & time formatters using navigator language (#404)
Adjacent to #400 — while this isn't yet a proper localization pass, at
least dates & times will now use the user's browser language/locale
settings. When used in Browsertrix, this should ensure dates are
formatted more consistently, at least when the user has a locale with a
language matching one of the supported languages in Browsertrix set in
their browser settings.

Also adds tabular numerals in a few places (e.g. lists of dates/times).
2025-03-04 13:52:06 -05:00
Henry Wilkinson 51c7eef4cd docs: Update header font (#405) 2025-03-03 22:23:46 -05:00
Henry Wilkinson a5389edb95 Fix edit link
One too many paths!
2025-03-03 21:04:11 -05:00
Henry Wilkinson 6af5ef7149 Fix name of site to align with branding 2025-03-03 21:04:11 -05:00
Henry Wilkinson b105b1b48f docs: Update header font
Long overdue match to Browsertrix docs styling
2025-03-03 21:04:11 -05:00
Emma Segal-Grossman c2a02e2888 Update actions/cache to v4 (#406)
v2 is now deprecated and doesn't run anymore
https://github.com/webrecorder/replayweb.page/actions/runs/13643415384/job/38137809743


https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down

cc @ikreymer
2025-03-03 21:03:01 -05:00
Ilya Kreymer 6493f9942f version: actually bump to 2.3.2! 2025-02-26 23:22:29 -08:00
Ilya Kreymer 4bbe9910e3 loading: fix dynamic page loading for pages with queries (via wabac.j… (#403)
…s 2.12.2)

version to 2.3.2
2025-02-26 23:16:01 -08:00
Ilya Kreymer 4c96ea6cb3 Additional fixes for dynamic page loading optimization (#402)
- Update to wabac.js 2.21.1
- Hide 'Show non-seed pages' when doing a dynamic query
- bump to 2.3.1
2025-02-24 18:01:29 -08:00
Ilya Kreymer de305915b0 CHANGES: update CHANGES for 2.3.0 2025-02-24 14:35:56 -08:00
Ilya Kreymer 6ef8bf4973 Support for dynamic page loading for Multi-WACZs (#399)
Support querying pages dynamically via pages endpoint:
- If loaded pages < total pages, load additional pages via /pages
endpoint if canQueryPages is set to true on item
- If query provided, do `/pages?search=...` to search for pages. Use
pagination of 25 pages for now.

WACZ hash:
- if provided, store waczhash per page, and use for thumbnail, favicon
and top-level replay loading.

Embed: better support for force reloading, call delete with reload
directly in embed

Depends on webrecorder/wabac.js#220
2025-02-24 14:35:03 -08:00
94cbf5e43d fix: Loading indicator fixes (#398)
Resolves https://github.com/webrecorder/replayweb.page/issues/397

## Changes

- Uses animated logo when loading
- Show non-animated logo for error and other states where user action is required.
- Only shows progress bar if progress is >0
- Fixes WARC progress bar percentage lagging behind displayed "Loaded"
values
- Fixes "Cancel" not redirecting back to initial view
- Removes extra spacing from logo image file

---------

Co-authored-by: Henry Wilkinson <henry@wilkinson.graphics>
Co-authored-by: Ilya Kreymer <ikreymer@gmail.com>
2025-02-11 23:17:01 -08:00
Henry Wilkinson 50ac4e41ca fix: Allow CDX file loading (#394) 2025-01-20 09:43:01 -05:00
Henry Wilkinson bbce684c9e Adds CDXJ as a valid format 2025-01-15 15:01:11 -05:00
Henry Wilkinson 89204f3d95 List CDX as a supported file type in the app 2025-01-15 14:57:15 -05:00
Henry Wilkinson 4059f6258d fix: Allow CDX file loading 2025-01-15 14:54:31 -05:00
Ilya Kreymer 6f495c94f9 bump to wabac.js 2.20.8 for 2.2.5 (#389)
add CHANGES for 2.2.5
2024-12-31 21:00:05 -08:00
sua yooandemma 09239285a1 fix: Support description markdown and longer length (#385)
Fixes https://github.com/webrecorder/replayweb.page/issues/381

## Changes

- Renders description as markdown
- Shows "Collection name" and "About this collection" labels when
description is present
- Fixes overflow issue where bottom few pixels of embed is cut off
- Hides description in mobile view

Co-authored-by: emma <hi@emma.cafe>
2024-12-31 19:49:42 -08:00
Emma Segal-Grossman c2ebbed7dc Rename exported Embed to ReplayWebPage, and export EmbedReplayEvent type (#384)
Closes #376
2024-12-23 16:12:45 -05:00
Emma Segal-Grossman ce8230df44 Bump macos version to 13 and node to 20 in CI (#386)
macOS builders are failing with major version 12 because it's deprecated
now https://github.com/actions/runner-images/issues/10721
2024-12-23 15:51:05 -05:00
2f798eeacb Update Site Links and Branding (#375)
Partially addresses https://github.com/webrecorder/website/issues/133

- Adds link to ReplayWeb.page marketing site instead of the docs on the
homepage to better explain the product to new users
- Updates embed receipt with company logo
- Minor capitalization fixes and copy updates.

### Screenshots

<img width="677" alt="Screenshot 2024-11-23 at 2 10 38 AM"
src="https://github.com/user-attachments/assets/1f1fef82-12fb-460c-9757-cf0cb70bc281">

<img width="696" alt="Screenshot 2024-11-23 at 2 15 20 AM"
src="https://github.com/user-attachments/assets/2991bd43-d563-492e-9575-5201ff31a91e">

---------

Co-authored-by: Ilya Kreymer <ikreymer@users.noreply.github.com>
Co-authored-by: Ilya Kreymer <ikreymer@gmail.com>
2024-12-11 16:45:43 -05:00
Ilya Kreymer 9fa008bab2 Nested WACZ + embed reloading fix (#374)
- Loading: Fix for loading nested WACZ files (via wabac.js 2.20.7)
- Embeds: Support full reload on embeds via fullReload() call on embed
web component
2024-11-22 17:58:44 -08:00
Ilya Kreymer bf6da1ed00 deps: update to wabac.js 2.20.6 for fb video + localStorage replay fixes (#373)
deps: update electron-updater
bump to 2.2.3
2024-11-21 15:12:41 -08:00
Ilya Kreymer 7fcb470962 deps: update to wabac.js 2.20.3 / wombat 3.8.6 for wombat typo fix (#370) 2024-11-14 19:17:50 -08:00
Ilya Kreymer 7e967cb14c deps update: (#369)
bump wabac to 2.20.2, minor fidelity improvements via wombat
bump to 2.2.2
2024-11-14 18:17:27 -08:00
Henry Wilkinson 218c1ed14f Minor docs updates & Link Updates (#361)
### Changes
- Fix docs edit URL
- Update links to new webrecorder.net pages
2024-11-01 09:43:27 -07:00
Ilya Kreymer 4d02878c6b deps: bump to wabac.js 2.20.1, wombat 3.8.3 (#367)
fidelity: better handling of document.write() based frame detection (via
wabac.js 2.20.1, wombat 3.8.3)
bump to 2.2.1
2024-10-31 23:58:25 -07:00
Ilya Kreymer 95c9be6c5b Support for import as module, wabac.js 2.20 (#364)
- Extensibility for AWP (customizable toolbar, pass replay iframe messages to parent)
- Support export as module, build separate index.js for module in addition to ui.js
- Update to wabac.js 2.20.0
- bump to 2.2.0
2024-10-16 20:22:11 -07:00
Henry Wilkinson 91dd5addd1 Updates "No archives yet?" text (#358) 2024-09-18 23:55:29 -04:00
Henry WilkinsonandIlya Kreymer 28fd66b289 Update src/item-index.ts
Co-authored-by: Ilya Kreymer <ikreymer@users.noreply.github.com>
2024-09-18 22:01:52 -04:00
Henry WilkinsonandIlya Kreymer 2241b4a76a Update src/item-index.ts
Co-authored-by: Ilya Kreymer <ikreymer@users.noreply.github.com>
2024-09-18 22:00:46 -04:00
Ilya Kreymer a1603c5a3c fidelity improvements (instagram + always online) (#362)
- update rules for instagram
- disable online/offline events detection in replay, replay always
'online' deps: bump to wabac.js 2.19.9, wombat 3.8.2, electron 32.1.0
2024-09-17 20:37:13 -07:00
Henry Wilkinson e53c74dc51 Updates "No archives yet?" text
Gives new users links to our tools for making web archives!
2024-08-26 14:04:14 +01:00
Ilya Kreymer d9c7d55e9a deps: update to wabac.js 2.19.7, (#356)
fidelity improvements to FB replay, eval() rewriting, 'object' tag
rewriting (via wabac.js 2.19.7, wombat 3.7.14)

bump to 2.1.4
2024-08-13 17:05:07 -07:00
Ilya Kreymer 9b42a032ae deps fixes: actually bump version to 2.1.3, bump electron-updater to 6.3.2 2024-08-08 15:08:57 -07:00
dependabot[bot] ab71c7e699 build(deps): bump electron-updater from 5.3.0 to 6.3.0 (#353) 2024-08-08 15:06:50 -07:00
Ilya Kreymer 923232f2df rewriting improvements for a few edge-cases (#355)
edge-case rewriting improvements:
- avoid rewriting inside of strings (via wabac.js 2.19.5)
- detect old-html framesets (via wombat 3.7.12)

bump to 2.1.3
2024-08-08 14:54:07 -07:00
Ilya Kreymer d05f3eaed9 deps: bump to wabac.js 2.19.4, improved replay of video / fix rewriting of DASH manifests (#352)
version: bump to 2.1.2
2024-07-16 17:20:18 -07:00
Ilya Kreymer 16cdd78b4d ci: bump macos runners to macos-12 2024-07-06 14:09:55 -07:00
dependabot[bot] b2e6639fe8 build(deps): bump ws from 8.16.0 to 8.18.0 (#347)
Bumps [ws](https://github.com/websockets/ws) from 8.16.0 to 8.18.0.
2024-07-05 13:06:49 -07:00
Ilya Kreymer ce9447c861 deps: update to wabac.js 2.19.2 (wombat 3.7.10) (#348)
includes sharepoint fidelity (fixes #273)
ui: default URL resources search to 'prefix' (as contains only works after prefix search)
version: bump to 2.1.1
2024-07-05 13:02:24 -07:00
dependabot[bot] 4d339c4ec2 build(deps): bump braces from 3.0.2 to 3.0.3 (#331)
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to
3.0.3.
2024-07-05 12:52:27 -07:00
dependabot[bot] 9ba29d2350 build(deps): bump ejs from 3.1.9 to 3.1.10 (#320)
Bumps [ejs](https://github.com/mde/ejs) from 3.1.9 to 3.1.10.
2024-07-05 12:51:53 -07:00
Henry Wilkinson 1af0180f89 Add opengraph site name to index.html (#324)
- Adds "og:site_name" property to index.html
2024-07-05 12:50:38 -07:00
Ilya Kreymer 9fac1b7f5d deps: bump to wabac.js 2.19.1 + CHANGES for 2.1.0 (#343) 2024-06-21 16:01:15 -07:00
Ilya Kreymer 11ca78c5b6 Remove multiTs from location hash (#340)
Just keep as regular property on Item, as no need to read it from user
input, as multiTs is looked up from wabac API.
2024-06-21 15:46:47 -07:00
Ilya Kreymer 105562abf9 add window message notifications for embeds: (fixes #333) (#335)
- add 'replayNotFoundError' field to 'urlchange' (propagating
'archive-not-found' postMessage message from wabac.js) to embed frame, with url/ts, for 404
pages
- propagate 'page-loading' with loading true/false, to indicate when a
page started/finished loading. (URL not available here)
- Only send one urlchange event per URL change (keep track of change).
- Also ensure multi timestamp change uses replaceHistory to avoid an extra
navigation.
- replay-web-page embed: send rwp-url-change and rwp-page-loading custom events from webcomponent

Fixes #333
2024-06-21 14:47:18 -07:00
Ilya Kreymer f3506a1575 version: bump to 2.1.0 2024-06-21 14:47:18 -07:00