Commit Graph

172 Commits

Author SHA1 Message Date
Guy Sartorelli
47dbda8381
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:01:33 +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
Maxime Rainville
907234511e
FIX Don't double up the breadcrumb on list views 2024-07-24 21:31:53 +12:00
Guy Sartorelli
0eccb06623
Merge branch '5' into 6
# Conflicts:
#	code/Model/SiteTree.php
2024-06-20 14:26:19 +12:00
Steve Boyd
ea38c43ea5 ENH Use class name instead of self 2024-06-17 14:51:54 +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
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
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
9269356ae9 Merge branch '4.12' into 4 2023-02-02 16:09:14 +13:00
Steve Boyd
b5a25e49f6 MNT Update unit test to work with both HTML4Value and HTML5Value 2023-01-26 15:23:46 +13:00
Maxime Rainville
081eea42c5
Merge pull request #2824 from creative-commoners/pulls/5/remove-legacy-upgrader
MNT Remove legacy upgrader config
2023-01-23 10:36:04 +13:00
Steve Boyd
30685c9227 MNT Remove legacy upgrader config 2023-01-20 17:13:11 +13:00
Guy Sartorelli
37af732dbf
Merge pull request #2771 from xini/fix-5-remove-trailing-slash-from-sitetree-links
SS5: Remove trailing slash from SiteTree links if no action present
2023-01-20 15:46:39 +13:00
Florian Thoma
18cb6d499d
API Normalise trailing slashes in links 2023-01-20 15:08:37 +13:00
Steve Boyd
f362d8b129 MNT Broken builds 2023-01-19 16:54:57 +13:00
Maxime Rainville
69fabe9a34
Merge pull request #2818 from creative-commoners/pulls/5/remove-legacy-tasks
API Remove legacy tasks
2023-01-18 14:22:01 +13:00
Maxime Rainville
50cefa6d14 Merge branch '4' into 5 2023-01-17 22:35:51 +13:00
Steve Boyd
1bd578fc96 API Remove legacy tasks 2023-01-17 12:31:51 +13:00
Steve Boyd
75eae7f2bf API Deprecate legacy tasks 2023-01-17 12:26:42 +13:00
Steve Boyd
4a5e22cc60 MNT Update unit test to handle HTML5Value 2022-12-20 14:41:32 +13:00
Guy Sartorelli
d90f27da64
Merge branch '4.12' into 4 2022-12-19 01:42:17 +00:00
Sabina Talipova
0e5428b78b
API Remove deprecated code (#2800) 2022-12-08 10:44:36 +13:00
Guy Sartorelli
911a71d6f6
Merge branch '4' into '5' 2022-11-21 18:07:57 +13:00
Guy Sartorelli
003f9ba750
Revert "Merge branch '4' into 5"
This reverts commit 2d10a624b3, reversing
changes made to af1a482d20.
2022-11-21 17:11:42 +13:00
Sabina Talipova
2d10a624b3 Merge branch '4' into 5 2022-11-21 16:59:42 +13:00
Steve Boyd
4c3bd3713d Merge branch '4.11' into 4.12-release 2022-11-21 13:53:57 +13:00
Steve Boyd
e64bfdb394 API Stop using deprecated API 2022-11-16 15:39:13 +13:00
Guy Sartorelli
8320023526
Merge pull request #2788 from creative-commoners/pulls/5/action-signature
API Strongly-type action method signatures
2022-10-19 10:08:22 +13:00