Commit Graph

385 Commits

Author SHA1 Message Date
james
027c03b297 - commit all outstanding changes 2009-10-14 19:53:09 +00:00
james
5486317f53 Add missing update 146 php file 2009-10-11 19:49:21 +00:00
james
bdf2ea7577 Donations tab for campaigns 2009-10-11 19:49:04 +00:00
james
663420b078 All of tonights wackload of changes 2009-10-11 03:32:14 +00:00
james
ff9d802b6e Database updates 2009-10-08 19:20:07 +00:00
jacob
a4d4cc11cc Updated fundraising_campaigns table to use "fundraising_goal" field instead of "fundraising_goal_id" 2009-10-06 20:49:37 +00:00
james
cf2affcc03 Update default fundraising goals, and insert defaults if none exist 2009-10-06 19:04:45 +00:00
james
9bb5465ac2 Oops commit the db files too 2009-10-02 17:24:53 +00:00
james
01fde584be Do a lot of database re-working, renaming and reorganization
Database now refers to everything by donor/donation .. and apparently just as i complete this, carolyn has decided to go to both donor/sponsor instead of just donor.. ugh..
2009-10-02 16:46:13 +00:00
james
15cf8e1401 Oops remove the database name from the query 2009-10-01 17:02:07 +00:00
james
3974636d1c DB update for donors add new fundraising main page 2009-10-01 16:52:36 +00:00
dave
21882281c0 - do it properly 2009-09-27 08:43:36 +00:00
dave
67bb3eed85 - Sneak in the report change for the last db change too 2009-09-27 08:40:35 +00:00
dave
e4c632a380 - Sneak a change into the db update, misnamed field 2009-09-27 08:25:22 +00:00
dave
9b1ea927e6 - Delete sponsor_confirmed entries from reports (it's in one system report),
that field doesn't exist anymore.
2009-09-27 02:55:08 +00:00
dave
0f31f72f07 - Add two more fields:
- additional_materials: if there are additional materials required if a fair assigns a winner to this award.
	- register_winners: to tell the feeder fair that this award is for winners who will participate at the upstream fair
2009-09-25 04:29:41 +00:00
dave
97c489646e - Turn the uploader into a popup window
- Add the ability to select category/division mappings specific for each upstream server
- Add some auto-determining code if the cat/div mappings don't exist
2009-09-23 05:53:33 +00:00
dave
5ec38a7314 - Server-side award uploading. Tag registrations, proejcts, and students with
a fair_id.  This is ignored for regular operation, but now needed to have
  multiple students from multiple feeder fairs attached to the same award. (so
  we know which ones to delete when we update the winners)
2009-09-21 07:20:49 +00:00
dave
9e348d9b0c - For the first time probably ever, DELETE a config variable :O
- Rename the user/pass for fair type=ysc so it's more familiar (asks for YSC ID and pass)
- Convert cwsfregister to use the fair entry data.
2009-09-19 06:53:49 +00:00
dave
ed04710018 - Rename YSF to YSC
- Add the help websites we lost somewhere for STO and YSC
- Copy the $config ysf login data into the fairs data
2009-09-19 06:12:48 +00:00
james
98755a5e4a Make sponsorships table able to handle either an organization sponsor (linked to sponsors) or an individual sponsor (linked to users) 2009-09-18 15:12:10 +00:00
dave
35ac906671 - Change the report name to be consistent with other naming 2009-09-18 05:37:21 +00:00
dave
7a2e0b2b7e - Add a feeder fair statisics report type and report 2009-09-18 05:35:13 +00:00
dave
6bd4d03941 - Selection screen to select what stats to download from feeder fairs 2009-09-17 07:00:09 +00:00
dave
e9d3d4ce03 - Database update for feeder fair award info
- Load/Save feeder fair awards in the award editor
- Fix all the POSTs in the award editor.   .load automatically does a POST if
  the data is an array, so we need to call .serializeArray() when we want a
  post to happen.
2009-09-13 07:08:12 +00:00
james
183531ada0 Fix 131 2009-09-09 02:38:57 +00:00
james
f963dbf276 Merge all changes from branch r1284:1498 into trunk 2009-09-09 00:26:12 +00:00
james
f569ed3e13 Fix Quebec province translation so its country code is properly set. 2008-10-06 18:50:18 +00:00
james
91bc77d640 Add the start of the isef form collection page for participant registration and the database setup in db.999 until its ready to go live 2008-09-28 18:36:56 +00:00
dave
54aa1b7658 - One more quick fix, make it "special award only", instead of "awards",
because a judge that wishes to judge a specific special award is only allowed
  to choose one.
2008-09-15 15:46:22 +00:00
dave
15f9d0cb89 - Remove my testing database name from the CREATEs 2008-09-15 03:59:53 +00:00
dave
f8f9964fba - Non-invasive commit, ground work for moving judges to the user backend. 2008-09-15 03:51:52 +00:00
james
9995867f1d Add countries table and populate
Add countries_code field to provinces table and fix canadian provinces
Populate US States into provinces table
Add config option to Localization tab to enter a 2 letter country code (how to lookuup from countries table?!)
Update emit_province_selector to use country config entry
2008-08-28 21:41:31 +00:00
james
d5ff3be6b9 Use page text description instead of the database page text name on the page text editor list. (BUG 198) 2008-08-26 21:06:05 +00:00
james
15cb1f9782 If there's no entry for the current fairyear, insert the default entry
Delete all instances of index from the pagetexts, not just the current year
2008-08-22 17:11:20 +00:00
james
7e84ab0222 Add cms table, and move the 'index' pagetext to cms
Add .htaccess rules for the cms
Add cms page display code and convert index.php to pull from the cms
If no page title is passed to send_header(), output the fair name in the <title> tag
2008-08-19 21:13:29 +00:00
james
3d33d976c3 Create a Localization Category for config variables, and move the Province/State, Postal/Zip there
Add new config variables for dateformat and timeformat
2008-08-18 21:33:30 +00:00
james
fca09d86c0 Update the database to store the page texts in multiple languages 2008-08-18 21:09:12 +00:00
james
517455ee13 Migrate css to a theme and setup to allow multiple themes
Begin adding icons to the default theme and reorganizing the admin index
2008-07-24 16:20:16 +00:00
james
40bc5f93ef Oops and add the db update for the new config options 2008-07-16 17:24:19 +00:00
james
651d6235a4 Add config options for Province/State and Postal Code/Zip Code 2008-07-16 17:23:53 +00:00
james
0dc2862fa0 VERY important update to reports_items that dave must have missed.. took me THREE HOURS to track down why alignment wasnt being saved from the report editor! 2008-03-27 06:22:11 +00:00
dave
6454f86aa9 - Add judge_scheduler_activity and judge_scheduler_percent to the config, if
they don't already exist.
2008-02-28 20:03:48 +00:00
dave
15a56ce13f - Add First Aid and CPR data collection to the user table.
- Modify the config so a committee can enable it for volutneers and committee
  members
2008-02-23 03:28:43 +00:00
dave
414a85ccb2 - Add number checking (and parsing) to the config editor
- Change the type of $config['regfee'] to 'number'
2008-01-28 21:48:44 +00:00
dave
fddce24de3 - Fix the paper type in system report 44
- Add 2 new paper types (Ledger 11x17 + landscape)
2008-01-25 05:31:27 +00:00
dave
125437dd55 - More GVRSF stuff that I missed. Add two fields to the award_awards:
'self_nominate', and 'schedule_judges'.
- self_nominate defaults to 'yes' for all new and existing awards.  If turned
  off, the award will not appear in the student self-nomination pages.
- schedule_judges specifies whether an award should have judges or not, we have
  some special awards that students can nominate for but do not require judges
  to find the winner.  Similarly we have some awards students cannot nominate
  for but do require judges to determine a winner.  This allows both cases to
  be handled.
2008-01-24 07:46:12 +00:00
dave
98d6c7b493 - Report to export school CSV data in the format used by the CSV importer 2008-01-23 19:27:46 +00:00
dave
58df28ba9a - Fix drawing label boxes around text items
- Add the ability to draw a static label box (without text)
- Add "self nominated award" 1 through 5 to the student reports
- Add a new report demonstrating how to use the above (this is of the format
  Sudbury sent us).
2008-01-23 18:32:31 +00:00
dave
735e5e0999 - Add a registration fee item editor
- Allow students to choose items from the optional registration items
2008-01-23 07:53:10 +00:00
dave
4357280ffb - Typo in the ordering 2008-01-23 06:02:10 +00:00
dave
78fa4ad6ac - Add support for short project titles in addition to the regular project
titles (defaults to off)
- Renumber the order of the config variables in Participant Registration, it's
  getting a bit crowded 
- Fill in some missing types for config variables
2008-01-23 05:54:03 +00:00
james
8411d614d5 Add the schoolaccess page to the page text editor 2008-01-22 19:22:51 +00:00
dave
e24bbb0bbc - Add a filter to the last commit, to not show the none tshirts.
- Add a 'total' option to the report generator, to signal that this column
  should be added up.
- If total is != zero, it shows the total at the bottom of each table, else, it
  shows the number of rows (changed the text to Total: for a total, and Rows:
  to show rows, if the total is 0)
2007-12-30 22:16:34 +00:00
dave
fcd6eedc1d - Add a new data field for counting the number of tshirts of each size
- Add a system report that lists the number of tshirts of each size
2007-12-30 21:45:04 +00:00
dave
d89c756427 - Add a grade column that uses the format "Grade x", instead of just the
number.  Fix the YSF stats report to use this column and show "Grade x" in
  the titles, not just "x", which was a bit confusing.
2007-12-30 21:20:36 +00:00
dave
827887a0fd - Change the volunteer position description/meet_place colums to text from
tinytext.
- Change the icon_path to somethign SFIAB will like better in the tableeditor
  (was wondering why I had no icons in the tableeditor)
- Add a crude maxlength support for text areas
2007-12-29 19:43:56 +00:00
dave
5aeaa6be0a - Also add the database update :) 2007-12-29 08:47:53 +00:00
dave
e8face39d6 - Update the project numbering system by also adding a sort field (defaults to
the project number field if blank).
- Add a new number option 'X', which counts among ALL projects, not just the
  ones in the same division/cat.
- Add a padding argument to N or X  (N0...N9) defaults to 2 for N, and 3 for X.
- Adds 3 columns to the project table:
	- projectsort: for storing the expanded text
	- projectnumber_seq: for storing the N or X number for projects
	- projectsort_seq: for storing the N or X number for the sort order
- Add a new config option for sorting, and expand the text for the
  projectnumber.
- Change the default sorting for reports and project lists to use the
  projectsort category.
- Remove the gvrsf_tn option from the database, it's not needed now.
2007-12-29 08:46:40 +00:00
dave
f3f2747118 - Replace reports_acpresentation with a report from the report generator.
- Implementing a function call option to parse column data in the report
  generator as it comes out of the database.
2007-12-25 05:13:42 +00:00
dave
8972b5219f - Fix the db update 2007-12-23 01:52:18 +00:00
dave
e74c4ce64d - Another GVRSF change. Optionally include registration fee information on the
signature page.
2007-12-23 01:33:09 +00:00
dave
ebbac49b4b - Add the database stuff for the name check.. oops. 2007-12-22 23:44:46 +00:00
dave
3c9253dd9d - Add a config option to disable printing the cash/scholarship amount on the
public winners page.  (defaults to ON, which is the current behaviour)
- Fix pluralization of "Students" for one student. :)
- Change the effort option for judges and tours to a pulldown menu Low=100,
  Med=1000, High=10000
2007-12-22 05:11:42 +00:00
dave
7f7c3c53e1 - Change the password expiry mechanism to always check
{$type}_password_expiry_days.  This allows the $config variable to be updated
  and everyones password will expire based on the new value.  To implement
  this, the password expiry column in the users table has been changed to
  passwordset, and a PHP script is used to convert the expiry dates to set
  dates (based on the _password_expiry_days)
- Cleanup the password entry checking
- Load all config variables for the db_update.php script.  Just in case an
  update script wants access to $config
2007-12-21 08:38:13 +00:00
dave
49a19c9d44 - Fix report stock when the report stock keys were updated
- Add a missing stock number
- Fix a report where distinct was missing
2007-12-20 09:25:43 +00:00
dave
998fe35d67 - Add a tour number to the database, and modify the tour editor to include the
number, and an option to create numbers automatically
- Completely remove all references (hopefully) to the Tour ID
- Add a Tour type report
- Rework the student report query so it actually makes sense.  It really should
  be a whole bunch of left joins based on the students.  Using comma (cross)
  joins creates situations where if the right side of the join doesn't have
  information, it wipes out the left side.  (Happened before with emergency
  contact info).
- Remove the (two) old custom tour reports
- Add 4 new tour reports to the database:
	- ALL tours for the committee, tour list for students, 
	student emergency contact info for tour coordinators, and 
	a list of tour assignments for students
2007-12-20 01:05:04 +00:00
dave
5c594a9d85 - Sneak in a change to the report tables, we're going to create tour reports
next
2007-12-19 21:16:58 +00:00
dave
b0338f9fdf - Add 3 config variables: An effort for the tour annealer, and the updater
activity and percent.
- Add the status update and links to automatically start the "tour assigner".
  (Didn't want to call it a scheduler, because someone might thing it's for
  assigning tours to timeslots or something)
2007-12-19 21:12:57 +00:00
justin
18aafbea9c Add support for a minimum number of words in the project description. Resolves RFE 162. 2007-12-17 18:19:08 +00:00
justin
30072d182d Add support to omit unawarded awards and prizes from the awards ceremony script. Resolves RFE 136.
-Note: currently adds two configuration variables and a new category, they didn't seem to fit elsewhere.
2007-12-17 17:35:19 +00:00
dave
1dad6505eb - Select the first contact for each sponsor as the primary
- Prevent the user from setting zero, or more than one, primary contact.
- Add a primary column to the contacts table, so they can see the automatic
  set/unset operations on the primary contact.
2007-12-13 21:50:31 +00:00
dave
dcfcd358fc - Add a primary contact field to the award contacts
- Use the primary contact in award reports
2007-12-13 21:23:29 +00:00
dave
4c9d23e513 - Add sponsor information to the report generator awards report.
- Add a system report that dumps all sponsor info to a csv.
2007-12-13 19:56:44 +00:00
james
6c864d1b93 Bump version for development 2.1.7
Create page text entry for 'invite only' volunteer registration
Create a contact page to contact committee members, and link it into the committees page, and the bottom of the left side menu
2007-12-13 19:52:27 +00:00
dave
57f349b1b1 - Add a year field to the users db, we'll need it eventually
- Add a designate field to the schools, to indicate an independent, standard,
  private, etc. school.  It's not editable yet, but.. eventually.
- Fix generatePassword to use proper string indexing, and remove the
  possibility of indexing beyond the end of the string.
- Add "Invite" and "SinglePassword" modes for volunteer registration.
- Update the admin section, add a new volunteers page to contain links to all
  volunteer options
2007-12-13 18:09:22 +00:00
james
ab76d8b329 switch the stock entries in the database if anything's usign the old values 2007-12-13 17:10:11 +00:00
james
4c801ff1ba Fix dave's broken database code 2007-12-12 18:29:51 +00:00
dave
659dba8321 - Add db stuff for 'fairs' 2007-12-12 04:48:22 +00:00
dave
1dc1b47d05 - Fix multirole creation. If a user tries to create an account, and they
already exist, they will be guided through the process of adding a role to
  their existing account.
- Do a database update, and merge anyone who has managed to create 2 accounts
  into a single account.
- Still testing this, but it seems to be working
2007-12-12 03:01:44 +00:00
dave
92a57b0577 - Query the proper report id using the system_report_id, instead of inserting
the report_id directly.
2007-12-10 17:40:34 +00:00
dave
d8e112cc4c - Sneak in a change to number and add a 2nd category, just to demonstrate how
it works.
2007-12-10 09:36:41 +00:00
dave
1e6ffcfa7f - Also add a default set of reports (most of the same reports that were on
reports.php) to existing committee members.  New members will get to build
  their list up from scratch, but we dont' want to confuse old members that are
  use to seeing this list.
2007-12-10 09:13:48 +00:00
dave
3e3c28268c - Implement "My Reports". Committee members (with admin access, because
reports require admin access) can define a list of reports out of all the
  reports, and tag each one with a category and comments.  
- Add all except the ceremony scripts as "Custom" reports.  The My Reports
  system can handle links to custom reports now, but not the ceremony scripts.
  They're too special.  I think they should be moved out of the Reports Area.
- Clean up some report variables to avoid collisions with local names
  ($options, and $stock)
- Implment a new screen for report generation that lets the user set the
  format, stock, and year of the report.
2007-12-10 02:50:53 +00:00
james
78a97236f7 Add the email address to the new participant email 2007-12-09 21:06:55 +00:00
dave
4029fcf563 - Add a schools access code report to the database 2007-12-07 23:58:51 +00:00
dave
5bf1171f17 - Add a new school report to list ALL schools (name, address, contact, and phone).
- Clarify the Schools labels report.. it is only for schools attached to registered students.
2007-12-03 22:04:06 +00:00
james
fab18eb0c7 Add enabled and website (for help) to external sources
Update source editor
Make downloader only check enabled source
Make downloader check for username/password before attempting
Add extra instructions
2007-11-29 18:38:06 +00:00
james
325c909432 Dont check CURL support inside the loop and dont allow checking to be called without CURL support
Remove awards that were previously added but now dissappeared from the XML import
2007-11-28 18:46:32 +00:00
james
0f198346aa Update fake scripts for 2008
Add external award downloader functionality
2007-11-27 22:47:06 +00:00
dave
55983aca38 - Change the user editor, read the fields and required fields from a config
variable, this will allow the committee to specify exactly what they
  wish to collect (and which fields are requried)
- Insert config variables for volunteers and committee
2007-11-26 02:28:45 +00:00
dave
57f62f7ab4 - Add a multiselect option to the config editor 2007-11-25 23:30:51 +00:00
dave
f6cc5d7326 - Cleanup how variables are handled/rolled/etc. Convert the require_vars
function in the config editor to one that checks where ALL variables marked
  with year=-1 exist for FAIRYEAR.  If it doesn't, it creates them.  This
  function gets called in three places:
 	- On installation
	- On rollover
	- Whenever the database is updated
 We should, now, be able to just insert new variables with year=-1, and they
 will be automatically updated for the current year with the default value.
 (no more going into the variable editor to make sure the copy is done).

- Fix the superuser account creation in the install script
2007-11-25 19:53:15 +00:00
james
33471e80ee Add award source configuration
Add stub for award downloader
2007-11-23 22:07:55 +00:00
james
7619a8fed5 Update DB version 2007-11-23 21:21:55 +00:00
james
0551a65e93 Add trophy selection (student keeper, student return, school keeper, school return) to prizes
Add description to award & update awards ceremony script to include description if available
2007-11-23 21:21:37 +00:00
dave
311d9475dc - Add a system_report_id field to the reports, and set it to the reports.id
for ids <= 34 (all the reports the system inserts by default)
2007-11-21 21:21:10 +00:00
dave
ad9f954f68 - Correctly copy over NULL password expiry dates (passwords never expire) 2007-11-18 08:20:51 +00:00
dave
190adc2a6d - Update the way php scripts are called.. we need to avoid collisions if the
updater runs in a loop.
- Fix the 62 update script to use the new format
2007-11-18 08:01:05 +00:00
dave
2715d67aef - Fix login check for an expired password
- 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
2007-11-17 21:59:59 +00:00
dave
3904e2d9d8 - Allow the update script to include a PHP script too. The PHP script, called
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.
2007-11-16 21:42:45 +00:00
james
40fe6cb88c Do some checks for system() and error out where applicable 2007-11-16 17:58:59 +00:00
james
1c42ab77ae Add missing semicolon which prevented the last two queries from happening 2007-11-16 16:46:57 +00:00
dave
9f0b1d494b - sneak in an update I forgot to add.. hopefully noone applied this patch
within th elast 3 minutes.
2007-11-16 05:24:17 +00:00
dave
82697d2dd8 - Add 2 tables for volunteers. One to hold the positions available, and one to
store the signups for those positions.
- Add the 'volunteer' report type in the database.
2007-11-16 05:13:27 +00:00
james
8ad304441f Add 'emailcontact' field to registrations table, that SCHOOLINVITE teachers can put their own email address into to receive emails that would normally go to the students. If the students email is valid the student will still get the emails as well. 2007-11-15 21:17:20 +00:00
james
90b40724b5 Oops dont change an update file thats already been applied, make a new one! 2007-11-15 20:47:20 +00:00
james
2927eee193 Ahh found the encoding problem, need to set the charset on the command line mysql --defualt-character-set when running INSTALL or DBUPDATE scripts. 2007-11-15 20:45:19 +00:00
james
418322f8fb Aparently the language name needs to insert as UTF8 to work on a Latin1.. <boggle> 2007-11-15 19:19:43 +00:00
james
66924aeba0 Clarify what project_num_format config variable is 2007-11-13 20:15:36 +00:00
dave
df7cb53ee5 - Database update. Add the users, users_volunteer, and users_committee table
(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
2007-11-12 22:45:41 +00:00
james
41053418d8 move the wording on the judges "invitaion only" screen into the page text editor so the fairs can make it say whatever they want it to say. 2007-10-31 20:31:00 +00:00
james
1cc99b4ef9 Add document manager, and update tableeditor to allow setting of a downloadlink for documents 2007-10-31 20:00:23 +00:00
james
aac4c484d0 LOL, dont use my address as the FROM! 2007-10-29 20:25:25 +00:00
james
491b4dac71 Update to DB 53 2007-10-29 20:22:36 +00:00
james
ab5180ef9e Add two new emails: registration complete, registration payment pending
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
2007-10-29 20:21:40 +00:00
james
40067ed0c4 Add FULL db.52 file, dumped directly from phpMyAdmin 2007-10-09 19:26:13 +00:00
james
2e1ed4a689 Fix the config variables rollover/install for the type and type_values fields 2007-10-01 18:51:56 +00:00
james
a87647ee6c - Update database for schools report query. 2007-09-13 19:18:18 +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
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
d21fbee5a4 - Turn off table label boxes by default 2007-03-26 16:55:45 +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
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
2b4c5f12e3 - How did that ';' get in there ? 2007-03-18 23:54:35 +00:00
dave
7487828552 - 4 new reports 2007-03-18 23:18:07 +00:00
dave
b3978c7dae - Add a new student report generator
- 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
2007-03-18 07:10:54 +00:00
dave
f0bb80a866 - Fix the name of the generate project number function
- 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.
2007-03-05 04:27:44 +00:00
james
2d6257715e Fix text on one configuration variable
Fix judge manager to keep the 'show_what' persistent when performing other actions on the table (editing, sorting, etc).
2007-02-21 20:42:48 +00:00
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
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
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
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
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
14e8ee5ec9 - Fix an issue with the default import of judging questions 2007-01-16 19:32:40 +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
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
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
c72193e671 Update database for the language pack installer system to work properly 2006-10-25 16:35:16 +00:00
james
2e36dbe28b Commit the db.29 update 2006-10-20 05:06:06 +00:00
james
2019e24b89 Add the 'one click' CWSF registration code!
It current generates the XML but does not implement the sending to YSF (thats still to come!)
2006-10-19 21:39:30 +00:00
james
4a5bc27532 Add salutation field to award contacts 2006-10-16 03:36:39 +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
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
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
0ebd709a13 Add the option to collect teacher signatures on the signature page 2006-09-18 19:33:48 +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
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
justin
a169e422e6 Add support to choose what status a project must have to be used by the judge scheduler. Allows for any of open, payment pending or complete projects to be allowed. 2006-08-12 18:05:38 +00:00
james
14e93e0c12 Split the Configuration Variables page into separate 'Category' pages 2006-08-11 18:53:10 +00:00
dave
e7d726355d The new judge scheduler.
- 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.
2006-08-01 19:43:15 +00:00
dave
6fc83836af Implemented a judges division editor, to be used before the automatic judge scheduler to
set groups of divisions that judges can judge within.
2006-07-31 18:17:37 +00:00
james
1519b427d2 Properly rollover the schools, allow 'lastlogin' to be NULL 2006-07-26 14:51:30 +00:00
james
2778faf4c9 Fix the broken sql script, looks like the 'questions' inserts were pasted in the middle of another query! 2006-07-24 16:07:54 +00:00
james
c934d3a9f7 switch year unsigned int (10) to year int (11) so year's of -1 (defaults) will work. 2006-07-12 14:45:53 +00:00
james
66efd08ee3 remove DEFAULT CHARSET (doesnt work on mysql 4.x) and switch ENGINE to TYPE for consistency 2006-07-12 14:41:42 +00:00
james
f117fb3dae Remove auto incremement values from FULL script too 2006-07-12 14:36:29 +00:00
james
ba38372fb5 Remove auto incremement values from table creation 2006-07-12 14:35:41 +00:00
dave
8665e4a487 Missing files 2006-07-12 14:28:52 +00:00
dave
228a1a0583 Implementation of configurable judges questions. 2006-07-11 20:22:42 +00:00
james
2ad2b58233 Bug #0000056 - Change variable wording of filterdivisionbycategory 2006-03-09 13:15:34 +00:00
james
5aca0a8ac9 Add full 16 and 17 and update for 17 2006-03-08 21:21:20 +00:00
james
e5d03b07a9 switch the new database stuff to DB16 instead of 15, and bump the required db number 2006-02-24 17:52:04 +00:00
james
5518a2272f Add the signature page editor
And insert the defaults to the database
2006-02-24 17:42:11 +00:00
james
45b4f7b220 Fix a bug where the school id was not being set when participant registration type was set to invite or singlepassword 2006-02-23 20:40:48 +00:00
james
46c92e0f01 Wrap the db update script in <pre> tags so the output looks better for anyone that runs it through the webserver 2006-02-07 20:59:58 +00:00
james
b72c778ea1 Add the db 15 update 2006-02-07 20:51:42 +00:00
james
b807381418 bump db version to 15 2006-02-05 21:52:40 +00:00
james
1771c83da4 Add a configuration option to specify whether to collect 'personal' information about the students, such as address, phone number, date of birth, etc. 2006-02-05 21:39:32 +00:00
james
99af4b4f4a Bump development branch to 1.0.1 and db 14 2006-02-02 03:23:48 +00:00
james
588d994d41 Add full db.13 file, and bump version number to 1.0.0 2006-02-02 02:59:12 +00:00
james
a20dfdbd7a Merge Jamie's changes from Peterborough, allowing different divisions to be available to the different age categories. -- default is 'no' 2006-02-01 16:29:08 +00:00
james
a9ffdf7ee4 Oops fix the misspelled "Divison"s 2006-02-01 15:31:09 +00:00
james
2784262d6d Database update for the 'exclude from awards ceremony' new feature 2006-02-01 05:09:59 +00:00
james
c5e55fad37 Remove the unneeded configuration params for timeslots from the scheduler
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.
2006-01-31 22:34:04 +00:00
james
cf22c24c78 Add school district and school board fields to the schools database 2006-01-27 18:36:53 +00:00
james
7b5d56ce60 Update the judges timeslot editor to have a new field for 'allow divisional'. This specifies whether the automatic judges scheduler can use this timeslot to scheduler the divisional awards judging.
Add a new feature to the timeslot editor to add multiple timeslots at once, by specifying the start time, duration, and break time.
2006-01-26 21:42:04 +00:00
james
36bee33066 Add a configuration option to specify the maximum number of words in the project summary (Default=100)
Add some fancy-smansy javascript/dhtml word-counter code to the project summary.
Make project status be incomplete if word count is too high
2006-01-24 15:44:08 +00:00
james
1585fdb3e6 bump version number to 0.9.9 and db version 13 2006-01-20 20:19:47 +00:00
james
1aec62aa4b Oops, 0.9.8 only requires version 12 2006-01-20 20:04:49 +00:00
james
1a04556319 add full version 12 database
bump version number
2006-01-20 19:58:06 +00:00
james
2135a5aa5b bump database version number 2006-01-19 19:24:36 +00:00
james
4d54bdbb1c Update translation manager to work with unlimited number of languages as defined in the languages table
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
2006-01-19 17:15:07 +00:00
james
69b4b943ac Make the T-Shirt size question to students able to be disabled via a configuration variable for fairs that dont give out tshirts 2006-01-18 05:33:13 +00:00
james
321a245670 Split school access and school participant invitations into separate files
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
2006-01-18 05:22:58 +00:00
james
0043071501 Bump version to 0.9.7 so development can continue, also bump DB version to 12 2006-01-16 06:03:50 +00:00
james
60074d3caa Bump version number to 0.9.6
Add the full database file for DBVERSION 11
2006-01-16 05:21:52 +00:00
james
5748382c97 Whoops, fix the bugs in the db update file, it should import properly now. 2006-01-03 02:17:30 +00:00
james
56a16916e2 New database code for new stuff 2006-01-03 02:00:11 +00:00
james
d8321449f9 Bug and Typo fixes are per John Meskes 2005-12-15 22:28:04 +00:00
james
5b35723e8a Bump version to 0.9.5 and db to 10 for the FINAL TIME :) 2005-12-15 16:24:57 +00:00
james
f12bdfec09 THIS IS THE FINAL REVISION FOR 0.9.4 2005-12-15 16:10:09 +00:00