Commit Graph

  • cf594b7f42 Clear the comments for a custom report james 2007-12-10 21:48:37 +00:00
  • a1208d205a Fix the JSON "invalid label" problem for firefox james 2007-12-10 21:47:05 +00:00
  • 03d5e23496 - Use the new bold font instead of the old hack. dave 2007-12-10 21:29:53 +00:00
  • a62a8bbbfb - Add a bold font option to pdf generation dave 2007-12-10 21:28:17 +00:00
  • 5d8632b07e refactor the standard ajax stuff to a common file implement an ajax report fetcher for the my reports editor page using JSON to select the right stock/type defaults james 2007-12-10 20:53:41 +00:00
  • 7bbea6351a 1) Properly handle "filterdivisionbycategory" checks for divisional awards 2) Properly handle cases where there's MORE than one award for a certain div/cat combo james 2007-12-10 19:21:21 +00:00
  • b146a9c773 OOps border isnt supposed to be there, its overrridden by the class anyways, but no point having it there taking up bandwidth james 2007-12-10 18:26:03 +00:00
  • a38cda2c05 Make the reports page much more real-estate friendly james 2007-12-10 18:23:00 +00:00
  • 92a57b0577 - Query the proper report id using the system_report_id, instead of inserting the report_id directly. dave 2007-12-10 17:40:34 +00:00
  • c1e0353ec2 - Add a separate file for award ceremony scripts. I doubt this will ever end up in the report system, so it might as well have its own home. Also, there will be lots of options added to this in the future. dave 2007-12-10 09:40:34 +00:00
  • 4eb5098d59 - Move admin/reports.php to admin/reports_old.php - Move admin/committee_reports.php to admin/reports.php - Add some text explaining how the new system works - Fix all linkage dave 2007-12-10 09:38:54 +00:00
  • d8e112cc4c - Sneak in a change to number and add a 2nd category, just to demonstrate how it works. dave 2007-12-10 09:36:41 +00:00
  • 9bd50a5e5a - Do a reload on report selection when adding a report. FIXME: I need to find a way to make this page not jump back to the top after the reload. dave 2007-12-10 09:14:48 +00:00
  • 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. dave 2007-12-10 09:13:48 +00:00
  • 85c3ad8694 - Add an "All Reports" section to the My Reports page, just like the top of the (soon to be old) reports.php dave 2007-12-10 08:05:57 +00:00
  • d554e116fd - Add some avery labels, and another custom report dave 2007-12-10 08:00:15 +00:00
  • e384a48ea6 - Instead of using big ugly "Generate" buttons, just make the report names clickable. dave 2007-12-10 03:28:42 +00:00
  • 5b282980ee - Fix the fairname in the sql queries for students and volunteers dave 2007-12-10 03:08:08 +00:00
  • c44803e365 - Do something more intelligent when the report query fails, like, print a friendly message with the failed query. dave 2007-12-10 03:05:35 +00:00
  • 4cacf1b945 - Add a link to try each report before adding it, so the committee member can see what it looks like. dave 2007-12-10 02:59:47 +00:00
  • 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. dave 2007-12-10 02:50:53 +00:00
  • d024d30793 Revert the isEmailAddress change so emails will actually send out again james 2007-12-09 22:18:29 +00:00
  • 9496c0fcf6 Substitute EMAIL on new_participant email james 2007-12-09 21:31:50 +00:00
  • 78a97236f7 Add the email address to the new participant email james 2007-12-09 21:06:55 +00:00
  • 883b53c71b Send new participant email on invitation by school to the contactemail as well as the student email james 2007-12-09 20:47:44 +00:00
  • b717bca5f0 If 'specific award' is chosen on the personal page, then show the special award selection page regardless of whether its turned on or not for judges to specify special award preferences james 2007-12-09 20:07:08 +00:00
  • 7f189559a1 Properly detect date of birth 0000-00-00 as being incomplete If we're collecting personal info, then gender is required james 2007-12-08 17:52:14 +00:00
  • 5de0bfac48 Replace the fairname in the message body james 2007-12-08 17:25:14 +00:00
  • e00a3a9d4b Fix judge teams add page -award query for MySQL 5.x james 2007-12-08 17:07:51 +00:00
  • c61a0d3d36 - Delete the old custom report dave 2007-12-08 00:00:57 +00:00
  • e6b7b3beb0 - Add the fields for the school access report - Change the report generator to accept an 'sid' (system report id) - Use the sid, not the report id, for the custom reports that aren't custom reports anymore. - Use the generator's school access report, not the custom one. dave 2007-12-08 00:00:26 +00:00
  • 4029fcf563 - Add a schools access code report to the database dave 2007-12-07 23:58:51 +00:00
  • 9fe86bf408 Rollover the project categories-divisions links james 2007-12-07 22:12:16 +00:00
  • 17b10cc269 Fix a parse error - dave you need to check these when you commit!! james 2007-12-06 17:38:29 +00:00
  • f1706322d7 Rename heading "# of Prizes" to just "Prizes" james 2007-12-06 04:10:09 +00:00
  • 79915dd278 Properly fix the crumbtrail on the award sponsor contacts page james 2007-12-06 04:03:32 +00:00
  • e2c2ccd7e2 Make position field display bigger and increase maxlength (it was already bigger in the db) james 2007-12-05 16:10:07 +00:00
  • e592098311 Add missing breadcrumb BUG#0000187 james 2007-12-05 15:54:12 +00:00
  • 10e318b583 Now change version to 2.1.5 for development james 2007-12-05 04:26:45 +00:00
  • b909488bad go back to 2.1.4 so i can repackage with the affiliation stats fix james 2007-12-05 04:22:50 +00:00
  • 9ea749ceb9 lol fix the ysf affiliation stats since dave moved the committee members over to the new system james 2007-12-05 04:21:57 +00:00
  • a749cb80ab Bump version number to 2.1.5 for development james 2007-12-05 03:54:14 +00:00
  • d85663bc28 Version 2.1.4 james 2007-12-05 02:33:25 +00:00
  • d65bf7642e - Make "Contact Phone" sorter, so it fits in the header of the PDF - Add an "export" option to the report editor.. so any custom report can be exported.. and sent to us, and we can insert it as a system report. dave 2007-12-03 22:07:23 +00:00
  • 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. dave 2007-12-03 22:04:06 +00:00
  • 6d7f06bd0f - Add more columns to the school report generator dave 2007-12-03 21:04:35 +00:00
  • 7a6294cb95 Handle error cases when uploading award data to external sources james 2007-11-30 18:20:02 +00:00
  • 389a3660c4 Add award winner uploader to send winners info back to external award sources james 2007-11-29 22:30:35 +00:00
  • dc74872293 Add a .htaccess to turn register_globals OFF (if the server is configured to allow .htaccess to do such things) james 2007-11-29 19:15:57 +00:00
  • 5ba77a6868 Fix a $_SESSION collision with a $variable when register_globals is ON james 2007-11-29 18:49:34 +00:00
  • 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 james 2007-11-29 18:38:06 +00:00
  • 75669d9c08 - Make the default username == to the email address - Remove required field 'username' - Put a little note beside the username to encourage most people to just leave it alone. dave 2007-11-29 18:37:40 +00:00
  • a2105c30f4 Make website fields into links james 2007-11-29 18:26:37 +00:00
  • ef2cc85c8c Rollover the extern award/prize identifiers from year to year james 2007-11-29 18:25:56 +00:00
  • 39611473ba - Make username a requried field for the superuser dave 2007-11-29 17:54:09 +00:00
  • a70413b92d Distinguish externally imported prizes from manually added ones james 2007-11-28 22:06:17 +00:00
  • 566c1d1573 Show awards imported from external sources differently in the awards list Better handle award identifiers Add a missing <br /> on import james 2007-11-28 21:55:14 +00:00
  • 3f3d242f6d Dont try to process awards if there is no awards to process Change the class on the prize edit page to be tableview and tableedit instead of summarytable and none (for consistency with the awards page) james 2007-11-28 21:04:36 +00:00
  • 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 james 2007-11-28 18:46:32 +00:00
  • 4917bc3a75 Fix postback field on award update james 2007-11-27 23:02:40 +00:00
  • c7a3628f4a Update the sponsor if it changes for an existing award Dont check year on the sponsors table james 2007-11-27 22:55:45 +00:00
  • 0f198346aa Update fake scripts for 2008 Add external award downloader functionality james 2007-11-27 22:47:06 +00:00
  • 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 dave 2007-11-26 02:28:45 +00:00
  • 9eca885410 - Allow multiselect to select nothing dave 2007-11-26 02:25:39 +00:00
  • 57f62f7ab4 - Add a multiselect option to the config editor dave 2007-11-25 23:30:51 +00:00
  • 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). dave 2007-11-25 19:53:15 +00:00
  • 33471e80ee Add award source configuration Add stub for award downloader james 2007-11-23 22:07:55 +00:00
  • 2305a44d57 Rollover award description Rollover award prizes trophies james 2007-11-23 21:25:52 +00:00
  • 7619a8fed5 Update DB version james 2007-11-23 21:21:55 +00:00
  • 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 james 2007-11-23 21:21:37 +00:00
  • 3479ab4e7f - Add missing i18n() to the top bar dave 2007-11-23 20:56:59 +00:00
  • 071ded90b0 - Remove "Home >>" from the top nav bar, and simplify the logic dave 2007-11-23 20:55:29 +00:00
  • 68f52562e5 - Fix the header and top navbar on the awards management/editor page dave 2007-11-23 20:23:46 +00:00
  • 30d944f968 - Fix a typo dave 2007-11-21 22:31:34 +00:00
  • 44205d5039 - Disable the save and delete option for system reports, and print a message saying that the report can only be saved as a new report. - Add checks to the report_save and report_delete fucntions to ensure system reports cannot be saved/deleted. dave 2007-11-21 22:30:19 +00:00
  • ac3e50f94e - Fix a bug in the student report generation - Simplify the report generation logic for report types. dave 2007-11-21 21:55:31 +00:00
  • 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) dave 2007-11-21 21:21:10 +00:00
  • edcf42443c Fix wording for open or invite registration type on schoolaccess page. Bug #0132 james 2007-11-21 21:09:16 +00:00
  • f864826ee4 - Add user.inc.php here too dave 2007-11-21 17:04:35 +00:00
  • 0ff8489d58 - include user.inc.php before using user_auth_required() dave 2007-11-21 17:02:09 +00:00
  • e0b50f8128 revert my last chaange james 2007-11-21 16:48:10 +00:00
  • f61dbd294e - Fix another one dave 2007-11-21 16:46:19 +00:00
  • 012939f975 Need to require user.inc.php or else required functions dont exist. james 2007-11-21 16:45:35 +00:00
  • 5eb9c81f36 - Add a missing header dave 2007-11-21 16:44:50 +00:00
  • 3ba0d061f7 - Remove auth_has_access($access) completely, use committee_auth_has_access($access) now. - Remove unused committee_login and committee_auth.php - Simplify the left bar logic for the committee links dave 2007-11-21 07:41:09 +00:00
  • 9a2c37f7f0 - Add text boxes for order and title for each member on each committee dave 2007-11-20 20:46:05 +00:00
  • 7e45665d6c This should be an error, not a notice james 2007-11-19 21:52:56 +00:00
  • cf2c345e03 cannot use $users_id since its a session variable, and with register_globals ON $users_id overwrites $_SESSION['users_id'] james 2007-11-19 21:45:08 +00:00
  • 1937045874 Fix the "My Profile" link james 2007-11-19 21:29:32 +00:00
  • 93011c9883 Cannot check for valid password when authenticating, because people might have passwords that dont match the "new" requirements Also simplify some of the code (why bother assigning temp vars just to compare?) james 2007-11-19 21:28:15 +00:00
  • 25de3ace41 only go through the columns if there are columns to go through james 2007-11-19 21:14:56 +00:00
  • 8a0a3dbc74 Save organization in users table Dont save emailprivate in users table (its in users_committee) james 2007-11-19 21:12:09 +00:00
  • 82b957eee4 - Fix a bug in multirole dave 2007-11-19 17:11:47 +00:00
  • 1a246cba5d - Fixup the location: redirections in user_auth_required() dave 2007-11-19 07:01:51 +00:00
  • 4aa73784bb - Fix a typo and make the location of user_login not relative. dave 2007-11-19 06:58:04 +00:00
  • 689369d460 - Don't collide emails with the existing user being saved dave 2007-11-19 06:45:25 +00:00
  • 5a4daf5580 - Remove the auth_required() function, nothing should call it anymore. Use user_auth_required instead. dave 2007-11-19 00:37:48 +00:00
  • 5d56e802a0 - Change auth_required to user_auth_required to check for committee access too - Add a top navbar to every page dave 2007-11-19 00:33:38 +00:00
  • 04e70ceb33 - Use user_auth_required() for authentication to check for committee access (needed for multirole users) - Add the top navbar to all pages dave 2007-11-18 23:50:23 +00:00
  • 9882ca09c6 - Fix a missing ')' dave 2007-11-18 23:20:00 +00:00