Commit Graph

6128 Commits

Author SHA1 Message Date
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
Aaron Carlino
dabc0a471f Update translations 2019-08-12 16:06:56 +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
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
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
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
Guy Marriott
892a91ae3e
FIX Only add page font icon classes if there's no icon image defined 2019-05-08 16:13:33 +12:00
Aaron Carlino
00c9262eb7 Update translations 2019-05-06 14:57:48 +12:00
Guy Marriott
a6bef876c0
Merge pull request #2416 from creative-commoners/pulls/4.4/bootstrap-alert
FIX Use Bootstrap 4 alert for page type restriction message when adding a page
2019-05-06 10:50:16 +12:00
Robbie Averill
7cfa771681 FIX Use Bootstrap 4 alert for page type restriction message when adding a page
Bootstrap 4 alerts are the default in SilverStripe 4.4, this one is custom so was missed during the update
2019-05-03 15:35:08 +12:00
Robbie Averill
9ab7ae16ac Remove obsolete branch alias 2019-04-21 11:02:51 +12:00
Aaron Carlino
37f0994b25 Merge branch '4.3' into 4 2019-04-18 11:54:02 +12:00
Robbie Averill
79e1b06d17
Merge pull request #2373 from sminnee/search-or-choose-page
MINOR: Change “Choose Page” to “Search or choose Page”
2019-04-17 12:30:46 +12:00
Will Rossiter
4fbe0fd6b9 Fix linking anchor on the same page (#2388)
To reproduce this issue open a page, add an anchor, save the page, go to link to newly created anchor on the same page.

Incorrect result will be the new anchor does not appear. This patch ensures that the page anchors are reloaded.
2019-04-15 14:34:25 +12:00
ttunua
0b56a563c0 FIX: Fixes #2110 added default Title value for saved pages. (#2366)
* FIX: Fixes #2110 added default Title value for saved pages.

* FIX: Fixes #2110 fixed linting and unit test failure

* BUG Rename default wording for untitled page
2019-04-15 14:33:15 +12:00
Robbie Averill
d4571d927d Merge branch '4.3' into 4 2019-04-11 11:46:19 +12:00
Robbie Averill
3b0e6b5a38 Merge branch '4.2' into 4.3
# Conflicts:
 #	lang/da.yml
 #	lang/de.yml
 #	lang/nl.yml
2019-04-11 11:46:00 +12:00
Robbie Averill
4e70a6bc70 Update translations 2019-04-11 11:43:22 +12:00
Robbie Averill
cd64d27ab5 Merge branch '4.1' into 4.2 2019-04-11 11:39:23 +12:00
Robbie Averill
f112e04f57 Merge branch '4.0' into 4.1 2019-04-11 11:38:03 +12:00
Loz Calver
fdfd6c7bb0
Merge pull request #2407 from open-sausages/pulls/4/docs-publishall
API Deprecated CMSMain->publishall()
2019-04-10 09:20:48 +01:00
Ingo Schommer
ab01ac99e3 API Deprecated CMSMain->publishall()
The current implementation doesn't scale,
and due to the proliferation of versioned objects
no longer fully works (e.g. doesn't publish all files).

Fixes https://github.com/silverstripe/silverstripe-cms/issues/2406
2019-04-10 10:44:14 +12:00
Guy Marriott
432266dcd2
Merge pull request #2391 from sachajudd/pulls/4.4/add-new-page
FIX Deprecate creatableChildren and add new function to support font-icon classes for allowedChildren
2019-04-08 14:08:14 +12:00
Guy Marriott
d2236f0954
Update code/Model/SiteTree.php
Co-Authored-By: sachajudd <sjudd@silverstripe.com>
2019-04-08 11:45:52 +12:00
Guy Marriott
10ff962ece
Update code/Model/SiteTree.php
Co-Authored-By: sachajudd <sjudd@silverstripe.com>
2019-04-08 11:45:44 +12:00
Guy Marriott
4685523b9b
Update code/Model/SiteTree.php
Co-Authored-By: sachajudd <sjudd@silverstripe.com>
2019-04-08 11:10:07 +12:00
Robbie Averill
a4f86605f4
Merge pull request #2404 from open-sausages/pulls/4/flushing-tests
Remove flush from CMSPageHistoryControllerTest
2019-04-01 11:26:31 +13:00
Serge Latyntcev
de5fc49917 Remove flush from CMSPageHistoryControllerTest
flushing in tests is futile
2019-04-01 10:58:53 +13:00
Andre Kiste
4cf0d29c3c
Merge pull request #2400 from open-sausages/pulls/4/bump-js-dependencies
BUG Bump JS dependencies for merge and bootstrap
2019-03-29 19:22:24 +13:00
Robbie Averill
fb7f6e0ffe
Merge pull request #2403 from altwohill/issue/2401
Remove core reference to HomePageForDomainExtension
2019-03-29 10:06:31 +13:00
Al Twohill
dcfb502e5c Addresses #2401
Note, I've got no idea behind the logic of should_be_on_root - the change is a best guess based on the fact that `Translatable` doesn't exist in SS4 yet
2019-03-28 20:40:33 +13:00
Robbie Averill
023248f867
Merge pull request #2390 from creative-commoners/pulls/4.4/style-updates
NEW BrokenLinksReport now uses injector for fields, uses short array syntax and single quotes
2019-03-22 13:55:57 +13:00
Aaron Carlino
9c880f121b Update translations 2019-03-19 14:36:49 +13:00
Maxime Rainville
c7b3b30728 BUG Bump JS dependencies for merge and bootstrap 2019-03-14 11:35:34 +13: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