Commit Graph

15226 Commits

Author SHA1 Message Date
Daniel Hensby
2c752adf5c Merge pull request #3966 from AntonyThorpe/patch-2
Update FunctionalTest.php API notes
2015-03-04 14:49:12 +00:00
Daniel Hensby
79a575dba4 Merge pull request #3968 from christopherdarling/patch-2
added space after class name in InvalidArgumentException for applyMany +...
2015-03-04 14:26:51 +00:00
Christopher Darling
140895d355 added space after class name in InvalidArgumentException for applyMany + excludeMany
"ClassNamecan't be used to filter by a list of items." => "ClassName can't be used to filter by a list of items."
2015-03-04 11:47:28 +00:00
Antony Thorpe
64a8af57de Update FunctionalTest.php API notes
submitForm method needs the name of the button (or null) to work
2015-03-04 18:38:43 +13:00
Ingo Schommer
7b7a5e0312 Merge pull request #3959 from dhensby/pulls/labels-proposal
DOCS Adding GitHub labels
2015-03-04 08:28:03 +13:00
Daniel Hensby
028a80b153 DOCS Adding GitHub labels 2015-03-03 17:24:02 +00:00
micmania1
6e0afd5b3c FIX Prevent unnecessary call to config system which doesn't exist yet
By passing the Config instantiation through the Injector and service configuration we're unnecessarily calling Config::inst()->get() on a config system which doesn't yet exist.

More specifically it calls Config::inst()->get('Config', 'dependencies') here: 4ae0d90c55/control/injector/Injector.php (L660) which in turn calls Config::inst()->get('Config', 'extensions').

This jumps through hoops trying to find the cached config for this class using the current Config_LRU class. When it doesn't find it, it then tries to look through the manifests which don't get created or brought from cache until later on in Core.php. Eventually this returns null for both Config::inst()->get() calls.

I ran a quick performance test before and after on an ec2 t2.micro box using siege (concurrency 5, 10 repetitions) and saved 400ms on average response times on a default installation - it would be awesome if somebody could confirm this is actually the case?
2015-03-03 11:35:26 +00:00
Ingo Schommer
6cdad96ca2 Merge pull request #3961 from kinglozzer/pulls/uploadfield-description
FIX: UploadField description alignment
2015-03-03 22:58:05 +13:00
Loz Calver
4709b90864 FIX: UploadField description alignment 2015-03-03 09:28:36 +00:00
Will Rossiter
e3478e96fd Merge pull request #3904 from dhensby/pulls/class-exists-fix
FIX make class loader classExists check interface_exists as per docs
2015-03-03 14:31:11 +13:00
Daniel Hensby
bee642a6b9 FIX make class loader classExists check interface_exists as per docs 2015-03-03 00:22:15 +00:00
Daniel Hensby
25a060ffc0 Merge pull request #3945 from jedateach/pr/3/modulethemedocs
DOCS Explain the module specific themes separation capability of Silverstripe
2015-03-03 00:13:50 +00:00
Daniel Hensby
f7fe045627 Merge pull request #3956 from kinglozzer/pulls/3954-dataquery-relations
FIX: DataQuery::applyRelation using incorrect foreign key (fixes #3954)
2015-03-03 00:13:02 +00:00
Daniel Hensby
50c4c387ae Merge pull request #3952 from christopherdarling/patch-1
FIX Renamed IMagickBackend to ImagicBackend
2015-03-02 10:40:45 +00:00
Loz Calver
f234301c0a FIX: DataQuery::applyRelation using incorrect foreign key (fixes #3954) 2015-03-02 09:56:47 +00:00
Will Rossiter
ddec797c1c Correct PHPDoc for classExists (Fixes #3904)
classExists() doesn't check for interfaces, comment shouldn't say it does.
2015-03-02 20:15:26 +13:00
Jean-Fabien Barrois
f9d493dff5 BUGFIX Fixes case insensitive search for postgres databases 2015-03-02 09:55:29 +13:00
Daniel Hensby
4e340ca7ab Merge pull request #3953 from oddnoc/docs-links
DOCS: correct broken links
2015-02-28 12:35:52 +00:00
Will Rossiter
548f297563 Merge pull request #3890 from dhensby/pulls/testonly
Cleaning up Test DataObjects to ensure TestOnly is implemented
2015-02-28 18:06:53 +13:00
Fred Condo
82ed86f6cd DOCS: correct broken links
- Correct internal links between documentation pages
- Delete defunct links to documentation removed during documentation reorganization
- Restore testing glossary
- Verify by crawling site locally
2015-02-27 16:09:15 -08:00
Christopher Darling
2da0ebe148 Renamed IMagickBackend to ImagicBackend
Also updated config:: to Config:: on line #52
2015-02-27 11:19:09 +00:00
Daniel Hensby
2298bed4e9 Merge pull request #3950 from micmania1/patch-8
DOCS Updated docs
2015-02-27 10:18:44 +00:00
Michael Strong
4c5a07ecec FIX Updated docs
The docs as they were would break websites and no warning was given regarding the security around doing this.
2015-02-27 17:00:46 +13:00
Jean-Fabien Barrois
bbe27999eb BUGFIX Use correct query when searching for items managed by a tree dropdown field #3173 2015-02-27 11:18:27 +13:00
Damian Mooyman
773624a40b Merge pull request #3947 from camfindlay/docs/uploadfield
DOCS Reinstate a missing upload field doc and give a review.
2015-02-26 17:51:01 +13:00
Cam Findlay
8146943a00 DOCS Reinstate a missing upload field doc and give a review. 2015-02-26 15:17:05 +13:00
Daniel Hensby
763173d6c6 Merge pull request #3939 from kinglozzer/pulls/many-many-extrafields-bug
FIX: Unable to access a list of all many_many_extraFields
2015-02-26 01:21:01 +00:00
Jeremy Shipman
39fac21fb9 Explain the module specific themes separation capability of Silverstripe
Relates to #3944
2015-02-26 12:56:33 +13:00
Loz Calver
3a7e24a220 FIX: Unable to access a list of all many_many_extraFields 2015-02-25 10:33:50 +00:00
Ralph Slooten
298254103e Improved getIP() detection
Ignore invalid HTTP_CLIENT_IP or HTTP_X_FORWARDED_FOR headers, as well as reserved internal IP addresses (eg: internal networks with squid proxy).
2015-02-25 13:02:12 +13:00
Daniel Hensby
18f7855794 Merge pull request #3928 from johndalangin/patch-1
YML Config Not Compatible with Requirements Class
2015-02-24 21:55:58 +00:00
johndalangin
5eb5cc7cca YML Config Not Compatible with Requirements Class
After hours of trying to debug why `write_js_to_bottom` wasn't working, I realized that the Requirements class variables were set to `protected` and not `private static` which I believe is necessary for the Config YML variables to be passed correctly to the class.

The documentation was edited to reflect the working, albeit traditional non-YML method of setting class variables.

Best regards,

John
2015-02-24 00:58:31 +08:00
Damian Mooyman
8b2ad80c8f Merge pull request #3921 from chillu/pulls/remove-grouped-dropdown-validate
Remove GroupedDropdownField::validate() (regression)
2015-02-23 08:39:50 +13:00
Damian Mooyman
86db15add2 Merge pull request #3922 from dnadesign/fixToGridExportField
checking for destroy
2015-02-22 18:47:18 +13:00
John Milmine
fa9cbb74ce checking for destroy
needed if field is passed array data rather than objects.
2015-02-21 23:03:34 +13:00
Ingo Schommer
7c4c30270a Merge pull request #3901 from flashbackzoo/pulls/ui-dialog-styling
Improve styling on modal dialogs
2015-02-21 16:27:32 +13:00
Ingo Schommer
750e81b7cf Remove GroupedDropdownField::validate() (regression)
Regression caused by 41ea83b337,
which introduced field validation in the parent class without
also adapting this subclass.

Fixing the immediate issue (can't save this field type),
as a first step to the actual fix (implementing validate).

See https://github.com/silverstripe/silverstripe-translatable/issues/179
2015-02-21 16:15:03 +13:00
Damian Mooyman
a86ed93759 Merge remote-tracking branch 'origin/3'
Conflicts:
	docs/en/05_Contributing/01_Code.md
2015-02-20 14:09:38 +13:00
Damian Mooyman
e7619feadb Fix merge errors and regressions 2015-02-20 11:49:47 +13:00
Damian Mooyman
dff65867cc Merge remote-tracking branch 'origin/3.1' into 3
Conflicts:
	control/HTTP.php
	control/HTTPResponse.php
	docs/en/05_Contributing/01_Code.md
	forms/CompositeField.php
	forms/FormAction.php
	forms/FormField.php
	forms/InlineFormAction.php
	forms/NumericField.php
	forms/TreeDropdownField.php
	forms/TreeMultiselectField.php
	templates/forms/TreeDropdownField.ss
	tests/core/CoreTest.php
	tests/forms/NumericFieldTest.php
	tests/model/DataDifferencerTest.php
2015-02-20 10:17:19 +13:00
Daniel Hensby
2336ea8f66 Merge pull request #3918 from muskie9/patch-6
DOCS Update index.md to link to how-to's for 3 tutorials/recipies
2015-02-19 15:50:51 +00:00
unclecheese
2af48738c9 MINOR: Remove children from Tutorials landing page. Deprecated. 2015-02-19 17:20:45 +13:00
Nic
5cda017424 Update index.md to link to how-to's for 3 tutorials/recipies 2015-02-18 20:47:57 -06:00
Ingo Schommer
3b66b75f2f Merge pull request #3889 from unclecheese/tutorial-deprecation
Several changes that deprecate the old written tutorials in favour of Lessons section
2015-02-19 14:49:30 +13:00
Damian Mooyman
1e5519cf1a Reformat changelog 2015-02-19 13:16:40 +13:00
Damian Mooyman
f95c181c97 Merge remote-tracking branch 'origin/3.1.10' into 3.1 2015-02-19 12:57:12 +13:00
Damian Mooyman
c302edc4e7 Added 3.1.10 changelog 2015-02-19 12:37:16 +13:00
Daniel Hensby
baca51c9d0 Merge pull request #3917 from oddnoc/httpresponse-return-values
Correct return statements in SS_HTTPResponse
2015-02-18 20:54:09 +00:00
Fred Condo
5047143e7b Correct return statements in SS_HTTPResponse
- setBody failed to return a value; it now returns $this as related methods do
- getHeader had an extra, unreachable return statement; removed
2015-02-18 10:32:33 -08:00
Daniel Hensby
1f695df952 Merge branch 'AntonyThorpe-patch-3' into 3.1 2015-02-18 00:11:56 +00:00