Commit Graph

6599 Commits

Author SHA1 Message Date
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
Sabina Talipova
ea9ce63438
Merge pull request #2779 from creative-commoners/pulls/5/previewable-via-extension
ENH Records can be made previewable via an extension
2022-10-07 13:34:19 +13:00
Guy Sartorelli
6ff98c4201
ENH Records can be made previewable via an extension 2022-10-06 15:51:30 +13:00
Sabina Talipova
e5cea70b54
Merge pull request #2761 from creative-commoners/pulls/5/migrate-preview-bits
API Migrate SilverStripeNagivator classes
2022-10-06 13:46:38 +13:00
Guy Sartorelli
d7857ebbe0
API Migrate SilverStripeNagivator classes
These classes are useful with `silverstripe/admin` and
`silverstripe/versioned` without needing `silverstripe/cms`.
2022-10-05 14:24:11 +13:00
Steve Boyd
d162fab123
[CVE-2022-37421] Sanitise ExtraMeta field for XSS 2022-10-03 12:55:04 +13:00
Sabina Talipova
390f078551
Merge pull request #2781 from creative-commoners/pulls/5/tinymce6
FIX Fix link plugins to support tinymce6
2022-10-03 12:10:14 +13:00
Guy Sartorelli
bedd64554f
FIX Use correct tinymce selection logic 2022-09-30 18:26:13 +13:00
Guy Sartorelli
7368df8757
FIX Fix link plugins to support tinymce6 2022-09-30 15:27:38 +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
d56682509c
Merge branch '4' into 5 2022-09-02 11:01:22 +12:00
Guy Sartorelli
2b8bee7970
ENH Don't use deprecated method doRevertTo() (#2775) 2022-09-02 10:56:28 +12:00
Steve Boyd
aa4ba82f38
Merge pull request #2769 from creative-commoners/pulls/5/rescue-master-remove-history-viewer
API Rescue Master Branch PR: Remove deprecated CMSPageHistoryViewer
2022-09-01 14:50:58 +12:00
Guy Sartorelli
f2c4423d0c
Merge branch '4' into 5 2022-08-31 13:56:26 +12:00
Florian Thoma
1711c0c88e
API Move updateRelativeLink hook after concatination (#2770)
* move updateRelativeLink hook after concatination to make it actually updatable

* keep existing parameters the same

* revert to link parameter be first

* update updateRelativeLink method signature in SiteTreeExtension

* don't pass old parameters by reference
2022-08-31 12:33:05 +12:00
Guy Sartorelli
adcea213a2
ENH Remove css for CMSPageHistoryController. 2022-08-30 11:14:51 +12:00
Steve Boyd
f9a19e7429
Merge pull request #2768 from creative-commoners/pulls/5/rescue-master-canberoot-check
Rescue Master Branch PR: FIX Don't offer to restore to root if can_be_root is false
2022-08-29 18:07:56 +12:00
Guy Sartorelli
803b4add7b
FIX Resolve CI failure 2022-08-25 16:18:07 +12:00
Aaron Carlino
cda7857e12
API: Remove deprecated CMSPageHistoryViewer 2022-08-25 16:18:01 +12:00
Mike Cochrane
b46876b8a8
FIX Don't offer to restore to root if can_be_root is false 2022-08-25 14:18:50 +12:00
Steve Boyd
c130b55ecb
Merge pull request #2766 from creative-commoners/pulls/5/rescue-master-sitetree-not-page
Rescue Master Branch PR: MNT Use SiteTree instead of Page in tests
2022-08-25 11:47:14 +12:00
Mike Cochrane
2219899c10
MNT Use SiteTree instead of Page in tests 2022-08-25 10:17:41 +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
Guy Sartorelli
859ff00184
Merge pull request #2763 from creative-commoners/pulls/5/other-deps
DEP Update dependencies for CMS 5
2022-08-10 11:14:52 +12:00
Steve Boyd
7381de15e8 DEP Update dependencies for CMS 5 2022-08-09 17:24:39 +12:00
Guy Sartorelli
e580527111
Merge pull request #2759 from creative-commoners/pulls/5/major-deps
DEP Update core dependencies for CMS 5
2022-08-09 09:41:32 +12:00
Steve Boyd
72f8e5f71d DEP Update core dependencies for CMS 5 2022-08-04 17:36:54 +12:00
Steve Boyd
a7eccffe8c Merge branch '4.11' into 4 2022-08-02 18:45:57 +12:00
Steve Boyd
c4f55581e2 Merge branch '4.10' into 4.11 2022-08-02 18:45:53 +12:00
Guy Sartorelli
d320e44b8c
Merge pull request #2758 from creative-commoners/pulls/4.10/standardise-modules
MNT Standardise modules
2022-08-02 14:54:41 +12:00
Steve Boyd
5cabb11edb MNT Standardise modules 2022-08-01 10:04:24 +12:00
Guy Sartorelli
a4f3323c3c
Merge pull request #2757 from creative-commoners/pulls/4/update-js
MNT Use update-js action
2022-07-29 18:09:00 +12:00
Steve Boyd
aa04bd7a6e MNT Use update-js action 2022-07-29 12:40:35 +12:00
Steve Boyd
4e103143bf Merge branch '4.11' into 4 2022-07-25 09:58:49 +12:00
Steve Boyd
a2907dc851 Merge branch '4.10' into 4.11 2022-07-25 09:58:45 +12:00
Guy Sartorelli
c6257b906b
Merge pull request #2745 from creative-commoners/pulls/4.10/module-standards
MNT Use GitHub Actions CI
2022-07-15 14:43:14 +12:00
Steve Boyd
1f58414e65 MNT Use GitHub Actions CI 2022-07-15 14:07:19 +12:00
Guy Sartorelli
de8d7632c2
Merge pull request #2746 from mooror/enhance-batch-action-parameters
CMSMain - Fixed and enhanced BatchActionParameters
2022-07-12 15:36:53 +12:00
Guy Sartorelli
ff1c529898 Merge branch '4.11' into 4 2022-07-11 11:33:02 +12:00
Loz Calver
aee45aaef8
Merge pull request #2748 from creative-commoners/pulls/4.11/hide-redirector-file
FIX Hide uploadfield in redirector page by default
2022-07-08 09:16:52 +01:00
Guy Sartorelli
4d679ab4db FIX Hide uploadfield in redirector page by default 2022-07-08 13:58:47 +12:00
Benjamin
aca0defe16 BatchActionsExtension - Added blank end line 2022-07-07 12:46:22 -06:00
Benjamin Blake
fa1c6ae3db Created a batch action extension for LeftAndMain
+ Created an extension to add the `BatchActionParameters` fields from CMSMain to the `BatchActionsForm` in LeftAndMain
+ Applied the extension to LeftAndMain using YAML
2022-07-06 22:49:24 -06:00
Benjamin Blake
35d12228d0 CMSMain - Added HTML class attribute for styling
+ Added an `action-parameters` class to the BatchActionParameters field so we can style it without using ID selectors
2022-07-06 22:45:50 -06:00
Michal Kleiner
6bd3618f09
Fix CS 2022-07-07 10:32:19 +12:00
Benjamin Blake
654fa5a681 CMSMain - Linting changes + Added Docblock
+ Made the linting changes requested by @GuySartorelli
+ Added method documentation for BatchActionParameters()
2022-07-05 20:11:20 -06:00