bump version to 0.6.1
fix small typo in cert_download for not-available message, spacing in config.yaml
cookie rewriter: use relative path for cookie path rewriting, pass
relative path to urlrewriter
rules: add more rules
fuzzy match rules: to simplify custom fuzzy match use cases, add support
for matching fuzzy match query params as a list
rules: use yaml lists in fuzzy rules, update CHANGES.rst
rules: add [?&] prefix to query match, use {0} instead of {} for 2.6
compatibility
cdxobject: add ability to create empty CDXObject(), add tests for
CDXObject/IDXObject checking for supported and unsupported number of
fields
Merge branch 'master' into develop
rewrite: add 'application/json' to a seperate 'json' regex rewriter type (rewrite links only, no
http), can be customized via rules
wombat: add rewrite_style for rewriting style attrs
query: don't include any filter in latest, custom filter can be used
without any other filters
tests: fix typos in tests
cookie rewriter work: ability to set a custom 'root scope' rewriter,
which sets the path of all cookies to pywb root.
Option to enable per url-prefix in rules, still more testing, other
options needed
rewriting: support setting cookie_scope at collection level
js rewriting: add custom url rewrite option to per-url rewrite rules
rewrite: move extract_client_cookie to utils for access at rewrite
root cookie_rewriter: keep max-age
add csrf token copying (experimental)
update tests
rewrite: seperate stream_to_gen and text_rewriting_stream_to_gen
The regular stream_to_gen is much simpler and specifically for
binary/unrewritten content. text_rewriting_stream_to_gen() performs
rewriting. Use fixed buffer of 16384 for read size, allows for better
steaming when using live rewrite
jinaj2 replay: use ChoiceLoader to properly load either local file
system or package templates
update rules for additional sites
rewrite/banner: add a seperate 'banner_html' setting which allows
overriding just the banner (and not the entire head_insert). Setting
banner_html: False will disable the banner, or setting to a custom
template will insert that template. Default template loads
default_banner.js which does the actual initialization.
banner: fixes for framed replay with new default banner
self-redir: remove referrer-based self-redirect check, as it may be
triggered incorrectly during refresh.. (will need to investigate more if
there's an edge-case to test against)
banner: support rel and abs paths for banner_html, relative to current
dir or system absolute
framed replay: invert framed replay paradigm, replay always uses
canonical, no-modifier archival url (instead of mp_).
When using frames, the page redirects to a 'tf_' page, which then uses
replaceHistory() to change url back to canonical form.
memento: support for framed replay, include memento headers in top frame
bump version to 0.6.2
move wb.css include into banner.html for easier overridability