Commit Graph

14311 Commits

Author SHA1 Message Date
Daniel Hensby
c35b1c432f Merge pull request #3936 from jonom/sitetree-status-icons-ss3
Sitetree status icons (3 branch version)
2015-03-09 21:24:39 +00:00
Daniel Hensby
95deae8a69 Merge pull request #3990 from kinglozzer/patch-1
Remove redundant config logic from DataObject::setField()
2015-03-09 21:09:23 +00:00
Damian Mooyman
636784845e Update admin js translations 2015-03-10 09:13:35 +13:00
Daniel Hensby
59496be8eb Merge pull request #3943 from patricknelson/3.1
FIX: Ensuring GridFieldDetailForm validator uses Object->hasMethod() to respect e...
2015-03-09 18:59:40 +00:00
Patrick Nelson
f5f41b2f0e FIX: Ensuring custom CMS validator uses Object->hasMethod() to respect extension decorator pattern. 2015-03-09 13:53:08 -04:00
Loz Calver
747a794f86 Remove redundant config logic from DataObject::setField() 2015-03-09 12:51:08 +00:00
Daniel Hensby
fcf0e8980a Merge pull request #3919 from unclecheese/patch-8
MINOR: Remove children from Tutorials landing page. Deprecated.
2015-03-09 12:02:19 +00:00
wernerkrauss
fbe0592ef9 Update 00_Partial_Caching.md
Adding $ for variable names and quoted parameters as discussed with @kinglozzer on IRC
2015-03-09 12:50:05 +01:00
Loz Calver
9c70a91f1b Merge pull request #3977 from dhensby/pulls/3566
NEW LimitCharactersToClosestWord helper function
2015-03-09 11:40:58 +00:00
Loz Calver
81c1e36305 Merge pull request #3972 from dhensby/pulls/3690-reapply
DOCS SS_ERROR_LOG reuqires relative location to BASE_PATH
2015-03-09 11:36:29 +00:00
Daniel Hensby
ef818b3b7b Merge pull request #3970 from tractorcow/pulls/3.2/api-zero-pagination
API enable PaginatedList to be disabled by setting page length to 0
2015-03-09 11:28:36 +00:00
Loz Calver
93dca9aabd Merge pull request #3934 from dhensby/pulls/cofig-lru-fix
Change the LRU cache to a simple in-memory model
2015-03-09 09:31:04 +00:00
Damian Mooyman
7bf4d2e95e Added 3.1.11-rc1 changelog 2015-03-09 18:55:23 +13:00
Damian Mooyman
872d05fd1b Added 3.1.11-rc1 changelog 2015-03-09 18:28:50 +13:00
Damian Mooyman
a7bd6de2ec Update translations 2015-03-09 17:11:10 +13:00
Simon Welsh
1d135552cf Change the LRU cache to a simple in-memory model
Slight memory increase when there are lots of additions for much better performance in every case.
2015-03-09 02:01:24 +00:00
Daniel Hensby
a59e102c61 Merge pull request #3986 from tractorcow/pulls/3.1/fix-gridfield-bug
BUG Fix gridfield generating invalid session keys
2015-03-08 23:57:43 +00:00
Daniel Hensby
3b9129f681 Merge pull request #3985 from tractorcow/pulls/3.2/refactor-obj-cache
Refactor ViewableData::obj caching
2015-03-08 23:47:48 +00:00
Damian Mooyman
1770fab206 BUG Fix gridfield generating invalid session keys 2015-03-09 11:44:39 +13:00
Damian Mooyman
95efc330e4 Refactor ViewableData::obj caching 2015-03-09 10:32:37 +13:00
Ingo Schommer
1a9c206d15 Merge pull request #3871 from patbolo/3173-folder-treedropdownfield
BUGFIX Use correct query when searching for items managed by a tree drop...
2015-03-08 23:23:03 +13:00
Ingo Schommer
45fcdc672a Merge pull request #3983 from dhensby/pulls/gender-neutral-docs
Making docs gender agnostic
2015-03-08 22:57:40 +13:00
Daniel Hensby
32a3d6c61e Merge pull request #3975 from oddnoc/controller-route-docs
DOCS: Correct & expand routing docs
2015-03-07 22:58:51 +00:00
Ingo Schommer
12376637cf Merge pull request #2801 from mmichelli/3.1
Norwegian translation issue
2015-03-08 11:24:06 +13:00
Fred Condo
bd5f5232fa DOCS: Correct & expand routing docs
- Correct syntax error in TeamController sample code
- Explain mandatory use case of $url_handlers
- Provide sample code for mandatory use case of $url_handlers
2015-03-07 13:25:44 -08:00
Daniel Hensby
d2a3da2203 Making docs gender agnostic 2015-03-07 12:32:04 +00:00
Daniel Hensby
0898487ad2 Merge pull request #3976 from guru-digital/composer-git-and-.git-ignore-docs
DOCS Added "Composer managed modules, Git and .gitignore" section
2015-03-05 23:49:48 +00:00
Damian Mooyman
ba2de450d6 Merge pull request #3962 from micmania1/patch-8
FIX Prevent unnecessary call to config system which doesn't exist yet
2015-03-06 12:42:20 +13:00
Anton Smith
dc7bc4673e NEW Text - Limit characters to closest word 2015-03-05 23:12:02 +00:00
Corey Sewell
2742f46b79 Added "Composer managed modules, Git and .gitignore" section to Getting Started/02 Composer 2015-03-06 10:28:07 +13:00
Daniel Hensby
7cd998d247 Merge pull request #3973 from cjsewell/patch-1
DOCS Remove incorrect L flag for Basic Auth RewriteRule
2015-03-05 18:44:12 +00:00
Corey Sewell
f924354e12 Remove incorrect L flag for Basic Auth RewriteRule
As per the installer [.htaccess](https://github.com/silverstripe/silverstripe-installer/blob/3.1/.htaccess#L37) the RewriteRule to enable Basic Auth when using CGI/FastCGI with Apache does not have the L flag.
2015-03-06 07:36:43 +13:00
Daniel Hensby
96b1583aae DOCS SS_ERROR_LOG reuqires relative location to BASE_PATH 2015-03-05 12:07:56 +00:00
Ingo Schommer
ff562e126f Merge pull request #3971 from tractorcow/pulls/3.1/fix-param-len
BUG Fix serialised stateid exceeding request length
2015-03-05 15:44:31 +13:00
Damian Mooyman
87adc44469 BUG Fix serialised stateid exceeding request length 2015-03-05 15:00:38 +13:00
Damian Mooyman
9367fd2456 API enable PaginatedList to be disabled by setting page length to 0 2015-03-05 12:07:14 +13:00
Daniel Hensby
f0cc751d75 Merge pull request #3969 from sminnee/non-sortable-column-fix
FIX: Corrected padding on non-sortable columns.
2015-03-04 22:46:02 +00:00
Sam Minnee
eb35f260c6 FIX: Corrected padding on non-sortable columns.
span.non-sortable in the GridField header relies on there being other, sortable columns in the list to get the padding
right. If there are no such columns (e.g. in a simple header), then the header is shown without padding, which is ugly.

This small change fixes that. Tested on Chrome and Firefox. 1px smaller than a sortable header on Firefox but still looks fine.
2015-03-04 22:14:00 +00:00
Jonathon Menz
8ee9130bcf NEW: CMS site tree status icons
Added coloured status 'dots' to overlay page icons and improved visibility of status labels
2015-03-04 08:43:00 -08:00
Jonathon Menz
5216b67290 Compile latest scss 2015-03-04 08:43:00 -08:00
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