Commit Graph

90 Commits

Author SHA1 Message Date
Aaron Carlino
cda7857e12
API: Remove deprecated CMSPageHistoryViewer 2022-08-25 16:18:01 +12:00
Guy Sartorelli
ff1c529898 Merge branch '4.11' into 4 2022-07-11 11:33:02 +12:00
Guy Sartorelli
4d679ab4db FIX Hide uploadfield in redirector page by default 2022-07-08 13:58:47 +12:00
Guy Sartorelli
ead1d2f02b FIX Always include unsaved anchors from the current WYSIWYG field 2022-06-13 11:17:38 +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
Will Rossiter
ee69d75904
NEW add ability to redirect to a file on the website 2022-04-12 12:42:58 +12:00
bergice
0ace2968b3 Fixes pages not being scrolled to on treeview 2020-11-18 11:37:46 +13:00
Maxime Rainville
fff806ca33 BUG Prevent Treeview from always reloading 2020-05-01 10:44:26 +12:00
Garion Herman
9750538a5a FIX Update URLSegment field on enter key, rather than saving page 2020-01-24 12:35:21 +13:00
bergice
82a76b9300 Fix alert showing for unrelated elements
Resolves https://github.com/silverstripe/silverstripe-userforms/issues/920
2020-01-22 13:15:16 +13:00
bergice
644376272c Add warnings when trying to remove the homepage
Warnings are triggered when:
* Changing the URL Segment
* Unpublishing
* Unpublishing & Archiving
* Moving the homepage to another parent in the tree view

Also add `SiteTree->isHomePage()`
2019-08-29 17:38:56 +12:00
Maxime Rainville
4960cc3542 FIX Set better order for insert link menu 2019-08-21 09:29:20 +12:00
Dylan
8ba444332a FIX pull up anchors that have been added for linking to
When editing a page an author may insert anchors into their content (via
TinyMCE), and wish to link to those anchors from another point in that
page. E.g. creating a table of contents, a "jump to top" link at the
base of the content, etc.

Previously this required the page to first be saved as a draft, then
reloaded before the anchors would show in the list to link to. Now they
are dynamically pulled from the content entered for a more fluid editing
experience.
2019-08-15 19:26:37 +12:00
Robbie Averill
6a788ca9ed Merge branch '4.3' into 4.4 2019-07-19 11:50:29 +02:00
Robbie Averill
8ccd7f2b6f Merge branch '4.2' into 4.3 2019-07-19 11:47:25 +02:00
Mikaela Young
73f4e8c860 FIX: Change sitetree new page column class naming to avoid conflicts with bootstrap 2019-06-19 16:57:22 +12:00
Garion Herman
5759950ade FIX Keep New Page type selection if still allowed when changing parent 2019-06-14 11:18:38 +12:00
Sacha Judd
a0aaf050d4 FIX Deprecate creatableChildren and add new function to support font-icon classes for allowedChildren 2019-02-25 17:00:47 +13:00
Aaron Carlino
b83d818e0a Merge branch '4.2' into 4.3 2018-12-11 17:07:55 +13:00
Robbie Averill
6a716b1906 FIX Show loading indicator when performing secondary CMS actions
E.g. rollback, archive, cancel draft changes. This adds a loading indicator after
clicking on one of these actions in the CMS.
2018-12-07 16:44:02 +00:00
Luke Edwards
d9b1721ac3 BUG: Fix duplicate plugins on HTML editor fields (#2307) 2018-11-02 13:41:57 +13:00
Serge Latyntcev
14bcb5c7f7 Groom the CMSMain.Tree.js formatting 2018-11-01 14:15:57 +13:00
Serge Latyntcev
6e104df9ac Add the same fix for "Too many pages (show as list)" 2018-11-01 11:49:59 +13:00
Serge Latyntcev
2ef7bd2975 FIX IE11+Edge17 Pages tree List View button 2018-10-31 16:12:03 +13:00
Robbie Averill
7189653b1f FIX SiteTree Title field should have rounded corners before Update URL button is shown 2018-09-13 17:12:35 +02:00
Luke Edwards
2fbeda1564
ADD New search component for SiteTree (#2224) 2018-09-04 13:13:33 +12:00
Robbie Averill
7b8c2c1449 Merge branch '4.1' into 4.2 2018-08-16 11:47:19 +12:00
Maxime Rainville
8ec551e57b BUGFIX: Broken "show as list" (#2232)
* Various refactoring to support viewing list view in context menu and suppressed tree node

* Bugfixes per Maxime review

* Fix URL param collision

* Fix show in list on detail view

* Remove AJAX for show in list. Use hard refresh to keep URL state
2018-08-14 16:08:36 +12:00
Aaron Carlino
6bda44b4c5 Add Provider to isolated Apollo components. 2018-05-21 20:52:48 +12:00
Damian Mooyman
0d40b54537
BUG FIx rollback button from not working 2018-04-17 12:26:45 +12:00
Luke Edwards
5735beeb90 ENHANCEMENT Upgrade to Bootstrap 4.0.0-stable and change to reactstrap 5.0.0-beta (#2101) 2018-02-28 14:03:01 +13:00
Damian Mooyman
b291306c03
Merge remote-tracking branch 'origin/4.1' into 4
# Conflicts:
#	client/dist/js/bundle.js
2018-02-15 09:24:08 +13:00
Damian Mooyman
165b6e1400
Merge remote-tracking branch 'origin/4.0' into 4.1
# Conflicts:
#	client/dist/js/bundle.js
2018-02-15 09:21:41 +13:00
Dylan Wagstaff
d86e5dfc88 FIX remove now superfluous print action destroyer
There exists functionality in the CMS to print various pages via the
`printable` action on `SilverStripe\Admin\LeftAndMain` - however this
appears to be no longer activated by default. The accompanying legacy
(entwine) javascript dynamically accesses this action by chaning the
HTML form `action` attribute whenever a `FormAction` named `print` is
clicked on an EditForm. Unfortunately this is almost all of them - which
blocks the correct functionality of
`SilverStripe\Forms\GridField\GridFieldPrintButton`
which provides it's own action handling via proper SilverStripe routing.
Since print buttons are no longer a part of the various parts of the CMS
any longer, it appears easiest to simply remove this legacy javascript.
2018-02-09 11:26:32 +13:00
Christopher Joe
b5f68ebed2 Fix warning appearing when button is disabled for rollback 2018-02-07 15:53:57 +13:00
Damian Mooyman
cdc0aa8a5b
Merge remote-tracking branch 'origin/4.0' into 4
# Conflicts:
#	client/dist/js/bundle.js
2018-01-22 15:16:14 +13:00
Sacha Judd
f282df89ea FIX Add bootstrap styles to url segment field 2018-01-18 12:28:01 +13:00
Daniel Hensby
5a77ec8cea
Merge branch '4.0' into 4 2018-01-15 16:19:22 +00:00
Daniel Hensby
a77a7cfe35
Merge branch '3.6' into 4.0 2018-01-15 15:49:47 +00:00
Damian Mooyman
210213a455
Fix search behaviour 2017-12-13 18:16:34 +13:00
Saophalkun Ponlu
8a04e9c46b Fix wrong/confusing url segment 2017-12-13 17:10:39 +13:00
Saophalkun Ponlu
b391db4977 Fix search view 2017-12-13 17:10:39 +13:00
Saophalkun Ponlu
042dbbb13d Remember pages view type 2017-12-13 17:10:39 +13:00
Christopher Joe
694d258957 BUG Fix allowed children types now load properly 2017-11-20 09:17:22 +13:00
Christopher Joe
1b190de7e1 BUG Fix regression to cancel draft changes 2017-11-03 10:44:05 +13:00
Robbie Averill
23d00fb9f1 Separate logic for whether to show the link text from the renderModal method 2017-10-25 12:11:23 +13:00
Christopher Joe
689c198fbe FIX revert to this button after archiving 2017-10-20 09:26:35 +13:00
Damian Mooyman
496b9c8c04 API Implement insert-anchor modal 2017-09-20 13:35:25 +12:00
Sacha Judd
2dde777132 FIX Add styles for url segment field 2017-09-12 14:37:03 +12:00
Damian Mooyman
3669f30e4e BUG Fix race condition with change detection / loading animation
Fixes #1859
2017-09-07 11:54:03 +12:00