Commit Graph

27 Commits

Author SHA1 Message Date
jacob
b9bcb127a6 Updated these tables to include the conference id:
award_awards
	award_prizes
	award_types
	award_awards_projectcategories
	award_awards_projectdivisions
	winners
	students
	projects
	registrations

Also modified all code that uses those tables to work with the conference id
instead of the year, with the exception of these files:
	communication.inc.php
	reports_students.inc.php
	rerollprizes.php
	remote.php
The "rerollprizes.php" probably doesn't matter, having been a one-time usage
file anyway.  The others will need to be modified in the future to correctly
use the conference id instead of the year.
2010-10-20 21:58:26 +00:00
dave
ad0468e4e1 Convert to new user_auth_required. Some report edits too that I don't
feel like filtering out
2010-07-13 03:30:17 +00:00
dave
2a93723a45 On second thought, move the award delete and award prize delete into a
separate file, since they're used in two places (by the downloader and
by the editor).   Update the award and prize delete routine to also
delete the winner linkage.
2010-04-22 05:09:50 +00:00
dave
a809f80087 Also delete the division and category linkage 2010-04-22 05:09:48 +00:00
dave
c3fe929796 THe ID of the award to delete is the key, not the value (which is always
'true').
2010-04-22 04:39:27 +00:00
dave
6bdbc85829 Download schedule_judges and self_nominate for awards too 2010-04-03 16:46:43 +00:00
jacob
4ad5ec9d68 Made tables of the "tableview" class sortable 2010-03-31 18:44:42 +00:00
james
80ff166203 Set 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) 2010-03-30 16:47:30 +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
1ab43fef68 Recover missed commit for YSC awards downloading and winners upload. 2010-02-12 05:34:12 +00:00
james
357263a20b Some extra debug info added while fixing northern bc 2010-01-12 06:43:22 +00:00
dave
59942138d9 - Download trohpy status from the server 2009-11-02 05:45:08 +00:00
dave
22f75ffd1f Fix sponsor creation 2009-09-26 08:50:16 +00:00
dave
40789fc92c - remove the download all link.. for now, upload all as well.
- support the new 2 fields downloading awards
- send the download output into a div ont he same screen, rather than on a whole new screen.
2009-09-25 07:11:43 +00:00
dave
91338e7590 - Client-side award uploader for sfiab-sfiab. Hopfully I didn't break the YSC
XML transport (too badly).  Still needs client status messages, but it works,
  and matches projects and schools.  
--This line, and those below, will be  ignored--

M    admin/award_upload.php
M    admin/award_download.php
2009-09-21 07:18:39 +00:00
dave
b5430b08b3 - change ysf to ysc in the code too 2009-09-19 06:13:22 +00:00
dave
347d2d5a86 - Use the prize name, rather than the external_identifier to identify the prize. It only has to be unique within each award, which it will be (all prizes should have a name). 2009-09-14 05:33:49 +00:00
james
f963dbf276 Merge all changes from branch r1284:1498 into trunk 2009-09-09 00:26:12 +00:00
james
91270b79ac Don't verify the SSL certificate - temporary workaround for CURL's ca-cert bundle not properly authetnicating the YSF SSL cert. 2009-02-11 22:41:18 +00:00
james
fab18eb0c7 Add enabled and website (for help) to external sources
Update source editor
Make downloader only check enabled source
Make downloader check for username/password before attempting
Add extra instructions
2007-11-29 18:38:06 +00:00
james
566c1d1573 Show awards imported from external sources differently in the awards list
Better handle award identifiers
Add a missing <br /> on import
2007-11-28 21:55:14 +00:00
james
3f3d242f6d Dont try to process awards if there is no awards to process
Change the class on the prize edit page to be tableview and tableedit instead of summarytable and none (for consistency with the awards page)
2007-11-28 21:04:36 +00:00
james
325c909432 Dont check CURL support inside the loop and dont allow checking to be called without CURL support
Remove awards that were previously added but now dissappeared from the XML import
2007-11-28 18:46:32 +00:00
james
4917bc3a75 Fix postback field on award update 2007-11-27 23:02:40 +00:00
james
c7a3628f4a Update the sponsor if it changes for an existing award
Dont check year on the sponsors table
2007-11-27 22:55:45 +00:00
james
0f198346aa Update fake scripts for 2008
Add external award downloader functionality
2007-11-27 22:47:06 +00:00
james
33471e80ee Add award source configuration
Add stub for award downloader
2007-11-23 22:07:55 +00:00