Commit Graph

3224 Commits

Author SHA1 Message Date
Sean Harvey
d9ee61c4a3 MINOR Use of DropdownField in CMS should call setEmptyString instead of
use the $emptyString argument, as it's deprecated.
2012-05-23 22:43:42 +12:00
Sean Harvey
542d727db2 MINOR Don't use deprecated extraStatics when adding extra statics with
DataExtension
2012-05-23 22:13:27 +12:00
Sean Harvey
ec3ebc91d8 MINOR Use instance methods on current Controller instance for redirect()
instead of static Director functions
2012-05-23 21:45:16 +12:00
Sean Harvey
9598080368 Merge pull request #137 from mateusz/os7378
BUGFIX: remove unnecessary class that breaks the tab opening.
2012-05-22 21:29:47 -07:00
Sean Harvey
be2c811639 BUGFIX Adding missing onunmatch in AssetAdmin.DragDrop 2012-05-23 16:09:08 +12:00
Mateusz Uzdowski
50cbef7933 BUGFIX: remove unnecessary class that breaks the tab opening.
This class should be applied higher in the hierarchy so it also
includes panels - and it's already there too.
2012-05-23 15:49:10 +12:00
Sean Harvey
7ed09917ac BUGFIX Fixing incorrect URL to edit canonical page on VirtualPage 2012-05-22 17:44:01 +12:00
Sean Harvey
0515555ab1 MINOR Fixing CMSMainTest using old code, updating to new CMS admin/pages URL 2012-05-22 17:35:04 +12:00
Sean Harvey
2cb89ed696 MINOR Fixing invalid URL 2012-05-22 17:16:29 +12:00
Sean Harvey
b0a026b4c6 BUGFIX Fixed url_segment undefined error in CMSMain.EditForm, assuming
*all* title fields have a URLSegment field associated with them, which
they don't.
2012-05-22 14:05:21 +12:00
Sean Harvey
4286bf0844 Merge pull request #136 from mateusz/entwines4
BUGFIX: add missing selectors and namespace qualifiers
2012-05-21 17:08:51 -07:00
Mateusz Uzdowski
b2468eb354 BUGFIX: add missing selectors and namespace qualifiers 2012-05-22 11:28:27 +12:00
Sam Minnée
b13b5fefdb Merge pull request #135 from silverstripe-scienceninjas/feature/config-enhancements
Feature/config enhancements
2012-05-20 19:03:57 -07:00
Ingo Schommer
1614bc4505 MINOR Removed unknown "cancel draft" button icon (fixes #7333) 2012-05-20 14:20:59 +02:00
Hamish Friedlander
f410ccfa0d BUGFIX: Make Page panel the default again after the recent addition of AdminRootController 2012-05-19 14:43:25 +12:00
Hamish Friedlander
563e0cfc05 BUGFIX: Make CMSes Director rules use new yaml config fragments system 2012-05-19 14:43:10 +12:00
Sean Harvey
60e7a5960f MINOR Adding default text to SAVEDUP entity 2012-05-18 16:54:33 +12:00
Sean Harvey
92019876d2 MINOR Removing unused template control 2012-05-18 16:47:12 +12:00
Sean Harvey
aa0bc8f90b Merge pull request #134 from silverstripe-big-o/settings-fixes
Settings fixes
2012-05-17 21:37:59 -07:00
Julian Seidenberg
7112032b4c BUGFIX: fixing the look of Settings tab in the CMS if it has multiple tabs 2012-05-18 16:33:34 +12:00
Julian Seidenberg
aa7bc23992 ENHANCEMENT: refactoring template "control" loops into "loop" and "with" to fit with the new template syntax 2012-05-18 16:32:44 +12:00
Sean Harvey
a7626829f6 MINOR AssetAdmin tweaks to folder/file thumbnail columns to be tidier 2012-05-18 14:39:26 +12:00
Sean Harvey
4f78187ff4 Merge pull request #133 from mateusz/entwines3
BUGFIX: add missing onunmatches causing exceptions in entwine
2012-05-17 19:34:05 -07:00
Mateusz Uzdowski
00734f5498 BUGFIX: add missing onunmatches causing exceptions in entwine 2012-05-18 14:33:17 +12:00
Sean Harvey
4e5e88ef2d Merge pull request #131 from mateusz/entwines2
Refactor JS entwines
2012-05-17 19:14:49 -07:00
Mateusz Uzdowski
aaeebd6ea2 BUGFIX: change namespace for the tree so all matchers are executed
Refer to similar commit on framework
(55cabd6fbfe5c2f90f0825ed2a51098dc9a2f5ac)
2012-05-18 12:23:30 +12:00
Mateusz Uzdowski
b75483e1da BUGFIX: add missing _super calls to all matchers and unmatchers
Otherwise some matchers might not be triggered as expected.
2012-05-18 12:23:30 +12:00
Ingo Schommer
fb64cad34e Merge pull request #129 from halkyon/gridfield_headers
MINOR Use GridFieldToolbarHeader and GridFieldFilterHeader in AssetAdmin...
2012-05-16 00:34:44 -07:00
Sean Harvey
5b223aa3b5 MINOR Use GridFieldToolbarHeader and GridFieldFilterHeader in AssetAdmin GridField, set title of the table to the current folder title. 2012-05-16 17:32:52 +12:00
Ingo Schommer
7b40c5f0a1 MINOR Using search parameters in "edit tree" link (which ensures we include decorated parameters like 'locale' from the 'translatable' module) 2012-05-15 21:34:26 +02:00
Ingo Schommer
b9cae47135 BUGFIX Don't link to views in CMS tabs, use data-href instead to avoid jQuery.tabs() interfering with its own ajax load magic (specifically fixes a problem where admin/pages/edit/99 was detected as different from admin/pages/edit/99/?locale=de_DE) 2012-05-15 21:32:03 +02:00
Ingo Schommer
c185c737dd MINOR More extension points in CMSMain (specifically to allow for 'locale' query parameter and language drop down of the 'translatable' extension) 2012-05-15 21:30:53 +02:00
Ingo Schommer
20af440694 BUGFIX Decode URLSegment before showing it through SiteTreeURLSegmentField, to separate presentation from its internal url encoded value 2012-05-14 15:12:33 +02:00
Ingo Schommer
73e5c34896 BUGFIX Encoding multibyte characters in custom X-Status HTTP headers used in CMS (headers don't allow multibyte data) 2012-05-14 15:11:35 +02:00
Ingo Schommer
c3735ec666 Merge pull request #128 from ryanwachtl/silverstripe-cms
---

When page Title field is changed, adds an "Update URL" button. Also updates the panel breadcrumb and tree after the Title field changes.
2012-05-14 14:27:51 +02:00
Ingo Schommer
6f4377a019 Merge pull request #127 from ajshort/silverstripe-cms
---

This is a companion pull request to https://github.com/silverstripe/sapphire/pull/438.
2012-05-14 14:25:43 +02:00
Ryan Wachtl
f56126470d ENHANCEMENT Update URLSegment from Title (closes #6981) 2012-05-12 23:55:26 -05:00
Andrew Short
6b87a6edfa MINOR: Updated getResponseNegotiator visibility to match changed parent API. 2012-05-12 16:08:10 +10:00
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