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

2265 Commits

Author SHA1 Message Date
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
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
Ivan Velev
c5629f8c41 vueui: make breadcrumbs centered 2021-09-20 19:38:44 -07:00
Ivan Velev
f5ea5da40d Merge branch 'new-ui-work' of github.com:webrecorder/pywb into new-ui-work 2021-09-20 19:12:56 -07:00
Ilya Kreymer
9eac529bee ui work:
- support passing 'ui' params from config to top frame/banner rendering
- remoteindexsource: fix live proxy from existing index
- add vue_banner.css for vueui, don't use default_banner.css
2021-09-20 19:10:19 -07:00
Ivan Velev
3a25523513 vueui: removed debugs 2021-09-20 13:33:11 -07:00
Ivan Velev
71f305b997 vueui: fixed date/time labels for hover-over period 2021-09-20 13:32:17 -07:00
Ivan Velev
7d63e6be43 vueui: shorten banner 2021-09-20 12:46:48 -07:00
Ivan Velev
180d3f779d vueui: make session storage zoom level for current url be standardized 2021-09-20 12:31:54 -07:00
Ivan Velev
0d5fc7034c vueui: full-id, css changes and add "currentSnapshot" prop to timeline 2021-09-20 12:16:00 -07:00
Ivan Velev
da5707d7e9 vueui: access to full-id in app 2021-09-20 12:15:15 -07:00
Ivan Velev
dcd9e6cbe2 vueui: model add full-id property that include string id of parents+self 2021-09-20 12:13:06 -07:00
Ivan Velev
9c52d69921 vueui: set main css font family of app 2021-09-20 12:11:34 -07:00