Commit Graph

18081 Commits

Author SHA1 Message Date
Damian Mooyman
fbddd84cea Merge pull request #6756 from sminnee/license-file
FIX: Add separate license file to match module standard.
2017-03-29 17:31:13 +13:00
Sam Minnee
0828b03dc6 FIX: Add separate license file to match module standard. 2017-03-29 12:49:43 +13:00
Damian Mooyman
ede549a6ed FIX illegalExtensions are optional, requiredExtensions are mandatory with useful error messages. 2017-03-29 11:08:07 +13:00
Damian Mooyman
8c486da3df Merge pull request #6746 from sminnee/underscore-backslash-fix
FIX: Don't mistake \ for _ in dev/build
2017-03-29 10:55:32 +13:00
Damian Mooyman
9146730a74 Merge pull request #6745 from open-sausages/pulls/4.0/license-supported-modules
Require LICENSE in supported modules (no *.md)
2017-03-29 10:52:22 +13:00
Damian Mooyman
5fc0835d00 Merge pull request #6747 from robbieaverill/bugfix/remove-campaigns-from-upgrade-map
FIX Remove campaign related classes from upgrade map - moved to campaign-admin
2017-03-29 10:51:36 +13:00
Damian Mooyman
c2fbb68408 Merge pull request #6748 from robbieaverill/bugfix/config-api-in-fulltextsearchable
FIX Update config API reference in FulltextSearchable and use namespaced imports for class names
2017-03-29 10:51:05 +13:00
Damian Mooyman
1aa2677353 Merge pull request #6750 from open-sausages/pulls/4.0/fix-module-resource-trim
Root-level module support in Module->getResourcePath()
2017-03-29 10:44:16 +13:00
Ingo Schommer
ac9d645e4e Root-level module support in Module->getResourcePath()
See https://github.com/silverstripe/silverstripe-framework/pull/6733
2017-03-29 10:19:31 +13:00
Damian Mooyman
59ee2c1037 Merge pull request #6751 from open-sausages/pulls/4.0/travis-campaign-admin
Add campaign-admin to CMS_TEST=1 on travis
2017-03-29 10:09:39 +13:00
Ingo Schommer
d1c4f7fcf4 Add campaign-admin to CMS_TEST=1 on travis
We want to remove this implicit dependency (through cms)
by fully decoupling campaign-admin (https://github.com/silverstripe/silverstripe-campaign-admin/issues/1),
but for now this is required.
2017-03-29 08:43:04 +13:00
Robbie Averill
bd14f6db9e FIX Update config API reference in FulltextSearchable and use namespaced imports for class names 2017-03-29 00:20:39 +13:00
Robbie Averill
4a8bd1a07d FIX Remove campaign related classes from upgrade map - moved to campaign-admin 2017-03-28 23:25:55 +13:00
Sam Minnee
59a5eb4308 FIX: Don't mistake \ for _ in dev/build
The query SHOW TABLES LIKE 'some_thing' will match the table some\thing.

This causes issues when the namespace separator has changed.

The fix is to escape the _s in this LIKE statement, as done here.
2017-03-28 18:14:32 +13:00
Ingo Schommer
6f6a53c17c Merge pull request #6733 from open-sausages/pulls/4.0/module-manifest-resource
API Add experimental getResource() to Module
2017-03-28 17:48:38 +13:00
Ingo Schommer
e08948480c Remove File dependency from Module class 2017-03-28 17:26:23 +13:00
Ingo Schommer
556c9a537e Module->getResourcePath()
Based on Sam's feedback in https://github.com/silverstripe/silverstripe-framework/pull/6733
2017-03-28 17:22:30 +13:00
Ingo Schommer
dfc0dec7b3 Require LICENSE in supported modules (no *.md)
It's more standard to have this file in the webroot.
It's technically markdown compatible text (e.g. asterisk bullet points),
but there's not much point in rendering it via markdown.

If you use the Github "new repo" dialog, it'll create the file without
an extension, so that's pretty much considered the standard.
2017-03-28 16:12:24 +13:00
Damian Mooyman
874c6ccdd4 API Add experimental getResource() to Module 2017-03-28 14:13:47 +13:00
Sam Minnée
416b3dd724 Merge pull request #6725 from open-sausages/pulls/4.0/versioned-module
API Split out versioned to separate module
2017-03-28 10:35:09 +13:00
Damian Mooyman
ac3a9c9e6e API Split out SilverStripe\ORM\Versioned into new module 2017-03-27 11:03:39 +13:00
Loz Calver
a9e1ce48df Merge pull request #6736 from dhensby/pulls/4/phpunit-5
Bump PHPUnit to 5.7
2017-03-24 10:21:49 +00:00
Daniel Hensby
bcb9a99e54
increase memory in a hope to get code coverage working 2017-03-24 17:05:53 +13:00
Daniel Hensby
0410b4c35e
Respect PHPUnit method visibility 2017-03-24 16:23:03 +13:00
Daniel Hensby
6b4a72dee8
Fixing deprecated PHPUnit APIs 2017-03-24 16:23:01 +13:00
Daniel Hensby
bb7da7cffd
Bump PHPUnit version 2017-03-24 16:23:01 +13:00
Damian Mooyman
1186f07830 API Use mysql-safe table namespace separator 2017-03-24 14:17:30 +13:00
Sam Minnée
d91c6659be Merge pull request #6723 from open-sausages/pulls/4.0/assets-module
API Split SilverStripe\Assets into separate module
2017-03-23 09:21:27 +13:00
Chris Joe
66f37012f7 Merge pull request #6724 from open-sausages/pulls/4.0/fix-i18n-pluralise
Fix and test pluralisation usages
2017-03-21 18:20:16 +13:00
Damian Mooyman
dae6d5902f API Split SilverStripe\Assets into separate module 2017-03-21 11:12:51 +13:00
Damian Mooyman
e4c68bc2bf
Fix and test pluralisation usages 2017-03-21 10:49:30 +13:00
Sam Minnée
cfa6a36697 Merge pull request #6706 from open-sausages/pulls/4.0/manifest-cache
API Build new ManifestCache based on PSR-16 SimpleCache
2017-03-21 10:29:03 +13:00
Damian Mooyman
480597e5ff Add missing docs to upgrading guide for cache config 2017-03-21 09:43:49 +13:00
Damian Mooyman
3a0099161b API Remove Log class 2017-03-21 09:43:49 +13:00
Damian Mooyman
54ba08a306 API Replace ManifestCache with ManifestCacheFactory
API Remove lots of deprecated module code from ClassManifest
2017-03-21 09:43:48 +13:00
Ingo Schommer
1efa22f9bb Reinstate 7.0 support, clarify policy
We’ve discussed dropping support for 5.6 once it’s EOL on https://github.com/silverstripe/silverstripe-framework/issues/6705.
The same question needs to be asked for 7.0, which goes EOL in the same month. And should be generalised to future PHP versions.
Follow up to https://github.com/silverstripe/silverstripe-framework/pull/6718/
2017-03-21 08:28:08 +13:00
Daniel Hensby
c253d49c50 Merge pull request #6721 from open-sausages/pulls/4.0/no-spacing-out
Remove spaces in elseif statements
2017-03-20 16:33:25 +13:00
Christopher Joe
6dd236e9b1 remove spaces in elseif statements 2017-03-20 15:39:53 +13:00
Damian Mooyman
89d5151f07 Merge pull request #6714 from filisko/patch-2
updated copyright year
2017-03-20 11:48:35 +13:00
Damian Mooyman
62f8aa4408 API Drop PHP 5.5 support, limit PHP 5.6 to 2018 2017-03-20 11:48:01 +13:00
Damian Mooyman
1016ff9977 Merge pull request #6713 from dhensby/pulls/4/install-cleanup
Fix undeclared var in installer
2017-03-20 11:44:27 +13:00
Ingo Schommer
cb5b7537dc Remove composer self-update, handled by Travis now 2017-03-20 10:34:43 +13:00
Ingo Schommer
6e58408806 Drop PHP 5.5 support, limit PHP 5.6 to 2018
Fixes #6705
2017-03-20 10:34:24 +13:00
Filis Futsarov
9417bba7aa updated copyright year 2017-03-16 15:24:22 +01:00
Daniel Hensby
22a68bb2db Merge pull request #6712 from open-sausages/pulls/4.0/fix-devs
Fix dev CI builds
2017-03-16 16:42:28 +13:00
Daniel Hensby
3e17dd3201
Move to template PHP syntax for installer 2017-03-16 16:09:46 +13:00
Daniel Hensby
53b98284fe
FIX Remove undefined var from installer 2017-03-16 16:09:33 +13:00
Damian Mooyman
66b1c72d4a
Fix dev CI builds
Move silverstripe/config release responsibility to installer
Remove admin artifacts in composer.json
2017-03-16 16:08:30 +13:00
Daniel Hensby
e7a4df1559 Merge pull request #6693 from open-sausages/pulls/4.0/cache-logging
API Apply logging to cache system
2017-03-16 11:29:54 +13:00
Damian Mooyman
ce14060913 API Apply default logger to all caches
API Rename ‘Logger’ service name to ‘Psr\Log\LoggerInterface’
API DefaultCacheFactory constructor now takes an array of default arguments
2017-03-15 15:31:24 +13:00