Steve Boyd
416f55ad03
API Stop using deprecated API
2022-11-28 17:49:50 +13:00
Steve Boyd
aba286d8a3
API Update deprecations
2022-11-16 11:55:02 +13:00
Bart van Irsel
74b6cec374
ENH added config setting to ignore subsite language ( #481 )
...
added config setting to ignore subsite language; when using subsites in combination with fluent it picked up wrong yml file
2022-07-28 12:19:33 +12:00
Steve Boyd
ed4663be9b
ENH PHP 8.1 compatibility
2022-04-13 13:49:48 +12:00
Corey Sewell
f1fce6f739
Fix "Column 'URLSegment' in where clause is ambiguous" when duplicating pages
2020-01-17 12:35:08 +13:00
Robbie Averill
38b356c256
Merge branch '2.1' into 2.2
...
# Conflicts:
# tests/php/SiteTreeSubsitesTest.php
2019-09-25 15:00:35 -07:00
Guy Marriott
2eb04ffa78
FIX Improving support for cascading themes
...
- Fixes an issue where themes would cascade "up" the list of themes
- Provides configuration for defining custom theme options with their own sets of cascading themes
Fixes #392
2019-07-12 13:34:42 +12:00
Robbie Averill
3b8207d70c
Ensure URL segment field type before using its API, and add docs around subsite and fluent domain compatibility
2019-05-31 11:27:58 +12:00
Robbie Averill
e4fe534f10
Merge branch '2.1'
2018-11-07 16:28:10 +02:00
Robbie Averill
2a35a5c70a
FIX Replace Convert JSON methods with json_* methods, deprecated from SilverStripe 4.4
2018-10-28 21:41:32 +00:00
Robbie Averill
bf7dd9c37b
Merge branch '2.1'
...
# Conflicts:
# src/Extensions/SiteTreeSubsites.php
2018-10-19 16:28:50 +02:00
Guy Marriott
7cc86199e7
Revert "FIX CMS permission checks for subsite are now handled in the state context"
2018-10-19 12:00:50 +13:00
Robbie Averill
6af985420f
FIX CMS permission checks for subsite are now handled in the state context
...
We now check the subsite state for the context and validate it against the current member's
group permissions using the SilverStripe ORM relationships instead of using SQL queries.
More granular permission checks e.g. canView etc are still up to data models to define and
handle.
2018-08-24 16:58:36 +12:00
Robbie Averill
e8a72e1c33
FIX Duplicate page's parent IDs are now assumed or zeroed after duplication
2018-08-24 10:30:27 +12:00
Robbie Averill
8af796fa7a
API Deprecate duplicateSubsiteRelations. Use "cascade_duplicates" config API instead.
2018-08-24 10:13:22 +12:00
Robbie Averill
7f28c32427
FIX Pages now correctly duplicate children across subsites
2018-08-24 10:12:05 +12:00
Dylan Wagstaff
ffbcb9a0c8
Deprecate alternatePreviewLink function as per CMS
...
SilverStripe CMS 4.0.0 issues a deprecation notice before calling
alternatePreviewLink on any page that hasMethod (i.e. is applied via an
extension such as SiteTreeSubsites). Instead of double-issuing a notice,
we will just mark this as deprecated in the next minor version via
docblocks.
2018-07-05 09:55:45 +12:00
Dylan Wagstaff
5370bc8af6
FIX apply SubsiteID getVar to CMS Preview fetches
...
A preview link must be loaded on the same domain the CMS is loaded
through, which was previously causing issues when a page (identified
via URLSegment) did not exist on the subsite domain. By _always_
prepending the identifier to the preview link, this should never happen.
2018-07-04 15:21:47 +12:00
Robbie Averill
153db12d42
Switch count for exists() check for readability
2018-06-20 09:27:04 +12:00
Robbie Averill
dc9d6de62d
FIX Do no provide input for canEdit or canPublish if no subsites exist
2018-06-19 15:43:09 +12:00
Dylan
fe1c0a58c0
FIX be consistent with the variable setting
...
So as to avoid fatal errors while attempting to count.
2018-03-27 11:51:30 +01:00
Robbie Averill
30454dc04f
FIX Support blacklist for SS 4.0 and 4.1, remove old Translatable reference in test class
2018-03-15 17:15:19 +13:00
Robbie Averill
afd23be64c
FIX Correctly decode page type blacklist from JSON
2018-03-15 16:44:48 +13:00
Raissa North
34c0c4946c
FIX Hide subsite operations when no subsites exist
2018-02-01 15:41:54 +13:00
Raissa North
e405dff946
FIX Add an empty string to the subsite operations dropdown.
...
This prevents a subsite from being chosen as the default option, assuming this is undesired
2018-02-01 14:24:04 +13:00
Raissa North
8b5f593999
Fix line length
2018-02-01 13:19:02 +13:00
Raissa North
db69c486a0
FIX: Turn SilverStripe Map into an array to give an accurate falsey value
2018-01-31 17:25:32 +13:00
Robbie Averill
34b3fbf04d
FIX Subsites VirtualPage link to edit main page and TreeDropdownField API implementations
2018-01-30 16:21:45 +13:00
Robbie Averill
ace068b93d
FIX Move extensions to correct folder location for PSR-4 compatibility
2018-01-18 16:23:11 +13:00