Commit Graph

1773 Commits

Author SHA1 Message Date
dave
9d79e2fe98 Add TCPDF label, but call it experimental to discourage use.
Convert ISO-8859 -> UTF-8 before printing text on the TCPDF label... happily only the GVRSF is using this right now so we don't need to update everyone.
2010-04-08 07:38:22 +00:00
dave
e3cda665c2 Half implement temporary saving divs/cats for single uploads. That's
going to be a lot of work.  For now, always save the div/cat preferences
when they hit next.  Fixes a bug where the divs/cats have never been
saved, but the award proceeded to upload with a div/cat id=0.  Also, the
uploader made a temp change to the div/cat, the change wouldn't get
picked up by the upload, now it will.
2010-04-07 16:17:26 +00:00
james
8ffb710715 Add option for only showing ACTIVE judges in reports (like nametags)
we dont care about inactive judges.
2010-04-07 14:25:33 +00:00
james
9dfa523bb5 Adjust the timeslot column width if the date is being displayed, becuase now it can be formatted to be slightly longer than standard database format 2010-04-06 19:00:52 +00:00
james
6d8c74e8ae Format the date/time according to the localization in the custom projects/judges and judges/projects reports 2010-04-06 18:49:49 +00:00
james
123cee67d3 Check for minimum teams based on language as well.... this causes things to not "add up" properly but
that is kind of intended..., ie the "total" doesnt equal  "english + french"... but its a lot better
than it was (it now tells ottawa that we dont have enough french judges, which is correct.)
2010-04-06 18:30:23 +00:00
james
fcccfd16c0 Add a bunch of missing i18n's on the judges teams projects
Make the timeslot/project listings not be stupidly tiny
Highlight more errors in big bold red for language mismatches
2010-04-06 17:05:59 +00:00
jacob
2afa6a5ec8 Added language tags to the available judges in the team member editing form. 2010-04-06 16:29:21 +00:00
james
00e1743aed The languages for a team should also be based on which PROJECTS are assigned to the team
Update the judges_teams_members list to show "BAD" judges (judges assigned to a team in
a language that they dont speak)
2010-04-06 16:15:48 +00:00
jacob
28db0a6871 might as well sort by first name as well... 2010-04-06 15:56:38 +00:00
jacob
e3751ea733 Added sorting of judges by last name when listing them in the team member editor (Mantis #470) 2010-04-06 15:54:06 +00:00
james
534981a0b9 Make division preferences have slightly higher priority than category preferences.
Add an additional (fairly large) cost for creating a completely empty team

Change the experience to use a weighted experience instead of a sum, and give a
weighted cost to teams for less than 5 years weighted experience, but onyl if there's 
more than 1 person on the team (1 person teams are not penalized for not having any experience)
2010-04-06 15:41:29 +00:00
jacob
e2b5208aee Fix for bug number 471. Tallies weren't adding up on the user list summary table at the bottom. 2010-04-06 15:19:47 +00:00
james
951b7209d9 Add a cost for judges assigned to a team that speak more languages than they need for that team
(ie, a bilingual judge being used for an english-only team)
2010-04-06 14:42:51 +00:00
james
8d6d653567 Add a new date 'judge schedule available' to specify when judge assignments and schedules become available to judges. When the chief judge is playing with the scheduler he doesnt want to have judges thinkign they are assigned to their final teams/projects/timeslots, so only make them available to judges after this date has passed.
The default (as always) maintains old behaviour, so if this date is not explicitly set, it'll always show the schedule
2010-04-06 14:29:50 +00:00
james
015b04a81a Add two columns for the feeder fair info in the student report. 2010-04-05 19:19:53 +00:00
dave
e07f22995b Add fields to the award report 2010-04-04 18:57:30 +00:00
dave
6e245a4c52 Add option group support, and as a test implement it for awards report.
It would be nice to remove the  "Award -- " off the front of each field
name, but if we do that it only displays "Name" after its' selected,
which can be confusing if there's an "Award -- Name" and a "Prize --
Name".  But the division into optgroups still look nice.
2010-04-04 18:57:27 +00:00
dave
c1433e8a7d Typo... wonder how long that's been there. 2010-04-04 15:55:32 +00:00
dave
6e30724785 Use the proper judges_teams_id. If there are no projects print a message. 2010-04-04 02:22:55 +00:00
dave
0dd1637415 Show round+time with each team on the team editor 2010-04-04 01:38:50 +00:00
dave
0661224a0b Don't duplicate SA-only judges for all rounds for all special awards (only duplicate them enough to satisfy their special awards requests in the specific rounds the award is judges). Fix a bug where the last jduges would get replcaed by a duplicate of the 2nd last judge for multi-round special awards. 2010-04-03 23:10:05 +00:00
dave
8f063c1ec1 My what a difference an equal sign makes. 2010-04-03 20:54:57 +00:00
dave
9a00ce4877 Properly do timeslot->project->jteam linking for special awards 2010-04-03 19:16:11 +00:00
james
8bc65e2a3f Send schedule_judges and self_nominate 2010-04-03 16:47:08 +00:00
dave
6bdbc85829 Download schedule_judges and self_nominate for awards too 2010-04-03 16:46:43 +00:00
dave
7616982ff2 Fix font height computation. Implement truncate and '...' on overflow. 2010-04-03 08:48:20 +00:00
dave
a6887423d1 Fix a font metric bug (submitted to sourceforge). 2010-04-03 08:48:16 +00:00
dave
29f799f0a2 Detect the award warning condition before printing the warning. About half of
the BC fairs repeatedly tried to downlaod awards to make the warning go away.
2010-04-02 05:19:33 +00:00
jacob
a738ad1a26 Some touch-ups as per bugs logged 2010-03-31 22:03:07 +00:00
james
12086fc9c9 Send project language in award upload 2010-03-31 19:31:42 +00:00
jacob
4ad5ec9d68 Made tables of the "tableview" class sortable 2010-03-31 18:44:42 +00:00
dave
2332d89736 Generate JPG logos too. PDF uses JPG internally, so for TCPDF it's handy
to have a JPG logo around (TCPDF takes FOREVER to generate a JPG
internally, because it uses GD.  :p  )
2010-03-31 05:52:52 +00:00
dave
c42748989b Add xsmall to report too 2010-03-31 04:50:55 +00:00
dave
8d8bcdad94 Add available in round1,round2 to the judge report 2010-03-31 04:07:26 +00:00
james
69eb9a2817 add the tablesort jquery plugin (jacob forgot it)
needs to be trimmed back theres wxtra crap in the folder
2010-03-30 23:33:27 +00:00
jacob
b632b6c932 Adding sortable columns to tables 2010-03-30 21:59:04 +00:00
james
ac10772214 Let everyone know that they need to re-download all of their awards before uploading will work 2010-03-30 17:45:37 +00:00
james
dcd9e825ea Make the message look a bit nicer (output the message if we have it, instead of print_r'ing the whole result) 2010-03-30 17:22:55 +00:00
james
2f38386967 set enable_stats to 'no' for YSO 2010-03-30 17:03:58 +00:00
james
c238997eed Only show fairs in the fair upload stats that have enable_stats turned on 2010-03-30 17:01:27 +00:00
james
80ff166203 Set prize external_identifier on award download properly. Send proper xml array (prizes[0]prize[0], not prizes[0]prizes[0]) to ysc servers. Handle postback url properly (typo) 2010-03-30 16:47:30 +00:00
jacob
7cd9f21434 Small wording fix for bug #461 2010-03-30 16:08:57 +00:00
james
e18264232d CWSF divisions changed this year, hopefully we catch this before many fairs used it :( 2010-03-30 15:06:08 +00:00
dave
9935b92d31 tcpdf based signature form that that is a replacement for the regular
one  (after all the fairs are over copy this file over
register_participants_signature.pdf)
2010-03-30 07:02:16 +00:00
dave
a24df7f144 Change header size, add custom footer. 2010-03-30 07:02:15 +00:00
dave
96601ce1f4 Fix the top margin. 2010-03-30 07:02:11 +00:00
james
cbab7c7fa8 also convert an ending </div> into a newline when converting html to text 2010-03-30 04:39:56 +00:00
james
3fce787126 Actually, wrap at 75 not 78, to leave room for a few quoted replies 2010-03-30 04:03:23 +00:00
james
3116d8f232 When converting HTML to TEXT, wrap at 78 chars, some mail servers wont accept emails with very long lines 2010-03-30 04:01:38 +00:00