Commit Graph

6553 Commits

Author SHA1 Message Date
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
Benjamin Blake 81593057de CMSMain - Fixed and enhanced BatchActionParameters
+ Fixed the $batchActions variable by making it use the `registeredActions()` method
+ Made the loop use `FieldHolder` instead of `Field` so CMS fields display correctly
+ Added hidden styles to the batch action div for jQuery show/hide functionality (found in Admin module PR)
2022-07-04 22:14:53 -06:00
Sabina Talipova d304ba9963
Merge pull request #2742 from creative-commoners/pulls/4/get-unsaved-anchors-in-current-field
Works as expected in local environment. Tests passed. MERGE
2022-06-14 09:59:30 +12:00
Guy Sartorelli ead1d2f02b FIX Always include unsaved anchors from the current WYSIWYG field 2022-06-13 11:17:38 +12:00
Sabina Talipova 77b5bfa497
Merge pull request #2741 from creative-commoners/pulls/4/allow-anchors-from-all-sources
I've done the tests in my local env. Works perfect.
2022-06-02 14:03:06 +12:00
Guy Sartorelli 845f0b3aa1 ENH Always load anchors for links on the current page.
Anchors can come from additional WYSIWYG fields included inside
associated DataObjects. Don't assume all anchor links on the page are in
this one field.
2022-05-25 17:45:11 +12:00
Guy Sartorelli 740a37f411 Merge remote-tracking branch 'origin/4.11' into 4 2022-05-13 11:21:39 +12:00
Sabina Talipova 1897cb3360
Merge pull request #2737 from creative-commoners/pulls/4.11/allow-empty-preview-urls
Issue was fixed
2022-05-11 14:45:34 +12:00
Guy Sartorelli 83104da329 FIX Ensure unstaged versioned objects can be previewed. 2022-05-11 13:58:47 +12:00
Steve Boyd f596a77efa Merge branch '4.11' into 4 2022-05-10 21:54:32 +12:00
Guy Sartorelli 3a990c95f5 MNT Correct test SilverStripeNavigatorItems. 2022-05-06 14:38:00 +12:00
Guy Sartorelli c02549cf30 FIX Allow empty PreviewURLs for CMSPreviewable objects
An empty PreviewURL will result in the "no preview available" message
displaying instead of a 404 error.
2022-05-06 14:37:35 +12:00
Steve Boyd f72f5dc08c Update translations 2022-05-04 13:29:41 +12:00
dependabot[bot] 1acc397af7
Merge pull request #2734 from silverstripe/dependabot/npm_and_yarn/async-2.6.4 2022-05-03 09:51:45 +00:00
dependabot[bot] 4419f1ff15
Bump async from 2.6.3 to 2.6.4
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-28 19:40:38 +00:00
Steve Boyd 1563ab3fcf Merge branch '4.10' into 4 2022-04-26 15:22:21 +12:00
Guy Sartorelli bb158e4f2e
Merge pull request #2730 from creative-commoners/pulls/4/php81
ENH PHP 8.1 compatibility
2022-04-22 16:18:11 +12:00
Michal Kleiner 87c3ee6268
Merge pull request #2732 from creative-commoners/pulls/4.10/translate-page-names
FIX Translate pagetype names in list view
2022-04-19 21:54:29 +12:00
Guy Sartorelli 4e757759ec FIX Translate pagetype names in list view 2022-04-19 16:04:20 +12:00
Guy Sartorelli 5840285d43
Merge pull request #2488 from andrewandante/FEAT/ground_control_to_pager_tom
FEATURE add config var for namespace mapping page->control
2022-04-14 16:02:20 +12:00
Steve Boyd 1b0b2154b4 ENH PHP 8.1 compatibility 2022-04-13 17:07:59 +12:00
Guy Sartorelli 13c1ae487f
Merge pull request #2731 from creative-commoners/pulls/4/p81fix
ENH Various fixes for PHP 8.1 compatibility
2022-04-13 16:10:56 +12:00
Andrew Aitken-Fincham 863ed24920 add config var for namespace mapping page->control, add test to confirm 2022-04-13 12:05:13 +12:00
Guy Sartorelli 3b980c40c6
Merge pull request #2639 from wilr/pulls/file-redirect
NEW Add ability to redirect to a file on the website
2022-04-12 13:11:24 +12:00
Will Rossiter ee69d75904
NEW add ability to redirect to a file on the website 2022-04-12 12:42:58 +12:00
Steve Boyd 6bea5778d7 ENH Various fixes for PHP 8.1 compatibility 2022-04-08 12:38:38 +12:00
Steve Boyd cc43326de6 Merge branch '4.10' into 4 2022-04-06 10:33:36 +12:00
Daniel Hensby 3ef3a93fb7
Merge pull request #2726 from 3Dgoo/patch-1
FIX Ensure search form start var is not a negative number
2022-03-29 13:09:45 +01:00
3Dgoo ceeed65465
Ensure start var is not a negative number 2022-03-29 10:06:46 +01:00
Maxime Rainville 6f24df9299
Merge pull request #2724 from creative-commoners/pulls/4/eslint
DEP Update eslint-config
2022-03-25 15:58:02 +13:00
Maxime Rainville ae8c3a3542
Merge pull request #2725 from creative-commoners/pulls/4/update-js-deps
MNT Add update JS deps workflow
2022-03-23 16:09:04 +13:00
Steve Boyd dfa89e5342 MNT Add update JS deps workflow 2022-03-22 12:06:30 +13:00
Steve Boyd c745b7ce61 DEP Update eslint-config 2022-03-11 13:47:04 +13:00
Steve Boyd 3b62336180
NEW Include version number in meta generator tag (#2721) 2022-03-09 14:48:02 +13:00
Michal Kleiner 07df04f3c4
Merge pull request #2720 from signify-nz/enh/gridfieldcomponents-di
ENH Prefer dependency injection for GridFieldComponents
2022-02-12 22:12:26 +13:00
Guy Sartorelli b4e3a08b8a ENH Prefer dependency injection for GridFieldComponents
GridFieldComponents packaged with silverstripe/framework are injectable as of 4.11.0
Explicitly invoking the injector here instead of using `create()` allows backwards compatability with framework < 4.11.0 while ensuring dependency injection is still used from 4.11.0 onwards.
2022-02-12 18:48:17 +13:00
Daniel Hensby 367b9c9bf2
Merge pull request #2719 from creative-commoners/pulls/4/php74
DEP Set PHP 7.4 as the minimum version
2022-02-10 12:05:40 +00:00
Steve Boyd 3321f38615 DEP Set PHP 7.4 as the minimum version 2022-02-10 15:50:12 +13:00
GuySartorelli 86d27daa91
DOC Change "SilverStripe" to "Silverstripe" in readme (#2716) 2022-02-02 10:17:20 +13:00
Steve Boyd 6ab92e8f74 Merge branch '4.10' into 4 2022-02-01 13:58:32 +13:00
Steve Boyd 101b17f16e Merge branch '4.9' into 4.10 2022-02-01 13:58:00 +13:00
GuySartorelli 803f19b3a4
NEW Add preview state for non-versioned DataObjects. (#2692)
Currently only Versioned DataObjects are enabled for the CMS preview.
Without a navigator item, non-versioned DataObjects aren't allowed to
display in the preview panel even if they implement CMSPreviewable.
2022-01-31 14:28:02 +13:00
Steve Boyd f824e9f654
DEP Pin colors to 1.1.2 (#2715) 2022-01-27 11:18:47 +13:00
Steve Boyd ab22108c85 Merge branch '4.10' into 4 2022-01-27 09:43:54 +13:00
Loz Calver ca086142b4
Merge pull request #2717 from xini/fix-visibility-field
FIX SiteTree visibility field name
2022-01-25 09:16:28 +00:00
Florian Thoma b539924550 FIX SiteTree visibility field name 2022-01-25 11:49:11 +11:00
Sergey Shevchenko 0db24fc038
FIX SiteTree::getCMSActions unpublish action (#2703)
* TEST SiteTree::getCMSAction produces valid actions

* FIX Fix invalid SiteTree unpublish action declaration

* refactor: moved new functions to conform with existing naming conventions

see https://github.com/silverstripe/silverstripe-cms/pull/2703#discussion_r789208512
2022-01-21 13:27:02 +13:00