Commit Graph

2983 Commits

Author SHA1 Message Date
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
github-actions 461cab09a0 Merge branch '4' into 5.0 2023-08-19 13:23:55 +00:00
Thomas Portelange 3295dd5062
Don't make query if not needed (#2863)
* Don't make query if not needed

See https://github.com/silverstripe/silverstripe-assets/issues/557 for background

* add comment
2023-08-19 00:42:21 +12:00
Thomas Portelange c455a8288f
drop duplicated call
already called due to init being called in the extension by leftandmain
2023-07-28 08:25:46 +02:00
Andrew Paxley 14eb767c9c ENH update SiteTree permissions in CMS 2023-07-06 17:59:36 +12:00
Steve Boyd 984cf404f4 Merge branch '4' into 5.0 2023-05-31 11:26:36 +12:00
Steve Boyd 4f963bef5b Merge branch '4.12' into 4.13 2023-05-08 12:56:33 +12:00
Guy Sartorelli 55eabd6694
FIX Don't require jquery on the frontend (#2854) 2023-05-08 12:53:10 +12:00
Guy Sartorelli ca837d6ccd
Merge branch '4' into 5.0 2023-04-27 14:44:59 +12:00
Guy Sartorelli cd7fe60a33
Merge branch '4.12' into 4.13 2023-04-24 11:49:18 +12:00
Dylan Wagstaff e20036482b FIX undefined index error in CMS
With the CMS 4.12 update functionality was altered to utilise an
Extension to obtain the CMS Edit link for a page, rather than having
SiteTree do it internally. Unfortunately the default return case for
`extend` (see Extensible) is an _empty_ array. This leave code
potentially referencing an array offset that doesn't exist ([0]). PHP 8
is less forgiving that it's predecessors on this kind of behaviour. We
should check that the responses from extensions exist before trying to
reference them.
2023-03-28 18:58:55 +13:00
Sabina Talipova 9ed5aa8b49 API Mark moved classes in silverstripe-admin module as deprecated 2023-03-02 14:23:30 +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
Guy Sartorelli 9bb6f700b4
Merge pull request #2820 from creative-commoners/pulls/5/remove-translatable
ENH Remove unused Translatable code
2023-01-19 09:05:03 +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
Steve Boyd b57d557bc7 ENH Remove unused Translatable code 2023-01-18 14:07:39 +13:00
Maxime Rainville 97fdff4bb2
API Remove deprecated CMSMain::$subitem_class config (#2821) 2023-01-18 11:06:45 +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
Maxime Rainville b0fec1886b
API Remove pointless subitem_class config (#2817) 2023-01-16 23:50:59 +13:00
Guy Sartorelli d90f27da64
Merge branch '4.12' into 4 2022-12-19 01:42:17 +00:00
Steve Boyd 605daf5026 FIX Cast absoluteUrl() argument to string 2022-12-09 10:02:43 +13:00
Sabina Talipova 0e5428b78b
API Remove deprecated code (#2800) 2022-12-08 10:44:36 +13:00