Chris Joe
5ec8d40c19
Merge pull request #6957 from open-sausages/pulls/4/react-di-documentation
...
Docs for React DI
2017-05-26 10:59:42 +12:00
Chris Joe
9da2b5c4ab
Merge pull request #6930 from dhensby/pulls/4/db-schema-indexes
...
Cleaning up DB index definition
2017-05-26 10:54:16 +12:00
Daniel Hensby
893f19a5ea
DOCS Updating index definition examples
2017-05-25 23:29:12 +01:00
Daniel Hensby
3e556b5966
NEW Move index generation to DataObjectSchema and solidify index spec
2017-05-25 23:29:12 +01:00
Aaron Carlino
bfc373cf0f
update docs with new api
2017-05-25 16:34:32 +12:00
Aaron Carlino
75981989b0
Docs for React DI
2017-05-25 14:58:55 +12:00
Chris Joe
9fe707d3b9
Merge pull request #6962 from open-sausages/pulls/4.0/remove-object-2
...
BUG Fix minor accessors of legacy ->class property
2017-05-25 12:32:11 +12:00
Damian Mooyman
9c63a8c8ce
BUG Fix race conditions in DatetimeFieldTest
2017-05-25 12:13:04 +12:00
Damian Mooyman
0cd40ca6e5
BUG Fix minor accessors of legacy ->class property
2017-05-25 11:55:12 +12:00
Damian Mooyman
29f450b1e1
Revert injector type hint to Injector
2017-05-25 11:06:48 +12:00
Ingo Schommer
c75f759b18
Merge pull request #6959 from open-sausages/pulls/4.0/time-to-get-webpacking
...
Enhancement add contribution notes about releasing to NPM
2017-05-25 08:12:27 +12:00
Christopher Joe
e327bf3c70
Enhancement add contribution notes about releasing to NPM
2017-05-24 17:07:05 +12:00
Chris Joe
8bff04740d
Merge pull request #6909 from open-sausages/pulls/4.0/secure-assets-streaming
...
API Add streamable response object
2017-05-24 12:23:56 +12:00
Damian Mooyman
906a4c444b
API Add streamable response object
2017-05-23 16:32:29 +12:00
Chris Joe
44981de560
Merge pull request #6927 from open-sausages/pulls/4.0/remove-object
...
API Remove Object class
2017-05-23 15:15:01 +12:00
Damian Mooyman
e945ea64b5
Temporarily switch to composer 1.5
2017-05-23 13:50:35 +12:00
Damian Mooyman
d15b9ee0b0
Response to feedback
2017-05-23 13:50:35 +12:00
Damian Mooyman
fba8e2c245
API Remove Object class
...
API DataObjectSchema::manyManyComponent() return array is now associative array
2017-05-23 13:50:35 +12:00
Damian Mooyman
7e2f8d1f2d
Merge pull request #6951 from sminnee/fix-2494
...
FIX: Don’t assume posix_getpwuid is available.
2017-05-23 13:10:56 +12:00
Damian Mooyman
cd0cac69ce
Merge pull request #6952 from sminnee/fix-1666
...
FIX: Better error checking for non-writable temp paths
2017-05-23 13:00:10 +12:00
Sam Minnee
09164e7e2a
FIX: Better error checking for non-writable temp paths
...
Fixes https://github.com/silverstripe/silverstripe-framework/issues/1666
2017-05-23 10:06:48 +12:00
Sam Minnee
40d9bbfd69
FIX: Don’t assume posix_getpwuid is available.
...
Fixes https://github.com/silverstripe/silverstripe-framework/issues/2494
In Silverstripe 3.1, on some shared hosts the following bug can occur:
Warning: posix_getpwuid() has been disabled for security reasons
2017-05-23 10:00:36 +12:00
Chris Joe
93e92e49c5
Merge pull request #6950 from open-sausages/revert-6941-pulls/phpunit-pretty-print
...
Revert 6941 pulls/phpunit pretty print
2017-05-23 09:54:09 +12:00
Damian Mooyman
f7e7fa5847
Fix linting issues
2017-05-23 09:13:50 +12:00
Damian Mooyman
a84c2b7e56
Revert "[Improvement|testing] Use scriptfusion to immediately print PHPUnit output"
2017-05-22 21:02:34 +12:00
Damian Mooyman
7bc8172bc1
Merge pull request #6937 from caffeineinc/2930-checkboxfield-invalid-html
...
CheckboxField creates invalid HTML when required #2939
2017-05-22 13:44:58 +12:00
Damian Mooyman
79d3cfd500
Merge pull request #6903 from open-sausages/pulls/4.0/manifestfilefinder-config-file
...
Find root modules with _config.php
2017-05-22 13:23:37 +12:00
Damian Mooyman
ba89c0804a
Add missing _config
folder
2017-05-22 12:16:57 +12:00
Ingo Schommer
a433e5f4a8
Find root modules with _config.php
...
When modules are installed as the webroot,
manifest generation should behave the same way as when they're in a subfolder.
Which means accepting the module folder both with a _config/ folder
and a _config.php file present.
2017-05-22 12:16:57 +12:00
Simon Gow
cdc03602ed
CheckboxField creates invalid HTML when required #2939
...
- Updated CheckboxField, CheckboxSetField, DropdownField, OptionsetField
to validate with HTML5 attributes & aria-required.
https://www.w3.org/TR/wai-aria/states_and_properties#aria-required
2017-05-22 12:15:28 +12:00
Damian Mooyman
2aa3b5d5fa
Merge pull request #6934 from robbieaverill/pulls/4.0/consistent-instance-method
...
API Consistent use of inst() naming across framework
2017-05-22 11:57:20 +12:00
Damian Mooyman
80bff0d099
Merge pull request #6932 from mikenz/pulls/4.0/treedropdownfield-orphaned
...
Bugfix: Parent treedropdownfield for an orphaned page is broken
2017-05-22 10:53:33 +12:00
Damian Mooyman
4197090e11
Merge pull request #6940 from kinglozzer/randomgenerator
...
Only use random_bytes() for RandomGenerator (closes #6397 )
2017-05-22 10:29:55 +12:00
Damian Mooyman
a3e6634ac0
Merge pull request #6941 from Firesphere/pulls/phpunit-pretty-print
...
[Improvement|testing] Use scriptfusion to immediately print PHPUnit output
2017-05-22 10:25:36 +12:00
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
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
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
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