Commit Graph

  • 6fc2118646 - Snazz up the important dates page a bit. Also add a unix timestamp query to show how we could, eventually, use that to format the date. But for now, leave it printing the ISO date. dave 2007-12-22 23:42:25 +00:00
  • 8ef21626f2 - Add a participant name check page for students to double check their name. - Fix a bug in tour printing after tours have been assigned (it would show both students in a pair project on the same tour, always.) dave 2007-12-22 23:28:14 +00:00
  • 60df636517 - Reorder/Rename some of the judge columns for clarity - Add an option to NOT filter a judge report by year if the report already includes a year filter. This allows one to FITLER by judges.year!='0', and get every judge that has ever judged at the fair (should probably add a distinct(judges.name) or something, because a judge that has judged in two past years would appear twice in that list. dave 2007-12-22 22:16:12 +00:00
  • 0b782d467d - Unclutter the judge query - Add project info, timeslots, and students to the judge query. dave 2007-12-22 21:50:25 +00:00
  • edf26caf1e - Avoid a divde by zero in label generation - Never allow the number of lines for text data to be zero in the first place. dave 2007-12-22 20:49:33 +00:00
  • 801e70cb0c - Fix the awards query - Add prize amounts to the report editor - Add a column to compute the number of students who worked on a project to the report editor dave 2007-12-22 19:12:43 +00:00
  • 8ef6f7ea45 - Update the admin judge page to make the order of things a bit more clear. dave 2007-12-22 10:17:16 +00:00
  • fd9da0845b - Add special award selection editing to the judge manager dave 2007-12-22 09:56:46 +00:00
  • 1aadc76ebc - The awards store whether to schedule judges for a special award (schedule_judges). We should obey that even though it's always set to 'yes' and there's no way for a user to change it.. yet. dave 2007-12-22 09:36:23 +00:00
  • 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 dave 2007-12-22 05:11:42 +00:00
  • e7a5ad183d - Add the grade and school of each student to the signature page. dave 2007-12-22 04:20:17 +00:00
  • 0d0e6bbb0f - Clean up the participant tour selection. Don't allow participants to select tours after the assignemnts are done - Always report the Tour status as complete if tour assignments have been done (rank 0 tours exist) - Inform the participant of their tour assignment if assignments are done dave 2007-12-22 04:03:17 +00:00
  • 7b7c6c0db2 - Use pdf_fit_image instead of pdf_place_image. - The docs say pdf_place_image is deprecated (and so is pdf_open_image_file.. apparently) - By using pdf_fit_image we can define a box where we would like the image to fit, then use the highest quality image (logo.gif) and tell pdflib to scale and center the image within that box. dave 2007-12-22 03:31:02 +00:00
  • 2cfbcc2b41 - Add an 'X' button to the "REmove this mentor from this project". To clean up the oldest bug in the tracker. :) dave 2007-12-21 19:24:12 +00:00
  • c6e90a0ffa - Add regular expression checking for each field. And refuse to save user personal info unless the regexp matches. - Also add error reporting so the user knows which field is in error, and what the proper format is. dave 2007-12-21 09:47:18 +00:00
  • 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 dave 2007-12-21 08:38:13 +00:00
  • a420a18143 - Skip some session variables on logout, clear everything else. dave 2007-12-21 01:16:30 +00:00
  • 3f2c4d95f3 - Remove an extraneous table, so that the "change password" link appears on the page, instead of below it (or not at all) dave 2007-12-21 01:03:31 +00:00
  • 2f443868d0 equality, not assignment operators would help I guess justin 2007-12-21 00:35:31 +00:00
  • 337d5acac2 Close php james 2007-12-20 22:47:21 +00:00
  • 1ae2b2e779 Better display of development versions, and make the DEBUG session output easily switch on-off-able by passing in ?debug=true or ?debug=false to any page. james 2007-12-20 22:39:21 +00:00
  • e4fb689d58 Add prize value, and the trophy stuff to the generic prize template divisional awards creator When creating divisional awards using the generic prize template, obey config option to filter divisions by category When managing jdivs, obey config option to filter divisions by category Add an option to the jdivs (at the bottom) to completely whipe out all jdivs so they can be recreated (eg if age categories / divisions are deleted or changed, or if ones were created that shouldnt have been due to the filter divisions by category not being obeyed james 2007-12-20 20:45:18 +00:00
  • 0db1467da7 - Fix errors, crashes, infinite loops caused by jdivs with no projects. dave 2007-12-20 19:52:15 +00:00
  • 8c42e853af - Handle type/stock for custom reports properly - Convert reports.php to use SESSION based status messages. Just to try it out. dave 2007-12-20 18:44:28 +00:00
  • 348647208f put the type and stock checks back in, to make sure we get the right stuff. james 2007-12-20 18:38:17 +00:00
  • 312808bc8f Dont disable the type & stock so the default values (selectedIndex=0) still gets POSTED, even though the dropdowns are not displayed. james 2007-12-20 18:35:47 +00:00
  • a352886ca6 And remove my print_r debug :) james 2007-12-20 18:18:06 +00:00
  • a69ad4ae71 Oops use the right fields for type and stock james 2007-12-20 18:17:40 +00:00
  • 515a92dda7 Dont use JSON anymore, we really dont need the entire report object, we just need the 3 fields type, stock and desc, so return them on their own line, so we can just split on \n james 2007-12-20 18:13:06 +00:00
  • f17f07ff94 - Don't open the info window until it is requested. dave 2007-12-20 18:07:39 +00:00
  • 87f1452919 Fix invalid type. type="" is valid because of custom reports. Same for stock. james 2007-12-20 18:00:30 +00:00
  • a660ea4e3f Add a random tour choice rankings script. Modify all scripts to 'exit' at the beginning with a message... if anyone wants to run these scripts, they should be smart enough to be able to edit the file and comment out the 'exit' call. james 2007-12-20 16:41:57 +00:00
  • d9f6b8c330 Remove the warning about only being able to submit once.. it doesnt make sense for stats. james 2007-12-20 16:01:39 +00:00
  • 647456ae69 judges_data.php ?? how baout judges_schedulerconfig.php :) james 2007-12-20 15:58:07 +00:00
  • e0a77c6fd6 Sort the 'Projects and Judges' listing by jdiv_id james 2007-12-20 15:53:11 +00:00
  • 93f610c214 Make judges_jdiv groupings obey the filterdivisionsbycategory config option and dont show div/cat's that shouldnt exist james 2007-12-20 15:47:19 +00:00
  • 9a7383f552 How'd that / sign get in there, it should be a . to concatenate james 2007-12-20 14:48:02 +00:00
  • 71166d3e6b - Add the easyparse student names option dave 2007-12-20 09:51:08 +00:00
  • 6c61595cb9 - Add an option to print ALL student names for a project (will work for more than 2 students). dave 2007-12-20 09:43:22 +00:00
  • 49a19c9d44 - Fix report stock when the report stock keys were updated - Add a missing stock number - Fix a report where distinct was missing dave 2007-12-20 09:25:43 +00:00
  • 984c9776ef - Separte the action handler from the config emitter (but tie them together so that the old functionality remains) - Run the action handler separately in the tour annealer and judge annealer config so that the page can be refreshed immediately after an update, so the config variables (that may have changed) are reloaded. - Skip updating config variables that haven't changed. dave 2007-12-20 08:20:29 +00:00
  • c8d01cb8fb - Handle the case where a student doesn't use all their tour rankings. dave 2007-12-20 04:29:16 +00:00
  • 1dd573ab63 - Add the tour annealer config/launcher dave 2007-12-20 01:14:21 +00:00
  • 7841190240 - Remove the old tour reports from the old report page dave 2007-12-20 01:13:24 +00:00
  • 5a3d7de0b6 - Return emergency contact info to a component in the query. dave 2007-12-20 01:09:16 +00:00
  • 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 dave 2007-12-20 01:05:04 +00:00
  • aa2f8883e3 - Fix the overlapping text in table layout when trying to fit it in multiple lines - Fix an infinite loop if the text will never fit in the width provided. dave 2007-12-20 00:56:57 +00:00
  • 5c594a9d85 - Sneak in a change to the report tables, we're going to create tour reports next dave 2007-12-19 21:16:58 +00:00
  • 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) dave 2007-12-19 21:12:57 +00:00
  • 5ad72acabf - Finish the cost function explanation dave 2007-12-19 19:58:15 +00:00
  • c5887eb432 - A working tour annealer.. Now I just have to glue it all together. dave 2007-12-19 19:52:11 +00:00
  • dba389618d - Move the tour manager into a tours subsection of admin - Add a tour assignment editor, basically a copy of the judge team editor dave 2007-12-19 07:49:38 +00:00
  • 2af3482ecf - Also quote a field if it contains a newline. dave 2007-12-18 19:52:13 +00:00
  • 1b83ff4c12 - Add a bit more error reporting, and do the error report before attempting to use the result. dave 2007-12-18 19:50:12 +00:00
  • 2363a38120 Add an actual form to the ceremony script setup page. justin 2007-12-17 23:20:21 +00:00
  • c514d7910a - Alternate colours on the variable editor categories dave 2007-12-17 22:25:54 +00:00
  • 63c5f3b2ff Rework the variables display a bit james 2007-12-17 21:57:26 +00:00
  • 1d6c0c9530 Remove committee auth check and replace with commandline only check -- This allows the judges scheduler to actually run again! james 2007-12-17 21:37:22 +00:00
  • b366d7bf4e Change varaibles.php to use a vertical section menu; slightly rough initial version. justin 2007-12-17 19:31:09 +00:00
  • 18aafbea9c Add support for a minimum number of words in the project description. Resolves RFE 162. justin 2007-12-17 18:19:08 +00:00
  • 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. justin 2007-12-17 17:35:19 +00:00
  • 4043df2e66 set a minimum on config editor input text size, so if all fields are empty the text boxes are bigger than 1 characer long james 2007-12-14 15:46:01 +00:00
  • 25c6251c65 Fix dave's typo on inputttype (inputtype) so 'date' fields will work again! james 2007-12-14 15:38:03 +00:00
  • 13ef318f27 eliminate an array_keys warning if $$fieldvar isnt set james 2007-12-14 15:28:54 +00:00
  • 160acc97d0 Garrrrr, fix syntax error james 2007-12-14 15:25:51 +00:00
  • 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. dave 2007-12-13 21:50:31 +00:00
  • dcfcd358fc - Add a primary contact field to the award contacts - Use the primary contact in award reports dave 2007-12-13 21:23:29 +00:00
  • 4c9d23e513 - Add sponsor information to the report generator awards report. - Add a system report that dumps all sponsor info to a csv. dave 2007-12-13 19:56:44 +00:00
  • 2da2753758 Make it say "Contact Us" instead of just "Contact" and remove the "you are here" stuff, its not needed here. james 2007-12-13 19:55:57 +00:00
  • 00eed557cd Move the contact link out of the centered div, so it looks like the rest of the menu items james 2007-12-13 19:54:19 +00:00
  • 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 james 2007-12-13 19:52:27 +00:00
  • c9fb9f1084 - Fix bug 0000128, the order of the languages in the judging team names dave 2007-12-13 19:21:41 +00:00
  • 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 dave 2007-12-13 18:09:22 +00:00
  • ab76d8b329 switch the stock entries in the database if anything's usign the old values james 2007-12-13 17:10:11 +00:00
  • 89f074052c correct & combine same-size label templates james 2007-12-13 17:03:35 +00:00
  • d9135ec036 - Fix label names dave 2007-12-13 16:50:53 +00:00
  • 1441f24891 Make province work james 2007-12-12 23:56:33 +00:00
  • 998c8b9af5 - Use a list of checkboxes instead of multisel. If the list is large, it puts in in 3 columns under the config option.. if it's small it goes beside it where the config widgets normally go. dave 2007-12-12 23:49:50 +00:00
  • 7a7f87f892 Better statistics, less database queries james 2007-12-12 23:35:51 +00:00
  • 89675213bf - Make address2 never required, and setup the system so we can easily add more fields that shoudl never be required. I do it this way so I don't have to duplicate the field select array in user.inc.php for the requried fields too. - Swap the City and Address2 locations so that Address1 and Address2 are on top of each other, instead of beside each other. dave 2007-12-12 22:50:54 +00:00
  • 5eaf774628 Backport registration list statistics to branch 2.1.x sfiab-2.1 james 2007-12-12 21:17:44 +00:00
  • 5207a0d6e2 Oops use the correct totalprojects variable james 2007-12-12 21:00:12 +00:00
  • e99b57c4fa Breakout the stats for agecategory/division into a nicer-to-view table format james 2007-12-12 20:57:51 +00:00
  • 4c71598eab - Sort schools by city for the students. When your schools list is 2000+ schools, with 8 "MacKenzie King Elementary School"s it makes the correct school much easier to find. dave 2007-12-12 20:37:05 +00:00
  • ffafa08e48 Backport lpdf addText fix to 2.1.x branch james 2007-12-12 20:36:07 +00:00
  • 2aeaf7bea9 unbreak the broken addText() that was introduced in r977 james 2007-12-12 20:35:03 +00:00
  • 70a2b5e74e Branch 2.1.x Tag 2.1.6 sfiab-2.1.6 james 2007-12-12 18:57:53 +00:00
  • a54776a6a3 Version 2.1.6 james 2007-12-12 18:45:56 +00:00
  • 4c801ff1ba Fix dave's broken database code james 2007-12-12 18:29:51 +00:00
  • 659dba8321 - Add db stuff for 'fairs' dave 2007-12-12 04:48:22 +00:00
  • 9fffa6755d - Call them 'fair's not 'region's.. to assist linking fairs together. - This patch references some config variables that don't exist yet, that's ok, we dont' want anyone turning these on yet. dave 2007-12-12 04:15:17 +00:00
  • 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 dave 2007-12-12 03:01:44 +00:00
  • 5e4a31c50c Clarify wording "input received signature forms" Remove redundantly redundant header heading james 2007-12-11 19:44:18 +00:00
  • 8a1a67f1be Error checking on judges_teams_timeslots when no teams/timeslots are selected to assign james 2007-12-11 19:38:25 +00:00
  • fb10ed7447 Dont put leading spaces into an i18n() wq james 2007-12-11 19:17:11 +00:00
  • 08f5d64179 Fix the login so it authenticates on the right record -- there is probably other stuff wrong if this is happening, but this is the easiest fix for now. There should never be two records in the users table with the same username/emailaddress, it should use the multi-role stuff... but this change will also work with multi-role anyways once the cause of this is fixed (registering as a volunteer when you're already a committee member creates a new record in the users table, instead of attaching you to the old one). james 2007-12-11 19:13:11 +00:00
  • 5d81818815 Error adding report to list if no category is specified ALWAYS exit; after a header("Location:"); james 2007-12-11 18:23:15 +00:00
  • 53847c37bf Make this page more readable with the right css classes james 2007-12-11 18:22:27 +00:00
  • d4e6b63c2e Dont get stuck in an infinite loop if the text doesnt fit, just break out and forgetaboutit james 2007-12-11 18:21:27 +00:00
  • 16dfbc934c Fix the breadcrumb trail james 2007-12-10 22:06:41 +00:00