1
0
Commit Graph

17 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
4309f8822c 1) Insure that a group input is always part of the form, either a dropdown or hidden field
2) Create a "dummy validation function" in order to have the group and email_validation fields copied from the $_POST array.
2010-01-14 20:16:15 -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
f64442b75c Add a rule for the "activate" param so that it gets validated properly. 2009-12-23 02:24:55 -08:00
Bharat Mediratta
5f53465bd1 Update format of $hidden variables for new K24 form::open 2009-12-23 00:59:15 -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
b1119d82f1 Revert "Add xss_golden files to some modules."
This reverts commit e20cfc8494.
2009-11-18 10:53:02 -08:00
Tim Almdal
e20cfc8494 Add xss_golden files to some modules. 2009-11-18 10:37:31 -08:00
Tim Almdal
984c42edbf Add quotes around the module name 2009-11-18 08:58:57 -08:00
Bharat Mediratta
99ec99a166 Update to use the new page_type and page_subtype designations. 2009-11-17 14:06:04 -08:00
Chad Kieffer
1265882d6c Add a note about how unconfirmed user registrations can be removed. 2009-11-07 13:36:52 -07:00
Chad Kieffer
8ab32fe3d5 HTML markup updates, removed CSS after recent updates, a few label headings edits. 2009-11-07 00:12:45 -07: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