Commit Graph

185 Commits

Author SHA1 Message Date
dave
1be2301844 Add an oid field to confrences so we know which conferences are the same
year after year.. we should probably keep the "year" column there too..
it's easier to query that than querying the config variables to find all
the years taht the conference was active (needed for ceremony script and
report generation)
2010-07-13 05:20:37 +00:00
dave
ccf1b9c453 Fix an update bug. The code needs to be run to set the conference ID
before we can build a UNIQUE index on the conference id.
2010-07-13 04:25:00 +00:00
dave
56987c174a update db version 2010-07-13 03:30:10 +00:00
justin
7b90784828 add support to link to fair website 2010-07-11 14:46:44 +00:00
jacob
887610f5e3 Added script for copying/converting user data into the new format, populating the accounts and user_roles table
Modified user.inc and user_login to handle authentication on the new accounts table
2010-07-06 15:32:26 +00:00
jacob
07f76fdac8 Addded a pendingemail field to the accounts table 2010-06-24 14:45:51 +00:00
jacob
1743beb14e Populating the roles table, add "superuser" field to the accounts table 2010-06-23 20:45:12 +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
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
964a855275 DB table for linking users to teams in events 2010-06-22 14:53:08 +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
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
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
e5d9460d73 Add schedule view for school access, allow schools to register teams for events 2010-06-15 21:43:21 +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
c9ebee5c10 Forgot to update the code version on my last commit 2010-06-14 19:44:49 +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
7d38b43cfc school management partially updated 2010-06-10 22:10:20 +00:00
james
56ce08201a Add schedule database 2010-06-10 20:37:11 +00:00
jacob
dab613b746 Added locations table and editor 2010-06-10 18:09:16 +00:00
dave
0567451a58 Implement fair name/logo as fields in a report instead of special
options.  This way, the logo/fairname can be moved around and
resized.   Ensure those fields exist in each report.  Convert name/logo
preferences in all existing reports, and adjust the yloc/height of
existing fields to make way for the headers if they exist.
2010-06-09 07:43:59 +00:00
dave
ce1d289a31 Convert labels to new format and millimeters. Drop now-unused columns
"face" and "lines".
2010-06-08 18:49:21 +00:00
jacob
6504d09886 Added updates for converting from Latin1 to utf8 character encoding 2010-06-04 20:23:59 +00:00
james
14308b5991 Start of adding 'conferences' and ability to switch between running conferences 2010-06-03 19:21:27 +00:00
james
8d6d653567 Add a new date 'judge schedule available' to specify when judge assignments and schedules become available to judges. When the chief judge is playing with the scheduler he doesnt want to have judges thinkign they are assigned to their final teams/projects/timeslots, so only make them available to judges after this date has passed.
The default (as always) maintains old behaviour, so if this date is not explicitly set, it'll always show the schedule
2010-04-06 14:29:50 +00:00
james
2f38386967 set enable_stats to 'no' for YSO 2010-03-30 17:03:58 +00:00
dave
8ee1f36f90 TCPDF support library and label generation code that uses TCPDF. All
other stuff still works, this only adds on.  And on second thought, I
should probably disable the report type that would let someone use this.
2010-03-25 04:27:33 +00:00
dave
e9398f4895 UPdate code version 2010-03-02 22:50:51 +00:00
james
471b358f2f Aparently some emails use "webmaster@sfiab.ca" -- wipe that out as well to force them to set a proper from address or use the fair manager's email 2010-03-02 20:18:39 +00:00
dave
89547f902a Some fairs did a rollvoer before the NULL was fixed (I think it was
fixed), and reset some award sources to 0 instead of NULL.
award_source_fairs_id can never be 0 anyway (unless someone edits the DB
manually), so just set them back to NULL so the existing code works.
2010-02-22 18:45:57 +00:00
dave
15c9c5619a Database table for computing floor locations 2010-02-22 18:45:55 +00:00
james
74905273cc If anyones emails are still set to come from 'website@sfiab.ca' wipe that out, which will force it to default to the fair manager's email address when sending - we dont want anything coming from that address! 2010-02-18 16:13:36 +00:00
james
9499418eea Remove config->external award sources from CONFIG
Remove award_sources table from database
Rename STO->YSO and YSF->YSC
2010-02-12 16:48:45 +00:00
james
d8375c0c5f Add ability to cancel emails in the queue to be sent 2010-02-11 15:58:26 +00:00
james
5dcbc28d54 Fix email sending to not fail if a single email fails, instead, flag it as failed and continue on
Better track email sending as well, and add fields for tracking bounces (not implemented yet)
2010-02-10 17:05:49 +00:00
dave
faa3742bda Support Highest, High, Indiffernt (short and long), and expertise 5,4,3
(short and long) all with the same two functions.
2010-02-04 17:55:07 +00:00
james
fd4e72e1f4 Fix judge invite only text on user_new to actually show up 2010-02-03 00:30:24 +00:00
dave
5c8bbe16b6 Remove the typepref selection, it turned into
users_judge.special_award_only.
2010-02-02 17:48:59 +00:00
dave
7d611e531f Add a 'per_fair' option to the awards, so an award can be treated as a
separate award for each feeder fair, allowing the maximum prize
assignments from each fair.
2010-01-27 20:24:17 +00:00
james
522ea8206d Change projects.projectdivisions_id and project.projectcategories_id from TINYINT to INT so they match what is allowed in the division and category configuration 2010-01-22 04:03:02 +00:00
james
fde1debf6d COnversion script to convert all emails to UTF8, but still display properly on the site by back-encoding them to ISO-8859-1 (until such a time that we can switch the entire system to UTF8) 2009-12-03 19:41:25 +00:00
james
99114c7242 Completely convert the old communication module over to the new system... (almost).
TODO: switch the "send" to the new dialog-style preview and confirmation, instead of the old one, but at least it works!
2009-12-02 22:17:20 +00:00
james
838f61a948 Working email sending from fundraising module, and implement new emailqueue system. None of the existing emails are migrated to the new system yet, and both old and new work in parallel until we can finish migration 2009-12-01 22:02:03 +00:00
james
d954d148d6 Add all the missing judge registration fields, and let them be configurable.
Notify user if invalid regexp's are entered in fields (there was no feedback as to why it wasnt saving!)
Also make the space in the postalcode optional

FIXME: still need to change the "incomplete" to "complete" message once everything is saved properly, it stays as incomplete right now until they navigate away and come back.
2009-11-26 17:50:00 +00:00
dave
f67b485d6d - Separate the icons out of the colour themes
- Detect the theme directories and use dropdown boxes to select the theme and theme_icons, so no one can type in random stuff and screw their sfiab.
- Add 2 missing icons.
2009-11-06 22:10:06 +00:00
james
e58ce49aed - These are fair-specific now, dont' need them as config options. 2009-11-06 02:11:58 +00:00
james
101c3c7723 Check if they are alreayd a parent and dont re-add if they are
Also fix levengshtein distances for mere and pere with UTF8
2009-10-22 20:31:52 +00:00
james
ac3f5f9eb4 Add todo list for receipts and database to track receipts 2009-10-20 19:09:54 +00:00