Commit Graph

856 Commits

Author SHA1 Message Date
dave
009af97420 - Fix some text in volunteer main 2007-11-17 21:45:38 +00:00
dave
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.
2007-11-16 22:19:58 +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
dave
c43567e76b - i18n the password change link 2007-11-16 17:53:20 +00:00
dave
3e78e8d97d - add support for 'datetime' to the tableeditor 2007-11-16 17:41:34 +00:00
james
1c42ab77ae Add missing semicolon which prevented the last two queries from happening 2007-11-16 16:46:57 +00:00
dave
6b8f25c7b8 - Quick hack, disable all the user_login.php login types, except volunteer,
until we move over the otehr types
2007-11-16 08:02:47 +00:00
dave
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.
2007-11-16 08:00:40 +00:00
dave
fa9b298959 - Add the volunteer registration link to the left nav, and unconfuse the PHP for it. 2007-11-16 07:54:33 +00:00
dave
7e1f2bbfd1 - Put the nav bar in the password change page 2007-11-16 07:43:02 +00:00
dave
7d825a7cbf - Link in the password change page to the volunteer mani page 2007-11-16 07:41:54 +00:00
dave
e43eb703a5 - And the code for the nav bar thingy 2007-11-16 06:47:53 +00:00
dave
8b38cbdefc - CSS for the nav bar thingy 2007-11-16 06:47:13 +00:00
dave
93c05cbe2f - New user and volunteer signup system 2007-11-16 06:30:42 +00:00
dave
dfd0371d92 - Add the volunteer positions editor
- Add the report type for volunteers
2007-11-16 05:32:04 +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
1cd2befdcd Helps if you select what you're trying to display. 2007-11-15 21:30:11 +00:00
james
645f48beb5 Oops typofix 2007-11-15 21:18:06 +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
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
2007-11-15 20:25:05 +00:00
dave
358bc4e177 - Print a textarea for tinytext fields, instead of a textbox 2007-11-15 20:14:37 +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
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 2007-11-15 18:34:41 +00:00
james
cb23d603f3 MySQL5 Fix for Report 17 (Emergency Contacts) 2007-11-15 17:35:04 +00:00
james
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 2007-11-15 16:58:31 +00:00
james
907c394e8c Oops relaly fix it 2007-11-14 22:48:22 +00:00
james
03ea9ff03b Fix IE/SSL/CSV 2007-11-14 22:45:50 +00:00
james
abe32b69ae Fix report to work with mysql5 -- need to join tables in the correct order. 2007-11-14 22:44:01 +00:00
james
1f31bc124c Remove the "Return to SFIAB Development Page" link, and make the version number at the bottom link back to it 2007-11-14 20:55:47 +00:00
james
f39178585b This should make PDF's work in the broken IE/PDF/SSL implementation 2007-11-14 20:53:35 +00:00
james
152d3ce0ba Ooops commit the footer link colour CSS fix from yesterday 2007-11-14 20:53:02 +00:00
dave
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.
2007-11-13 21:00:58 +00:00
james
66924aeba0 Clarify what project_num_format config variable is 2007-11-13 20:15:36 +00:00
james
d20a9c1eef Fix dave's logout code to work regardless of what folder you're in, and i18n the logout links 2007-11-13 14:47:01 +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
dave
2a5cdcb57e - Put a login bar in the header that always has a logout link, eventually it'll
have more.
2007-11-12 20:43:47 +00:00
dave
fb65e87587 - Match the ENTIRE string in isEmailAddress, because otherwise things like :
"dave@slicer.ca';DROP TABLE students; --" will match.
2007-11-09 07:20:10 +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
c92736229c Changes to tableeditor to make it backwards compatible with the "simple" (non class) abilities that it was originally intended for 2007-10-31 19:09:50 +00:00
james
1de8f94516 Add "committee members" to available email recipients in the communication system 2007-10-31 15:22:30 +00:00
james
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
2007-10-30 22:37:18 +00:00
james
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'
2007-10-30 22:35:00 +00:00
james
cc4f9b5356 Make it clear that 'language' on the project page is the language THAT YOU WISH TO BE JUDGED IN 2007-10-30 22:22:33 +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