Robbie Averill
2533e729fc
Merge branch '4.3' into 4
2019-01-29 14:03:59 +02:00
Robbie Averill
287f17b848
Merge branch '4.2' into 4.3
2019-01-29 14:03:47 +02:00
Damian Mooyman
9ced23473f
BUG Don't convert datalist to arraylist when filtering pages
...
Fixes #2354
2019-01-18 10:35:34 +13:00
Robbie Averill
ba897af221
Merge pull request #2364 from sachajudd/pulls/4.4/font-icon-support
...
NEW Add font-icon support for site tree
2019-01-14 09:06:40 +01:00
Sacha Judd
1f1f44969a
NEW Add font-icon support for site tree
2019-01-14 13:16:30 +13:00
Robbie Averill
08502fb4dc
MINOR Typo fix
...
Co-Authored-By: maxime-rainville <maxime@rainville.me>
2019-01-12 00:12:35 +13:00
Maxime Rainville
3a1329f61b
MINOR Clean up CMSMain::CanOrganiseSitetree
2019-01-11 23:56:40 +13:00
Aaron Carlino
6beb682cfa
Merge branch '4.3' into 4
2019-01-10 12:06:36 +13:00
Aaron Carlino
b83d818e0a
Merge branch '4.2' into 4.3
2018-12-11 17:07:55 +13:00
Aaron Carlino
acc7f46b02
Merge branch '4.1' into 4.2
2018-12-11 11:42:35 +13:00
Aaron Carlino
a4b78c4041
Merge branch '4.0' into 4.1
2018-12-11 11:42:11 +13:00
Robbie Averill
84db517bfe
Merge branch 'pr-2105' into 4.0
2018-12-02 18:21:40 +00:00
Robbie Averill
0bb22732c9
FIX Unsaved SiteTree records now return an empty list for DependentPages
2018-11-28 13:44:52 +01:00
Robbie Averill
60aadf8f28
Merge branch '4.3' into 4
2018-11-26 15:09:38 +01:00
Maxime Rainville
44b600814a
Merge pull request #2287 from sb-relaxt-at/4.2
...
Fixing wrong Live-Preview-Link in SilverStripeNavigatorItem_LiveLink
2018-11-23 10:05:05 +13:00
Guy Marriott
203ecdb210
Merge pull request #2333 from micmania1/bugfix/revert-to-publish-shows-draft
...
BUGFIX reverting to publish still shows draft changes
2018-11-20 09:22:48 +13:00
Robbie Averill
35c3a8c68d
FIX 'Search' text in default search form should be a placeholder
2018-11-16 17:18:12 +02:00
micmania1
4896004b50
BUGFIX reverting to publish still shows draft changees
2018-11-16 14:12:01 +13:00
Robbie Averill
03869b1627
Remove undefined variable, should use the baseTable() from the $parentClass
2018-11-15 13:30:33 +02:00
Maxime Rainville
b138eb06ff
Revert BackLinkTracking to return Parent Object of the SiteTreeLink rather than SiteTreeLink itself
2018-11-15 15:57:17 +13:00
Maxime Rainville
0bff8728b1
MINOR Speed up DependentPages by shifting existence check to table join
2018-11-14 18:01:29 +13:00
Guy Marriott
814922747a
Merge pull request #2274 from creative-commoners/pulls/4.3/factory-extensibility
...
NEW Add update extension hooks for LinkFormFactory subclasses
2018-11-11 23:09:24 +13:00
Robbie Averill
12907271ff
NEW Add update extension hooks for LinkFormFactory subclasses
2018-11-10 14:58:51 +02:00
Robbie Averill
ab739c7fb0
FIX Replace usage of Convert JSON methods with json_encode and json_decode
2018-10-28 21:21:19 +00:00
Maxime Rainville
2773e9c075
API Deprecate CMSPageHistoryController ( #2298 )
2018-10-24 11:52:39 +13:00
Aaron Carlino
d8f19bd8c2
Merge branch '4.2' into '4'
2018-10-15 13:40:43 +13:00
Aaron Carlino
2f16da936d
Merge branch '4.1' into 4.2
2018-10-15 13:32:33 +13:00
Robbie Averill
d1c3a96653
Merge pull request #2290 from open-sausages/pulls/4/lazy-load-gridfield
...
MINOR Enable the lazy loading for DependentPages GridField
2018-10-11 14:00:27 +02:00
Maxime Rainville
974ea3b29d
MINOR Remove AbsoluteURL column from DependentPage ( #2290 )
2018-10-11 14:42:16 +13:00
Maxime Rainville
7f0d4c8634
MINOR Enable the lazy loading for DependentPages GridField
2018-10-09 14:16:43 +13:00
Robbie Averill
6e649b570d
FIX CMSMain::duplicate() now checks canCreate() but not canEdit()
2018-10-08 13:55:59 +02:00
Stephan Bauer
c498aa0337
Fixing wrong Live-Preview-Link in SilverStripeNavigatorItem_LiveLink ( fixes #865 ).
2018-10-06 21:32:58 +02:00
Robbie Averill
3b3ce70378
Merge pull request #2279 from creative-commoners/pulls/4.3/searching-for-sugarman
...
FIX Update field names in Behat tests for new search form namespacing
2018-10-02 15:12:33 +02:00
Robbie Averill
f28f70c8af
Linting issue
2018-10-02 10:55:34 +02:00
Guy Marriott
b0c4c5a177
FIX Updating SiteTree search fields to work with new search namespacing
2018-10-01 17:07:51 +13:00
Sam Minnee
bd37b90a3a
NEW: Add CMSMain.enable_archive_warning_message config
...
This lets you disable this expensive message generation on larger sites
where that is a problem. Speeding it up is obviously a preferred
solution (or removing this feature until that is possible), but this
config option is a simpler solution to the problem in the short term.
2018-09-28 15:02:40 +12:00
Sam Minnée
5bfc37ff4b
FIX: Use Hierarchy::prepopulateTreeDataCache() in CMS ( #2266 )
...
* FIX: Use Hierarchy::prepopulate_numchildren_cache in tree-generation
Only relevant if https://github.com/silverstripe/silverstripe-framework/pull/8380 is avialable,
however coded defensively so it can be merged before that PR if needs
be.
See https://github.com/silverstripe/silverstripe-framework/issues/8379
* FIX: Use Hierarchy::prepopulateTreeDataCache() in CMS.
Requires https://github.com/silverstripe/silverstripe-framework/pull/8395
* Cache tree_class instead of assuming it will always be SiteTree.
2018-09-25 15:14:16 +12:00
Maxime Rainville
5c102decbd
FIX Improve performance of CMSMain::getArchiveWarningMessage ( #2231 )
...
* FIX Improve performance of CMSMain::getArchiveWarningMessage
* Remove private method
* Linting
2018-09-13 15:52:54 +12:00
Luke Edwards
aa3760ed66
Merge pull request #2247 from open-sausages/pulls/4.2/2227-show-link-tracking
...
API: Add `show_link_tracking` config to `SiteTreeLinkTracking` extension
2018-09-13 14:23:54 +12:00
bergice
115ed92e0a
API: Add show_sitetree_link_tracking
config to SiteTreeLinkTracking
extension to control visibility of the Link Tracking tab
2018-09-13 11:01:33 +12:00
Aaron Carlino
0f00de78ad
Set locale on datefields from current user
2018-09-06 09:41:52 +12:00
Luke Edwards
2fbeda1564
ADD New search component for SiteTree ( #2224 )
2018-09-04 13:13:33 +12:00
Robbie Averill
eae155a228
Merge pull request #2239 from pine3ree/patch-3
...
simplify code using !empty
2018-08-18 09:28:15 +12:00
maks
599e198e89
simplify code using !empty
...
Hello @robbieaverill, please check my assumption...it's been a long time since I have last used SS (v3.2 was my last, if i remember correctly)
in the following lines 438:
```php
if (isset($this->templates[$action]) && $this->templates[$action]
|| (isset($this->templates['index']) && $this->templates['index'])
|| $this->template
) {
return parent::getViewer($action);
}
```
it looks like the 1st two (same-line) condition should be wrapped inside `()` while checking for a non-index action template .... if not just kill this PR at once. :-)
if the answer is yes then we can just use `!empty(...)` which is the same as 'isset(...) + truthy check'
kind regards,
maks
2018-08-17 14:51:36 +02:00
maks
75bc2da406
use identity operator + code consistency
...
- use identity operator === to check string
- use single quotes for consistency
- simplify code using the ternary operator
2018-08-17 14:38:24 +02:00
Daniel Hensby
83e5689b94
Merge branch '4.2' into 4
2018-07-23 15:58:14 +01:00
Daniel Hensby
b653ebfe7a
Merge branch '4.1' into 4.2
2018-07-23 14:50:50 +01:00
Ingo Schommer
262236c3e2
Merge pull request #2115 from andrewandante/pulls/4/add_controller_name_config_var
...
add controller_name config var to SiteTree for easier override
2018-07-23 14:09:47 +12:00
Robbie Averill
d1112f25b9
Merge pull request #2214 from wilr/patches/anchor-extension
...
NEW add SiteTree::updateAnchorsOnPage() for defining content anchors
2018-07-16 10:07:03 +12:00
Will Rossiter
f2ebdb7f5e
NEW add SiteTree::updateAnchorsOnPage() for user defining additional page anchors
2018-07-15 14:19:14 +12:00