dave
de761c8b3e
Update the annealer to recompute the cost of multiple affected buckets
...
on a move if necessary. Add the annealer to compute floor locations
(but don't link it to anything yet because there's no editor, we're
testing it with GVRSF this year).
2010-02-22 18:45:58 +00:00
dave
89547f902a
Some fairs did a rollvoer before the NULL was fixed (I think it was
...
fixed), and reset some award sources to 0 instead of NULL.
award_source_fairs_id can never be 0 anyway (unless someone edits the DB
manually), so just set them back to NULL so the existing code works.
2010-02-22 18:45:57 +00:00
dave
15c9c5619a
Database table for computing floor locations
2010-02-22 18:45:55 +00:00
dave
1849d0362c
Not sure where these came from, maybe a bad merge from old code?
2010-02-22 18:13:14 +00:00
dave
538c2ae066
Use array_splice to compute new lists... much shorter code, and probably
...
a lot faster.
2010-02-22 18:13:11 +00:00
dave
61aee7f487
Fix email checking (did we do this before and had to undo it for some
...
reason?) Anyway, fraser valley had a student try to enter
"blah@blah.com/" as their email, which the isEmailAddress happily
accepted, and then remote servers started sending back errors to the
Committee because the email address is actually invalid.
2010-02-20 00:45:59 +00:00
james
910c9e85b0
Allow an override to start the scheduler even if things dont look good
2010-02-18 16:44:42 +00:00
james
74905273cc
If anyones emails are still set to come from 'website@sfiab.ca' wipe that out, which will force it to default to the fair manager's email address when sending - we dont want anything coming from that address!
2010-02-18 16:13:36 +00:00
james
21ea57a661
Remove debug and properly pluralize hours/minutes/seconds
2010-02-18 16:01:46 +00:00
james
1a2fc19fca
convert judges scheduler status AJAX to JQuery
2010-02-18 15:54:31 +00:00
james
8e650a104d
Higher preference for having the right languages on a team
2010-02-17 18:59:56 +00:00
dave
573a580e3a
Add a small cost for judge teams with no experience, try to avoid that.
2010-02-17 18:34:35 +00:00
dave
d4782758aa
Don't use round2 scoring in the cost funciton if there is no round2
2010-02-17 18:34:29 +00:00
dave
147655171c
Skip round2 judge scheduling if no round2 timeslots are defined.
2010-02-17 18:24:07 +00:00
james
4c79d7482d
Change wording on the button to 'Generate Report' instead of 'Generate PDF' - report could be CSV, etc
2010-02-16 22:07:46 +00:00
james
58c321441d
Simplify table output - always quote fields with "quotes" and that way, if there's a quote on the inside, it'll properly be quoted as a double quote, and if its at the beginning, it'll be a triple quote and work properly-
...
eg:
"field1","""my title is in quotes""","another field"
2010-02-16 21:42:55 +00:00
james
2539a1726f
escape " with ""
2010-02-16 21:21:56 +00:00
james
d2a785acfb
if a user exists for the current fair year and is deleted when they try to register, simply undelete them
2010-02-16 17:58:14 +00:00
james
48361e5868
Use RFC822 file from RMail to parse out the proper return path and set it
2010-02-16 00:15:21 +00:00
james
1d0b469dac
If the username field isnt shown, then we always need to set the username to the email address when saved
2010-02-12 19:00:25 +00:00
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