Commit Graph

310 Commits

Author SHA1 Message Date
Guy Sartorelli
2faf391999
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-21 14:00:09 +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
Guy Sartorelli
4b3e1f09bf
ENH Don't use deprecated method (#3006) 2024-09-19 14:06:39 +12:00
Nicolaas @ Tappy @ Sunny Side Up
d8748ff5f9 FIX: return right order for getClassDropdown method 2024-09-15 17:06:28 +12:00
github-actions
ae89276432 Merge branch '5' into 6 2024-09-12 20:57:26 +00:00
github-actions
5ba2f640c5 Merge branch '5.2' into 5.3 2024-09-12 20:57:24 +00:00
Loz Calver
42f72f5b04 FIX: Remove legacy fields which prevent page publish (fixes #2455) 2024-09-12 09:22:10 +01:00
Annie Kyles
1dab090402
ENH Update default homepage content (#3001)
* name-update: Rename SilverStripe Silverstripe

* name-update: Create DEFAULTHOMECONTENT2 content

* name-update: Tweak copy

Co-authored-by: Steve Boyd <emteknetnz@gmail.com>

* name-update: Tweak copy 2

Co-authored-by: Steve Boyd <emteknetnz@gmail.com>

---------

Co-authored-by: Steve Boyd <emteknetnz@gmail.com>
2024-09-12 11:05:43 +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
Steve Boyd
2d158e9d77 Merge branch '5' into 6 2024-08-26 10:20:45 +12:00
Guy Sartorelli
fccdeb1757
API Remove CMSEditLink implementation, rely on superclass instead. (#2987) 2024-08-26 09:58:26 +12:00
Steve Boyd
5e3e847998 API Deprecate SiteTreeExtension 2024-08-20 14:12:43 +12:00
Guy Sartorelli
7cb813d45e
FIX Use canDelete, not the now-deleted canArchive (#2984) 2024-08-16 11:30:58 +12:00
github-actions
2c5612bd57 Merge branch '5' into 6 2024-08-15 03:14:30 +00:00
Guy Sartorelli
96ce092745
ENH Don't emit deprecation warnings for unavoidable API calls (#2985) 2024-08-15 13:59:25 +12:00
Guy Sartorelli
e58c388cb7
NEW Use autoscaffolding for SiteTree CMS fields (#2983) 2024-08-15 13:14:57 +12:00
Guy Sartorelli
4e974fe1e8
ENH Auto-scaffold SiteTree relations with tree fields (#2970) 2024-06-27 10:02:03 +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
Guy Sartorelli
c2191622a6
API Remove references to non-existent installation tool (#2961) 2024-06-13 14:46:28 +12:00
Guy Sartorelli
f9158a9dd8
API Match new method signature from framework (#2960) 2024-06-11 16:30:48 +12:00
Steve Boyd
beb05d3c21 API Set extension hook implementation visibility to protected 2024-05-20 16:58:12 +12:00
Guy Sartorelli
cb46fd8aac
MNT Run module-standardiser (#2919) 2024-02-02 13:58:01 +13:00
Guy Sartorelli
3847b3ea19
ENH Add generic types (#2914) 2024-01-19 10:00:46 +13: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
d5faa0158a Merge branch '5.1' into 5 2023-12-16 13:24:24 +00:00
Steve Boyd
fb5925b325 MNT Update @methods on class docblocks 2023-12-15 11:58:32 +13:00
Guy Sartorelli
c908f1da2b
Merge pull request #2906 from creative-commoners/pulls/5/selectorfield
ENH Use SearchableMultiDropdownField to select Members
2023-12-15 09:32:33 +13:00
Steve Boyd
3d94a0e3d0 ENH Use SearchableMultiDropdownField to select Members 2023-12-13 14:15:44 +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
github-actions
221b698c15 Merge branch '5.1' into 5 2023-11-11 13:24:07 +00:00
Steve Boyd
dd2bd61387 FIX Limit Member map to 100 2023-11-08 11:55:30 +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
58a2d58173 Merge branch '5.0' into 5.1 2023-09-23 13:23:32 +00:00
github-actions
7427f615de Merge branch '4' into 5.0 2023-09-23 13:23:31 +00:00
mirche97
5c06933986 Update code/Model/VirtualPage.php
Co-authored-by: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com>
2023-09-21 14:50:34 +02:00
mirche97
9edc46f53d Update code/Model/VirtualPage.php
Co-authored-by: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com>
2023-09-21 14:50:08 +02:00
mirche97
da115d9910 use AdminRootController::get_admin_route()
use AdminRootController::get_admin_route() instead of reading url_base directly from config
2023-09-21 14:49:56 +02:00
mirche97
c3e7a49904 fixed VirtualPage generating incorrect CMS edit links
VirtualPage  now uses AdminRootController config `url_base` to generate edit links
2023-09-21 14:49:38 +02: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
github-actions
0b3bbcd372 Merge branch '5.0' into 5 2023-08-19 13:23:56 +00:00