Russell Keith-Magee
|
afd040d4d3
Updated test assertions that have been deprecated by the move to unittest2. In summary, this means:
|
14 年之前 |
Jannis Leidel
|
f6c991667f
Fixed #4992 -- Respect the GET request query string when creating cache keys. Thanks PeterKz and guettli for the initial patch.
|
14 年之前 |
Carl Meyer
|
969217d455
Fixed #15260 -- Ensured that CACHE_MIDDLEWARE_ANONYMOUS_ONLY is effective with the cache_page decorator, not only the middleware. Thanks to brodie for report and draft patch.
|
14 年之前 |
Carl Meyer
|
ed7a30782b
Reduced code duplication in cache middleware tests.
|
14 年之前 |
Carl Meyer
|
00fda7f45d
Fixed #13283 -- Corrected CACHE_MIDDLEWARE_ANONYMOUS_ONLY's bad habit of setting Vary: Cookie on all responses and destroying cache efficiency. Thanks to natrius for the fix.
|
14 年之前 |
Russell Keith-Magee
|
fe581013b0
Fixed #15144 -- Corrected some problems with the Cache middleware when used with multiple cache settings. Thanks to Jim Dalton for the report, and to Jim and Joshua Ginsberg for the work on the patch.
|
14 年之前 |
Russell Keith-Magee
|
b22415214a
Beefed up the tests for multi-cache handling of the cache middleware and view decorators, and made a couple of tweaks for edge cases as a result.
|
14 年之前 |
Russell Keith-Magee
|
673e6fc7fb
Fixed #11675 -- Added support for the PyLibMC cache library. In order to support this, and clean up some other 1.3 caching additions, this patch also includes some changes to the way caches are defined. This means you can now have multiple caches, in the same way you have multiple databases. A huge thanks to Jacob Burch for the work on the PyLibMC backend, and to Jannis for his work on the cache definition changes.
|
14 年之前 |
Jannis Leidel
|
dad28e8557
Fixed #14103 -- Take USE_ETAGS setting into account when patching the response headers. Thanks, trbs and Eric Holscher.
|
14 年之前 |
Russell Keith-Magee
|
99d247f4cb
Fixed #13795 -- Added a site-wide cache prefix and cache versioning. Thanks to bruth for the patch.
|
14 年之前 |
Luke Plant
|
02fc6276d7
Fixed #14508 - test suite silences warnings.
|
14 年之前 |
Russell Keith-Magee
|
1fc7c4aee4
Fixed #14596 -- Light refactoring of the cache backends.
|
14 年之前 |
Honza Král
|
cb17f7ca22
Fixed #14560 -- Enable HEAD requests to be cached properly. Thanks, codemonkey!
|
14 年之前 |
Russell Keith-Magee
|
121d2e3678
Fixed #12991 -- Added unittest2 support. Thanks to PaulM for the draft patch, and to Luke, Karen, Justin, Alex, Łukasz Rekucki, and Chuck Harmston for their help testing and reviewing the final patch.
|
14 年之前 |
Malcolm Tredinnick
|
fc26da645a
Add warning when using cache keys that might not work with memcached.
|
14 年之前 |
Russell Keith-Magee
|
2a0f4fb5da
Fixed #14199 -- Added a missing table creation statement in the db cache backend cull implementation, and added tests for cache culling. Thanks to Tim for the report.
|
14 年之前 |
Jacob Kaplan-Moss
|
b3a56755d7
Fixed #11012: don't needless convert cache values to unicode.
|
15 年之前 |
Jannis Leidel
|
284e7e3cbd
Refined changes made in r12546 to also respect the request.LANGUAGE_CODE in case the LocaleMiddleware is used to discover the language preference.
|
15 年之前 |
Jannis Leidel
|
2164e138e3
Fixed #5691 - Adds the active language to the cache key. Thanks, Antoni Aloy, Ramiro Morales and Yann Malet.
|
15 年之前 |
Russell Keith-Magee
|
ab828da2b9
Fixed #11623 -- Corrected table name quoting in db cache backend. Thanks to Fraser Nevett for the report and fix.
|
15 年之前 |
Russell Keith-Magee
|
75ab212d12
Fixed #12399 -- Added handling for memcache timeouts longer than 30 days. Thanks to houdinihound for the report, and gciotta for the patch.
|
15 年之前 |
Russell Keith-Magee
|
8e8d4b5888
Fixed #12671 -- Added set_many(), get_many(), and clear() methods to the cache backend interface. Thanks to Jeff Balogh for the report and patch.
|
15 年之前 |
Russell Keith-Magee
|
96658ef2d2
Fixed #12057 -- Corrected regression of caching performance when a model contained a callable default. Thanks to Michael Thornhill for the excellent assistance tracking this problem.
|
15 年之前 |
Jacob Kaplan-Moss
|
16c9df0a76
Fixed #10016: the cache middleware no longer vomits when handed long URLs. Thanks, Matt Croydon.
|
16 年之前 |
Russell Keith-Magee
|
25e1c39bc3
Fixed #10517 -- Corrected cache name for file-based cache tests so that the filename can be valid under Windows. Thanks to Bob Thomas for the report and fix.
|
16 年之前 |
Russell Keith-Magee
|
638dbc3e83
Fixed #6464 -- Added incr() and decr() operations on cache backends. Atomic on Memcache; implemented as a 2 stage retrieve/update on other backends. Includes refactor of the cache tests to ensure all the backends are actually tested, and a fix to the DB cache backend that was discovered as a result. Thanks to Michael Malone for the original patch.
|
16 年之前 |
Jacob Kaplan-Moss
|
b21ea0a836
More be-nice-to-the-buildbot: be better about cleaning up files created by the cache/session tests.
|
16 年之前 |
Malcolm Tredinnick
|
f6670e1341
Added a return value to the add() method for caches. It's now possible to tell
|
16 年之前 |
Gary Wilson Jr
|
c85c8f8891
Fixed #7919 -- md5 and sha modules are deprecated since Python 2.5, use hashlib module when available. Patch from Karen Tracey.
|
16 年之前 |
Malcolm Tredinnick
|
fe240b18f6
Removed some completely pointless test changes from [8084], since they were
|
16 年之前 |