Commit Graph

2342 Commits

Author SHA1 Message Date
james
caf1207fbf Put some superuser stuff on the participant invite page so alison can see whats going on 2011-03-05 04:39:06 +00:00
james
b26d9a3dc4 Fix school list 2011-03-05 03:13:15 +00:00
james
c995e226c7 Update registration_list
Update registration_statistics
Update registration_receivedforms
Update student_editor
2011-03-04 22:29:55 +00:00
james
953e95ac3e Update student/project editor for admin
Fix the registration_list.php to work again - temporarily disable "create new project" and the ability to ADD students to an existing project
2011-03-04 21:52:37 +00:00
james
9caa5b0a17 Fix the local sfiab side of special awards
Add "numstudents" to top of participant main page
2011-03-04 20:07:10 +00:00
james
c6ba56f57a Fix the -1 for the god damn last time 2011-03-04 19:56:15 +00:00
james
af47f30aeb Fix special award nominations to work with "-1" special award (i dont want to nomiiated for special awradsa) 2011-03-04 19:21:30 +00:00
james
afd81015eb Send the -1 award through for 'no special awards' 2011-03-04 16:38:15 +00:00
james
a28ab561eb Properly handle award id = -1 for "i dont want special awards" 2011-03-04 16:15:10 +00:00
james
c0299dc870 Update docs for account/edit, and tweak link_username_to_email 2011-03-04 16:01:59 +00:00
james
7d6d1851cd michael couldnt find the registration number becuase it was called 'num' so now give him both 'num' and 'registration_number' 2011-03-04 05:51:23 +00:00
james
133b41da5b Fix typo, argh 2011-03-04 05:28:14 +00:00
james
9a33f52e15 global $conference in joinproject 2011-03-04 05:19:42 +00:00
james
81f6702412 Wehn adding a project, get the WHOLE project object to return using getProject instead of simply quering it manually 2011-03-04 04:54:50 +00:00
james
0255fdbb88 Add firstname and lastname to the incomplete log for a better idea 2011-03-04 04:45:21 +00:00
james
ac30e13078 Add teacher emaisl to communications tool 2011-03-04 02:26:22 +00:00
james
acbd76aa03 FIx missing numstudents in project object 2011-03-04 01:32:52 +00:00
james
9efd7d89f9 UPdate teh numstudents API docs 2011-03-04 01:05:47 +00:00
james
cbfd66bb28 add numstudents API to the project object
also add a unique constraint on the user_roles table (user_id,role_id)
2011-03-04 01:05:15 +00:00
james
7254d983d8 FIx bug in special awards saving 2011-03-04 00:49:25 +00:00
james
5df66f4b7e Commit earlier fix to getProject returning invalid project object, im assuming this fixes michaels issue even though i havent heard yet... 2011-03-04 00:18:39 +00:00
james
c87f23397f Add better debug messages to output 2011-03-03 23:14:52 +00:00
james
4c15b72a8b and finally, fix special awards registration in teh system 2011-03-03 22:42:49 +00:00
james
2d2b9f4ef2 Update project page and status 2011-03-03 22:40:35 +00:00
james
020bebc1ab Fix project saving when session registration id isnt set properly, but we have it from the user object 2011-03-03 22:33:52 +00:00
james
b9d8a9c8c5 catch a few more role/add errors, and show more debug if it (by chance) hits the defualt case 2011-03-03 22:17:05 +00:00
james
3360fe95eb Tweak signature page 2011-03-03 22:04:11 +00:00
james
056d4d23bb Updates to old participant pages to work with new user system 2011-03-03 21:55:05 +00:00
james
4aced55922 Remove 'special awards' from participants user profile, it shoudlnt be there! 2011-03-03 21:38:35 +00:00
james
f31cc5c5fa remove the not used special awards section 2011-03-03 21:20:30 +00:00
james
b1940cbb9a Don't let students sign up for more special awards than tehy are allowed to 2011-03-03 20:58:54 +00:00
james
42ba7a3db9 Pass in the registrations id for the user 2011-03-03 20:55:12 +00:00
james
39dd0e6897 Some adjustments to student status, and make the old "main" page start to work again 2011-03-03 20:52:17 +00:00
james
bd4eb9a9cc Reorder status array for Michael
Remove registrations_id from field list
Adjust remove dateofbirth in favour of birthdate
2011-03-03 19:24:49 +00:00
james
699e12523f make foodreq field based on configuration
api registration/fields accepts both string (to json decode) or a post array, so the testapi page works
2011-03-03 18:11:36 +00:00
james
6ca366e1b8 Oosp actually put in the db update too 2011-03-03 17:39:14 +00:00
james
d0702e9dc1 Add participant_fields and participant_required_fields 2011-03-03 17:37:56 +00:00
james
9b1e3fa964 Add judge completesections
Fix typo in participant page
2011-03-03 16:34:22 +00:00
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
04283b7383 Add ability to edit users from the account_list
TODO: force user to join a conference if they dont have a user record for the conference yet (then roles cna be added, like say, committee :p )
2011-03-03 05:44:49 +00:00
james
f58e53cdb8 Okay really completely get rid of the role if '{$type}_enable'=='no'
Move account_list to main admin page
2011-03-03 05:36:36 +00:00
james
8588846591 Undo the roletype change, i think there's more going on here than i originally thought.. it hink we use the $_SESSION['roles'] in two different ways at some point, fixing one breaks the other, need to investigate more 2011-03-03 05:32:46 +00:00
james
5ce75f9a82 Allow uninviting participants 2011-03-03 05:13:29 +00:00
james
a5eeefa195 Dont display anything for volunteer registration if its complete disabled
Tweak setting school id when inviting participants when an account is both a teacher AND an admin (still need to set the school!)
Disable registration_list for now, so Alison doesnt try it and see it broken and get frustrated
2011-03-03 05:03:44 +00:00
james
002704889b Add doc for nummentors to project object 2011-03-03 04:43:03 +00:00
james
22b4d119f6 Move nummentors to project object
Remove registration/edit (we dont need to post anything back... for now...)
2011-03-03 04:42:13 +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
jacob
b9fbc56372 A start on adding the special awards API 2011-03-03 03:00:35 +00:00
james
95bbdab5f6 Add safetyquestions as part of the project/view and project/edit API 2011-03-03 02:57:40 +00:00