- Allow user_personal.php to handle committee members
- Add password field if the editer in user_personal has access_super
- Allow a committee member to edit anyone in user_personal.php
- Convert auth_required to user_auth_required, and check for both a user type
and an access level (if committee)
- Convert the committee to the new user system (BIG change :)
- Remove the ^M from admin/committees.php
db.update.$num.php, may contain 2 functions db_update_pre() and
db_update_post() which are run before(pre) and after(post) the SQL file is
applied. If the php script doesn't exist, the behaviour of the update script
is unchanged.
(the committee table isn't in use yet)
- Add 2 new emails for volunteers, a welcome email, and a password recovery email.
- Add a password expiry variable for volunteers
Whipe out all 'from' of info@sfiab.ca (the old default, we dont want others using it!)
When sending emails, if 'from' is empty, use the $config['fairmanageremail']
Add a warning on the communication page if the fair manager email has not been set
Set the default 'from' for new emails to be the fair manager email
NOTE/FIXME: i added the hooks for the two new emails to be sent, but still
need to fill in the substitution values as well as the "to" - no time now,
will do that tomorrow
- 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
- 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.
- Add an editor for that generator.. it's not flawless, but it's not hard to
use either.
- Add 19 default reports
- Replace several reports on the report page with the new generator versions
(they pretty much look the same, same info, same sort order, same pagination)
- Add a pulldown menu to the report pages so any report can be generated
- Hardcode add a special award to the top of the list "I do not wish to
nominate for any special awards". Allow the
project_specialawards_link.award_awards_id field to become NULL, and set it
to NULL if the student selects this award.
- Fix the display of the award status based on whether the student has or has
not specified that they do not wish to nominate for special awards.
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
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.
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. :)
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.
- 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..
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
- Missing: Having a project judged more than once by different judging teams is
untested, I don't htink it'll work properly, still working on that part.
- Missing: Auto updating the configuration if any of the variables are missing.
- Missing: A way to preserve judging questions (like willing_chair), so the
user doesn't delete them and break the scheduler, OR, notice saying that the
question has been deleted and the scheduler won't use the chair calculations,
then we need a way to add them back in with the click of a button.
Separate the 'requirement check' into a separate file and run it on both the config page, and as a double check on the actual annealer page incase they decide to manually type in the address or bookmark or somkething.
Update i18n function to accept a third parameter, which is an array that describes the arguments in the string to make translation much easier
Update some of the config/admin pages to make sure i18n is properly used, and that argument descriptions are set
Update invitation system to keep track of the number that have been invited and not allow the school to invite more than they are allowed
Update the schools editor, to allow specifying the max number of projects and whether the max is total for the school, or per age category
Add required fields to the schools table
Update the config variable for special awards registration to allow turning special awards registration off
Open - Anyone can register.
Single password - Same password for all schools, they tell the
students that will register what the password is.
School password - One password per school, they tell the students
that will register what the password is. School is
pre-selected based on their school password. This will allow
eventually the ability to restrict participation numbers on
a per school basis
Invite - The teachers at the schools must 'invite' the students
to register by logging in as the school and creating
accounts for each student. The student then logs in and
finishes entering all of their information. This will allow
eventually the ability to restrict participation numbers on
a per school basis
Bump version number (0.9.3-svn)
also updated DB version 7 to include the language entries
also update common.inc.php to make sure install3 is installed (make sure there's entries in the config table!)
The config and dates pages now need to be updated to read defaults, and insert new config parameters as FAIRYEAR if they dont exist already
Bumped version to 7
1) add (preliminary) special awards nominations for students
2) add css right-margin to summarytable class
3) add new table for projets-specialawards-link
4) move projects.inc.php from admin/ to / (so particpant registration can use it)
judging for. Can now auto-create judging teams based on awards list (one team per award).
db bumped to v6
moved judges_teams to judges_teams_members
judges_teams is now the new interface