Commit Graph

1027 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
Ingo Schommer
2a919067a6 ENHANCEMENT Showing 20 comments in tabular view for CommentAdmin (and making the setting configurable via CommentAdmin::set_comments_per_page()) (from r105269)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112464 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:48:34 +00:00
Ingo Schommer
72e7ce399b ENHANCEMENT Abbreviating comment text display in CommentAdmin to first 150 characters (from r105268)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112463 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:48:17 +00:00
Ingo Schommer
2bdf183521 API CHANGE Removed ImageEditor functionality, please use thirdparty modules, e.g. "silverstripe-pixlr" (http://github.com/nyeholt/silverstripe-pixlr) (from r104987)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112462 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:48:00 +00:00
Ingo Schommer
0ac0beca47 MINOR Added translations for BrokenLinksReport, ReportAdminForm.ss, AssetTableField.ss (fixes #5527, thanks Martimiz) (from r104980)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112461 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:46:53 +00:00
Ingo Schommer
e43a2409cd ENHANCEMENT Added PageComment->canView()/canEdit()/canDelete(), and using these permissions in PageCommentInterface. Caution: canCreate() actions are still determined by PageCommentInterface::$comments_require_login/$comments_require_permission
BUGFIX Requiring CMS_ACCESS_CommentAdmin instead of ADMIN permissions in PageCommentInterface and CommentAdmin administrative actions (from r104968)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112459 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:45:05 +00:00
Ingo Schommer
a52f572f1e BUGFIX: Prevent DataDifferencer from creating empty <ins /> and <del /> takes that confuse the browser. (from r104675)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112458 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:38:52 +00:00
Ingo Schommer
b09d915713 ENHANCMENT: RsyncMultiHostPublisher also rsyncs sapphire/static-main.php. (from r104674)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112457 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:38:45 +00:00
Ingo Schommer
93cbe1098a API CHANGE: Added RsyncMultiHostPublisher::set_excluded_folders(). (from r104673)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112456 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:38:38 +00:00
Ingo Schommer
5cf2f46e4a BUGFIX: Make RsyncMultiHostPublisher protected; give default value. (from r104672)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112455 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:38:31 +00:00
Ingo Schommer
ece834e947 MINOR Documentation (from r104402)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112452 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:33:28 +00:00
Ingo Schommer
1d7b62b929 BUGFIX Fixed publication of homepage with '/' URL through StaticPublisher (fixes #5514, thanks ktauber) (from r103960)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112449 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:31:54 +00:00
Ingo Schommer
6ff9223210 BUGFIX Fixed SS_Report::unregister() parameter naming (fixes #5511, thanks ktauber) (from r103932)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112447 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-15 01:31:34 +00:00
Sam Minnee
fa4415459a BUGFIX: static publisher for a site that resides in a subfolder of webroot (from r103745)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112176 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:20:27 +00:00
Sam Minnee
62f84637e0 BUGFIX: Use correct quoting for BrokenLinksReport (ticket #5474) (from r103706)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112173 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:19:22 +00:00
Sam Minnee
8b6536aa68 MINOR: sort page comment table by Created field - show newest entries first (from r103558)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112172 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:19:12 +00:00
Sam Minnee
1c48ef7b61 MINOR: added moderation message for non-ajax mode (from r103555)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112171 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:19:06 +00:00
Sam Minnee
cd497a6cee MINOR: Fix to ModelAdmin, part of r103519 (from r103533)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112170 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:18:29 +00:00
Sam Minnee
532166f4f5 BUGFIX: put back into the SSNavigator the archived site link (#5251) (from r101623)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112168 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:15:18 +00:00
Sam Minnee
5b15f9e9e9 MINOR Improved help texts around permissions (from r100783)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112167 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 04:12:59 +00:00
Sam Minnee
79133892f6 MINOR Replaced locations of Director::is_ajax() and Director::redirectBack() with instance method calls - the latter static function is deprecated (from r100484)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112078 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-13 02:10:28 +00:00
Sam Minnee
75964b85d7 MINOR: add more in-line documentation and fix the typo: should => should not (from r103520)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@111668 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-04 06:16:50 +00:00
Sam Minnee
f55968789b BUGFIX: Prevent duplicate HTML IDs in ModelAdmin (from r103519)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@111667 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-04 06:16:40 +00:00
Sam Minnee
26f987e67f BUGFIX Fixed redirection in PageCommentInterface to use Link() instead of URLSegment (fixes 4200, thanks ktauber) (from r103518)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@111666 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-04 06:16:23 +00:00