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

2327 Commits

Author SHA1 Message Date
Tessa Walsh
b51c0bb84a Drop gevent to 22.10.2 to support Python 3.7 2024-04-01 13:25:21 -04:00
Tessa Walsh
ea05caa4df Drop werkzeug version to support Python 3.7-3.11 2024-04-01 13:22:44 -04:00
Tessa Walsh
930c901f00 Ensure greenlet 2 not 3 is used with pinned gevent 2024-03-29 13:51:16 -04:00
Tessa Walsh
d69bffd939 Enforce Python>=3.8 required in setup.py 2024-03-29 13:40:07 -04:00
Tessa Walsh
2e3342c420 Switch some requirements to >= to get minor/patch updates 2024-03-29 12:49:02 -04:00
Tessa Walsh
f4ccdfcee3 Update force https test for new behavior 2024-03-29 12:41:00 -04:00
Tessa Walsh
575b2e53e3 Rename pytest's deprecated setup to setup_method in test classes 2024-03-29 12:31:13 -04:00
Tessa Walsh
1181f2eeac Unpin redis 2024-03-29 12:23:30 -04:00
Tessa Walsh
60fd7b2ee8 Remove flask 2024-03-29 12:19:25 -04:00
Tessa Walsh
543849fc04 Revert combining if lang statements 2024-03-28 17:10:39 -04:00
Tessa Walsh
63560e01d5 Unpin WebTest 2024-03-28 17:03:48 -04:00
Tessa Walsh
ed25b0a06b Call tests with pytest rather than py.test 2024-03-28 16:37:28 -04:00
Tessa Walsh
82ae625240 Remove assert 2024-03-28 16:37:19 -04:00
Tessa Walsh
b6e8d7f64a Assert TestInputReq.app exists 2024-03-28 16:09:49 -04:00
Tessa Walsh
2f5d1692ac More dependency pinning 2024-03-28 15:58:19 -04:00
Tessa Walsh
44e253236b Pin gevent to 22.10.1 for now 2024-03-28 15:48:25 -04:00
Tessa Walsh
b6e4037fc6 Temporarily comment out bad content length tests 2024-03-28 15:30:42 -04:00
Tessa Walsh
d253d2bd43 Pin to specific versions of werkzeug, flask, jinja2 2024-03-28 15:26:26 -04:00
Tessa Walsh
9a5da9b46f Remove asserts 2024-03-28 15:26:00 -04:00
Tessa Walsh
0c6b21eb4e Test Python 3.8-3.11 in tox 2024-03-28 14:48:08 -04:00
Tessa Walsh
a8ed1dbbd5 Test Python 3.8-3.11 2024-03-28 14:48:00 -04:00
Tessa Walsh
a91cfd9506 Move asserts 2024-03-28 14:47:51 -04:00
Tessa Walsh
778556d7a0 Add asserts to TestInputReq for app and testapp 2024-03-28 14:33:10 -04:00
Tessa Walsh
bfbb4ab09d
Merge branch 'main' into upgrade-dependencies 2024-03-27 16:31:05 -04:00
kuechensofa
f40e7ef18c
Sort index when adding wacz archives (#820) 2023-11-23 12:10:52 -05:00
Florian Zimmermeister
6b4f9b323e
Fix code sample syntax in README (#864) 2023-11-23 11:02:10 -05:00
Ivan Jelenić
7879dd0222
Fixes get_locale_prefixes() wrong paths (#874)
If default_locale was set, and a web page was visited that doesn't have a langauge code in the path in the URL, the URL path parts returned by get_locale_prefixes() was wrong (e.g. /hrst/ instead of /hr/test/).
2023-11-23 10:59:06 -05:00
Ivan Jelenić
013746c10a
Fixes environ paths when default_locale set (#873)
If the default_locale was set and the URL path didn't contain a language code, it was behaving as if there was a language code in the URL. In that case, it was moving part of the PATH_INFO to SCRIPT_NAME, but as there wasn't any language code in the URL, it moved something else. This fixes that.
2023-11-23 10:56:26 -05:00
Ivan Jelenić
79140441df
Fixes switch_locale not adding locale if missing from URL (#871)
If the two letter language code was missing in the URI, switch_locale(locale) didn't add it (it worked fine if it was present). That means that it produced the same URL for all locales, each missing the two letter language code in the URL.
2023-11-23 10:50:56 -05:00
Ivan Jelenić
af92a9726e
Sets "Pywb Error" string as translatable in error template (#868) 2023-11-23 10:33:38 -05:00
Ed Summers
0bdc96855a
httpbin adjustments
Use the latest httpbin from psf/httpbin and adjust some json responses
since the formatting has changed slightly.
2023-09-22 10:57:05 -04:00
Ed Summers
5b72d96871
Spaces in test responses
It seems like JSON in responses is now minimized without spaces? I'm not
sure what changed in the stack to do that.
2023-06-29 18:13:27 -04:00
Ed Summers
e824ffda8a
pop_path_info
This was removed in werkzeug 2.3 and exists as shift_pop_info in
wsgiref:

https://github.com/pallets/werkzeug/pull/2415
2023-06-29 16:57:44 -04:00
Ed Summers
3ccc7ea759
Use httpbin fork
Add aaronhmiller/httpbin fork which has had https://github.com/aaronhmiller/httpbin.git applied so it can work with latest werkzeug.
2023-04-12 08:34:35 -04:00
Ed Summers
480768fc2e
updated dependencies 2023-04-11 08:26:54 -04:00
Tessa Walsh
83b2113be2
Add config.yaml UI option to disable printing from replay banner (#815)
* Add UI option to disable printing

* Initialize VueUI.main with config dict
2023-03-27 10:23:37 -04:00
Tessa Walsh
ed36830dc5
Pass env vars to tox (#823)
This enables us to skip youtube-dl tests in GitHub Actions by
ensuring that the "CI" env var is passed to tox.
2023-03-26 16:12:13 -04:00
aponb
81b6a57dfb
Update usage.rst Docker examples (#816) 2023-02-20 10:10:08 -05:00
Jonas Linde
5c427b9ff2
[#715] Forward custom headers for cdx queries (#813)
In particular the X-Pywb-ACL-User header must be forwarded in order
for it to be able to control CDX-queries
2023-02-15 17:05:21 -05:00
kuechensofa
454486bf75
[#799] wb-manager: Add wacz archives to collection with --uncompress-wacz (#800)
Add WACZ support for `wb-manager add` by unpacking WACZ files with --uncompress-wacz.

A future commit will add pywb support for WACZ files without requiring them to be unpacked.
2023-02-15 17:00:38 -05:00
Tessa Walsh
b8693307d1 Bump version to 2.8.0-dev 2023-02-15 15:38:10 -05:00
Jonas Linde
98be48d6e4
Add a button to print the replay frame (#814) 2023-02-15 15:36:30 -05:00
Sara Tavares
c441d83435
chore(typos): fix typos across codebase (#811)
Co-authored-by: stavares843 <stavares843@users.noreply.github.com>
2023-02-15 13:04:20 -05:00
Ilya Kreymer
4a3e7ddff7 update CHANGES for 2.7.3 v-2.7.3 2023-02-02 16:22:24 -08:00
Ilya Kreymer
02288db81c
bump wombat to 3.4.4 (#808) 2023-02-02 16:21:02 -08:00
Ilya Kreymer
4fc2b451d7 templates: fix typo 2023-02-02 15:10:18 -08:00
Tessa Walsh
c8e78fd7c1 Add yarn install to Vue build script 2023-02-02 16:24:01 -05:00
Tessa Walsh
d44d640b93 Set logoHomeUrl to last option in Vue.main
This ensures that any locally modified templates won't break when
upgrading to pywb 2.7.3.
2023-02-02 16:24:01 -05:00
Ilya Kreymer
03f9708d8d CHANGELIST: Update changelist for 2.7.3 2023-02-01 17:44:50 -08:00
Ilya Kreymer
406fad95c2
rules: add 'debugNoBatch' rewrite for fb and insta (#806) 2023-02-01 10:45:22 -08:00