Commit Graph

13 Commits

Author SHA1 Message Date
Robbie Averill
39044de8ad FIX Use correct CacheInterface API methods and remove doubled up logic 2018-04-06 10:59:31 +12:00
Robbie Averill
717b126dda FIX Update linting in CurlLinkChecker for PSR-2 2018-02-22 10:58:16 +13:00
Robbie Averill
2279b2c9d8 Merge branch '1' 2018-02-22 10:51:59 +13:00
Dylan Wagstaff
6cf7a466fb
Merge pull request #39 from creative-commoners/pulls/2.0/handle-obsolete-class-names
FIX Handle thrown exceptions because of obsolete class names
2017-11-29 14:57:44 +13:00
Robbie Averill
c9f5ca6c72 FIX Handle thrown exceptions because of obsolete class names 2017-11-29 14:23:28 +13:00
Robbie Averill
44fbc027f3 NEW Add loading animation to Create Report button, fix bug in CurlLinkChecker 2017-11-29 12:14:39 +13:00
Robbie Averill
e58190a9b3 API Rename IgnoreCodes configuration property to ignore_codes 2017-11-28 09:45:40 +13:00
Dylan Wagstaff
a52cb9209b Update UPDATE query to use true table name, not assumed one 2017-11-27 15:30:34 +13:00
Dylan Wagstaff
98dac9b314 Update unit tests to be rid of Phockito
This odd dependency is causing inclusion issues to do with namespacing and
the ability to work well with the framework (according to the dependency's
readme). The usage of the tool in this case adds no value, as it's
performing purely stub type work, rather than mock work. So instead we can
use an actual stub (simply return test values depending on input) and have
everything work well.

After removing the Phockito dependency it was found that the tests that
would skip when it isn't present were actually in a failing state. So they
had to be repaired too, mostly through the use of fixing the poor code
that was causing them to fail (as opposed to being bad tests). This is
both configuration and proceedural work.
2017-11-27 15:14:16 +13:00
Dylan Wagstaff
0374d66b32 Convert to new cache layer, clean up other overlooked points in the ss4 upgrade 2017-11-27 11:19:58 +13:00
Dylan Wagstaff
1ed9a23a71 Run the upgrader & linting tools
An initial (untested) run at a proper upgrade. Progress commit.
2017-11-23 12:56:44 +13:00
Dylan Wagstaff
e6ddf0fe47 Add namespaces via upgrade-code add-namespace tool
Running this command for each directory in the `src` folder we generate a
valid `.upgrade.yml` which can be used by other modules that may use this
one as a dependency to upgrade themselves without issue.
2017-11-22 14:26:15 +13:00
Dylan Wagstaff
4b59fdba02 Update supporting items for SilverStripe 4 conventions
Update versions and configurations for tests and code checkers, such as
phpunit and the SilverStripe CI tools. Altered the layout of the
repository to be more in line with other SilverStripe 4 modules (including
core ones).
2017-11-22 14:01:40 +13:00