Commit Graph
479 Commits
Author SHA1 Message Date
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
Ilya Kreymer 83c071be06 build: remove devServer from misc config 2024-06-20 15:47:59 -07:00
Ilya Kreymer 4d6239c87e Merge branch 'main' of github.com:webrecorder/replayweb.page 2024-06-19 09:40:57 -07:00
Ilya Kreymer a4d0dbf489 deps: update to wabac.js 2.18.4 / wombat 3.7.7 (#339)
update CHANGES for 2.0.2
2024-06-18 19:00:49 -07:00
Ilya Kreymer d96ef7909b deps: update to wabac.js 2.18.4 / wombat 3.7.7
update CHANGES for 2.0.2
2024-06-18 18:58:43 -07:00
Emma Segal-Grossman 1feee354c7 Configure package exports explicitly (#336)
Closes #337
Blocks https://github.com/webrecorder/archiveweb.page/issues/198

Adds a dedicated `misc` export, as well as explicitly exporting the
`electron-*` files and the `index.html` file. This restricts imports to
only these files, and allows us to not have to exactly match webpack
configs between RWP and AWP.
2024-06-18 21:41:21 -04:00
Ilya Kreymer 2700797b6a Resource search remove auto-added http prefix (#334)
- remove previous optimization that auto-added 'https://' prefix to search
queries, which resulted in 'urn:' resources not being searchable.
also caused unintuitive behavior, where 'ht' would show no results while
'http' would, now fixed. Results in more predictable search results in
the end.
- Also default to contains instead of prefix search by default
2024-06-18 18:38:48 -07:00
Henry Wilkinson 74266bf3b3 Adds multi-resolution ICO file for Windows (#325)
Fixes Electron's bad default nearest neighbour scaling of the PNG when
it reformats it into ICO format... Now this is done by us!

Keeps the PNG around for Linux support.
2024-06-18 10:44:44 -07:00
sua yoo 9cfeca3428 Upgrade Shoelace & Lit (#329)
Related to https://github.com/webrecorder/browsertrix/issues/1836 --
Upgrades Shoelace and Lit to match browsertrix.
version: bump to 2.0.2
2024-06-12 11:48:08 -07:00
Ilya Kreymer dc26fb25a1 update CHANGES.md for 2.0.1 2024-06-09 17:45:59 -07:00
Ilya Kreymer 7229609ed0 2.0.1 work - fidelity + build improvements (#327)
Fidelity improvements (via wabac.js and wombat):
- fixes ebay carousel #326 (via wombat)
- partial fix to error page escaping #323 (via wabac)
- fixes to reddit pages #317 
- fixes to twitter/x replay (via wabac / wombat)

Build improvements:
- run mkdocs gh-deploy --force in gh action, instead of publish-docs to avoid accidental updates
- auto install ruffle from download script, remove from git, add 'update-ruffle' script
- update to latest ruffle which doesn't inject setImmeidate/ clearImmediate to avoid interference with certain sites, fixing fidelity on some sites (including twitter/x)
- remove unused src/sw.ts
- deps: wabac.js to 2.18.2

bump to 2.0.1
2024-06-09 17:38:38 -07:00
Ilya Kreymer a56e312f8f quickfix: README: fix releases link, fixes #321 2024-06-08 12:49:40 -07:00
Ilya Kreymer 1b61d7e3ce Changelist: one more CHANGES.md update for 2.0.0! 2024-04-10 19:33:13 -07:00
dependabot[bot] ecfcac45e0 build(deps): bump loader-utils from 2.0.0 to 2.0.4 (#316)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.0
to 2.0.4. to fix critical security issue
2024-04-10 19:30:17 -07:00
Ilya Kreymeranddependabot[bot] a59309c983 Dependency Updates (#315)
Update electron, webpack packages, express, follow-redirects, and
replace now obsolete svg-inline-loader with raw-loader

---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-10 19:27:14 -07:00
Ilya Kreymer 68f9485aba update ruffle to 2024-04-10 release (#314)
Update Ruffle to latest (2024-04-10)
2024-04-10 19:25:22 -07:00
Ilya Kreymer 27e41d5ef3 update CNAME 2024-04-10 19:02:11 -07:00
Ilya Kreymer 14462c1506 final fixes + changelist for 2.0.0!
- package: add adblock/adblock.gz to npm package
- electron: remove ./site/
- add CHANGES for 2.0.0
2024-04-10 18:38:38 -07:00
Ilya KreymerandHenry Wilkinson 5196b4f037 README tweaks for 2.0.0 (#309)
- Updated language for yarn commands
- Updated link to embedded docs (doesn't work with old site)

---------
Co-authored-by: Henry Wilkinson <henry@wilkinson.graphics>
2024-04-10 17:09:29 -07:00
Ilya Kreymer 0814e28778 Adblock Support for Embeds (#308)
Fixes #307 

- Adds optional adblock support, via wabac.js (dependent on
webrecorder/wabac.js#167).
- For now, adblock enabled only for embeds via the `useAdblock`
attribute, and can be enabled per archived item.
- By default, adblock filter rules from
[EasyList](https://easylist.to/easylist/easylist.txt) are used, however,
a custom filter rules file can be used via `adblockRulesUrl` attribute
(default is ./adblock/adblock.gz)
- Added `fetch-adblock.sh` script to fetch latest easylist, filter out
`##` rules and compress to `./adblock/adblock.gz`
- Not yet possible to enable adblock for standalone browsing via
replayweb.page
- bumps version to 2.0.0-beta.3
2024-04-10 16:27:04 -07:00
Ilya Kreymer 92343d59f7 Site reorg: Remove site/ subpath (#306)
Unfortunately, for proper package pathing, need to remove the `site/`
subpath. This includes:
- Moving everything back into root
- Adding a `copy-site.sh` script to copy resources into `mkdocs/site/`
before building the site with mkdocs.
- Also update examples to ensure all are loading the local sw.js / ui.js
- Consolidate examples in `docs/examples`
- Consolidate assets under src/assets/
- Move `favicons` to root
- Reformat and relint
- Tests: update playwright tests to use mkdocs output, add test for
embed in docs
- bump to 2.0.0-beta.2
2024-04-09 23:07:23 -07:00
Henry Wilkinson fcd59b634b Docs: Add updateFavicons to the embed options list (#305)
- Adds info on `updateFavicons` attribute to the table
- Adds note on timestamp format
2024-04-09 17:19:28 -07:00
Ilya Kreymer 01a6ebc5b6 Electron Fix for 2.0.0 (#304)
- build UI.js to site/ directly (build electron to dist/)
- no longer need to copy favicons
- load site assets directly from site/
2024-04-09 15:33:43 -07:00
Henry WilkinsonandIlya Kreymer 00f01222a7 Adds sl-copy-button fontawesome icons (#302)
- Changes `sl-copy-button` icons to use fontawesome equivalents so they
fit in with everything else in ReplayWebpage
- Converts sl-icon to use fa-icon for error icon
- Adds missing whitespace

Co-authored-by: Ilya Kreymer <ikreymer@gmail.com>
2024-04-09 15:01:10 -07:00
Ilya KreymerandHenry Wilkinson 858f9d61bb Convert URL encoded images to inline SVGs with fa-icon (#303)
Avoid data: URL loading and just inject SVG inline directly for logo, receipt and loader
Additional favicon path fixes

---------
Co-authored-by: Henry Wilkinson <henry@wilkinson.graphics>
2024-04-09 15:00:08 -07:00
Ilya Kreymer 5e995438ca Merge branch 'main' into dev-2.0.0 2024-04-08 18:49:50 -07:00
Henry WilkinsonandIlya Kreymer cbe98c4fa1 Reasonably Scoped Branding Update (#299)
- Adds TsconfigPathsPlugin
- Custom icons, branding assets, and favicons now all live under
`/src/assets` in organized folders (Mirrors Browsertrix folder
organization and naming)
- Assets can now be referenced with `import: varName from
~assets/assetpath` app wide!
- SVGs continue to use `svg-inline-loader`, favicons are copied to
`/site/favicons` on app build
- Adds favicons to the main `index.html` page for ReplayWeb.page and
`embed.html` example page
- Replace README header with new branding
  - Lives under /assets because it's not app related
- Adds new webmanifest app icons
- Adds new Electron app .icns (macOS ) and .png (Windows & Linux) app
icons
- Replaces globe icon in the embed receipt with ReplayWebpage icon!
  - Adds lockup to the footer section
- Removes logo animation
- Removes logo values from `renderErrorReport()` in swmanager.ts in
favour of additional import statements

---------
Co-authored-by: Ilya Kreymer <ikreymer@gmail.com>
2024-04-08 18:47:17 -07:00
Ilya Kreymer 963349f38d dependency update: fidelity improvement: (#301)
- fix resolving relative URL by avoiding not-http/https URL as base URL
(via wombat 3.7.3)
- dependencies: update to wabac.js 2.17.3, wombat 3.7.3
- fixes #300
- bump to 1.8.17
2024-04-08 18:25:27 -07:00