Commit Graph

1645 Commits

Author SHA1 Message Date
james
ba8c8f91cb Set the return path and bounce-to for emails being sent out 2010-02-12 18:32:58 +00:00
james
1768fffb2b Properly escape the email name in the javascript function, and htmlspecialchars the name in the output 2010-02-12 18:24:22 +00:00
james
0f746fb914 Re-organize the main index page - move feeder/upstream fairs down to where the upload stats is 2010-02-12 17:19:29 +00:00
james
47a8a3019a Remove one click ysc affiliation - they can use the upload fair statistics icon 2010-02-12 17:16:05 +00:00
james
b362099af3 If the xml parse doesnt return an array, then the server must have sent back plain text, so set the message and error field to that and return it. This is what the YSC Stats server does - So stats uploading to YSC works again now. 2010-02-12 17:05:18 +00:00
james
1e350cba20 Fix another YSF->YSC 2010-02-12 16:49:55 +00:00
james
9499418eea Remove config->external award sources from CONFIG
Remove award_sources table from database
Rename STO->YSO and YSF->YSC
2010-02-12 16:48:45 +00:00
james
b2c6729def Fix identification of externally downloaded awards in the awards list 2010-02-12 16:46:05 +00:00
dave
71509f3f16 Fix the downloaded prize array for awards with >1 prize. For STO this
actually doesn't matter there's only one prize for each award.
2010-02-12 14:16:19 +00:00
dave
1ab43fef68 Recover missed commit for YSC awards downloading and winners upload. 2010-02-12 05:34:12 +00:00
dave
615c265d00 Allow the addition of a committee role to an existing user. 2010-02-11 22:39:15 +00:00
james
8b4c8297b1 Use Youth Science Canada (or YSC) instead of YSF 2010-02-11 22:35:57 +00:00
james
f558a5d8b8 If a group by column has a exec_function, call the exec_function on the table group heading before outputting it 2010-02-11 21:36:11 +00:00
james
90d9d0a01d Fix reports that show the language of judges when judges havent specified any languages 2010-02-11 21:16:26 +00:00
james
b4d5ec01a9 Fix encoding problems on firstname/lastname (and all user_personal) fields 2010-02-11 18:13:15 +00:00
james
3442c2347d Dont override the mail encoding as utf-8 - we now store it in the db as ISO, so just use that (the default) 2010-02-11 16:47:48 +00:00
james
a42e042bcc Fix once and for all the communication module with french/accented characters -- since fckeditor only does utf8, do the conversion immediately to ISO when its submitted, and then allow the system to use ISO everywhere from there on out 2010-02-11 16:41:17 +00:00
james
a1865e267b When sending, make sure we check to make sure result is NULL as well, becuase if its cancelled, sent will be NULL but result will be cancelled 2010-02-11 15:59:41 +00:00
james
d8375c0c5f Add ability to cancel emails in the queue to be sent 2010-02-11 15:58:26 +00:00
james
e077912d9e Clarify some fields, add 3 more: captain name, all team members, all team members except captain. 2010-02-10 18:52:45 +00:00
james
5dcbc28d54 Fix email sending to not fail if a single email fails, instead, flag it as failed and continue on
Better track email sending as well, and add fields for tracking bounces (not implemented yet)
2010-02-10 17:05:49 +00:00
james
496c0400aa Don't include deactivated judges in the judge list 2010-02-10 16:15:12 +00:00
james
56eb43431c Fix the existing email check for users with multiple years. 2010-02-10 16:02:51 +00:00
dave
47ee73f3e6 Allow existing parents, principals, mentors, and alumni to create mutlirole accounts. 2010-02-10 14:58:10 +00:00
dave
1aa759047a Fix the link to the materials 2010-02-10 05:36:16 +00:00
dave
33a9ee5401 Show a disabled button for awards with additional materials that have no
winners.
2010-02-10 05:36:15 +00:00
dave
d38c57de79 Delete entries in the winners table when a project is deleted. 2010-02-10 05:36:14 +00:00
dave
6bd6f971ac Send a registration email for new regs for awards that are marked as
"this student should be registered in this fair" so the student knows
how to login.  For non-registration awards, set the status to complete
so the project is included in awards.
2010-02-10 05:36:07 +00:00
james
b1033e2369 Fix communication sending when replacements have apostrohpe's in them 2010-02-06 22:05:39 +00:00
dave
fb6da3764f southern kentucky has 35 divisions. So support up to 50. 2010-02-06 01:13:45 +00:00
dave
faa3742bda Support Highest, High, Indiffernt (short and long), and expertise 5,4,3
(short and long) all with the same two functions.
2010-02-04 17:55:07 +00:00
dave
510d4a7e5f Add support for listing judges div/cat prefs in columns. This now
completes everything the judges csv could do.  The downside ist hat each
fair could have different numbers of divs/cats, so each will have to
create the report (and keep it up to date if they change the number of
divs/cats)
2010-02-04 17:55:04 +00:00
dave
dc29349e7c Fix all other (1) #content loads. We pretty much dont' need that now.
Maybe we should create a #content div.  :p
2010-02-04 06:48:44 +00:00
dave
4aae875630 Apparently in IE7 you can't .load into an <iframe>. But you can .load
into a <div>.  So there.
2010-02-04 06:48:42 +00:00
james
ebbfaf42bd Fix spelling mistake: Bug #407 2010-02-03 19:10:29 +00:00
james
715afc8e59 Fix primary contact radio boxes checked status in IE7 2010-02-03 16:53:19 +00:00
james
29074faacd Move the content-type header out of send_header() so it sends it on ANY request that includes the common.inc (should be every request)
This fixes french characters in all the new ajax'd editors, becuase they obviously werent calling send_header() on the request so the
encoding was defaulting to UTF8 and causing improperly encoded characters
2010-02-03 16:20:23 +00:00
james
879dc845d9 Fix Report dialogs in IE7 2010-02-03 16:02:45 +00:00
james
fd4e72e1f4 Fix judge invite only text on user_new to actually show up 2010-02-03 00:30:24 +00:00
dave
c527e349c8 Disable question fields in the editor that aren't in use. 2010-02-02 19:40:56 +00:00
dave
16567265d6 remove a conflict with the $fields variable, wasn'ta bug, but was
overwriting the global valiable.
2010-02-02 19:40:55 +00:00
dave
e65f899731 Support custom judge questions in the report editor 2010-02-02 19:40:52 +00:00
dave
355447ac76 Add highest cat pref selection (for LRSF). Pass the $field into the
report column function so the same function can be used for multiple
fields with different return values.
2010-02-02 18:19:11 +00:00
dave
5c8bbe16b6 Remove the typepref selection, it turned into
users_judge.special_award_only.
2010-02-02 17:48:59 +00:00
james
45864af4af (Commit from Dave): Fix the logic for saving the school teacher. If the user
is teacher,judge, and they delete their account, the teacher save in the school
editor silently fails (id exists, but user_load returns false).  
Now it purges the teacher and creates a new one.  The downside, is the teacher
can remove their contact info without the committee knowing about it.  I guess
the real fix woudl be to either: Don't allow the account to be deleted if they
have a teacher,principal role, or duplicate the account on deletion to retain
the teacher contact info.
2010-02-01 19:31:03 +00:00
dave
6261919878 Add two columns for all divisions the judge selected 5-expert for 2010-02-01 06:30:48 +00:00
dave
34368908bc Add willing chair, years exp, and highest psd to the judge report 2010-02-01 06:01:02 +00:00
dave
6f22c31be3 Don't show local "Download additional mateirals" link for external awards. 2010-01-31 22:07:14 +00:00
dave
a55dd4b9be Implement additional materials download for fairs user 2010-01-28 19:05:35 +00:00
dave
7a2f4c0d3a 'notes' is in the user_sponsors table, not the users table. 2010-01-28 08:42:32 +00:00