Commit Graph

248 Commits

Author SHA1 Message Date
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
77eaa62efc update readme to reflect v4 upgrade work 2017-11-23 15:36:00 +13:00
Dylan Wagstaff
7bce7dcb2f Update tests & left over fixes from upgrader tool 2017-11-23 14:54:27 +13:00
Dylan Wagstaff
a88e8be403 FIX Linting errors for code cleanliness 2017-11-23 13:19:00 +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
Dylan Wagstaff
3c69b3fa77 begin SilverStripe v4 compatibility update 2017-11-22 11:46:40 +13:00
Franco Springveldt
98ce40f759 Update translations 2017-08-25 16:44:46 +12:00
Franco Springveldt
04551ccf4d Merge pull request #25 from creative-commoners/pulls/1.0/travis-php7
Add PHP7 + SS3.6 build to Travis configuration
2017-06-19 13:03:00 +12:00
Robbie Averill
93435932f6 Add PHP7 + SS3.6 build to Travis configuration 2017-06-15 10:53:12 +12:00
Damian Mooyman
3547869393 Merge pull request #24 from robbieaverill/pulls/fix-readme-badge
Update Travis badge in readme
2017-05-12 21:31:56 +12:00
Damian Mooyman
ded3b7cd82 Merge pull request #23 from robbieaverill/pulls/translatable-conflict-in-test
FIX Ensure that translatable cannot break tests. Separate page stub class. Remove injector nesting.
2017-05-12 11:50:43 +12:00
Robbie Averill
76fd1169db Update Travis badge in readme 2017-05-12 11:41:14 +12:00
Robbie Averill
99d4a6ee1a FIX Ensure that translatable cannot break tests. Separate page stub class. Remove injector nesting. 2017-05-12 11:38:49 +12:00
Kirk Mayo
0354be75d8 Added options to bypass cache and follow redirected links 2016-12-15 10:34:59 +13:00
Damian Mooyman
b235367b20 Update translations 2016-11-17 12:39:49 +13:00
Damian Mooyman
2eb0ab1872 Remove obsolete branch-alias 2016-11-17 10:15:58 +13:00
Damian Mooyman
738ca1733e Update translations 2016-08-17 11:08:00 +12:00
Damian Mooyman
ecd7014cd5 Merge pull request #12 from helpfulrobot/add-standard-scrutinizer-config
Added standard Scrutinizer config
2016-05-18 17:16:21 +12:00
Damian Mooyman
248b93f8d7 Merge pull request #15 from helpfulrobot/add-standard-editor-config
Added standard editor config
2016-05-18 17:16:10 +12:00
Damian Mooyman
eab4080934 Merge pull request #14 from helpfulrobot/add-standard-travis-config
Added standard Travis config
2016-05-18 17:15:57 +12:00
Damian Mooyman
c5e9a30235 Merge pull request #18 from helpfulrobot/add-standard-git-attributes
Added standard git attributes
2016-05-18 17:15:35 +12:00
Damian Mooyman
32812adba3 Merge pull request #21 from helpfulrobot/update-license-year
Updated license year
2016-05-18 17:15:17 +12:00
Damian Mooyman
1e9cec9c70 Update changelog for 1.0.5 2016-05-18 17:14:35 +12:00
Damian Mooyman
c3ba71fa10 Update translations 2016-05-18 16:58:44 +12:00
helpfulrobot
f1b12c8d4c Added standard Scrutinizer config 2016-02-17 04:39:30 +13:00
Damian Mooyman
dafe6af910 Add changelog for 1.0.4 2016-02-04 14:03:35 +13:00
helpfulrobot
cb32766c88 Updated license year 2016-01-06 11:14:36 +13:00
Damian Mooyman
9d14238eaf Merge pull request #17 from helpfulrobot/add-standard-license
Added standard license
2016-01-05 11:23:50 +13:00
Damian Mooyman
fe8d93cdbd Merge pull request #20 from helpfulrobot/add-standard-editorconfig-file
Added standard .editorconfig file
2015-12-17 13:31:56 +13:00
helpfulrobot
14ccb2aa8d Added standard .editorconfig file 2015-12-17 10:34:43 +13:00
Damian Mooyman
79a4e691ee Merge pull request #19 from helpfulrobot/add-standard-code-of-conduct
Added standard code of conduct
2015-11-26 15:00:28 +13:00
helpfulrobot
638844b34a Added standard code of conduct 2015-11-21 20:13:30 +13:00
helpfulrobot
a5b162cdc5 Added standard git attributes 2015-11-21 20:05:07 +13:00
helpfulrobot
2479280fbb Added standard license 2015-11-21 19:55:05 +13:00
helpfulrobot
8d54709675 Added standard editor config 2015-11-21 19:46:45 +13:00
helpfulrobot
939b19c31f Added standard Travis config 2015-11-21 19:38:21 +13:00
Scott Hutchinson
97c3623acf Merge pull request #16 from tractorcow/pulls/release-103
Release 1.0.3
2015-11-19 15:37:49 +13:00
Damian Mooyman
929bf30ea5 Release 1.0.3 2015-11-19 13:28:08 +13:00
Damian Mooyman
0531d699e8 Add module to transifex 2015-11-16 10:22:03 +13:00
Damian Mooyman
821d86ae76 Merge pull request #11 from mikron-ia/translation-pl
PL translation added
2015-11-16 10:02:34 +13:00
Mikron
c37a13b3e2 PL translation added 2015-11-06 11:19:37 +01:00
Ingo Schommer
f0134c98f1 Merge pull request #10 from silverstripe-labs/pulls/travis
Include tests for 3.2 and php 5.6
2015-11-02 09:58:53 +13:00
Damian Mooyman
928f6049a0 Include tests for 3.2 and php 5.6 2015-10-30 14:53:10 +13:00
Damian Mooyman
c949b125ea Merge pull request #9 from dhensby/patch-2
Move to new travis containerised infrastructure
2015-07-21 14:48:47 +12:00
Daniel Hensby
4411d2e85d Move to new travis containerised infrastructure 2015-07-20 16:20:54 +01:00
Damian Mooyman
b219ebb52e Merge pull request #8 from silverstripe-labs/pulls/avoid-hamcrest-globals
Include Hamcrest without clashing with PHPUnit globals
2015-05-28 09:21:57 +12:00
Ingo Schommer
38659bac98 Include Hamcrest without clashing with PHPUnit globals
PHPUnit had a Functions.php with global methods like any() for a while (3.7 at least),
which clashes with similar globals from Hamcrest (used in Phockito).

Both PHPUnit and Phockito use 'classmap' composer autoloading,
but that's not directly requiring/evaluating the files.
The problem is caused by SilverStripe's ClassLoader
which does require ALL subclasses of SapphireTest.
This in turn causes PHP outside of the class context to execute,
which includes Hamcrest.

Changing the include_hamcrest() is not strictly necessary here,
but makes the code a bit more resilient against any preceding
test including Functions.php from PHPUnit.

See https://github.com/hafriedlander/phockito/issues/32 for context.
2015-04-29 14:28:08 +12:00
Damian Mooyman
a35241cd10 Update translations 2014-11-19 09:54:06 +13:00