Commit Graph

  • f61dbd294e - Fix another one dave 2007-11-21 16:46:19 +0000
  • 012939f975 Need to require user.inc.php or else required functions dont exist. james 2007-11-21 16:45:35 +0000
  • 5eb9c81f36 - Add a missing header dave 2007-11-21 16:44:50 +0000
  • 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 +0000
  • 9a2c37f7f0 - Add text boxes for order and title for each member on each committee dave 2007-11-20 20:46:05 +0000
  • 7e45665d6c This should be an error, not a notice james 2007-11-19 21:52:56 +0000
  • 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 +0000
  • 1937045874 Fix the "My Profile" link james 2007-11-19 21:29:32 +0000
  • 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 +0000
  • 25de3ace41 only go through the columns if there are columns to go through james 2007-11-19 21:14:56 +0000
  • 8a0a3dbc74 Save organization in users table Dont save emailprivate in users table (its in users_committee) james 2007-11-19 21:12:09 +0000
  • 82b957eee4 - Fix a bug in multirole dave 2007-11-19 17:11:47 +0000
  • 1a246cba5d - Fixup the location: redirections in user_auth_required() dave 2007-11-19 07:01:51 +0000
  • 4aa73784bb - Fix a typo and make the location of user_login not relative. dave 2007-11-19 06:58:04 +0000
  • 689369d460 - Don't collide emails with the existing user being saved dave 2007-11-19 06:45:25 +0000
  • 5a4daf5580 - Remove the auth_required() function, nothing should call it anymore. Use user_auth_required instead. dave 2007-11-19 00:37:48 +0000
  • 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 +0000
  • 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 +0000
  • 9882ca09c6 - Fix a missing ')' dave 2007-11-18 23:20:00 +0000
  • ad9f954f68 - Correctly copy over NULL password expiry dates (passwords never expire) dave 2007-11-18 08:20:51 +0000
  • 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 dave 2007-11-18 08:01:05 +0000
  • 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 dave 2007-11-17 21:59:59 +0000
  • 1d7f5f9871 - Add support for an already logged in message in multirole - Change how multirole works dave 2007-11-17 21:46:18 +0000
  • 009af97420 - Fix some text in volunteer main dave 2007-11-17 21:45:38 +0000
  • 0d8f704cd8 - remember when a full load on a user is done - user mysql_escape_string on all fields before saving (oops!) :) - add a committee login function to set SESSION variables. dave 2007-11-16 22:19:58 +0000
  • 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. dave 2007-11-16 21:42:45 +0000
  • 40fe6cb88c Do some checks for system() and error out where applicable james 2007-11-16 17:58:59 +0000
  • c43567e76b - i18n the password change link dave 2007-11-16 17:53:20 +0000
  • 3e78e8d97d - add support for 'datetime' to the tableeditor dave 2007-11-16 17:41:34 +0000
  • 1c42ab77ae Add missing semicolon which prevented the last two queries from happening james 2007-11-16 16:46:57 +0000
  • 6b8f25c7b8 - Quick hack, disable all the user_login.php login types, except volunteer, until we move over the otehr types dave 2007-11-16 08:02:47 +0000
  • 9a98fb8da8 - Don't let the user see the login page if they're already login, instead, provide them with a message indicating how to logout. dave 2007-11-16 08:00:40 +0000
  • fa9b298959 - Add the volunteer registration link to the left nav, and unconfuse the PHP for it. dave 2007-11-16 07:54:33 +0000
  • 7e1f2bbfd1 - Put the nav bar in the password change page dave 2007-11-16 07:43:02 +0000
  • 7d825a7cbf - Link in the password change page to the volunteer mani page dave 2007-11-16 07:41:54 +0000
  • e43eb703a5 - And the code for the nav bar thingy dave 2007-11-16 06:47:53 +0000
  • 8b38cbdefc - CSS for the nav bar thingy dave 2007-11-16 06:47:13 +0000
  • 93c05cbe2f - New user and volunteer signup system dave 2007-11-16 06:30:42 +0000
  • dfd0371d92 - Add the volunteer positions editor - Add the report type for volunteers dave 2007-11-16 05:32:04 +0000
  • 9f0b1d494b - sneak in an update I forgot to add.. hopefully noone applied this patch within th elast 3 minutes. dave 2007-11-16 05:24:17 +0000
  • 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. dave 2007-11-16 05:13:27 +0000
  • 1cd2befdcd Helps if you select what you're trying to display. james 2007-11-15 21:30:11 +0000
  • 645f48beb5 Oops typofix james 2007-11-15 21:18:06 +0000
  • 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. james 2007-11-15 21:17:20 +0000
  • 90b40724b5 Oops dont change an update file thats already been applied, make a new one! james 2007-11-15 20:47:20 +0000
  • 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. james 2007-11-15 20:45:19 +0000
  • 347d46b86d Add sponsor organization to awards ceremoney script Add ability to specify an award type to only generate a script for that type Add ability to specify a year to get the awards ceremony script for that year Add links to the new options on the main reports page james 2007-11-15 20:25:05 +0000
  • 358bc4e177 - Print a textarea for tinytext fields, instead of a textbox dave 2007-11-15 20:14:37 +0000
  • 418322f8fb Aparently the language name needs to insert as UTF8 to work on a Latin1.. <boggle> james 2007-11-15 19:19:43 +0000
  • 3a75f58f41 Name the PHP Session cookie something unique for each SFIAB to reduce the possibility of SESSION variable collisions between multiple SFIAB's running under the same domain james 2007-11-15 18:34:41 +0000
  • cb23d603f3 MySQL5 Fix for Report 17 (Emergency Contacts) james 2007-11-15 17:35:04 +0000
  • fb9a23a0e2 Check that the logo images were actually created before giving a message that they were. If they arent, give an error message and a possible reason james 2007-11-15 16:58:31 +0000
  • 907c394e8c Oops relaly fix it james 2007-11-14 22:48:22 +0000
  • 03ea9ff03b Fix IE/SSL/CSV james 2007-11-14 22:45:50 +0000
  • abe32b69ae Fix report to work with mysql5 -- need to join tables in the correct order. james 2007-11-14 22:44:01 +0000
  • 1f31bc124c Remove the "Return to SFIAB Development Page" link, and make the version number at the bottom link back to it james 2007-11-14 20:55:47 +0000
  • f39178585b This should make PDF's work in the broken IE/PDF/SSL implementation james 2007-11-14 20:53:35 +0000
  • 152d3ce0ba Ooops commit the footer link colour CSS fix from yesterday james 2007-11-14 20:53:02 +0000
  • 6112c7faaf - Add the multirole switcher link to the log bar.. The file doesn't exist yet, but noone should be able to access that link anyway, until user_login.php committeed. dave 2007-11-13 21:00:58 +0000
  • 66924aeba0 Clarify what project_num_format config variable is james 2007-11-13 20:15:36 +0000
  • d20a9c1eef Fix dave's logout code to work regardless of what folder you're in, and i18n the logout links james 2007-11-13 14:47:01 +0000
  • 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 dave 2007-11-12 22:45:41 +0000
  • 2a5cdcb57e - Put a login bar in the header that always has a logout link, eventually it'll have more. dave 2007-11-12 20:43:47 +0000
  • fb65e87587 - Match the ENTIRE string in isEmailAddress, because otherwise things like : "dave@slicer.ca';DROP TABLE students; --" will match. dave 2007-11-09 07:20:10 +0000
  • 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. james 2007-10-31 20:31:00 +0000
  • 1cc99b4ef9 Add document manager, and update tableeditor to allow setting of a downloadlink for documents james 2007-10-31 20:00:23 +0000
  • c92736229c Changes to tableeditor to make it backwards compatible with the "simple" (non class) abilities that it was originally intended for james 2007-10-31 19:09:50 +0000
  • 1de8f94516 Add "committee members" to available email recipients in the communication system james 2007-10-31 15:22:30 +0000
  • 6d635e89f7 Only get the recipients list once Oh, the last commit also fixed a couple multi-year registrationnumber uniquedness problems, as well as a few register_global dependencies james 2007-10-30 22:37:18 +0000
  • 4378f966ce Add an email address verification function so we dont need to keep duplicating the regex everywhere Add a function to get the email recipients for a given registration id, for now, it just gets the students, but downt eh road it should check if teachers, parents, emergency contacts, mentors, etc should receive fair updates as well. Implement the code/replacement tags for the two new emails, one for 'forms received, with payment' and the other for 'forms received, without payment' james 2007-10-30 22:35:00 +0000
  • cc4f9b5356 Make it clear that 'language' on the project page is the language THAT YOU WISH TO BE JUDGED IN james 2007-10-30 22:22:33 +0000
  • aac4c484d0 LOL, dont use my address as the FROM! james 2007-10-29 20:25:25 +0000
  • 491b4dac71 Update to DB 53 james 2007-10-29 20:22:36 +0000
  • 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 james 2007-10-29 20:21:40 +0000
  • d1c626e2b6 Add the award sponsor to the winners entry page james 2007-10-29 19:13:52 +0000
  • b1bc95af95 Add the ability for a teacher thats logged into the school account and inviting students to easily "login" as any of those students to fill out the student's information. james 2007-10-26 16:57:14 +0000
  • 31898032c5 Substitute [FAIRNAME] in the body of the messages. james 2007-10-25 20:45:04 +0000
  • b8e4c38c2b Make sure we have an ID and a Year before trying to make the report james 2007-10-25 20:30:58 +0000
  • 213004783b s/awarded/available james 2007-10-25 20:23:28 +0000
  • c5b2ae9f4c Add "label" to list of report formats james 2007-10-25 19:54:10 +0000
  • 54ca3a0eef in mysql5, projects needs to be joined before the projectdivisions/projectcategories james 2007-10-25 19:48:20 +0000
  • e8aeb731ec Clear some ambiguity in the term "# of prizes" vs "# awarded" james 2007-10-25 18:48:35 +0000
  • 091c2ceffd Judge list - delete now unlinks the judge from the current year Judge manager - delete now deletes the judge completely james 2007-10-25 18:20:55 +0000
  • 4cd4738a4f Detect versions that are NEWER than the most recent release as development versions james 2007-10-25 15:54:32 +0000
  • e00e210690 escape some email usage incase of weird characters. james 2007-10-25 15:12:20 +0000
  • a83695bfe7 Fix a bug where the fair logo wasnt showing up on /admin or /config pages james 2007-10-23 21:54:22 +0000
  • 7320bdbde8 Use FCKEditor for pagetexts if its available james 2007-10-23 21:24:01 +0000
  • 186c0525b7 - Add an option to view reports from previous years dave 2007-10-20 04:04:14 +0000
  • 40067ed0c4 Add FULL db.52 file, dumped directly from phpMyAdmin james 2007-10-09 19:26:13 +0000
  • f0dc0d938f Character set stuff for MySQL 5.x james 2007-10-09 18:48:41 +0000
  • 1c0c51c7fc Update all Avery templates, add new avery template for 1 1/3" x 4" Fix a register_globals reliance james 2007-10-09 17:42:00 +0000
  • f922adb9af - Implement vertical alignment for labels - Implement boxes around text for testing (and maybe for a purpose?) dave 2007-10-05 20:12:19 +0000
  • 95a3816068 - Don't bother the mysql server with a date check, we can do that ourselves. - Add a condition for judge registration not yet being open. dave 2007-10-05 19:56:04 +0000
  • 50dbdbf599 Huh, odd, winners from past years, once rollover has happened, has been broken all along.. FIX IT! james 2007-10-05 19:20:09 +0000
  • 30df2c8af8 Add "back to admin" links Rename item in main admin menu to be more reflective of what it actually does james 2007-10-05 18:44:48 +0000
  • 02a5ef7811 Add the xml.inc.php common file james 2007-10-05 18:40:32 +0000
  • dbcd4e955f Update admin index to include One-Click Affiliation Stats Factor XML functiosn out of cwsfregister into separate xml.inc.php Add xml functionality to ysfstats, and fudge the male/female stats to include "not specificed" genders Add submit functionality to ysfstats to actually send data to YSF james 2007-10-05 18:40:07 +0000
  • 29f545f80f The rest of the stats required for regional affiliation with YSF james 2007-10-05 17:34:06 +0000
  • c82126150e Add a file to calculate stats required for YSF Regional Affiliation (not complete yet) james 2007-10-03 21:03:46 +0000
  • 4b245289b9 Fix a bug on the special award nominations where the list of eligible awards wasnt restricted to the current fairyear james 2007-10-02 21:37:09 +0000