1
0
Commit Graph

9 Commits

Author SHA1 Message Date
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
Tim Almdal
ba0794fe91 Allow the register link to be shown on the login page. Fixes ticket #952 2009-12-28 11:36:17 -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
Bharat Mediratta
99ec99a166 Update to use the new page_type and page_subtype designations. 2009-11-17 14:06:04 -08:00
Tim Almdal
b763c82ae5 Display the register link in the user_menu instead of the site_menu. Ticket #871 2009-11-06 14:12:56 -08:00
Tim Almdal
f57ac32e23 Always show the update button, even if there is no default group. Also don't set the default group for the user if there has been no default user defined. 2009-11-03 19:19:24 -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