Commit Graph

573 Commits

Author SHA1 Message Date
dave
caeb7cbe78 - Add a config option (default 'no') to ask the students for a pronunciation
key for their name.  The idea is that it's for those often mis-pronounced
  names at the award ceremony.
2007-01-31 07:35:08 +00:00
dave
b6b93e1060 - If the option to print the total registration fee is on, and there are
pay-for t-shirts, completely remove the tshirt line if no tshirt is selected.
  It should cause less confusion
- If the same conditions are true and a tshirt has been selected, inform the
  student how they can deselect it to not incur the cost of a tshirt with
  registration.
2007-01-31 07:30:43 +00:00
dave
72f4d9031f - The Gender is actually optional, so it doesn't need a REQUIREDFIELD. 2007-01-31 04:36:51 +00:00
dave
42b60170a4 - Add a 4th text section to the signature page (of course, it's optional, and
off by default).  It's a postamble.. just a space for "Additional
  Information" after all the signatures.
2007-01-31 00:48:24 +00:00
dave
e71d3c0bbb - Allow the tableeditor subclass to return an empty array for the WHERE clause,
and handle that case.
2007-01-30 20:00:17 +00:00
dave
57dfb7df27 - Fix the is_callable calls. 2007-01-30 19:58:26 +00:00
dave
5d20a0590a - Might want to check my logic on this one.. but basically, if special awards
are set to "with registration", bypass all date checks.  Assume that if
  they're in the registration, they're allowed to select awards.
- If the special award nominations are on "with registration", don't print the
  dates between which special awards can be selected.
2007-01-30 08:05:29 +00:00
dave
4d56266fec - Mark the language as a required field for judge input. I don't like how this
looks, but I wanted to stick with the convention of putting ththe
  REQUIREDFIELD after the input boxes.  Any ideas?  Can we center a single
  REQUIREDFIELD after all the checkboxes?
2007-01-30 07:53:38 +00:00
dave
39cd2fbd8c - Allow Judges to select "other" awards too 2007-01-30 07:51:43 +00:00
dave
f83dcfebd0 - Add the award critera to the page where we input the winners, just so the
person doing the data entry has the option to sanity check the results.
2007-01-30 07:45:12 +00:00
dave
91d122ab3e - Forgot a mysql_num_rows when checking for award selection completion 2007-01-30 06:25:51 +00:00
dave
77226edb5f - Missed a file in the last commit 2007-01-30 06:16:23 +00:00
dave
50b4e146bd - Move the judging age preferences to the expertise page... and rename that
page to "Divisional Preferences"
- Add the ability for the judges to select special awards they would like to
  judge
- Add the ability for a judge to specify that they are a judge for a specific
  (one or more) award, and disable the divisional selection for them
2007-01-30 06:12:11 +00:00
dave
49c5704143 - Include the table editor before the judge class, this is in prep for PHP5
when we implmeent templates.
2007-01-30 01:52:55 +00:00
dave
972f05b58e - Remove PHP5-isms 2007-01-28 07:56:52 +00:00
dave
3da0ba87e2 - Update the table editor, instead of doing all that funky stuff for listing
the table, we call a method in the table helper class.  That method returns 3
  things.. an array of SELECT columns, an array of FROM tables, and an array of
  WHERE clauses.  The table editor takes these, adds ORDER, LIMIT, etc, and
  runs the sql.
- Update the table editor to allow variables to be set.  THe helper class reads
  these variables to do pretty much anything it wants.. In this commit, it
  reads the judges_show_what variable, to determine how to format the SQL for
  selecting the table of judges (so the calling php can now know NOTHIGN about
  the database, it just sets a variable and expects the data to be formatted
  correctly.
- Update the judge manager, show all judges should now SHOW ALL JUDGES.
2007-01-28 07:53:14 +00:00
dave
418dc75cef - Comment the comment 2007-01-24 04:10:35 +00:00
dave
668565919f - Make the age pulldown selection based on ages, not grades 2007-01-24 03:56:46 +00:00
dave
ff76c06e17 - Fix a bug that prevented the tour selections from showing up in IE. 2007-01-23 20:42:17 +00:00
dave
5d36be70e2 - Dynamically build the list of grades for tours based on the configured fair
grades.
2007-01-21 18:46:12 +00:00
dave
ca24d7afc3 - Use unlink on each logo file, instead of system and rm -rf with pattern
matching.
2007-01-21 18:41:47 +00:00
dave
0ba89a18a7 - Add a new config variable 'specialawardnomination_aftersignatures'.
Default='yes', meaning the behaviour is the same as the default.  'no' means
  that students can self-nominate for awards before the committee receives
  their signature form.
2007-01-21 05:45:36 +00:00
dave
94639c1278 - Allow a committee member to edit the password in their own profile (if they
have admin access to access the committee editor)
- Put a "My Profile" link on the main nav bar once a committee member logs in,
  so they don't have to find themselves thorugh the committee editor.  It takes
  them right to editing their own profile.
2007-01-21 05:43:29 +00:00
dave
039a3aa1d5 - Alternate colours on each line in the config editor. Makes it easier to see
which config lines go with which options.
2007-01-21 03:55:38 +00:00
dave
5ca11ae362 - Properly copy the config type in the config editor when copying -1 config values into
the current year
- Add 2 new config options.  
	- 'participant_student_tshirt_cost' allows the cost of each fair tshirt
	  to be set (vancouver charges $10 for tshirts, because not all
	  students want them), this also adds a 'none' option to the tshirt
	  selection box, and a note indicating the tshirt cost if the costs is
	  nonzero.
	- 'regfee_show_info' adds a "Registration Fee Information" to the main
	  student registration page, showing a breakdown of the registration
	  fee computation (including tshirts, per_student and per_project
	  registration, and indicates the total.
- Convert the tshirt field to VARCHAR(32) instead of enum so the "none" option
  described above works, also, some fairs may want to add more optoins, like
  female/male sizes.. so turn this into a text field for those fairs.  The next
  step would be to make a config option for the tshirt options. :)
2007-01-21 01:40:46 +00:00
dave
018725aebf - Add a type field to each config variable. The type field is used to tell the
editor what type of variable to expect.  It can be yesno, enum, text
  (default), number (unimplemented), or blank (default behaviour of the current
  system).  In response, the editor will use pull down lists instead of text boxes 
  for things like "Yes", and "No", or enumerated fields.
- Update the descriptions and type of existing variables.
2007-01-20 22:23:44 +00:00
dave
82b8b75b25 - Add location and contact info for each tour. Dump this in the CSV dump of
the tours, but don't show it to the students at all.
2007-01-20 08:10:26 +00:00
dave
eff2190ac1 Added grade 4,5,6 to tour selection 2007-01-18 09:39:21 +00:00
dave
f7c430d712 - Allow a committee privateemail to be written as '' (nothing) without throwing
the "email address already exists" error.
2007-01-18 04:16:43 +00:00
dave
dd247fa002 - Added a "Delete Logo" button if a logo exists. It just wipes out the .png and .gif logo files. 2007-01-16 19:45:12 +00:00
dave
14e8ee5ec9 - Fix an issue with the default import of judging questions 2007-01-16 19:32:40 +00:00
james
6495dabf79 bump version to 2.0.7 for development 2007-01-12 22:13:12 +00:00
james
128a9c1651 Bump version number 2007-01-12 20:49:59 +00:00
james
932ce3731c remove some extra code from the tours manager
add a link to return to admin for translations
2007-01-12 20:45:52 +00:00
james
8ed5dd3dfc Try this version.. Removed the quotes from sortField, added them to
the table headers when the table is printed.
2007-01-10 17:19:15 +00:00
dave
e43bcb1a7d - Quote the field in the ORDER part of the sql, in case it happens to be an sql
keyword.
2007-01-10 07:28:12 +00:00
dave
b022cb5978 Fix complete/incomplete detection for tour choices
- Incomplete if any student in the project hasn't selected the min number of tours.
2007-01-10 05:16:58 +00:00
dave
a386788300 update add 2 missing columns to config. 2007-01-10 05:12:36 +00:00
dave
900dab702d Add Tour selection.
- Admin can use the tour manager to add tours
- Admin can use the config variables to enable tours, and select the min/max number of tour choices.
- Students will see a "Tour Selection" section of registration, which is incomplete until the student has selected at least a minimum number of tours.... actually, this may be broken.. Need to look at it further..
2007-01-09 19:05:23 +00:00
james
2d17c8c21a Add new participnt registration type: openorinvite - allows you to use the system as if it was OPEN or INVITE however limits cannot be imposed in the inviter since when its reached in the inviter it could easily be bypassed by registering through the 'open' way. 2007-01-02 23:38:53 +00:00
james
0dd2da7145 Add configuration options to choose whether to ask the students if they require:
- table
	- electricity
2007-01-02 20:33:16 +00:00
james
9fc98fc288 Add a TCPDF version of the signature page, TCPDF does not require any extra PDF libraries (eg pdflib) to be installed
Create PNG versions of the uploaded logo image file
Detect which version of the signature page to use
Bump version to development series 2.0.5
2006-12-18 20:55:30 +00:00
james
0bd7ab8a93 Add an option to forcibly reset the judge scheduelr incase it gets stuck in an inconsistent state
Bump version number
Correct wording on judges expertise page
2006-12-15 21:18:27 +00:00
james
b38dfe33cc Update copyright headers to 2006 2006-12-15 19:51:32 +00:00
james
f36212f868 Add a project editor and a student editor, accessible by
clicking on the project or student links from the 
  "Registration List and Statistics" page

Add the project number to the registration list
2006-12-15 18:45:06 +00:00
james
1e7d9fcad9 Show access code in schools list
Add ability to create access codes for all schools and to remove access codes from all schools
Update generatePassword to accept a password length as a parameter, defaults to 8
2006-12-06 19:24:09 +00:00
james
8fd2a44050 Add a configurable character limit on project title length, default is 100 characters 2006-12-06 18:22:31 +00:00
james
319c5d6720 Add option to turn off the Mentor section for participant registration
Add two new projectnumber options:  c=category shortform,  d=division shortform, eg  (JLS01 = Junior, Life Science, Project #01)
Add shortform field for age category
Fix bug in config editor where it was updating values for ALL years, instead of just the current year!
Bump version number to development version
2006-12-06 17:58:40 +00:00
james
c951c58984 Only allow the Password: field in the committee manager to be shown/displayed/edited by someone with superuser access level
(i thought thats how it always was!, thats how it was meant to be at least!)
2006-11-21 20:20:25 +00:00
james
eb9cf34645 Add db update 31 to fix any fairs that have rolled over their config variables using 2.0.0.. it is essentially the same db updates as db.21 that re-categorizes the variables.
Change version to 2.0.2 so i can do a release since the two bugs fixed are fairly significant.
2006-10-30 20:11:27 +00:00