Commit Graph

  • 19e146547f Fix api registration fields when roles ar epassed in roles can be passed in as array of ids or array of types james 2010-10-25 23:12:35 +00:00
  • bb40bf4da1 Updated 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
  • 7625c2e309 User settings touch-ups jacob 2010-10-22 21:17:25 +00:00
  • cee52c6b67 Updated function for getting user info structure. Used it in the user_load function. jacob 2010-10-22 18:43:17 +00:00
  • a5887bdf96 Oops fix the docs james 2010-10-22 15:12:45 +00:00
  • a035a6f8e3 Add 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
  • bae700dead Starting 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
  • 3867b9b539 Fixes on the modified user_load function jacob 2010-10-21 16:08:41 +00:00
  • b9bcb127a6 Updated 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
  • 78bf0c8751 Modified user_load to load only fields relevant to the roles that the user has jacob 2010-10-20 19:44:18 +00:00
  • a792b763a1 remove 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
  • c367656d02 also load committee whether its active or not james 2010-10-15 01:46:53 +00:00
  • ab068fdfbb Fix updateSessionRoles once and for all james 2010-10-15 01:31:07 +00:00
  • 759ecc0a1a Oops its user_load not users_load james 2010-10-14 23:06:21 +00:00
  • f225787e39 Properly 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
  • 241618c74f Fix 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
  • ba793ac8e0 Fix 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
  • 01d70abf74 Added teacher interface in olympics UI touch ups jacob 2010-10-14 17:51:56 +00:00
  • 4a3ea7dba9 Changed 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
  • e55a6f901a fix 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
  • 2b4b42c250 Dont make jquery elements bigger, it messes stuff up! james 2010-10-14 14:31:16 +00:00
  • 8e4306ae3b Updated volunteer preferences to work with the new interface and with the new conference id system jacob 2010-10-14 14:10:49 +00:00
  • 9229b1665b Added user settings config for science olympic judges jacob 2010-10-13 21:01:01 +00:00
  • 941b5e127f Quick correction on automatic e-mail jacob 2010-10-12 18:00:17 +00:00
  • f0d1578ac3 Added generic "account" password recovery jacob 2010-10-12 16:49:38 +00:00
  • 607834bc0e updating _SESSION when user roles are modified jacob 2010-10-08 20:28:56 +00:00
  • 7d5f5cccd0 Removed some usage of old user functions. Added role handling in testapi.php jacob 2010-10-08 18:43:20 +00:00
  • 835047f3a8 Role 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
  • 177f49f805 moving code for modifying user roles into accounts.inc.php. Incomplete. Broken. jacob 2010-10-07 22:02:45 +00:00
  • fce116316e Implement the role/* functions james 2010-10-06 21:01:17 +00:00
  • 98dcfd6399 added some skeletal function stubs jacob 2010-10-06 20:01:15 +00:00
  • daa714e5ef Added functionality in the main page for managing roles jacob 2010-10-06 17:05:54 +00:00
  • 052024b6d6 Updates for letting users register in roles. Incomplete jacob 2010-10-05 21:46:29 +00:00
  • e590c94690 Fix api for categories (projectcategories_load wouldnt have ever worked!) james 2010-10-05 20:24:43 +00:00
  • 4ddbffe4bb Oops, 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
  • e7222337f7 Fix a typo james 2010-10-05 19:45:28 +00:00
  • eb1012f7c5 Oops, also bump the DB version so it runs the new updates james 2010-10-05 19:45:05 +00:00
  • 4f42407073 migrate 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
  • d2afb6a94e Modifications on how roles get handled jacob 2010-10-05 15:04:15 +00:00
  • 898bdaacfc Oops put account/edit APIDOCS back in james 2010-10-01 21:06:57 +00:00
  • f0b362eff7 Add account/view api james 2010-10-01 21:04:05 +00:00
  • a92544bbea Implement user/edit Remove saving some stuff from user_save james 2010-10-01 19:42:52 +00:00
  • 895bcc36e2 Add 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
  • 9db042fc10 Modifications on editing users jacob 2010-10-01 18:47:28 +00:00
  • e0eef7effa Add /api/config james 2010-10-01 17:13:48 +00:00
  • 88055eb6a6 oops - committed with some code remarked jacob 2010-09-30 14:41:08 +00:00
  • 637a35ca60 Separated (un)registering teams for events into schedule.inc.php and added it to the api jacob 2010-09-29 21:23:54 +00:00
  • 8b2de95005 Be 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
  • b5ed7c174f use 'events' and 'locations' instead of 'list' in the return object james 2010-09-28 20:24:32 +00:00
  • 0a02525d14 Added some API functionality used in schoolschedule.php jacob 2010-09-28 20:09:31 +00:00
  • eb3c8f0d77 Add not implemented API comments of what still needs to get done james 2010-09-28 19:48:03 +00:00
  • cbcb1743ce add class clear to CSS so menu's work properly again james 2010-09-28 19:07:31 +00:00
  • 3e8271c869 Make apidoc valid html james 2010-09-27 20:51:16 +00:00
  • c413d54f6d a few apidoc cleanups james 2010-09-27 20:50:37 +00:00
  • 0f9588cdf4 Add APIDOC for the rest of the existing api james 2010-09-27 20:45:57 +00:00
  • 08340544d9 Add api documentation james 2010-09-27 20:38:49 +00:00
  • 54bf2201de Oops fix typo james 2010-09-27 20:04:12 +00:00
  • 55bdb2aec5 Add 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
  • 64a0432c55 Add account registration and email address confirmation james 2010-09-27 19:13:56 +00:00
  • c009ef1e3a Added 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
  • bce4bdb2b2 Change "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
  • 8282ceaf96 need tbody for tablesorter james 2010-09-23 17:21:47 +00:00
  • ff3ab7151e Handle topic-menu headings that arent linked james 2010-09-23 17:07:19 +00:00
  • a6ec8ef874 Fix the SESSION debug output james 2010-09-23 16:41:40 +00:00
  • ffd09ae67e Fix clicking on secondary nav james 2010-09-23 16:37:19 +00:00
  • 60c6235649 Re-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
  • 2292af3206 Use 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
  • a8fa8e7a99 Disable DEPRECATED warnings james 2010-09-11 00:53:03 +00:00
  • 70d359c15b PHP 5.3 DEPRECATED split() so, convert all split()'s to explode()'s james 2010-09-10 19:38:56 +00:00
  • 517563a97a TUAG- various tune ups to HTML,CSS useradvocate 2010-09-09 20:13:48 +00:00
  • 5dab48e574 TUAG- various tune ups to HTML,CSS useradvocate 2010-09-09 20:13:29 +00:00
  • eef65869bb TUAG- various tune ups to HTML,CSS useradvocate 2010-09-09 20:13:10 +00:00
  • 755b9c8560 TUAG- various tune ups to HTML,CSS useradvocate 2010-09-09 20:12:41 +00:00
  • c9bf5f4227 get rid of the custom fundraising module primary nav james 2010-09-09 16:42:40 +00:00
  • 07f2aa208e Add class="clear to primary and secondary menu's james 2010-09-09 15:22:22 +00:00
  • 3913bb397d List all conferences with status in the api call, instead of just the running ones james 2010-09-07 19:59:37 +00:00
  • dfb6112e66 Split committee management out james 2010-09-03 16:59:05 +00:00
  • a5f309c022 Add session variables and date list by conference to API test page james 2010-09-02 19:14:59 +00:00
  • 146f557759 Add science olympics teams api to testapi page james 2010-09-02 19:01:49 +00:00
  • 959843d4c4 Add 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
  • 6963b7104b switch conference API james 2010-09-02 17:38:13 +00:00
  • c8ada5f7c2 Move the schedule to the teacher account james 2010-09-01 19:27:55 +00:00
  • 88cdfebdea Move team management to teacher interface james 2010-09-01 17:53:35 +00:00
  • d01a3088b7 dd api for managing science olympics teams james 2010-08-31 20:50:11 +00:00
  • de564f3c55 More user stuff to get things workinga gain Add a API module for science olympics james 2010-08-31 20:12:41 +00:00
  • ec3be0f10f More changes to be able to at least barely use the system again james 2010-08-31 19:41:32 +00:00
  • 3766b0a3f6 Fix navigation when loading a page that exists in the nav structure james 2010-08-31 17:41:54 +00:00
  • 81f3f3235a Fix logging in and switching conferences, man, this is becoming a mess james 2010-08-31 17:35:58 +00:00
  • e03902bbec Merge judge_availablilty into judge_other and delete judge_availability.php dave 2010-08-31 07:23:49 +00:00
  • 4bf2897f18 Add changes for API Authenication and force API to use SSL james 2010-08-24 16:04:12 +00:00
  • 05432715e4 fix spacing dave 2010-08-24 00:04:57 +00:00
  • 49648aed94 Don'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
  • 2db3ce6b9e Validate the form on load so the user can see the problems right away. dave 2010-08-24 00:04:53 +00:00
  • 56707e4941 Oops 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
  • 358d413365 Remove 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
  • 4143f289af A 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
  • 030f2030e8 update classic theme too james 2010-08-20 17:47:51 +00:00
  • 15d057ae1f Add the missing files james 2010-08-20 17:45:53 +00:00
  • 69234c1657 Update rolestasks to be conference-type specific Add a 'new' theme for TUAG to start implementing james 2010-08-20 17:40:11 +00:00
  • 71b0489493 A 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