Commit Graph

6525 Commits

Author SHA1 Message Date
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
Guy Sartorelli
90e30994ec
Merge pull request #2879 from creative-commoners/pulls/4.13/deppage-non-sitetree-items
FIX SiteTree::DependentPages method returns non-SiteTree instance
2023-09-01 11:12:59 +12:00
Sabina Talipova
269eb5d70c FIX SiteTree::DependentPages method returns non-SiteTree instance 2023-08-31 15:29:01 +12:00
Guy Sartorelli
14037a776f
ENH Update translations (#2874) 2023-08-21 12:13:19 +12: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
Guy Sartorelli
7a17383e47
Merge pull request #2861 from creative-commoners/pulls/4.13/tx-1686724591
ENH Update translations
2023-06-15 10:06:31 +12:00
Steve Boyd
d9b6f7acad ENH Update translations 2023-06-14 18:36:31 +12:00
Sabina Talipova
79df11c89f
Merge pull request #2857 from creative-commoners/pulls/4.13/tx-1685417394
ENH Update translations
2023-05-31 11:27:26 +12:00
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