Ilya Kreymer
6d5592f890
wb js: add guard around wb js to prevent double-inits (such as from
...
fragments!)
2014-12-07 23:33:21 -08:00
Ilya Kreymer
d45a23e07b
vidrw: client rewrite: use client width/height if available, otherwise
...
use 100% to allow replacement in dynamic containers
2014-12-07 19:59:42 -08:00
Ilya Kreymer
7251c37c08
video: load flashembed dynamically only when there are videos
2014-12-04 10:48:50 -08:00
Ilya Kreymer
8a87966ebd
video fixes: disable adding a fixed buffer on unbounded range requests,
...
as that messes up FF html5 player.. (it assumes a full stream)
video response: ensure Accept-Ranges: bytes is being added on 206
responses
2014-12-03 21:59:03 -08:00
Ilya Kreymer
7f93e858ee
video: skip all DASH format sources, also sort sources from highest
...
preference to lowest (if available)
2014-12-03 12:55:18 -08:00
Ilya Kreymer
f59cd6c6b4
video: add special case iframe, fix flash insert missing prefix
2014-12-02 12:39:54 -08:00
Ilya Kreymer
dffa0bcbad
video work: vidrw fixes to support object, fallback to flash
...
rangecache: create dir on first use only
2014-12-01 09:09:23 -08:00
Ilya Kreymer
2f5be9ed9f
video: work on extracting video from <object> tags, fallback to
...
flowplayer if html5 player fails
2014-11-29 11:04:18 -08:00
Ilya Kreymer
3e3a74619f
various fixes: wombat: add Date.UTC and Date.parse
...
rewrite: support vi_ https -> metadata
video: fallback to vi_ call on current page
remove debug logging
2014-11-25 00:21:28 -08:00
Ilya Kreymer
4b7186a62e
wombat: adjust date for timezone!
2014-11-24 13:46:50 -08:00
Ilya Kreymer
f4431c0872
wombat: add extra check for correct scheme for ajax open
2014-11-23 18:44:11 -08:00
Ilya Kreymer
36887f565a
video: more rewriting work, support: html audio if audio format,
...
fallback to flash (flowplayer) if html video/audio playback has failed
update setup.py to support nested include structure
2014-11-22 18:39:30 -08:00
Ilya Kreymer
550d78a181
add flowplayer 3.2 for flash fallback
2014-11-22 18:37:52 -08:00
Ilya Kreymer
c6a2c83b66
rangecache: always bound range, set default bound of 16384
...
wombat: work on date override, disable for now
head_insert: check for wombat not being inited to avoid undef error
2014-11-05 10:55:46 -08:00
Ilya Kreymer
88f553dce7
video work: live rewrite pings proxy with full rewrite, proxies direct
...
range request
reorg rangecache to support is_range() check, yt-specific logic
(experimental)
wombat: add date override (experimental)
bump tentative version to 0.7.0!
yt replays work with native player! (though still issues remain)
2014-11-04 22:11:25 -08:00
Ilya Kreymer
703ec0eb5e
banner insert: extra check for document.body before adding banner
2014-11-02 16:11:03 -08:00
Ilya Kreymer
ced94d289d
wombat: add generic setAttribute override for href and src, Image object
...
override, src prop rewrite
2014-11-02 16:09:56 -08:00
Ilya Kreymer
07bcf9fbfe
vidrw: work on yt rewrite
2014-11-01 15:41:01 -07:00
Ilya Kreymer
50cae15663
wombat: add wombat class to window
2014-11-01 15:41:00 -07:00
Ilya Kreymer
5b9dcba15f
video: add video rewriting use vidrw client side and youtube-dl on the server
...
add vi_ modifier:
-on record, gets video_info from youtube-dl, sends to proxy,
if any, via PUTMETA to create metadata record
-on playback, fetches special metadata record with video info and
returns to client as json
-vidrw script: fetches video info, if any, and attempts to replace
iframe and embed tags (so far) which are videos
wombat: export extract_url function, fix spaces and use object instance
semantics
2014-11-01 15:41:00 -07:00
Ilya Kreymer
67e94d13f4
handlers/wombat: pass in mod to wombat, ability to customize modifier
...
for embeds
2014-10-24 12:45:41 -07:00
Ilya Kreymer
729320393a
update license statement in js files with github link
2014-10-18 15:18:40 -07:00
Ilya Kreymer
4a1cc46fa3
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
2014-10-18 11:21:07 -07:00
Ilya Kreymer
1c23e12c06
banner: fixes for framed replay with new default banner
2014-10-17 08:40:57 -07:00
Ilya Kreymer
0efa2dc0ad
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.
2014-10-17 08:28:06 -07:00
Ilya Kreymer
7feb0893eb
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
2014-09-30 10:57:25 -07:00
Ilya Kreymer
da6c61376c
fix errors from merge
2014-08-05 11:14:22 -07:00
Ilya Kreymer
95c3f080c3
Merge branch '0.5.4-fixes' into develop
2014-08-05 10:46:18 -07:00
Ilya Kreymer
b68ef06067
banner: add back inner frame update of banner on load, if html
...
rewrite: banner only mode encodes to utf-8, adjusts length
2014-08-05 10:12:54 -07:00
Ilya Kreymer
4f9310fe4d
rewrite: add support for js rewriting ';http:\\/' urls
...
add 'parse_comments' rule options for parsing comment contents via regex
banner: simplify banner insertion check, only insert for top frame, and check
for canon_url matching current href at top before redirecting to top
replace em_ -> mp_ as default embedded mod
2014-08-05 01:47:52 -07:00
Ilya Kreymer
4a39a4ed55
rewrite: better parametrize live rewrite timestamp cookie, restore LiveResourceException
2014-08-04 22:51:42 -07:00
Ilya Kreymer
ef8d910d01
banner: remove client side 'capture_str' formatting, just output wbinfo.timestamp,
...
allow js to format as needed, also helps with #41
update tests to only look at timestamp
2014-08-04 22:51:42 -07:00
Ilya Kreymer
103a1c6455
client js: use iframe onload event to detect when iframe changes, allows
...
setting banner even for non-html captures, instead of frame notifying parent
will fix issue mentioned in #41
move script from frame_insert.html -> wb_frame.js
2014-08-04 22:51:42 -07:00
Ilya Kreymer
924f71a4cc
Merge branch 'develop' into https-proxy
2014-08-04 18:44:01 -07:00
Ilya Kreymer
72fe274e06
rewrite: better parametrize live rewrite timestamp cookie, restore LiveResourceException
2014-08-04 18:41:33 -07:00
Ilya Kreymer
86bc2f17ba
banner: remove client side 'capture_str' formatting, just output wbinfo.timestamp,
...
allow js to format as needed, also helps with #41
update tests to only look at timestamp
2014-08-04 18:19:28 -07:00
Ilya Kreymer
25fe5d685c
client js: use iframe onload event to detect when iframe changes, allows
...
setting banner even for non-html captures, instead of frame notifying parent
will fix issue mentioned in #41
move script from frame_insert.html -> wb_frame.js
2014-08-04 17:54:33 -07:00
Ilya Kreymer
48b1c78917
proxy: more banner tweaks
2014-07-31 21:27:30 -07:00
Ilya Kreymer
37fd75f744
update version to 0.6.0, update CHANGELIST
...
add quotes around "coll" in header
2014-07-31 21:17:07 -07:00
Ilya Kreymer
92daad3b2b
ui: tweak head insert text for proxy
2014-07-31 18:56:35 -07:00
Ilya Kreymer
522ea87637
proxy: timestamp selection support!
...
certauth: wildcard support, use *.host wildcard for proxy certs whenever possible
ui: add coll info/switch and calendar links to banner
2014-07-31 11:12:50 -07:00
Ilya Kreymer
eff5a74ec7
proxy: path fixup, using default magic name of 'pywb.proxy', default
...
selector 'select.pywb.proxy' stored in env['pywb_select'] and accessible
to head insert and error handler
2014-07-30 13:06:18 -07:00
Ilya Kreymer
96d9f4dcad
proxy mode: cookie based selector using session to coll
...
ui: add proxy_selector html, add switch link to error and banner
2014-07-30 10:38:13 -07:00
Ilya Kreymer
7c57345363
proxy: add 'unaltered_replay' option to proxy_options to replay
...
all content unaltered (no rewriting html, no banner, no wombat)
use 'proxy_options' instead of 'routing_options', add additional
tests for proxy mode
2014-07-21 16:42:14 -07:00
Ilya Kreymer
950673908d
proxy: fix wombat.js to work in proxy mode! rewrite only https -> http
2014-07-21 14:41:49 -07:00
Ilya Kreymer
fcbc2c2966
replay ui: improvements to framed replay messages.
...
'is_live' added to live rewrite to allow for different message for live replay
vs archived replay to be used.
When using framed replay, default initial message to 'Loading...'
default index.html: list non-replay access points in default home page
2014-07-20 16:46:30 -07:00
Ilya Kreymer
fa52e0126d
cookies: support client side rewriting of document.cooke -> WB_wombat_cookie to rewrite cookie path, if present
2014-07-15 12:52:42 -07:00
Ilya Kreymer
22a2da6e0c
rewrite: for WB_wombat_top rewriting, select next-to-top instead of self
2014-06-16 19:42:15 -07:00
Ilya Kreymer
80e80e97d3
replay: support 'framed_replay' option in config for both replay and live rewrite
...
split replay view into BaseContentView and ReplayView
refactor RewriteLiveHandler into RewriteLiveView
add additional tests for framed and non-framed mode
default to framed replay!
2014-06-14 18:26:19 -07:00
Ilya Kreymer
41e1809039
update wombat.js (support for write override, fill in WB_wombat_location on new iframe)
...
disable 307 redirects as FF always displays modal confirmation for these, even for same host
2014-06-11 20:12:05 -07:00