Commit Graph

3336 Commits

Author SHA1 Message Date
Ingo Schommer
b77920e2fe Merge pull request #124 from ryanwachtl/silverstripe-cms
---

The behaviour of updating the URLSegment field after the first edit of Title field when a new page is created was broken in 1863bb00db
2012-05-11 14:06:42 +02:00
Ingo Schommer
af48b3948b Merge pull request #121 from chillu/silverstripe-cms
---

....Main" to "Root.Main", merged "Root.Content.Metadata" tab into "Root.Main"

See https://github.com/silverstripe/sapphire/pull/420

Conflicts:
	code/model/SiteTree.php
2012-05-11 14:03:44 +02:00
Sean Harvey
5d825f38b7 Merge pull request #126 from mateusz/os7304
BUGFIX: Check the drag and drop radio by default.
2012-05-10 22:38:53 -07:00
Sean Harvey
9e5867d47f Merge pull request #125 from robert-h-curry/7305-missing-assetadmin-icons
BUGFIX: Change styles on tabs to new format.
2012-05-10 17:33:27 -07:00
Robert Curry
28a1d0d4e7 BUGFIX: Change styles on tabs to new format. 2012-05-11 11:31:40 +12:00
Mateusz Uzdowski
9b39acb08c BUGFIX: Check the drag and drop radio by default.
The default state of the tree is drag and drop mode.
2012-05-11 10:29:13 +12:00
Ryan Wachtl
2945f9d963 BUGFIX: Updating URLSegment from Title field when new page is created 2012-05-10 10:21:30 -05:00
Ingo Schommer
1863bb00db ENHANCEMENT Refactored SiteTreeURLSegmentField JS to a more selector based approach (future proof field for reusability e.g. in ModelAdmin with custom DataObject URL previews) 2012-05-10 14:50:08 +02:00
Ingo Schommer
526120d949 Merge pull request #122 from ryanwachtl/silverstripe-cms
---

Basic behaviour for opt-in URL updating. URL is auto-generated on initial edit of the page Title after creating a new page. After page Title has been updated; URLSegment, MenuTitle, and MetaTitle are updated manually. Adds edit, ok, and cancel buttons to URLSegment field. Action to "update from Title" and help text not implemented yet. Any feedback welcome and appreciated.
2012-05-10 11:59:15 +02:00
Ingo Schommer
4cff4277fc Merge pull request #123 from mateusz/silverstripe-cms
---

sessionMessage is an old way of returning responses - the consistent way
of doing this is now X-Status header, which then gets distrubuted via JS
in the CMS frontend.

Accompanies https://github.com/silverstripe/sapphire/pull/423
2012-05-10 10:28:31 +02:00
Ryan Wachtl
a58dad8899 Compiled CSS without line comments 2012-05-09 21:36:28 -05:00
Mateusz Uzdowski
1f992c5e34 BUGFIX: unify the response method for record deletions (os7212)
sessionMessage is an old way of returning responses - the consistent way
of doing this is now X-Status header, which then gets distrubuted via JS
in the CMS frontend.
2012-05-10 14:03:17 +12:00
Stig Lindqvist
de9005e0c2 Merge pull request #120 from halkyon/phpunit_fixes
MINOR Fixing assertType() assertions with assertInstanceOf()
2012-05-09 17:55:38 -07:00
Ryan Wachtl
bd94c6f336 Trac 6981: Opt-in URL Updating 2012-05-09 19:01:57 -05:00
Ingo Schommer
42d404faa8 API CHANGE Restructured SiteTree->getCMSFields() tabs from "Root.Content.Main" to "Root.Main", merged "Root.Content.Metadata" tab into "Root.Main" (fixes #7261) 2012-05-09 17:48:59 +02:00
Sean Harvey
c72bae3a8e MINOR Fixing assertType() assertions with assertInstanceOf() 2012-05-09 23:06:55 +12:00
Sean Harvey
dedb9d0461 MINOR Removing use of _t() in test, assert the english text since en_US
is the locale set for tests by default.
2012-05-09 21:54:33 +12:00
Sean Harvey
46660e98bc MINOR Fixing broken test 2012-05-09 21:52:32 +12:00
Ingo Schommer
d15b4ad8ee Merge pull request #119 from chillu/urlsegment-multibyte-fix
Urlsegment multibyte fix
2012-05-09 01:32:52 -07:00
Sean Harvey
d79d5987cb Merge pull request #110 from chillu/trac/7170-i18n-sprintf-injections 2012-05-09 19:55:53 +12:00
Ingo Schommer
8563322971 BUGFIX Fixed publication of multibyte URLSegment in SiteTree->onBeforeWrite(), was wrongly detecting a change and double encoding 2012-05-08 23:45:29 +02:00
Ingo Schommer
77e52d6344 ENHANCEMENT Url encoding URLSegments before matching them against database records in ModelAsController, to match behaviour of SiteTree with URLSegmentFilter::$default_allow_multibyte=true. Not an API change because all encodable characters have been removed by the default URLSegmentFilter already (see http://www.w3.org/International/articles/idn-and-iri/#iriproblem) 2012-05-08 23:45:26 +02:00
Ingo Schommer
63536af875 MINOR Documentation 2012-05-08 22:22:11 +02:00
Ingo Schommer
08a7bf0879 BUGFIX Remove double URL/filename filtering in FilesystemPublisher to avoid breaking multibyte URLs (now possible through recently introduced URLSegmentFilter class). Multibyte safe url path processing in FilesystemPublisher. 2012-05-08 22:22:08 +02:00
Ingo Schommer
ce58e55cc1 MINOR Consistent location for CSS classes on CMS tabsets 2012-05-08 15:31:28 +02:00
Ingo Schommer
f7661780d3 MINOR Added padding to CMSSettingsController view 2012-05-08 00:53:26 +02:00
Ingo Schommer
d8e62221b5 MINOR Tree metadata naming 2012-05-07 14:45:39 +02:00
Ingo Schommer
6ec6b107ca BUGFIX Don't require ParentModeField in CMSpageAddController submissions, to allow for easier programmatical submission of "add page" form (via CMS tree). Reset any selected parent nodes in the interface instead 2012-05-07 14:30:08 +02:00
Ingo Schommer
1fa54abf6c Merge pull request #114 from ohararyan/silverstripe-cms
---

http://open.silverstripe.org/ticket/7214

Added watermark to show current state of preview.
2012-05-07 13:00:52 +02:00
Ingo Schommer
32f4672744 Merge pull request #118 from normann/silverstripe-cms
---

Add page icons to the tree node in TreeDropdownField in page add form.
2012-05-07 11:03:02 +02:00
Normann Lou
85a69c0260 ENHANCEMENT: add page icons for tree dropdown field when creating a new page and setting its parent 2012-05-07 15:41:33 +12:00
Sam Minnée
1a27c531a5 Merge pull request #115 from normann/trac/7280
Trac 7280: remove a 'Go' button with '-->' seen in the pages listview
2012-05-06 20:31:43 -07:00
Sam Minnée
81e559d0ff Merge pull request #117 from normann/trac/7173
trac 7173: Add "level up" list entry to CMS page list view
2012-05-06 20:31:27 -07:00
Sam Minnée
6af5e8997c Merge pull request #116 from halkyon/sqlquery_enhancements
MINOR Using new API methods after SQLQuery API changes
2012-05-06 20:30:16 -07:00
Sean Harvey
45810a1848 MINOR Using new API methods after SQLQuery API changes 2012-05-07 14:22:21 +12:00
Normann Lou
4b6c21b940 ENHANCEMENT: use the grid field compoent GridFieldLevelup for pages listveiw when the view is the children listing of a page 2012-05-07 13:42:56 +12:00
Normann Lou
440c96efb8 BUGFIX: replace "<!-- -->" with "<%-- --%>" for the blocks that are definately not needed to be processed by SSViewer to limit the chances of producing nested html comment tag "<!--<!-- -->-->" 2012-05-04 15:56:58 +12:00
Ryan O'Hara
ad1f7c1f76 ENHANCEMENT: Add Watermark for preview states (TRAC-7214) 2012-05-04 11:50:09 +12:00
Ingo Schommer
f545f52c1a MINOR Updated master lang tables 2012-05-03 17:53:36 +02:00
Ingo Schommer
7c25754cb1 ENHANCEMENT Localization of installation success screen 2012-05-03 17:53:33 +02:00
Ingo Schommer
d072f715b7 MINOR Don't show title on reports GridField (duplicates the section title) 2012-05-03 13:50:01 +02:00
Ingo Schommer
2fdc4e5f0b ENHANCEMENT Section icons in CMS (#7269) 2012-05-03 13:49:44 +02:00
Ingo Schommer
f812e56022 ENHANCEMENT Moving action buttons in AssetAdmin to "details" tab (fixes #7221) 2012-05-03 11:26:09 +02:00
Ingo Schommer
f8abcd8fa5 Merge pull request #112 from silverstripe-big-o/Trac-7266-sync-files-icon
ENHANCEMENT:Trac 7266 - added an icon to the 'sync files' button in Asse...
2012-05-03 02:24:15 -07:00
Jeremy Bridson
3cdca3ea05 ENHANCEMENT:Trac 7266 - added an icon to the 'sync files' button in AssetAdmin + regenerated css files. 2012-05-03 12:17:49 +12:00
Ingo Schommer
3f57aa01c9 Merge pull request #111 from silverstripe-big-o/Trac-7222-change-gallery-icon
ENHANCEMENT:changed gallery icon to an edit icon for assetAdmin
2012-05-02 04:34:54 -07:00
Jeremy Bridson
a895d0bbe5 ENHANCEMENT:changed gallery icon to an edit icon for assetAdmin 2012-05-02 11:47:31 +12:00
Ingo Schommer
38f1236b1f MINOR Switching _t() calls from sprintf() to using injection parameters (#7170) 2012-05-01 22:05:19 +02:00
Ingo Schommer
63cef2af22 MINOR Disable batch actions in pages list view until we've implemented checkboxes in GridField 2012-05-01 17:58:42 +02:00
Ingo Schommer
9f1668505b MINOR Remove usage of deprecated array access on SQLQuery in SiteTreeFolderExtension 2012-05-01 17:58:14 +02:00