Commit Graph

819 Commits

Author SHA1 Message Date
Ingo Schommer
f3018529ac elofgren: Add 2 needed isset() calls: in forms/Form.php and security/Member.php (merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41770 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 17:10:37 +00:00
Ingo Schommer
7b3f754add mlanthaler: Initial import of the OpenID authenticator and form class.
OpenIDAuthenticator_Controller not yet implemented.  (merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41769 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 17:04:11 +00:00
Ingo Schommer
aadac616c0 mlanthaler: Save the email address in the session variable to reuse it when the login fails. (merged from branches/gsoc)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41768 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 16:57:12 +00:00
Ingo Schommer
a377a67e54 mlanthaler: Switched to an authenticator and a form class to be able to add other authentication methods. (merged from branches/gsoc)
mlanthaler: The missing authenticator base class...  (merged from branches/gsocmlanthaler: Switched to an authenticator and a form class to be able to add other authentication methods.  (merged from branches/gsoc)
mlanthaler: The missing authenticator base class...  (merged from branches/gsoc))


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41729 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 03:12:21 +00:00
Sam Minnee
211f7b7ae6 Added Permission::get_groups_by_permission
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41211 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-04 03:55:02 +00:00
Sam Minnee
cb40b7e28a Added EDIT_PERMISSIONS permission code for SecurityAdmin
Added LeftAndMain::alternateAccessCheck() / alternateMenuDisplayCheck() so that subsite could hook a new security model into the admin
Added support for Group::alternateTreeTitle() to allow subsites to put *s before global groups

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41098 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-31 00:31:49 +00:00
Sam Minnee
87c8cb6661 Sorted permission codes in Permission::get_codes
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41096 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-31 00:28:30 +00:00
Sam Minnee
454949a4fc Use the homepage as a model for the security base-page, so that things like the current subsite are factored in
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41018 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-29 06:04:46 +00:00
Sam Minnee
72a069a323 Allow passing of an array of permission codes to Permission::get_members_by_permission()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40961 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-28 01:53:36 +00:00
Jeremy Shipman
e386cbae57 created alteration_message method to replace all the code used to echo changes when dbbuild runs, with appropriate colouring.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40809 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-24 03:31:14 +00:00
Jeremy Shipman
46c9efaecc Changed colouring of db/build to be more appropriate for the actual meaning of the messages.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40803 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-24 02:47:37 +00:00
Sean Harvey
bcb4abd61b commented out $currentController references, these are deprecated statics
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40759 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-23 06:43:40 +00:00
Andrew O'Neil
15d03ffdef Fixed error resulting from new Controller code
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40592 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-20 22:43:13 +00:00
Sam Minnee
8a0688aa5d Added HTTPResponse object, to encapsulate Controller responses for aid testing and other 'quirky' uses of Controllers
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40390 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-17 03:09:46 +00:00
Sam Minnee
188526a9de Removed notice-level errors
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40232 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-16 06:36:24 +00:00
Andrew O'Neil
65c7a3f0f4 Fixed php notice
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39936 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-13 22:04:03 +00:00
Andrew O'Neil
4560135eb9 FIxed db/build authentification errors, merged from gsoc r39559 and r37162
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39609 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-08-06 00:47:31 +00:00
Andrew O'Neil
97ff1db6f9 Fixed some php notices
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39034 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-07-19 23:15:05 +00:00
Hayden Smith
4a5d9b03f8 Moved Sapphire module to open source path
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39001 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-07-19 10:40:28 +00:00