Commit Graph

204 Commits

Author SHA1 Message Date
Steve Boyd
984cf404f4 Merge branch '4' into 5.0 2023-05-31 11:26:36 +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
Steve Boyd
28ecbdc845 MNT Use React Testing Library 2023-04-28 10:48:47 +12:00
Steve Boyd
b1efcc217d MNT Update dev JS 2023-04-03 14:30:30 +12:00
Steve Boyd
f705df4b0c Merge branch '4' into 5.0 2023-03-08 12:22:34 +13:00
Steve Boyd
d0f3a6b9ec ENH Update translations 2023-03-06 18:15:26 +13:00
Guy Sartorelli
b02beba7ba
Resolve a couple of behat issues (#2830)
* FIX Correctly add message to reactstrap-confirm

* MNT Fix behat tests
2023-01-30 10:32:26 +13:00
Florian Thoma
18cb6d499d
API Normalise trailing slashes in links 2023-01-20 15:08:37 +13:00
Steve Boyd
a44547915d MNT Add yarn lint back in 2023-01-13 15:17:54 +13:00
Guy Sartorelli
ef4122da04
ENH Use the EmotionCssCacheProvider component
This ensures we can override the react-select CSS if we need to.
2023-01-11 16:06:36 +13:00
Guy Sartorelli
b9115f3f6d
Fix anchor select field component
This should have been done when we upgraded react-select. My bad.
2023-01-10 12:34:13 +13:00
Guy Sartorelli
ddbe4ea4ce
DEP Upgrade build stack (#2795)
* DEP Upgrade webpack config and various deps

* DEP Update code to work with upgraded libraries

* MNT run yarn build
2022-12-19 10:20:52 +13:00
Guy Sartorelli
911a71d6f6
Merge branch '4' into '5' 2022-11-21 18:07:57 +13:00
Guy Sartorelli
003f9ba750
Revert "Merge branch '4' into 5"
This reverts commit 2d10a624b3, reversing
changes made to af1a482d20.
2022-11-21 17:11:42 +13:00
Sabina Talipova
2d10a624b3 Merge branch '4' into 5 2022-11-21 16:59:42 +13:00
Guy Sartorelli
7a7c751f7c
FIX Don't use deprecated jQuery functions (#2792) 2022-11-01 17:27:27 +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
adcea213a2
ENH Remove css for CMSPageHistoryController. 2022-08-30 11:14:51 +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
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
Steve Boyd
f72f5dc08c Update translations 2022-05-04 13:29:41 +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
5b6b3906e0 DEP Update JS dependencies 2021-11-22 16:13:21 +13:00
Steve Boyd
90a8fcfa7e MNT Remove js prefix from require statements 2021-11-02 21:55:54 +13:00
Maxime Rainville
8cbc6d2110 Update translations 2021-08-27 11:27:34 +12:00
Steve Boyd
7886e51f81 Merge branch '4.7' into 4 2021-01-02 10:48:03 +13:00
Steve Boyd
babc8a462e Merge branch '4.6' into 4.7 2021-01-02 10:40:57 +13:00
Garion Herman
bae853837e Merge branch '4.7' into 4 2020-12-22 14:22:49 +13:00
Steve Boyd
53ec8880cd MNT Travis shared config 2020-12-22 10:25:15 +13:00
bergice
0ace2968b3 Fixes pages not being scrolled to on treeview 2020-11-18 11:37:46 +13:00
Aaron Carlino
5ab1ff3e69
NEW: GraphQL Compatibility (#2607)
* Add GraphQL4 compatibility

* Add getPageByLink

* Blacklist sitetree fields

* Remove getByLink from default schema. use linkable plugin

* getByLink compatability with new readOne filter anything

* Remove return type

* Compliance with new modelConfig

* Prep for travis

* Improvements for versioned-admin compat

* BC class guards

* New graphql 3 compat

* Fix travis syntax error

* New backward graphqlphp dependency

* Lint, build

* New phpcs exclusion

* Tidy up travis

* Fix rollback mutation

* Update code/GraphQL/_legacy/ReadOneResolver.php

Co-authored-by: Ingo Schommer <ingo@silverstripe.com>

* Address ingo feedback

* Deprecated GraphQL v3 classes

* Remove deleted branches

Co-authored-by: Ingo Schommer <ingo@silverstripe.com>
Co-authored-by: Ingo Schommer <me@chillu.com>
2020-11-13 13:50:44 +13:00
bergice
a591776e06 Read from ALL_VERSIONS when looking up page history 2020-08-11 10:33:52 +12:00
bergice
0a58bda7dd Show the type of save that was performed for the record instead of just showing either Saved/Published.
See https://github.com/silverstripe/silverstripe-cms/issues/2448
2020-07-03 16:09:52 +12: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
Maxime Rainville
5b15e3b70a Upgrade dependencies 2019-11-05 16:50:41 +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 Wagstaff
8606f9455d
Merge pull request #2468 from creative-commoners/pulls/4/ie-editor-layout-issues
FIX IE 11 rendering issues in Page Editor UI
2019-08-16 12:01:01 +12:00
Garion Herman
65f4ec5e37 FIX IE 11 rendering issues in Page Editor UI
Internet Explorer needs a little extra help with its math to avoid the
entire UI collapsing in on itself.
2019-08-16 09:44:25 +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