Commit Graph
218 Commits
Author SHA1 Message Date
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 21b796fa62 electron app: remove debugging message box for release 2020-10-25 09:40:29 -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 94dbf0fd77 update CHANGELIST for 1.2.1 fixes 2020-10-24 20:55:39 -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 cc370a2261 wabac.js update: rewriting improvements, fix web worker rewriting and enable legacy <object> tag rewriting for youtube flash video 2020-10-17 01:00:02 -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 66552aae6c Update CHANGES.md for 1.1.1 release 2020-09-30 13:40:26 -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 b0799256b3 embeds: only show replay in embedded mode when visible, using IntersectionObserver to detect when off-screen 2020-09-29 16:19:00 -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 3f8bdf1ad1 ci: try splitting windows and linux builds into seperate passes to only build appimage for 64-bit, to address #20 2020-09-17 09:13:41 -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 ac93f0f52d build: fix branch for release build 2020-09-16 15:55:12 -07:00
Ilya Kreymer 5e5cdbbd7b add CHANGES and update README 2020-09-16 13:58:07 -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
Ilya Kreymer c5fecb88b2 Dependabot Updates (#19)
* Bump websocket-extensions from 0.1.3 to 0.1.4 (#3)
* Bump elliptic from 6.5.2 to 6.5.3 (#11)
* Bump lodash from 4.17.15 to 4.17.20 (#13)
* Bump node-fetch from 2.6.0 to 2.6.1 (#18)
2020-09-16 12:53:36 -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 1790a1a73e update wabac.js (support for native hls videos for safari) 2020-09-10 19:05:54 -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
Ilya Kreymer a3214dc081 minor tweaks:
- add padding to markdown <p> in story mode, fixing #6?
- fix page sorting: switch to best match if searching, otherwise default to date
2020-09-06 17:10:48 -07:00
Ilya Kreymer 2212678ed7 embed: add allow-forms to sandbox, otherwise location bar is disabled
update to latest wabac.js
2020-09-02 21:17:49 -07:00
Ilya Kreymer 889f51171a splitter fixes:
- fix readding splitter after switch to different views
- fix size of standalone pages
2020-09-01 22:05:04 -07:00
Ilya Kreymer d6515152c0 splitter: use more lightweight split.js for sidebar splitter 2020-09-01 21:42:44 -07:00
Ilya Kreymer 457b980af1 sidebar: ensure hiding sidebar is correctly saved in localStorage 2020-09-01 12:51:02 -07:00
Ilya Kreymer 557b528ca6 build: disable automatic chunking for now 2020-08-31 19:40:04 -07:00
Ilya Kreymer f8120adbbd splitter tweaks: pass array to splitter,
bump version to 1.1.0-beta.2
rebuild
2020-08-31 19:27:09 -07:00
Ilya Kreymer 609bcaff85 split pageentry into pageentry.js
text snippet: only include the first match to limit size of snippets
2020-08-31 19:20:09 -07:00
Ilya Kreymer 804529aeea sidebar support + pageview sidebar work!
- pages view now appears as sidebar in table/desktop sizes when clicking show pages button
- using <split-me> webcomponent to support adjustable splitter for sidebar
- pages view includes list filter if lists exist
- current page is highlighted when selected in sidebar
- date appears below url for each when in sidebar/mobile view mode
2020-08-31 18:47:24 -07:00
Ilya Kreymer 910e4795a5 collection fixes:
- default to pages tab if story not available
- fix location bar
2020-08-29 17:26:59 -07:00
Ilya Kreymer e580a63e7e update to latest wabac sw.js 2020-08-27 16:06:51 -07:00
Ilya Kreymer 57ec6acd38 embeds: fix reloading: reload only the embed frame, add counter to only reload twice 2020-08-26 12:59:20 -07:00