Commit Graph

84 Commits

Author SHA1 Message Date
Ingo Schommer
83530f139f elofgren: USABILITY: Change the 'Create', 'Delete', and 'Reorganise' links into 'Create...', 'Delete...', and 'Reorder...' buttons in order to fix Usability Issue #23 "Create, Delete, and Reorganise links
need to be more prominent". More info: http://www.elijahlofgren.com/silverstripe/create-delete-and-reorganise-links-need-to-be-more-prominent/ 
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41854 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 00:54:13 +00:00
Ingo Schommer
dbb645cde6 elofgren: BUGFIX: Make adding a newsletter type to the 'Newsletters' tree work when a draft is selected by changing the name of the 'NewsletterEditForm?' back to 'EditForm?' (reverts r36734 which was a fix to make the 'Save changes' button work on the now non-existant modal 'Usaved changes' dialog.) In addition this commit reverts r37173 because the form name is now 'EditForm?' like all other forms in NewsletterAdmin?.
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41853 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 00:53:38 +00:00
Ingo Schommer
318bae74f6 elofgren: Newsletters: Remove reference to Form_NewsletterEditForm_Type in NewsletterAdmin?_right.js since the newsletter type form is simply called EditForm? and saving the newsletter type doesn't require check for 'action_savenewsletter' being set.
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41852 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 00:51:58 +00:00
Ingo Schommer
768862a9e4 elofgren: BUGFIX: Newsletters section: Make unsaved changes confirm() dialogue show when a new selection is made in the left tree by removing the check for the existance of the save() function which was removed in r36869. The save() function used to be called by the old modal 'Unsaved Changes' dialogue when the 'Save changes' button was pressed. The new confirm() dialogue has no 'Save changes' button so the save() function is no longer needed.
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41850 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 00:51:12 +00:00
Ingo Schommer
e2475e8dcd elofgren: BUGFIX: Make adding a newsletter draft to the left site tree work again.
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41849 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 00:50:47 +00:00
Ingo Schommer
e70d060983 elofgren: USABILITY: In 'Page Version History' left sidebar section, use a checkbox labeled 'Compare mode (click 2 below)' instead of a drop-down with only 'View (click to see)' and 'Compare (click 2 to see)' options. More info: http://www.elijahlofgren.com/silverstripe/inconsistent-go-buttons/
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41845 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-15 00:48:48 +00:00
Ingo Schommer
8f980e1e02 elofgren: USABILITY: Add tooltips to pages in 'Site Content' tree showing 'Page type: className' where className is the page's type.
More info: http://www.elijahlofgren.com/silverstripe/icons-missing-from-left-navigation-tree-key/ 
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41809 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 19:42:24 +00:00
Ingo Schommer
3ee2969cd5 elofgren: USABILITY: Remove 'Surname', 'FirstName?', and 'Email' from list of 'changeDetection_fieldsToIgnore'. This completes fixes for usability issue #91 "Warning needs to be added for unsaved changes
in Security section". More info: http://www.elijahlofgren.com/silverstripe/warning-needs-to-be-added-for-unsaved-changes-in-security-section/ 
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41804 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 19:38:25 +00:00
Ingo Schommer
119b3b017a elofgren: USABILITY: Remove the left Side Tabs and implement clicking on the headings to show sidebar sections instead in order to fix Usability issue "#22 Allow clicking on blue heading bar of Left
Site Tree to reduce it". More info: http://www.elijahlofgren.com/silverstripe/allow-clicking-on-blue-heading-bar-of-left-site-tree-to-reduce-it/ 
A big THANK YOU to Andy Skelton for permission to use his WordPress? toggle icons originally posted at: http://trac.wordpress.org/attachment/ticket/1904/toggle.gif 
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41803 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 19:37:48 +00:00
Ingo Schommer
7f61325204 elofgren: Remove unused code: 1. doYouWantToSave() that called OpenModalDialog?() has been replaced by a call to confirm() 2. CMSMain::savedialog() which was the PHP part of the old modal save dialog. 3. save() in NewsletterAdmin?_right.js which seems to have been replaced by the save function of Form_EditForm
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41800 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 19:32:19 +00:00
Ingo Schommer
93ae866e60 elofgren: USABILITY: Make Newsletter section use new js confirm dialog instead of old modal one. More info: http://www.elijahlofgren.com/silverstripe/alert-users-when-leaving-tab-with-unsaved-changes/
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41799 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 19:30:54 +00:00
Ingo Schommer
f7ed6b050f elofgren: USABILITY: 1. Always use confirmation when calling autoSave, not just for 'Microsoft Internet Explorer' since the new confirm() dialog works in all browsers.
2. Make MainMenu? links call LeftAndMain?_window_unload() to check for unsaved changes before loading new page. Don't register LeftAndMain?_window_unload with window 'beforeunload' event because it 
cannot stop the page unload and the save check is now done via links (where stopping the unload works). 
3. Make external Logo link open in a new window like the Menu-help link to prevent unsaved changes being lost. 
More info: http://www.elijahlofgren.com/silverstripe/alert-users-when-leaving-tab-with-unsaved-changes/ (merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41798 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 19:30:11 +00:00
Ingo Schommer
b1173b174b elofgren: Add back options save code deleted in r36865 because it is used if confirmation=false
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41797 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 19:29:12 +00:00
Ingo Schommer
067d630e06 elofgren: USABILITY: Use a confirm() javascript dialog box instead of the slow loading modal one for asking user if they want to save their changes when they click on a new page in the left tree. More info: http://www.elijahlofgren.com/silverstripe/alert-users-when-leaving-tab-with-unsaved-changes/
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41796 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 19:28:41 +00:00
Ingo Schommer
8be38885d0 elofgren: USABILITY: Fix usability issue #66 'Cancel button needs to be added to Send Newsletter Window' by adding a Cancel button and aligning it left.
More info here: http://www.elijahlofgren.com/silverstripe/cancel-button-needs-to-be-added-to-send-newsletter-window/ 
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41794 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 19:27:34 +00:00
Ingo Schommer
1eca17e0a9 elofgren: USABILITY: Rework the tabs in the Newsletter section to be less confusing as per issue #57 of the Usability Report
Includes the removal of all tabs and submit action buttons when 'Drafts' or 'Sent Items' are clicked and the addition of an 'add one' link on 'Drafts' folder page. 
For more information see: http://www.elijahlofgren.com/silverstripe/newletter-tree-and-tab-row-are-confusing/ 
Includes a few fixes for undefined variables.  (merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41772 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 17:29:08 +00:00
Sam Minnee
1bd7dce68a Refactored CMS page-URL accessing to use ->AbsoluteLink(), which can be overridden by defining alternateAbsoluteLink()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41283 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-05 06:42:26 +00:00
Sam Minnee
df2b2f695a Added SiteTreeHandlers.controller_url so that subsites module can work
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41219 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-04 04:12:30 +00:00
Sam Minnee
62c2237773 Improved ingize() support so that it works on multi-word verbs
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@40997 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-28 22:03:18 +00:00
Jeremy Shipman
6e43abc98f Moved styling
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39983 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-14 04:44:33 +00:00
Jeremy Shipman
8c8d1986e0 Improved spam protection question updating. Now refreshes immediately after posting the form, no matter if you get it right or wrong. More consistent notification if you get the question wrong (same box used as other notifications).
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39982 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-14 04:40:14 +00:00
Andrew O'Neil
3d5d9200ca Renamed feedback to comments
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39904 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-13 00:32:48 +00:00
Andrew O'Neil
d81317252e Fix comment ajax
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39892 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-12 23:37:29 +00:00
Andrew O'Neil
d7ea506562 'Approving' a comment makes more sense than 'accepting' a comment
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39878 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-12 22:19:06 +00:00
Andrew O'Neil
7e1d53885d Highlight the current folder
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39823 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-10 02:55:37 +00:00
Andrew O'Neil
6de32f6edc Don't show unmoderated comments unless user is admin, add link to accept comment
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39818 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-10 01:29:09 +00:00
Andrew O'Neil
e3445db25b Get rid of unsaved changes dialog in feedback admin
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39817 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-10 01:02:08 +00:00
Andrew O'Neil
4211621504 Get rid of unsaved changes dialog in feedback admin
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39811 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-10 00:20:08 +00:00
Andrew O'Neil
6ecfafcc18 Searching in feedback admin
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39808 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-10 00:03:30 +00:00
Andrew O'Neil
4cbc4642b6 Added deleting of marked comments
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39805 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-09 22:59:20 +00:00
Andrew O'Neil
8c9f5900b5 Allowing marking of comment as spam, ham or accepted in cms
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39738 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-08 06:00:20 +00:00
Andrew O'Neil
9f4c3d3196 Began interface for comment administration
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39725 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-08 01:16:02 +00:00
Andrew O'Neil
112d7ed1ad Moved widgets into core
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39562 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-02 22:07:11 +00:00
Hayden Smith
abb9a61d0d Moved CMS module to open source path
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39000 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-07-19 10:40:05 +00:00