Commit Graph

714 Commits

Author SHA1 Message Date
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
james
50dbdbf599 Huh, odd, winners from past years, once rollover has happened, has been broken all along.. FIX IT! 2007-10-05 19:20:09 +00:00
james
30df2c8af8 Add "back to admin" links
Rename item in main admin menu to be more reflective of what it actually does
2007-10-05 18:44:48 +00:00
james
02a5ef7811 Add the xml.inc.php common file 2007-10-05 18:40:32 +00:00
james
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
2007-10-05 18:40:07 +00:00
james
29f545f80f The rest of the stats required for regional affiliation with YSF 2007-10-05 17:34:06 +00:00
james
c82126150e Add a file to calculate stats required for YSF Regional Affiliation
(not complete yet)
2007-10-03 21:03:46 +00:00
james
4b245289b9 Fix a bug on the special award nominations where the list of eligible awards wasnt restricted to the current fairyear 2007-10-02 21:37:09 +00:00
james
2e1ed4a689 Fix the config variables rollover/install for the type and type_values fields 2007-10-01 18:51:56 +00:00
james
4a3aaac8af Properly address french mailing labels to schools 2007-09-27 15:29:48 +00:00
james
7cb46d5aee Use mb_strtoupper instead of strtoupper to properly uppercase accented french characters 2007-09-27 14:08:46 +00:00
james
2063ada383 Insert a name 'Superuser Account' with the superuser record so it will properly show up in the committee editor list 2007-09-26 21:30:52 +00:00
james
620353e8fa properly install config types and type values
properly rollover config types and type values
2007-09-26 20:21:13 +00:00
james
1aa5ef0332 bump version number 2.1.3 for development 2007-09-20 17:42:55 +00:00
james
c4c57fde2b Make sure the FAIRYEAR is 2008, and bump version number to 2.1.2 2007-09-20 17:31:43 +00:00
james
7f3a0ff528 Add a fix to re-roll award prizes that werent properly rolled over due to the rollover bug in 2.1.0 2007-09-20 17:26:18 +00:00
james
abbfe00e82 Fix a bug that prevented the award prizes from being rolled over properly 2007-09-20 16:53:06 +00:00
james
a87647ee6c - Update database for schools report query. 2007-09-13 19:18:18 +00:00
james
1e947cba16 - Add a school based report query, so things like mailing labels can be created for ALL schools, not just the ones attached to a student. 2007-09-13 18:57:56 +00:00
james
6c94eeb751 Bump version number for development 2007-09-13 16:42:32 +00:00
james
d93f8e514c Version 2.1.0 2007-09-11 20:11:50 +00:00
james
e36f452636 Wow, properly fix the broken winners.php to show multi-year data! 2007-06-01 19:52:58 +00:00
james
0de2bfeef0 Add a few more missing "exit" calls after a header("Location"); 2007-05-10 19:18:01 +00:00