Commit Graph

2644 Commits

Author SHA1 Message Date
Ingo Schommer
4d127c5976 BUGFIX Passing current request on to LeftAndMain singletons in CMSMenu::get_viewable_menu_items() to avoid state errors (e.g. when decorators check request data, see "subsites" module)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@115109 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-12-16 02:37:40 +00:00
Ingo Schommer
b22a37da6c BUGFIX Inspecting for AjaxSwitchView after form load, not before ajax request (in LeftAndMain.js)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@115065 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-12-15 09:21:32 +00:00
Sean Harvey
5bdfad6ae8 MINOR Fixed broken CMSMainSearchFormTest::testTitleFilter() when more fixtures are added that start with "Page 1", e.g. "Page 10"
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@114950 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-12-14 01:46:58 +00:00
Sean Harvey
22ac12c0c5 BUGFIX #6162 CMSMain::publishall() fails when over 30 pages (thanks natmchugh!)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@114940 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-12-14 01:29:38 +00:00
Ingo Schommer
8f4b816c1f MINOR Removed CommentAdmin from assertions in LeftAndMainTest (functionality moved into module)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@114881 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-12-13 05:09:41 +00:00
Will Rossiter
e6ad58a006 MINOR: removed comment specific templates
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@114825 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-12-11 06:07:20 +00:00
Will Rossiter
6d0c79c839 APICHANGE: removed page comments from core. Please see the github.com account for page comments functionality
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@114821 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-12-11 05:43:08 +00:00
Will Rossiter
2d0f3be756 APICHANGE: changed BaseHref to AbsoluteBaseURL for consistency. FEATURE: added BaseURL for getting non absolute value. PATCH via muzdowski (#6158)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@114815 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-12-11 02:01:13 +00:00
Will Rossiter
1d23f21a7d BUGFIX: fixed typo in the cms_left.css. Fixes #6154.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@114812 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-12-11 01:06:25 +00:00
Ingo Schommer
f298fc2a2d BUGFIX Disallow web access to cms/silverstripe_version to avoid information leakage
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@114770 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-12-09 22:50:52 +00:00
Ingo Schommer
a11b1dd285 MINOR Updated SilverStripe logo to new design
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@114764 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-12-09 22:29:50 +00:00
Jean-Fabien Barrios
9f2d488758 BUGFIX File upload not working when open_basedir is set #5547
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@114471 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-12-03 00:28:30 +00:00
Ingo Schommer
b4ff8e7bd0 MINOR LeftAndMain->LogoStyle() doesn't output empty background CSS if no logo is set
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@114145 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-11-24 06:24:04 +00:00
Ingo Schommer
65b3b145f1 ENHANCEMENT Setting $this->request in ModelAdmin_RecordController->edit() instead of returning new response, so it can be altered by subclasses
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@114144 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-11-24 06:24:03 +00:00
Ingo Schommer
c579822340 BUGFIX Don't re-add actions in ModelAdmin->EditForm if they're already present from DataObject->getCMSFields()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@114143 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-11-24 06:24:03 +00:00
Ingo Schommer
e1a270a0b1 MINOR: documentation updated
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@114142 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-11-24 06:24:02 +00:00
Ingo Schommer
db6432389b MINOR Reverted merge error from r111600 (windowName() method is no longer availabie)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@113693 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-11-13 02:47:31 +00:00
Geoff Munn
390eaf93b7 MINOR: hard-coded IDs replaced
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@113677 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-11-11 22:26:39 +00:00
Geoff Munn
715f864d3d MINOR: Column names escaped properly
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@113300 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-11-01 02:59:33 +00:00
Sam Minnee
fedaaa9c53 ENHANCEMENT Added localisation for batch actions in javascript + translations (from r111915)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112812 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-19 01:05:46 +00:00
Sam Minnee
3894004ff8 MINOR Use Filesystem::removeFolder() in FilesystemPublisherTest::tearDown() instead of specific code to handle this (from r111899)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112811 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-19 01:04:34 +00:00
Sam Minnee
a91726e0aa MINOR #6090 FilesystemPublisherTest now stores temporary files in assets, which is writable, instead of the webroot which almost never has write permissions (from r111883)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112810 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-19 01:04:29 +00:00
Sam Minnee
83561f2e40 Added doc for static help_link (from r111879)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112809 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-19 01:04:20 +00:00
Sam Minnee
6bab1cfa0a MINOR: Enable non-default language for tinyMCE, setting language in _config.php didn't work. Thanks for @christian (from r111875)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112808 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-19 01:04:15 +00:00
Sam Minnee
1e6da51ad4 ENHANCEMENT: 6017 - Configurable help link (from r111828)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112807 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-19 01:04:10 +00:00
Sam Minnee
f491f17bc0 MINOR Fixed SS_Datetime references in BrokenLinksReport and CommentAdmin (fixes #6063, thanks nicolaas) (from r111786)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112806 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-19 01:04:05 +00:00
Sam Minnee
7a53a14bc8 MINOR Fixed indentation in PageCommentInterface.js (from r111497)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112805 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-19 01:04:00 +00:00
Sam Minnee
81d4abf9d3 MINOR: removed debug (from r111454)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@112804 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-19 01:03:53 +00:00
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