james
af4b50ace0
Add a script to manually rollover schools, seems i need to do this in many fairs that rolled over when the rollover was b0rked
2010-03-05 16:34:52 +00:00
james
61f54e1fd9
Add svn:ignore * property to the data/ folder!
2010-03-05 16:29:55 +00:00
james
b99f730a71
Fix character encoding problems in student editor and project editor
2010-03-03 20:13:46 +00:00
james
6def9680bc
Fix translations for awards and award prizes
...
Also fix translations editor when the first language has an accent
2010-03-03 19:25:19 +00:00
dave
217ce8e175
And finally, update the db, which resyncs my git to svn HEAD. :)
2010-03-02 22:55:51 +00:00
dave
af96e75f25
And finally the db file
2010-03-02 22:50:52 +00:00
dave
e9398f4895
UPdate code version
2010-03-02 22:50:51 +00:00
dave
05fe375d3a
Multipart commit because I messed up part of my git tree. Implement
...
including award criteria in AC script, off by default
2010-03-02 22:50:49 +00:00
james
471b358f2f
Aparently some emails use "webmaster@sfiab.ca" -- wipe that out as well to force them to set a proper from address or use the fair manager's email
2010-03-02 20:18:39 +00:00
dave
b49634f038
+ and ^ are special cases, need to go at the beginning of a []
2010-03-02 00:07:16 +00:00
dave
c09e70d3e6
+ in the name, not the domain
2010-03-01 23:50:48 +00:00
dave
1e73f06d8b
Allow + in email addresses
2010-03-01 22:17:38 +00:00
james
3832e64600
Filter by team id so we don't print all teams
2010-02-25 21:23:11 +00:00
james
0fbf664f67
Change JOIN to LEFT JOIN for donation/sponsorship list in the case that they don't specify an appeal.
...
Add ability to REMOVE a donation
Add activitylog for both adding and removing donations
2010-02-25 15:44:04 +00:00
james
ab60a0f389
Get rid of the debug for now, it breaks functions that return json.
2010-02-24 01:24:13 +00:00
dave
cf19eacd43
Remvove the data dump at the bottom of the send stats
2010-02-23 20:00:54 +00:00
dave
09f1984987
Fix saving next_chair stats
2010-02-23 19:58:09 +00:00
dave
a16e749d9f
Remove debug line, fix tab indent
2010-02-23 19:58:07 +00:00
dave
c284fed0f5
Add a debug_() routine and use it in curl
2010-02-23 19:58:06 +00:00
james
f4d2d636d8
By default, turn ON all eligibility in divs/cats for downloaded awards.. so
...
fairs don't wonder why they can't assign any winners to these awards. In other
words, make it "just work". :p
2010-02-22 20:26:23 +00:00
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