Simon Erkelens
24a5bf6ff1
Use scriptfusion to immediately print PHPUnit output. Prettier and faster.
2017-05-21 17:14:00 +12:00
Damian Mooyman
f35017479b
Merge pull request #6933 from robbieaverill/pulls/4.0/table-name-on-dev-build
...
Change to show created table names instead of model names in dev/build
2017-05-20 23:10:19 +12:00
Robbie Averill
4408726b6b
Change to show created table names instead of model names in dev/build
2017-05-20 16:09:49 +12:00
Loz Calver
e653e90997
Only use random_bytes() for RandomGenerator ( closes #6397 )
2017-05-19 11:18:56 +01:00
Damian Mooyman
2284121a91
Merge pull request #6938 from robbieaverill/pulls/4.0/remove-create-function
...
Remove createMethod and create_function implementations, replace with closures
2017-05-19 21:30:53 +12:00
Ingo Schommer
f282408324
Require psr/container ( #6935 )
...
Regression from https://github.com/silverstripe/silverstripe-framework/pull/6931
2017-05-19 16:33:08 +12:00
Robbie Averill
f2cbe86f03
Remove CustomMethods::createMethod and create_function implementations, replace with closures
2017-05-19 15:56:44 +12:00
Robbie Averill
ad43a82923
API Consistent use of inst() naming across framework
2017-05-19 14:38:06 +12:00
Ingo Schommer
100048da33
API PSR-11 compliance ( fixes #6594 ) ( #6931 )
...
Note that our usage of `$asSingleton` in `get()` is fine. Quote from the PSR:
> Two successive calls to get with the same identifier SHOULD return the same value. However, depending on the implementor design and/or user configuration, different values might be returned, so user SHOULD NOT rely on getting the same value on 2 successive calls.
2017-05-19 13:45:07 +12:00
Mike Cochrane
31578d4771
Bugfix: Parent treedropdownfield for an orphaned page is broken
2017-05-19 12:15:36 +12:00
Daniel Hensby
283e3279be
Merge branch '3.6' into 3
2017-05-18 13:55:07 +01:00
Daniel Hensby
db33c8a37c
Merge branch '3.6.0' into 3.6
2017-05-18 13:54:48 +01:00
Daniel Hensby
9f6e0cdc8f
Merge branch '3.5' into 3.6
2017-05-18 13:54:11 +01:00
Daniel Hensby
cc70d893bc
Merge branch '3.4' into 3.5
2017-05-18 13:53:49 +01:00
Daniel Hensby
db3e3d51fd
Merge pull request #6928 from open-sausages/pulls/4.0/form-action-handler-regression
...
Process actions on Form subclasses
2017-05-18 12:09:28 +01:00
Ingo Schommer
adbf9d9f71
Process actions on Form subclasses
...
Regression introduced through https://github.com/silverstripe/silverstripe-framework/issues/6362 .
Quote from the RFC:
```
Thus the order of action precedence becomes
action callback
action on the Form
action on the FormRequestHandler
action on any parent controller (if given)
```
2017-05-18 22:47:39 +12:00
Daniel Hensby
3495c0826e
Cleanup SapphireTest and time related tests ( #6898 )
...
* Test databases now include timestamp for easier debugging
* Use classname::class instead of string literal classnames
* Remove DataObject::get_one() from SapphireTest
* More fixes to ICU DB inconsitency for time formatting
* Correctly restore PHPUnits error handler
2017-05-18 22:01:55 +12:00
Damian Mooyman
3883878c13
Merge pull request #6797 from halkyon/broken-group-search
...
Fixing broken search in SecurityAdmin Groups field
2017-05-18 14:28:53 +12:00
Damian Mooyman
8f7e7ae1de
Merge pull request #6130 from lekoala/patch-3
...
Allow filtering if a relation is defined or a formatting
2017-05-18 13:11:16 +12:00
Daniel Hensby
49a0354998
Make sure that nested relations dont break
2017-05-17 23:01:42 +01:00
Damian Mooyman
8ed675d29b
Merge pull request #4542 from patricknelson/issue-4417-validator-remove-validation-master
...
FIX for #4417 : Ensuring ->removeValidation() is defined on instances of Validator. Setup new API for enabling/disabling validation. Documentation and better type handling.
2017-05-18 09:27:48 +12:00
Thomas Portelange
efbf14be63
Allow filtering if a relation is defined or a formatting
2017-05-17 21:05:21 +01:00
Damian Mooyman
ef3f088b0d
Merge pull request #6925 from nfauchelle/patch-2
...
Fix a typo in comment
2017-05-17 22:47:42 +12:00
Nick
dddf88278c
Fix a typo in comment
...
Typo
2017-05-17 22:09:07 +12:00
Loz Calver
471166c15e
Merge pull request #6169 from open-sausages/pulls/4.0/duplicate-manymany-option
...
API Duplication of many_many relationships now defaults to many_many only
2017-05-17 09:31:09 +01:00
Damian Mooyman
79796083d1
Merge pull request #6924 from open-sausages/pulls/4.0/where-art-thou-file-2
...
Fix TreeDowndropField copying
2017-05-17 17:16:39 +12:00
Christopher Joe
0534a5ec0c
Fix TreeDowndropField copying
2017-05-17 16:52:21 +12:00
Chris Joe
4c1a4eb474
Merge pull request #6920 from open-sausages/pulls/4.0/fix-artifacts-path
...
BUG Fix artifacts index.html download path
2017-05-17 12:04:17 +12:00
Damian Mooyman
dfc86effe5
Merge pull request #6915 from open-sausages/pulls/4.0/where-art-thou-file
...
TreeDropdownField API for root option
2017-05-17 11:16:19 +12:00
Christopher Joe
287ad35f0d
Fix change API to hasEmptyDefault() to be inline with SingleSelectField
2017-05-17 10:13:54 +12:00
Christopher Joe
3927e7e248
Fix added cache key for TreeDropdownField cache
2017-05-17 10:13:54 +12:00
Christopher Joe
6869e450a0
Enhancement added customisable emptyTitle and a showRootOption property in TreeDropdownField
2017-05-17 10:13:54 +12:00
Patrick Nelson
5fa3c85280
FIX for #4417 : Ensuring ->removeValidation() is defined on instances of Validator. Setup new API for enabling/disabling validation. Documentation and better type handling.
2017-05-16 12:58:00 +01:00
Damian Mooyman
7b9c8afeb9
Merge pull request #6777 from robbieaverill/bugfix/image-pad-transparency
...
FIX Add transparency percent argument to Image::generatePad to ensure transparency works from ::Pad
2017-05-16 23:43:03 +12:00
Damian Mooyman
f5f6fdce12
API Duplication of many_many relationships now defaults to many_many only
...
Fixes https://github.com/silverstripe/silverstripe-cms/issues/1453
2017-05-16 23:26:39 +12:00
Damian Mooyman
41a268c69f
Merge pull request #6921 from ColmMcBarron/patch-1
...
Update YAML format to use namespace
2017-05-16 23:09:08 +12:00
Colm McBarron
8666d4abb2
Update YAML format to use namespace
2017-05-16 11:49:39 +01:00
Robbie Averill
197bc53c49
FIX Add transparency percent argument to Image::generatePad to ensure transparency works from ::Pad
2017-05-16 21:20:21 +12:00
Chris Joe
8871210d74
Merge pull request #6916 from open-sausages/pulls/4.0/fqn-services
...
API Rename services to match FQN of interface / classes
2017-05-16 15:42:33 +12:00
Damian Mooyman
7a7e8e5f94
BUG Fix artifacts index.html download path
2017-05-16 14:54:10 +12:00
Damian Mooyman
259f957ce8
API Rename services to match FQN of interface / classes
2017-05-16 14:15:49 +12:00
Chris Joe
961395ba25
Merge pull request #6919 from open-sausages/pulls/4.0/177-editor-form-tabindex
...
Pass autofocus flag to front-end
2017-05-16 13:08:48 +12:00
Damian Mooyman
9da1a6ef5a
Merge pull request #6907 from open-sausages/pulls/4.0/save-it-width
...
Fix update ss template FormActions
2017-05-16 13:02:21 +12:00
Saophalkun Ponlu
1ec7c4e523
Fix lint error
2017-05-16 11:53:23 +12:00
Saophalkun Ponlu
a975b88661
Pass autofocus flag to front-end
2017-05-16 11:53:23 +12:00
Damian Mooyman
7a8dfd2785
Add lint-clean and cleanup code linting
2017-05-16 05:01:51 +12:00
Christopher Joe
6939841e47
Fix update ss template FormActions to be closer to React's implementation
2017-05-15 10:44:58 +12:00
Damian Mooyman
3da1587289
Merge pull request #6913 from nfauchelle/patch-1
...
Correct a typo when css/js file doesn't exist
2017-05-15 09:15:36 +12:00
Nick
eb0da138aa
Correct a typo when css/js file doesn't exist
...
Typo
2017-05-14 07:37:14 +12:00
Daniel Hensby
e741af9127
Merge branch 'pull/6905'
2017-05-12 12:21:02 +01:00