Commit Graph

278 Commits

Author SHA1 Message Date
Ingo Schommer
6bfb0ba64a API CHANGE LeftAndMain.php: Removed $extra_menu_items, $replaced_menu_items, $removed_menu_items (all handled in $menu_items now)
API CHANGE Deprecated menu manipulation through Object::addStaticVars(), changed internal representation of menu_item array to always use associative arrays
ENHANCEMENT Added LeftAndMain::add_menu_item(), LeftAndMain::replace_menu_item(), LeftAndMain::remove_menu_item()
ENHANCEMENT Moved default menu items from LeftAndMain->MainMenu() to cms/_config.php
ENHANCEMENT Added ReportAdmin::has_reports()
ENHANCEMENT Object::addStaticVars() can replace the whole array optionally
ENHANCEMENT Object::stat() optionally returns uncached results
ENHANCEMENT Moved Object::useCustomClass('SSDateTime') from Object.php to sapphire/_config.php
ENHANCEMENT Misc documentation and formatting in LeftAndMain and Object classes

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@52171 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-05 03:43:58 +00:00
Ingo Schommer
228cd12a28 BUGFIX securing url actions
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@52167 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-05 03:14:02 +00:00
Ingo Schommer
07c58cc90f API CHANGE Moved "statistics" functionality into separate module, which is not distributed with a default silverstripe installation. see r52168
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@52163 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-04-05 01:40:36 +00:00
Ingo Schommer
6511df5ece #2310 MemberTableField Popup breaks after saving
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@50947 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-12 09:24:59 +00:00
Sam Minnee
66b5a963e7 Merged revisions 50361 via svnmerge from
http://svn.silverstripe.com/open/modules/cms/branches/2.2.2

........
  r50361 | sminnee | 2008-02-28 14:12:53 +1300 (Thu, 28 Feb 2008) | 1 line
  
  Fixed newlines in to-do report
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@50852 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-11 01:20:37 +00:00
Sam Minnee
2c1b94f355 Merged revisions 50205 via svnmerge from
http://svn.silverstripe.com/open/modules/cms/branches/2.2.2

........
  r50205 | sminnee | 2008-02-26 15:26:11 +1300 (Tue, 26 Feb 2008) | 2 lines
  
  Fixed CMS bottom-navigation after publish, when using the subsites module (or other alternateAbsoluteLink implementors)
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@50851 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-11 01:20:24 +00:00
Ingo Schommer
ae88663ee2 reverted r49775 (accidental removal of "add" feature, its actually not redundant functionality)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@50847 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-11 01:13:28 +00:00
Sam Minnee
dcedf0193a Added delete from stage button to CMS
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@50845 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-11 01:02:05 +00:00
Ingo Schommer
e33eb26243 formatting, fixed PHP notices
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@50829 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-11 00:39:15 +00:00
Ingo Schommer
04854f30d0 fixed PHP notice
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@50822 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-11 00:22:47 +00:00
Ingo Schommer
ee12df16a4 Merged revisions 50805 via svnmerge from
svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.2.2

........
  r50805 | ischommer | 2008-03-11 10:23:53 +1300 (Tue, 11 Mar 2008) | 2 lines
  
  added $searchable_fields in preparation for a more generic search implementation, currently limited to Member.php and MemberTableField.php (mainly to fix bugs caused by r49774 and r47856)
  fixed weird indentation formatting in Member.php
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@50801 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-10 21:28:15 +00:00
Geoff Munn
265130b4b5 project name changed to epmu
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@50462 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-03-03 03:11:34 +00:00
Sam Minnee
ed096f66fb Merged revisions 50187 via svnmerge from
http://svn.silverstripe.com/open/modules/cms/branches/2.2.1asfonz

........
  r50187 | aoneil | 2008-02-26 14:01:26 +1300 (Tue, 26 Feb 2008) | 2 lines
  
  Fix incorrect delimiter in CSV export of GenericDataAdmin
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@50341 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-28 00:40:31 +00:00
Normann Lou
cf1e205bc6 add feature that a creation form with fields in it will create the new record with those field value
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@50247 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-26 23:19:05 +00:00
Matt Peel
66c3db1e8e Reverted geoffm's accidental commit to /open
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@50107 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-25 02:10:37 +00:00
Geoff Munn
4475726ad6 First post
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@50105 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-25 01:06:39 +00:00
Sam Minnee
f640e12242 Fixed notice level error
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@50040 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-22 04:44:56 +00:00
Sam Minnee
f7474bf059 Added to main CMS controllers
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@49888 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-20 09:41:33 +00:00
Sam Minnee
6546f66ebb Added deprecation note to BulkLoaderAdmin
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@49883 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-20 09:38:41 +00:00
Sam Minnee
c9fc1ea46b Merged revisions 48425 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/cms/branches/2.1.0-rc3oriwave2

........
  r48425 | sminnee | 2008-01-22 17:16:41 +1300 (Tue, 22 Jan 2008) | 3 lines
  
  Updated AssetAdmin to use TreeTitle() in place of Title for tree generation
  > Updated TreeTitle() to allow use of alternateTreeTitle() in decorator
  > Updated File to allow the insertion of extra columns by decorator
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@49771 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-19 00:24:13 +00:00
Sam Minnee
29d9896dcf Merged revisions 48401 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/cms/branches/2.1.0-rc3oriwave2

........
  r48401 | sminnee | 2008-01-22 14:27:13 +1300 (Tue, 22 Jan 2008) | 2 lines
  
  Updated core to allow for subsites restriction of filesystem: Folder::getCMSFields() is now responsible for generating the folder form.
  Folder::syncChildren() now exclusively uses DB::query() calls instead of DataObject::get().
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@49770 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-19 00:23:57 +00:00
Sam Minnee
0c2a44d15c Merged revisions 48376 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/cms/branches/2.1.0-rc3oriwave2

........
  r48376 | sminnee | 2008-01-22 10:52:32 +1300 (Tue, 22 Jan 2008) | 1 line
  
  Moved CMS page-disabled logic into SiteTree::CMSTreeClasses(), so that it can be more easily customised for specific sites
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@49769 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-19 00:20:22 +00:00
Sam Minnee
abba535093 Merged revisions 46526 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/cms/branches/2.1.0-rc3oriwave2

........
  r46526 | sminnee | 2007-12-10 15:11:51 +1300 (Mon, 10 Dec 2007) | 1 line
  
  Removed redundant Add Member button at the top-right
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@49768 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-19 00:18:38 +00:00
Sam Minnee
2bdd8c782e Merged revisions 46525 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/cms/branches/2.1.0-rc3oriwave2

........
  r46525 | sminnee | 2007-12-10 15:10:56 +1300 (Mon, 10 Dec 2007) | 3 lines
  
  Added Member->SetPassword, a field that lets you have a write-only password field
  Used Member->SetPassword to create a password column on the MemberTableField for SecurityAdmin
  Send 'changed password' emails when a user is first created as well as edited
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@49767 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-19 00:17:48 +00:00
Sam Minnee
8cee1ab4de Merged revisions 43365 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/cms/branches/2.1.0-rc3oriwave2

........
  r43365 | hsmith | 2007-10-12 15:33:57 +1300 (Fri, 12 Oct 2007) | 1 line
  
  Changed call to ViewableData::castingHelperPair to fix sort not being set by getNewItem
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@49766 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-19 00:15:44 +00:00
Sam Minnee
a5b8e4f9c4 Merged revisions 43321 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/cms/branches/2.1.0-rc3oriwave2

........
  r43321 | hsmith | 2007-10-11 17:50:49 +1300 (Thu, 11 Oct 2007) | 2 lines
  
  Added LeftAndMainSubsites->augmentNewSiteTreeItem that allows extensions of LeftAndMain to provide the current SubsiteID for the new item.
  CMSMain->getNewItem now calls $this->extend('augmentNewSiteTreeItem', $newItem);
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@49765 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-19 00:15:23 +00:00
Sam Minnee
9b9cf01f48 #177 - Don't let people create a page name the same as a class name
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@49186 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-07 03:39:51 +00:00
Andrew O'Neil
c2f1785ff6 Disabled unused files list, as it uses way too much memory
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@49185 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-07 03:36:02 +00:00
Sam Minnee
0ad6198307 #1951 - Fix newsletter subscription form
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@49174 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-07 03:00:25 +00:00
Sam Minnee
121e8314e0 #2088 - Notice level error on compare versions
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@48962 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-01 02:26:01 +00:00
Normann Lou
8baa74ebdb Recover ExportForm for genericDataAdmin Which is needed for CRM CreateCommunication
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@48785 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-29 21:52:56 +00:00
Sam Minnee
22f27b5afa Merged revisions 48503 via svnmerge from
http://svn.silverstripe.com/open/modules/cms/branches/2.2.1asfonz

........
  r48503 | sminnee | 2008-01-24 11:22:14 +1300 (Thu, 24 Jan 2008) | 1 line
  
  Added 'duplicate page and children' context-item in addition to 'duplicate just this page'
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@48524 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-24 00:01:52 +00:00
Sam Minnee
c4e8850202 Merged revisions 47174 via svnmerge from
http://svn.silverstripe.com/open/modules/cms/branches/2.2.1asfonz

........
  r47174 | sminnee | 2007-12-17 13:58:48 +1300 (Mon, 17 Dec 2007) | 1 line
  
  Fixed bug in todo list reprot
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@48521 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-24 00:00:04 +00:00
Sam Minnee
71bf45250d Merged revisions 47172 via svnmerge from
http://svn.silverstripe.com/open/modules/cms/branches/2.2.1asfonz

........
  r47172 | sminnee | 2007-12-17 13:54:48 +1300 (Mon, 17 Dec 2007) | 2 lines
  
  Added simple to-do list facility to SiteTree 
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@48520 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-23 23:59:08 +00:00
Sam Minnee
96fee2a031 wakeless: #2144 - More memory-efficient version of admin/publishall
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@48235 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-18 02:35:39 +00:00
Sam Minnee
b00e1ca72e Fixed bug: Page class wasn't shown in add-page dropdown
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@48169 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-17 05:31:38 +00:00
Matt Peel
b811884441 Fixed the $hide_ancestor static on SiteTree subclasses so that it actually works.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@48049 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-16 02:10:05 +00:00
Andrew O'Neil
88af8d89c1 Fix autocompletion in Security Admin
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@47949 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-14 00:51:35 +00:00
Andrew O'Neil
2259c8f6d9 simon_w: #2122 - Bug in PageComments class (Security)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@47930 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-13 20:06:35 +00:00
Andrew O'Neil
033f55f5c1 Fix i18n errors
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@47883 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-11 01:43:15 +00:00
Sam Minnee
d92b02a9b0 simon_w: #2098: Fixed notice level error
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@47869 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-10 23:45:26 +00:00
Sam Minnee
1dea06a698 rbarreiros: #1907 - Patch for more i18n strings
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@47849 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-10 22:27:38 +00:00
Sam Minnee
7d00a996b4 rbarreiros: #1918 Translate newsletter and other strings
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@47832 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-10 03:28:13 +00:00
Sam Minnee
d9ac1a1f85 Improved API documentation
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@47798 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-10 00:33:49 +00:00
Sam Minnee
bfc448fa7f Added package tags and docblock info for API documentation
Fixed whitespace

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@47726 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-08 06:41:55 +00:00
Sam Minnee
b1f5068010 Removed unnecessary file CMSHelp
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@47722 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-08 03:47:12 +00:00
Ingo Schommer
fea3f62490 removed DetailForm() (was just needed to set custom class which is now in $popupClass), updated saveComplexTableField() to reflect parent class code
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@47586 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-01-03 08:44:29 +00:00
Andrew O'Neil
e2db1e9542 Merged revisions 46902 via svnmerge from
svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.2.1

........
  r46902 | aoneil | 2007-12-14 16:09:40 +1300 (Fri, 14 Dec 2007) | 2 lines
  
  Fix big block in security admin
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@47290 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-18 21:38:01 +00:00
Andrew O'Neil
1e87e05e0b Merged revisions 46433 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/cms/branches/2.2.0-privacy

........
  r46433 | aoneil | 2007-12-06 15:23:18 +1300 (Thu, 06 Dec 2007) | 2 lines
  
  Some basic styling for HasManFileField
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@46790 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-13 22:03:48 +00:00
Andrew O'Neil
5c67117056 Merged revisions 46302 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/cms/branches/2.2.0-privacy

........
  r46302 | aoneil | 2007-12-04 16:16:21 +1300 (Tue, 04 Dec 2007) | 2 lines
  
  Include HasManyFileField javascript
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@46789 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-12-13 22:02:54 +00:00