Commit Graph

970 Commits

Author SHA1 Message Date
Mateusz Uzdowski
8449c0420c BUGFIX: fixing typo
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105891 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-28 04:20:52 +00:00
Ingo Schommer
3315038ba1 MINOR: Fix documentation for Diff::cleanHTML (from r98477)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105864 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-28 02:38:27 +00:00
Ingo Schommer
b27f6649da FEATURE: Add HTMLCleaner abstract class, and Diff::cleanHTML() (from r98469)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105863 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-28 02:38:19 +00:00
Ingo Schommer
d98e20f5e6 MINOR Removed argument to getDescendantIDList() in ThumbnailStripField that doesn't exist on the method (from r98390)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105862 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-28 02:38:05 +00:00
Ingo Schommer
1eb1608707 MINOR Removed arguments to Hierarchy::getDescendantIDList() calls, as the method does not have any (from r98341)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105861 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-28 02:37:58 +00:00
Ingo Schommer
2423e7dc5c MINOR Documentation (from r98284)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105860 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-28 02:37:39 +00:00
Ingo Schommer
12e7d39f27 MINOR: Only clear theme in CMS if we're not redirecting to the login form (better for testing). (from r98264)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105859 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-28 02:37:30 +00:00
Ingo Schommer
850a9a9f6a BUGFIX: More fixes renaming SSReport to SS_Report (from r98218)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105856 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-28 02:35:56 +00:00
Ingo Schommer
0cecb21f50 API CHANGE: Introduced new API for SS_Report (from r98215)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105855 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-28 02:34:37 +00:00
Ingo Schommer
d1101b0150 MINOR set Print flag correctly on TLF
MINOR custom print template for SSReport TLF's that exposes the report title, and filters set (from r97138) (from r98208)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105852 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-28 02:32:34 +00:00
Ingo Schommer
1bff281924 MINOR fix dropdown labels (from r97063) (from r98206)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105851 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-28 02:32:19 +00:00
Ingo Schommer
b6a2a3746f BUGFIX: Better broken reason sorting (from r96989) (from r98205)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105850 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-28 02:32:13 +00:00
Ingo Schommer
76d18c140a BUGFIX: Allow changing direction in broken link type (from r96987) (from r98204)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105847 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-28 02:31:13 +00:00
Ingo Schommer
fc0f7640dc BUGFIX: Fix broken reasons sorting (from r96985) (from r98203)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105846 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-28 02:31:07 +00:00
Ingo Schommer
40efe4437b BUGFIX: Improvements to sorting of columns on broken links report (from r96979) (from r98202)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105845 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-28 02:30:59 +00:00
Ingo Schommer
12fb8f7996 MINOR: Change page title heading to "Page name" for consistency in CSV export (from r96925) (from r98200)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105844 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-28 02:30:51 +00:00
Ingo Schommer
65a35d92fc MINOR using better sorting api (from r96483) (from r98197)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105841 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-28 02:30:40 +00:00
Ingo Schommer
2e0afb879e MINOR fix sorting in this report. (from r96481) (from r98196)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105840 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-28 02:30:34 +00:00
Ingo Schommer
388d474870 MINOR make site checking clearer on broken links report (from r96456) (from r98195)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105839 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-28 02:30:27 +00:00
Ingo Schommer
8500e3149a MINOR typo fixes, adding missing columns (from r96433) (from r98193)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105838 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-28 02:30:17 +00:00
Ingo Schommer
e1242f0a26 API CHANGE: Added SideReportWrapper to help you tailor report columns for the side reports.
API CHANGE: Allow use of 'casting' option on side report columns.
API CHANGE: Make 'title' optional on side report columns. (from r96272) (from r98191)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105836 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-28 02:29:58 +00:00
Ingo Schommer
0a003df83e MINOR improved wording on reports (from r96258) (from r98189)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105835 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-28 02:29:04 +00:00
Ingo Schommer
95346c7a36 MINOR added broken links report (from r96139) (from r98187)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105834 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-28 02:28:38 +00:00
Ingo Schommer
d1246827d5 BUGFIX: Only list reports in admin/reports that you can actually view (from r95885) (from r98177)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105828 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-28 02:23:53 +00:00
Ingo Schommer
0389e784b2 API CHANGE: Removed SideReport class, use SSReport as the base-class for them instead.
API CHANGE: Use SSReport::register(SideReport) to explicitly register reports on the LHS of the content view.
BUGFIX: Updated all cms side reports to use SSReport as the base class. (from r95884) (from r98176)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105827 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-28 02:23:10 +00:00
Ingo Schommer
ce675197bb API CHANGE: Introduced new API for SS_Report (from r98215)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105808 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-28 01:35:53 +00:00
Ingo Schommer
5a41ff6b1f ENHANCEMENT: Improved look and feel for report filtering
ENHANCEMNT: Added export and print buttons to reports (from r95815) (from r98173)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105686 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-25 23:57:38 +00:00
Ingo Schommer
f4a545948f Nicer dates (from r95776) (from r98172)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105681 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-25 23:41:28 +00:00
Ingo Schommer
258f779587 MINOR: Nicer date formatting (from r95761) (from r98171)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105680 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-25 23:41:18 +00:00
Ingo Schommer
8cea5136d2 BUGFIX: replacing calls to deprecated Upload functions - using validator instead (related to r100057) (from r100496)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105640 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-25 04:48:57 +00:00
Ingo Schommer
5577dab2c5 MINOR Added jquery.metadata requirement to LeftAndMain::init()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105522 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-05-25 02:57:00 +00:00
Ingo Schommer
01b02969f9 MINOR Fixed phpdoc documentation
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@103384 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-23 00:11:32 +00:00
Ingo Schommer
21aa2c6729 ENHANCEMENT: Performance improvement to CMS load time with many pages. (from r95490) (from r98165)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102886 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 06:14:47 +00:00
Ingo Schommer
aaaaa86ca4 BUGFIX Using getRecord() instead of DataObject::get_by_id() in CMSMain->getEditForm() to fetch records deleted from stage or live (regression from jsrewrite feature branch)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102790 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 03:28:42 +00:00
Ingo Schommer
47dfe8b2ab ENHANCEMENT Redirecting to new record from LeftAndMain/CMSMain->doAdd() if not called via ajax
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102784 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 03:06:22 +00:00
Ingo Schommer
6c300f5659 MINOR added locking to static publisher to avoid two queues running at the same time. (from r87792) (from r98164)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102757 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 02:14:34 +00:00
Ingo Schommer
d87a65240f MINOR updated detection for an empty report (from r87362) (from r98160)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102755 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 01:52:02 +00:00
Ingo Schommer
ca7d87078f MINOR when you delete a user from a group, they are also removed from any sub groups. (from r87119) (from r98158)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102754 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 01:49:29 +00:00
Ingo Schommer
c1aa73b7cc MINOR applied correct decorators
MINOR Page.ss now takes advantage of the SiteConfig
FEATURE audit trails
MINOR fixed JS error around concurrent editing
MINOR ability to disable sorting on tablelistfield
MINOR added default timezone to static-main.php to avoid PHP warnings
MINOR only display Roles tab on groups if there are roles in the system
MINOR publishing activity report
ENHANCEMENT ability to parameterize SSReport's (from r85903) (from r98156)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102753 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 01:44:56 +00:00
Ingo Schommer
006ad3062f BUGFIX Fixed incorrect logic in CMSMain::generateTreeStylingJS() stopping different tree icons from working (from r98018)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102750 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 01:36:57 +00:00
Ingo Schommer
fe543edcd6 BUGFIX: Ticket #4805
added a canCreateTopLevel() if there is no parent object in CMSMain.php 
added testCreationOfTopLevelPage toCMSMainTest.php
added the nessessary 'database entries' in the CMSMainTest.yml (from r98001)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102749 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 01:36:42 +00:00
Ingo Schommer
67e39d229b BUGFIX: Don't let a user's theme break the CMS. (from r97909)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102748 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 01:34:13 +00:00
Ingo Schommer
2a5cb1eb87 ENHANCEMENT: Select the uploaded image after uploading by default. #4962 (from r97765)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102747 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 01:33:29 +00:00
Ingo Schommer
29292b865d BUGFIX: Don't rely on the current directory for any logic. (from r97727)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102738 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 22:24:12 +00:00
Ingo Schommer
0c0c3ed7d4 BUGFIX: Fixed bug when user selects no folder and uses the search box it incorrectly doesnt append the where statements (from r97603)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102734 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 22:20:47 +00:00
Ingo Schommer
ca2cfe106f ENHANCEMENT: CMS Editor Upload panel now loads the root files directly and allows the user to upload to the root assets dir (from r97601)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102732 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 22:20:10 +00:00
Ingo Schommer
3b50f8d3f3 ENHANCEMENT Changed menu title from "Site Content" to "Pages" to be consistent with other menu labels
ENHANCEMENT Changed tree root node in CMS to get title from SiteConfig rather than defaulting to "Site Content"
ENHANCEMENT Changed tree panel headline in CMS from "Site Content and Structure" to "Page Tree" to stay consistent with new CMS menu title (from r97597)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102731 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 22:19:49 +00:00
Ingo Schommer
3c505bd7e5 MINOR Removed end php tag from WidgetAreaEditor (from r97532)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102724 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 22:00:52 +00:00
Ingo Schommer
869e1d7774 BUGFIX Fixed incorrect lables "TOADD" etc in WidgetAreaEditor (from r97507)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102719 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 21:59:55 +00:00
Ingo Schommer
32bdc74381 APICHANGE: removed SWFUpload. Refactored Content Editors uploader to use standard uploader. (from r97489)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102718 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 21:57:55 +00:00
Ingo Schommer
2e1b39dfc4 MINOR Backwards compat fix for sprintf() call in CMSMain->providePermissions() (#4764) (from r97485)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102716 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 20:37:34 +00:00
Ingo Schommer
af2f81e37a BUGFIX Setting 'Locale' as HiddenField in CMSMain->getEditForm() to support translatable SiteConfig records (see r97370, #4770) (from r97472)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102715 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 20:37:16 +00:00
Ingo Schommer
52d067ead4 BUGFIX: removing hardcoded reference to ModelAdmin_RecordController, also added getters for model controllers. (from r97231)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102714 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 20:36:55 +00:00
Ingo Schommer
ffbcc5d778 MINOR Reverted 'single instance only' feature from r79868, delayed until later release (see #4277) (from r97182)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102710 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 07:01:56 +00:00
Ingo Schommer
88597e243a BUGFIX: Fixed redirection destionation of the modeladmin delete button on the detail form. (from r97179)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102709 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 06:59:57 +00:00
Ingo Schommer
bce6ff833b MINOR Removed 'print' button from CMSMain->getEditForm() for display of older versions (see #4745) (from r97178)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102708 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 06:59:47 +00:00
Ingo Schommer
fa12ff6a75 BUGFIX: now hiding the permissions via SecurityAdmin::add_hidden_permission works also for PermissionRoleAdmin (from r97168)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102707 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 06:59:38 +00:00
Ingo Schommer
0b6f99df14 BUGFIX: Comment URL field check is now case insenstive. Included tests for various protocols. PATCH via simon_w. Ticket #4776 (from r97016)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102706 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 06:59:20 +00:00
Ingo Schommer
afd8faf567 BUGFIX #4857 Fixed potential bug where a file would just be uploaded to a random folder, also files can now be uploaded to the assets root properly (from r96993)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102705 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 06:59:09 +00:00
Ingo Schommer
0cdf6e8d8f BUGFIX: Fixed a PHP segfault bug with the WidgetAreaEditor (from r96868)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102703 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 06:57:52 +00:00
Ingo Schommer
a9f8fa2d24 ENHANCEMENT: Update the checkboxes available to batch-actions to show only the applicable pages for that particular action.
API CHANGE: Allow for an applicablePages($idArray) method to be defined on a CMSBatchAction class. (from r94761) (from r96819)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102700 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 06:42:21 +00:00
Ingo Schommer
168589a59f MINOR Updated jQuery.concrete references to point to the new "entwine" name
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102697 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 05:55:56 +00:00
Ingo Schommer
4d0362ba64 API CHANGE: Added canView() to CMSBatchAction so that you could hide certain batch actions from some users. (from r94846) (from r96823)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102687 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 04:24:48 +00:00
Ingo Schommer
186e43e60b BUGFIX: Removed XSS holes (from r94822) (from r96822)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102682 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:59:09 +00:00
Ingo Schommer
feeb1e40fa API CHANGE: Added applicablePagesHelper to CMSBatchAction to ease the process of creating new applicable page methods.
ENHANCEMENT: Added applicable pages checks to delete from live, delete from draft, and publish (from r94775) (from r96821)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102680 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:58:16 +00:00
Ingo Schommer
184289b3d9 BUGFIX: Use canDeleteFromLive instead of canPublish for checking delete from live action (from r93316) (from r96817)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102679 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:56:00 +00:00
Ingo Schommer
cc522e07ae MINOR moved allowed_extensions and friends to the model layer (from r92046) (from r96816)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102678 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:55:52 +00:00
Ingo Schommer
bfef13207f MINOR moved File validation to the model (from r92044) (from r96815)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102677 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:55:16 +00:00
Ingo Schommer
caed94d9f5 MINOR implement the allowedExtensions functionality of AssetAdmin when you rename a file (from r92037) (from r96814)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102676 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:53:57 +00:00
Ingo Schommer
99eb135198 MINOR: Made delete from draft batch action text more consistent with published. (from r91839) (from r96813)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102675 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:53:50 +00:00
Ingo Schommer
fd2037f603 BUGFIX: Use doDeleteFromLive when deleting pages from live, so that onBeforeUnpublish and onAfterUnpublish are called. (from r91381) (from r96811)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102674 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:52:07 +00:00
Ingo Schommer
b367ecd2d4 API CHANGE: Added FilesystemPublisher::getExistingStaticCacheFiles(), to help build caching logic methods. (from r91354) (from r96810)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102673 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:52:00 +00:00
Ingo Schommer
1e972ed695 MINOR add a hidden field to attach the subsite ID, rather than relying on the session (from r91014) (from r96808)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102672 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:51:24 +00:00
Ingo Schommer
4078c31f66 MINOR: Fixed notice-level error in rollback. (from r90260) (from r96804)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102667 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:28:36 +00:00
Ingo Schommer
d7d5cbc1c1 MINOR: Removed debugging statements (from r90052) (from r96802)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102665 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:27:06 +00:00
Ingo Schommer
d06ea43054 MINOR: Fixed testing quirk of static publisher unpublishing. (from r90048) (from r96801)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102664 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:27:02 +00:00
Ingo Schommer
1dfe8f3a83 ENHANCEMENT: Let LeftAndMain subclass canView() methods optionally redirect. (from r90018) (from r96800)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102663 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:26:55 +00:00
Ingo Schommer
81f5920228 BUGFIX: Updated onAfterUnpublish to republish page from static cache as well as unpublish them. (from r90002) (from r96799)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102662 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:26:47 +00:00
Ingo Schommer
ae5cf37f2d BUGFIX: Removed destroy() calls from static cache builder; with the garbage collection improvements it shouldn't be necessary. (from r89983) (from r96798)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102661 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:26:37 +00:00
Ingo Schommer
e98eb98238 BUGFIX: Don't set the Owner by default on new records. (from r89910) (from r96796)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102659 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 03:26:19 +00:00
Ingo Schommer
8a0f639977 MINOR Fixed merge error
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102485 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-12 10:05:08 +00:00
Ingo Schommer
b1a088cea3 ENHANCEMENT: Added new onRenameLinkAsset() handler to static publishing for better link rewriting. (from r89014) (from r96792)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102482 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-12 09:58:43 +00:00
Ingo Schommer
791dc22e5d MINOR added batch deletion back for workflow (from r88916) (from r96789)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102481 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-12 09:57:31 +00:00
Ingo Schommer
ef65bf7e3d MINOR rename deleted pages report (from r88333) (from r96786)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102479 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-12 09:50:28 +00:00
Ingo Schommer
ce9d92757e MINOR Fixed merge error
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102478 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-12 09:49:39 +00:00
Ingo Schommer
6c0caeecf9 MINOR create the ability to have some roles only be able to be applied by admins (from r88090) (from r96784)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102477 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-12 09:43:40 +00:00
Ingo Schommer
b9c6f7a314 BUGFIX: Fix image tracking not working cross subsite (from r88008) (from r96782)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102476 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-12 09:42:36 +00:00
Ingo Schommer
b7a1e438f7 BUGFIX: Fix changing the URLSegment on a page making the Draft Site link
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102475 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-12 09:41:45 +00:00
Ingo Schommer
480d5068d1 API CHANGE: Added numChildrenMethod argument to LeftAndMain::getSiteTreeFor()
BUGFIX: Use the correct numChildrenMethod when showing the 'all children, including deleted' tree (from r91166) (from r96809)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102474 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-12 09:22:43 +00:00
Ingo Schommer
0624cc69ed MINOR Moved defined variables in AssetAdmin::doUpload() to the top of the method for consistency (from r96230)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102468 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-12 08:47:46 +00:00
Ingo Schommer
49cff72b8f BUGFIX: fixing CMS_ACCESS_LeftAndMain permission (=access all cms sections). Also added the test. (from r95788)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102465 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-12 08:44:29 +00:00
Ingo Schommer
129ab60ae7 BUGFIX Unsetting 'ID' parameter in MemberTableField->addtogroup() to avoid confusion between Group and Member records (regression from r100716)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@100720 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-03-09 20:28:59 +00:00
Ingo Schommer
4eed1360c4 BUGFIX Fixed MemberTableField->addtogroup() to fetch existing Member records by ID or $unique_identifier_field instead of relying on the (now removed) "auto-merging" in Member->onBeforeWrite() (see r100705)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@100716 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-03-09 08:42:54 +00:00
Ingo Schommer
9c75acb113 MINOR Fixed MemberTableField regression from r99706
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@99710 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-02-23 04:55:09 +00:00
Ingo Schommer
7e6dfe14f5 BUGFIX Fixed MemberTableField limiting of , wasnt taking children groups into account (regression from r99684)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@99706 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-02-23 04:43:25 +00:00
Ingo Schommer
a9f8d553f4 BUGFIX Falling back to currentPageID() in SecurityAdmin->getEditForm() to allow actions like MemberTableField->export() to pass the group ID as a POST parameter instead
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@99685 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-02-23 03:30:47 +00:00
Ingo Schommer
fa04f03b0f BUGFIX Setting ID explicitly in MemberTableField-> to ensure getCsvQuery() correctly filters (the custom group filter was only implemented in sourceItems() before)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@99684 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-02-23 03:30:46 +00:00
Ingo Schommer
ca3b8d5792 ENHANCEMENT Saving group relations on SecurityAdmin->EditForm()/RootForm() through TreeMultiselectField instead of hidden 'Group'/'GroupID' values
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@99579 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-02-22 04:36:36 +00:00
Ingo Schommer
d68bbc2c01 MINOR Fixed height of MemberTableField 'Groups' tab to allow enough room for TreeMultiSelectField expansion
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@98883 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-02-12 04:01:49 +00:00
Ingo Schommer
fc8f4130c2 ENHANCEMENT Saving MemberTableField through new 'Groups' field added in Member->getCMSFields().
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@98882 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-02-12 04:01:48 +00:00