Commit Graph

1867 Commits

Author SHA1 Message Date
jacob
1743beb14e Populating the roles table, add "superuser" field to the accounts table 2010-06-23 20:45:12 +00:00
james
41ca527d20 Use proper fieldname conventions 2010-06-23 19:58:33 +00:00
jacob
55b5080575 Added new databases for user/role management 2010-06-23 19:45:33 +00:00
james
4faa4b8dc4 Migrate all dates to use conferences ONLY, instead of dual conference/FAIRYEAR setup 2010-06-23 16:06:01 +00:00
jacob
24c80b1654 Disabled deleting teams if they're registered for events 2010-06-23 15:52:27 +00:00
james
dc63df156c Fix SQL Injection and XSS vulnerability - woohoo our first 0-day exploit!
http://inj3ct0r.com/exploits/12613
http://packetstorm.linuxsecurity.com/1006-exploits/fairinabox-sqlxss.txt
2010-06-23 05:07:57 +00:00
james
b7f3274543 Massive overhaul of the configuration variables
- split into system variables and conference variables
- rely on conference_id instead of year
2010-06-22 21:32:03 +00:00
jacob
b3448b7c7c updated to delete links between schedule registrations and users when a schedule registration is deleted 2010-06-22 19:35:36 +00:00
jacob
00716cd84d layout tweaks 2010-06-22 17:14:23 +00:00
jacob
c699135bce Added some last tidbits to the UI for selecting team members at a specific event
Added functionality in listSelector.js to validate data when it's switched from one list to another
2010-06-22 16:56:47 +00:00
jacob
964a855275 DB table for linking users to teams in events 2010-06-22 14:53:08 +00:00
jacob
54f6a2e251 Created a javascript "listSelector" class that can be used to select a list of items from an existing list.
Added a form in schoolschedule.php which uses that class to select students on a team
2010-06-21 22:06:18 +00:00
james
e02e5ba687 Remove a bunch of conferenceid=0 checks -- we now always have a conference id 2010-06-17 21:14:00 +00:00
james
4f65058f59 Migrate config options theme and theme_icons from Global(FAIRYEAR) to Special(no fair year associated) 2010-06-17 20:56:03 +00:00
jacob
7cb1f55a3e updates on the student list editor for teachers 2010-06-17 20:22:18 +00:00
james
6c4a54fe94 Create science fair conferences for all past years that the system knows about
Also add a temporary year field to the conferences table, to make migration easier (easier to find a conference id for a given science fair year)
2010-06-17 20:03:45 +00:00
james
054c62dfa8 Couple small tweaks - science olympics event rename to science olympics activity, sort events by eventtype first 2010-06-17 19:31:50 +00:00
james
d45ababbbb Dont insert blank events into the schedule 2010-06-17 16:07:27 +00:00
james
e1ef58f988 Oops fix my missing semicolon now 2010-06-17 15:14:36 +00:00
jacob
13bc1b3d9a D'OH 2010-06-17 15:11:59 +00:00
jacob
970ac57f21 syntax error in the earlier version 2010-06-17 15:11:04 +00:00
james
56b5e8269a add defaults for min/max team size and number of teams to each event
pull those defaults when creating a new scheduled event
show registered teams when viewing an event as an admin
2010-06-17 15:06:11 +00:00
jacob
f1a43a9cec DB updates that I forgot to include with my last commit 2010-06-17 14:02:30 +00:00
jacob
0503030a35 Updates for managing students 2010-06-16 21:33:43 +00:00
james
6ea88362e8 Only allow registration for science olympic events 2010-06-16 18:14:44 +00:00
james
dad86ce72b Only show teams for the current conference now that teams have a conference :) 2010-06-16 17:57:51 +00:00
james
4c56a33d7c s/School Access/School Home 2010-06-16 17:50:12 +00:00
jacob
8e8f9f7c3b Fixed a stray quotation mark that broke a query 2010-06-16 17:45:13 +00:00
james
bbf46aa47f Don't let admin remove scheduled events if they have teams registered 2010-06-16 17:09:42 +00:00
james
dd230b2cdf Show registered teams on admin schedule
Move more stuff to common include
2010-06-16 16:15:17 +00:00
jacob
7e749f0295 Added conferences_id to the so_teams table and updated corresponding code accordingly
Partially implemented student manager under school dashboard for science olypmics
2010-06-16 15:16:25 +00:00
james
7ca5edc2a1 Show team registrations on the schedule view for teachers 2010-06-15 22:01:09 +00:00
james
a4ea7f6b1e Move some common schedule functions out
Properly show current capacity in schedule view
2010-06-15 21:52:03 +00:00
james
e5d9460d73 Add schedule view for school access, allow schools to register teams for events 2010-06-15 21:43:21 +00:00
jacob
41efbd89b0 Renamed manage_teams.php to schoolteams.php for consistency
Started adding a page for the school to modify students under SOIAB
2010-06-15 18:14:01 +00:00
jacob
ebe9f4b522 Separated the school access pages into separate documents 2010-06-15 16:57:50 +00:00
james
3b0ad48451 Fix crumbtrails 2010-06-15 15:44:25 +00:00
james
1fa7139482 Add a title field and default it to the event name (lets them do things like "Compound Boggle #1" and "Compound Boggle #2"
Add max team capacity editor and numbers to display
2010-06-14 20:37:31 +00:00
jacob
76652861d4 Added conference filter to event location editor 2010-06-14 20:12:54 +00:00
jacob
c9ebee5c10 Forgot to update the code version on my last commit 2010-06-14 19:44:49 +00:00
jacob
f090e957c6 Modified events table to filter properly by event and handle URLs properly
Slight change in tableeditor to allow it to properly filter a value of zero (not treating it as null)
2010-06-14 19:43:10 +00:00
james
e98ec8751b add event types
schedule shows event types in different colours
add tabs to schedule editor windor for each event type
forward port ENUM changes to tableeditor
fix bug in emit_minute_selector
2010-06-14 19:25:49 +00:00
jacob
f116d9c5fc Added team management for SOIAB. Minor typo correction in conferences.php 2010-06-14 18:30:39 +00:00
james
bd7e107c0e Again :p 2010-06-14 16:58:58 +00:00
james
3b7d24c823 Adjust the schedule default start/end times 2010-06-14 16:58:33 +00:00
james
7e4a3af95d Put back int judges -- we'll need them for science olympics yet - but in a different capacity 2010-06-14 16:57:16 +00:00
james
23142cf01a Hide events that are not in the time frame defined by the schedule 2010-06-14 16:20:25 +00:00
james
49f127dbd1 Properly set the width of each event when its placed on the schedule based on the size of the table cell its going into, and re-place all the events on window.resize :) 2010-06-11 20:39:29 +00:00
james
76f1a79fe7 Oops, remove teh database name from the db update on create table 2010-06-11 20:27:53 +00:00
james
d7be4a15dc Oops commit the missing file :) 2010-06-11 20:20:46 +00:00