Commit Graph

1068 Commits

Author SHA1 Message Date
dave
d2868f3f45 - Updates to the tour annealer:
- Add more verbose output for the terminal
	- Split the student load / tour preference load to capture student who
	  didn't select any tours
	- Allow students with no tour selection to be placed anywhere with no
	  penalty
	- Add a missing break; in cost computation (doesn't change the result)
2008-04-02 06:25:50 +00:00
dave
6d3f518648 - Fix the multiple cookie bugs if SFIABDIRECTORY=='' and the user visits
'/admin' or some other subdir first.  Setting the cookie directory to ''
  seems to mean that PHP sets it to the current directory.  We want it to be
  set to '/'.
2008-03-30 18:42:15 +00:00
james
bbbd32a026 Dont include deleted judges in the number of available judges check 2008-03-30 16:06:08 +00:00
james
8b250c8997 Fix a bug where the scheduler was allowing deleted judges to be used 2008-03-29 20:59:14 +00:00
james
5458a5809e Fix a bug where judging teams containing apostrophe's wasnt being created, but it was using an old ID from a previous insert, so judges were being linked to teams that didnt exist... then the records became orphaned and couldnt be deleted. 2008-03-29 20:48:39 +00:00
james
572242bc14 Only consider judges teams from the current fair year when calculating what judging team number to start numbering at 2008-03-29 19:02:43 +00:00
james
bc3727b5c1 Leave the main page only checking whichever student is logged in (FOR NOW)
But if they go into the page they will see the check for BOTH STUDENTS
2008-03-27 22:41:55 +00:00
james
cebe0d2ea7 Properly do the namecheck for multiple student 2008-03-27 22:34:15 +00:00
james
300e76c3c0 Show both names on the same page 2008-03-27 22:26:06 +00:00
james
63034a1d33 Check the name check status on deciding if a form is complete or not. 2008-03-27 22:12:27 +00:00
james
d190d4f0b7 Display errors if at least one age category and one division arent selected 2008-03-27 08:06:14 +00:00
james
6a1f51d3dd Re-work how it checks if someone is "unassigned" - the old way was causing problems with multi-year data, if a judge was assigned in a previous year it was getting picked up as assigned even though it wasnt assigned for the current year. 2008-03-27 07:46:52 +00:00
james
0dc2862fa0 VERY important update to reports_items that dave must have missed.. took me THREE HOURS to track down why alignment wasnt being saved from the report editor! 2008-03-27 06:22:11 +00:00
james
63a48c8fbf Rework school access page.
1) add a crapload of missing i18n's
2) disable feedback form until an email address is entered
3) update the headers of the email sent so 'reply' works
2008-03-27 04:33:00 +00:00
james
e41072e076 Make the table the full page width, 75% of my judging team names were getting cut off.. perhaps the team names should use shortforms for the divisions instead of the full spellings... "Senior Earth & Environmental Sciences/Health Sciences/Biotechnology (en fr) 2" seems... excesssive 2008-03-25 17:20:31 +00:00
dave
52e7a6500a - Add a convenience stringwidth funciton 2008-03-24 18:45:51 +00:00
james
c0026c75e5 If there are no jdiv's left, hide the multi-select box and all the "Add >>" buttons so the page looks much nicer (and better to print!) 2008-03-20 20:59:56 +00:00
james
560d799b4b Allow filtering the awards management interface by award sponsor status: any, confirmed only, unconfirmed only 2008-03-20 20:37:33 +00:00
james
ec66217a2b Split label_box into two separate options: label_box and field_box. label_box draws a border around the entire label, field_box draws a boarder around each field of text on the label 2008-03-20 20:07:13 +00:00
james
45a1bdd1e4 Only set the school if the school is posted through, this way we dont whipe out a students school.
-This line, and those below, will be ignored--

M    student_editor.php
2008-03-20 16:28:50 +00:00
dave
bb4997548c - Add medic alert and food req. info
- Change the name of cshool teacher/email because these are really the values
  the student enters.
2008-03-20 02:57:18 +00:00
james
06cb13d7e4 Oops, the _seq's cant be null, they need to be set to 0 2008-03-20 01:57:24 +00:00
james
3fc27ceb04 Set everything to do with the project number, project sort, and sequence numbers to null, not just the project number, when
unregistering a project.
2008-03-20 01:52:47 +00:00
james
e320230a3e Add a way to unregister projects. Simply re-enter their registration number, and click the link. 2008-03-20 01:19:35 +00:00
james
431c8d9036 Properly fix the summary required field for wordmin=0 (summary simply becomes a non-required field)
Fixes the problem reported by waterloo, where the preg to count words was not counting words the same as the real word counter (602 vs 598 in the one i was looking at)
2008-03-16 19:32:30 +00:00
dave
6e8883b4a2 - Add pronunciation 2008-03-16 19:09:47 +00:00
dave
7651426f03 - Add a field for trophies
- Fix a bug with the ordering of the sql statement.  Something I noticed fixing
  this bug: Tour info and award info will generate an error if used together.
2008-03-12 01:18:29 +00:00
dave
4587fd3c86 - When checking the project status, count the words and test that against the
min/max number of words.  (fix 335).
2008-03-12 00:28:44 +00:00
james
a7da608982 Switch heading() to use addText() so it implements line-wrapping for super-long headings 2008-03-04 21:57:49 +00:00
james
a7dad33da3 Cleanify the subject, and strip slashes from the message body 2008-03-03 20:12:59 +00:00
dave
2d052c056f - Add an option to the award ceremony script to show the pronunciation key (if
the students entered it)
- Add an option to the award ceremony script to filter the awards by age
  category (the GVRSF needs one script for juniors, and another for
  intermediate/senior :)
2008-02-29 07:10:08 +00:00
james
3a1b4cca15 - Ignore jdiv 0 in the annealer and in the check. jdiv 0 is what all unassigned divs/cats get,
and if they're unassigned we don't want to schedule them.
- Fix a typo in the language selection
2008-02-28 20:23:27 +00:00
dave
6454f86aa9 - Add judge_scheduler_activity and judge_scheduler_percent to the config, if
they don't already exist.
2008-02-28 20:03:48 +00:00
dave
a8ed1d28e9 - Remove some old "Back to" links, the navbar does it now. 2008-02-28 19:34:39 +00:00
dave
07a7994d81 - When resetting the status of the scheduler, it is helpful to actually reset
the status of the scheduler.
2008-02-28 19:30:19 +00:00
james
bb3d4c0480 Need -r3 now to keep track of changes since r2 was packaged 2008-02-27 16:03:43 +00:00
james
17745cbb0a Always show the city in the school access login page, and sort it first by city then school name (previously it only showed the city for duplicate school names) 2008-02-27 15:59:03 +00:00
dave
f70314653b - Only lookup _GET['showstatus'] once, for a minute speed increase and easier
handling.
2008-02-26 08:32:00 +00:00
dave
b1ed8e4b4a - Optimize away some code where I was trying something different. :) 2008-02-26 08:28:20 +00:00
dave
10bf90f0db - Fix the total count on the cat/div summary. Several fairs have emailed me to
say the count is wrong.  It's not wrong, it's just not printing the number
  they expect.  This fixes that.

- Make it more obvious what status the stats are being displayed for.
2008-02-26 08:19:38 +00:00
dave
343d777aab - Restrict data in a committee report to actual committee members 2008-02-23 03:42:51 +00:00
dave
15a56ce13f - Add First Aid and CPR data collection to the user table.
- Modify the config so a committee can enable it for volutneers and committee
  members
2008-02-23 03:28:43 +00:00
dave
e26453f06e - Fix spelling of spelled. This is why I shouldn't be allowed to code at 3am. 2008-02-23 02:50:29 +00:00
james
145a5251c3 Only foreach the special awards if there are special awards to foreach over 2008-02-22 19:35:23 +00:00
dave
1d3ee3f83e - Judge autocomplete function, there's no menu link to it. This should work
for timmins and fraser valley
2008-02-22 06:19:22 +00:00
james
3b55ddd4a7 Use single quotes for consistency 2008-02-15 23:11:16 +00:00
james
a118acc21c Add the missing 'Gender' field to the user personal profile page, as well as save it :) 2008-02-15 23:08:33 +00:00
dave
e0a0e3dbcf - Fix a typo in two places... I wonder how long these have been like this. :S 2008-02-15 05:27:06 +00:00
james
52fb9faed8 special awards communications should contact this year's contacts only.wq 2008-02-13 22:42:02 +00:00
dave
6a766ac59d - fix copy/paste error in the tour annealer 2008-02-12 01:11:21 +00:00