jean
62cfd871b6
FIX 7819 Check if the current folder ID is in the url before assuming the list should not filter by folder ID
2012-08-28 16:43:54 +12:00
Ingo Schommer
62783c75a9
BUG Prevent overwriting of draft/live preview form fields
...
By renaming fields to "StageLink" and "LiveLink",
which means they don't get influenced by the model getters
on Form->loadDataFrom(). Its also a more accurate
name for the field value, since it contains a full (nested) URL
rather than just a segment. Only used internally, so no API change.
2012-08-27 18:20:56 +02:00
Ingo Schommer
11b85e988e
Fixed "from"/"to" filter field widths
...
Removed ineffective FieldGroup->subfieldParam setting,
replaced with a specialised template, as well as a new "stacked" styling
(both added to framework codebase)
2012-08-27 16:15:41 +02:00
Ingo Schommer
e59aec3f6f
BUG Redirect to edit view after page revert in CMS ( fixes #7391 )
2012-08-27 14:19:40 +02:00
Ingo Schommer
cd8c3a0245
NEW Re-added SilverStripeNavigator styling
2012-08-27 11:53:57 +02:00
Ingo Schommer
8442ed0ecd
i18n for report table title (see #7798 )
2012-08-26 23:58:38 +02:00
Ingo Schommer
59546ccf11
Localized page name in "add page" dialog and dropdowns (see #7798 )
2012-08-26 23:58:38 +02:00
Ingo Schommer
6b6dfaed7b
Fixed i18n namespace for "Sync Files"
2012-08-26 23:58:38 +02:00
Ingo Schommer
0ec269f1bd
Merge branch '3.0-translation-compatibility-fixes' of git://github.com/tractorcow/silverstripe-cms into tractorcow-3.0-translation-compatibility-fixes
...
Conflicts:
code/controllers/CMSMain.php
2012-08-23 22:53:27 +02:00
Naomi Guyer
4fdc76d904
BUG: Installer templates
...
Installer was feeing the title "Title" to the template. Template
rearranged for usability concerns (people were missing the email and
password when going to the CMS login page)
2012-08-22 13:52:33 +12:00
Damian Mooyman
7807842eb1
FIXED: Additional issue where the add-page ajax parameters wouldu incorrectly concatenate additional query parameters into the add action url. Resolved by moving URL concatenation from view to controller where Controller::join_links is available
2012-08-21 15:50:03 +12:00
Ingo Schommer
2e791abad2
Better i18n for "new page" label ( fixes #7796 )
...
Also using better standard name for auto generated
page names ("Page" instead of "Site Tree", "Pages" instead of "Site Tres" [sic])
2012-08-20 22:25:18 +02:00
Sean Harvey
c019f22163
Fix notice when ErrorPage tries to create static error pages and can't write
2012-08-20 15:23:46 +12:00
Ingo Schommer
f5007a5536
Allow extension of "add" link in CMS
...
First use case is the "translatable" module
2012-08-16 09:29:51 +02:00
Will Rossiter
4bbd90487b
BUG fix getting translated string for page type description ( Fixes #7781 ).
2012-08-12 14:44:48 +12:00
Ruud Arentsen
18a40b4b5d
BUG Adding siteconfig translations
...
translations were not added in the same translation group, and the
translation module didn't work. Also commited changes in the translation module, which will need this commit.
2012-08-10 10:16:39 +02:00
Will Rossiter
24ce0c199a
Merge pull request #174 from adrexia/add-archive
...
BUG: Missing preview archive version button (fixes 7656)
2012-08-09 02:57:59 -07:00
Damian Mooyman
a6087f1d4e
FIXED: Issue where links within the CMS page list view would not be correctly generated. E.g. when the translatable module is used, page links for the "show children" action would come up as admin/pages/?locale=en_NZ?ParentID=21&view=list when they should be shows as admin/pages/?locale=en_NZ&ParentID=21&view=list. Uses Controller::join_links to perform the necessary sanity check on urls.
2012-08-08 17:04:17 +12:00
Kirk Mayo
03e4893b15
BUG: Fixing a issue with a undefined variable in getLink
2012-08-08 16:39:10 +12:00
Ingo Schommer
39a9093715
BUG SiteTree->provideI18nEntities() limited to class
...
Called for each subclass by the collector,
so we don't need to aggregate here.
In fact, its harmful because it causes entities
to be placed in the wrong definitions file.
The <class>.DESCRIPTION entity was always placed in cms/lang/en.yml,
regardless of the original location of the file containing the class.
2012-08-06 14:28:04 +02:00
Ingo Schommer
671c7daa4c
SiteConfig load/save with ID in CMS
...
Allow loading a SiteConfig by ID (by specifying $tree_class),
and pass the ID through with the form data. Unifies processing
with SiteTree, and allows the Translatable module
to use the same logic for interacting with the load/save process.
2012-08-06 09:36:25 +02:00
Ingo Schommer
9076286162
SiteTree->CMSEditLink()
...
Mainly to make it compatible with the Translatable
extension linking to existing translations of it,
but also to make it work similarly to the SiteTree logic elsewhere.
2012-08-05 20:52:22 +02:00
Will Rossiter
5938ab06ba
Merge pull request #165 from silverstripe-droptables/search-form-fix
...
BUG: Check for the parameter existence.
2012-08-04 23:18:45 -07:00
Andrew Short
21bcc01878
ENHANCEMENT: Made the tree search form more extensible.
...
- Use DataQuery for generating the search query.
- For custom field matching, use searchcontext rather than a LIKE query.
- Added an extension hook for updating the search form.
2012-08-05 18:05:46 +12:00
Marcus Nyeholt
97d678b258
BUGFIX Provide default constructor value to filesystem publisher so that singleton calls (which don't pass params) don't fail
2012-08-05 18:02:13 +12:00
Naomi Guyer
7c0e38707c
BUG: Missing preview archive version button (fixes 7656)
...
Added missing preview button
2012-07-31 17:49:59 +12:00
Hamish Friedlander
4c91a56277
Merge in changes from 3.0.1 final
2012-07-31 16:52:55 +12:00
Hamish Friedlander
c96101654d
BUG 15e2efb55d broke the Page ListView.
2012-07-28 15:43:13 +12:00
Hamish Friedlander
6d5d3d19b4
Merge remote-tracking branch 'origin/3.0'
2012-07-25 11:46:14 +12:00
carlos barberis
f7b6f1de5a
BUGFIX: ticket #5239 - Infinite loop: live subpage of draft page redirects onto itself when called just by url segment
2012-07-23 17:06:37 +12:00
Mateusz Uzdowski
ee2b1a9070
BUG Check for the parameter existence.
...
The specific situation is if the SearchForm.ss is overriden, and the
$SearchQuery parameter is used in the template. This will throw a Notice
in case the form is rendered without searching.
2012-07-20 14:04:52 +12:00
Ingo Schommer
2ad40e1ba7
Merge remote-tracking branch 'origin/3.0'
2012-07-18 13:55:46 +02:00
Ingo Schommer
abc87a4f8f
Localized CMS breadcrumbs title
2012-07-18 13:51:30 +02:00
Kirk Mayo
b15fabaf0d
BUG: open ticket 5880 always show the current page type in the page type dropdown list
2012-07-16 14:56:24 +12:00
Ingo Schommer
69e4fa072a
Toggle metadata fields in SiteTree->getCMSFields()
...
To save space, reduce clutter and deemphasize the fields.
Partially fixes #7405 , needs better design though.
2012-07-15 21:29:46 +02:00
Ingo Schommer
b93e2bbee2
Remove .ss-tabset class from CMSMain forms, confuses tab state setting.
...
It is already applied to the parent template container,
which means that tab state finds two nested sets,
setting the wrong id (#Root instead of #pages-controller-cms-content
2012-07-13 17:37:35 +02:00
Ingo Schommer
84ad9b55f0
BUG Retain page search state on list view actions ( fixes #7648 )
...
The ".action-detail" link behaviour overloads GridField's
showDetailForm() method, which in turn appends any query params
to the URL (including the existing search params).
2012-07-13 12:15:25 +02:00
Ingo Schommer
b74178e7fd
BUG Reload full view in admin/settings to avoid tabs breaking
...
Had the pjax "CurrentForm" marker set to the <form> tag,
which makes sense, but excludes the tabs. On refresh,
the tabset wasn't reinitialized, showing all form elements on
one page. Its easier to simply refresh the whole content area.
2012-07-13 11:00:21 +02:00
Mateusz Uzdowski
54fd54a2fb
BUG Change all shortcodes into the new, comma separated, format.
...
Ref http://open.silverstripe.org/ticket/7337
2012-07-12 17:57:38 +02:00
Ingo Schommer
8055fc2e7b
FIX Corrected page edit links in reports
2012-07-12 16:30:17 +02:00
Ingo Schommer
57c615d6b2
NEW Reinstated filters in ReportAdmin
...
- Moved report table generation back to its original location in Report->getCMSFields(),
in order to keep it customisable rather than duplicating it in ReportAdmin.
- Using History.js to set URL state and reload panel
- Namespacing filter GET parameters in order to only include them in URL state
2012-07-12 16:19:23 +02:00
Ingo Schommer
d77c43d6c7
BUG CMS pages list view link targets ( fixes #7589 )
...
Previously broken in e7ecdf4b35
2012-07-10 10:43:07 +02:00
Devlin
e0c92f135e
Display of last edit date should be exact to the minute.
2012-07-09 16:20:36 +03:00
Julian Seidenberg
63ad68a7d3
BUGFIX: fixing an edge-case bug where a 404-page would get statically published and overwrite the homepage of the site (this would sometimes happen when a RedirectorPage was set to an external URL and still referenced an internal page ID)
2012-07-09 13:20:58 +12:00
Ingo Schommer
d1bc7219a8
Merge branch '3.0'
2012-07-05 17:53:35 +02:00
Ingo Schommer
89079c4ca0
Checking for existence of 'Locale' data in CMS controllers
...
Only applies for Translatable extension installed
2012-06-29 14:22:24 +02:00
Sam Minnee
040f780a15
BUG: Allow children on RedirectorPage (Trac #7587 )
2012-06-29 16:24:20 +12:00
Naomi Guyer
ef651d9d93
ENHANCEMENT: Add GridfieldLevelup component to files area
2012-06-26 13:35:38 +02:00
Ingo Schommer
bb5e3e5fbd
MINOR Remove DB dependency from SiteTree->provideEntities()
...
Use class manifest instead, which provides same level of info,
and means we can run the text collector on bare checkouts
without a database set.
2012-06-25 14:01:19 +02:00
Hamish Friedlander
34ee111ff7
Merge pull request #152 from sminnee/trac-7174
...
REMOVE: Remove action handler for widgets. (Trac #7174 )
2012-06-21 19:40:03 -07:00
Hamish Friedlander
8c05f3554f
BUGFIX: Add batch handler status messages ( fixes #7427 )
...
7427 was mostly fixed by Ingos previous patch. But two batch actions, delete from draft site and delete from published site werent returning
status messages. Abstracted out the status preperation code that the batch actions that were returning status messages were using, and
used that to add status messages to the problem two
2012-06-22 14:09:52 +12:00
Sam Minnee
3fbf57245c
REMOVE: Remove action handler for widgets. (Trac #7174 )
...
The widget functionality has been moved into a module, and this URL handler was the last of the code still in the core app related to widgets. As well as this commit, there is a related change to the silverstripe-widgets module to add this feature there: 025ee424c4
2012-06-22 14:05:27 +12:00
Will Rossiter
facc8ba653
MINOR: restore backlinkcount into cms module. (removed from framework in 266a61221c
)
2012-06-20 16:27:47 +02:00
Ingo Schommer
4986355e3f
MINOR Simplified page type dropdown labels, removed redundant info ( fixes #7474 )
2012-06-15 16:22:27 +02:00
Ingo Schommer
c8052da5b8
BUGFIX Corrected page history pane loading ( fixes #7477 )
2012-06-15 12:50:54 +02:00
Sam Minnee
e7ecdf4b35
BUGFIX: Fixed page tree view
2012-06-15 16:38:55 +12:00
Sam Minnee
792c9058fa
BUGFIX: Fixed DataList operations to respect the fact that they're idempotent.
2012-06-15 15:30:08 +12:00
Ingo Schommer
3c81958345
MINOR Only set folder field state in AssetAdmin if a folder is shown
2012-06-14 20:21:28 +02:00
Ingo Schommer
a64cf8c27b
BUGFIX AssetAdmin->delete() is now allowed, and redirects to parent folder automatically
2012-06-14 20:21:04 +02:00
Ingo Schommer
eaf05a6a7c
BUGFIX AssetAdmin root navigation ( fixes #7448 )
...
Return a new object instance rather than relying on singleton(),
which might've been modified elsewhere, and have a non-zero ID/ParentID.
2012-06-14 09:42:55 +02:00
Ingo Schommer
6581831396
MINOR Disable parent node search in CMSPageAddController
...
The search <input> field can't handle HTML returned by SiteTree.TreeTitle, see #7455 for proposed fix
2012-06-13 16:11:35 +02:00
Ingo Schommer
eccfc1a664
Merge branch 'stylingfixes' of https://github.com/ajshort/silverstripe-cms into ajshort-stylingfixes
2012-06-13 13:24:12 +02:00
Andrew Short
a6cee248e0
BUGFIX: Consistently style custom defined page icons.
...
* Renamed generateTreeStylingCSS() to generatePageIconsCSS().
* Removed legacy icon definitions.
2012-06-13 17:46:43 +10:00
Ingo Schommer
e50936fe9f
MINOR Added caching to SiteTree->getStatusFlags(), as its called twice for every node now in LeftAndMain->SiteTreeAsUL() (see #7410 )
2012-06-12 19:35:15 +02:00
Ingo Schommer
bc2fb3c900
Merge pull request #147 from ajshort/silverstripe-cms
...
---
2012-06-12 00:35:21 +02:00
Andrew Short
cdea489fcb
BUGFIX: Catch and display validation errors when adding a page.
2012-06-11 23:19:59 +10:00
Andrew Short
1c5dae9748
MINOR: Always include tree CSS so tree icons are consistently styled.
2012-06-11 21:24:58 +10:00
Ingo Schommer
ca9f4f6f6f
Merge branch 'pjax-multiple'
2012-06-05 14:01:20 +02:00
Ingo Schommer
8b8de0564c
BUGFIX Don't filter AssetAdmin list view when showing detail view ( fixes #7408 )
2012-06-05 13:42:38 +02:00
Ingo Schommer
b5254862a2
MINOR Added feedback after creating page ( fixes #7297 )
2012-06-04 09:57:40 +02:00
Ingo Schommer
ad7c443255
ENHANCEMENT Saving tab state for CMSPagesController
2012-05-30 16:04:51 +02:00
Ingo Schommer
c9fc7cda65
ENHANCEMENT Declaring Pjax fragments on CMS templates and forms
2012-05-30 15:06:54 +02:00
Sean Harvey
9c697f4f52
BUGFIX Fixed regression in ListViewForm not showing listChildrenLink
2012-05-30 22:12:26 +12:00
Marcus Nyeholt
9f51c87884
MINOR Use injector to create controllers in ModelAsController
2012-05-30 15:09:25 +10:00
Sean Harvey
ad28780959
MINOR Use shorthand syntax for DataList querying
2012-05-28 21:05:24 +12:00
Sean Harvey
808819ec3b
BUGFIX Themes dropdown in SiteConfig::getCMSFields() should use setEmptyString() as the $emptyString argument is now deprecated.
2012-05-24 14:38:00 +12:00
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
7ed09917ac
BUGFIX Fixing incorrect URL to edit canonical page on VirtualPage
2012-05-22 17:44:01 +12:00
Ingo Schommer
1614bc4505
MINOR Removed unknown "cancel draft" button icon ( fixes #7333 )
2012-05-20 14:20:59 +02:00
Sean Harvey
60e7a5960f
MINOR Adding default text to SAVEDUP entity
2012-05-18 16:54:33 +12: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
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
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
Andrew Short
6b87a6edfa
MINOR: Updated getResponseNegotiator visibility to match changed parent API.
2012-05-12 16:08:10 +10: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
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
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
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
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
f7661780d3
MINOR Added padding to CMSSettingsController view
2012-05-08 00:53:26 +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
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
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
Ryan O'Hara
ad1f7c1f76
ENHANCEMENT: Add Watermark for preview states (TRAC-7214)
2012-05-04 11:50:09 +12: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
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
38f1236b1f
MINOR Switching _t() calls from sprintf() to using injection parameters ( #7170 )
2012-05-01 22:05:19 +02:00
Ingo Schommer
9f1668505b
MINOR Remove usage of deprecated array access on SQLQuery in SiteTreeFolderExtension
2012-05-01 17:58:14 +02:00
Sean Harvey
a610a8c5e9
BUGFIX Fixing ListViewForm using setDisplayFields on GridField, not the component
2012-05-01 15:50:06 +12:00
Sean Harvey
7c54c60311
MINOR Rename setModel to setDataModel due to API changes
2012-05-01 14:46:48 +12:00
Robert Curry
db3332e629
MINOR: Modify VirtualPage to work with lazy loading.
2012-05-01 09:38:20 +12:00
Ingo Schommer
98a0331a48
BUGFIX Fixed "add page" action when invoked through tree context menu (and removed URL hardcoding in JS) ( fixes #7155 )
2012-04-30 16:42:45 +02:00
Ingo Schommer
8c1651ec59
MINOR Using GridField instead of TableListField for SiteTree->getCMSFields() DependentPages ( fixes #7239 )
2012-04-30 16:10:24 +02:00
Ingo Schommer
a73e45769a
ENHANCEMENT Titles for lozenges in page tree for more context ( fixes #7206 )
2012-04-30 14:56:42 +02:00
Sean Harvey
614f307a37
ENHANCEMENT When loading CMS, ensure that "Parent page" tree dropdown is
...
either hidden or shown depending on initial "Page location" state
2012-04-23 21:02:29 +12:00
Julian Seidenberg
8ad93a197e
BUGFIX: check for abstract classes when automatically registering SS_Report classes. Abstract classes are now no longer included in the list of Reports. Includes unit test for this scenario.
2012-04-20 16:32:39 +12:00
Robert Curry
7850499687
ENHANCEMENT: Part of fix to #7010 . Change to some gridfield calls to setDisplayFields and friends.
2012-04-19 12:07:10 +12:00
Ingo Schommer
8a72b32e95
API CHANGE Moved Widget API to new module ( https://github.com/silverstripe/silverstripe-widgets ), incl. WidgetArea and WidgetAreaEditor classes
2012-04-18 23:21:59 +02:00
Ingo Schommer
4fd757341a
MINOR Consistent link method names: LeftAndMain->PreviewLink() changed to LinkPreview()
2012-04-18 22:59:31 +02:00
Ingo Schommer
e5000dd330
MERGE List view breadcrumbs
2012-04-18 21:14:14 +02:00
Ingo Schommer
ca853d73f2
ENHANCEMENT Renamed "Content" tab in SiteTree->getCMSFields() to "Main Content" to distinguish it from the top-level "Content" tag
2012-04-18 16:28:07 +02:00
Ingo Schommer
0f7dd7922f
API CHANGE Removed $controller context from SiteTree->CMSTreeClasses(), now handled through closures in the specific LeftAndMain usage instead (to handle separate contexts for links and determining "current page")
2012-04-17 22:59:11 +02:00
Ingo Schommer
6aeac37906
API CHANGE Combined "Pages" and "Edit Page" into a single menu entry
...
ENHANCEMENT Namespaced tree search parameters in CMSMain, in order to detect more reliably if a filter has been applied. Changing page search form to standard pushState behaviour, same as ModelAdmin (for both tree and list view).
MINOR Refactored list view loading
2012-04-17 22:59:08 +02:00
Andrew O'Neil
4057956a8b
MINOR: Use ajax to load reports
2012-04-16 11:17:55 +12:00
Ingo Schommer
52e69dd1fd
MINOR Removed usage of deprecated $priority argument for _t()
2012-04-15 16:49:31 +02:00
Ingo Schommer
2dc0e72c00
ENHANCEMENT Caching expensive CMSMain->SiteTreeHints() call on disk
2012-04-15 16:49:31 +02:00
Ingo Schommer
d9c4aa8583
MINOR Using new DataObject::fieldLabels() caching in SiteTree
2012-04-15 16:49:30 +02:00
Will Rossiter
4718f14ecc
MINOR: look for framework version in framework path rather than CMS path
2012-04-15 14:56:45 +12:00
Simon Welsh
c4e018928e
API-CHANGE sapphire folder can now be renamed.
2012-04-15 10:56:40 +12:00
Simon Welsh
b8e86ae261
MINOR Add newline to end of files without one
2012-04-15 10:56:40 +12:00
Will Rossiter
d4750c2a96
MINOR: group ShowInMenus and ShowInSearch check boxes. Fixes #6901
2012-04-14 18:16:47 +12:00
Will Rossiter
8531525789
MINOR: remove $template var as sapphire/07d2d52 will pick this up automatically
2012-04-14 18:15:49 +12:00
Ingo Schommer
dc0168d01b
MINOR Removed $params argument to DataObject->getCMSFields(), please use FormScaffolder directly ( fixes #7135 )
2012-04-13 15:55:32 +02:00
Ingo Schommer
2592d62a4c
Merge pull request #94 from silverstripe-big-o/report-fixes
...
ENHANCEMENT: replacing ReportAdmin report listing paginator with a new f...
2012-04-12 05:14:30 -07:00
Julian Seidenberg
203bfc9e99
ENHANCEMENT: replacing ReportAdmin report listing paginator with a new footer GridField component
2012-04-12 16:13:24 +12:00
Sean Harvey
6b3d8904e3
BUGFIX Fixed broken test LeftAndMain caused by createTag being called
...
statically in AssetAdmin, when it shouldn't be
2012-04-12 13:04:01 +12:00
Sam Minnée
117b8c3f97
Merge pull request #93 from halkyon/e_strict_fixes
...
E_STRICT compliance fixes for CMS module
2012-04-11 16:30:46 -07:00
Sean Harvey
8325d73665
MINOR Fixing method signatures not compliant with the parent
2012-04-12 11:23:15 +12:00
Sean Harvey
5e567cbf80
BUGFIX Declare StaticPublisher::set_static_publisher_theme() and
...
StaticPublisher::static_publisher_theme() as static, since they're only
called statically. This is a fix for E_STRICT compliance.
2012-04-12 11:21:21 +12:00
Sean Harvey
74b341ee56
MINOR Fixed stray newline at the top of CMSMain
2012-04-12 09:46:26 +12:00
Ingo Schommer
73a466c927
Merge branch 'integration'
2012-04-11 16:25:46 +02:00
Ingo Schommer
363dc9a4a9
MINOR Searching both Title and Filename in AssetAdmin ( fixes #7013 , see pull request #71 )
2012-04-11 16:18:38 +02:00
Ingo Schommer
57d7655f80
Merge pull request #91 from silverstripe-big-o/silverstripe-cms
...
---
...the designs.
Conflicts:
code/controllers/AssetAdmin.php
code/controllers/CMSMain.php
2012-04-11 16:17:51 +02:00
Ingo Schommer
bacbb8a8d0
Merge pull request #89 from halkyon/modelascontroller_fix
...
BUGFIX Removed double check of find_old_page() in ModelAsController
2012-04-11 06:41:40 -07:00
Ingo Schommer
59366769ae
Merge pull request #92 from ajoneil/estrict
...
MINOR: Fix E_STRICT warnings
2012-04-11 06:38:47 -07:00
Stig Lindqvist
587de186d0
Merge pull request #90 from halkyon/redirectorpage_changes
...
BUGFIX Adding RedirectorPage.js to cms module (was in sapphire) and swapping out old behaviour.js usage
2012-04-11 04:10:01 -07:00
Ingo Schommer
69e819a417
BUGFIX Moved 'rollback' logic back from CMSPageHistoryController to CMSMain (used in edit mode as well), removed unnecessary performRollback(), and introduced PJAX response handling to ensure the edit view is loaded correctly regardless of context (edit or history mode) ( fixes #7108 )
2012-04-11 10:19:54 +02:00
Sam Minnee
ca4e8e1bdb
BUGFIX: Fixed sort order of files and images GridField
2012-04-11 18:13:45 +12:00
Andrew O'Neil
12b30ff538
MINOR: Fix E_STRICT warnings
2012-04-11 18:09:11 +12:00
Normann Lou
81cc214f66
BUGFIX SSF-124 remove one of the duplicated 'Any' options which also cause that search on the second 'Any' broke.
2012-04-11 17:43:46 +12:00
Jeremy Bridson
778fd28877
BUGFIX:Trac #6854 / #7115 - aligned action buttons in filter panel with the designs.
2012-04-11 16:01:15 +12:00
Sam Minnee
7213d2b7dc
MINOR: Clarified meaning of SiteTree::
2012-04-11 15:48:17 +12:00
Sean Harvey
240627b504
BUGFIX Adding RedirectorPage.js to cms module (was in sapphire) and
...
fixing to use entwine/jquery instead of old behaviour
2012-04-11 15:32:41 +12:00
Sean Harvey
8b44955c6e
BUGFIX Removed double check of find_old_page() in ModelAsController
2012-04-11 14:51:33 +12:00
Normann Lou
7900da4d9d
MINOR SSF-168 add Pagination to the report list so it show the bottom bar
2012-04-11 12:44:11 +12:00
Normann Lou
7c44e95287
BUGFIX SSF-124 the $filterOn pass-as-reference variable name should be consist with where its value is altered so as the variable is correctly assigned
...
MINOR SSF-124 correct inline document
2012-04-11 12:18:58 +12:00
Normann Lou
3d0566638a
BUGFIX: SSF-124 filter on a value only if this value is not an empty string
2012-04-11 12:12:57 +12:00
Ingo Schommer
bc4208097f
Merge pull request #87 from halkyon/advancedsearchform_removal
...
API CHANGE Removed AdvancedSearchForm, extend SearchForm for custom adva...
2012-04-10 03:39:59 -07:00
Ingo Schommer
44f2b88bd4
Merge pull request #86 from halkyon/deprecated_fixes
...
MINOR Fixing deprecated ereg functions with preg in SideReport and Widget
2012-04-10 03:38:38 -07:00
Sean Harvey
55bbda3a39
API CHANGE Removed AdvancedSearchForm, extend SearchForm for custom advanced search functionality instead.
2012-04-10 22:35:15 +12:00
Ingo Schommer
f021b9eec1
BUGFIX Writing version in SiteTree->doRestoreToStage, regression from 9451993d ( fixes #7107 )
2012-04-10 12:27:08 +02:00
Sean Harvey
d914ee0f2c
MINOR Fixing ereg functions with preg in SideReport and Widget
2012-04-10 22:16:17 +12:00
Julian Seidenberg
5a18e3b4d3
ENHANCEMENT: SSF-124 making the links in the list view ajax history links, so they don't refresh the whole browser window
2012-04-10 15:48:53 +12:00
Andrew O'Neil
97482f8664
BUGFIX Fix Breadcrumbs in ReportAdmin
2012-04-10 14:49:19 +12:00
Julian Seidenberg
93f1696a66
BUGFIX: SSF-124 linking to the correct page edit form in the list view
2012-04-10 14:32:41 +12:00
Normann Lou
4a36b1e490
ENHANCEMENT SSF-124 finished ajax version of admin/pages/listchildren/ID in Pages admin
2012-04-10 14:14:58 +12:00
Andrew O'Neil
9888f980aa
ENHANCMENT: Link pages in reports to cms edit
2012-04-10 11:54:21 +12:00
Julian Seidenberg
8df5cd74fc
BUGFIX: SSF-168 fixing "print" and "export to CSV" button in Report Admin
2012-04-10 11:15:29 +12:00
Julian Seidenberg
151693409c
Revert "BUGFIX: SSF-168 fixing rendering issue in Chrome, which displays extra control at the bottom of the window in a report that is of a certain length"
...
This reverts commit 68aa59b25e
.
2012-04-10 09:58:58 +12:00
Ingo Schommer
76f4e6d93b
Merge branch 'master' into integration
2012-04-09 21:08:37 +02:00
Wolf Vollprecht
a18b9bd85e
ENHANCEMENT: Flyout menu to directly choose the pagetype one wants to add.
2012-04-09 21:08:15 +02:00
Ingo Schommer
4524d1c594
MINOR Fixed usage of deprecated Form->dataFieldByName()
2012-04-05 23:00:04 +02:00
Ingo Schommer
a6c586ae20
MINOR Using new PjaxResponseNegotiator in CMSMain
2012-04-05 22:27:47 +02:00
Ingo Schommer
3341a181c7
MINOR Using SS_HTTPRequest->isAjax() instead of deprecated RequestHandler API
2012-04-05 14:45:26 +02:00
Normann Lou
7d9873472b
ENHANCEMENT SSF-124 customise displayed fields of page list view, add children list view links
2012-04-05 17:33:37 +12:00
Julian Seidenberg
ea377b6012
BUGFIX: fixing URL suggestion when changing the name of a page
2012-04-05 16:39:56 +12:00
Normann Lou
8f5ec545ae
BUGFIX SSF-124 remove Notice level message
2012-04-05 15:57:18 +12:00
Normann Lou
50e50f712a
MINOR SSF-124 remove debug info
2012-04-05 15:47:41 +12:00
Normann Lou
f101595921
FEATURE SSF-124 first version of tree list view added
2012-04-05 15:39:46 +12:00
Julian Seidenberg
68aa59b25e
BUGFIX: SSF-168 fixing rendering issue in Chrome, which displays extra control at the bottom of the window in a report that is of a certain length
2012-04-05 14:48:51 +12:00
Julian Seidenberg
e43d0b4640
MINOR: SSF-168 adding additional class to grid field that displays all reports
2012-04-05 14:14:09 +12:00
Julian Seidenberg
44e64344f0
ENHANCEMENT: SSF-168 adding breadcrumbs to ReportAdmin
2012-04-05 13:19:17 +12:00
Julian Seidenberg
b1e286cb23
BUGFIX: SSF-168 fixing bug in report admin where back button didn't work
2012-04-05 13:04:59 +12:00
Normann Lou
c1b248e2cf
ENHANCEMENT SiteTree->getStatusFlags() which makes SiteTree->getTreeTitle() extensible
2012-04-04 23:02:53 +02:00
Ingo Schommer
de573e087d
MINOR Using late static binding instead of Object::create() calls
2012-04-04 18:29:11 +02:00
Andrew O'Neil
4c76c8563c
ENHANCEMENT: Use GridFields to show reports in the ReportAdmin
2012-04-04 17:58:29 +12:00
Normann Lou
029f83347b
BUGFIX: use getName() for FormField object since Name() has been deprecated in SilverStripe 3
2012-04-04 14:31:40 +12:00
Jeremy Bridson
a48254a66b
ENHANCEMENT:styling added to delete install files warning box
2012-04-04 13:27:01 +12:00
Sean Harvey
070c9c22aa
BUGFIX Removed used of deprecated Name() method in AssetAdmin
2012-04-04 12:05:38 +12:00
Julian Seidenberg
349a04d049
API-CHANGE: SSF-168 changing the API/code-conventions for excluding specific reports. get_reports method now returns an ArrayList instead of an array of SS_Reports.
2012-04-04 10:58:48 +12:00
Julian Seidenberg
ee220bbcce
API-CHANGE: SSF-168 initial rearranging the SS_Report class for use in SS3. Deprecating unnecessary methods, moving code around, rewriting get_reports method and writing unit tests
2012-04-03 18:06:35 +12:00
Ingo Schommer
651441225f
Merge pull request #80 from halkyon/e_strict_support
...
Fixes to method arguments in cms classes for E_STRICT support
2012-03-28 02:48:17 -07:00
Ingo Schommer
a4f56b98d2
Merge pull request #81 from halkyon/e_deprecated_fixes
...
Remove use of deprecated ereg_replace() and use preg_replace()
2012-03-28 02:47:09 -07:00
Ingo Schommer
1827dc6727
API CHANGE Removed SiteTree->HomepageForDomain and related functionality ($write_homepage_map and generate_homepage_domain_map()), use new 'homepagefordomain' module instead ( fixes #6902 )
2012-03-27 14:50:09 +02:00
Ingo Schommer
c6b259e856
MINOR Redirect to page edit view after rolling back to a specific version in CMSPageHistoryController ( fixes #6912 )
2012-03-27 14:50:09 +02:00
Sean Harvey
1ab76865ea
MINOR Remove use of deprecated ereg_replace() and use preg_replace() instead.
2012-03-27 22:52:33 +13:00
Sean Harvey
0ea9451014
MINOR Fixes to method arguments in cms classes for E_STRICT support.
2012-03-27 21:42:54 +13:00
Sean Harvey
7c9a1304a5
ENHANCEMENT Sort extension names by alphabetical order in CMSFileAddController::getEditForm()
...
ENHANCEMENT Ensure _t() used for "Allowed extensions" english text.
2012-03-27 13:45:43 +13:00
Sean Harvey
9e54124145
ENHANCEMENT Indicate which file extensions are allowed to be uploaded when choosing a file to upload.
2012-03-27 10:18:05 +13:00
Sean Harvey
10f030de67
BUGFIX When adding a top level folder in AssetAdmin, ensure you are
...
taken back to the top level folder view. Currently there is a non-object
error adding a root level folder.
2012-03-27 09:54:47 +13:00
Sam Minnee
42b7ab1930
BUGFIX: Prevent JS errors when widget area is loaded (note: doesn't actually fix it fully yet)
2012-03-24 16:38:34 +13:00
Will Rossiter
a39231f952
MINOR: add icon to ajax button in AssetAdmin
2012-03-24 14:30:10 +13:00
Matt Gunn
4e9cbe0771
Prevents notice error when parent page isn't set
2012-03-24 13:56:05 +13:00
Ingo Schommer
6876c9a802
BUGFIX CMSMain->delete()/deletefromlive() consistently show page in "archive mode", rather than empty form (or 404 response) ( fixes #6973 )
2012-03-12 13:57:38 +01:00
Ingo Schommer
3248da02ce
MINOR Simplified ajax/non-ajax responses in CMS. Browsers handle 3xx Ajax responses transparently, so a CMS redirect (and some smartness in the JS state handling) is enough, no conditionals required.
2012-03-12 13:45:10 +01:00
Ingo Schommer
a097266ded
BUGFIX CMSMain->delete()/deletefromlive() return to "Pages" overview when permanently deleting the record (= no readonly view available)
2012-03-12 13:26:43 +01:00
Ingo Schommer
44a4e8a840
MINOR Fixed "Pages" breadcrumbs not to include root node, since its already in the tree panel
2012-03-12 11:52:39 +01:00
Ingo Schommer
454a6e891d
ENHANCEMENT Allow adding new pages under specific nodes via tree context menu
2012-03-12 11:40:43 +01:00
Ingo Schommer
6768628606
MINOR Fixed "parent mode" default selection for "add page" panel, added CSS class for easier styling
2012-03-12 10:54:14 +01:00
Normann Lou
50b4605b30
BUGFIX #6939 : fixed bug that disable a newly created page from doing futher action and left hand menu lost js handler
2012-03-12 10:27:38 +01:00
Normann Lou
f56e39e521
MINOR : add 'doAdd' as allowed_actions
2012-03-12 10:27:24 +01:00
Andrew O'Neil
038bb1c9bb
BUGFIX: Fix edit form after adding a page.
2012-03-12 10:27:17 +01:00
Andrew O'Neil
59981982f4
MINOR: Switch edit and delete buttons on file gridfield
2012-03-12 10:27:05 +01:00
Sam Minnee
0542696d47
MINOR: Added i18n support for 'Choose where to create this page' part of add page UI.
2012-03-10 14:32:50 +13:00
Ingo Schommer
4225c0a966
MINOR Flattened AddForm and SiteConfig CMS logic, moved from base classes to specialised classes for better overview, and less inheritance where its not necessary.
2012-03-09 23:35:43 +01:00
Ingo Schommer
04a195b111
MINOR Stop using FormResponse, which has been removed from core
2012-03-09 23:20:09 +01:00
Ingo Schommer
0633c10075
API CHANGE Removed CMSMain->getpagecount() unused helper method (should be a report, anyway)
2012-03-09 23:13:27 +01:00
Ingo Schommer
22cd47cc84
MINOR Removed unused CMSMain->sendFormToBrowser()
2012-03-09 23:07:44 +01:00
Ingo Schommer
055b3b9799
API CHANGE Removed CMSMain->SideReportsForm() and related functionality, now handled by dedicated ReportAdmin interface
2012-03-09 23:07:31 +01:00
Mark Stephens
463ee0c5f7
ENHANCEMENT: added option to add page to top level
2012-03-09 18:07:35 +13:00
Sam Minnée
aaa52d59e6
Merge pull request #67 from silverstripe-scienceninjas/pull/6921-renaming-of-gridfields
...
Pull/6921 renaming of gridfields
2012-03-08 17:50:31 -08:00
Stig Lindqvist
ec06f1db8e
API CHANGE Renamed GridFieldDefaultColumns to GridFieldDataColumns #6921
2012-03-09 14:08:43 +13:00
Sam Minnee
4c7f3e0836
BUGIFX: Use limit() instead of deprecated getRange() in AssetAdmin.
2012-03-09 13:53:28 +13:00
Stig Lindqvist
b8399aa85e
API CHANGE: Renaming of gridfield components #6921
2012-03-09 12:54:30 +13:00
Ingo Schommer
439b9c1f29
ENHANCEMENT Removing notion of "root" identifier string for the base folder in AssetAdmin, using 0 explicitly = clearer logic. Fixed breadcrumbs to work with this as well.
2012-03-08 22:18:07 +01:00
Ingo Schommer
8fb2755c5b
MINOR Defaulting upload dir to /assets rather than /assets/Uploads in CMSFileAddController when viewing root folder
2012-03-08 22:17:05 +01:00
Ingo Schommer
a30a615de4
MINOR Extending CMSFileAddController off LeftAndMain to fix problems with inherited templates (wrong .cms-content styling when requesting via ajax, due to inherited AssetAdmin templates)
2012-03-08 21:18:39 +01:00
Ingo Schommer
1789287bd2
MINOR No longer using iteratorproperties() directly
2012-03-08 20:25:51 +01:00
Ingo Schommer
1d6d24671c
Merge branch 'integration'
...
Conflicts:
code/controllers/AssetAdmin.php
2012-03-08 20:13:53 +01:00
Ingo Schommer
ce5204f2f8
MINOR Respect permission failures from parent implementation in CMSPageHistoryController
2012-03-08 20:02:15 +01:00
Ingo Schommer
79269a22ed
MINOR Moved CMSMain->RootForm() to CMSSettingsController (same effect, but clearer structure)
2012-03-08 18:24:35 +01:00
Ingo Schommer
c94308d21d
MINOR Implemented "Add new" link in CMSPagesController
2012-03-08 18:24:35 +01:00
Ingo Schommer
f085583b61
ENHNANCEMENT Creating folders via (faster) JavaScript prompt in AssetAdmin, implicitly fixing AssetAdmin->doAdd() layout issues after submitting
2012-03-08 18:24:33 +01:00
Ingo Schommer
c226554b5a
MINOR Adjusted AssetAdmin to GridFieldAction_ * class renames
2012-03-08 15:25:45 +01:00
Ingo Schommer
3670fe0530
ENHANCEMENT Show AssetAdmin breadcrumbs+tabs outside of search+editform panels
2012-03-07 17:02:08 +01:00
Ingo Schommer
9981c929e0
MINOR Fixed breadcrumbs in CMSFileAddController
2012-03-07 17:01:08 +01:00
Ingo Schommer
915dc7f27c
MINOR Fixed wrong "add folder" css class + behaviour
2012-03-07 14:37:12 +01:00
Ingo Schommer
12124fdae0
MINOR Simplified "Meta" field labelling in SiteTree->getCMSFields() (removed header)
2012-03-07 13:48:52 +01:00
Ingo Schommer
b29a7540a2
MINOR Fixed usage of deprecated FormField->describe() API
2012-03-07 13:32:44 +01:00
Normann Lou
434dbdb286
MINOR SSF-30 : add extra class to Tab (GalleryView) to AssetAdmin EditForm
2012-03-07 16:52:29 +13:00
Normann Lou
ecb31ce30a
MINOR SSF-30 : add extra field to Tabs (listView and TreeView) to LeftAndMain EditForm
2012-03-07 14:28:57 +13:00
Ingo Schommer
b6f73eb290
MINOR Title for "sync files" button
2012-03-06 11:25:41 +01:00
Julian Seidenberg
adefc15e5a
API-CHANGE: SSF-33 Adding "look for new files" trigger. Removing the legacy implementation of SyncForm and replacing it with an implementation that can be triggered via ajax.
2012-03-06 18:22:31 +13:00
Hamish Friedlander
1d608c0b94
BUGFIX: Dont need (and cant call) iteratorProperties calls as workaround any more
2012-03-06 10:15:18 +13:00
Sam Minnée
703ac7b47e
Merge pull request #62 from silverstripe-scienceninjas/master
...
BUGFIX: SiteTree#getCMSFields would only calculate local variable $linkedPages if ID was valid, but would then refer to that variable regardless
2012-03-05 13:08:22 -08:00
Ingo Schommer
e0a67a80c7
BUGFIX Restored old permission code model, broken due to new controller structure. Introduced LeftAndMain::$required_permission_codes as a way to control permissions independently of subclasses, and "cluster" multiple classes under a single code.
2012-03-05 18:42:44 +01:00
Ingo Schommer
e938c60e9a
ENHANCEMENT Using chosen.js selection instead of a TreeDropdownField to select groups in SiteConfig->getCMSFields() and SiteTree->getCMSFields()
2012-03-05 18:42:42 +01:00
Sam Minnée
26689cdf40
Merge pull request #63 from oddnoc/6828-canonical-tag-virtual-page
...
ENHANCEMENT #6828 — Add a canonical link tag to the meta tags of Virtual Pages
2012-03-02 12:25:58 -08:00
Ingo Schommer
fbbbc9f0bc
MINOR Fixed breadcrumbs for CMSSettingsController
2012-03-02 20:45:44 +01:00
Ingo Schommer
d1581c2b9b
ENHANCEMENT Refactored AssetAdmin to use SearchContext for filtering records, rather than relying on GridFieldFilter - less coupling to one view (we also have gallery and tree views), and more flexible filtering on columns/criteria which are not present in GridField
2012-03-02 20:45:34 +01:00
Fred Condo
10c171f1bb
ENHANCEMENT #6828 (Trac): Add a canonical link tag to the meta tags of Virtual Pages
...
See http://support.google.com/webmasters/bin/answer.py?hl=en&answer=139394
2012-03-02 10:59:15 -08:00
Ingo Schommer
7125af918d
BUGFIX Fixed CMSFileAddController upload in custom folders
2012-03-02 15:43:22 +01:00
Ingo Schommer
18e612e65b
MINOR Moved CMSMain.GridField.js logic into LeftAndMain.js (applies to all CMS interfaces), fixed event bugs with GridField overloading in AssetAdmin.js
2012-03-01 00:19:34 +01:00
Ingo Schommer
6860c5dd9f
MINOR Consolidated AssetAdmin->FilterForm() button styling and labels with CMSMain
2012-02-29 21:06:21 +01:00
Ingo Schommer
e96d6f5bd5
MINOR Linking breadcrumbs to root node via AssetAdmin->Breadcrumbs()
2012-02-28 20:11:07 +01:00
Ingo Schommer
f78ab9097a
MINOR Reinstated getting current record ID from session in AssetAdmin in order to allow routing to GridFieldPopupForms detail views (admin/assets/show/99 vs admin/assets/EditForm/field/...)
2012-02-28 20:10:39 +01:00
Andrew O'Neil
80fe9c8864
MINOR: SSF-106 Include cms gridfield javascript hooks
2012-02-28 15:58:19 +01:00
Ingo Schommer
5a69985a52
Merge branch '106-add-edit-records'
2012-02-28 00:22:49 +01:00
Ingo Schommer
f216c783c6
Merge remote-tracking branch 'silverstripe-scienceninjas/pull/SSF-12'
2012-02-23 23:39:06 +01:00
Ingo Schommer
09fd710dd4
MINOR Combining CSS in CMS, added AssetAdmin styles
2012-02-23 23:15:37 +01:00
Ingo Schommer
c582f08ea3
MINOR Ensuring a valid Folder object is returned from AssetAdmin->currentPage() to avoid breaking AssetAdmin->getEditForm(), e.g. when a GridField search is conducted
2012-02-23 23:15:37 +01:00
Ingo Schommer
c7c2a2c409
ENHANCEMENT New "add folder" logic for AssetAdmin
2012-02-23 23:15:37 +01:00
Ingo Schommer
71c7664c95
MINOR Moved AssetAdmin-specific fields from Folder->getCMSFields() to AssetAdmin->getEditForm(), added button icons and toolbar
2012-02-23 23:15:35 +01:00
Ingo Schommer
5a6ed1a603
MINOR Backlink for "Add files" UI
2012-02-21 21:17:56 +01:00
Stig Lindqvist
876c809a7d
ENHANCEMENT Filterpanel for assetadmin
2012-02-21 16:02:54 +13:00
Ingo Schommer
f620f9b46c
MINOR Using <button> tags for CMS UI, and new 'data-icon' HTML5 attribute to denote icons
2012-02-17 15:30:37 +01:00
Hamish Friedlander
3b0ab9b0a0
BUGFIX: SiteTree#getCMSFields referenced $linkedPages even if $linkedPages wasnt set
2012-02-17 12:06:12 +13:00
Ingo Schommer
8c503069b8
MINOR Removed jQuery.metadata usage in CMS, use jQuery.data() and HTML5 data attributes instead. Also fixes errors where jQuery.metadata tries to eval() HTML5 data attrs, which isn't always applicable
2012-02-16 18:06:48 +01:00
Ingo Schommer
68e9e91a78
ENHANCEMENT New panel styling for AssetAdmin and CMSFileAddController (SSF-24)
2012-02-16 13:59:29 +01:00
Ingo Schommer
93b3fe8a23
API CHANGE Removed unused AssetTableField, handled by GridField now
2012-02-16 13:59:29 +01:00
Ingo Schommer
1301df00d6
MINOR Button styling for "Settings" form
2012-02-16 12:35:13 +01:00
Ingo Schommer
38cf7e5c4d
ENHANCEMENT Using new "tools" panel architecture to render CMS templates, which e.g. allows CMSPageEditController to reload the form without the tree in the side-by-side display variation, and hence avoids slowing down the loading and saving process
2012-02-15 14:28:07 +01:00
Ingo Schommer
f88d4006f8
ENHANCEMENT CMSMain->Breadcrumbs()
2012-02-14 16:11:38 +01:00
Ingo Schommer
023902c4cc
MINOR Unsetting any current record state in CMSPagesController, as it doesn't deal with records (and it wrongly highlights the current tree node)
2012-02-14 16:00:48 +01:00
Ingo Schommer
c96e2ba7ca
API CHANGE Removed ThumbnailStripField class, as it was only used for the CMS image insertion logic (which was rewritten with a more powerful file selection based on GridField)
2012-02-14 13:32:58 +01:00
Cam Findlay
21289128bb
MINOR SiteTreeURLSegmentField has new methods to aid in displaying URL prefix and secondary information text ( fixes #6852 )
2012-02-14 11:12:47 +01:00
Fred Condo
d99e3a0927
Code cleanup: removed trailing ?> markers per code standard.
...
All cms module except lang directory.
2012-02-13 12:48:41 -08:00
Will Rossiter
adcb0a5c73
MINOR: remove duplicate controller folder
2012-02-11 16:29:06 +13:00
Will Rossiter
c958147609
MINOR: update HTTPResponse to SS_HTTPResponse. Ensure ID is casted as int when displaying in error message
2012-02-11 15:50:09 +13:00
Will Rossiter
8fe767b5f2
FEATURE: move breadcrumbs out to a customizable template
2012-02-11 15:13:51 +13:00
Will Rossiter
95f35cc0d2
Merge pull request #59 from simonwelsh/master
...
BUGFIX Page location radio buttons update ParentID accordingly
2012-02-10 17:18:25 -08:00
Simon Welsh
a519411629
BUGFIX Page location radio buttons update ParentID accordingly
2012-02-11 14:13:38 +13:00
Will Rossiter
01cef8a86d
Merge pull request #54 from jthomerson/allow_different_homepage_url_master
...
ENHANCEMENT: Allow the homepage to have a different URL.
2012-02-10 17:08:16 -08:00
Will Rossiter
50ff9b6962
ENHACEMENT: include sitetree on the CMSPage editing screen
2012-02-11 14:02:22 +13:00
Stig Lindqvist
6d37826305
MINOR getEditForm should have the same signature as inherited classes (PHP strict standard)
2012-02-10 23:16:09 +01:00
Simon Welsh
fd39ed20a7
BUGFIX Preview button URL had wrong case for stage parameter.
2012-02-10 13:41:40 +13:00
Jeremy Thomerson
3c3b27d3cb
ENHANCEMENT Allow the homepage to have a different URL
...
If you changed the URL segment for your homepage to anything other than 'home'
a new homepage would be created every time you ran a dev/build. This commit
allows you to call RootURLController::set_default_homepage_link('something');
to change the URL segment for your homepage to 'something'. After doing this
the dev/build process will no longer create a homepage if you already have a
page with 'something' as the URL segment.
There was a discussion of needing this at
http://www.silverstripe.org/general-questions/show/12253
2012-02-03 03:24:00 +00:00
Ingo Schommer
acd2f6bacf
API CHANGE Removed AssetAdmin metadata upload capabilities, please use the new UploadField inline editing support
...
EHNAHCEMENT Moved AssetAdmin->upload() and related functionality to new UploadField class
2012-02-03 00:11:11 +01:00
Ingo Schommer
71220ee99f
API CHANGE silverstripe_version file now contains the plain version number, rather than an SVN path
2012-02-01 18:42:13 +01:00
Ingo Schommer
908a98b55b
API CHANGE Default to /admin/pages rather than homepage edit view when CMS is first opened ( #6762 )
2012-01-24 14:20:55 +01:00
Ingo Schommer
36a867f737
MINOR Documentation
2012-01-24 14:20:55 +01:00
Jeremy Thomerson
82bb4ca2f5
Add a deprecation-friendly version of the prepopulate_permission_cache function
...
Add a function with the old function name that adds a deprecation warning for
users but forwards the call to the renamed function for backwards-compatibility.
2012-01-23 15:23:42 -05:00
Jeremy Thomerson
a5c6bc6ee1
Fix typo in function name
...
There was a function named "SiteTree::prepopuplate_permission_cache" which
should be "SiteTree::prepopulate_permission_cache".
2012-01-23 14:28:55 -05:00
Wolf Vollprecht
f8f5a36640
ENHANCEMENT 6631 Visual grouping of FormAction
2012-01-18 03:18:11 +01:00
Ingo Schommer
a570e2f2a0
API CHANGE Publish ex-VirtualPage records when their page type changes, propagate type change to live (AIR-78) BUGFIX Remove extraneous database rows when changing a page from VirtualPage to another type (AIR-78)
2012-01-14 13:07:48 +01:00
Ingo Schommer
9101a75123
MINOR Code formatting and docs in VirtualPage (no functional changes)
2012-01-14 11:24:40 +01:00
Ingo Schommer
0e4e8034d6
BUGFIX Validate SiteTree::$can_be_root on saving, as well as for VirtualPage originals (AIR-80)
2012-01-14 11:20:54 +01:00
Ingo Schommer
062e3b6a0c
MINOR Provide addition tree hints for VirtualPage original page type (AIR-81)
2012-01-14 11:13:17 +01:00
Ingo Schommer
87c318d168
BUGFIX Don't create new version on related VirtualPage records in SiteTree->onAfterWrite() when the write was triggered through writeWithoutVersion(). Use a new $_nextWriteWithoutVersion flag replacing the -1 Version number for this purpose (AIR-97) (see similar commit in sapphire)
2012-01-14 11:11:21 +01:00
Stig Lindqvist
7de585103f
BUGFIX: Can't upload files to root folder
2012-01-10 14:02:19 +13:00
Stig Lindqvist
1f190eb698
BUGFIX: Return a RootForm for AssetAdmin so Form get the correct Fields on POST
...
Solves issues with GridField and uploading on the root folder (/assets/)
2012-01-10 14:01:25 +13:00
Ingo Schommer
60129f61da
ENHANCEMENT Added new CMSFileAddController
2012-01-09 21:21:12 +01:00
Ingo Schommer
d88075edea
MINOR Disabling empty requirement in CMSMain
2012-01-06 17:59:02 +01:00
Ingo Schommer
6bff69117a
MINOR Better combination of i18n JS files in CMSMain
2012-01-06 12:12:41 +01:00
Ingo Schommer
6887b88099
MINOR Selection bugfixes for CMSMain.AddForm.js, more efficient tree metadata
2012-01-05 23:17:12 +01:00
Ingo Schommer
6dd0535442
MINOR Only set current record in CMSMain->AddForm() if its not the homepage - not ideal, but root is the more likely default given the information at hand
2012-01-05 23:17:12 +01:00
Ingo Schommer
167bc045fe
MINOR Making page drop down searchable on CMS add form, and ensuring that the default page option is showing first
2012-01-05 13:45:07 +01:00
Ingo Schommer
4140ddad5e
MINOR Using new DataList API for DependentPages in SiteTree->getCMSFields()
2012-01-04 18:06:04 +01:00
Ingo Schommer
8da0defa27
MINOR Using new triangle/step markup in AddForm
2012-01-03 22:55:59 +01:00
Ingo Schommer
f8d1523823
MINOR Moved EditorToolbar() from CMSMain to LeftAndMain (as we don't support loading link forms via ajax)
2012-01-03 22:55:56 +01:00
Ingo Schommer
e35991b363
MINOR Misc styling fixes around dialogs and "add page" styling
2012-01-03 17:57:04 +01:00
Ingo Schommer
7a1e25ba71
MINOR Shorter tree title badges
2011-12-29 10:30:21 +01:00
Ingo Schommer
4c36b52579
Merge pull request #45 from wolfv/silverstripe-cms
2011-12-29 10:11:22 +01:00
Ingo Schommer
ee2c8003db
MINOR Merge error
2011-12-29 09:53:18 +01:00
Wolf Vollprecht
5d5b5ed07c
Tabbed out if
2011-12-22 15:30:46 +01:00
Wolf Vollprecht
afecc6b20b
ENHANCEMENT: #6579 Show page status in page tree
2011-12-22 15:11:41 +01:00
Ingo Schommer
1914f0b29d
MINOR Checking for existence of defaultParent in CMSMain->SiteTreeHints()
2011-12-20 18:21:45 +01:00
Ingo Schommer
0d008b6496
ENHANCEMENT Allowing to add pages from main interface, in addition to dialog triggered from admin/pages (through CMSPageAddController)
2011-12-20 17:45:07 +01:00
phalkunz
ac79934077
ENHANCEMENT Render page tree icons as stylesheets rather than $_TREE_ICONS JS definitions. Removed file/folder swapping of SiteTree::$icon, use relative file path including extension instead.
2011-12-19 14:03:42 +01:00
Ingo Schommer
023ac994e9
MINOR Making allowed_actions explicit on some core controllers (thanks cbarberis, fixes pull request #1 )
2011-12-19 14:03:42 +01:00
Ingo Schommer
f4c3ad23de
Merge pull request #35 from silverstripe-scienceninjas/pull/SilverStripeNavigatorItem-merge-error
...
BUGFIX $date is not set on SilverStripeNavigatorItem_ArchiveLink
2011-12-18 09:20:49 -08:00
Ingo Schommer
4c8f6e7f4d
MINOR Reduced HTML validation errors in CMS
2011-12-18 16:59:49 +01:00
Will Rossiter
e17b4a185a
MINOR: update PageTypes to use updated tab path for CMS fields. Fixes #6811
2011-12-17 16:46:26 +13:00
Ingo Schommer
9540e248e7
MINOR Removed unnecessary variable declaration in SiteTree (thanks mattclegg)
2011-12-17 01:50:15 +01:00
Ingo Schommer
8d3d71027e
MINOR Remove JavaScript validation handler from CMS, it doesn't work with ajax
2011-12-14 12:41:04 +01:00
Ingo Schommer
020f480256
MINOR Using <span> instead of <del>/<ins> in SiteTree->getTreeTitle() to avoid conflicting styles with jstree
2011-12-12 23:10:48 +01:00
Ingo Schommer
c380af6836
BUGFIX Including HTMLEditorConfig::include_js() in LeftAndMain instead of CMSMain for loading consistency.
2011-12-12 22:56:10 +01:00
Ingo Schommer
b4eda409c2
ENHANCEMENT Replaced client side URL filtering in CMS with ajax callbacks to new SiteTreeURLSegmentField, in order to align with extended server side logic (and avoid pre-filtering values too heavily before passing them to the server). Removed suggestions from client side user confirmation.
2011-11-14 15:29:19 +01:00
Ingo Schommer
81aeb8d378
ENHANCEMENT Using new URLPathFilter API in SiteTree->generateURLSegment(), allowing customisation of URL filtering and transliteration
2011-11-14 12:28:25 +01:00
Stig Lindqvist
735e646626
BUGFIX $date is not set on SilverStripeNavigatorItem_ArchiveLink
...
This bug was introduced from a bad merge
2011-10-31 12:15:22 +13:00
Ingo Schommer
c5323547b8
BUGFIX Fixed loading of full page template via ajax in CMSPageHistoryController, which causes infinite loops in CMS initialization
2011-10-29 22:04:40 +02:00
Ingo Schommer
d66a47271d
MINOR Implemented CMSMain->PreviewLink() (moved from LeftAndMain)
2011-10-29 22:04:40 +02:00
Ingo Schommer
ae4dcc41e4
MINOR Replaced calls to deprecated FormField->Name() with getName()
2011-10-29 22:04:39 +02:00
Sam Minnee
0c0d0d8695
BUGFIX: Don't call addFieldToTab on a tab.
2011-10-29 18:08:13 +13:00
Sam Minnee
5b8f6edaec
MINOR: Use SS_Map::keys() and SS_Map::values() instead of array_keys() / array_values()
2011-10-29 17:41:52 +13:00
Sam Minnee
1f34973da1
MINOR: Use leftJoin() / innerJoin() instead of join().
2011-10-29 17:41:52 +13:00
Sam Minnee
3acffaa5bb
MINOR: Removed use of deprecated FieldSet in favour of FieldList.
2011-10-29 17:41:51 +13:00
Sam Minnee
4e7cb308d5
MINOR: Use Deprecation class to indicated deprecated methods in cms.
2011-10-29 17:41:06 +13:00
Sam Minnée
d63bcb63ae
Merge pull request #30 from frankmullenger/master
...
Removing Unpublish button from CMS when canDeleteFromLive() returns false
2011-10-28 21:34:13 -07:00
Sam Minnée
7394c31a44
Merge pull request #32 from stojg/release/new-orm-cleanup
...
Release/new orm cleanup
2011-10-28 21:33:48 -07:00
Will Rossiter
c34ef60d82
BUGFIX prevent calling function on null record
2011-10-29 15:46:38 +13:00
Stig Lindqvist
d81b46f141
MINOR Fixed some inline documentation
2011-10-27 20:24:46 +02:00
Stig Lindqvist
d799c80cc5
API CHANGE Changed name from DataObjectSet to either ArrayList or DataList
2011-10-27 20:24:45 +02:00
Stig Lindqvist
05e90838c0
API CHANGE Switch usage from FieldSet to FieldList
2011-10-27 20:24:45 +02:00
Ingo Schommer
51a81bb258
MINOR Removed individual Requirements calls in CMSMain->init() in favour of Requirements::combine_files(), to avoid duplication and hard to debug behaviour differences due to changed file inclusion orders between non-live and live systems
2011-10-11 09:56:25 +02:00
Ingo Schommer
9016204dec
Merge branch 'candidasa-cms-enhancements'
2011-10-11 09:36:53 +02:00
Frank Mullenger
916309e6c6
BUGFIX returning false from canDeleteFromLive() for a DataObject did not remove the Unpublish button from CMS, but the Unpublish action returned an error. Fixes #6731 .
2011-10-08 17:14:54 +13:00
Ingo Schommer
a93994f59e
BUGFIX: Better handling of non-existent records in delete calls (if button is clicked twice)
2011-10-07 12:15:41 +02:00
Sam Minnee
32ab772615
BUGFIX: Use SSReport::description() (by sminnee, merged from r100009)
2011-10-07 12:08:12 +02:00
Ingo Schommer
f7d322a004
BUGFIX Marking fields as readonly in CMSMain->compareversions() before loading data, to avoid loading invalid values (HTML diffs) into the fields (AIR-39)
2011-10-07 12:07:46 +02:00
Ingo Schommer
093eb6cd53
MINOR Checking for success of file upload before trying to add metadata in AssetAdmin->doUpload() (AIR-37)
2011-10-07 12:02:16 +02:00
Ingo Schommer
089973803b
MINOR Using increase_memory_limit_to() in CMSMain->buildbrokenlinks()
2011-10-07 12:01:25 +02:00
Ingo Schommer
de13f144fa
MINOR Argument checks in AssetTableField->getCustomFieldsFor() (AIR-40)
2011-10-07 11:58:34 +02:00
Ingo Schommer
3809c1614f
API CHANGE Require ADMIN permissions for performance-heavy tasks in CMSMain: getpagecount() and publishall(), and using increase_time_limit_to() which respects higher max_execution_time settings
2011-10-07 11:14:55 +02:00
Ingo Schommer
f98bc8480c
BUGFIX Respect writeWithoutVersion() when updating VirtualPage relationships in SiteTree->onAfterWrite() (AIR-97)
2011-10-07 11:12:52 +02:00
Ingo Schommer
21d10ad32f
BUGFIX Consistently returning a record from VirtualPage->CopyContentFrom(), even if pointing to a non-existant ID (AIR-77)
2011-10-07 11:09:10 +02:00
Sam Minnee
5d235fa9f7
ENHACEMENT: Improved caching of permissions for improved CMS perfromance for non-admins (merged from r102278)
2011-10-07 10:36:56 +02:00
Sam Minnee
d64e847534
BUGFIX: Don't turn virtual pages green if their source is deleted from draft and then reverted (merged from r100926 and r100928)
2011-10-07 10:07:38 +02:00
Ingo Schommer
f368686adc
MINOR Documentation
2011-10-07 10:06:06 +02:00
Sam Minnee
6fc01394a6
API CHANGE: Added VirtualPage::$non_virtual_fields and VirtualPage::$initially_copied_fields for configuring the behaviour of virtual pages. (merged from r100463)
2011-10-07 10:05:32 +02:00
Ingo Schommer
987eedf9ba
BUGFIX Don't fail SiteTree::batch_permission_check() is no published pages exist
2011-10-07 09:38:35 +02:00
Ingo Schommer
e26d249d60
BUGFIX Consistently resetting Subsite::$disable_subsite_filter to its original state (if the module is installed)
2011-10-07 09:38:11 +02:00
Ingo Schommer
6ab1340680
BUGFIX Using SiteTree->getSiteConfig() instead of SiteConfig::current_site_config() in SiteTree::batch_permission_check() to avoid cases where multiple variances of SiteConfig need to be considered (e.g. when using the subsites module) (AIR-59)
2011-10-07 09:34:53 +02:00
Ingo Schommer
1fcc987b78
MINOR Documentation for SiteTree::batch_permission_check()
2011-10-07 09:34:28 +02:00
Ingo Schommer
45f857e042
MINOR Removing class comparison in SiteTree->canCreate() (mainly in order to enable overloading via SiteTreeSubsite->canCreate())
2011-10-07 09:31:29 +02:00
Ingo Schommer
4903fad537
BUGFIX Checking for SiteTree:: in SiteTree->getClassDropdown() (AIR-20)
2011-10-07 09:29:03 +02:00
Ingo Schommer
922dd126c6
MINOR Allowing TRUE vetoes in SiteTree->augmentValidURLSegment() (in addition to the existing FALSE vetoes)
2011-10-07 09:19:40 +02:00
Ingo Schommer
2dd96a4050
API CHANGE Checking for SiteTree::$allowed_children in SiteTree->validate() (was only checked via JavaScript before).
...
BUGFIX Ensure that VirtualPage $allowed_children are checked on original classes to avoid allowing more than necessary (AIR-38)
2011-10-07 08:59:23 +02:00
Ingo Schommer
d03724e116
BUGFIX Disable subsites filtering in File->BackLinkTracking() if module is installed (AIR-66)
2011-10-07 08:59:23 +02:00
sminnee
e57be3f6e4
API CHANGE Always allow users with ADMIN permissions to view or edit SiteConfig
...
git-svn-id: http://svn.silverstripe.com/modules/sapphire/branches/airnz/iteration3@89049 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-10-07 08:59:23 +02:00
ajshort
a54963d954
API CHANGE: Replaced DataObjectSet instances with ArrayList.
2011-10-07 08:51:54 +02:00
Sam Minnee
ddcbd650d4
BUGFIX: Fix bugs introduced by the expectation of having a DataModel.
2011-10-07 08:51:54 +02:00
Sam Minnee
9398fcaaa1
BUGFIX: Fix SiteTree broken link correction to handle the fact that relations aren't cached.
2011-10-07 08:51:53 +02:00
Sam Minnee
f2ed229be4
API CHANGE: Removed context object - it's a hack.
2011-10-07 08:50:52 +02:00
Sam Minnee
d3ca4dac5b
BUGFIX: Updated models to suit minor changes in the new ORM.
2011-10-07 08:50:51 +02:00
Ingo Schommer
2ef1ae397a
MINOR Fixed method signature on batch actions
2011-10-04 13:24:01 +02:00
Julian Seidenberg
1bf34b3bfb
MINOR: changing label text to match design
2011-09-30 12:49:34 +13:00
Julian Seidenberg
a7527eef9c
ENHANCEMENT: using CSS3 to do number label in dialog box (SSO-8)
2011-09-30 12:48:34 +13:00
Julian Seidenberg
2c4b1271c7
ENHANCEMENT: CSS styling of "Create Page" dialog box and adjusting dialog title to be consistent with label of button that creates it (SSO-8)
2011-09-29 13:10:56 +13:00
Ingo Schommer
9c22a87b9a
ENHANCEMENT Removed unnecessary "Edit Page > Reports" controller, feature will only be available through a dedicated "Reports" interface
2011-09-19 21:50:15 +02:00
Will Rossiter
803adfce42
MINOR: removed direct access to $_REQUEST and instead encapulsate access through SS_HTTPRequest
2011-09-19 21:38:26 +02:00
Will Rossiter
010829f6fb
MINOR: added note to select two entries
2011-09-19 21:38:19 +02:00
Ingo Schommer
ab9d62b53c
MINOR Removed hardcoding of history ajax links
2011-09-19 21:34:46 +02:00
Ingo Schommer
10e76830c4
MINOR Fixed history panel non-ajax loading and version links in "comparing X and Y" titles
2011-09-19 21:06:39 +02:00
Will Rossiter
ecae94e8c2
MINOR: added unit test for checking whether viewing an unpublished version directly selects the checkbox option
2011-09-19 17:30:47 +02:00
Will Rossiter
11821f3e43
ENHANCEMENT: implemented further tests for CMSPageHistoryController::getEditForm()
2011-09-19 17:30:47 +02:00
Will Rossiter
18471e8878
ENHANCEMENT: added tests for CMSPageHistoryController::VersionsForm(). BUGFIX: fixed VersionsForm hidden ID storing a reference to itself. ENHANCEMENT: changed url structure from /version/ to /show/ for consistency between CMSPageHistoryController and CMSMain. APICHANGE: moved performRollback() from CMSMain to CMSPageHistoryController
2011-09-19 17:30:47 +02:00
Will Rossiter
f81531115f
ENHANCEMENT: added notice template for outputting notices to cmsmain interfaces.
2011-09-19 17:30:47 +02:00
Will Rossiter
d90ea0d236
ENHANCEMENT: implemented CMSPageHistoryController with comparsion view, single version view into new CMSMain API.
2011-09-19 17:30:46 +02:00
Ingo Schommer
d0b419c5a9
ENHANCEMENT Showing class names in ClassDropDown in not en_US ( fixes #6325 , thanks dhensby)
2011-09-19 14:40:01 +02:00
Ingo Schommer
5de2ba5628
MINOR Removing executable flag from all files (thanks miiihi)
2011-09-18 22:04:42 +02:00
Will Rossiter
b3721d718c
Merge pull request #26 from icecaster/patch-1
...
ENHANCEMENT: Added translatable call for search page type dropdown.
2011-09-15 19:50:43 -07:00
Ingo Schommer
2693f675db
ENHANCEMENT Testing new File.ShowInSearch flag, and adding it to AssetTableField view
2011-09-15 15:59:18 +02:00
Ingo Schommer
ad88e28907
BUGFIX Consistently using Convert::raw2sql() instead of DB::getConn()->addslashes() or PHP's deprecated addslashes() for database escaping
2011-09-15 14:24:47 +02:00
Tim Klein
7e1b8a834c
Changed Dropdown value to language specific to allow setting default to 'any'
2011-09-12 09:17:52 +12:00
Ingo Schommer
aefda19ffa
ENHANCEMENT Adding SilverStripe navigator to CMSMain->getEditForm() if not already present through LeftandMain->getEditForm() (in case custom $fields parameter is passed into the method)
2011-08-12 17:06:35 +02:00
Ingo Schommer
4eebf7f0be
ENHANCEMENT Shortened CMS button labels: "Delete from the draft site" -> "Delete draft", "Delete from the published site" -> "Delete", "Save and Publish" -> "Save & Publish". Renamed "Save" to "Save draft"
2011-08-12 17:06:35 +02:00
Ingo Schommer
07094f5b10
MINOR Removed temporary preview links in CMSPageEditController
2011-08-12 17:06:35 +02:00
Ingo Schommer
ab3fe3e638
ENHANCEMENT Implementing CMSPreviewable in SiteTree
2011-08-12 17:06:35 +02:00
Ingo Schommer
00cc6dd628
ENHANCEMENT More generic usage for SilverStripeNavigator (through new CMSPreviewable interface). Hiding certain items based on improved canView() logic.
2011-08-12 17:06:34 +02:00
Ingo Schommer
eecb401952
ENHANCEMENT Removed automatic redirection to admin URLs in ContentController, too counter-intuitive and hard to implement consistently, while still allowing linkage of pages without CMS around them.
2011-08-12 17:06:29 +02:00
Ingo Schommer
e13537e0a7
API CHANGE Refactored SilverStripeNavigator and SilverStripeNavigatorItem to instance-based utility classes, which take a DataObject record in the constructor rather than all of their methods (increasing template flexibility and code isolation).
...
ENHANCEMENT Added SilverStripeNavigatorItem->canView() for flexible permission control
MINOR Fixed duplicate priority overrides in SilverStripeNavigator
MINOR Removed unnecessary inline styling from SilverStripeNavigator HTML generation
2011-08-12 14:28:17 +02:00
Will Rossiter
9c40e495e2
MINOR: altered layout for SiteTree->URLSegment in getCMSFields()
2011-08-01 16:23:00 +12:00
Ed
ebb1e0f370
MINOR Additional HTML for tree styling in SiteTree->getTreeTitle()
2011-07-08 15:36:31 +02:00
Ingo Schommer
bb0574e214
MINOR Extra CSS classes in SiteTree->getCMSActions()
2011-07-08 15:36:31 +02:00
Ingo Schommer
2ab9a062b5
ENHANCEMENT Changing CMSMain->RootForm() (edits SiteConfig record) from being invoked on the tree root node to having its own section called "Settings" in the CMS menu (through a new CMSSettingsController class)
2011-07-08 15:36:31 +02:00
Ingo Schommer
17131f7a2a
MINOR Fall back to homepage record for CMSMain->PreviewLink()
2011-07-08 15:36:30 +02:00
Ingo Schommer
38db63c3b0
MINOR Clearer CSS classes in CMS controller templates, added $BaseCSSClasses to content templates in order to support partial template loads through ajax (instead of relying on stale CSS classes on the <body> tag)
2011-07-08 15:36:30 +02:00
Ingo Schommer
c4a99dfc09
MINOR Redirecting page links in CMSPagesController to CMSPageEditController (admin/pages/show/99 to admin/page/show/99)
2011-07-08 15:36:30 +02:00
Ingo Schommer
c4c3d21fa9
MINOR Using Form->forTemplate() to include <form> tags in controller actions on AssetAdmin and CMSMain (underlying clientside logic has changed)
2011-07-08 15:36:30 +02:00
Ingo Schommer
75ce441348
ENHANCEMENT Redirecting to cms preview in ContentController if user is logged in
2011-07-08 15:36:30 +02:00
Marcus Nyeholt
07487bf192
BUGFIX: Fixed issue where folderID wasn't being correctly resolved from request, thus making file upload permissions only ever checked against the 'root' folder
2011-06-29 10:41:35 +10:00
Will Rossiter
e3ad632231
BUGFIX: Escape username and password when printed out in install success screen. FIXES : #6652 (via ash).
2011-06-06 12:53:47 +12:00
mattclegg
2a13fa2b85
MINOR SiteTree documentation
2011-05-28 10:02:52 +12:00
Ingo Schommer
c196c47c52
MINOR Temporarily disabled deprecation notice in SiteTreeDecorator, to be re-enabled once we're in beta
2011-05-19 11:11:48 +12:00
Ingo Schommer
26151f2e4c
ENHANCEMENT Limiting page types based on SiteTree::$allowed_children in CMSMain.AddForm.js
2011-05-08 23:36:55 +12:00
Frank Mullenger
b4366c9ca9
ENHANCEMENT 'data-hints' attribute into root of CMSMain site tree, changed from 'allowedParents' to 'disallowedParents', 'allowedChildren' to 'disallowedChildren' for brevity ( fixes #6577 )
2011-05-08 16:27:20 +12:00
Ingo Schommer
42b31d4410
MINOR Adding temporary preview view to CMSPageEditController->getEditForm()
2011-05-02 11:45:27 +12:00
Ingo Schommer
e33576d23e
MINOR Grouping date search fields in CMSMain->SearchForm
2011-05-01 12:34:16 +12:00
Ingo Schommer
bf8bc1d856
MINOR Added CMSPageHistoryController, CMSPageReportsController, marked placeholders for new functionality in AssetAdmin
2011-04-30 16:49:36 +12:00
Ingo Schommer
8fe9283181
ENHANCEMENT Adding page ID as metadata in SiteTree->MetaTags() in order to provide context for CMS preview of pages
2011-04-28 22:49:35 +12:00
Ingo Schommer
51ba790f63
MINOR Correct stage URL in CMSMain->EditForm
2011-04-28 22:49:35 +12:00
Ingo Schommer
2d88b5321d
MINOR Combining JavaScript files for CMSMain
2011-04-28 22:49:35 +12:00
Ingo Schommer
9a09aaf42b
ENHANCEMENT Changed CMSMain->AddForm() to a modal dialog, showing page types and their descriptions as radiobuttons rather than a dropdown
2011-04-28 22:49:34 +12:00
Ingo Schommer
e2f4dd0b44
ENHANCEMENT Added SiteTree::$description to provide more context for content authors selecting a new page type
2011-04-28 22:49:34 +12:00
Ingo Schommer
beb9fe4b12
API CHANGE Removed CMSMain->getfilteredsubtree(), use getsubtree().
...
API CHANGE Removed CMSMain->SiteTreeFilters(), use CMSSiteTreeFilter_Search
2011-04-28 22:49:34 +12:00
Ingo Schommer
2c3dd5dd53
API CHANGE Removed CMSMainMarkingFilter, replaced a while ago by CMSSiteTreeFilter_Search
2011-04-28 22:49:34 +12:00
Ingo Schommer
09ad6dcaa6
ENHANCEMENT Showing full CMS search form (instead of toggling fields individually), removing metadata search fields (limiting to fields applicable in new designs)
...
API CHANGE Renamed CMSMain->SearchTreeForm() to SearchForm(), CMSMain->doSearchTree() to doSearch() (search can be used for list and gallery views as well)
API CHANGE Removed CMSMain->SiteTreeFilterOptions() and CMSMain::$site_tree_filter_options, moved to CMSMain->SearchForm()
2011-04-28 22:49:34 +12:00
Ingo Schommer
be6f56ad3c
MINOR Removed unused CMSActionOptionsForm
2011-04-28 22:49:34 +12:00
Ingo Schommer
b5a0c1c553
MINOR Removed unnecessary (and unsemantic) element classes from forms in AssetAdmin and CMSMain
2011-04-28 22:49:34 +12:00
Ingo Schommer
58416e5dea
ENHANCEMENT Added CMSPagesController
2011-04-28 22:49:34 +12:00
Ingo Schommer
53a62e7b8c
MINOR Moved 'access' field labels in SiteConfig->getCMSFields() and SiteTree->getCMSFields() from headlines to actual label elements in order to manage presentation easier
2011-04-28 22:49:33 +12:00
Ingo Schommer
91fbcf8f94
MINOR Added SASS files
2011-04-28 22:49:33 +12:00
Ingo Schommer
baa0c8afd4
MINOR Fixed Hierarchy extension detection in AssetAdmin->doAdd()
2011-04-28 22:49:33 +12:00
Ingo Schommer
1ae9a318af
MINOR Changed ReportAdmin to new ReportAdmin_Content template, viewing available reports as unordered list instead of a tree (they can't be nested anyway)
2011-04-28 22:49:33 +12:00
Ingo Schommer
8bee7a1290
MINOR Added markup semantics around constructive/destructive actions to SiteTree->getCMSActions()
2011-04-28 22:49:33 +12:00
Ingo Schommer
614fb06336
MINOR AssetAdmin support for new cms layout changes
2011-04-28 22:49:32 +12:00
Ingo Schommer
2e2e312da9
ENHANCEMENT Splitting up CMSMain into CMSPageEditController and CMSPageSettingsController
2011-04-28 22:49:32 +12:00
Ingo Schommer
8af9c546cf
BUGFIX Added support for $fields parameter in CMSMain->getEditForm(), don't require 'ClassName' field in save() as its not included in getCMSFields() any longer.
2011-04-28 22:48:56 +12:00
Ingo Schommer
7a50608e24
API CHANGE Splitting off "Behaviour" and "Access" tabs from SiteTree->getCMSFields() into SiteTree->getSettingsFields(). Adjusting functionality to split of SiteTree->getCMSFields() into getSettingsFields(), and new tab paths ("Root.Content" instead of "Root.Content.Main")
2011-04-28 22:48:55 +12:00
Ingo Schommer
53ed7c496e
MINOR Disallow nested ErrorPage instances via canAddChildren()
2011-04-28 22:48:55 +12:00
Ingo Schommer
c1d5e9baa7
API CHANGE Removed SideReport_ToDo report and "To-do" tab on SiteTree, please use the new silverstripe-page-todo module instead
2011-04-28 22:48:55 +12:00
Ingo Schommer
0661fa6ceb
MINOR Renaming CMSMenu entries
2011-04-28 22:48:55 +12:00
Ingo Schommer
4fe07e9b71
MINOR Using '.cms-edit-form' instead of '#Form_EditForm' selector
2011-04-28 22:48:55 +12:00
Ingo Schommer
7b655d6199
MINOR Moved cms/css into cms/css/_old for later reference, to prepare new CMS UI implementation
2011-04-28 22:48:54 +12:00
Ingo Schommer
7a124e1e63
Merge branch 'master' of github.com:silverstripe/silverstripe-cms
2011-04-27 19:38:24 +12:00
ajshort
57f47af6c0
Merge remote-tracking branch 'upstream/master'
2011-04-26 11:07:11 +10:00
Ingo Schommer
2039aaeb26
Merge branch 'master' of github.com:silverstripe/silverstripe-cms
2011-04-24 11:43:25 +12:00
Brian Waters
c9b5ae8b41
API CHANGE: Added SiteTree::get_create_default_pages().MINOR: Error pages no longer created on /dev/build if SiteTree::get_create_default_pages() is false. Fixes #6587 .
2011-04-23 17:52:53 +12:00
ajshort
6462c59f0f
API CHANGE: Renamed SiteTreeDecorator to SiteTreeExtension.
...
MINOR: Replaced references to decorators with extensions.
2011-04-15 19:37:15 +10:00
Ingo Schommer
470a2841a3
MINOR Removed redundant allowedParents information from siteTreeHints, already contained in allowedChildren
2011-04-07 21:57:57 +12:00
Ingo Schommer
60abe5fb9f
MINOR Moved files into a more logical structure in cms/code
2011-03-30 20:03:44 +13:00
Ingo Schommer
fb4efaa17e
MINOR Moving HTMLCleaner interface to sapphire (related to Diff class)
2011-03-30 16:24:32 +13:00
Ingo Schommer
8e6a38559e
MINOR Override CMSMain->CMSVersion() to check for cms/silverstripe_version
2011-03-29 21:35:00 +13:00
Ingo Schommer
7d9904d1f1
MINOR Moved Translatable::choose_site_locale() from LeftAndMain to CMSMain, its not necessary in other core controllers (other than specifically customized ModelAdmin instances)
2011-03-29 18:00:21 +13:00
Ingo Schommer
466add9bb2
API CHANGE Removed CMSBatchAction->getDoingText(), couples behaviour with view too tightly, and was replaced by graphical loading indication in CMS UI a while ago
2011-03-28 15:13:50 +13:00
Ingo Schommer
89055eeb2e
API CHANGE: Moved ManifestBuilder::get_themes() to SSViewer::get_themes(). (copied from 5c972b231d00117ca0cf4a32d08b59ed760256c6)
2011-03-28 09:03:07 +13:00
Ingo Schommer
4c52504727
MINOR: Replaced deprecated ClassInfo::is_subclass_of() calls. (copied from 969aa0b51e7418d17150653ccf37fe9815b74d45)
2011-03-28 09:03:07 +13:00
Ingo Schommer
9505be1e78
BUGFIX Using SiteTree->MenuTitle in SiteTree->getCMSFields() parent page tree field, to stay consistent with CMS tree ( fixes #6268 ) (copied from 2449a2b5c639384de75a55ef752e2efba8c513f3)
2011-03-28 09:03:07 +13:00
Ingo Schommer
3380bc6457
MINOR Removed unnecessary SiteTree->Status setting in ContentController, ErrorPage and SiteTree - now controlled via getters like isPublished() (copied from efe710e2d30c6cff8599a76de2b24f315b53a088)
2011-03-28 09:03:06 +13:00
Ingo Schommer
0bcb57dfb5
MINOR Fixed merge errors (copied from 31d7a00eb785b9a570b33994dfdec82b930db236)
2011-03-28 09:03:06 +13:00
Ingo Schommer
5da903e85f
MINOR Moved LeftAndMain->EditorToolbar() to CMSMain, as its only relevant here
2011-03-28 09:03:06 +13:00
Ingo Schommer
919c85d413
MINOR Moved CMSBatchAction class to sapphire module, but keeping SiteTree specific subclasses in cms
2011-03-28 09:03:06 +13:00
Ingo Schommer
5b0db7fdae
MINOR Added necessary requirements paths to CMSMain after moving files to sapphire/admin
2011-03-28 09:03:00 +13:00
Ingo Schommer
0dfbec8d2d
MINOR Moved LeftAndMain, SecurityAdmin, ModelAdmin and related functionality from 'cms' module to sapphire/admin
2011-03-28 09:03:00 +13:00
Ingo Schommer
f1e1cbe09b
MINOR Fixed test fixture paths and @package from 'sapphire' to 'cms'
2011-03-28 09:02:43 +13:00
Ingo Schommer
426f7e734f
API CHANGE Moved SiteTree->doRollbackTo() to Versioned class
2011-03-28 09:02:43 +13:00
Ingo Schommer
317ca6f96a
MINOR Added SiteTreeFolderDecorator and FolderUnusedAssetsField (moved functionality from Folder class in 'sapphire' module)
2011-03-28 09:02:42 +13:00
Ingo Schommer
dd6a86c1c1
MINOR Moved Widget, WidgetArea and related files from 'sapphire' to 'cms' module
2011-03-28 09:02:42 +13:00
Ingo Schommer
7b038db3be
MINOR Moved FileLinkTracking feature into new SiteTreeFileDecorator class in order to move it from 'sapphire' to 'cms'
2011-03-28 09:02:42 +13:00
Ingo Schommer
0b5e9ba132
MINOR Moved CurrentPageIdentifier from 'sapphire' to 'cms' module
2011-03-28 09:02:42 +13:00
Ingo Schommer
f407c18796
MINOR Fixed paths for SilverStripeNavigator resources (from sapphire/ to cms/)
2011-03-28 09:02:42 +13:00
Ingo Schommer
c660284236
MINOR Moved SilverStripeNavigator from 'sapphire' to 'cms'
2011-03-28 09:02:42 +13:00
Ingo Schommer
8c04bafb4e
MINOR Added class_exists() check for Translatable, which has moved into a new 'translatable' module
2011-03-28 09:02:41 +13:00
Paul Meyrick
766e652ca0
Minor Moved ContentControllerSearchExtension from sapphire/search/ to cms module
2011-03-28 09:02:19 +13:00
Paul Meyrick
d3c5a309bf
Minor Moved ErrorPage, RedirectorPage, SiteConfig, SiteTree, SiteTreeDecorator, VirtualPage from sapphire/core/model/ to cms module
2011-03-28 09:02:19 +13:00
Ingo Schommer
9b4f3aaf81
Minor Moved ContentController, ModelAsController, RootURLController, NestedController from sapphire/core/control/ to cms module
2011-03-28 09:02:19 +13:00
Paul Meyrick
c905bcb471
MINOR Moved AdvancedSearchForm, SearchForm from sapphire/search to cms module
2011-03-28 09:02:19 +13:00
Paul Meyrick
fa7da8f716
MINOR Moved Diff class to sapphire module
2011-03-28 09:02:19 +13:00
Ingo Schommer
6cfade0b3d
BUGFIX Allowing "batch action" selection in new jstree implementations (first draft, doesn't reflect success/fail state on nodes afterwards)
...
BUGFIX Passing native JSON array back from CMSBatchActionHandler in order to simplify clientside logic in LeftAndMain.BatchActions.js
2011-03-22 18:43:40 +13:00
Ingo Schommer
6e60314006
MINOR Adding classes and markup necessary to style tree before jstree.js loads
2011-03-22 18:43:39 +13:00
Ingo Schommer
91995ad73b
MINOR Disabled AssetAdmin form reload after uploading through iframe, relies on old tree.js library - UI will change anyway
2011-03-22 18:43:39 +13:00
Ingo Schommer
6a2fe5671b
MINOR Limited css scope for compare view styling to avoid clashes with jstree
2011-03-22 18:43:39 +13:00
Ingo Schommer
20427cd45b
MINOR Using 'apple' theme in tree (until we decide on a proper redesign)
2011-03-22 18:43:39 +13:00
Ingo Schommer
11071eabbd
BUGFIX Removed CSS classes duplication in <a> tags in LeftAndMain->getSiteTreeFor(), they're already applied to the parent list element, and confuse the styling of jstree.js
2011-03-22 18:43:37 +13:00
Ingo Schommer
fd3ae9100f
API CHANGE Replaced LeftAndMain->ajaxupdatesort() and LeftAndMain->ajaxupdateparent() with a combined LeftAndMain->savetreenode() (and a changed request parameter signature)
2011-03-22 18:43:37 +13:00
Ingo Schommer
4f0c5d115a
MINOR Added data-id=0 to root node in LeftAndMain->getSiteTreeAsUL()
2011-03-22 18:43:37 +13:00
Ingo Schommer
f53fe8193f
BUGFIX Fixed regular expression to trim off last "</ul>" tag in LeftAndMain->getsubtree(), switched from deprecated ereg_replace() to preg_replace
2011-03-22 18:43:37 +13:00
Ingo Schommer
57e1c41f15
BUGFIX Don't include firebug-lite.js by default in LeftAndMain->init()
2011-03-22 18:43:37 +13:00
Ingo Schommer
2d85a4596b
FEATURE Replacing custom tree.js with jstree thirdparty library
2011-03-22 18:43:34 +13:00
Ingo Schommer
fe126e1a23
BUGFIX Using UTF-8 compatible string parsing in CMSMain and MemberTableField for htmlentities() and htmlspecialchars() invocations
2011-03-21 18:22:31 +13:00
Ingo Schommer
3535dec032
MINOR Removed unused code from Diff
2011-03-21 18:21:26 +13:00