Commit Graph
489 Commits
Author SHA1 Message Date
Aaron a39e16b309 Fix a few typos in the documentation (#2)
Signed-off-by: Aaron <admin@datahoarder.dev>
2020-06-12 07:00:11 -07:00
Ilya Kreymer ae872cd219 docs and README: add wacz format doc, tweak links, tweak README 2020-06-11 15:08:24 -07:00
Ilya Kreymer 53bb291406 update sw.js 2020-06-11 08:30:35 -07:00
Ilya Kreymer 98ea27498d rename 'how it works' -> 'user docs'
remove download for now
2020-06-11 02:15:55 -07:00
Ilya Kreymer b9a4089c6b license / docs pass:
- add new docs for loading, exploring, sharing, embedding, and offline usage
- add license file / license banner

electron app:
- for now, don't bundle docs, open in native browser

embeds:
- support 'embed' option, 'replayonly' or 'full' (default if no url)

ui:
- display package.json version in info menu

package.json:
- update scripts to match README
- move electron entrypoint into extraMetadata
- add scripts for packaging as module

README: minor edits
2020-06-11 00:42:10 -07:00
Ilya Kreymer 948b232fbf Create README.md 2020-06-10 19:44:36 -07:00
Ilya Kreymer d71a9e77bc electron build:
- build both 32 and 64-bit for windows
- download both 32 and 64-bit flash plugins for windows, use correct one based on platform.arch
- sign and publish only on master
2020-06-10 12:20:23 -07:00
Ilya Kreymer 479b62abe1 travis: switch to 'yarn run release' to ensure draft updated 2020-06-10 11:07:31 -07:00
Ilya Kreymer cceb1ea457 ui: rename collapse/expand list to just show/hide
electron app: use single-instance lock to avoid multiple instances (will not work with indexeddb)
2020-06-10 10:25:09 -07:00
Ilya Kreymer 935bb2a828 ci: pass signing vars for win/linux build, use 'dist' and try default publish semantics 2020-06-10 10:24:01 -07:00
Ilya Kreymer b6f70975be misc fixes:
- don't attempt to resolve sourceUrl (breaks file urls)
- pass blob to loader
- add exact size progress update, if available
- google drive loader: switch to manual auth for any error
2020-06-10 08:35:02 -07:00
Ilya Kreymer 6ed0e510e2 test fix on windows 2020-06-09 20:53:16 -07:00
Ilya Kreymer 335c2bfd35 electron app: send filename in query filename= param, instead of as part of url path, more robust and should work on windows 2020-06-09 18:58:17 -07:00
Ilya Kreymer 1f226fe91a ci: set up travis build
- use seperate plugin dirs, plugins-mac, plugins-win, plugins-linux for the flash plugin to support
simultaneous win and linux build
- enable notariziation, use env vars to run on travis
- ci runs 'yarn run dist', skip docs build from ci
- pass GH_TOKEN to docker containers
- update to latest electron packages
2020-06-09 18:31:37 -07:00
Ilya Kreymer 101c4b3319 misc ui tweaks, mostly pages:
- add download menu
- add selection hilite
- tweak colors on chooser
disable notarize for now
2020-06-08 21:53:04 -07:00
Ilya Kreymer 149558f647 various tweaks for pages:
- support page column size, page deletion
- page deletion only enabled if has size, for now
- sorter can default to desc, tweak color for pages panel, default sort by time, descending
2020-06-01 13:45:59 -07:00
Ilya Kreymer fb3d137d24 rename curated-lists -> story, split pages into own top-level tab again
pages also has sidebar for filtering by list
pages, lists, curatedPages loaded on collection init
curated list only store page id and optional desc, resolved to pages at runtime
2020-05-29 23:32:22 -07:00
Ilya Kreymer eebe66cbf5 ui tweaks:
- add filtering to collection index
- tweak styles for chooser, sorter
2020-05-29 12:58:30 -07:00
Ilya Kreymer afd9d8bca9 update electron builder, use set name to 'replaywebpage', productName to 'ReplayWeb.page' 2020-05-28 20:16:30 -07:00
Ilya Kreymer 890139595e minor tweaks:
- add favicon
- fix replay intro alignment
2020-05-28 18:29:31 -07:00
Ilya Kreymer 6fbefb2f74 minor fix: remove 'flex: 1' to fix ff 2020-05-26 16:05:28 -07:00
Ilya Kreymer dd746e1d55 misc fixes:
- sw: ensure db is inited before api listAll() call
- ui: init dbworker earlier, on app load
- typo: fix date created -> date loader
2020-05-26 15:42:19 -07:00
Ilya Kreymer 03023523b7 big ui update, page search + full text
- split file chooser from coll index, insert as header, make file chooser collapsible
- revamp collection index to be responsive
- add separate sorter component, used for collection index and pages
- combine 'curated lists' + pages, with page search + narrative
- ensure page + narrative lists are collapsible
- page search: support title, url and full text search if available, using flexsearch
- page search: keyword highlighting, load all pages, showing in increments of 100
- page and resource search: delay search to 1/4 sec of inactivity to avoid too many queries
- electron app: ensure noCache is set to true for local files
- embedding: remove separate embed.js, just use ui.js for embed as well
- embedding: support embedding iframe in a local origin with just sw.js and ui.js: sw.js serves index.html,
<replay-web-page> embed injects ui.js into iframe
- sw.js, new service worker entry point
- sw and ww inited only from <replay-app-main>, ui.js loaded from <replay-web-page> embed component
2020-05-26 14:43:28 -07:00
Ilya Kreymer ff6de51132 update index.html also 2020-05-24 13:10:46 -07:00
Ilya Kreymer 1e3c2386f9 add missing ui.js 2020-05-24 13:07:05 -07:00
Ilya Kreymer e3d5abdbeb refactor: split frontend into file per component! 2020-05-22 23:43:56 -07:00
Ilya Kreymer 99b5fe4479 add viewport, more responsiveness tweaks, add initial page list tab! 2020-05-22 21:42:33 -07:00
Ilya Kreymer 5ba85b1f9a add webmanifest, update sw 2020-05-22 20:53:06 -07:00
Ilya Kreymer 114abe662b make archive index a sortable table,
make brand heading responsive, hidden on small screens, allow for more space for nav tabs
support copying source url
add date added property for new archives
use css for anim
2020-05-22 08:47:55 -07:00
Ilya Kreymer 9fb4c24b9e don't use baseUrl '/', breaks gh pages! 2020-05-21 19:00:24 -07:00
Ilya Kreymer 220d14aea3 jekyll: move jekyll back to root, but simpler setup, exclude via _config.yml
app: bundle jekyll docs into app, add 'yarn run docs' to build
ui: add back/forward arrows for app only, adjust responsiveness for app, add IS_APP flag injected via preload
ui: add animated logo, friendly message on empty replay frame
app: improve serve logic:
- serve static files from static root
- serve replay from http localhost instead to avoid proxying https for remote requests
- serve local lookup from http prefix also
- catch any fallthrough from replay as 404
- add timestamp to response channels to ensure uniqness
2020-05-21 18:49:26 -07:00
Ilya Kreymer da1e5c03df reorg dir structure:
- keep shared and electron build at root
- move static files for replayweb.page and Jekyll config to docs/
- move Jekyll markdown to docs/docs/
2020-05-20 17:28:03 -07:00
Ilya Kreymer 0b21581836 electron osx build improvements: add notarize support, move build assets to build, add osx security entitlements 2020-05-20 16:27:17 -07:00
Ilya Kreymer 1a2f2c00a2 add electron build!
- use webpack to build electron-main and electron-preload
- intercept 'https' protocol to run on 'https://replayweb.page' in app
- serve local files from 'https://files.replayweb.page'
- support flash in with service worker replay: catch any fallthrough urls and load via intercept with render process callback
- add icons for electron build
2020-05-19 22:49:08 -07:00
Ilya Kreymer abd5060d20 embed: update embed deeplink to use replaceState instead of hash assign 2020-05-19 12:50:48 -07:00
Ilya Kreymer ab8e051ff0 misc ui fixes:
- update logo, fix logo styling in docs
- fix terms modal
- embeds: add option to support 'deep-linking' into embed via hash
2020-05-19 10:25:33 -07:00
Ilya Kreymer 5014cff233 url resources: fix load more not working for multiple mime types, styling fix for header and loading logo, update sw 2020-05-18 19:47:53 -07:00
Ilya Kreymer 6a85bd801e update sw: improved fuzzy matching rules, support for per-collection rules for ziparchive 2020-05-16 20:41:03 -07:00
Ilya Kreymer e995acfdbd misc fixes for embeds:
- update helper proxy url
- don't parse embed args if empty
2020-05-16 12:35:56 -07:00
Ilya Kreymer 077c8cae19 bundle into single js file!
- remove external css - ensure bulma styles don't rely on html, body
- move logo.svg to be loaded inline
- rename scss -> assets
- remove wombat/wombatWorkers, bundled via raw-loader and sw.js
2020-05-16 09:34:49 -07:00
Ilya Kreymer 4df2f78654 index: make entire index scrollable
sorting: add sorting to url resources
2020-05-15 11:37:55 -07:00
Ilya Kreymer ad2ee1ed79 update sw for rewriting fixes 2020-05-15 11:16:13 -07:00
Ilya Kreymer e119a19386 add embed.js 2020-05-14 19:11:56 -07:00
Ilya Kreymer 84f4aa3717 embeds work:
- ability to specify an explicit collection and pass extra config
- reauth: don't show message if reauth pending
- add fullscreen toggle
2020-05-14 19:08:16 -07:00
Ilya Kreymer 822d459859 minor ui tweaks, switch to info icon 2020-05-12 14:07:02 -07:00
Ilya Kreymer 7294c05d2c misc fixes for FF and safari
navbar info item: add dropdown to show info about current archive, source, size and loading mode
2020-05-12 12:59:09 -07:00
Ilya Kreymer f54078627f ui responsiveness: make tabs appear in top bar if enough space, hide text and move to second row for smaller widths 2020-05-12 09:05:18 -07:00
Ilya Kreymer 780d5b74a9 add embed.js for embedding <replay-web-page>!
css tweaks for replay iframe, initial support embed param to hide nav bar
various css tweaks for scrolling!
2020-05-11 19:10:09 -07:00
Ilya Kreymer f6bcc95cdc fix for safari: use type='text', move input out of label 2020-05-10 13:26:33 -07:00
Ilya Kreymer 4132058282 colors: tweak curated page link color to green
sw: support offline loading!
2020-05-10 11:47:02 -07:00