Maxime Rainville
b0fec1886b
API Remove pointless subitem_class config ( #2817 )
2023-01-16 23:50:59 +13:00
Steve Boyd
e64bfdb394
API Stop using deprecated API
2022-11-16 15:39:13 +13:00
Steve Boyd
55b17c920c
API Update deprecations
2022-10-18 15:23:59 +13:00
Steve Boyd
ea92339d8d
ENH Update deprecation messages
2022-10-18 15:17:19 +13:00
Guy Sartorelli
1f360c9c26
ENH Use the new CMSEditLinkExtension on SiteTree ( #2778 )
2022-09-30 15:10:49 +13:00
Guy Sartorelli
2b8bee7970
ENH Don't use deprecated method doRevertTo() ( #2775 )
2022-09-02 10:56:28 +12:00
Benjamin Blake
35d12228d0
CMSMain - Added HTML class attribute for styling
...
+ Added an `action-parameters` class to the BatchActionParameters field so we can style it without using ID selectors
2022-07-06 22:45:50 -06:00
Michal Kleiner
6bd3618f09
Fix CS
2022-07-07 10:32:19 +12:00
Benjamin Blake
654fa5a681
CMSMain - Linting changes + Added Docblock
...
+ Made the linting changes requested by @GuySartorelli
+ Added method documentation for BatchActionParameters()
2022-07-05 20:11:20 -06:00
Benjamin Blake
81593057de
CMSMain - Fixed and enhanced BatchActionParameters
...
+ Fixed the $batchActions variable by making it use the `registeredActions()` method
+ Made the loop use `FieldHolder` instead of `Field` so CMS fields display correctly
+ Added hidden styles to the batch action div for jQuery show/hide functionality (found in Admin module PR)
2022-07-04 22:14:53 -06:00
Steve Boyd
1563ab3fcf
Merge branch '4.10' into 4
2022-04-26 15:22:21 +12:00
Guy Sartorelli
4e757759ec
FIX Translate pagetype names in list view
2022-04-19 16:04:20 +12:00
Steve Boyd
1b0b2154b4
ENH PHP 8.1 compatibility
2022-04-13 17:07:59 +12:00
Guy Sartorelli
b4e3a08b8a
ENH Prefer dependency injection for GridFieldComponents
...
GridFieldComponents packaged with silverstripe/framework are injectable as of 4.11.0
Explicitly invoking the injector here instead of using `create()` allows backwards compatability with framework < 4.11.0 while ensuring dependency injection is still used from 4.11.0 onwards.
2022-02-12 18:48:17 +13:00
Will Rossiter
db7efad6ca
FIX undefined variable inChangeSets
2021-03-05 14:48:08 +13:00
Steve Boyd
3bbc4aa6b3
Merge branch '4.5' into 4.6
2021-01-02 10:17:51 +13:00
Loz Calver
69825da30a
FIX: Incorrect method call in savetreenode ( fixes #2561 )
2020-06-24 17:23:10 +01:00
Michal Kleiner
d8331c1e0a
Use short array syntax across the module's codebase
2020-04-19 16:18:01 +12:00
mattclegg
58795a2324
REFACTOR: Remove duplication and set SiteTree instances to use generic CMSEditLink()
2020-04-10 09:12:39 +05:45
mattclegg
d85cc24aa0
DOCS: Set @var to SiteTree where appropriate
2020-04-10 09:11:00 +05:45
mattclegg
2bbc280ce6
ENHANCEMENT: Remove unused $controller from lambda function
2020-04-04 16:20:24 +05:45
Aaron Carlino
8a44071ec6
Merge branch '4.4' into 4
2019-06-10 16:26:55 +12:00
Aaron Carlino
3bf78e05df
Merge branch '4.3' into 4.4
2019-06-10 16:26:32 +12:00
Aaron Carlino
b7707f319c
Merge branch '4.2' into 4.3
2019-06-10 16:26:08 +12:00
Garion Herman
c569cec4ea
NEW Add updateHintsCacheKey extension point to fix invalid caching
...
If a module augments the allowed pagetypes based on external conditions,
the Hints Cache Key will not cover these conditions and may cause
incorrect output. An example of this is Subsites, which allows each
Subsite to have a different set of allowed pagetypes.
2019-05-31 10:21:07 +12:00
Maxime Rainville
46b77f3592
MINOR Do not assume SiteTree's table will always be call SiteTree.
2019-05-17 13:40:15 +12:00
Ingo Schommer
ab01ac99e3
API Deprecated CMSMain->publishall()
...
The current implementation doesn't scale,
and due to the proliferation of versioned objects
no longer fully works (e.g. doesn't publish all files).
Fixes https://github.com/silverstripe/silverstripe-cms/issues/2406
2019-04-10 10:44:14 +12: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
Robbie Averill
60aadf8f28
Merge branch '4.3' into 4
2018-11-26 15:09:38 +01:00
micmania1
4896004b50
BUGFIX reverting to publish still shows draft changees
2018-11-16 14:12:01 +13: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
Aaron Carlino
d8f19bd8c2
Merge branch '4.2' into '4'
2018-10-15 13:40:43 +13:00
Robbie Averill
6e649b570d
FIX CMSMain::duplicate() now checks canCreate() but not canEdit()
2018-10-08 13:55:59 +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
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
Damian Mooyman
61429c17a6
Merge remote-tracking branch 'origin/4.0' into 4.1
...
# Conflicts:
# .travis.yml
2018-04-13 10:03:47 +12:00
Damian Mooyman
87d69ba753
ENHANCEMENT Use i18n template for page tree title
2018-04-10 10:30:49 +12:00
Jason Korth
e554e82afa
adjustment to show Page Type title on SiteTree mouseover
2018-04-09 21:52:07 +01:00
Robbie Averill
9ebea37b33
NEW Add extension point to CMSMain::Breadcrumbs
2018-02-20 14:28:25 +13:00
Chris Joe
a3873a6422
Merge pull request #2093 from open-sausages/pulls/4.1/mind-if-i-button
...
Replace save draft / save & publish buttons with save, publish
2018-02-12 10:47:14 +13:00
Aaron Carlino
ca8b728580
replace save draft / save & publish buttons with save, publish
2018-02-09 12:18:57 +13:00
Damian Mooyman
210213a455
Fix search behaviour
2017-12-13 18:16:34 +13:00
Damian Mooyman
073cb77500
Trim some unnecessary API
2017-12-13 17:10:39 +13:00