1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00

2276 Commits

Author SHA1 Message Date
Ivan Velev
46cc04bafd vue ui bug fix: bugs in capture list on calendar day click
had to add a single-snapshot check for each period of each type: year/month/day/hour, at end of snapshot loop; as all snapshots are now added to the period hierarchy;  bug was that the last period of each type did not have the calculation "isContainsSingleSnapshotOnly" run on it
2022-02-02 15:23:53 -08:00
Ilya Kreymer
24223bcda5 testing: add 'is' endpoint for testing 2022-02-02 12:59:30 -08:00
Ilya Kreymer
8d85fefa57 ui: logo: don't require '/static/' before logo in old ui - consistent with new ui, update docs 2022-01-27 11:06:46 -08:00
Ilya Kreymer
08826f886b Merge branch 'main' into new-ui-work 2022-01-25 23:20:24 -08:00
Ilya Kreymer
0f05dbde55 CHANGES: update changelist for 2.6.4 release v-2.6.4 2022-01-25 23:19:23 -08:00
Philip Clegg
825e4e54ab
rules: feat: remove fbclids (#691)
- fuzzy match 'fbclid=' query arguments (from facebook redirects)
2022-01-25 21:40:53 -08:00
Ilya Kreymer
38b1952d34
live route fix: (#692)
- when 'redirect_to_exact' is enabled, the top-frame expects a redirect for top-frame, however, live mode does not result in redirect to top-frame, so render live top-frame same as before
- tests: ensure top-frame loads correctly for live mode with redirect_to_exact enabled
- tests: fix webenact index tests
2022-01-25 19:10:28 -08:00
Tim Gates
c42833d4ad
docs: Fix a few typos (#669)
There are small typos in:
- pywb/utils/test/test_binsearch.py
- pywb/warcserver/resource/responseloader.py
- pywb/warcserver/resource/test/test_pathresolvers.py

Fixes:
- Should read `length` rather than `lenghth`.
- Should read `equals` rather than `eqauls`.
- Should read `assume` rather than `asume`.
2022-01-25 18:21:01 -08:00
Mat Kelly
ddcbde573c
Documentation: Add periods to end of list of access types in docs to make consistent (#670)
The top two access types end in a ".". The final two do not. This simply adds periods to the third and fourth list items to make punctuation consistent among the bullets.
2022-01-25 18:19:51 -08:00
Ilya Kreymer
581e4601bb template fixes: fix comment in head, footer, header templates
vueui fixes:
- fix error if no urls found on calendar page
- convert url to text box to allow enter new urls
- fix suport for logo, have logo link to home page
2022-01-24 23:49:51 -08:00
Ilya Kreymer
613754307c fixes based on feedback from @ldko!
templates:
- add placeholder footer.html, head.html templates
- allow 'base_html', 'footer_html', 'head_html', 'header_html' to be added via wb-manager 'add-template' cmd
- automatically add 'base.html' when adding a copy of other templates, as jinja2 extends looks for templates locally

ui tweaks:
- vueui: support logo loaded from ui.logo
- make logo link to home page
- home page: don't show collection title if title is empty

documentation tweaks:
- clarify static_path is for loading path
- clarify footer and head templates are empty by default
- remove extra is_framed from top frame template documentation

bump to 2.7.0b1
2022-01-23 17:59:02 -08:00
Ilya Kreymer
6bde8fd8c4 wombat.js: rebuild wombat.js to 3.3.6 (was not properly rebuilt previously), alternative fix to #690
update CHANGES
bump to 2.6.4
2022-01-19 18:35:39 -08:00
Ilya Kreymer
18c09266e6 Merge changes from 2.6.3 into 2.7.0b0 2021-12-22 18:16:48 -08:00
Ilya Kreymer
7ff789f1a8 CHANGES: fix typos in changelist v-2.6.3 2021-12-22 17:42:19 -08:00
Ilya Kreymer
c0519a53c3 ci release: update description 2021-12-22 17:38:29 -08:00
Ilya Kreymer
de9b9310d4
Additional fixes for 2.6.3 (#689)
CHANGES: update changes for 2.6.3

location rewrite: pass 'arguments' to rewrite func to guard against rewriting local 'location' in some circumstances, partial fix for #684

ci: add automated docker push on new v-* tag
v-2.6.3b0
2021-12-22 17:26:45 -08:00
Ilya Kreymer
0c4e406876 quickfix: localization: ensure placeholder text also marked as localized, fixes #685 2021-12-22 16:51:02 -08:00
Ilya Kreymer
c97a66703b
More consistent env var setting / static path fix (#688)
* template/custom env var fix:
- ensure pywb.host_prefix, pywb.app_prefix and pywb.static_prefix set for all requests via prepare_env()
- ensure X-Forwarded-Proto is accounted for in pywb.host_prefix
- call prepare_env() in handle_request(), and also in rewriterapp (in case using a different front-end app).

* update wombat to 3.3.6 (includes partial fix for #684)
* bump version to 2.6.3
2021-12-22 16:15:27 -08:00
Lauren Ko
118400c641
New UI corrections (#687)
* Fix typos.

* Make ui variable available to collection page
2021-12-22 15:55:10 -08:00
Ilya Kreymer
edecbbba91 add missing file 2021-12-14 07:53:32 -08:00
Ilya Kreymer
de46c2b4fe docs: tweak ui docs 2021-12-14 07:44:40 -08:00
Ilya Kreymer
a4bf182961 docs: tweak outline headings, add banner image 2021-12-14 00:23:31 -08:00
Ilya Kreymer
a85ff06291 add new UI docs:
- add ui-overview as UI toc page
- refactor ui-customization to top-level customizations page
- add template-guide for in-depth template reference
- add new-vue-ui page for docs on new ui, with images
- fix adding logo to old ui, add to docs
2021-12-13 23:47:19 -08:00
Ilya Kreymer
d83c92ef8a Merge branch 'main' into new-ui-work 2021-12-13 19:20:25 -08:00
Ilya Kreymer
904d790a5d ui: config: rename ui vars to 'vue_calendar_ui' and 'vue_timeline_banner'
ui: fix loading search page
ensure embedded mode is working
update to wombat 3.3.6
bump to 2.7.0b0
2021-12-13 19:03:43 -08:00
Lauren Ko
5c35a43dac
Modify examples in cdx-indexer help text to do as stated (#683) 2021-12-07 16:09:44 -08:00
Ilya Kreymer
e64e58f040
2.6.2 fix (#682)
2.6.2 release:
* fix for regression caused by 2.6.1, invalid static path #681
* add missing base.css
v-2.6.2
2021-11-12 17:51:34 -08:00
Ilya Kreymer
a6be76642a
2.6.1 Release Work (#679)
* rules: add custom twitter video rewriting to capture non-chunked twitter video (max bitrate of 5000000)

* autoescaping regression fix: don't escape URL in frame_insert.html, use as is

* html rewriting:
- don't rewrite 'data-' attributes, no longer necessary for best fidelity
- do rewrite <link rel='alternate'> as main page (mp_)
- update html rewriting test

* feature: support customizing the static path used in pywb via 'static_prefix' config option (defaults to 'static')

* update to latest wombat (3.3.4)

* bump to 2.6.1, update CHANGES for 2.6.1
v-2.6.1
2021-11-11 22:30:54 -08:00
Ivan Velev
eae6a2e3d1 vue ui: fixed model "contains" in situation when checking if it contains a snapshot 2021-09-28 01:09:41 -07:00
Ivan Velev
fa317deeb4 vueui: check current snapshot first when using its props 2021-09-28 00:56:54 -07:00
Ivan Velev
2ac83c61fd vueui: add highlighting for current snapshot and its parent period to both timeline and calendar full-view/linear-view 2021-09-28 00:09:46 -07:00
Ilya Kreymer
ed3ed1281d vueui: add surt check to avoid refetching cdx when url changes in small ways but still using same surt 2021-09-21 08:03:53 -07:00
Ivan Velev
1d03fa8e6f vueui: pass current snap to calendar comp 2021-09-21 06:50:57 -07:00
Ivan Velev
7cfe9243ad vueui: removed 0 captures from empty months 2021-09-21 06:50:05 -07:00
Ivan Velev
bbde7c71f4 vueui: comments 2021-09-21 06:44:50 -07:00
Ivan Velev
fbdbb84b3e vueui: added notes to calendar year computed props 2021-09-21 06:44:25 -07:00
Ivan Velev
000c12f2d6 vueui:
fixed navigation to correct timeline period upon goto snapshot from timeline or calendar
2021-09-21 06:42:30 -07:00
Ivan Velev
b694fa817f vueui:
fixed positioning logic of tooltip
2021-09-21 04:41:39 -07:00
Ivan Velev
ad8c12a5cd vueui:
make calendar year scrollable if not enough space
make day's linear snapshot list scroll without obscuring day label
2021-09-21 03:50:16 -07:00
Ivan Velev
576050dbb6 vueui:
made tooltip close upon click outside tooltip
2021-09-21 03:31:19 -07:00
Ivan Velev
d34a88eb3b vueui:
added linear timeline
made tooltip class less generic (coincides with bootstraps)
2021-09-21 03:10:29 -07:00
Ivan Velev
2809392999 vueui:
fixed app to have max-zoom-level pass to all components;
fixed timeline arrow period switching (was going to individual snapshot);
fixed timeline highlighting and mouse cursor styles to indicate "zoom in" when 2+ captures and pointer when 1 capture; removed special highlight/hover over on rest
2021-09-21 01:56:22 -07:00
Ivan Velev
bf493d887d vueui: attempt to nest timeline in calendar click 2021-09-21 00:16:15 -07:00
Ivan Velev
60675f81a0 Merge branch 'new-ui-work' of github.com:webrecorder/pywb into new-ui-work 2021-09-21 00:13:53 -07:00
Ivan Velev
ed79516669 vueui: attempt to nest timeline in calendar click 2021-09-21 00:13:22 -07:00
Ilya Kreymer
7f23398e6f fix typo 2021-09-20 22:02:21 -07:00
Ivan Velev
044e21b182 vueui: made breadcrumbs nicer; added zoom-out icons and hover over helpful info/text 2021-09-20 21:00:20 -07:00
Ivan Velev
f0cc5d73a6 vueui: removed border around timeline 2021-09-20 20:39:09 -07:00
Ivan Velev
b976d24e68 vueui: fixed toggle icons placement; added border around timeline 2021-09-20 20:23:32 -07:00
Ivan Velev
3158cba8f2 vueui: added "show timeline" icon/toggle; fixed icon looks 2021-09-20 20:10:51 -07:00