Commit Graph

558 Commits

Author SHA1 Message Date
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
james
19c5c43b87 Fix a bug that prevented judging questions from being added
Fixed a bug when rolling over fair years with configuration variables not coming over properly
2006-10-30 20:03:38 +00:00
james
4727c65cca Bump version number for development 2006-10-26 14:20:38 +00:00
james
ba0714fba3 If the installation can only find an older version of the "full" installer, then
automatically run the update script to get up to the newest version
2006-10-26 02:31:50 +00:00
james
9082d905b3 Bump version number to 2.0.0 2006-10-26 02:23:22 +00:00
james
c4527e1f34 Fix missing i18n's, fixes BUG #0000079 2006-10-25 19:18:33 +00:00
james
669ef1349c Add an ETA calculation to the status 2006-10-25 19:10:27 +00:00
james
35e4e3cf22 Remove a wackload of debugging stuff from the judge class and remove a few fields that should not be editable 2006-10-25 18:49:06 +00:00
james
b2c2fdb38b Add an option to DELETE a registration, removes everything to do with it from the database 2006-10-25 17:35:51 +00:00
james
c72193e671 Update database for the language pack installer system to work properly 2006-10-25 16:35:16 +00:00
james
95dc9eea5b Launch the scheduler with a lower priority (10) instead of hte default (0) 2006-10-25 03:25:31 +00:00
james
b65316c32e Changes to judging scheduler so the process runs smoothly
Dont let it start running if its already going
Properly handle the text when its done running
2006-10-25 03:19:54 +00:00
james
2bb5c2e2a4 Oops add the launcher 2006-10-25 02:41:56 +00:00
james
a871759129 Add the judges scheduler status page, updated automagically using AJAX
Redirect the scheduler link to a launcher link that lauches the scheduler then goes to the status page
2006-10-25 02:41:41 +00:00
james
5cf008adf6 s/precent/percent 2006-10-25 02:26:49 +00:00
dave
b883d2f389 - Fix the percent update in the judge scheduler 2006-10-25 02:23:53 +00:00