mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
* Add locale-dependent handling of first day of week The Intl.Locale is a proposed standard not yet supported by Firefox so in Firefox the first day of week will default to Monday (as specified in ISO-8601). * Set top frame document title when Vue updates * Update template guide for 2.7 * Drop Python 3.6 and add 3.10 in test CI * Allow either JS mimetype in test_add_static * Add convenience build script for Vue UI * Add build flag to docker compose example * Fix Vue app issue with redirect_to_exact: false Fixes #779 Undated URLs were resulting in a broken calendar and timeline in the Vue app when redirect_to_exact was set to false. This was due to TopFrameView using the current datetime if no timestamp was included, which caused a failed snapshot lookup in the Vue app. This commit changes the default timestamp in TopFrameView to None and adds additional logic in the Vue app to use the last snapshot's timestamp as the default if one is not present to match the snapshot that pywb loads by default under the same conditions. * Add filter instead of submitting form when pressing enter in the filtering expression field * Make filter expressions translatable * Add missing tooltip strings to vue_loc * Add changelog * Bump version to 2.7.1 * Use empty string as default template timestamp * Bump wombat to 3.3.13 Co-authored-by: Jonas Linde <jonasjlinde@gmail.com>
tests fix: add PYWB_NO_VERIFY_SSL env var for tests to avoid failing tests when connecting to external services (#760)
Webrecorder pywb 2.7 ==================== .. image:: https://raw.githubusercontent.com/webrecorder/pywb/main/pywb/static/pywb-logo.png .. image:: https://github.com/webrecorder/pywb/workflows/CI/badge.svg :target: https://github.com/webrecorder/pywb/actions .. image:: https://codecov.io/gh/webrecorder/pywb/branch/main/graph/badge.svg :target: https://codecov.io/gh/webrecorder/pywb Web Archiving Tools for All --------------------------- `View the full pywb documentation <https://pywb.readthedocs.org>`_ **pywb** is a Python (2 and 3) web archiving toolkit for replaying web archives large and small as accurately as possible. The toolkit now also includes new features for creating high-fidelity web archives. This toolset forms the foundation of Webrecorder project, but also provides a generic web archiving toolkit that is used by other web archives, including the traditional "Wayback Machine" functionality. New Features ^^^^^^^^^^^^ The 2.x release included a major overhaul of pywb and introduces many new features, including the following: * Dynamic multi-collection configuration system with no-restart updates. * New recording capability to create new web archives from the live web or other archives. * Componentized architecture with standalone Warcserver, Recorder and Rewriter components. * Support for Memento API aggregation and fallback chains for querying multiple remote and local archival sources. * HTTP/S Proxy Mode with customizable certificate authority for proxy mode recording and replay. * Flexible rewriting system with pluggable rewriters for different content-types. * Standalone, modular `client-side rewriting system (wombat.js) <https://github.com/webrecorder/wombat>`_ to handle most modern web sites. * Improved 'calendar' query UI with incremental loading, grouping results by year and month, and updated replay banner. * Extensible UI customizations system for modifying all aspects of the UI. * Robust access control system for blocking or excluding URLs, by prefix or by exact match. * New in 2.6: Access Control embargo and http-header control access settings. * New in 2.6: Support for localization and multi-language deployment. * New in 2.7: New banner/calendar UI written in `Vue <https://vuejs.org/>`_, with interactive timeline and easier theming of colors and logo via ``config.yaml``. Please see the `full documentation <https://pywb.readthedocs.org>`_ for more detailed info on all these features. Installation for Deployment --------------------------- To install pywb for usage, you can use: ```shell pip install pywb ``` Note: depending on your Python installation, you may have to use `pip3` instead of `pip`. Installation from local copy ---------------------------- ```shell git clone https://github.com/webrecorder/pywb ``` To install from a locally cloned copy, install with ``pip install -e .`` or ``python setup.py install``. To run tests, we recommend installing ``pip install tox tox-current-env`` and then running ``tox --current-env`` to test in your current Python environment. To Build docs locally, run: ``cd docs; make html``. (The docs will be built in ``./_build/html/index.html``) Running ------- After installation, you can run ``pywb`` or ``wayback``. Consult the local or `online docs <https://pywb.readthedocs.org>`_ for latest usage and configuration details. Documentation ------------- The pywb documentation is extensive. Some links to a few key guides: * `Getting Started Guide <https://pywb.readthedocs.io/en/latest/manual/usage.html#getting-started>`_ * `Embargo and Access Control Guide <https://pywb.readthedocs.io/en/latest/manual/access-control.html>`_ * `Localization and Multi-Language Guide <https://pywb.readthedocs.io/en/latest/manual/localization.html>`_ * `Deployment Guide <https://pywb.readthedocs.io/en/latest/manual/usage.html#deployment>`_ * `OpenWayback Transition Guide <https://pywb.readthedocs.io/en/latest/manual/owb-transition.html>`_ Contributions & Bug Reports --------------------------- Users are encouraged to fork and contribute to this project to keep improving web archiving tools. Please consult the `contributing guide <CONTRIBUTING.md>`_ for information on how to contribute to pywb.
Languages
JavaScript
57.9%
Python
38.4%
Vue
1.9%
HTML
1.5%
CSS
0.1%