Commit Graph

1380 Commits

Author SHA1 Message Date
Sam Minnee
a4b74c8ff0 BUGFIX: Fixed issues with recent CMSMenu refactoring.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@84980 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-21 04:48:57 +00:00
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
b087ef99c5 MINOR moving inline css to a class
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@83698 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-04 04:41:32 +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
f7566166fb MINOR Removed unused ImprintStats.js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@82129 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-19 23:46:36 +00:00
Ingo Schommer
fc49748d4c MINOR Merged from branches/2.3-nzct
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@82093 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-17 02:24:55 +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
Will Rossiter
901c49c328 MINOR: merged r82000 into trunk
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@82002 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-16 03:59:40 +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
7147a863b8 BUGFIX Open selected node by default when entering batch actions to trigger loading of children and avoid "missed" nodes in any batch selection
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@81459 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-09 05:40:45 +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
119121b0f2 BUGFIX Open selected node and immediate child nodes when using batch actions to ensure that all nodes can actually be selected. This will optionally trigger ajax loading for further nodes
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@81457 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-09 05:36:24 +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
Sam Minnee
085d2e2cb0 BUGFIX #4328: Fixed drag and drop of files
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@81001 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-05 21:18:35 +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
Sean Harvey
cabf044700 BUGFIX Fixed file search in ThumbnailStripField not working because of incorrect ID
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@80790 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-07-01 23:34:39 +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
836ab09fc8 BUGFIX #2391: Removed pagination header when there are no records.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@80227 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-27 12:29:42 +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
Rainer Spittel
b6d739106c MINOR: removed typo in $lang['en_GB']['ModelAdmin']['CREATEBUTTON']
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@79593 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-18 23:48:17 +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
3f9fd08ceb BUGFIX #3560 ajshort: Hide the SiteTree access group selector when choosing "Inherit from parent page".
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@79366 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-16 22:23:29 +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
Sam Minnee
fb6b248501 MINOR: Added delete button styling to the "Delete the selected groups" button in SecurityAdmin.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@79360 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-06-16 10:40:35 +00:00