Commit Graph

22 Commits

Author SHA1 Message Date
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
jacob
19676aa403 Modified the authentication api to store project registration id and registration number in the session.
Updated the project api's to use project id/number stored in the session
2011-02-23 21:12:12 +00:00
jacob
f22dfb3c93 Added project mentor management to the api, and functions for testing it 2011-02-21 19:42:13 +00:00
jacob
64ef61d88f Added api functionality for disconnecting a user from a registration : api/project/remove 2011-02-18 21:53:07 +00:00
jacob
f785a71be2 Oops - removed debug output from the project/new api.
Updated getProject to take userId as a parameter, rather than the registration number.
2011-02-18 20:48:56 +00:00
jacob
e6dfe1c476 Added joinProject function in register_participants.inc.php, and added the api for it at /api/project/join 2011-02-18 19:19:56 +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
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
e9f46edb0e Added code for inviting users, access to it through the api 2010-11-23 20:58:38 +00:00
james
63178e596b Add dictionary documentation
Update Test API page to link to apidocs and dictionary
2010-11-18 17:24:18 +00:00
jacob
1701e965ef Added a quick link to test api/registration/dictionary 2010-11-18 17:10:53 +00:00
jacob
31baeaa715 SQL error fix 2010-11-18 15:59:22 +00:00
jacob
4f35702bbf Added API function for modifying account information 2010-10-28 21:22:12 +00:00
jacob
d0d3c7b7c4 Separated the functionality of school selection from the pages, implemented it in the API 2010-10-27 16:40:17 +00:00
james
0bcd811101 Fix passing in role list by ids 2010-10-25 23:58:48 +00:00
james
3971df267f Add registration field roles to testapi.php page
Fix char(2) field detection
2010-10-25 23:55:38 +00:00
jacob
7d5f5cccd0 Removed some usage of old user functions. Added role handling in testapi.php 2010-10-08 18:43:20 +00:00
jacob
637a35ca60 Separated (un)registering teams for events into schedule.inc.php and added it to the api 2010-09-29 21:23:54 +00:00
jacob
0a02525d14 Added some API functionality used in schoolschedule.php 2010-09-28 20:09:31 +00:00
james
a5f309c022 Add session variables and date list by conference to API test page 2010-09-02 19:14:59 +00:00
james
146f557759 Add science olympics teams api to testapi page 2010-09-02 19:01:49 +00:00
james
959843d4c4 Add a simple API test page for checking some api calls
Update /api/dates to use current conference id if one isnt specificed
2010-09-02 18:53:48 +00:00