80ff166203Set prize external_identifier on award download properly. Send proper xml array (prizes[0]prize[0], not prizes[0]prizes[0]) to ysc servers. Handle postback url properly (typo)
james
2010-03-30 16:47:30 +00:00
7cd9f21434Small wording fix for bug #461
jacob
2010-03-30 16:08:57 +00:00
e18264232dCWSF divisions changed this year, hopefully we catch this before many fairs used it :(
james
2010-03-30 15:06:08 +00:00
9935b92d31tcpdf based signature form that that is a replacement for the regular one (after all the fairs are over copy this file over register_participants_signature.pdf)
dave
2010-03-30 07:02:16 +00:00
a24df7f144Change header size, add custom footer.
dave
2010-03-30 07:02:15 +00:00
96601ce1f4Fix the top margin.
dave
2010-03-30 07:02:11 +00:00
cbab7c7fa8also convert an ending </div> into a newline when converting html to text
james
2010-03-30 04:39:56 +00:00
3fce787126Actually, wrap at 75 not 78, to leave room for a few quoted replies
james
2010-03-30 04:03:23 +00:00
3116d8f232When converting HTML to TEXT, wrap at 78 chars, some mail servers wont accept emails with very long lines
james
2010-03-30 04:01:38 +00:00
1e0c502de8reload the report list in the callback after the report list is saved, otherwise the reload causes a race condition with the json and (in my case) usually the reload wins.
james
2010-03-29 20:57:04 +00:00
da17e3461cShow the report name instead of the report id in the dialog title
james
2010-03-29 20:46:53 +00:00
6d4186182eShow the total number of prizes available for the award, instead of the number of prize records for the award (a single prize record can have mutliple prizes available).
james
2010-03-29 20:10:27 +00:00
ad7051a6c9Add Project -- Rank to student reports too, so it can be in the Special Award Nominations list given to judges.
james
2010-03-29 19:48:12 +00:00
caa761e34aProperly save username if different from email.. will probably depricate the whole username/email thing next year anyway
dave
2010-03-29 19:33:29 +00:00
74ea0b7050Only consider complete/paymentpending for tour scheduling.
dave
2010-03-29 07:50:49 +00:00
6ecfb4ab42Fix for bug #457 - Error in generating report that included the sponsor DB ID field
jacob
2010-03-26 17:41:44 +00:00
6e4d1018f8Fix for bug #460, missing column prevented the Judges report from generating successfully
jacob
2010-03-26 15:52:03 +00:00
14ea96dddcfix typo
dave
2010-03-26 06:12:42 +00:00
149cc6551fClarify the "go ahead anyway" message to include "the scheduelr may not work at all"
dave
2010-03-26 06:03:37 +00:00
5052234670Check for special award timeslots if the scheduler is configured to schedule special award judges
dave
2010-03-26 06:03:31 +00:00
9afcd82523Oops revert part of the last commit - that wasnt supposed to be there
james
2010-03-25 22:11:19 +00:00
096287908dDont show weird infinity / nan messages
james
2010-03-25 21:22:40 +00:00
a3417c7a50Add a parameter to the launcher just so we can tell which fair its running for
james
2010-03-25 20:52:40 +00:00
bf0d2bb1deAdd //TRANSLIT to the conversion fields on the administrator's student editor as well
james
2010-03-25 14:29:09 +00:00
c9f5c0164fFix smart quotes and funky ms characters in the new administrator's project editor (for title and summary) as well
james
2010-03-25 14:27:13 +00:00
07902b107eFix smart-quotes and other funky characters in email messages - need to //TRANSLIT convert _before_ escaping for the query
james
2010-03-25 14:23:25 +00:00
9b10cdcdc0Don't let anyone even turn on this option
dave
2010-03-25 04:34:22 +00:00
8ee1f36f90TCPDF support library and label generation code that uses TCPDF. All other stuff still works, this only adds on. And on second thought, I should probably disable the report type that would let someone use this.
dave
2010-03-25 04:27:33 +00:00
be6c5a27c9Ignore email addreses that start with a *
dave
2010-03-25 04:27:31 +00:00
a28b0e8444Formatting cleanups and style cleanups Also moved the school to be beside the first students name instead of beside the project title -- i was seeing a LOT of projects with long titles overlapping with the school name.
james
2010-03-23 17:30:19 +00:00
ea58b4b6a8Add a "setDefaultFontSize" function to lpdf, and set it to something reasonable for backwards compatability Update lpdf's table functions to honour the default font size setting.
james
2010-03-23 16:42:59 +00:00
b34ad909b5Add an empty "Rank" column for judges to specify the rank of a project
james
2010-03-23 16:03:28 +00:00
6635115ab9Upgrade TCPDF
dave
2010-03-23 08:15:07 +00:00
b5c795b317addTextX function added
idziak
2010-03-22 02:20:04 +00:00
96c3b65cd5Start uploaded winners as "open", not "new", so if it's an upload for a winner that needs to login, it won't create a new student for them, the student already exists.
dave
2010-03-20 06:08:47 +00:00
d3c0746949Allow committee to save xsmall tshirts too
dave
2010-03-19 16:12:41 +00:00
1e4b1d4e2ai18n() all the info on the login page
james
2010-03-18 15:16:45 +00:00
72bb303da6Add a judge scheudle page that lists the times, teams, and projects (with a link to a project info page) the judge will judge Put a link on the main judge page, and a bigger link if they've actually been assigned to a judging team.
dave
2010-03-18 05:22:56 +00:00
b5a67ca301Fix missing space
james
2010-03-16 16:57:39 +00:00
25d2b4297dFormatting cleanup
james
2010-03-16 16:49:40 +00:00
76eefdf3cdPut custom reports back in
dave
2010-03-15 06:02:25 +00:00
adf606f0d3Backout the patch, but leave the complete status removal there
dave
2010-03-12 08:05:44 +00:00
a4e5761788Remove the sub-query from the user list, significantly speeds it up. And, dont' show complete status for user types that don't need it.
dave
2010-03-12 05:53:03 +00:00
af4b50ace0Add a script to manually rollover schools, seems i need to do this in many fairs that rolled over when the rollover was b0rked
james
2010-03-05 16:34:52 +00:00
61f54e1fd9Add svn:ignore * property to the data/ folder!
james
2010-03-05 16:29:55 +00:00
b99f730a71Fix character encoding problems in student editor and project editor
james
2010-03-03 20:13:46 +00:00
6def9680bcFix translations for awards and award prizes Also fix translations editor when the first language has an accent
james
2010-03-03 19:25:19 +00:00
217ce8e175And finally, update the db, which resyncs my git to svn HEAD. :)
dave
2010-03-02 22:55:51 +00:00
af96e75f25And finally the db file
dave
2010-03-02 22:50:52 +00:00
e9398f4895UPdate code version
dave
2010-03-02 22:50:51 +00:00
05fe375d3aMultipart commit because I messed up part of my git tree. Implement including award criteria in AC script, off by default
dave
2010-03-02 22:50:49 +00:00
471b358f2fAparently 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
james
2010-03-02 20:18:39 +00:00
b49634f038+ and ^ are special cases, need to go at the beginning of a []
dave
2010-03-02 00:07:16 +00:00
c09e70d3e6+ in the name, not the domain
dave
2010-03-01 23:50:48 +00:00
1e73f06d8bAllow + in email addresses
dave
2010-03-01 22:17:38 +00:00
3832e64600Filter by team id so we don't print all teams
james
2010-02-25 21:23:11 +00:00
0fbf664f67Change 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
james
2010-02-25 15:44:04 +00:00
ab60a0f389Get rid of the debug for now, it breaks functions that return json.
james
2010-02-24 01:24:13 +00:00
cf19eacd43Remvove the data dump at the bottom of the send stats
dave
2010-02-23 20:00:54 +00:00
09f1984987Fix saving next_chair stats
dave
2010-02-23 19:58:09 +00:00
a16e749d9fRemove debug line, fix tab indent
dave
2010-02-23 19:58:07 +00:00
c284fed0f5Add a debug_() routine and use it in curl
dave
2010-02-23 19:58:06 +00:00
f4d2d636d8By 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
james
2010-02-22 20:26:23 +00:00
de761c8b3eUpdate 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).
dave
2010-02-22 18:45:58 +00:00
89547f902aSome 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.
dave
2010-02-22 18:45:57 +00:00
15c9c5619aDatabase table for computing floor locations
dave
2010-02-22 18:45:55 +00:00
1849d0362cNot sure where these came from, maybe a bad merge from old code?
dave
2010-02-22 18:13:14 +00:00
538c2ae066Use array_splice to compute new lists... much shorter code, and probably a lot faster.
dave
2010-02-22 18:13:11 +00:00
61aee7f487Fix 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.
dave
2010-02-20 00:45:59 +00:00
910c9e85b0Allow an override to start the scheduler even if things dont look good
james
2010-02-18 16:44:42 +00:00
74905273ccIf 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!
james
2010-02-18 16:13:36 +00:00
21ea57a661Remove debug and properly pluralize hours/minutes/seconds
james
2010-02-18 16:01:46 +00:00
1a2fc19fcaconvert judges scheduler status AJAX to JQuery
james
2010-02-18 15:54:31 +00:00
8e650a104dHigher preference for having the right languages on a team
james
2010-02-17 18:59:56 +00:00
573a580e3aAdd a small cost for judge teams with no experience, try to avoid that.
dave
2010-02-17 18:34:35 +00:00
d4782758aaDon't use round2 scoring in the cost funciton if there is no round2
dave
2010-02-17 18:34:29 +00:00
147655171cSkip round2 judge scheduling if no round2 timeslots are defined.
dave
2010-02-17 18:24:07 +00:00
4c79d7482dChange wording on the button to 'Generate Report' instead of 'Generate PDF' - report could be CSV, etc
james
2010-02-16 22:07:46 +00:00
58c321441dSimplify 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"
james
2010-02-16 21:42:55 +00:00
2539a1726fescape " with ""
james
2010-02-16 21:21:56 +00:00
d2a785acfbif a user exists for the current fair year and is deleted when they try to register, simply undelete them
james
2010-02-16 17:58:14 +00:00
48361e5868Use RFC822 file from RMail to parse out the proper return path and set it
james
2010-02-16 00:15:21 +00:00
1d0b469dacIf the username field isnt shown, then we always need to set the username to the email address when saved
james
2010-02-12 19:00:25 +00:00
ba8c8f91cbSet the return path and bounce-to for emails being sent out
james
2010-02-12 18:32:58 +00:00
1768fffb2bProperly escape the email name in the javascript function, and htmlspecialchars the name in the output
james
2010-02-12 18:24:22 +00:00
0f746fb914Re-organize the main index page - move feeder/upstream fairs down to where the upload stats is
james
2010-02-12 17:19:29 +00:00
47a8a3019aRemove one click ysc affiliation - they can use the upload fair statistics icon
james
2010-02-12 17:16:05 +00:00
b362099af3If 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.
james
2010-02-12 17:05:18 +00:00
1e350cba20Fix another YSF->YSC
james
2010-02-12 16:49:55 +00:00
9499418eeaRemove config->external award sources from CONFIG Remove award_sources table from database Rename STO->YSO and YSF->YSC
james
2010-02-12 16:48:45 +00:00
b2c6729defFix identification of externally downloaded awards in the awards list
james
2010-02-12 16:46:05 +00:00
71509f3f16Fix the downloaded prize array for awards with >1 prize. For STO this actually doesn't matter there's only one prize for each award.
dave
2010-02-12 14:16:19 +00:00
1ab43fef68Recover missed commit for YSC awards downloading and winners upload.
dave
2010-02-12 05:34:12 +00:00
615c265d00Allow the addition of a committee role to an existing user.
dave
2010-02-11 22:39:15 +00:00
8b4c8297b1Use Youth Science Canada (or YSC) instead of YSF
james
2010-02-11 22:35:57 +00:00
f558a5d8b8If a group by column has a exec_function, call the exec_function on the table group heading before outputting it
james
2010-02-11 21:36:11 +00:00