Commit Graph

3716 Commits

Author SHA1 Message Date
Sam Minnee
f124be7f95 BUGFIX: added validation to the page comment form
Fixes #2782 (from r111452)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112803 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-19 01:03:49 +00:00
Sam Minnee
2ae76958bb MINOR: removed debug (from r111450)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112802 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-19 01:03:44 +00:00
Sam Minnee
fe9303f277 ENHANCEMENT: allow PageCommentForm to store all users data, rather than hardcoding the fields (from r111449)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112801 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-19 01:03:38 +00:00
Sam Minnee
5a0420b8e1 ENHANCEMENT: simple extend hook for PageCommentForms. Temporary measure till #6053 is implemented (from r111443)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112800 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-19 01:03:31 +00:00
Sam Minnee
9a65518781 MINOR: Add translation correction for Czech and add Slovakian translation in cms and sapphire (js). Thanks to @Pike (from r111262)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112799 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-19 01:03:23 +00:00
Sam Minnee
6fb50a583a MINOR Removing MemberImportFormTest, breaks PHPUnit test run, and doesnt have any assertions (from r111053)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112798 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-19 01:02:54 +00:00
Sam Minnee
185e30a750 BUGFIX Disallow addition of members to groups with MemberTableField->addtogroup() when the editing member doesn't have permissions on the added member (from r110859)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112797 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-19 01:02:47 +00:00
Sam Minnee
ad5a8e0fce BUGFIX Don't suggest members in SecurityAdmin->autocomplete() that the current user doesn't have rights to edit (fixes #5651) (from r110858)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112796 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-19 01:02:41 +00:00
Sam Minnee
949d8b3cb1 MINOR German translations for cms javascript (#5921, thanks bartlomiej) (from r110435)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112794 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-19 01:02:14 +00:00
Sam Minnee
b3f510eef1 BUGFIX: CSVBulkLoader import method now no longer requires files to end in '.csv'. Some projects want to import files in CSV format, but not of csv file type. (from r108887)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112793 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-19 01:02:06 +00:00
Sam Minnee
a12b3f037f BUGFIX #5852 Missing translation for SecurityAdmin save button causes it to have no text, should default to english "Save" (from r108407)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112792 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-19 01:00:54 +00:00
Sam Minnee
40eb39a4cb MINOR Disallowing more potentially active file extensions in cms/.htaccess (from r108206)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112791 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-19 01:00:23 +00:00
Sam Minnee
00ff9c4daf BUGFIX Fixing default group selection in 'add member' dialog (in MemberTableField) (fixes #5836) (from r108099)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112790 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-19 01:00:14 +00:00
Ingo Schommer
ad920867af MINOR: Blocking unnecessary revisions
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112615 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 03:58:38 +00:00
Ingo Schommer
5b441b05b0 BUGFIX: Don't allow direct access to PHP files in cms module. (from r108028)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112614 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 03:58:35 +00:00
Ingo Schommer
a5103c3d43 BUGFIX Styling fixes for DateField/TimeField/DatetimeField in the CMS (from r107812)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112613 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 03:58:20 +00:00
Ingo Schommer
d236cbd03e MINOR Disabled 'showcalendar' option on CMSMain->SiteTreeFilterDateField() - it causes the CMS to load jQuery UI javascript just for this (rarely used field). To be re-enabled once we work with jQuery UI on a broader scale. (from r107784)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112612 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 03:58:10 +00:00
Ingo Schommer
78489ad4fc MINOR Moved class-specific documentation from doc.silverstripe.org back into class-level PHPDoc (from r107726)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112611 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 03:57:11 +00:00
Ingo Schommer
d402ca527a MINOR Removed debug code in MemberTableField (from r107525)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112610 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 03:57:05 +00:00
Ingo Schommer
7d4f93f0fd MINOR Fixed DatetimeField display in cms
MINOR Removed obsolete .calendardate styles from cms_right.css (from r107442)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112609 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 03:56:59 +00:00
Ingo Schommer
ed67b2dc42 ENHANCEMENT #5352 CMS now uses the user's preferred date and time formatting in DateField and TimeField (from r107327)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112587 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 03:42:06 +00:00
Ingo Schommer
9877ff6ebd MINOR Reverted r107305 (from r107307)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112586 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 03:41:58 +00:00
Ingo Schommer
2098bae2fd MINOR Code formatting fix for setting Member locale in LeftAndMain::init() (from r107305)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112585 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 03:41:51 +00:00
Ingo Schommer
9519ad3a6f BUGFIX: check the $removeAll var before removing cache files. PATCH via ajshort (#5672) (from r107095)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112584 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 03:41:44 +00:00
Ingo Schommer
819d449c80 ENHANCEMENT: throw user error when not passing correctly formatted array rather than simply passing (from r107088)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112583 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 03:41:38 +00:00
Ingo Schommer
fa417589d8 MINOR Removed trailing slash in BackURL, fixed error message sentence structure in PageCommentInterface.ss (fixes #5520) (from r106694)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112582 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 03:41:20 +00:00
Ingo Schommer
1a80b91301 BUGFIX: re-enable broken link notification using BackLinkTracking() (this was broken since r101127 (from r106360)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112580 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 03:40:11 +00:00
Ingo Schommer
1cc5c5ee8e MINOR Fixed merge error
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112579 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 03:31:48 +00:00
Ingo Schommer
66f2fad70a MINOR Made CMSMainTest more resilient against database ID changes (Postgres doesn't have auto-increment resets across tests at the moment) (from r106248)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112578 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 03:31:30 +00:00
Ingo Schommer
6f41e77e51 ENHANCEMENT: Prevent image search queries all images in the site initially when the page is loaded (from r106194)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112577 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 03:27:38 +00:00
Ingo Schommer
e3e8c716a3 MINOR: Blocking unnecessary revisions
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112492 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 02:36:50 +00:00
Ingo Schommer
cd4fecb0ee BUGFIX: fix query error when image search doesn't use legacy search (from r106183)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112491 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 02:36:47 +00:00
Ingo Schommer
e4257b76f5 MINOR: Add comments for ThumbnailStripField (from r106180)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112490 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 02:36:40 +00:00
Ingo Schommer
c4b740f8c9 FEATURE: Enable switch between legacy image search and new version (from r106178)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112489 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 02:36:33 +00:00
Ingo Schommer
97778ba31c BUGFIX: Fixed caching of homepage. (from r106122)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112488 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 02:36:25 +00:00
Ingo Schommer
88b2fbb90c MINOR: Fixed test that required a separate Page table. (from r106090)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112487 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 02:35:52 +00:00
Ingo Schommer
e6e4c7afd5 BUGFIX: image search was not honouring the selected folder, so could only search in root folder (from r106086)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112486 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 02:35:26 +00:00
Ingo Schommer
376e7bf3b0 MINOR: Added test for #5657 (from r106081)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112485 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 02:35:17 +00:00
Ingo Schommer
b5f0950c29 MINOR: add text/plain to the list of accepted mime types (from r105985)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112484 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 02:34:16 +00:00
Ingo Schommer
0bf70b9032 BUGFIX: fixed select all link using incorrect function (from r105868)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112483 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 02:33:58 +00:00
Ingo Schommer
c77f395451 BUGFIX: fixed incorrect include path (from r105833)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112482 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 02:33:41 +00:00
Ingo Schommer
bc4c4ff416 BUGFIX: validate file in import from CSV form
MINOR: Clear DB checkbox unchecked by default
ENHANCEMENT: Ability to hide form by className or for the whole ModelAdmin (from r105732)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112481 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 02:33:30 +00:00
Ingo Schommer
71209b7402 BUGFIX Can't set width or height on MemberTableField popup (fixes #5625, thanks smurkas) (from r105665)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112480 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 02:32:45 +00:00
Ingo Schommer
1427ae3523 BUGFIX: if moderation on comments is enabled then redirect the user back down to the comment section to view the message rather than trying to direct to selector which doesnt exist (from r105514)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112479 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 02:32:38 +00:00
Ingo Schommer
d3ebd0da22 MINOR Using ASSETS_DIR constant in StaticPublisher (fixes #5619) (from r105281)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112470 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:49:53 +00:00
Ingo Schommer
1700c77476 MINOR Translations (from r105277)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112469 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:49:47 +00:00
Ingo Schommer
cc4160cdf7 MINOR Updated TableListField sublcass template to work with new TableListField->SelectOptions() setting (from r105273)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112468 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:49:35 +00:00
Ingo Schommer
d7409fa851 MINOR Fixed _t() call in PageCommentInterface.ss (from r105272)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112467 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:49:28 +00:00
Ingo Schommer
8b39c98248 ENHANCEMENT 'Select all' and 'Select none' checkboxes for CommentTableField for easier batch handling of comments, improved its styling in CommentAdmin (from r105271)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112466 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:49:20 +00:00
Ingo Schommer
f305b7be61 MINOR missing slash / from Requirements::css() parameter (from r105270)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112465 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:48:41 +00:00