Commit Graph

895 Commits

Author SHA1 Message Date
Guy Sartorelli
91cfcb8229
API Make CMSMain more generic
Remove hardcoded references to pages and SiteTree
Remove assumption that records are versioned
Remove or validate assumptions about methods on the model class
Improve general architecture of CMSMain
2024-10-17 16:40:06 +13:00
Guy Sartorelli
bd48b04731
ENH Use symfony/validation logic (#3009) 2024-10-02 18:39:01 +13:00
Guy Sartorelli
b985f052cf
Merge branch '5' into 6 2024-09-24 14:04:46 +12:00
Guy Sartorelli
dca4404f0f
API Use new names for renamed classes (#3003) 2024-09-23 14:37:02 +12:00
Steve Boyd
36686f7a26 DEP Use PHPUnit 11 2024-09-18 11:38:27 +12:00
Nicolaas @ Tappy @ Sunny Side Up
d8748ff5f9 FIX: return right order for getClassDropdown method 2024-09-15 17:06:28 +12:00
Steve Boyd
1509fb9238 API Remove GraphQL 2024-08-30 12:02:03 +12:00
Steve Boyd
344a7c548d API Replace Extension subclasses 2024-08-29 13:54:17 +12:00
Guy Sartorelli
b40269c3c8
API Strong typing for the view layer (#2994) 2024-08-28 10:54:32 +12:00
Guy Sartorelli
48c64e310b
API Standardise extension hooks (#2989) 2024-08-27 15:39:17 +12:00
Guy Sartorelli
fccdeb1757
API Remove CMSEditLink implementation, rely on superclass instead. (#2987) 2024-08-26 09:58:26 +12:00
github-actions
49786391c0 Merge branch '5' into 6 2024-07-28 05:29:52 +00:00
github-actions
6993bb1aae Merge branch '5.2' into 5 2024-07-28 05:29:51 +00:00
Maxime Rainville
907234511e
FIX Don't double up the breadcrumb on list views 2024-07-24 21:31:53 +12:00
github-actions
b2032a6e9e Merge branch '5' into 6 2024-07-21 05:29:44 +00:00
github-actions
a282afcf5d Merge branch '5.2' into 5 2024-07-21 05:29:42 +00:00
Steve Boyd
1b7d21b3fd MNT Split behat jobs 2024-07-16 12:04:04 +12:00
github-actions
4911ddd49f Merge branch '5' into 6 2024-07-07 05:30:11 +00:00
Maxime Rainville
7e10f29817
MNT Tweak behat test to look for tag with specific attribute itstead of looking for a specifc string in the HTML (#2971) 2024-07-01 10:36:41 +12:00
Guy Sartorelli
0eccb06623
Merge branch '5' into 6
# Conflicts:
#	code/Model/SiteTree.php
2024-06-20 14:26:19 +12:00
github-actions
437b6d9a13 Merge branch '5.2' into 5 2024-06-19 23:45:52 +00:00
Steve Boyd
ea38c43ea5 ENH Use class name instead of self 2024-06-17 14:51:54 +12:00
github-actions
2979abf92e Merge branch '5' into 6 2024-06-11 03:31:06 +00:00
github-actions
4c8c5008be Merge branch '5.2' into 5 2024-06-11 03:31:04 +00:00
Steve Boyd
e134b1116f MNT Fix siteconfig behat test running on kitchen-sink 2024-06-11 10:22:41 +12:00
Steve Boyd
beb05d3c21 API Set extension hook implementation visibility to protected 2024-05-20 16:58:12 +12:00
Steve Boyd
ef27e9954c FIX Remove deprecated restore batch action 2024-05-10 11:45:25 +12:00
Guy Sartorelli
117dc25dc9
Merge branch '5.2' into 5 2024-05-06 15:08:32 +12:00
Steve Boyd
6bd33e83f6 MNT Update behat test 2024-05-01 19:03:21 +12:00
Sabina Talipova
e37933f30e
MNT Additional test cases for TreeDropDownField (#2931) 2024-04-30 18:53:28 +12:00
Marco Hermo
a5d2b3bb32
NEW Return 404 when redirector page wants to link to missing page (#2663) 2024-01-09 11:42:33 +13:00
github-actions
d3959630c8 Merge branch '5.1' into 5 2023-12-09 13:24:12 +00:00
Steve Boyd
7027d654d2 MNT Fix unit test 2023-12-06 11:58:34 +13:00
github-actions
1f1b64f890 Merge branch '5.1' into 5 2023-11-27 21:11:35 +00:00
Guy Sartorelli
04a0c928b3
Merge branch '4' into 5.1 2023-11-28 10:11:06 +13:00
Will Rossiter
579986a691
FIX Handle exceptions when using /0 as a URL (#2825) 2023-11-20 09:49:44 +13:00
Guy Sartorelli
e826152fd1
API Add new SiteTree.hide_pagetypes configuration
Allows clearly defining all pagetypes that should be hidden in a single
place, instead of having to spread them out across different pagetypes
with MyPage.hide_ancestor
2023-11-02 15:51:51 +13:00
Sabina Talipova
c1eaaaabfa MNT Remove TODO comments 2023-10-19 16:22:38 +13:00
github-actions
1e7bba1dd3 Merge branch '5.0' into 5.1 2023-09-17 23:33:00 +00:00
Guy Sartorelli
6259ca30ad
Merge branch '4' into 5.0
# Conflicts:
#	client/dist/js/TinyMCE_sslink-anchor.js
#	client/dist/js/TinyMCE_sslink-internal.js
#	composer.json
#	tests/behat/features/insert-a-link.feature
#	tests/behat/features/insert-anchor-link.feature
2023-09-18 11:10:29 +12:00
Guy Sartorelli
4a92f5eb64
FIX Allow wrapping an image in a link (#2884) 2023-09-11 12:33:00 +12:00
Guy Sartorelli
ba578cfc06
FIX Allow wrapping an image in a link (#2883)
Relies on logic added to silverstripe/admin, so we need to bump the
constraint as well.

Behat test requires new logic added to the behat-extension module.
2023-09-07 10:24:09 +12:00
Steve Boyd
332898f3ed Merge branch '5.0' into 5.1 2023-09-05 15:19:54 +12:00
Steve Boyd
7e42058206 Merge branch '4' into 5.0 2023-09-05 15:19:35 +12:00
Sabina Talipova
269eb5d70c FIX SiteTree::DependentPages method returns non-SiteTree instance 2023-08-31 15:29:01 +12:00
Sabina Talipova
39fe63db8a
FIX Duplicate page keeps original pages canView and canEdit permission (#2859) 2023-06-12 13:29:18 +12:00
Sabina Talipova
93f57d2300 FIX Replace Diff class with HtmlDiff 2023-02-09 10:32:25 +13:00
Steve Boyd
222972c687 Merge branch '4' into 5 2023-02-02 16:34:19 +13:00
Steve Boyd
9269356ae9 Merge branch '4.12' into 4 2023-02-02 16:09:14 +13:00
Guy Sartorelli
b02beba7ba
Resolve a couple of behat issues (#2830)
* FIX Correctly add message to reactstrap-confirm

* MNT Fix behat tests
2023-01-30 10:32:26 +13:00