Steve Boyd
1563ab3fcf
Merge branch '4.10' into 4
2022-04-26 15:22:21 +12:00
Guy Sartorelli
bb158e4f2e
Merge pull request #2730 from creative-commoners/pulls/4/php81
...
ENH PHP 8.1 compatibility
2022-04-22 16:18:11 +12:00
Guy Sartorelli
4e757759ec
FIX Translate pagetype names in list view
2022-04-19 16:04:20 +12:00
Guy Sartorelli
5840285d43
Merge pull request #2488 from andrewandante/FEAT/ground_control_to_pager_tom
...
FEATURE add config var for namespace mapping page->control
2022-04-14 16:02:20 +12:00
Steve Boyd
1b0b2154b4
ENH PHP 8.1 compatibility
2022-04-13 17:07:59 +12:00
Guy Sartorelli
13c1ae487f
Merge pull request #2731 from creative-commoners/pulls/4/p81fix
...
ENH Various fixes for PHP 8.1 compatibility
2022-04-13 16:10:56 +12:00
Andrew Aitken-Fincham
863ed24920
add config var for namespace mapping page->control, add test to confirm
2022-04-13 12:05:13 +12:00
Will Rossiter
ee69d75904
NEW add ability to redirect to a file on the website
2022-04-12 12:42:58 +12:00
Steve Boyd
6bea5778d7
ENH Various fixes for PHP 8.1 compatibility
2022-04-08 12:38:38 +12:00
Steve Boyd
cc43326de6
Merge branch '4.10' into 4
2022-04-06 10:33:36 +12:00
3Dgoo
ceeed65465
Ensure start var is not a negative number
2022-03-29 10:06:46 +01:00
Steve Boyd
3b62336180
NEW Include version number in meta generator tag ( #2721 )
2022-03-09 14:48:02 +13: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
Steve Boyd
6ab92e8f74
Merge branch '4.10' into 4
2022-02-01 13:58:32 +13:00
Steve Boyd
101b17f16e
Merge branch '4.9' into 4.10
2022-02-01 13:58:00 +13:00
GuySartorelli
803f19b3a4
NEW Add preview state for non-versioned DataObjects. ( #2692 )
...
Currently only Versioned DataObjects are enabled for the CMS preview.
Without a navigator item, non-versioned DataObjects aren't allowed to
display in the preview panel even if they implement CMSPreviewable.
2022-01-31 14:28:02 +13:00
Steve Boyd
ab22108c85
Merge branch '4.10' into 4
2022-01-27 09:43:54 +13:00
Florian Thoma
b539924550
FIX SiteTree visibility field name
2022-01-25 11:49:11 +11:00
Sergey Shevchenko
0db24fc038
FIX SiteTree::getCMSActions unpublish action ( #2703 )
...
* TEST SiteTree::getCMSAction produces valid actions
* FIX Fix invalid SiteTree unpublish action declaration
* refactor: moved new functions to conform with existing naming conventions
see https://github.com/silverstripe/silverstripe-cms/pull/2703#discussion_r789208512
2022-01-21 13:27:02 +13:00
Nicolaas / Sunn Side Up
1338538cb9
ENH: better coding standards ( #2710 )
2022-01-17 12:29:25 +13:00
Steve Boyd
96fdf6dc72
Merge branch '4.9' into 4
2021-11-18 17:07:02 +13:00
Steve Boyd
c754486693
Merge pull request #2685 from GuySartorelli/patch-1
...
FIX: Treat absolute links in a consistent manner in get_by_link.
2021-11-15 15:10:58 +13:00
Florian Thoma
480baa6ef8
FIX Use correct canonical tag on VirtualPage ( #2688 )
2021-11-04 14:59:14 +13:00
kevin-hine-innis
bcbeb6d626
FIX SiteTreeLinkTracking_Parser should use the getAnchorsOnPage ( #2697 )
...
Currently, the SiteTreeLinkTracking_Parser only checks the page's content for anchors.
As a result, any anchors that have been added or modified by the updateAnchorsOnPage extension in the getAnchorsOnPage method are marked ss-broken.
This change updates SiteTreeLinkTracking_Parser to get the anchors from the getAnchorsOnPage function on SiteTree. This will allow for more consistent RegEx matching and allow the updateAnchorsOnPage extension to be used when checking for broken links.
2021-11-04 09:31:34 +13:00
Adrian Humphreys
ecd9759f83
FIX Remove unused code ( #2693 )
2021-10-19 12:30:00 +13:00
kevin-hine-innis
2bf691f548
FIX ensure updateAnchorsOnPage extension is called ( #2686 )
...
Currently, if there are no anchors found in the page content, the updateAnchorsOnPage extension is not called.
This change will call the updateAnchorsOnPage extension regardless of the page content.
2021-09-28 12:36:37 -07:00
GuySartorelli
734eb3921f
FIX: Treat absolute links in a consistent manner in get_by_link.
...
Fixes #2580
The call to `Director::makeRelative` transforms absolute links into relative links. Previously, this meant that you could pass in "https://example.co.nz/about-us " or "about-us" and get the same result, but passing in "https://example.co.nz/ " and "/" would give _different_ results.
This commit performs the transformation to a relative link _before_ checking if the path should be for the home page, which leads to more consistent results.
2021-09-21 17:09:48 +12:00
Aaron Carlino
f3a76ccf2d
NEW: getByLink plugin allows arrays of links ( #2666 )
...
* NEW: getByLink plugin allows arrays of links
* Allow configurable resolver
* Remove unused exception tag
* Refactor to preserve API backward compat
* Unit test
* Add plugin to readOne
* Fix test
* add new test
2021-09-07 09:34:52 +12:00
Nicolaas
10e2c1f271
PATCH: docblock for return value fixed for get_by_link
2021-07-17 11:39:18 +12:00
Steve Boyd
ac35e94a19
Merge branch '4.7' into 4.8
2021-05-28 13:31:35 +12:00
Nic Horstmeier
85c3b1096b
UPDATE generate canonical via MetaComponents
...
This replaces using the `MetaTags` method as replacing or removing a canonical requires string manipulation vs unsetting an array key, and is preferred.
2021-04-05 19:52:35 -05:00
Steve Boyd
f892205b9b
Merge pull request #2638 from wilr/pulls/undefined
...
FIX undefined variable inChangeSets
2021-03-22 14:13:07 +13:00
Will Rossiter
db7efad6ca
FIX undefined variable inChangeSets
2021-03-05 14:48:08 +13:00
Steve Boyd
7886e51f81
Merge branch '4.7' into 4
2021-01-02 10:48:03 +13:00
Steve Boyd
babc8a462e
Merge branch '4.6' into 4.7
2021-01-02 10:40:57 +13:00
Steve Boyd
3bbc4aa6b3
Merge branch '4.5' into 4.6
2021-01-02 10:17:51 +13:00
Aaron Carlino
e415d41856
BUGFIX: Restore, refactor getByLink plugin
2020-12-08 11:16:52 +13:00
Aaron Carlino
7b960c1537
NEW: Compliance with new SchemaConfig API ( #2617 )
2020-12-01 21:27:16 +13:00
Andre Kiste
e67012d571
Merge pull request #2562 from kinglozzer/2561-virtualpage-savetreenode
...
FIX: Incorrect method call in savetreenode (fixes #2561 )
2020-11-19 10:12:28 +13:00
Aaron Carlino
ee3e51e5e5
Move graphql legacy code to _legacy for PSR-4 compat
2020-11-13 21:02:08 +13:00
Aaron Carlino
5ab1ff3e69
NEW: GraphQL Compatibility ( #2607 )
...
* Add GraphQL4 compatibility
* Add getPageByLink
* Blacklist sitetree fields
* Remove getByLink from default schema. use linkable plugin
* getByLink compatability with new readOne filter anything
* Remove return type
* Compliance with new modelConfig
* Prep for travis
* Improvements for versioned-admin compat
* BC class guards
* New graphql 3 compat
* Fix travis syntax error
* New backward graphqlphp dependency
* Lint, build
* New phpcs exclusion
* Tidy up travis
* Fix rollback mutation
* Update code/GraphQL/_legacy/ReadOneResolver.php
Co-authored-by: Ingo Schommer <ingo@silverstripe.com>
* Address ingo feedback
* Deprecated GraphQL v3 classes
* Remove deleted branches
Co-authored-by: Ingo Schommer <ingo@silverstripe.com>
Co-authored-by: Ingo Schommer <me@chillu.com>
2020-11-13 13:50:44 +13:00
Steve Boyd
4e10bcfc51
ENH Disable option to create top-level pages based on permissions
2020-10-22 21:21:15 +13:00
Maxime Rainville
fd2184e7d1
Merge branch '4.6' into 4
2020-10-22 13:33:16 +13:00
Maxime Rainville
f9c26cefa3
BUG Fix parsing error on CMSSiteTreeFilter
2020-10-22 11:52:02 +13:00
Maxime Rainville
f4edd35989
Merge branch '4.5' into 4.6
2020-10-22 10:50:44 +13:00
brynwhyman
73460f9ee0
FIX remove old syntax from meta tag label
2020-10-13 09:38:03 +13:00
Mojmir Fendek
0fcda80f02
BUG: URL segment filter correction for CMS page search.
2020-10-06 08:37:22 +13:00
Guy Marriott
a8e8ed71c5
Merge pull request #2588 from creative-commoners/add-docs
...
Add docs to $enforce_strict_hierarchy
2020-10-04 17:20:42 -07:00
Robbie Averill
d17f058622
ENH Replace E_USER_ERROR errors with exceptions
2020-09-24 17:06:31 -07:00
bergice
3bf25681be
Add docs to $enforce_strict_hierarchy
2020-09-24 19:27:52 +12:00