Commit Graph

457 Commits

Author SHA1 Message Date
james
952047cc11 Add a prize value field to award prizes, also add editor the the value, as well add editor for the contact position 2006-09-20 16:24:52 +00:00
james
474c000377 Add a position field to the award sponsors contacts 2006-09-20 15:33:46 +00:00
james
951f801093 Add an AJAX powered translation dropdown to allow incorporation of single string translations in-line in any editor instead of having to manage the translations separately in the translation manager.
Add the translation dropdown to a few fields in teh award sponsors, awards and award prizes.
2006-09-19 22:40:46 +00:00
james
0ebd709a13 Add the option to collect teacher signatures on the signature page 2006-09-18 19:33:48 +00:00
james
7e79a9dd9e Add the project number in big, fat, bold letters to the top of the registration summary page if their forms have been received. 2006-09-17 16:26:12 +00:00
james
794cbe7c84 Show different messages if we're BEFORE the registration open VS after registration close.
Also do now display any sort of login (email) box if we're before registration open, but do
show it if we're after registration close so they can still login and view info or apply for
special awards
2006-09-17 14:32:42 +00:00
james
e6ed1c35b0 Account for spacing between labels when generating mailing labels for the schools
Also shrink the c/o line to better accomodate long names
2006-09-12 18:03:46 +00:00
james
a8d31a3603 Add report generation support for mailing labels
Add School Mailing Address Labels for Avery #05163 (4"x2" or 10.2 x 5.1 cm)
2006-09-11 18:05:35 +00:00
james
6ab58a1b8e Add a generic CSV reader that properly handles multi-line fields
Add a school importer to import school list from CSV file
2006-09-11 17:32:02 +00:00
james
050f2093fb Replace "Sex" with "Gender", and allow the db field to be null, instead of defaulting to "male"
BUG#105
2006-09-04 16:28:28 +00:00
james
0987d76e43 turn off NOTICE error reporting in PHP, some people's PHP dont do this globally for some reason. 2006-09-04 16:13:07 +00:00
james
5eab309b4a bump version to 1.1.1 for next development cycle 2006-09-04 16:05:37 +00:00
james
8a003916ee remove this unused CHANGES file, all changes can be found in the website version 2006-09-04 15:44:37 +00:00
james
486536b331 Add full db 22 file
update installer to properly add the current year's configuration variables
2006-09-04 15:42:34 +00:00
james
8e23ad781a Bump version number (1.1.0) 2006-09-04 15:12:14 +00:00
dave
dc60c9f652 Update the date editor.
- Dates are always displayed in the same order, which is somewhat logical.
- It detects some errors.  It's not perfect, but it'll detect when a date is
  invalid, and when pairs of dates are bad (eg. the reg. system closes before
  it opens.).  All dates are still saved to the database but the user is
  alerted of any date errors.
2006-09-03 23:37:22 +00:00
dave
372c2a55c7 Replace the version debug with a single function call (instead of array index and a strlen) so it is more efficient (since it's called on every page). 2006-09-03 21:45:54 +00:00
dave
a430aadab3 delete debugging print statements 2006-09-03 21:37:23 +00:00
dave
ebd4666f51 Add a function to the config editor to specify which variables the config
should contain.  If the config doesn't find those variables for the current
year, they are automatically copied in from year=-1.  This means that
we can update a database and add new config variables and not have to manually
add each variable to the current year.  It also means someone can't mess
up the system and accidentally delete config variables, because they 
will be recreated.
2006-09-03 21:36:28 +00:00
justin
808290f631 projects should be assigned a project number once registration forms have been received, whether or not they still owe money. Resolves issue 101. 2006-08-20 00:02:31 +00:00
justin
a169e422e6 Add support to choose what status a project must have to be used by the judge scheduler. Allows for any of open, payment pending or complete projects to be allowed. 2006-08-12 18:05:38 +00:00
dave
145c6f88ff If we manage to reach a 0 cost early, stop the annealer, there is no point
looking any further.  This significantly reduces the timeslot scheduling time.
In most cases we reach 0 in a couple thousand iterations, but we need high
effort because some timeslot scheduling problems are hard to assign.
2006-08-12 08:07:02 +00:00
dave
c247119663 Remove redundant config code. Use the judge scheduler options directly. 2006-08-11 21:10:33 +00:00
dave
7451483ddf Add he min teams requirement to the check too, not just the scheduler 2006-08-11 20:17:30 +00:00
james
14e93e0c12 Split the Configuration Variables page into separate 'Category' pages 2006-08-11 18:53:10 +00:00
dave
6d6dd8abb1 We must have a number of judging teams at least equal to the number
of times a project must be judged, to avoid assigning the same jteam to
the same project
2006-08-11 01:11:14 +00:00
dave
58e1b4a05e Really fix the problem this time... Stupid Typo 2006-08-09 02:06:36 +00:00
dave
e1c39dd0a3 This shoul dfix the case where there are no projects in a judging division 2006-08-09 02:01:43 +00:00
dave
be711441ea Recommend 15 minutes, not 10 for the php script run time. The annealer takes 12 minutes on my system with really high effort. 2006-08-08 07:03:03 +00:00
dave
dcefe6cdad Replaced the timeslot scheduler. This one is much faster, but it doens't actually compute cost for the number of judges the student has in a row. But, because it's totally random in layout multiple judges in a row should happen very infrequently. 2006-08-08 06:51:07 +00:00
dave
03acd9d8fc Use the annealer to assign projects and judges to timeslots. This should
prevent a project from getting too many judges in a row, and also a judge from
judging 2 projects at the same time (which would be more of a problem).

Still need to write a verifier to check all the results.  But the annealer
tests look pretty good.  Unfortunately it takes a pretty long time to run. :(
2006-08-08 03:21:08 +00:00
dave
b86bb3bc9a - Fix most issues with projects being judged multiple times. This should fix
all issues EXCEPT that the timetable scheduler may assign two judging teams
  to the same project at the same time.  I will fix that soon.  But everything
  else should now work.
2006-08-02 08:07:51 +00:00
dave
c79f16837b - Remove a debugging line. 2006-08-02 07:44:31 +00:00
dave
5438821b1c - Don't include judges that area already on a judging team (their ID appears in
judges_teams_link) in the pool of judges for the judges scheduler.
2006-08-02 07:43:02 +00:00
dave
d01a3eede6 - Delete the old divisional teams, links, award links, timeslot links earlier
in the scheduler so we can only select judges that are NOT already part of a
  judging team

- Fix a numbering issue where sometimes an divisional team created by the
  scheduler wouldn't get created because of conflicting team numbers.  Now, use
  MAX(num) to find the highest team number and increment team numbers from that
  number.
2006-08-02 07:36:21 +00:00
dave
e7d726355d The new judge scheduler.
- Missing: Having a project judged more than once by different judging teams is
  untested, I don't htink it'll work properly, still working on that part.
- Missing: Auto updating the configuration if any of the variables are missing.
- Missing: A way to preserve judging questions (like willing_chair), so the
  user doesn't delete them and break the scheduler, OR, notice saying that the
  question has been deleted and the scheduler won't use the chair calculations,
  then we need a way to add them back in with the click of a button.
2006-08-01 19:43:15 +00:00
dave
6fc83836af Implemented a judges division editor, to be used before the automatic judge scheduler to
set groups of divisions that judges can judge within.
2006-07-31 18:17:37 +00:00
james
1519b427d2 Properly rollover the schools, allow 'lastlogin' to be NULL 2006-07-26 14:51:30 +00:00
james
ea82b61700 Only show the count of awards and contacts for a sponsor for the current fairyear. 2006-07-26 14:42:03 +00:00
james
7d7dd74b18 Show sponsors from all years, make the rollover script simply unconfirm all of the sponsors so they can be reconfirmed for the new year. 2006-07-26 14:38:21 +00:00
james
2778faf4c9 Fix the broken sql script, looks like the 'questions' inserts were pasted in the middle of another query! 2006-07-24 16:07:54 +00:00
justin
31ae487b11 Added student logout link; resolves issue 8. 2006-07-14 00:07:46 +00:00
james
1aab14a8bf add a <nobr> to the action icons on the questions editor 2006-07-12 14:49:46 +00:00
james
c934d3a9f7 switch year unsigned int (10) to year int (11) so year's of -1 (defaults) will work. 2006-07-12 14:45:53 +00:00
james
66efd08ee3 remove DEFAULT CHARSET (doesnt work on mysql 4.x) and switch ENGINE to TYPE for consistency 2006-07-12 14:41:42 +00:00
james
f117fb3dae Remove auto incremement values from FULL script too 2006-07-12 14:36:29 +00:00
james
ba38372fb5 Remove auto incremement values from table creation 2006-07-12 14:35:41 +00:00
dave
8665e4a487 Missing files 2006-07-12 14:28:52 +00:00
dave
228a1a0583 Implementation of configurable judges questions. 2006-07-11 20:22:42 +00:00
james
625625602d Add up and down icons that will be used later. 2006-07-11 20:03:02 +00:00