Commit Graph

35 Commits

Author SHA1 Message Date
jacob
7d5f5cccd0 Removed some usage of old user functions. Added role handling in testapi.php 2010-10-08 18:43:20 +00:00
dave
ceb80636e1 Start of the new user editor, some works, most things don't. 2010-08-08 09:09:49 +00:00
dave
4ba55b274c Updates to user_personal to use form validator 2010-08-08 09:09:46 +00:00
dave
5112bc5ffb Playing with user_personal.php 2010-08-08 09:09:38 +00:00
dave
a40100c03f Part of the last commit belongs on this one. Move the user, email, and
password stuff ot of user_personal.php
2010-07-15 09:18:05 +00:00
dave
28004d6fe8 typo 2010-07-15 09:18:04 +00:00
dave
ba2738b813 Fix redirection on login and on forced password changes. 2010-07-15 09:18:02 +00:00
dave
7c918c0167 update the user personal information editor, the superuser edit flags
for admin/config/super don't quite work yet.
2010-07-13 03:30:26 +00:00
jacob
6504d09886 Added updates for converting from Latin1 to utf8 character encoding 2010-06-04 20:23:59 +00:00
dave
caa761e34a Properly save username if different from email.. will probably depricate
the whole username/email thing next year anyway
2010-03-29 19:33:29 +00:00
james
1d0b469dac If the username field isnt shown, then we always need to set the username to the email address when saved 2010-02-12 19:00:25 +00:00
james
b4d5ec01a9 Fix encoding problems on firstname/lastname (and all user_personal) fields 2010-02-11 18:13:15 +00:00
james
56eb43431c Fix the existing email check for users with multiple years. 2010-02-10 16:02:51 +00:00
james
785f5bbf35 Show display and save the "preferred language" field. 2009-11-28 20:07:02 +00:00
james
dbad8ae320 Update the status on save and on page load 2009-11-26 18:29:03 +00:00
james
d954d148d6 Add all the missing judge registration fields, and let them be configurable.
Notify user if invalid regexp's are entered in fields (there was no feedback as to why it wasnt saving!)
Also make the space in the postalcode optional

FIXME: still need to change the "incomplete" to "complete" message once everything is saved properly, it stays as incomplete right now until they navigate away and come back.
2009-11-26 17:50:00 +00:00
dave
d10c98f8fd - Only validate fields we care about, not any field we find in the loaded user 2009-09-26 18:18:43 +00:00
dave
40abe88ae4 - Update the fair info editor 2009-09-25 22:53:40 +00:00
dave
8c79d88b5a - Turn the personal editor into an ajax save
- Do away with the embed_submit_url, instead, since this could be called from
  inside /admin, or just /, we'll specifiy the full path to the php file.
2009-09-25 22:46:37 +00:00
james
f963dbf276 Merge all changes from branch r1284:1498 into trunk 2009-09-09 00:26:12 +00:00
james
d09a5ee76f Add icons to the profile and password pages 2008-08-27 17:52:46 +00:00
james
651d6235a4 Add config options for Province/State and Postal Code/Zip Code 2008-07-16 17:23:53 +00:00
dave
15a56ce13f - Add First Aid and CPR data collection to the user table.
- Modify the config so a committee can enable it for volutneers and committee
  members
2008-02-23 03:28:43 +00:00
james
a118acc21c Add the missing 'Gender' field to the user personal profile page, as well as save it :) 2008-02-15 23:08:33 +00:00
dave
9a473041c8 - Be consistent with the header text 2008-01-07 05:51:54 +00:00
dave
c6e90a0ffa - Add regular expression checking for each field. And refuse to save user
personal info unless the regexp matches.
- Also add error reporting so the user knows which field is in error, and what
  the proper format is.
2007-12-21 09:47:18 +00:00
james
1441f24891 Make province work 2007-12-12 23:56:33 +00:00
dave
89675213bf - Make address2 never required, and setup the system so we can easily add more
fields that shoudl never be required.  I do it this way so I don't have to duplicate
  the field select array in user.inc.php for the requried fields too.
- Swap the City and Address2 locations so that Address1 and Address2 are on top
  of each other, instead of beside each other.
2007-12-12 22:50:54 +00:00
dave
75669d9c08 - Make the default username == to the email address
- Remove required field 'username'
- Put a little note beside the username to encourage most people to just leave
  it alone.
2007-11-29 18:37:40 +00:00
dave
39611473ba - Make username a requried field for the superuser 2007-11-29 17:54:09 +00:00
dave
55983aca38 - Change the user editor, read the fields and required fields from a config
variable, this will allow the committee to specify exactly what they
  wish to collect (and which fields are requried)
- Insert config variables for volunteers and committee
2007-11-26 02:28:45 +00:00
james
7e45665d6c This should be an error, not a notice 2007-11-19 21:52:56 +00:00
dave
689369d460 - Don't collide emails with the existing user being saved 2007-11-19 06:45:25 +00:00
dave
2715d67aef - Fix login check for an expired password
- Allow user_personal.php to handle committee members
- Add password field if the editer in user_personal has access_super
- Allow a committee member to edit anyone in user_personal.php
- Convert auth_required to user_auth_required, and check for both a user type
  and an access level (if committee)
- Convert the committee to the new user system (BIG change :)
- Remove the ^M from admin/committees.php
2007-11-17 21:59:59 +00:00
dave
93c05cbe2f - New user and volunteer signup system 2007-11-16 06:30:42 +00:00