1
0
Commit Graph

11 Commits

Author SHA1 Message Date
Bharat Mediratta
8eec328a06 Change json::reply calls to use "html" instead of "form" and not JSON
encode HTML payloads when we don't need to.

This is follow on for:
7607e1f932
2010-07-31 21:32:59 -07:00
Tim Almdal
b5b770cd1b Convert the register module to use the json::reply(...) helper. 2010-07-26 10:08:19 -07:00
Tim Almdal
7891bdfff5 Fix for ticket #1107.
1) Change the link on the register welcome dialog to use the change password form.
   thanks to TAZattitude for pointing the way.
2) Address the issue that default change password form, expects the user to know
   the old password.  As this is the first login, they might not write down the
   generated password, so when they get to form, they are screwed, as they can't
   change the password w/o the old one.  So we register will generate a clone
   of the password change form, where the old password is supplied as a hidden
   field.
2010-04-01 07:38:06 -07:00
Bharat Mediratta
ac28b85c5f Merge branch 'master' of github.com:gallery/gallery3-contrib 2010-03-03 10:16:22 -08:00
Bharat Mediratta
5f65d082f9 Update the copyright to 2010. 2010-03-03 10:16:08 -08:00
Andy Staudacher
45277812b5 Update register module for changes to the identity provider API. 2010-02-27 15:44:46 -08:00
Tim Almdal
b98b1391e9 A further fix for 977. create the user immediately if the policy is visitor w/o a confirmation email. 2010-01-15 08:58:31 -08:00
Bharat Mediratta
1a0dc96e77 First pass at upgrading contrib code to the Kohana 2.4 standards.
Here's a summary of the changes I made:

1) html::specialchars --> html::chars
2) ORM::orderby() -> ORM::order_by()
3) ORM::where() now takes 3 parameters including a comparator.  So
   ORM::where("a", $b) is now ORM::where("a", "=", $b) and the middle
   value can be any comparator.
4) ORM::$loaded --> ORM::loaded()
5) Database::instance() --> db::build()  (and there are some other
   subtle differences, like now you always call execute() at the end
   of the chain)
6) form::close() and form::close_fieldset() are now gone.  Use
   </form> and </fieldset> respectively.
7) Controller::$input is gone.  Use Input::instance() instead.

I've done very rudimentary testing so far.
2009-12-22 21:31:03 -08:00
Tim Almdal
4eaa434886 Latest re-incarnation of the user registration module.
This change implements all the modes:
* Visitors cannot create users
* Visitors can create an account without confirmation nor admin approval
* Visitors can create an account with conformation and admin approval
* Visitors can create an account with confirmation and no admin approval
2009-11-03 14:45:52 -08:00
Tim Almdal
0bdd2c2730 Change the ui per thumbs suggestion
Move the admin menu under the Settings dropdown
Implement:
* Vistors can create accounts but administrator approval is required
* Email confirmations can be used or not used with above
* Welcome email is sent when the user is created
* Random password is generated when the user created and this is included in the welcome email.
2009-10-30 13:19:57 -07:00
Tim Almdal
3d688c84ee Implement a user self registration module, that allows a user to create a request to for a user id. Currently all that's working is the guest user can create a pending user request and the administrator has to manually approve it. Eventually 2 other modes will be available: a confirmation email, similair to the recover password or the ability to add the user immediately. 2009-10-29 19:21:22 -07:00