Commit Graph

736 Commits

Author SHA1 Message Date
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
james
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

NOTE/FIXME: i added the hooks for the two new emails to be sent, but still 
need to fill in the substitution values as well as the "to" - no time now, 
will do that tomorrow
2007-10-29 20:21:40 +00:00
james
d1c626e2b6 Add the award sponsor to the winners entry page 2007-10-29 19:13:52 +00:00
james
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. 2007-10-26 16:57:14 +00:00
james
31898032c5 Substitute [FAIRNAME] in the body of the messages. 2007-10-25 20:45:04 +00:00
james
b8e4c38c2b Make sure we have an ID and a Year before trying to make the report 2007-10-25 20:30:58 +00:00
james
213004783b s/awarded/available 2007-10-25 20:23:28 +00:00
james
c5b2ae9f4c Add "label" to list of report formats 2007-10-25 19:54:10 +00:00
james
54ca3a0eef in mysql5, projects needs to be joined before the projectdivisions/projectcategories 2007-10-25 19:48:20 +00:00
james
e8aeb731ec Clear some ambiguity in the term "# of prizes" vs "# awarded" 2007-10-25 18:48:35 +00:00
james
091c2ceffd Judge list - delete now unlinks the judge from the current year
Judge manager - delete now deletes the judge completely

Judge list only shows judges active for current fairyear
Clarify a few issues on the judge registration page
2007-10-25 18:20:55 +00:00
james
4cd4738a4f Detect versions that are NEWER than the most recent release as development versions 2007-10-25 15:54:32 +00:00
james
e00e210690 escape some email usage incase of weird characters. 2007-10-25 15:12:20 +00:00
james
a83695bfe7 Fix a bug where the fair logo wasnt showing up on /admin or /config pages 2007-10-23 21:54:22 +00:00
james
7320bdbde8 Use FCKEditor for pagetexts if its available 2007-10-23 21:24:01 +00:00
dave
186c0525b7 - Add an option to view reports from previous years 2007-10-20 04:04:14 +00:00
james
40067ed0c4 Add FULL db.52 file, dumped directly from phpMyAdmin 2007-10-09 19:26:13 +00:00
james
f0dc0d938f Character set stuff for MySQL 5.x 2007-10-09 18:48:41 +00:00
james
1c0c51c7fc Update all Avery templates, add new avery template for 1 1/3" x 4"
Fix a register_globals reliance
2007-10-09 17:42:00 +00:00
dave
f922adb9af - Implement vertical alignment for labels
- Implement boxes around text for testing (and maybe for a purpose?)
2007-10-05 20:12:19 +00:00
dave
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.
2007-10-05 19:56:04 +00:00