Commit Graph

116 Commits

Author SHA1 Message Date
Maxime Rainville
c23473103e BUG URLSegment field styling fixes #2193
Squashed commit of the following:

commit 6ee00358f70e26ef5faf622b8f23fc4419698ed5
Author: Maxime Rainville <maxime@silverstripe.com>
Date:   Wed Jul 11 13:22:07 2018 +1200

    Remove debug statement.

commit 8e80300244a19e84d638ffd151b236b846c35b77
Author: Luke Edwards <luke@silverstripe.com>
Date:   Wed Jul 11 10:55:04 2018 +1200

    Only remove actions for readonly rather than only display link

commit 1d3693432bb1ca403d3eefc648cfddb8372b82bd
Author: Luke Edwards <luke@silverstripe.com>
Date:   Wed Jul 11 09:12:21 2018 +1200

    Stop button wrapping when 'Cancel' is longer in another language

commit 5495992b22a0546aaa87e5ea1b2fa9c79f6e119d
Author: Luke Edwards <luke@silverstripe.com>
Date:   Tue Jul 10 16:02:27 2018 +1200

    Use link as the readonly representation of the URLSegment

commit 5737e152424281dbea480872900d735cc43f5fd3
Author: Luke Edwards <luke@silverstripe.com>
Date:   Mon Jun 18 11:07:34 2018 +1200

    Improve readonly styling of URLSegement field

commit 272da9361452843fbb368bfc67e13e6d9540faf2
Author: Luke Edwards <luke@silverstripe.com>
Date:   Mon Jun 18 10:18:33 2018 +1200

    Use input-addon style for URLSegment field
2018-07-11 15:13:22 +12:00
Aaron Carlino
6bda44b4c5 Add Provider to isolated Apollo components. 2018-05-21 20:52:48 +12:00
Robbie Averill
e3237f9638 NEW Add revert mutation and refactor injector transformations (#2158)
* NEW Add revert mutation and refactor injector transformations

Removing the existing HOC component and just using Injector transformations to apply the GraphQL query and mutation

* Refetch versions after performing the revert mutation

* WIP Provide additional context
2018-05-17 15:36:46 +12:00
Damian Mooyman
0d40b54537
BUG FIx rollback button from not working 2018-04-17 12:26:45 +12:00
Robbie Averill
c4f8af543c NEW Add AbsoluteLink to history viewer page GraphQL query (#2142) 2018-04-11 15:40:12 +12:00
Robbie Averill
cee2e48025 Rename readOnePage GraphQL query to ReadHistoryViewerPage 2018-03-27 13:46:09 +13:00
Robbie Averill
8daf907c4b Reduce wildcard to specific list of fields and use object spread operators in query 2018-03-22 15:46:59 +13:00
Robbie Averill
8d2dd0e208 Add react-apollo and graphql-tag to dependencies and fix linting in history viewer components 2018-03-22 10:51:53 +13:00
Robbie Averill
1a82f0364a NEW Add page GraphQL query HOC for history viewer component
Relies on silverstripe/versioned-admin being installed on SS 4.2 or above.
2018-03-22 10:51:53 +13:00
Daniel Hensby
b62a474ac1
Merge branch '4.1' into 4 2018-03-16 15:14:54 +00:00
Damian Mooyman
9bf05b397f Update translations 2018-03-14 09:45:54 +13: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
4450d150e8
Merge remote-tracking branch 'origin/4.0' into 4 2018-02-05 18:03:03 +13:00
Damian Mooyman
e84e0236f1 Update translations 2018-02-05 16:58:21 +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
227ce39414
Merge branch '4.0' into 4 2017-12-18 16:16:20 +13: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
Damian Mooyman
b5f64aebec Update translations 2017-12-07 11:08:26 +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
Christopher Joe
78f39e6b11
FEATURE hide tree view icon when searching 2017-10-17 15:54:41 +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
Sacha Judd
eaa0a2a4cb FIX Update unused button classes for url segment field 2017-09-06 09:30:11 +12:00
Christopher Joe
04f795c665
Tweak add form to use React TreeDropdownField
Enhancement Shift groups in SiteTree to use TreeMultiselectField
2017-09-04 13:38:14 +12:00
Christopher Joe
1c321019c4 Fix icons in right click menu 2017-08-31 14:42:37 +12:00
Reid Hokai
b0512abfb6
fixes load indicator position (fixes #1625) 2017-08-24 14:24:54 +12:00
Damian Mooyman
6efb35fbcf BUG Fix “Show unpublished versions” (#1930)
Update CMSPageHistoryController.js to fit coding conventions
Fixes #1648
2017-08-24 13:31:40 +12:00
Saophalkun Ponlu
2bbb21a450 Add priority to internal link action (#1924) 2017-08-18 15:38:34 +12:00
Damian Mooyman
68d6307c6d Upgrade to bootstrap@4.0.0-beta.1 2017-08-16 10:52:36 +12:00
Saophalkun Ponlu
417caf2972 ENHANCEMENT Allow insert links with display link text 2017-08-03 13:32:14 +12:00
Damian Mooyman
1fe13dcdb7 Rebuild dist files 2017-07-25 12:57:46 +12:00
Saophalkun Ponlu
fca3ba73f5 FIX Pages search now defaults to list view 2017-07-25 12:57:46 +12:00
Saophalkun Ponlu
6fc1491f0b Enhancement Add edit command and its url test for page insert 2017-07-18 13:11:58 +12:00
Damian Mooyman
184ec65b7f Update translations 2017-07-03 17:17:41 +12:00
Saophalkun Ponlu
4fb6e70bb8
Visual updates to page view toggle 2017-06-27 11:39:35 +01:00
Chris Joe
b34519e7e8 Fix insert link modal to work with new injector API (#1860) 2017-06-27 11:06:39 +12:00