Commit Graph

1312 Commits

Author SHA1 Message Date
Normann Lou
23a2a46532 enable validation to GenericDataAdmin form
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@40754 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-23 05:45:41 +00:00
Andrew O'Neil
15d8a4b8f6 Fixed file upload issues when open_basedir restriction is enabled.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@40603 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-21 02:32:20 +00:00
Sam Minnee
2748b0e81b Removed notice level errors
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@40595 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-20 23:17:56 +00:00
Sam Minnee
9b43207884 Fixed svn:eol-style settings
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@40456 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-18 02:33:28 +00:00
Sam Minnee
63cbd15456 Improved subsite-admin search to support unit testing
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@40425 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-17 05:49:19 +00:00
Sam Minnee
75804f6fc8 Fix for GenericDataAdmin to support new controller model
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@40419 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-17 05:42:27 +00:00
Sam Minnee
1c2f30978a Added HTTPResponse object, to encapsulate Controller responses for aid testing and other 'quirky' uses of Controllers
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@40390 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-17 03:09:46 +00:00
Sam Minnee
56a65ab20d Added CMSTopMenu template, so that add-on modules could change the top menu
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@40223 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-16 06:25:55 +00:00
Sam Minnee
79f5bd5db4 Added ability to add extensions to LeftAndMain, and supply and augmentInit method on them
Added the ability to define getCMSTreeTitle in a LeftAndMain extension to change the main title at the top of the tree

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@40222 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-16 06:25:17 +00:00
Jeremy Shipman
287f0990fc whoops, those icons were meant to be in blog.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@40088 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-15 04:50:37 +00:00
Jeremy Shipman
4c38b7c181 Minor change to blog icon
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@40082 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-15 04:43:10 +00:00
Jeremy Shipman
388b479a63 Created and added blog icons for tree.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@40079 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-15 04:40:00 +00:00
Will Rossiter
d12ea7b2a7 tidied up the page comment interface. Improved vaildation as well.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@40030 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-15 01:25:12 +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
Jeremy Shipman
c0f872b8fe 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@39981 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-14 04:39:29 +00:00
Andrew O'Neil
3c4b53030b Added a delete all button in the spam folder
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39906 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-13 00:39:37 +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
1e02df02f9 Unmoderated comments have unmoderated css class on them
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39893 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-12 23:39:18 +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
2a64b249a2 Report spam/ham to akismet if it is enabled
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39887 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-12 23:11:37 +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
6b4cdc6dbb Added icons (thanks WIll! :D)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39840 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-10 05:02:52 +00:00
Andrew O'Neil
ca4a3b91d8 Only show unmoderated comments if the user is an admin
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39834 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-10 04:33:02 +00:00
Andrew O'Neil
d5a0cf374f Icon for feedback admin
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39832 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-10 04:10:50 +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
2728b92c42 Add root item 'Comments' to tree in feedback admin
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39822 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-10 02:31:28 +00:00
Andrew O'Neil
a4aad537c3 Now that we have a management interface, it makes sense to save spam by default
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39820 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-10 02:14:56 +00:00
Andrew O'Neil
683f9f6d11 #1189 Page comments links for spam and delete comment should be inside <ul>
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39819 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-10 02:11:00 +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
51b13e4e85 Sort by creation date desc
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39815 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-10 00:47:11 +00:00
Andrew O'Neil
c4fd1281e1 Sort by creation date desc
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39814 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-10 00:46:37 +00:00
Andrew O'Neil
ab89c8dd7a Removed sorting as it doesn't work properly
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39812 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-10 00:37:23 +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
4f3e2216e0 Styling of seach form on feedback admin
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39810 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-10 00:15:32 +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
cf5cda9799 Spam, ham and accepting of marked comments
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39807 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-09 23:19:20 +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
a1cb5387a1 Added search form to comment admin
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39801 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-09 22:24:38 +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
6666021921 Fixed breakage in comments with unescaped entities
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39736 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-08 04:55:41 +00:00
Jeremy Shipman
3a805afecf Changed spam protection so that user is redirected back to comment form if they get the question wrong and don't use javascript.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39735 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-08 04:34:12 +00:00
Andrew O'Neil
d521b06a8c Show page title in comment table
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39732 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-08 03:59:50 +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
9099fa1474 Allow setting of moderation in _config
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39719 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-07 23:18:30 +00:00
Andrew O'Neil
12069c6a96 Show a link for page comments on each page
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39684 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-07 04:59:19 +00:00
Andrew O'Neil
475b872eb8 Allow specifying the page in page comment rss feeds
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39681 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-07 04:32:52 +00:00
Andrew O'Neil
3e5a0968ae Fixed authors breaking rss feeds
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39611 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-06 01:07:41 +00:00
Andrew O'Neil
19b3420722 Added anchors to page comments in rss
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39610 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-06 01:03:19 +00:00