bb40bf4da1Updated the user_load and user_save functions to handle judges special awards selection. Updated judge_special_awards.php to use that method rather than direct SQL queries.
jacob
2010-10-25 18:07:55 +00:00
7625c2e309User settings touch-ups
jacob
2010-10-22 21:17:25 +00:00
cee52c6b67Updated function for getting user info structure. Used it in the user_load function.
jacob
2010-10-22 18:43:17 +00:00
a5887bdf96Oops fix the docs
james
2010-10-22 15:12:45 +00:00
a035a6f8e3Add registration/fields API Fix $roles array use colliding with global $roles array ($roles should never be used anywhere! its a master list of all of the roles set in the bootstrap!)
james
2010-10-22 15:06:49 +00:00
bae700deadStarting on code for getting relevant field descriptions for user data depending on the roles for that user.
jacob
2010-10-21 21:56:09 +00:00
3867b9b539Fixes on the modified user_load function
jacob
2010-10-21 16:08:41 +00:00
b9bcb127a6Updated these tables to include the conference id: award_awards award_prizes award_types award_awards_projectcategories award_awards_projectdivisions winners students projects registrations
jacob
2010-10-20 21:58:26 +00:00
78bf0c8751Modified user_load to load only fields relevant to the roles that the user has
jacob
2010-10-20 19:44:18 +00:00
a792b763a1remove username from the standard user fields add 'required_fields' array to the user object so the API users know which fields are needed
james
2010-10-20 17:25:43 +00:00
c367656d02also load committee whether its active or not
james
2010-10-15 01:46:53 +00:00
ab068fdfbbFix updateSessionRoles once and for all
james
2010-10-15 01:31:07 +00:00
759ecc0a1aOops its user_load not users_load
james
2010-10-14 23:06:21 +00:00
f225787e39Properly update the session roles from the API side Allow (u) to be empty if we dont have it, we can get it from the session users_id
james
2010-10-14 20:38:48 +00:00
241618c74fFix saving active/deactive roles Fix the session roles when roles are modified and only put 'active' ones into the session roles array
james
2010-10-14 20:31:10 +00:00
ba793ac8e0Fix rolestasks saving of the level for each item Fix tableeditor css to only modify anything in the tableeditor/tableview classes Fix saving language for volunteers Fix error message for saving phone numbers on organization and personal Fix schoolfeedback and schoolinfo pages Update school select tab, better html and school options list Fix css for tertiary menu to show difference between selected and non-selected
james
2010-10-14 19:42:20 +00:00
01d70abf74Added teacher interface in olympics UI touch ups
jacob
2010-10-14 17:51:56 +00:00
4a3ea7dba9Changed the scienceolympic judge settings to a generic activity selection tab (replacing so_judge_other.php with activities.php) Altered use of schedule_users_availability_link. It no longer distinguishes by role.
jacob
2010-10-14 15:26:47 +00:00
e55a6f901afix schedule display boxes to be the same for FF/IE/Chrome Add min/max judges/volunteers/teams Add defaults Update science olympic tab display Add Teams/Volunteers/Judges status to admin schedule view
james
2010-10-14 15:11:52 +00:00
2b4b42c250Dont make jquery elements bigger, it messes stuff up!
james
2010-10-14 14:31:16 +00:00
8e4306ae3bUpdated volunteer preferences to work with the new interface and with the new conference id system
jacob
2010-10-14 14:10:49 +00:00
9229b1665bAdded user settings config for science olympic judges
jacob
2010-10-13 21:01:01 +00:00
941b5e127fQuick correction on automatic e-mail
jacob
2010-10-12 18:00:17 +00:00
f0d1578ac3Added generic "account" password recovery
jacob
2010-10-12 16:49:38 +00:00
607834bc0eupdating _SESSION when user roles are modified
jacob
2010-10-08 20:28:56 +00:00
7d5f5cccd0Removed some usage of old user functions. Added role handling in testapi.php
jacob
2010-10-08 18:43:20 +00:00
835047f3a8Role functions debugged in account.inc.php, using them in user_main.php and user.inc.php
jacob
2010-10-08 16:07:07 +00:00
177f49f805moving code for modifying user roles into accounts.inc.php. Incomplete. Broken.
jacob
2010-10-07 22:02:45 +00:00
fce116316eImplement the role/* functions
james
2010-10-06 21:01:17 +00:00
98dcfd6399added some skeletal function stubs
jacob
2010-10-06 20:01:15 +00:00
daa714e5efAdded functionality in the main page for managing roles
jacob
2010-10-06 17:05:54 +00:00
052024b6d6Updates for letting users register in roles. Incomplete
jacob
2010-10-05 21:46:29 +00:00
e590c94690Fix api for categories (projectcategories_load wouldnt have ever worked!)
james
2010-10-05 20:24:43 +00:00
4ddbffe4bbOops, guess i should test before committing -- this fixes the syntax error, as well as allows more weird chars to be properly set and saved as division/category titles
james
2010-10-05 20:18:32 +00:00
e7222337f7Fix a typo
james
2010-10-05 19:45:28 +00:00
eb1012f7c5Oops, also bump the DB version so it runs the new updates
james
2010-10-05 19:45:05 +00:00
4f42407073migrate categories/divisions/subdivisions from FAIRYEAR to conferences_id rename API call /config to /config/variables update API with /config members for divisions/subdivisions/categories
james
2010-10-05 19:43:30 +00:00
d2afb6a94eModifications on how roles get handled
jacob
2010-10-05 15:04:15 +00:00
898bdaacfcOops put account/edit APIDOCS back in
james
2010-10-01 21:06:57 +00:00
f0b362eff7Add account/view api
james
2010-10-01 21:04:05 +00:00
a92544bbeaImplement user/edit Remove saving some stuff from user_save
james
2010-10-01 19:42:52 +00:00
895bcc36e2Add user/view API Change user_load() to explicitly load specific values instead of all values, as there's now some fields that need to be deleted but we cant delete them yet...
james
2010-10-01 19:28:26 +00:00
9db042fc10Modifications on editing users
jacob
2010-10-01 18:47:28 +00:00
e0eef7effaAdd /api/config
james
2010-10-01 17:13:48 +00:00
88055eb6a6oops - committed with some code remarked
jacob
2010-09-30 14:41:08 +00:00
637a35ca60Separated (un)registering teams for events into schedule.inc.php and added it to the api
jacob
2010-09-29 21:23:54 +00:00
8b2de95005Be a bit smarter with "notimplemented", add API impelmentation status, and basic details to the apidocs page
james
2010-09-28 20:37:44 +00:00
b5ed7c174fuse 'events' and 'locations' instead of 'list' in the return object
james
2010-09-28 20:24:32 +00:00
0a02525d14Added some API functionality used in schoolschedule.php
jacob
2010-09-28 20:09:31 +00:00
eb3c8f0d77Add not implemented API comments of what still needs to get done
james
2010-09-28 19:48:03 +00:00
cbcb1743ceadd class clear to CSS so menu's work properly again
james
2010-09-28 19:07:31 +00:00
3e8271c869Make apidoc valid html
james
2010-09-27 20:51:16 +00:00
c413d54f6da few apidoc cleanups
james
2010-09-27 20:50:37 +00:00
0f9588cdf4Add APIDOC for the rest of the existing api
james
2010-09-27 20:45:57 +00:00
08340544d9Add api documentation
james
2010-09-27 20:38:49 +00:00
54bf2201deOops fix typo
james
2010-09-27 20:04:12 +00:00
55bdb2aec5Add account/create API Start adding some basic APIDOC comments to be parsed out into documentation later
james
2010-09-27 19:52:43 +00:00
64a0432c55Add account registration and email address confirmation
james
2010-09-27 19:13:56 +00:00
c009ef1e3aAdded user_school.php, a form tab for user to select the school to which they belong. Updated user_edit.php to use it.
jacob
2010-09-27 16:14:09 +00:00
bce4bdb2b2Change "pageid" and "NAV_PAGE_ID" to "navident" and "NAV_IDENT" and add the field to the database Add schedule class details to "new" theme
james
2010-09-23 21:09:04 +00:00
8282ceaf96need tbody for tablesorter
james
2010-09-23 17:21:47 +00:00
ff3ab7151eHandle topic-menu headings that arent linked
james
2010-09-23 17:07:19 +00:00
a6ec8ef874Fix the SESSION debug output
james
2010-09-23 16:41:40 +00:00
ffd09ae67eFix clicking on secondary nav
james
2010-09-23 16:37:19 +00:00
60c6235649Re-write the naviagation agian - no more ajax menus, and it auto-selects the first secondary and first tertiary pages when clicking a higher level
james
2010-09-23 16:17:24 +00:00
2292af3206Use div_prefs and cat_prefs (make the scheduler work again) Give higher preference to not having leftover judges Treat 'indifferent' cat_prefs as cost=0 even though its a 2 (on the 0-4 scale)
james
2010-09-22 18:28:51 +00:00
a8fa8e7a99Disable DEPRECATED warnings
james
2010-09-11 00:53:03 +00:00
70d359c15bPHP 5.3 DEPRECATED split() so, convert all split()'s to explode()'s
james
2010-09-10 19:38:56 +00:00
517563a97aTUAG- various tune ups to HTML,CSS
useradvocate
2010-09-09 20:13:48 +00:00
5dab48e574TUAG- various tune ups to HTML,CSS
useradvocate
2010-09-09 20:13:29 +00:00
eef65869bbTUAG- various tune ups to HTML,CSS
useradvocate
2010-09-09 20:13:10 +00:00
755b9c8560TUAG- various tune ups to HTML,CSS
useradvocate
2010-09-09 20:12:41 +00:00
c9bf5f4227get rid of the custom fundraising module primary nav
james
2010-09-09 16:42:40 +00:00
07f2aa208eAdd class="clear to primary and secondary menu's
james
2010-09-09 15:22:22 +00:00
3913bb397dList all conferences with status in the api call, instead of just the running ones
james
2010-09-07 19:59:37 +00:00
dfb6112e66Split committee management out
james
2010-09-03 16:59:05 +00:00
a5f309c022Add session variables and date list by conference to API test page
james
2010-09-02 19:14:59 +00:00
146f557759Add science olympics teams api to testapi page
james
2010-09-02 19:01:49 +00:00
959843d4c4Add a simple API test page for checking some api calls Update /api/dates to use current conference id if one isnt specificed
james
2010-09-02 18:53:48 +00:00
6963b7104bswitch conference API
james
2010-09-02 17:38:13 +00:00
c8ada5f7c2Move the schedule to the teacher account
james
2010-09-01 19:27:55 +00:00
88cdfebdeaMove team management to teacher interface
james
2010-09-01 17:53:35 +00:00
d01a3088b7dd api for managing science olympics teams
james
2010-08-31 20:50:11 +00:00
de564f3c55More user stuff to get things workinga gain Add a API module for science olympics
james
2010-08-31 20:12:41 +00:00
ec3be0f10fMore changes to be able to at least barely use the system again
james
2010-08-31 19:41:32 +00:00
3766b0a3f6Fix navigation when loading a page that exists in the nav structure
james
2010-08-31 17:41:54 +00:00
81f3f3235aFix logging in and switching conferences, man, this is becoming a mess
james
2010-08-31 17:35:58 +00:00
e03902bbecMerge judge_availablilty into judge_other and delete judge_availability.php
dave
2010-08-31 07:23:49 +00:00
4bf2897f18Add changes for API Authenication and force API to use SSL
james
2010-08-24 16:04:12 +00:00
05432715e4fix spacing
dave
2010-08-24 00:04:57 +00:00
49648aed94Don't validate it right away, that causes the invlaidHandler to be run and the form to be submitted (since in SFIAB we actually want to save a partially-filled but invalid form). Need anothe way to trigger validation without also triggering the submission
dave
2010-08-24 00:04:56 +00:00
2db3ce6b9eValidate the form on load so the user can see the problems right away.
dave
2010-08-24 00:04:53 +00:00
56707e4941Oops sort the menu's correctly, and restrict the editor to one less level than before (as per TUAG request)
james
2010-08-20 19:59:20 +00:00
358d413365Remove the accordion from the tertiary menu, and move the tertiary menu <div> to the <div id="main"> as specified in TUAG's prototype
james
2010-08-20 18:16:21 +00:00
4143f289afA few more cleanups, and unfortunately we cant convert the whole $config to javascript, so just do the SFIABDIRECTORY that we need for now, we can add more later
james
2010-08-20 18:00:47 +00:00
030f2030e8update classic theme too
james
2010-08-20 17:47:51 +00:00
15d057ae1fAdd the missing files
james
2010-08-20 17:45:53 +00:00
69234c1657Update rolestasks to be conference-type specific Add a 'new' theme for TUAG to start implementing
james
2010-08-20 17:40:11 +00:00
71b0489493A few more cleanups, and link the admin and config primary menu icons to real pages so we can remove the (old) links
james
2010-08-20 15:42:18 +00:00
02998f98d6A few more UI div recommendations and CSS touchups Make php '$config' array available in javascript as javascript 'config' object
james
2010-08-20 15:11:11 +00:00