Commit Graph

921 Commits

Author SHA1 Message Date
Ingo Schommer
ab92e9ef01 Merged revisions 50957 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/trunk

........
  r50957 | ischommer | 2008-03-12 22:34:27 +1300 (Wed, 12 Mar 2008) | 1 line
  
  #2283 Permissions are a bit broken - what happened to all the CMS permissions?
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50951 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:38 +13:00
Ingo Schommer
2eb5dad59d Merged revisions 50954 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/trunk

........
  r50954 | ischommer | 2008-03-12 22:24:59 +1300 (Wed, 12 Mar 2008) | 1 line
  
  #2310 MemberTableField Popup breaks after saving
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50948 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:38 +13:00
Ingo Schommer
c739f278dc Merged revisions 50952 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/trunk

........
  r50952 | ischommer | 2008-03-12 22:23:53 +1300 (Wed, 12 Mar 2008) | 1 line
  
  BUGFIX fixed csv export in MemberTableField by checking for valid database columns when building SELECT statement
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50946 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:37 +13:00
Ingo Schommer
3e4cb5eea4 Merged revisions 50949 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/trunk

........
  r50949 | ischommer | 2008-03-12 22:21:49 +1300 (Wed, 12 Mar 2008) | 1 line
  
  FEATURE added hasDatabaseField()
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50943 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:37 +13:00
Ingo Schommer
5abd33e58a BUGFIX properly setting $childID in form for newly created items to avoid duplicates after subsequent saving (the form reloaded without the ID connection)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50940 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:37 +13:00
Sam Minnee
3fa6d91992 Make RSS feed work with objects that don't support AbsoluteLink, such as the forum
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50914 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:37 +13:00
Sam Minnee
9d902aa8cd Merged revisions 50641,50645,50815 via svnmerge from
svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk

........
  r50641 | mrickerby | 2008-03-06 14:21:47 +1300 (Thu, 06 Mar 2008) | 1 line
  
  fixing typo in parameter name $validate --> $validator
........
  r50645 | mrickerby | 2008-03-06 15:06:47 +1300 (Thu, 06 Mar 2008) | 1 line
  
  made $messageType parameter of Validator::validationError optional, and added API docs to explain what (apparently) is going on
........
  r50815 | mrickerby | 2008-03-11 10:48:13 +1300 (Tue, 11 Mar 2008) | 1 line
  
  fixing bug with in-memory child objects not having their parent ID field updated via the ->add() method
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50909 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:37 +13:00
Sam Minnee
e0a1e7cdbe #2302 - Fixed double-escaping of CTF popup page-navigation links
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50896 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:37 +13:00
Ingo Schommer
120606dd92 Merged revisions 50844 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/trunk

........
  r50844 | ischommer | 2008-03-11 13:43:07 +1300 (Tue, 11 Mar 2008) | 1 line
  
  updated en_US master entities
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50838 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:37 +13:00
Ingo Schommer
d8e43ce8b6 Merged revisions 50840 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/trunk

........
  r50840 | ischommer | 2008-03-11 13:40:25 +1300 (Tue, 11 Mar 2008) | 1 line
  
  fixed PHP notices
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50834 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:37 +13:00
Ingo Schommer
c1fc0bcaaa Merged revisions 50838 via svnmerge from
http://svn.silverstripe.com/open/modules/sapphire/trunk

........
  r50838 | ischommer | 2008-03-11 13:39:44 +1300 (Tue, 11 Mar 2008) | 1 line
  
  fixed PHP notices
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50832 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:36 +13:00
Ingo Schommer
f70dfdcbaa documentation
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50807 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:36 +13:00
Sam Minnee
d765a8e3cf #2285 - Fixed widget editor
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50805 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:36 +13:00
Ingo Schommer
f369a2bb4d 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/sapphire/branches/2.2.2@50798 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:36 +13:00
Sam Minnee
72a8fb3f03 Added 'anchor' option to link inserter
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50776 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:36 +13:00
Ingo Schommer
c5dd22d7d2 added database indexes for AuthorID and PublisherID
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50716 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:36 +13:00
Ingo Schommer
e7b90f580b Merged revisions 50697 via svnmerge from
svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk

........
  r50697 | ischommer | 2008-03-07 14:17:14 +1300 (Fri, 07 Mar 2008) | 1 line
  
  #2265 Installer falsely claims modrewrite fails (mamp)
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50703 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:36 +13:00
Andrew O'Neil
a089e77a28 #2295 - DataObjectSets cannot be iterated over multiple times concurrently
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50676 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:36 +13:00
Sam Minnee
ea7889bdde #2280 - Fixed XML parsing errors in CTF
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50481 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:36 +13:00
Sam Minnee
b40613da9e #2287 - Removed notice-level error when geoip's not installed
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50480 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:36 +13:00
Sam Minnee
8cfb7bce21 #2277 - Fixed notice-level error on controllers that are direct subclasses of controller
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50345 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:36 +13:00
Sam Minnee
b09856545d Added support for password and old_password encryption mechanisms if you're using MySQL
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50283 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:35 +13:00
Sam Minnee
b1480d5a56 Small fix for session bugs on Lightspeed server
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50238 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:35 +13:00
Sam Minnee
ecb40ae642 A bit of a hack to fix double-escaped URLs in the CMS.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50207 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:35 +13:00
Sam Minnee
7429387aab Fixed password emailing for edited members
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50193 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:35 +13:00
Sam Minnee
d59b8154be Allow use of on controller extensions
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50173 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:35 +13:00
Sam Minnee
5fd878e19f Fixed 4.1-sort-by-group-aggregate query rewriter for sort functions containing columns, eg, ORDER BY if(A,B,C), X
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50172 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:34:35 +13:00
Sam Minnee
974238b296 Fixed bug with BasicAuth enabled on an old database, it was preventing you from visiting db/build
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50024 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-22 03:59:16 +00:00
Sam Minnee
7779e1c2b0 Fixed MySQL 4.1 support for situations where we are sorting by a group aggregation function
Fixed notice level error 


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49992 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-22 00:45:50 +00:00
Ingo Schommer
541c8a8904 Merged revisions 49946 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq

........
  r49946 | ischommer | 2008-02-21 15:21:48 +1300 (Thu, 21 Feb 2008) | 1 line
  
  fixed caching in getManyManyComponents (see r43848)
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49940 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-21 02:23:39 +00:00
Mark Rickerby
24bd071767 removed redundant error strings
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49915 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-20 23:01:02 +00:00
Mark Rickerby
6966328cd5 Added a default exception handler. Any uncaught exceptions thrown from application code are now scooped up by the Debug::fatalHandler
Still some small problems with displaying stack traces of exceptions because the context array from trigger_error looks quite different from that of Exception::getTrace

Also fixed a couple of echo/print bugs in Debug::friendlyError. From the looks of the code there may be more bugs to cleanup here.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49899 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-20 21:37:22 +00:00
Sam Minnee
ecdc4d5cbf Fixed Controller::allowed_actions documentation
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49889 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-20 09:49:35 +00:00
Sam Minnee
21c8752e2c Removed warning in group admin
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49887 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-20 09:40:13 +00:00
Sam Minnee
3e2fdf49f0 Improved allowed_actions support for subclassed controllers, such as CMSMain extends LeftAndMain
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49886 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-20 09:39:53 +00:00
Sam Minnee
53ef54c4b1 Removed use of deprecated setExtraClass
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49885 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-20 09:39:17 +00:00
Sam Minnee
e4d300c8c8 Moved _ss_environment.php include to very top
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49884 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-20 09:39:00 +00:00
Ingo Schommer
20b0a8ef6e Merged revisions 49843 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq

........
  r49843 | ischommer | 2008-02-20 12:03:49 +1300 (Wed, 20 Feb 2008) | 1 line
  
  added $casting for BaseHref()
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49837 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-19 23:04:12 +00:00
Ingo Schommer
3f6afa2904 Merged revisions 49834 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq

........
  r49834 | ischommer | 2008-02-20 11:45:56 +1300 (Wed, 20 Feb 2008) | 1 line
  
  fixed sql-injection
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49828 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-19 22:46:30 +00:00
Sam Minnee
b10974b553 Merged revisions 48425 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/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/sapphire/trunk@49799 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-19 00:50:17 +00:00
Sam Minnee
49db7da7c6 Merged revisions 49732 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.1.0-rc3oriwave2

........
  r49732 | sminnee | 2008-02-19 10:27:49 +1300 (Tue, 19 Feb 2008) | 1 line
  
  Updated subject line of warning/error emails
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49798 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-19 00:49:57 +00:00
Sam Minnee
8eb13d5128 Moved folder admin form to Folder::getCMSFields() to let you more easily manipulate the form with a decorator
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49797 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-19 00:49:33 +00:00
Sam Minnee
c422a6c43c Disabled notice level error until more of the core is compliant
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49796 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-19 00:47:21 +00:00
Sam Minnee
f11383c2fa Merged revisions 48376 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/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/sapphire/trunk@49794 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-19 00:39:45 +00:00
Sam Minnee
f1ba46ce42 Merged revisions 46525 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/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/sapphire/trunk@49793 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-19 00:38:48 +00:00
Sam Minnee
7babce4a66 Merged revisions 45750 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.1.0-rc3oriwave2

........
  r45750 | sminnee | 2007-11-27 17:45:36 +1300 (Tue, 27 Nov 2007) | 1 line
  
  Fixed DataObjectSet::insertFirst() - it now uses a numeric key rather than null
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49791 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-19 00:37:50 +00:00
Sam Minnee
03e67fe100 Merged revisions 45748 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.1.0-rc3oriwave2

........
  r45748 | sminnee | 2007-11-27 17:45:11 +1300 (Tue, 27 Nov 2007) | 1 line
  
  Create Group::canEdit(), which can be used to filter the SecurityAdmin group list
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49790 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-19 00:37:17 +00:00
Sam Minnee
84d1d57df5 Merged revisions 45654 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.1.0-rc3oriwave2

........
  r45654 | sminnee | 2007-11-26 17:00:26 +1300 (Mon, 26 Nov 2007) | 2 lines
  
  Redirect to legislation section when there are only legislation pages
  Allow selection of folder when inserting files / images
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49788 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-19 00:36:26 +00:00
Sam Minnee
2a5314685a Merged revisions 43980 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.1.0-rc3oriwave2

........
  r43980 | sminnee | 2007-10-30 11:37:43 +1300 (Tue, 30 Oct 2007) | 1 line
  
  Minor bugfixes
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49785 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-19 00:33:39 +00:00
Sam Minnee
4ba805020a Merged revisions 43384 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.1.0-rc3oriwave2

........
  r43384 | hsmith | 2007-10-15 09:20:44 +1300 (Mon, 15 Oct 2007) | 1 line
  
  Added additional checks so that the email doesn't get sent to new members, or on the test site.
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@49784 467b73ca-7a2a-4603-9d3b-597d59a354a9
2008-02-19 00:31:57 +00:00