Commit Graph

679 Commits

Author SHA1 Message Date
james
2e1ed4a689 Fix the config variables rollover/install for the type and type_values fields 2007-10-01 18:51:56 +00:00
james
4a3aaac8af Properly address french mailing labels to schools 2007-09-27 15:29:48 +00:00
james
7cb46d5aee Use mb_strtoupper instead of strtoupper to properly uppercase accented french characters 2007-09-27 14:08:46 +00:00
james
2063ada383 Insert a name 'Superuser Account' with the superuser record so it will properly show up in the committee editor list 2007-09-26 21:30:52 +00:00
james
620353e8fa properly install config types and type values
properly rollover config types and type values
2007-09-26 20:21:13 +00:00
james
1aa5ef0332 bump version number 2.1.3 for development 2007-09-20 17:42:55 +00:00
james
c4c57fde2b Make sure the FAIRYEAR is 2008, and bump version number to 2.1.2 2007-09-20 17:31:43 +00:00
james
7f3a0ff528 Add a fix to re-roll award prizes that werent properly rolled over due to the rollover bug in 2.1.0 2007-09-20 17:26:18 +00:00
james
abbfe00e82 Fix a bug that prevented the award prizes from being rolled over properly 2007-09-20 16:53:06 +00:00
james
a87647ee6c - Update database for schools report query. 2007-09-13 19:18:18 +00:00
james
1e947cba16 - Add a school based report query, so things like mailing labels can be created for ALL schools, not just the ones attached to a student. 2007-09-13 18:57:56 +00:00
james
6c94eeb751 Bump version number for development 2007-09-13 16:42:32 +00:00
james
d93f8e514c Version 2.1.0 2007-09-11 20:11:50 +00:00
james
e36f452636 Wow, properly fix the broken winners.php to show multi-year data! 2007-06-01 19:52:58 +00:00
james
0de2bfeef0 Add a few more missing "exit" calls after a header("Location"); 2007-05-10 19:18:01 +00:00
james
ec28dcfb7a if access is not allowed, make sure we exit after redirecting the script to the login page 2007-05-10 18:59:04 +00:00
james
55fcc1cf06 Guess i never committed my multi-line table lpdf fix. here it is. 2007-05-09 17:18:01 +00:00
dave
878a29a9d1 - Another case where we depend on register_globals = 1 2007-04-11 22:09:17 +00:00
dave
9c1a16acc2 - Add assigned tour to the report generator
- Add prize names to the report generator
- Change award name to sort by name, if you want to sort by order, use the
  Award--Order column. (Specifying a sort by prize name, and it actually
  sorting by order doesn't make sense)
2007-04-10 15:53:48 +00:00
james
3f8d70d47d Add a bunch of fields that allow you to create all the information on a single form for Sci-Tech Ontario award winners to submit to sci-tech ontario 2007-04-05 21:33:39 +00:00
james
6088779b37 Properly handle "quote" marks in the title if the page gets resaved after the initial save 2007-04-03 21:07:44 +00:00
james
f3ad2c7f26 Oops need to global $config for that last patch to work 2007-04-03 20:17:32 +00:00
james
31aebc743f Only count a huge penalty for the team if there's no chair on the team if the minimum number of judges per team is greater than 1. If the minimum is 1, then essentially the "willing chair" stuff should get ignored. 2007-04-03 20:16:48 +00:00
james
c2856ad9cb add another parmeter to i18n() which will allow you to force the language that gets returned for that specific call to i18n. Makes it easy to do things like make bilingual data sets, eg: "Life Science / Sciences de la vie" 2007-04-03 20:12:43 +00:00
james
eff30a5adb Add an option on the winners selection page, to show all ELIGIBLE projects for a special award, not just the nomiated ones. Helps in teh case that an award was added last minute that nominations didnt happen for, or in a caase that the judges decided to choose a winner that didnt nominate to begin with.
Update the winners page to not duplicate students names :p
2007-04-03 20:10:00 +00:00
dave
8c044c8309 - Remove unused nametag stuff. It's not referenced anywhere in the code base
anymore
2007-04-03 20:09:19 +00:00
james
e7776a6b9c CSV of award winners - we used this at ORSF to do a Mail-Merge into a MS publisher template which export to a PDF to create a presentation for the awards ceremony... Next year we should automate this to create an OpenDocument Presentation (.odp) 2007-04-03 20:05:39 +00:00
dave
35ccf2a2ad - Fix an instance where we rely on register_globals to be on 2007-04-03 19:53:30 +00:00
dave
526db97052 - Update the custom tour selection report to:
- Only report complete students
	- Use tour names instead of numbers
	- Not use $email as a temp varaible because that actually overwrites the
	  $_SESSION['email'], and logs us out, wtf?
	- Sort by first tour selection
2007-04-03 18:49:29 +00:00
james
daa3f4bb51 Rename the entry to "Website Consent" 2007-03-31 01:10:56 +00:00
james
c95df2b912 Implement web consent restrictions, settable by the admin (under the admin->participant registration menu) to prevent firstname and or lastname (and or photos once they are implemented) of students, on a per studnet basis, from being displayed on the website. It currently affects the confirmed participants page, and the winners page (the only two public places where sutdent info is available thorugh the system) 2007-03-31 01:10:08 +00:00
james
97c2b65a93 Require >1 judge div grouping 2007-03-29 20:33:45 +00:00
james
e2ee104434 If all the schools are the same, then only show the school name once, instead of once for each student. 2007-03-29 19:36:04 +00:00
james
d209b0648f Add new CUSTOM report: Program Awards List (used for ORSF printed program)
Add award criteria to getJudgingTeams() result
Modify CUSTOM report judges teams proejcts, to show each award and the criteria/eligibility for each award that the team is assigned to judge.
More ease of use cleanups to awards interface
Add new field award order to student report generator
2007-03-28 22:32:57 +00:00
james
6fa1a01fe6 Remove much of the awkwareness of the awards management interface 2007-03-28 18:03:15 +00:00
dave
1bdba54ed5 - Add a special awards feature (off by default) to the judge scheduler. It:
- Creates a judging team for each special award
	- Assigns judges to special awards based on the number of students self
	  nominated.
	- Obeys the judges special award preferences (if enabled), and also
	  judges that specify if they are a judge for a specific special award
	  (if enabled).

- Add 2 new config variables.
	- Enable the special award scheduler
	- Specify the max. number of projects each special award judge can
	  handle (default: 20)

- Delete an extra blank line in register_participants_students.php
2007-03-28 06:16:41 +00:00
dave
cc2e6b5bce - Add fullpage (no margin) reports for the full pages, we need them for our
certificate generator
2007-03-27 05:01:51 +00:00
james
fb1ddd4775 Clarify what the 'prize' field should be used for. (eg, only if the prize is non-cash/non-scholarship) 2007-03-26 17:06:44 +00:00
james
72afcf583c Get the logo to fit on the label 2007-03-26 17:04:42 +00:00
dave
d21fbee5a4 - Turn off table label boxes by default 2007-03-26 16:55:45 +00:00
dave
a979f158eb - Add a 0.75" page margin to the full page labels 2007-03-26 16:49:15 +00:00
james
99ad9ae8e3 Only show the max number of students per project, no matter what the address bar passes into $_GET 2007-03-26 16:29:20 +00:00
dave
ee6454868f - Sneak this in so we don't print nametags for incomplete judges. 2007-03-26 06:30:15 +00:00
dave
336ec2f75c - Don't generate PDF table reports for things that should be labels.. generate
"label" reports.
2007-03-26 06:20:43 +00:00
dave
efc7ae411d - BAM!
- Overhauled the report generator.. It's more versatile now
- Added 'filter' option to the generator, so you can filter any column by (=,
  <=, >=, <, >, IS, IS NOT, LIKE, NOT LIKE).  It doesn't support AND or OR
  combinations, but that should cover what we need for now.  Example: We can
  filter "Award Name" LIKE "%Gold%" to generate a report of just the Gold medal
  projects.
- Wipe out the report database, and create it again from scratch.
  update.48.sql contains an example of how to add additional reports to the
  system without knowing the report_ids, because after regions start adding
  their own reports, we won't be able to just wipe out the whole report system
  to add one.
- We handle more reports now, specifically nametags and table labels, so remove
  those files, and update the reports.php file to link the old links to the new
  report generator (so people don't get too confused in this transition).
- Beginnings of moving the report generator to proper LEFT JOIN style
  constructs instead of just one big massive EQUALS JOIN.
2007-03-26 06:15:41 +00:00
dave
80ca088be2 - This will break things, but I need to get these home so I can work on 'em.
WIth luck, I'll have a new report generator commiteed witha proper DB update
  tonight.
2007-03-26 01:54:18 +00:00
james
c22b3fa86b Add some extra fields to the awards report 2007-03-22 14:55:24 +00:00
dave
c64d7445e9 Update the selector so it works 2007-03-20 20:50:14 +00:00
dave
23934f080a - Fix the report selector for browers that can't seem to do javascript 2007-03-20 18:49:44 +00:00
dave
a67e8b8fb5 - Fix the position of the image on the label
- Change the fair title font to 13pt (from 14pt), it was spilling over onto the
  second line for many fairs  (Waterloo-Wellington, Greater Vancouver, Quinte,
  Fraser Valley)  Actually, the size of that should probably be proportinal to
  the size of the label.. that'll come later...
2007-03-20 06:27:04 +00:00