Commit Graph

21 Commits

Author SHA1 Message Date
Steve Boyd
2671406a86 API phpunit 9 support 2021-10-27 18:17:31 +13:00
Robbie Averill
bd59ce6200 FIX Separate tests, ensure versioned cache mode does not interfere 2018-06-18 22:54:33 +12:00
Robbie Averill
5bde86198b FIX Do not use cached SiteTree object but ensure record ID is set before diff 2017-12-18 16:38:16 +13:00
Robbie Averill
dd361929db FIX Use cached SiteTree object for history instead of creating a temporary object 2017-12-18 15:45:05 +13:00
Dylan Wagstaff
67e112fd12 FIX: Minor functional alterations and CI improvements
FIX: PSR-2 codebase. Formatting via phpcbf
FIX: rendering bug in allchanges
FIX: update .gitattributes to not export codecov's config file
FIX: Update SiteTree_versions to the ss4 equivalent SiteTree_Versions
2017-12-12 16:12:03 +13:00
Dylan Wagstaff
229463547d Edit updated things until the tests pass 2017-12-11 17:20:00 +13:00
Dylan Wagstaff
17699f2b8a Update from SS_Cache to Symfony/Cache 2017-12-11 12:50:45 +13:00
Dylan Wagstaff
9a7651b017 run the upgrader tool over the codebase to namespace the classes 2017-12-11 12:10:56 +13:00
Robbie Averill
33cc3a13e8 FIX Ensure that version feeds are enabled by default in tests 2017-05-12 10:20:27 +12:00
Mateusz Uzdowski
25c575fe16 Fix version dependencies, and fix what travis builds. 2015-03-30 14:36:03 +13:00
Mateusz Uzdowski
8a7d2ec9da NEW Refactor diff API and add managed limits.
Deprecate the getDiffedChanges method to get rid of confusing
fullHistory parameter. Add a getDiff method to fetch just a single diff
and a more versatile getDiffList method which allows specifying a limit.

We now also cap the amount of items coming from the diffing process
to a default value that we hope will result in generation times no
greater than a few seconds. This can be reconfigured by developers.
2015-03-30 11:28:42 +13:00
Damian Mooyman
797e5586c5 Fix testcase 2014-05-23 18:29:07 +12:00
Damian Mooyman
094e3190df API Ability to globally enable / disable RSS feeds via config / siteconfig 2014-05-22 11:38:32 +12:00
Damian Mooyman
7f3adbf4d8 Disable caching in tests
Fixes #8
2014-05-22 09:53:49 +12:00
Damian Mooyman
47991567b5 API Added lock cool down to rate limiting 2014-04-30 15:40:51 +12:00
Damian Mooyman
241f0604b0 Namespaced filters
Changed default settings (disable lock_bypage and set lock_timeout to 5)
Updated docs
2014-04-30 12:31:18 +12:00
Damian Mooyman
a243a3510a API Better implementation of caching / rate limiting 2014-04-29 16:51:23 +12:00
Sam Minnee
4946376793 FIX: Don't caused HTML tidying to make an unreliable test 2014-02-18 18:43:58 +13:00
Ingo Schommer
01e1136311 Clear cache in tests (for repeat runs) 2013-10-31 10:21:46 +01:00
Ingo Schommer
13bb2cf270 Travis support 2013-10-31 10:02:51 +01:00
Ingo Schommer
2d035a6e94 Page specific cache key, unit and functional tests
Added templates from CWP template to make the module
useful standalone outside of CWP.
2013-10-30 17:46:22 +01:00