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

898 Commits

Author SHA1 Message Date
Ilya Kreymer
b86517b246 rangecache: remove range extractions functions which are now part of
wbrequest/response
2014-12-18 13:23:45 -08:00
Ilya Kreymer
4aabba559c vidrw: refactor object/embed adding code into seperate functions for
iterating over tags, allows for reuse with setInterval (not yet added)
2014-12-18 13:22:03 -08:00
Ilya Kreymer
68e7a70777 refactor: live rewrite handler uses new range functions in
wbrequest/response, also add 'remove range' for 0- unbounded requests..
2014-12-18 13:20:16 -08:00
Ilya Kreymer
07e46f4b6c request/response: add range extraction and settings functions to
wbrequest/response (with tests)
2014-12-18 13:19:38 -08:00
Ilya Kreymer
f3dc256503 wombat: also rewrite src= in video and audio tags 2014-12-18 13:18:22 -08:00
Ilya Kreymer
c6c07d27dd Merge pull request #53 from tilgovi/patch-1
Correct error message in run-gunicorn.sh
2014-12-16 23:53:56 -08:00
Randall Leeds
905227eb42 Correct error message in run-gunicorn.sh 2014-12-16 23:36:37 -08:00
Ilya Kreymer
1937319271 Merge branch 'master' into video 2014-12-14 15:36:54 -08:00
Ilya Kreymer
0de76189a7 Merge branch 0.6.6 into video 2014-12-14 15:36:37 -08:00
Ilya Kreymer
bee70260ac Merge branch 'develop' 2014-12-13 23:19:52 -08:00
Ilya Kreymer
09861ada2c wb.js: preserve anchor in location redirect
update CHANGELIST
2014-12-13 23:19:04 -08:00
Ilya Kreymer
80c5b45178 wb.js: don't include anchor when comparing current url with expected top
url
2014-12-13 23:12:42 -08:00
Ilya Kreymer
3b14e1ad40 video: add support for experimental 'pywbvid=' selector to force video
type
add optional YT original player rewrite
fix non-local vars in flash player
wb.js: remove hash when doing location check
2014-12-12 09:07:58 -08:00
Ilya Kreymer
e68c0413d1 video rules: update rules for vimeo 2014-12-11 00:20:43 -08:00
Ilya Kreymer
8090bf9a9a video: skip videoinfo responses that have no formats, and fallback to
retry handler
remove extra log
2014-12-09 10:48:08 -08:00
Ilya Kreymer
336289b337 Merge branch 'develop' into video, merge wb.js
Add double init check for wombat
2014-12-07 23:54:20 -08:00
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
87d7635f6f video: update rules to use new location-only rewriter for YT comments
support
2014-12-07 21:21:51 -08:00
Ilya Kreymer
721ab393f0 Merge branch 'develop' into video 2014-12-07 21:16:00 -08:00
Ilya Kreymer
5129c83095 update changelist 2014-12-07 21:15:35 -08:00
Ilya Kreymer
0a6838ac2b rewrite: refactor JS rewriters into seperate mixins, allowing for
link only, location only, and link + location JS rewriters.
location-only rewriter is new
js_rewrite_location options: all, location, urls (for now)
2014-12-07 21:13:19 -08:00
Ilya Kreymer
ab087afa4e Merge branch 'develop' into video, JS rewriter refactoring 2014-12-07 21:11:20 -08:00
Ilya Kreymer
5a11714b41 rewrite: refactor JS rewriters into seperate mixins, allowing for
link only, location only, and link + location JS rewriters.
location-only rewriter is new
js_rewrite_location options: all, location, urls (for now)
2014-12-07 21:09:37 -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
00c4e189ef live rewrite video: add explicit generation of video info file, if
referrer and non-206 request (eg YT)
2014-12-07 19:56:29 -08:00
Ilya Kreymer
80d4fa6e29 rangecache: Add check for X-Ignore-Range-Arg header to force ignoring
range= and serving full request. (For use with nginx range cache
handling)
2014-12-07 19:55:24 -08:00
Ilya Kreymer
881d550abe Merge branch 'master' into video 2014-12-07 17:00:27 -08:00
Ilya Kreymer
7e36ad29e7 Merge branch 'develop' 0.6.6 into video 2014-12-06 19:19:12 -08:00
Ilya Kreymer
b951b304b6 Fix quotes in CHANGES.rst 2014-12-06 17:28:43 -08:00
Ilya Kreymer
0495423e86 rewrite: add per-collection rewrite options, settable in 'rewrite_opts'
block in each collection. Added rewrite_base to disable rewriting <base>
tag and rewrite_rel_canon to disable rewriting link rel=canon.

Disabling <base> tag rewrite fixex #51 and new system addresses #50 as
well.
2014-12-06 17:16:35 -08:00
Ilya Kreymer
6440e2503f bump version to 0.6.6 2014-12-06 15:22:57 -08:00
Ilya Kreymer
238a45bcbe Merge branch 'develop' for 0.6.5 0.6.5 2014-12-04 23:12:03 -08:00
Ilya Kreymer
d31a4df3a6 add changelist for 0.6.5 2014-12-04 23:10:51 -08:00
Ilya Kreymer
ea89702701 static handler: add default 'application/octet-stream' and only set
guessed mime if not none
2014-12-04 23:02:30 -08:00
Ilya Kreymer
7251c37c08 video: load flashembed dynamically only when there are videos 2014-12-04 10:48:50 -08:00
Ilya Kreymer
cc4df75c0b update tags to video branch 2014-12-03 22:00:58 -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
bbe5068321 Merge branch 'master' into video 2014-12-03 21:53:29 -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
f21f4fb1ba Merge branch 'develop' into video 2014-12-01 09:10:08 -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
c996e70a6e wburl: detect and decode partially encoded schemes in url, such as http%3A//,
https%A2F2F// before handling further
add additional tests for wburl
2014-11-29 11:13:57 -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
7a14e167e1 replay: vi_ handling: properly replace any protocol with metadata:// for
video info lookup
2014-11-29 11:03:40 -08:00
Ilya Kreymer
87d791eba8 html rewrite: rewrite param value only if start with http 2014-11-29 11:03:09 -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
c10df57e07 rules: add support for customizing matchType prefix, adding multiple
filters
2014-11-24 11:10:49 -08:00
Ilya Kreymer
d3ef47342c Merge branch 'develop' into video 2014-11-23 18:58:31 -08:00