Commit Graph

603 Commits

Author SHA1 Message Date
Tom Rix
2367de0758 MINOR fixed SiteTree search in admin
APICHANGE added onAfterSave in LeftAndMain

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@84570 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-17 22:31:16 +00:00
Sam Minnee
a16ae60d59 API CHANGE: Refactor CMSMenu internals to not generate the menu item list until its actually needed, rather than from a CMSMenu::populate_menu() call in cms/_config.php. This lets an app/_config.php file actually manipulate the menu.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@84523 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-17 05:27:46 +00:00
Sam Minnee
9fbce63fa9 API CHANGE: If you can't create a given dataobject type, then don't show an import form in modeladmin
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@84521 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-17 05:26:34 +00:00
Tom Rix
15d75ad293 FEATURE concurrent editing alerts. if two users are editing a page, the will get a notice. If Bob deletes/saves the page Alice is working on, Alice will be notified.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@84231 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-12 21:19:04 +00:00
Andrew O'Neil
c68e3f8875 NOTFORMERGE: Merged r83631 from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@84119 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-11 01:08:29 +00:00
Andrew O'Neil
089483b2f4 NOTFORMERGE: Merged 84085 from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@84090 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-10 04:34:17 +00:00
Tom Rix
96d438f21e ENHANCEMENT added new permission, SITETREE_REORGANISE
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@84073 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-09 22:29:45 +00:00
Sam Minnee
2d97200a23 BUGFIX: Removed Requirements::combine_files() reference to non-existent cms/javascript/FilterSiteTree.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@84064 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-08 03:23:21 +00:00
Ingo Schommer
cc65638ed9 BUGFIX Using standard SQL and SSDatetime::now() in SideReport_RecentlyEdited (see #4052)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@83970 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-06 21:41:49 +00:00
Tom Rix
dc6d0dfad7 MINOR new sidereports for CMSWorkflow
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@83695 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-04 04:19:38 +00:00
Tom Rix
59f0eda007 MINOR removed development artefact
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@83675 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-04 03:10:19 +00:00
Tom Rix
6a0f21ca05 ENHANCEMENT sitetree filters now show up in a dropdown, and you can add your own by extending CMSSiteTreeFilter
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@83674 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-04 03:09:26 +00:00
Tom Rix
07a61a19a5 MINOR don't call TreeTitle on a node if it's being removed.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@83452 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-02 21:57:26 +00:00
Sam Minnee
037e73a8cb ENHANCEMENT: Dramatically improved performance of large-scale canEdit() and canDelete() checks, so that big sites can be supported in the CMS.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@83443 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-31 05:43:47 +00:00
Tom Rix
56281b7f3e MINOR prevent exceptions when the wrong object type is passed to LeftAndMain
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@82488 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-23 00:54:40 +00:00
Tom Rix
f1ab64fb50 ENHANCEMENT FilesystemPublisher no longer wipes out the whole cache, but removes pages that are not on the live site, but rebuilds the files one by one. It also now hooks into onAfterUnpublish() to remove files from the cache when they are removed from the CMS. If for some reason this fails, it will be picked up when a /dev/buildcache is done.
CHANGE default fileextension is now html (was null)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@82470 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-22 22:57:02 +00:00
Ingo Schommer
5d4ae0dde1 BUGFIX: autocomplete field should works on all config sub_item of a SecurityAdmin (merged from branches/2.3-nzct)
MINOR: the autocomplete field AjaxMemberLookup? should be only applied to the defined input field with has "text" class. This is for performance imporovement (merged from branches/2.3-nzct)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@82092 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-17 02:23:57 +00:00
Ingo Schommer
eebaebca0e BUGFIX Setting lang-code instead of locale in CMSMain->init() for TinyMCE spell checking
BUGFIX Always choosing translatable default language in CMSMain->init() for TinyMCE spell checking. Always setting $CMSMain->Locale in order to have it available for the spell checking

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@81716 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-13 21:11:03 +00:00
Tom Rix
ac589ba236 ENHANCEMENT STaticPublisher can now play nice with Subsites, you just need to set FilesystemPublisher::domain_based_caching to true.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@81683 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-13 04:42:02 +00:00
Sam Minnee
92ff4e149b BUGFIX: Removed redundant template_templates setting that couldn't be overridden.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@81593 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-10 03:56:39 +00:00
Sam Minnee
adeb3ea5ec BUGFIX If a page revision has no author, don't completely break the CMS when trying to view that revision
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@81463 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-09 05:41:42 +00:00
Sam Minnee
ed70de49b8 BUGFIX "Page type" dropdown for site tree filters is now sorted alphabetically, to be consistent with the "Create" page type dropdown list
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@81462 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-09 05:41:30 +00:00
Sam Minnee
0690d9f4a4 BUGFIX: Correct behaviour if CMSMain::tellBrowserAboutPublicationChange() isn't passed a status message
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@81461 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-09 05:41:12 +00:00
Sam Minnee
db01848417 BUGFIX Fixed FileSearch parameter in AssetTableField. Pagination of filtered search results and refresh of the tabular view after saving a popup wasn't working because the search parameter wasn't retained
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@81460 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-09 05:41:00 +00:00
Sam Minnee
fece6769fe ENHANCEMENT Query ajaxExpansion on tree nodes without node limitation on serverside (see Hierarchy->markPartialTree()) to avoid "missing" nodes during the selection
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@81458 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-09 05:36:47 +00:00
Sam Minnee
923bf6e103 BUGFIX: Call parent::__construct() from FilesystemPublisher::__construct()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@81172 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-07 01:27:51 +00:00
Sam Minnee
7580c94b9a BUGFIX: Allow more style attributes in WYSIWYG editor so that all of the formatting buttons work.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@81003 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-05 22:04:05 +00:00
Sean Harvey
00c8fd25d9 Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@80875 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-02 07:23:29 +00:00
Sam Minnee
9bc3f5fe2a ENHANCEMENT: Added manual Filesystem::sync() button to improve load time of admin/assets area.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@80783 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-01 22:28:06 +00:00
Sam Minnee
4854dddc0d MINOR #4227: Fixed typo in error message in CMSBatchActionHandler
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@80251 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-28 02:49:37 +00:00
Sam Minnee
5fd8cfd81d BUGFIX: Use increase_time_limit_to() and increase_memory_limit_to() for better safe-mode operation.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@80243 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-28 02:37:15 +00:00
Sam Minnee
2bd8782cdd MINOR ajshort: Removed call to deprecated Director site mode function.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@80056 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-25 08:20:59 +00:00
Rainer Spittel
e46075d3fb ENHANCEMENT: Refactored to handling of valid report-classes in ReportAdmin. Added new method to retrieve all valid report-class names (getReportClassNames) and updated 'canView', 'Reports', 'EditForm' and 'has_reports'.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@80034 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-25 05:14:25 +00:00
Saophalkun Ponlu
5cfcf03d11 FEATURE: Single instance only page (in the site tree). OS ticket #1554
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@79868 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-23 17:45:55 +00:00
Sam Minnee
1dd80edb8a MINOR: Fixed newlines and set svn:eol-style to native
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@79474 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-17 23:14:01 +00:00
Sean Harvey
d82ba048bf Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@79439 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-17 11:50:02 +00:00
Sam Minnee
02d9dd60e7 MINOR ajshort: Updated CMSMenu to use Object::get_static() to get configuration information.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@79361 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-16 10:40:39 +00:00
Sean Harvey
5daa1033d9 MINOR Removed commented out line referencing tiny_mce
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@79152 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-15 02:05:01 +00:00
Ingo Schommer
a3f3374205 BUGFIX Don't throw array error when no result columns are selected in ModelAdmin
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@78425 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-04 21:12:16 +00:00
Ingo Schommer
3095172519 MINOR Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@78169 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-01 21:14:29 +00:00
Ingo Schommer
a1f8fb3049 BUGFIX Fixed quoting in WidgetAreaEditor
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77991 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-27 21:26:07 +00:00
Ingo Schommer
40a2c3bb7c ENHANCEMENT Support for DataObject->validate() and ValidationException catching in ModelAdmin->doSave()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77855 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-26 06:01:36 +00:00
Sean Harvey
a1b04f1018 BUGFIX Ensure that CMSMainMarkingFilter::mark() always passes an integer into array_key_exists() or it will break
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77832 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-26 04:06:33 +00:00
Will Rossiter
bf7b7d09e7 FEATURE: added ability to display comments even when comments have been disabled. #2081
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77806 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-26 01:56:07 +00:00
Sean Harvey
0e4cccb979 Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77765 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-25 07:00:36 +00:00
Sam Minnee
646ed9342a BUGFIX: Fixed bugs in content differencer, and improved styling.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77661 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-23 03:30:57 +00:00
Sam Minnee
ef2c47feb8 BUGFIX: Fixed query syntax issues for db abstraction.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77556 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-21 05:11:14 +00:00
Sean Harvey
9207cbc2da Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77455 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-21 00:17:27 +00:00
Sam Minnee
8282a61ddf API CHANGE: Added record_controller and collection_controller as options that you can add to the managed_models array.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77402 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-20 10:03:11 +00:00
Rainer Spittel
fa69772112 ENHANCEMENT: encapsulated getResultsTable from ResultsForm in ModelAdmin_CollectionController
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@77158 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-05-19 03:25:47 +00:00