Commit Graph

2126 Commits

Author SHA1 Message Date
jacob
3867b9b539 Fixes on the modified user_load function 2010-10-21 16:08:41 +00:00
jacob
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

Also modified all code that uses those tables to work with the conference id
instead of the year, with the exception of these files:
	communication.inc.php
	reports_students.inc.php
	rerollprizes.php
	remote.php
The "rerollprizes.php" probably doesn't matter, having been a one-time usage
file anyway.  The others will need to be modified in the future to correctly
use the conference id instead of the year.
2010-10-20 21:58:26 +00:00
jacob
78bf0c8751 Modified user_load to load only fields relevant to the roles that the user has 2010-10-20 19:44:18 +00:00
james
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
2010-10-20 17:25:43 +00:00
james
c367656d02 also load committee whether its active or not 2010-10-15 01:46:53 +00:00
james
ab068fdfbb Fix updateSessionRoles once and for all 2010-10-15 01:31:07 +00:00
james
759ecc0a1a Oops its user_load not users_load 2010-10-14 23:06:21 +00:00
james
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
2010-10-14 20:38:48 +00:00
james
241618c74f Fix saving active/deactive roles
Fix the session roles when roles are modified and only put 'active' ones into the session roles array
2010-10-14 20:31:10 +00:00
james
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
2010-10-14 19:42:20 +00:00
jacob
01d70abf74 Added teacher interface in olympics
UI touch ups
2010-10-14 17:51:56 +00:00
jacob
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.
2010-10-14 15:26:47 +00:00
james
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
2010-10-14 15:11:52 +00:00
james
2b4b42c250 Dont make jquery elements bigger, it messes stuff up! 2010-10-14 14:31:16 +00:00
jacob
8e4306ae3b Updated volunteer preferences to work with the new interface and with the new conference id system 2010-10-14 14:10:49 +00:00
jacob
9229b1665b Added user settings config for science olympic judges 2010-10-13 21:01:01 +00:00
jacob
941b5e127f Quick correction on automatic e-mail 2010-10-12 18:00:17 +00:00
jacob
f0d1578ac3 Added generic "account" password recovery 2010-10-12 16:49:38 +00:00
jacob
607834bc0e updating _SESSION when user roles are modified 2010-10-08 20:28:56 +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
835047f3a8 Role functions debugged in account.inc.php, using them in user_main.php and user.inc.php 2010-10-08 16:07:07 +00:00
jacob
177f49f805 moving code for modifying user roles into accounts.inc.php. Incomplete. Broken. 2010-10-07 22:02:45 +00:00
james
fce116316e Implement the role/* functions 2010-10-06 21:01:17 +00:00
jacob
98dcfd6399 added some skeletal function stubs 2010-10-06 20:01:15 +00:00
jacob
daa714e5ef Added functionality in the main page for managing roles 2010-10-06 17:05:54 +00:00
jacob
052024b6d6 Updates for letting users register in roles. Incomplete 2010-10-05 21:46:29 +00:00
james
e590c94690 Fix api for categories (projectcategories_load wouldnt have ever worked!) 2010-10-05 20:24:43 +00:00
james
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 2010-10-05 20:18:32 +00:00
james
e7222337f7 Fix a typo 2010-10-05 19:45:28 +00:00
james
eb1012f7c5 Oops, also bump the DB version so it runs the new updates 2010-10-05 19:45:05 +00:00
james
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
2010-10-05 19:43:30 +00:00
jacob
d2afb6a94e Modifications on how roles get handled 2010-10-05 15:04:15 +00:00
james
898bdaacfc Oops put account/edit APIDOCS back in 2010-10-01 21:06:57 +00:00
james
f0b362eff7 Add account/view api 2010-10-01 21:04:05 +00:00
james
a92544bbea Implement user/edit
Remove saving some stuff from user_save
2010-10-01 19:42:52 +00:00
james
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...
2010-10-01 19:28:26 +00:00
jacob
9db042fc10 Modifications on editing users 2010-10-01 18:47:28 +00:00
james
e0eef7effa Add /api/config 2010-10-01 17:13:48 +00:00
jacob
88055eb6a6 oops - committed with some code remarked 2010-09-30 14:41:08 +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
james
8b2de95005 Be a bit smarter with "notimplemented", add API impelmentation status, and basic details to the apidocs page 2010-09-28 20:37:44 +00:00
james
b5ed7c174f use 'events' and 'locations' instead of 'list' in the return object 2010-09-28 20:24:32 +00:00
jacob
0a02525d14 Added some API functionality used in schoolschedule.php 2010-09-28 20:09:31 +00:00
james
eb3c8f0d77 Add not implemented API comments of what still needs to get done 2010-09-28 19:48:03 +00:00
james
cbcb1743ce add class clear to CSS so menu's work properly again 2010-09-28 19:07:31 +00:00
james
3e8271c869 Make apidoc valid html 2010-09-27 20:51:16 +00:00
james
c413d54f6d a few apidoc cleanups 2010-09-27 20:50:37 +00:00
james
0f9588cdf4 Add APIDOC for the rest of the existing api 2010-09-27 20:45:57 +00:00
james
08340544d9 Add api documentation 2010-09-27 20:38:49 +00:00
james
54bf2201de Oops fix typo 2010-09-27 20:04:12 +00:00