Commit Graph

357 Commits

Author SHA1 Message Date
james
aeb0a8dac5 Create tag and branch for sfiab 1.0.0 2006-02-02 03:23:16 +00:00
james
588d994d41 Add full db.13 file, and bump version number to 1.0.0 2006-02-02 02:59:12 +00:00
james
aab25dfa0b CSS/Style/Layout fixes specifically for internet exploder to work properly. 2006-02-02 02:32:24 +00:00
james
2169e3829f Insert a mentor if we have at least the mentor's last name, instead of requiring both firstname and lastname 2006-02-01 21:08:59 +00:00
james
d56f62f95e Dont do a foreach on a non-array (if no questions were answered) 2006-02-01 17:53:04 +00:00
james
b63674f649 Add some instructions to the safety questions page, and properly detect if there are no questions 2006-02-01 17:50:27 +00:00
james
ab294df97b Make safety questions require a question to be filled in (or at least something in the question box) 2006-02-01 16:59:45 +00:00
james
b9bf8fba6c Fix a few multi-year related bugs with the category/division linkings 2006-02-01 16:39:48 +00:00
james
90191e4b99 Keep checkbox and categories on same line 2006-02-01 16:32:41 +00:00
james
a20dfdbd7a Merge Jamie's changes from Peterborough, allowing different divisions to be available to the different age categories. -- default is 'no' 2006-02-01 16:29:08 +00:00
james
a9ffdf7ee4 Oops fix the misspelled "Divison"s 2006-02-01 15:31:09 +00:00
james
522dfaf701 switch the sort order on the divisions config page from 'division' to 'id' 2006-02-01 06:51:48 +00:00
james
68ff1bdc2f Make the titles on the awards page a little more meaningful/correct 2006-02-01 05:12:07 +00:00
james
2784262d6d Database update for the 'exclude from awards ceremony' new feature 2006-02-01 05:09:59 +00:00
james
b375b4ae0d Implement Bug #0000001 - Have option to exclude awards and/or prizes from the awards ceremony script.
(An example could be honourable mentions that you dont call up on stage at the awards ceremony)
2006-02-01 05:06:48 +00:00
james
1833a63b15 Adjust the column widths a bit 2006-02-01 05:04:36 +00:00
james
738aaeb172 fix a few typos in the annealer, and bump up the moves to 1000 for better results 2006-01-31 23:31:40 +00:00
james
c5e55fad37 Remove the unneeded configuration params for timeslots from the scheduler
Separate the 'requirement check' into a separate file and run it on both the config  page, and as a double check on the actual annealer page incase they decide to manually type in the address or bookmark or somkething.
2006-01-31 22:34:04 +00:00
james
6832bdc572 Allow setting a mingrade of 0 (kindergarden) for the categories, also center the columns in the table to look nicer 2006-01-28 17:53:26 +00:00
james
dbaf4d9b4e Make the students Date of Birth selector choose a year range based on the min/max grade of students. Assume:
minimum 3 years old in grade 0 (kindergarden)
maximum 18 years old in grade 12
2006-01-28 17:49:33 +00:00
james
cf22c24c78 Add school district and school board fields to the schools database 2006-01-27 18:36:53 +00:00
james
958a25c4aa Fix the safety question yes/no stuff, also fix the editor, it appears to have been broken somehow! 2006-01-27 01:14:16 +00:00
james
d6bbe5701e add a quick script to help with debugging, it dumps out the scheduler data (and also any other data in the tables!) 2006-01-26 23:25:33 +00:00
james
7272288c64 Add language to populate_fake
Add a bit of sanity checks to assignprojectnumbers -- make sure it assigns them all, or error out if it doesnt
2006-01-26 23:10:39 +00:00
james
eaa1444082 Make the scheduler config check for available timeslots
Make the scheduler actually insert the timeslot/project/team data into the database
2006-01-26 23:06:47 +00:00
james
7b5d56ce60 Update the judges timeslot editor to have a new field for 'allow divisional'. This specifies whether the automatic judges scheduler can use this timeslot to scheduler the divisional awards judging.
Add a new feature to the timeslot editor to add multiple timeslots at once, by specifying the start time, duration, and break time.
2006-01-26 21:42:04 +00:00
james
19b24cca36 Add scrollbars=yes to the judge info popup window, so its possible to scroll down! 2006-01-26 17:52:06 +00:00
james
7076b17366 Whoops! the last commit was for this file - not the scheduler.. DOH
BUGFIX From Just Reardon:
If specialawardnomination is set to "none" (fair doesnt use special award self-nominations) then the pick winners page will instead show all projects that are eligible for the award to choose a winner, instead of those that are nominated for it (which is none).
2006-01-26 15:06:56 +00:00
james
fefd9c8e35 BUGFIX From Just Reardon:
If specialawardnomination is set to "none" (fair doesnt use special award self-nominations) then the pick winners page will instead show all projects that are eligible for the award to choose a winner, instead of those that are nominated for it (which is none).

Thanks Justin!
2006-01-26 15:04:25 +00:00
james
36bee33066 Add a configuration option to specify the maximum number of words in the project summary (Default=100)
Add some fancy-smansy javascript/dhtml word-counter code to the project summary.
Make project status be incomplete if word count is too high
2006-01-24 15:44:08 +00:00
james
06dae78992 Fixed a bug that prevented students from logging back in to view their forms once the forms were marked as complete 2006-01-24 14:30:38 +00:00
james
1585fdb3e6 bump version number to 0.9.9 and db version 13 2006-01-20 20:19:47 +00:00
james
1aec62aa4b Oops, 0.9.8 only requires version 12 2006-01-20 20:04:49 +00:00
james
1a04556319 add full version 12 database
bump version number
2006-01-20 19:58:06 +00:00
james
a7bcc3c5b3 Only allow the participants to change their school if the registration type is 'open' or 'singlepassword'. if it is 'schoolpassword' or 'invite' we already know what school they are from. 2006-01-20 19:48:37 +00:00
james
725a4c91d7 Hmm, fix a big that stopped email tag substitutions from working when the substitution was a pure number (eg, a registration number). Fixed it by enclosing the replacement in "" so its treated as a string. 2006-01-20 19:26:13 +00:00
james
2135a5aa5b bump database version number 2006-01-19 19:24:36 +00:00
james
4d54bdbb1c Update translation manager to work with unlimited number of languages as defined in the languages table
Update i18n function to accept a third parameter, which is an array that describes the arguments in the string to make translation much easier
Update some of the config/admin pages to make sure i18n is properly used, and that argument descriptions are set
2006-01-19 17:15:07 +00:00
james
28ebf2ce30 Add a preliminary translation manager, mostly copied from another location that I use a similar system. It needs to be updated still to handle translations for the languages in the 'languages' table instead of only french. But this will at least allow us to begin the french translations 2006-01-19 01:58:37 +00:00
james
652e8fe321 If the page text looks like it contains HTML code, just output it normally, but if it does not contain HTML code, then perform a nl2br() on the text before it outputs 2006-01-18 21:28:00 +00:00
james
aba757375a Whoops, this file shouldnt be here :) 2006-01-18 05:43:57 +00:00
james
69b4b943ac Make the T-Shirt size question to students able to be disabled via a configuration variable for fairs that dont give out tshirts 2006-01-18 05:33:13 +00:00
james
321a245670 Split school access and school participant invitations into separate files
Update invitation system to keep track of the number that have been invited and not allow the school to invite more than they are allowed
Update the schools editor, to allow specifying the max number of projects and whether the max is total for the school, or per age category
Add required fields to the schools table
Update the config variable for special awards registration to allow turning special awards registration off
2006-01-18 05:22:58 +00:00
james
9e70fe11c2 Show the registration number for invited pariticpants on the schoolaccess page.
This is so the school manager (/teacher) can easily tell the students how to login
and also so the teacher can login as the students to confirm theri registration is
complete.
2006-01-16 22:25:21 +00:00
james
0076c5f360 Allow turning off the special awards self-nominations. 2006-01-16 18:38:32 +00:00
james
9881ddb968 Only try to insert category preferences if they've submitted category preferences 2006-01-16 18:19:12 +00:00
james
515e615a8f Properly display the project number if registraiton fee is >0 2006-01-16 16:22:05 +00:00
james
0043071501 Bump version to 0.9.7 so development can continue, also bump DB version to 12 2006-01-16 06:03:50 +00:00
james
bd274f6301 Add the 'back to admin' line to the committee manager 2006-01-16 05:24:14 +00:00
james
60074d3caa Bump version number to 0.9.6
Add the full database file for DBVERSION 11
2006-01-16 05:21:52 +00:00