Commit Graph

491 Commits

Author SHA1 Message Date
james
bb18130716 Set a record type for judges 2006-10-18 19:37:31 +00:00
james
ff9c78d5a2 Make tableeditor PHP4 compatiable 2006-10-18 19:33:04 +00:00
james
5e77a78642 Oops i forgot to commit the help icon changes... here they are 2006-10-18 17:32:14 +00:00
james
d1db2cceda Fix daves typo's :) 2006-10-18 17:25:41 +00:00
dave
9f9b612e5d - Added an option for the tableeditor to construct a LEFT JOIN when listing a
table
- Add complete and year options to the judge manager, filter by ALL, active and
  inactive for the current year, or active only.
- Add the "complete" status the the judge info page (the judge info popup page
  needs to be integrated with the new judge manager, somehow.. so we can remove
  the judges_judges list page).
2006-10-18 17:05:18 +00:00
dave
29a772ae5e - Add the judge manager to the judges admin page
- Put a total at the top of the judge manager list
- Add to the table editor:
	- Change the filter to accept a single argument, so we're not
	  restricted to the `$k`='$v' syntax, we want to be able to filter on a
	  table JOIN.
	- Add a additionalListTable variable, and additionalListTable()
	  function, to specify additional tables that should be part of the
	  table select statement.  I guess ideally the class would implmenent
	  their own if alternative behaviour was desired.  But this way is
	  pretty generic.  The table editor can now, for example, select judges
	  by year.
2006-10-18 07:50:23 +00:00
dave
e3035cb13f - Add a password warning to the judge password page, indicating that the server
may not be secure, so don't use an important password.
2006-10-18 06:47:41 +00:00
dave
3a4d919691 - Implement judge insert and delete. Still needs work, the "delete" should
only remove the judge from the current year.  The editor needs a field to say
  if the judge is registered for the current year or not.
- Delete also needs to somehow express that the judge will be deleted for the
  current year only.  Which means we should probably implement a Purge, to
  completely wipe a judge out of the system.
2006-10-18 05:57:20 +00:00
dave
e2e1f3433c - Add the judges expertise. This should be all the cross referencing required
for judge specific stuff.  Haven't tested/debugged adding and deleting.  But
  editing works.
2006-10-17 07:34:18 +00:00
dave
5e26bd1395 - Missed an i18n(); 2006-10-17 07:04:11 +00:00
dave
e3abff348b - The table editor detects a pipe character in the field name now, and if it
exsits, it separates the field at that point, and prints the text after the
  pipe in the data area, not the header area of the edit table.
2006-10-17 07:01:55 +00:00
dave
29e14c2514 - Fix the tableeditor to do a string compare for determining if something
should be SELECTED in the select type.  If the keys are 0, and there is no
  data, PHP does a numeric compare and matches them, when they shouldn't
  actually be matched.
- Add Load/Save for the judge category preferences
- Enable saving to mysql.  It works.
- Update the tableeditor css to use the same colours as sfiab
2006-10-17 06:44:27 +00:00
james
b8f2e52401 Show inactive judges list - this will probably be replaced soon with the new
editor interface.  Fixes Bug #0000064
2006-10-16 17:50:28 +00:00
james
f395e7480b Add a link to return to the main schoolaccess page once a school has
logged in.  Fixes Bug #0000100
2006-10-16 17:31:55 +00:00
dave
5c19a3d0f0 - Added all the fields in the judges table to the judges class, all that's left
now is doing all the cross referencing.
2006-10-16 16:54:29 +00:00
james
7143e9e01a Delete old school mailing labels and replace with a mailing label generator
that allows you to customize the size of the labels to suit _ANY_ label
stock paper.

Add to label generator the option to get judge mailing labels, and award
sponsor mailing labels, and make it easy to add more mailing labels
down the road (students? committee? etc?)

Add two default label stocks (Avery 1"x4" and Avery 2"x4")
2006-10-16 15:42:29 +00:00
dave
1a2b3d7faf - Implemented save functionality in the judge class
- Moved the tableeditor class to accept a generic class, no longer a person
  class
- Restored the original functionality where everything is specified in the
  constructor, but added a 'class' which can be a dummy class to return to the
  original tableeditor functionality.  The tableeditor checks for
  class->tableEditorLoad() now, and if that exists it calls it.  If it doesn't
  then it calls a default Load() routine which contains the original code from
  the tableeditor.  Same with save.

Still needs work, but it's getting there.
2006-10-16 06:21:20 +00:00
james
4a5bc27532 Add salutation field to award contacts 2006-10-16 03:36:39 +00:00
james
671778d5ff Use the registration number in the sub-heading of the signature page so the filename's are always unique. 2006-10-16 03:35:59 +00:00
james
5c9920cfab update scripts for 2007, also append the language to the end of the project title, so its easier to tell if a language is english of french 2006-10-16 03:34:57 +00:00
james
83691b07b8 Add a header for "public email / private email" to the top of the committee list administration page. Fixes Bug #0000041 2006-10-16 02:36:20 +00:00
james
7e0720dffe Fix a typo 2006-10-15 21:52:58 +00:00
james
cbc01c020f Fix the filename of the awards ceremony CSV script - Fixes Bug #0000063 2006-10-15 21:33:32 +00:00
james
cb6f4a3dbb update database length of email field from 32 to 128
update maxlength attribute of phone/fax fields to 32 (from 16) to line up with the db fields
2006-10-15 20:42:02 +00:00
james
2dbc8fc067 change scripts for fairyear 2007
select a random school from a list of all available schools assuming that only 1 in every 4 schools actually participate
2006-10-15 20:14:54 +00:00
james
130f0f5786 Implement Bug #0000029 - Report to view school access codes and registration passwords 2006-10-15 20:07:18 +00:00
james
ac3e1d6b1d Implement Bug #0000011 - Show safety question order and warnings when non-numeric values entered 2006-10-15 19:50:09 +00:00
james
9eef488a5d Implement Bug #0000004 - Do not allow multiple committee members with the same email address 2006-10-15 19:36:33 +00:00
dave
335330dd35 Minor update to the person class 2006-10-15 18:43:46 +00:00
james
f03dcb782b bump db version for new schools data 2006-10-15 17:12:58 +00:00
james
4ee617eb52 Add more school information to the schools database (school lanaguage, school level, principal and school email addresS) 2006-10-15 17:11:56 +00:00
dave
0f26d12fe7 - Update the multicheck layout
- Remove the mysql query on EditSave and NewSave
- Unify the EditSave and NewSave code.  Now that this is done, I will move the
  SQL generation task to the group class, so all the editor has to do is
  instantiate a person class, set some values, and call the save() function.
2006-10-11 16:35:36 +00:00
dave
373b876b1b Hacked up the editor a bit more.
- Added a "multicheck" input type for languages (english, french)
- Added a proof of concept cross reference to the judge class, it pulls the
  languages out of the judges_language database
- Completely broke the save mechanism.
- Converted the tableeditor edit routines to read from the input class
- Converted the tableeditor edit routines to use assoc arrays, instead of ->
  (easier to pull from mysql and then add cross references to it.
2006-10-11 07:21:35 +00:00
dave
1e9f68a35e - Add the table editor class (not heavily modified for SFIAB yet)
- Add the table editor style sheet, and load it in the header (needs editing)
- Add a judge class (not complete)
- Add a judge manager php file that doesn't interfere with what's already in the system

THis is a proof of concept, it sorta works, but the table editor is still reading directly from the judges class.  It will be updated to make calls only into the calling class type, thus abstracting away all the SQL stuff, and allowing the group class (judge in this case) to hide
all the cross table references we need to make for loading, saving, deleting, etc.
2006-10-11 00:28:58 +00:00
james
952047cc11 Add a prize value field to award prizes, also add editor the the value, as well add editor for the contact position 2006-09-20 16:24:52 +00:00
james
474c000377 Add a position field to the award sponsors contacts 2006-09-20 15:33:46 +00:00
james
951f801093 Add an AJAX powered translation dropdown to allow incorporation of single string translations in-line in any editor instead of having to manage the translations separately in the translation manager.
Add the translation dropdown to a few fields in teh award sponsors, awards and award prizes.
2006-09-19 22:40:46 +00:00
james
0ebd709a13 Add the option to collect teacher signatures on the signature page 2006-09-18 19:33:48 +00:00
james
7e79a9dd9e Add the project number in big, fat, bold letters to the top of the registration summary page if their forms have been received. 2006-09-17 16:26:12 +00:00
james
794cbe7c84 Show different messages if we're BEFORE the registration open VS after registration close.
Also do now display any sort of login (email) box if we're before registration open, but do
show it if we're after registration close so they can still login and view info or apply for
special awards
2006-09-17 14:32:42 +00:00
james
e6ed1c35b0 Account for spacing between labels when generating mailing labels for the schools
Also shrink the c/o line to better accomodate long names
2006-09-12 18:03:46 +00:00
james
a8d31a3603 Add report generation support for mailing labels
Add School Mailing Address Labels for Avery #05163 (4"x2" or 10.2 x 5.1 cm)
2006-09-11 18:05:35 +00:00
james
6ab58a1b8e Add a generic CSV reader that properly handles multi-line fields
Add a school importer to import school list from CSV file
2006-09-11 17:32:02 +00:00
james
050f2093fb Replace "Sex" with "Gender", and allow the db field to be null, instead of defaulting to "male"
BUG#105
2006-09-04 16:28:28 +00:00
james
0987d76e43 turn off NOTICE error reporting in PHP, some people's PHP dont do this globally for some reason. 2006-09-04 16:13:07 +00:00
james
5eab309b4a bump version to 1.1.1 for next development cycle 2006-09-04 16:05:37 +00:00
james
8a003916ee remove this unused CHANGES file, all changes can be found in the website version 2006-09-04 15:44:37 +00:00
james
486536b331 Add full db 22 file
update installer to properly add the current year's configuration variables
2006-09-04 15:42:34 +00:00
james
8e23ad781a Bump version number (1.1.0) 2006-09-04 15:12:14 +00:00
dave
dc60c9f652 Update the date editor.
- Dates are always displayed in the same order, which is somewhat logical.
- It detects some errors.  It's not perfect, but it'll detect when a date is
  invalid, and when pairs of dates are bad (eg. the reg. system closes before
  it opens.).  All dates are still saved to the database but the user is
  alerted of any date errors.
2006-09-03 23:37:22 +00:00