Commit Graph

6517 Commits

Author SHA1 Message Date
Steve Boyd
204ccd20b7 ENH Update translations 2023-05-30 15:29:54 +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
cd7fe60a33
Merge branch '4.12' into 4.13 2023-04-24 11:49:18 +12:00
Guy Sartorelli
241fa3e06e
Merge pull request #2845 from NightJar/pulls/4.12/undefined-index
FIX undefined index error in CMS
2023-03-31 10:35:46 +13: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
Maxime Rainville
873c697bae
Merge pull request #2844 from creative-commoners/pulls/4.13/fix-constraints
MNT Revert erroneous dependency changes
2023-03-28 16:51:23 +13:00
Guy Sartorelli
79dfc75192
MNT Revert erroneous dependency changes 2023-03-28 14:40:40 +13:00
Guy Sartorelli
7cf402dace
MNT Update development dependencies 2023-03-10 16:30:40 +13:00
Guy Sartorelli
e607d78035
MNT Update release dependencies 2023-03-10 16:30:36 +13:00
Guy Sartorelli
8b574c81c7
MNT Update development dependencies 2023-03-10 12:21:27 +13:00
Guy Sartorelli
3b9d0692d1
Merge pull request #2841 from creative-commoners/pulls/4/tx-1678079726
ENH Update translations
2023-03-08 10:25:11 +13:00
Steve Boyd
d0f3a6b9ec ENH Update translations 2023-03-06 18:15:26 +13:00
Guy Sartorelli
458981b604
Merge pull request #2840 from creative-commoners/pulls/4/mark-deprecated-classes
API Mark moved classes in silverstripe-admin module as deprecated
2023-03-02 14:43:39 +13:00
Sabina Talipova
9ed5aa8b49 API Mark moved classes in silverstripe-admin module as deprecated 2023-03-02 14:23:30 +13:00
Steve Boyd
9269356ae9 Merge branch '4.12' into 4 2023-02-02 16:09:14 +13:00
Maxime Rainville
c26eed20a4
Merge pull request #2827 from creative-commoners/pulls/4/broken-builds-cms4
MNT Update unit test to work with both HTML4Value and HTML5Value
2023-01-26 17:03:24 +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
5316767ecd
Merge pull request #2819 from creative-commoners/pulls/4/deprecate-legacy-tasks
API Deprecate legacy tasks
2023-01-17 23:45:56 +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
9907209a07
Merge pull request #2815 from creative-commoners/pulls/4.12/behat
FIX Behat test
2023-01-12 17:08:20 +13:00
Steve Boyd
9811579203 FIX Behat test 2023-01-12 13:55:37 +13:00
Guy Sartorelli
b6737962df
Merge pull request #2808 from creative-commoners/pulls/4.12/invalid-extra-meta
MNT Update unit test to detect invalid HTML
2022-12-20 17:58:47 +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
Guy Sartorelli
0b6ee121e3
Merge branch '4.12-release' into 4.12 2022-12-19 01:42:13 +00:00
Sabina Talipova
495e453dce
Merge pull request #2799 from creative-commoners/pulls/4/stop-using-depr
API Stop using deprecated API
2022-12-05 16:34:34 +13:00
Steve Boyd
20467b3846 API Stop using deprecated API 2022-11-24 13:03:26 +13:00
Steve Boyd
4c3bd3713d Merge branch '4.11' into 4.12-release 2022-11-21 13:53:57 +13:00
Guy Sartorelli
8526067c73
Merge pull request #2798 from creative-commoners/pulls/4.11/cve-2022-37421
Sanitise ExtraMeta field for XSS
2022-11-21 12:57:59 +13:00
Sabina Talipova
113f4e9dfb
Merge pull request #2794 from creative-commoners/pulls/4/stop-depr
API Stop using deprecated API
2022-11-16 16:13:08 +13:00
Steve Boyd
e64bfdb394 API Stop using deprecated API 2022-11-16 15:39:13 +13:00
Guy Sartorelli
5cc41057d0
Update translations 2022-11-10 01:56:20 +00:00
Guy Sartorelli
7a7c751f7c
FIX Don't use deprecated jQuery functions (#2792) 2022-11-01 17:27:27 +13:00
Guy Sartorelli
d0f49d1db7
Merge pull request #2791 from creative-commoners/pulls/4/deprecated
API Update deprecations
2022-10-25 12:29:58 +13:00
Steve Boyd
e63774061d FIX Call parent::contruct() 2022-10-18 16:35:11 +13:00
Steve Boyd
55b17c920c API Update deprecations 2022-10-18 15:23:59 +13:00
Steve Boyd
ea92339d8d ENH Update deprecation messages 2022-10-18 15:17:19 +13:00
Guy Sartorelli
efe08580f2
Merge branch '4.11' into 4 2022-10-13 11:13:46 +13:00
Guy Sartorelli
6acaaf9130
Merge pull request #2787 from TheBnl/patch-1
Reset ExtraClass on ViewModeSelector include
2022-10-11 13:17:32 +13:00
Bram de Leeuw
9ca4895f79 Reset ExtraClass on ViewModeSelector include
Since silverstripe/silverstripe-admin version 1.11 the include `SilverStripe\\Admin\\LeftAndMain_ViewModeSelector` uses an [ExtraClass parameter](6d1998707d/templates/SilverStripe/Admin/Includes/LeftAndMain_ViewModeSelector.ss (L1)). When this parameter is not explicitly set it inherits the ExtraClass of the template it's included in. In CMSMain this causes the ViewMode button to stretch.
2022-10-08 12:00:28 +02:00
Steve Boyd
d162fab123
[CVE-2022-37421] Sanitise ExtraMeta field for XSS 2022-10-03 12:55:04 +13:00
Guy Sartorelli
1f360c9c26
ENH Use the new CMSEditLinkExtension on SiteTree (#2778) 2022-09-30 15:10:49 +13:00
Guy Sartorelli
5acf028b59
Merge pull request #2777 from creative-commoners/pulls/4/review-behat-tests
ENH Replace ADMIN permissions with less permissions in Behat test
2022-09-13 10:18:46 +12:00
Sabina Talipova
19e9dc4920 ENH Replace ADMIN permissions with less permissions in Behat test 2022-09-09 11:23:44 +12:00
Guy Sartorelli
2b8bee7970
ENH Don't use deprecated method doRevertTo() (#2775) 2022-09-02 10:56:28 +12:00
Steve Boyd
f51d4f0aeb
Merge pull request #2765 from creative-commoners/pulls/4/rescue-master-no-dopublish
FIX Use publishRecursive() over doPublish()
2022-08-25 09:58:46 +12:00
Robbie Averill
79f3fd723d
FIX Use publishRecursive() over doPublish()
doPublish() is deprecated.
2022-08-24 16:08:45 +12:00
Steve Boyd
a7eccffe8c Merge branch '4.11' into 4 2022-08-02 18:45:57 +12:00