Commit Graph

173 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
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
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
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
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
dave
228a1a0583 Implementation of configurable judges questions. 2006-07-11 20:22:42 +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
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
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
james
cfd6fdf637 Dont bail out on empty judge teams 2006-03-16 20:15:50 +00:00
james
5e8aa4ca2b Add recipient "Judges not active for this year" to communication module 2006-03-08 22:12:55 +00:00
james
04e8f0d1c1 Add a project logistical requirements report to show which projects need electricity, tables, and othe rspecial requirements 2006-03-08 20:22:17 +00:00
james
82bae118b1 Handle multi-year data in award_types 2006-03-08 20:01:18 +00:00
james
220c7a6fb1 Fix the winners list when there's multi-year data in the award_types table. 2006-03-04 05:22:26 +00:00
james
f0fdca1ba0 Add a new report that shows each project/students on a per school basis, one school per page. 2006-03-04 05:09:05 +00:00
james
95c6381007 reorganize the send_communication script to be more efficient 2006-03-01 18:03:41 +00:00
james
4bf5cb909f Update the communication module with a few more options 2006-03-01 15:59:51 +00:00
james
d3090b934f Add a judges list to the judges management page, this list allows you to view the status of the judges as well as delete judges from the current year's fair (note: only deactivates their account for the fair, does not delete it completely) 2006-02-15 18:10:27 +00:00
james
db5b20d54a Fix a few bugs in the communication module 2006-02-07 20:56:54 +00:00
james
a85faefe2d Fix the judges report 2006-02-07 20:19:56 +00:00
james
4aff70ef17 Fix the broken sending emails -- aparently the "at" command had its syntax changed and now requires a base to add increments from
(at now + 1 minute)
2006-02-06 21:34:09 +00:00
james
d5fd002820 Update the judges automatic scheduler to honour filtering categories by divisions, so we only get teams for cat/div combos that we actually need 2006-02-06 16:45:39 +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
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