Commit Graph

24 Commits

Author SHA1 Message Date
james
93f4703b71 Add account_list (temporary hack)
user_invite can find users by username OR by email address
if the account is found, but user_load fails, thats okay, it just means that they dont have any roles yet
2011-02-16 18:39:59 +00:00
james
4ac3a8f974 Revert Dennis's commit - improper line endings caused the whole files to be replaced 2011-02-16 16:59:33 +00:00
dennis
ce35d4ccee Changes by Dennis. Required to provide for a clean install on Windows server ISPs (also my Windows xp workstation with PHP and mySQL). There should be NO changes to functionality. 2011-02-10 14:46:58 +00:00
jacob
347b12ab2e Oops - only update the session user id for the newly created user if it's the same account and the same conference as the one doing the user creation 2011-01-28 20:16:43 +00:00
james
8714fe7a1d Fix invitation emails 2011-01-28 20:02:21 +00:00
jacob
ceb55a49a6 Add a user id to the session when someone adds a role (and thus a user) to an account that does not currently correspond to any user records. 2011-01-28 19:57:09 +00:00
jacob
552ce74d96 Couple of quick fixes:
- the "languages" field needed to be regrouped when applied to a Science Olympics account
 - Modified account/create api to test all errors and return them as a group, rather than exiting on the first error
2011-01-27 22:55:42 +00:00
james
e0f0a5dd90 Re-do user_invite to allow users to be invited by admin/config's - its not complete, but its working, it still needs to send emails though to tell the user of their new role, but i need to think on how to do that because if its a new account then it could be just a username/password without an email, but if its invited then the email __IS__ the username, but we shouldnt rely on the email being valid until its been confirmed via the email confirmation.. ugh?!?! 2010-12-21 23:16:20 +00:00
james
39ff0dd2ce More fixes to (hopefully) allow a superuser to add admin/config roles 2010-12-06 19:33:38 +00:00
jacob
6b94ef5c76 Added abillity to uninvite a user from a particular role where allowed, and api function (/user/uninvite)
Added function user_list_modifiable, which returns a list of user info that the current user is allowed to modify (users.inc.php)
Added api for calling user_list_modifiable (/user/list)
2010-12-01 19:40:45 +00:00
jacob
39f53e4168 Added teacher abillity to add/remove students
Updated the user_save to output more meaningful errors
Updates on 'questions' and 'pagetext' tables to change the 0 conference ID to -1, matching the -1 year
2010-11-29 22:54:12 +00:00
jacob
1e1fa0097a Updated super/conferences.php, adding a rollback if there are errors in copying a conference.
Added compvars.php, which is a test script for comparing data after it's been rolled over from one conference to another - used to test the rollover in super/conferences.php.
Updated usage of the role "student", replacing it with "participant".
2010-11-26 16:50:17 +00:00
jacob
00f380483b Rewrote the installation script to deal with conferences
Writing UI components to create conferences from within the user interface - still buggy
2010-11-10 23:05:24 +00:00
jacob
4f35702bbf Added API function for modifying account information 2010-10-28 21:22:12 +00:00
jacob
835047f3a8 Role functions debugged in account.inc.php, using them in user_main.php and user.inc.php 2010-10-08 16:07:07 +00:00
jacob
177f49f805 moving code for modifying user roles into accounts.inc.php. Incomplete. Broken. 2010-10-07 22:02:45 +00:00
jacob
98dcfd6399 added some skeletal function stubs 2010-10-06 20:01:15 +00:00
james
f0b362eff7 Add account/view api 2010-10-01 21:04:05 +00:00
james
54bf2201de Oops fix typo 2010-09-27 20:04:12 +00:00
james
55bdb2aec5 Add account/create API
Start adding some basic APIDOC comments to be parsed out into documentation later
2010-09-27 19:52:43 +00:00
james
64a0432c55 Add account registration and email address confirmation 2010-09-27 19:13:56 +00:00
james
2c7e23b276 Fix some user/account bugs
Start fixing the schoolstudents page (it now adds users, but it doesnt re-load them or edit htem or delete them)
2010-07-27 19:06:36 +00:00
dave
712348dbb9 Fix email checking
user_account now saves info, and does online-checking of usernames.
Form validation is fun!
2010-07-14 18:09:28 +00:00
dave
b1f2718a3c Users can login and logout and look at their home pages. 2010-07-13 03:30:11 +00:00