Commit Graph

12 Commits

Author SHA1 Message Date
james
bca687a50e tweak studnet status, rename functions to make more sense
particpants 'role' is now complete if their own personal info is complete
registration status is now separate and dictates whether the registrations overall status is complete or not
2011-03-03 16:24:09 +00:00
james
17d15584d0 Only check single user complete status for their 'role' to be complete
The overall registration status is now done completely separate
2011-03-03 16:15:48 +00:00
james
26e4204015 Fix a bug in loading users (cant call user_load() within any function that is called within user_load itself, like all the individual page checks -- in this case, emergencycontactStatus()
Add special awards display to project/view
Add special awards saving to project/edit
2011-03-03 04:24:21 +00:00
james
4fe1b04db3 Few code touchups, emergencyContactStatus pulls from users not students 2011-03-03 02:23:47 +00:00
james
0d365bc731 mentors are also incomplete if we have less than we say we're gonna have 2011-03-03 01:46:37 +00:00
james
87940b54de Add API registration/view
Add API registration/edit
2011-03-02 23:52:44 +00:00
jacob
902e45fe2e Missing function definition. Not sure why that didn't show up before... 2011-03-02 20:39:57 +00:00
jacob
c0b592dbd1 A quick catch to avoid errors on checking a students registration info when they have none 2011-03-02 20:28:20 +00:00
jacob
e538262cc6 Update to user_load to ensure that the roles statuses are directly checked upon loading the user. 2011-03-02 17:12:13 +00:00
jacob
143b255375 Oops - needed to move a line with some other modified code. 2011-02-28 21:54:21 +00:00
jacob
a773a76ed9 Quick touch-up on the user structure, adding a subset to the user role status for the participant role. Fixing also (I think) the problem with users always seeming to have the complete status 2011-02-28 21:45:51 +00:00
jacob
2eeff8d688 Moved participant registration completion checks into participant.inc.php, and added the participant_status_update function to call them all and find get the total status.
Updated judge.inc.php and volunteer.inc.php - they were previously putting the complete status for a role into the user object as a separate value (eg. $user['judge_status'] = 'complete';).  Updated that to put it in the user's role list directly (eg. $user['roles']['judge']['status'] = 'complete').
Updated register_participants_namecheck.php to use the user table and check the session against the normal user_auth_required.
2011-02-25 22:30:50 +00:00