Commit Graph

67 Commits

Author SHA1 Message Date
Sam Minnee
ce380a87f9 Fixed CommentTableField to work with r73784
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.1@73785 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:56:36 +13:00
Sam Minnee
9f7aff789c Merged 2.1.0manfocus - slightly project-specific but only in a way that has been done for other projects. 2.1 lacked a better alternative
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.1@58993 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:56:36 +13:00
Sam Minnee
b76e16eb60 Merged 2.1.1-sportswgtn (SQL injection fix)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.1@58991 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:56:36 +13:00
Andrew O'Neil
bbdc433dae Fixed empty comments showing in Comment Admin
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.1.1@43600 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:56:05 +13:00
Andrew O'Neil
6ff76f8245 #1468 - ComplexTableField navigation bar Css missing at the loading
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.1.1@43598 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:56:05 +13:00
Andrew O'Neil
48c317a3a2 #1472 - PageComment Spam is shown in RSS
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.1.1@43584 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:56:04 +13:00
Andrew O'Neil
02959c9cda FIx BBCodeHelp link in CMS
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.1.1@43570 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:56:04 +13:00
Andrew O'Neil
367f229897 Save & Publish fixes, merged from trunk r42087 and r42082
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.1.0@42502 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:19 +13:00
Romain Louis
dc34d1d6e7 Gallery Module Update
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.1.0@42472 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:19 +13:00
Jeremy Shipman
978ca0b7e9 Improved static config methods on math spam protection
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.1.0@42465 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:19 +13:00
Romain Louis
c83a3c75b1 Explicitation of the swf file which seem like pdf file
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.1.0@42422 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:19 +13:00
Romain Louis
4ea3d2c688 Detail Form Modifications to be able to set some file parameters for the gallery
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.1.0@42330 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:19 +13:00
Jeremy Shipman
1726e9a65f Fixed CMS sort sub-pages bug
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.1.0@42287 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:19 +13:00
Andrew O'Neil
73b5103a78 Actually merge in Save & Publish, don't just pretend to
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.1.0@42286 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:18 +13:00
Andrew O'Neil
d71d3c2253 Fix php notice
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.1.0@42203 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 17:47:18 +13:00
Andrew O'Neil
0538bc2595 Add back the lines deleted in r41205
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41420 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-07 00:20:22 +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
Romain Louis
e7a56ece26 RelationComplexTableField.js and GalleryPage_CMS.js requirements adding
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41203 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-04 03:42:59 +00:00
Sam Minnee
1739d9932a Added EDIT_PERMISSIONS permission code for SecurityAdmin
Added LeftAndMain::alternateAccessCheck() / alternateMenuDisplayCheck() so that subsite could hook a new security model into the admin
Added support for Group::alternateTreeTitle() to allow subsites to put *s before global groups

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41098 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-31 00:31:49 +00:00
Sam Minnee
6c4a2e24aa Refactored newsletter system to put recipient selection and form-fieldset generation into the NewsletterType class, to allow for subclassing NewsletterType to create special system newsletters. [see oriwave2 for an example]
Removed a number of notice-level errors.
Allowed for BOUNCE_EMAIL to not exist and bounce-handling to be disabled.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@40963 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-28 01:55:45 +00:00
Sam Minnee
281009b00f Removing notice-level errors
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@40909 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-27 05:07:43 +00:00
Sam Minnee
b747f9c42e Moved callPageMethod to leftandmain, so that I can use it in other CMS controllers
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@40907 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-27 05:06:57 +00:00
Normann Lou
628105c410 add more strict condition inside getNewletterTypeEditForm to make NewsleterAdmin more robust.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@40816 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-24 03:50:17 +00:00
Normann Lou
48939b8102 add an unsubscribe record when member unsubscribe a newsletter.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@40811 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-24 03:37:51 +00:00
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
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
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
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
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
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
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
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
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