Commit Graph
150 Commits
Author SHA1 Message Date
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
Ilya Kreymer 305b2a689c electron app: switch back to electron 11.2 / chrome 87 to keep flash plugin support
bump version to 1.3.6
2021-01-13 13:50:46 -08:00
Ilya Kreymer dcf79b9af4 app: testing autoupdate with alpha build, bump version to 1.3.6-alpha.0 2021-01-13 11:32:14 -08:00
Ilya Kreymer a4c393fb79 app: update to latest electron (12.0.0-beta.14), fixes PDF rendering issue in app 2021-01-12 23:32:41 -08:00
Ilya Kreymer 917d8d9fbc dependency update to latest wabac.js (2.5.0), warcio.js and wombat.js 2021-01-12 21:44:51 -08:00
Ilya Kreymer 69246e75df ipfs: enable custom preloading
update to wabac.js 2.4.2
2020-12-15 23:57:56 -08:00
Ilya Kreymer 042fefa66d ui: use current page with no querey as home page instead of '/'
update to latest wabac.js
2020-12-13 22:06:28 -08:00
Ilya Kreymer f6de8dfaf0 library support improvements: add index.js which exports all from ui.js
update to latest wabac.js -- smaller size
support for 'source' param on <replay-app-main> which sets sourceUrl and forces direct loading of a single archive only
bump version to 1.3.5
2020-12-13 00:18:55 -08:00
Ilya Kreymer 0e9ea9f2fc update to latest wabac.js
- fix for loading local files in app
- bump to 1.3.4
2020-12-10 17:45:59 -08:00
Ilya Kreymer 548f0670e0 dependencies: update to latest wabac.js 2020-12-09 22:59:13 -08:00
Ilya Kreymer cd40979625 app: ipfs loading improvements:
use IPFSClient from wabac.js
app: remove # from ipfs paths sent to app
preload interface made more extensible
2020-12-09 22:46:16 -08:00
Ilya Kreymer dfdebe9f69 ui: make coll-index more extensible
update CHANGES.md
update to latest wombat
bump version to 1.3.3
2020-12-08 23:35:07 -08:00
Ilya Kreymer 40c2e937dc ui improvements:
- condense navbar, always show with breadcrumbs for collection title and current page
- add update-title event to propagate replay page title for breadcrumb, also updates document.title
- appmain: make app component more extensible, make coll-index also extensible with custom coll info component
- condense index view headers
- bump to 1.3.2
2020-12-07 22:37:08 -08:00
Ilya Kreymer 4155b9af33 wacz loading: support wacz 1.0.0! -- update to wabac.js 2.3.0
local file loading: support purge cache + reload for local files when filehandles are used (chrome)
update CHANGES.md
bump to 1.3.1
2020-11-20 15:38:12 -08:00
Ilya Kreymer b304788a05 loading: more loading fixes in latest wabac.js (2.2.2)
ui: fix typo of using native fs when not available
2020-11-17 23:38:18 -08:00
Ilya Kreymer aa8ad02312 ui: icon update:
- use home icon for return to home page, rwp icon for about menu
- make appName customizable
- make browser contents icon stay in tablet layout, instead of home
2020-11-17 11:52:59 -08:00
Ilya Kreymer ea385d6d32 ui: auth/permissions modal: display custom modal overlay over iframe, fix google drive reauth, update to wabac.js 2.2.1 2020-11-16 21:00:03 -08:00
Ilya Kreymer 228e9bdff6 IPFS Support + Loading Improvements (Better local file handling) + Streamlined Collection View (#25)
* support ipfs:// urls!
misc: better error message for loading from http://
tabs: don't render pages/story/urls if hidden

* ipfs work: remove ww only use sw

* electron + ipfs: add ipfs support to electron app, using ipfs-core
- route ipfs requests to files proxy with 'ipfs=' query param

* file loading:
- add support for new Chrome native file system api with file handles, which allows persistent access to files vial file handles
- if window.showOpenFilePicker() is available use that, include file handle in load message
- support asking permissions for file handles, using similar workflow as google drive auth
- attempt to ask for file permission directly, show auth button if fails (user gestured required)
- replace auth modal with iframe replacement insert to ask for auth for google drive and local file

* ui overhaul for 1.3.0 / condense collection view:
- don't show navbar in collection view
- add logo to back to home page to location bar
- condense location bar buttons
- convert terms to general about dialog, available from collection context menu
- add info tab to collection view in place of drop-down info
- make <wr-coll-info> component, used in both collection list and info tab with additional details
- update to wabac.js 2.2.0

* update CHANGES.md
2020-11-16 18:31:15 -08:00
Ilya Kreymer e839400017 dependecy fix: use released wabac.js (2.1.5) from npm: includes fix for youtube replay
bump to 1.2.3
2020-11-11 13:35:19 -08:00
Ilya Kreymer 0f58a881a2 licenses: move copyright to COPYRIGHT, add AGPL LICENSE, ensure banner added to all webpack built files
update to latest wabac.js
2020-11-02 21:17:01 -08:00
Ilya Kreymer 7c121a0e3a ui: switch location bar to plain text field to avoid extra 'x' in chrome
update to wabac.js 2.1.3 - rewriting fixes, fix regression in twitter rewriting
bump version to 1.2.2
2020-10-29 18:17:55 -07:00
Ilya Kreymer 7ff4284868 electron app refactor: wrap electron config in extendable ElectronReplayApp 2020-10-27 20:18:52 -07:00
Ilya Kreymer e12407983c electron app:
- add file association for .wacz
- support opening wacz, warc, har files via double-click from os (fixes #24)
- command line: support opening files via command line, as well as specifying --url and --ts
- support cmdline args via 'yarn run start-electron <file> --url <url> --ts <ts>'
2020-10-25 09:04:40 -07:00
Ilya Kreymer 4083b10bd2 fixes for google driver reauth:
- move handler back to replay, reauth should now work
- wabac.js fixes: reauth flow only triggered when reauth is needed, not when exponential backoff is used for loading
- bump version to 1.2.1
2020-10-24 20:12:39 -07:00
Ilya Kreymer 3c77ac93d1 update CHANGELIST for 1.2.0 2020-10-22 15:05:50 -07:00
Ilya Kreymer fa6e94bd52 url search: default to all urls instead of html only filter
wabac.js rewriting improvements: more careful 'this' rewriting in js
bump to 1.2.0-beta.2
2020-10-22 14:49:20 -07:00
Ilya Kreymer 15ee50e793 update wabac.js (db ref count fix) 2020-10-19 21:13:18 -07:00
Ilya Kreymer 92b875a29b location bar fixes:
- fix url not being updated from navigation
- reload current url when pressing enter in location bar
- revert to current url when losing focus and url is blank
- fix hitting 'escape' resets location bar to current url
- bump version to 1.2.0-beta.1

latest wabac.js: fixes for fetch credentials override, use wabac.js 2.1.0-beta.4
2020-10-19 17:43:18 -07:00
Ilya Kreymer 8144b602a7 ui work:
- show favicon in location bar, if available
- editable mode: experimental allow editing collection title from pages view, update using new api
- editable mode: disable selected only downloads if nothing is selected
- pageentry: simplify, use passed in date

wabac.js: update to latest dev wabac.js 2.1.0-beta.2, including improved fuzzy matching system, new rules for fb and twitter (beta)
2020-10-14 23:42:10 -07:00
Ilya Kreymer a9c6148d67 packaging: add assets to packaging
build with wabac.js develop
fix bulma import to help loading as module
bump version to 1.2.0-beta.0
2020-10-14 23:41:51 -07:00
Ilya Kreymer 221cb73b82 update CHANGES for 1.1.2 and bump version 2020-10-02 17:53:05 -07:00
Ilya Kreymer 5d44a7f8d9 wabac.js update
url search: fix loading of additional items for mime type search, sorter optionally pages results
bump to 1.1.2-beta.1
2020-10-02 16:09:28 -07:00
Ilya Kreymer b2fcc4ced1 rewriting fixes: update to latest wabac.js (2.0.8) for rewriting, fuzzy matching improvements, including fixing replay of embedded tweets
bump to 1.1.2-beta.0
2020-09-30 20:42:09 -07:00
Ilya Kreymer 83ac63d0d8 sorter and search fixes:
- sorter: ensure sort settings are remembered
- sorter: remoe default attrs, just bind to 'sortKey' and 'sortDesc' to set the defaults
- pages: override sort order by best match when doing a text search, back to by date when showing page list
- page entries: fix date sorting, normalize page.timestamp and page.date on all page results
- url resources: fix 'contains' search, add highlighting to search results
- ensure textIndex cache is deleted when collection is removed
- bump electron to 10.1.3
- bump version to 1.1.1
2020-09-30 12:40:44 -07:00
Ilya Kreymer 4315a54263 bump version to 1.1.0-beta.1
rebuild ui.js
2020-09-29 17:55:52 -07:00
Ilya Kreymer 5b1431fc5b update to wabac.js 2.0.7 (includes rewriting fixes for webworkers, wix, and embedded pages about:blank)
minor tweaks to pages/pageentry in editable mode
bump version to 1.1.0-beta.0
2020-09-27 11:31:52 -07:00
Ilya Kreymer 9e23433dae location change: ensure plain search in location bar go to fully expanded view, clear out url/ts 2020-09-16 18:28:06 -07:00
Ilya Kreymer 4068a0265d misc usability fixes:
- links: make all replay links valid hashtags instead of empty "#"
- replaybar: fix padding on dropdown menu button
- a11y/focus: only set focus on replay frame if no sidebar is visible
bump electron to latest 10.1.2
set version to 1.1.0!
2020-09-16 13:27:10 -07:00
Rebecca Lynn CremonaandIlya Kreymer 05adead57c Accessibilty, first pass (#17)
* Placeholder color contrast @ WCAG 2.0 level AA

* Trailing whitespace removed.

* Remove redundant labels.

* Logo is a link in mobile, if not-embedded; otherwise, span. Fix link labels.

* HREF mandatory on A; menu behaves like a popup button.

* Hide icons from screen readers.

* About icon id keyboard-operarable and is labeled.

* Note about inaccessible modal.

* Missing closing tag.

* Fix nesting/indentation.

* Fix nesting/indentation; add missing closing tag.

* Trailing whitespace removed.

* Don't use NAV landmark for non-nav; add heading for page structure.

* Hide icon.

* Load archive form's buttons visibly receive keyboard focus.

* Trailing whitespace removed.

* "Hide" header button is keyboard-operable, and more-verbosely labeled for screenreader users.

* Don't use NAV landmark for non-nav; add heading for page structure.

* Sort order announced to screen reader users.

* Trailing whitespace removed.

* Delete button only a button when it can be pressed; announce in progress deletion.

* Trailing whitespace removed.

* Use a NAV landmark for replay controls.

* Remove "menu" role, to avoid having to implement arrow key support https://www.w3.org/WAI/GL/wiki/Using_ARIA_menus

* Hide icons.

* Label buttons.

* Links in disguise as buttons need HREF, and to respond to spacebar.

* Re-dub "main menu" to distinguish from replay menu

* Replay nav buttons visually get keyboard focus.

* Trailing whitespace removed.

* Hiding icons; button labels; links-as-buttons are operable.

* Use type=search for additional clarity.

* Add appropriate landmarks and a heading for structure and clarity.

* Tab selection is a nav, and is keyboard operable.

* Indentation; missing closing tag.

* Trailing whitespace removed.

* Title iframe.

* Not a navigation.

* Per discussion, rename tab to "URLs" (label only; route etc. the same while experimenting).

* Announce when expanded/collapsed.

* Remove "menu" to avoid having to implement expected keyboard support.

* Use correct heading level when in sidebar and when main.

* Trailing whitespace removed.

* Semantic markup of table; headings and captions; link-buttons are keyboard operable.

* Skip links for keyboard users.

* Title iframe; hide icon.

* Just a list, not an aside.

* Not an article.

* Remove trailing whitespace.

* Make each page in the list a heading.

* link-buttons are keyboard operable.

* Use semantic list for page list.

* Announce changes to search results.

* More wayfinding tweaks.

* Landmark and heading for replay.

* Dynamic page titles.

* Remove redundant labels from main landmarks.

* additional tweaks after rebase
- add 'role' to each of the tabs, dependent if sidebar or not
- add 'role=main' for replay
- add sr-only headers to each tab

* fix typos

* remaining tweaks:
- url-resources: fix sorter getting moved into notification
- url-resources: fix border for mobile view
- add screenreader labels to expand/hide buttons

* Show hover effect on focus.

* Wrap the whole sidebar is role=complementary, including the tab navigation.

* Make buttons keyboard operable; fix typos.

* Programmatically associate sidebar toggle button with sidebar.

* Per discusson, try calling this "URLs"

* Different heading levels for sidebar and main.

* Announce changes to search results.

* Correct dynamic page title, whe not in sidebar.

* Remove hyperlink focus decoration; reveal obscured focus indicator.

* Focus on replay, when replay changes.

* Make buttons keyboard operable.

* Move spacebar helper to misc instead of duplicating.

* Bump compiled assets.

* Use disabled attribute to match css; update label to describe new sidebar.

* Adjust replay focus styles.

* Adjust replay nav button focus, so visuals onclick in Chrome are less prominent.

* Put wordmark with logo on non-embed desktop, so that logo and wordmark make a single link.

Co-authored-by: Ilya Kreymer <ikreymer@gmail.com>
2020-09-16 12:46:44 -07:00
Ilya Kreymer 7d9ce2b952 safari fixes: update to latest wabac.js (fix bug with cacheing responses to safari's 0-1 range check)
fix spinner in safari by adding keyframes to document itself
2020-09-10 23:17:26 -07:00
Ilya Kreymer d0cc1acb71 ui tweaks for mobile:
- fix url chooser cut-off in mobile (#14)
- sidebar toggle goes directly to full view (no sidebar) in mobile mode
2020-09-09 09:41:47 -07:00
Ilya Kreymer 851ce9bf90 sidebar refactor:
- support all view tabs (story, pages, resources) appearning as possible sidebar
- remove 'replay' as view, show replay if url= is set
- story: support splitter view for both sidebar/mobile and full view
- urlresources: support sidebar view, default to prefix search as default search type
- embeds: don't show sidebar for 'replayonly' embed mode
2020-09-08 15:03:58 -07:00
Ilya Kreymer 3f5431b7d7 embed: support referencing specific pages by index into page list, eg. url="page:0" will load the first page
sorter: use defaultKey / defaultDesc for url-resources sorter
2020-09-06 20:42:32 -07:00