Commit Graph

1886 Commits

Author SHA1 Message Date
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
6ea662cd05 MINOR Changed CMSMainTest to use new LeftAndMain->doAdd() controller actions, not the removed addform()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102787 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 03:07:25 +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
4ce05e4482 MINOR: Blocking unnecessary revisions
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102758 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 02:14:37 +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
3e3c0c7237 MINOR: visual tweaks to the widgets area including widget titles can now be spread over multiple lines and padding between columns. #4965 (from r98032)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102752 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 01:40:53 +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
c0707cb562 ENHANCEMENT adapt the page dropdown based off the allowedChildren values (from r97745)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102746 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-14 01:32:05 +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
dd2dd831b7 BUGFIX: the anchor dropdown now works in IE. Also fixes other anchor-related problems as described in ticket #4961 (from r97673)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102737 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 22:23:53 +00:00
Ingo Schommer
92eebeb9e5 MINOR: Blocking unnecessary revisions
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102736 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 22:22:14 +00:00
Ingo Schommer
7246dc86e2 ENHANCEMENT Added hover states to "Available widgets" boxes in the CMS for usability (from r97606)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102735 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 22:20:59 +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
addd1dea0c ENHANCEMENT Added visual elements to aid in the usability of the WidgetAreaEditor
MINOR Added better help text underneath "Available Widgets" and "Widgets currently used" (from r97602)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102733 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 22:20:28 +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
7f063a9693 BUGFIX Fixed widgets not being clickable to use them in IE (from r97545)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102727 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 22:01:17 +00:00
Ingo Schommer
03bbc1d40d BUGFIX Clicking available widgets now applies only to h3 elements
BUGFIX Widgets are now prepended to the available widget stack by use of Insertion.Top (from r97541)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102726 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 22:01:11 +00:00
Ingo Schommer
8c06bda962 MINOR Cursor is now a pointer for available widgets, as you need to click them to add to the available widget stack (from r97540)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102725 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 22:00:59 +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
51f95081c4 ENHANCEMENT Adjusted "Available Widgets" column to be narrower than "Widgets currently used", allowing more space for configuring widgets (from r97530)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102723 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 22:00:43 +00:00
Ingo Schommer
86f752504c BUGFIX When adding a new widget by clicking one of the available widgets, add it to the top of the currently used widgets instead of the bottom (from r97522)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102722 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 22:00:34 +00:00
Ingo Schommer
cad9f67a92 MINOR Changed wording for WidgetAreaEditor.TOADD advising users to "click" instead of drag widgets (from r97511)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102721 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 22:00:18 +00:00
Ingo Schommer
658cfa9531 MINOR Fixed default wording of WidgetAreaEditor.TOADD "drag them here from the left" (from r97509)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102720 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 22:00:06 +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
abe2496b20 MINOR: Blocking unnecessary revisions
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102711 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 07:02:00 +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
cf4fa3a23f <a ... /> tag which is not so nice (from r96926)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102704 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 06:58:32 +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
c9df94a7af MINOR: Fixed CMSMainTest to be more flexible about modules altering the buttons. (from r96827)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102702 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 06:57:30 +00:00
Ingo Schommer
a88eb81395 API CHANGE: Added capability for batch actions to indicate failure through red checkboxes (from r94868) (from r96824)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102701 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 06:57:12 +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
c2bd020ff6 MINOR Blocked r96806, not necessary due to UI change (moved tree filter dropdown in 'search' tab, which can only be triggered modally, not when in batch action mode)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102691 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 04:34:56 +00:00
Ingo Schommer
5fb9098b4d BUGFIX: Correct confirmation alert message when rolling back to a specific version. (from r90261) (from r96805)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102689 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-04-13 04:26:34 +00:00