Commit Graph

6513 Commits

Author SHA1 Message Date
Dileep Ratnayake
075c98ed8e
Change self:: to static:: for better extensibility 2019-09-11 11:09:14 +12:00
Guy Marriott
bdf2cccb80
Keep a more shared understanding of Archived (#2476)
Keep a more shared understanding of Archived
2019-09-10 11:33:32 +12:00
Adrian Humphreys
0872a23aa8
Keep a more shared understanding of Archived 2019-09-09 07:50:10 +12:00
Andre Kiste
cd55772cf1
Merge pull request #2470 from open-sausages/pulls/4/homepage-warning
Add warnings when trying to remove the homepage
2019-09-05 15:12:36 +12:00
Robbie Averill
d2b35632ec
Merge pull request #2475 from christopherdarling/patch-1
DOCS PHP5 no longer supported - change to PHP
2019-09-04 08:50:13 -07:00
Christopher Darling
daec28589c
DOCS PHP5 no longer supported - change to PHP 2019-09-04 14:26:23 +01: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
Robbie Averill
abf026c500
Merge pull request #2471 from creative-commoners/pulls/4.4/no-caching-on-previews-or-drafts
FIX Disable caching on page previews (CMSPreviews or stage=Stage)
2019-08-22 14:09:11 +12:00
Garion Herman
8e3072922f FIX Disable caching on page previews (CMSPreviews or stage=Stage) 2019-08-22 13:52:54 +12:00
Robbie Averill
3990fb163c
Merge pull request #2464 from open-sausages/pulls/4/better-link-order
FIX Set better order for insert link menu
2019-08-21 10:24:45 +12:00
Maxime Rainville
4960cc3542 FIX Set better order for insert link menu 2019-08-21 09:29:20 +12:00
Aaron Carlino
f98a59deb5 [CVE-2019-12204]: install.php warning does not account for public dir 2019-08-20 21:45:29 +12:00
Guy Marriott
658f54005b
Merge branch '4.4' into 4 2019-08-19 16:02:22 +12:00
Guy Marriott
d7e64199a7
Update translations 2019-08-19 15:10:42 +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
Robbie Averill
517a719b71
Merge pull request #2469 from creative-commoners/pulls/4.4/weigh-anchor
FIX pull up anchors that have been added for linking to
2019-08-16 10:01:47 +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
94db6240a0
Merge pull request #2467 from purplespider/sentence-case
Updated “URL Segment” & “Main Content” to sentence case
2019-08-15 08:23:00 +12:00
James Cocker
1316245b37 Updated “URL Segment” & “Main Content” to sentence case 2019-08-14 17:38:36 +01:00
Aaron Carlino
b460dfd188 Merge branch '4.4' into 4 2019-08-13 12:15:56 +12:00
Aaron Carlino
dabc0a471f Update translations 2019-08-12 16:06:56 +12:00
Robbie Averill
59b9a0d664
Merge pull request #2411 from kinglozzer/virtualpage-definemethods
FIX: VirtualPage missing methods from target page (fixes #2408)
2019-08-05 13:16:08 +12:00
Robbie Averill
a378248fe7
Merge pull request #2463 from MadeHQ/4
Changing to protected to match the rest of the changes
2019-08-05 09:15:25 +12:00
hirenpatel
9bcb395387 Changing to protected to match the rest of the changes 2019-08-02 15:08:05 +01:00
Robbie Averill
a083fc5d5b Merge branch '4.4' into 4 2019-07-19 11:50:38 +02: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
Guy Marriott
00d4f18ed2
FIX display recognisable names for dependent content with no ti… (#2458)
FIX display recognisable names for dependent content with no title
2019-07-17 16:38:21 +12:00
Dylan Wagstaff
68f6eaa663 FIX display recognisable names for dependent content with no title
Content blocks and other DataObjects that contain HTMLText fields are
also used in the 'Dependent pages' report for each page in the CMS,
however these objects may have neither a Title field, nor a name to
describe them. Instead of showing an empty field in the Title column for
this table, we can instead show "Untitled " with the localised singular
name appended.
2019-07-17 15:30:07 +12:00
Aaron Carlino
b6c5cb0470 Merge branch '4.3' into 4.4 2019-07-12 16:10:45 +12:00
Robbie Averill
ee35e2a176
Merge pull request #2444 from creative-commoners/pulls/4.4/keep-it-selected-silverstripe
FIX Keep New Page type selection if still allowed when changing parent
2019-06-28 11:32:55 +12:00
Guy Marriott
b9dcf07040
FIX: Change sitetree new page column class naming to avoid conf… (#2449)
FIX: Change sitetree new page column class naming to avoid conflicts with bootstrap
2019-06-28 10:27:16 +12: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
Aaron Carlino
c5cfeda416 Update translations 2019-06-10 22:48:03 +12:00
Aaron Carlino
7c144b45c6 Update translations 2019-06-10 22:47:34 +12:00
Aaron Carlino
521d9504f5 Update translations 2019-06-10 17:14:04 +12:00
Aaron Carlino
8a44071ec6 Merge branch '4.4' into 4 2019-06-10 16:26:55 +12:00
Aaron Carlino
3bf78e05df Merge branch '4.3' into 4.4 2019-06-10 16:26:32 +12:00
Aaron Carlino
b7707f319c Merge branch '4.2' into 4.3 2019-06-10 16:26:08 +12:00
Ingo Schommer
91a147a315
Merge pull request #2437 from creative-commoners/pulls/4.5/php71
Update minimum PHP version to 7.1 in Travis
2019-06-07 14:24:11 +12:00
Loz Calver
29e449ebc8
Merge pull request #2443 from creative-commoners/pulls/4.4/bs4
FIX Virtual page notice now uses Bootstrap 4 alerts
2019-05-31 09:22:33 +01:00
Robbie Averill
325d227fe0 FIX Virtual page notice now uses Bootstrap 4 alerts 2019-05-31 14:50:46 +12:00
Robbie Averill
cd70aecf8d
Merge pull request #2421 from creative-commoners/pulls/4.4/adding-removing-overlapping-icons
FIX Only add page font icon classes if there's no icon image defined
2019-05-31 13:56:14 +12:00
Robbie Averill
7775abb078
Merge pull request #2442 from creative-commoners/pulls/4.2/extensible-sitetree-hints-cache-key
NEW Add updateHintsCacheKey extension point to fix invalid caching
2019-05-31 13:35:39 +12:00
Garion Herman
c569cec4ea NEW Add updateHintsCacheKey extension point to fix invalid caching
If a module augments the allowed pagetypes based on external conditions,
the Hints Cache Key will not cover these conditions and may cause
incorrect output. An example of this is Subsites, which allows each
Subsite to have a different set of allowed pagetypes.
2019-05-31 10:21:07 +12:00
Robbie Averill
2f90e139f9
Merge pull request #2441 from sminnee/fix-brittle-test
FIX: Make test comparison less brittle in MigrateSiteTreeLinkingTaskTest
2019-05-28 16:48:54 +12:00
Sam Minnee
469e7ca01b FIX: Make test comparison less brittle in MigrateSiteTreeLinkingTaskTest
Comparing every single field is unnecessary and brittle, only the IDs
need to be compared.

Notably this tripped over a potential bug fix in
https://github.com/silverstripe/silverstripe-framework/pull/8591
but the change should be incorporated regardless.
2019-05-28 12:51:23 +12:00
Robbie Averill
62c36245c2 Update minimum PHP version to 7.1 in Travis 2019-05-23 14:09:39 +12:00