Commit Graph

  • 8b5fc1c905 Shrink the summarytable headers a bit in size Add the content management front-end file Add the content management back-end file - its not quite done yet james 2008-08-20 20:25:42 +0000
  • 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 james 2008-08-19 21:13:29 +0000
  • 597a21da3a Switch important_dates to use dateformat and timeformat config vars james 2008-08-18 21:41:24 +0000
  • 3d33d976c3 Create a Localization Category for config variables, and move the Province/State, Postal/Zip there Add new config variables for dateformat and timeformat james 2008-08-18 21:33:30 +0000
  • fca09d86c0 Update the database to store the page texts in multiple languages james 2008-08-18 21:09:12 +0000
  • 3992b68029 Update page text's to do multiple languages, instead of storign the text's in the separate language editor Also - force it to use the newly auto-installed fckeditor, and reduce the height a bit becuase there's now more than one per page. james 2008-08-18 21:08:23 +0000
  • 4cf6c46a6f Remove the fck samples james 2008-08-18 18:07:23 +0000
  • 191154357c Enable the php filebrowser, and pull the path from the database SFIABDIRECTORY so all SFIAB's can run the same codebase without needing to individually configure fckeditor for each one james 2008-08-18 18:06:34 +0000
  • 4f5727a1de Add FCKEditor, uncompressed, no changes james 2008-08-18 16:20:55 +0000
  • 251138248d Show disabled icons james 2008-07-24 17:27:59 +0000
  • 267d228aaf Add more icons james 2008-07-24 17:15:42 +0000
  • bfc32c305b Oops fix typos james 2008-07-24 16:35:37 +0000
  • cd24825e71 Add some more icons james 2008-07-24 16:32:43 +0000
  • 517455ee13 Migrate css to a theme and setup to allow multiple themes Begin adding icons to the default theme and reorganizing the admin index james 2008-07-24 16:20:16 +0000
  • 1f6da29aac fix grammar james 2008-07-17 18:39:01 +0000
  • a42812ce27 switch communication from using an echo to the at command now +1 minute to exec immediately piping the output to /dev/null and redirecrting stderr as well james 2008-07-17 18:33:11 +0000
  • 205d94bb12 Change version to 2.1.9 for development james 2008-07-17 15:27:19 +0000
  • 40bc5f93ef Oops and add the db update for the new config options james 2008-07-16 17:24:19 +0000
  • 651d6235a4 Add config options for Province/State and Postal Code/Zip Code james 2008-07-16 17:23:53 +0000
  • 986ce4ef44 - user.inc.php needs to generate a password without including common.inc.php (install3 doesn't like including that file). That's ok, because eventually all passwd handling will be done through user.inc.php (and the generate could even be inlined into set_password). But for now, just copy the existing generatePassword, and call it something different so the function names don't clash. dave 2008-07-09 18:24:49 +0000
  • a9318b6303 - Move all the password handling code into one function (not duplicated/spread over 3 files) - Fix a bug to always save the old password (unless it was a reset password) - Fix a bug to save the old password even when the user sets a new one dave 2008-07-09 17:02:11 +0000
  • 5ed0135442 Better fix for the password expiration problem james 2008-07-09 14:51:48 +0000
  • 0f2812cc90 Set the email address properly on install james 2008-07-08 19:52:14 +0000
  • e1055150c9 Dont make newly created users passwords expire as soon as they login Allow firstname and lastname to be POSTed through on the install3 script so the name can be set instead of using 'Superuser Account' james 2008-07-08 19:29:02 +0000
  • 66ec01cd60 htmlspecialchars the text for the text box so things like <a href>'s work. james 2008-07-02 15:52:51 +0000
  • a8fadb3046 Fix the scheduler status in IE7 - the http readystate needs to be manually reset. james 2008-04-14 00:16:52 +0000
  • 73972d676f Show judges language on the judge team members list - for quick verification of proper language team assignments. Fix 1x4 and 1x1.33 Avery stock to print properly. james 2008-04-03 20:34:42 +0000
  • 76966f0f62 Allow the admin to change the project sort as well as the project number. we dont care abotu checking for duplicates here with the project sort... its just a sort field.... james 2008-04-02 17:27:10 +0000
  • d2868f3f45 - Updates to the tour annealer: - Add more verbose output for the terminal - Split the student load / tour preference load to capture student who didn't select any tours - Allow students with no tour selection to be placed anywhere with no penalty - Add a missing break; in cost computation (doesn't change the result) dave 2008-04-02 06:25:50 +0000
  • 6d3f518648 - Fix the multiple cookie bugs if SFIABDIRECTORY=='' and the user visits '/admin' or some other subdir first. Setting the cookie directory to '' seems to mean that PHP sets it to the current directory. We want it to be set to '/'. dave 2008-03-30 18:42:15 +0000
  • bbbd32a026 Dont include deleted judges in the number of available judges check james 2008-03-30 16:06:08 +0000
  • 8b250c8997 Fix a bug where the scheduler was allowing deleted judges to be used james 2008-03-29 20:59:14 +0000
  • 5458a5809e Fix a bug where judging teams containing apostrophe's wasnt being created, but it was using an old ID from a previous insert, so judges were being linked to teams that didnt exist... then the records became orphaned and couldnt be deleted. james 2008-03-29 20:48:39 +0000
  • 572242bc14 Only consider judges teams from the current fair year when calculating what judging team number to start numbering at james 2008-03-29 19:02:43 +0000
  • bc3727b5c1 Leave the main page only checking whichever student is logged in (FOR NOW) But if they go into the page they will see the check for BOTH STUDENTS james 2008-03-27 22:41:55 +0000
  • cebe0d2ea7 Properly do the namecheck for multiple student james 2008-03-27 22:34:15 +0000
  • 300e76c3c0 Show both names on the same page james 2008-03-27 22:26:06 +0000
  • 63034a1d33 Check the name check status on deciding if a form is complete or not. james 2008-03-27 22:12:27 +0000
  • d190d4f0b7 Display errors if at least one age category and one division arent selected james 2008-03-27 08:06:14 +0000
  • 6a1f51d3dd Re-work how it checks if someone is "unassigned" - the old way was causing problems with multi-year data, if a judge was assigned in a previous year it was getting picked up as assigned even though it wasnt assigned for the current year. james 2008-03-27 07:46:52 +0000
  • 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! james 2008-03-27 06:22:11 +0000
  • 63a48c8fbf Rework school access page. 1) add a crapload of missing i18n's 2) disable feedback form until an email address is entered 3) update the headers of the email sent so 'reply' works james 2008-03-27 04:33:00 +0000
  • e41072e076 Make the table the full page width, 75% of my judging team names were getting cut off.. perhaps the team names should use shortforms for the divisions instead of the full spellings... "Senior Earth & Environmental Sciences/Health Sciences/Biotechnology (en fr) 2" seems... excesssive james 2008-03-25 17:20:31 +0000
  • 52e7a6500a - Add a convenience stringwidth funciton dave 2008-03-24 18:45:51 +0000
  • c0026c75e5 If there are no jdiv's left, hide the multi-select box and all the "Add >>" buttons so the page looks much nicer (and better to print!) james 2008-03-20 20:59:56 +0000
  • 560d799b4b Allow filtering the awards management interface by award sponsor status: any, confirmed only, unconfirmed only james 2008-03-20 20:37:33 +0000
  • ec66217a2b Split label_box into two separate options: label_box and field_box. label_box draws a border around the entire label, field_box draws a boarder around each field of text on the label james 2008-03-20 20:07:13 +0000
  • 45a1bdd1e4 Only set the school if the school is posted through, this way we dont whipe out a students school. -This line, and those below, will be ignored-- james 2008-03-20 16:28:50 +0000
  • bb4997548c - Add medic alert and food req. info - Change the name of cshool teacher/email because these are really the values the student enters. dave 2008-03-20 02:57:18 +0000
  • 06cb13d7e4 Oops, the _seq's cant be null, they need to be set to 0 james 2008-03-20 01:57:24 +0000
  • 3fc27ceb04 Set everything to do with the project number, project sort, and sequence numbers to null, not just the project number, when unregistering a project. james 2008-03-20 01:52:47 +0000
  • e320230a3e Add a way to unregister projects. Simply re-enter their registration number, and click the link. james 2008-03-20 01:19:35 +0000
  • 431c8d9036 Properly fix the summary required field for wordmin=0 (summary simply becomes a non-required field) Fixes the problem reported by waterloo, where the preg to count words was not counting words the same as the real word counter (602 vs 598 in the one i was looking at) james 2008-03-16 19:32:30 +0000
  • 6e8883b4a2 - Add pronunciation dave 2008-03-16 19:09:47 +0000
  • 7651426f03 - Add a field for trophies - Fix a bug with the ordering of the sql statement. Something I noticed fixing this bug: Tour info and award info will generate an error if used together. dave 2008-03-12 01:18:29 +0000
  • 4587fd3c86 - When checking the project status, count the words and test that against the min/max number of words. (fix 335). dave 2008-03-12 00:28:44 +0000
  • a7da608982 Switch heading() to use addText() so it implements line-wrapping for super-long headings james 2008-03-04 21:57:49 +0000
  • a7dad33da3 Cleanify the subject, and strip slashes from the message body james 2008-03-03 20:12:59 +0000
  • 2d052c056f - Add an option to the award ceremony script to show the pronunciation key (if the students entered it) - Add an option to the award ceremony script to filter the awards by age category (the GVRSF needs one script for juniors, and another for intermediate/senior :) dave 2008-02-29 07:10:08 +0000
  • 3a1b4cca15 - Ignore jdiv 0 in the annealer and in the check. jdiv 0 is what all unassigned divs/cats get, and if they're unassigned we don't want to schedule them. - Fix a typo in the language selection james 2008-02-28 20:23:27 +0000
  • 6454f86aa9 - Add judge_scheduler_activity and judge_scheduler_percent to the config, if they don't already exist. dave 2008-02-28 20:03:48 +0000
  • a8ed1d28e9 - Remove some old "Back to" links, the navbar does it now. dave 2008-02-28 19:34:39 +0000
  • 07a7994d81 - When resetting the status of the scheduler, it is helpful to actually reset the status of the scheduler. dave 2008-02-28 19:30:19 +0000
  • bb3d4c0480 Need -r3 now to keep track of changes since r2 was packaged james 2008-02-27 16:03:43 +0000
  • 17745cbb0a Always show the city in the school access login page, and sort it first by city then school name (previously it only showed the city for duplicate school names) james 2008-02-27 15:59:03 +0000
  • f70314653b - Only lookup _GET['showstatus'] once, for a minute speed increase and easier handling. dave 2008-02-26 08:32:00 +0000
  • b1ed8e4b4a - Optimize away some code where I was trying something different. :) dave 2008-02-26 08:28:20 +0000
  • 10bf90f0db - Fix the total count on the cat/div summary. Several fairs have emailed me to say the count is wrong. It's not wrong, it's just not printing the number they expect. This fixes that. dave 2008-02-26 08:19:38 +0000
  • 343d777aab - Restrict data in a committee report to actual committee members dave 2008-02-23 03:42:51 +0000
  • 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 dave 2008-02-23 03:28:43 +0000
  • e26453f06e - Fix spelling of spelled. This is why I shouldn't be allowed to code at 3am. dave 2008-02-23 02:50:29 +0000
  • 145a5251c3 Only foreach the special awards if there are special awards to foreach over james 2008-02-22 19:35:23 +0000
  • 1d3ee3f83e - Judge autocomplete function, there's no menu link to it. This should work for timmins and fraser valley dave 2008-02-22 06:19:22 +0000
  • 3b55ddd4a7 Use single quotes for consistency james 2008-02-15 23:11:16 +0000
  • a118acc21c Add the missing 'Gender' field to the user personal profile page, as well as save it :) james 2008-02-15 23:08:33 +0000
  • e0a0e3dbcf - Fix a typo in two places... I wonder how long these have been like this. :S dave 2008-02-15 05:27:06 +0000
  • 52fb9faed8 special awards communications should contact this year's contacts only.wq james 2008-02-13 22:42:02 +0000
  • 6a766ac59d - fix copy/paste error in the tour annealer dave 2008-02-12 01:11:21 +0000
  • c639892f3b - Properly disable divisional checks for special award only judges dave 2008-02-05 01:07:37 +0000
  • fc4de718f0 - Use a &raquo; character instead of >> for menu position. dave 2008-02-04 23:40:26 +0000
  • 482f2e6d3a - Sort the tour num+name column by number dave 2008-01-30 07:56:47 +0000
  • 8ffc278286 - Put the "..." in the proper cell dave 2008-01-30 07:54:13 +0000
  • a7ca82ff23 Add a preview option to the signature page config. james 2008-01-28 23:01:41 +0000
  • 414a85ccb2 - Add number checking (and parsing) to the config editor - Change the type of $config['regfee'] to 'number' dave 2008-01-28 21:48:44 +0000
  • 8b38f44501 - Move the start/end table logic into functions - If a multi-line table row spills off the bottom of the page, start a new page / and then print that row. dave 2008-01-26 20:41:33 +0000
  • 8980275627 - Add mentor info to the student report generator dave 2008-01-26 19:46:16 +0000
  • 4af449a2c4 - Implemnt scalable columns in the report generator. - New report option to fit the width of the report to the page - Columns in each reports_*.inc.php can be specified with 'scalable' => true to indicate that they may be scaled if the report is too wide for the page - Obviously, do no scaling if the option is off (off by default) dave 2008-01-26 19:14:24 +0000
  • fddce24de3 - Fix the paper type in system report 44 - Add 2 new paper types (Ledger 11x17 + landscape) dave 2008-01-25 05:31:27 +0000
  • 6a2683d92d Add ability to get registration list for previous years (only via appending &year=year to the URL) there is currently no user interface to access this feature. Also add the school board in brackets after the school name james 2008-01-24 18:51:05 +0000
  • 4b9d67fffe - Fix division saving for the case when a committee decides to drop a division and the remaning ones need renumbering. (It was not properly saving the new id) dave 2008-01-24 08:59:04 +0000
  • 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. dave 2008-01-24 07:46:12 +0000
  • 446b54f693 - Properly construct the WHERE clause in the table editor dave 2008-01-23 20:20:54 +0000
  • df38d87b40 - Columns for school report dave 2008-01-23 19:30:05 +0000
  • 98d6c7b493 - Report to export school CSV data in the format used by the CSV importer dave 2008-01-23 19:27:46 +0000
  • 7370a9387c Fix rollover comment :) james 2008-01-23 19:00:26 +0000
  • b14ec011d4 - use the correct limit dave 2008-01-23 18:42:35 +0000
  • 3f3475d407 - fix the limit on the special awards self nomination query - add a rollover for regfee items dave 2008-01-23 18:40:59 +0000
  • 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). dave 2008-01-23 18:32:31 +0000
  • 735e5e0999 - Add a registration fee item editor - Allow students to choose items from the optional registration items dave 2008-01-23 07:53:10 +0000
  • 4357280ffb - Typo in the ordering dave 2008-01-23 06:02:10 +0000