Commit Graph

492 Commits

Author SHA1 Message Date
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
justin
e87a80e04a Add csv versions of the committee, judge and student nametags. Resolves issue 60. 2006-07-04 20:38:09 +00:00
justin
0e9a889e4f Schools and students were not being properly numbered in the Registration Summary. Ref: Bug 90 2006-04-09 13:47:04 +00:00
james
ea44b0b49b Don't duplicate all the division/categories on the winners page! 2006-04-04 21:25:33 +00:00
james
877c5bbef5 Restrict the session variable cookie to the SFIABDIRECTORY path, instead of just / 2006-03-30 22:18:04 +00:00
james
90cbff4971 bump minor minor version number 2006-03-30 17:50:15 +00:00
james
a3cec472ac Fix a critical bug with the judging team assignments, the team name needs to be rawurlencoded before put into the URL! 2006-03-30 17:46:37 +00:00
james
7ea92bbcb4 Properly handle empty judging teams 2006-03-30 17:05:36 +00:00
james
9f7aea3a57 Get rid of the counter alltogether, its really useless, and especially so when the same counter is
used for everyone
2006-03-29 00:55:10 +00:00
justin
4d6238c7c6 Removed the column containing the database variable names from the Important Dates table. Ref:Bug 47 2006-03-29 00:31:07 +00:00
james
e97e22c6e3 Ooops! dont forget to clear out the variable each time through the loop! 2006-03-28 23:50:36 +00:00
james
cbfb9809c0 Add judges languages to the judges list export
Fixes BR#84
http://www.sfiab.ca/bugtracker/view.php?id=84
2006-03-28 23:48:08 +00:00
james
82a45a9d26 Commit Justin's code (modified slightly) for student info viewer
Fixes BR#82
http://www.sfiab.ca/bugtracker/view.php?id=82
2006-03-28 23:32:43 +00:00
justin
cb280ebc1f Fix the footer in popup window to show the current sfiab version instead of debug info 2006-03-28 21:41:51 +00:00
james
cfd6fdf637 Dont bail out on empty judge teams 2006-03-16 20:15:50 +00:00
james
2ad2b58233 Bug #0000056 - Change variable wording of filterdivisionbycategory 2006-03-09 13:15:34 +00:00