Commit Graph

1468 Commits

Author SHA1 Message Date
james
9cee85a4f0 - chairemail -> chair_email 2009-09-27 08:38:44 +00:00
dave
e4c632a380 - Sneak a change into the db update, misnamed field 2009-09-27 08:25:22 +00:00
dave
5180c14b22 - Don't need this file either. 2009-09-27 03:08:05 +00:00
dave
aadf84754a - Rework the My Reports editor. with jquery it's 200 lines shorter now. :P 2009-09-27 03:07:39 +00:00
dave
9b1ea927e6 - Delete sponsor_confirmed entries from reports (it's in one system report),
that field doesn't exist anymore.
2009-09-27 02:55:08 +00:00
dave
fd045a51b4 - Make the report generator interface look a little saner 2009-09-27 01:20:12 +00:00
dave
39c350c91f - typo 2009-09-26 20:41:54 +00:00
dave
aaac5b4806 - Prevent a warning if the user has no types on delete 2009-09-26 20:41:36 +00:00
dave
64dba39a57 - fixup availablity and special awards selection 2009-09-26 20:39:52 +00:00
dave
c3e6e42d62 - Fix expertise 2009-09-26 20:24:38 +00:00
dave
211b5be1a5 - Fix the judge other info form, configurable questions are still broken 2009-09-26 19:22:30 +00:00
dave
d10c98f8fd - Only validate fields we care about, not any field we find in the loaded user 2009-09-26 18:18:43 +00:00
dave
c23ce973b1 - Change the default user list to show all users from all years
- Change the SQL query to use MAX(year), so that we really only show a single
  (non-deleted) entry for each user.
2009-09-26 17:59:50 +00:00
dave
22f75ffd1f Fix sponsor creation 2009-09-26 08:50:16 +00:00
dave
51eaad76a5 - Fix the trophy printing
- Fix the table updates on creating a new prize
2009-09-26 08:11:34 +00:00
dave
d77616a438 - Fix award info saving
- Fix clearing out divisons/categories
2009-09-26 00:10:57 +00:00
dave
c47f53ad93 - Fix rollover for award sources that are NULL
- Add 2 more fields to award rollover
2009-09-25 23:55:11 +00:00
dave
79c3f79e73 - Update the user activate/deactivate form 2009-09-25 23:23:10 +00:00
dave
40abe88ae4 - Update the fair info editor 2009-09-25 22:53:40 +00:00
dave
8c79d88b5a - Turn the personal editor into an ajax save
- Do away with the embed_submit_url, instead, since this could be called from
  inside /admin, or just /, we'll specifiy the full path to the php file.
2009-09-25 22:46:37 +00:00
dave
d821a6402e - Reverse the calling order too 2009-09-25 22:43:50 +00:00
dave
aecbabbb4a - reverse the timeout and i18n_array args, i18n should go first as it will be
used much more often.
2009-09-25 22:43:12 +00:00
dave
3d157f5341 - Put dob, not age on the form. SFIAB doesn't seem to use age. 2009-09-25 19:48:42 +00:00
dave
74629b8b5b - Client side support for downloading additional materials (in generated PDF
form) from an upstream server.
2009-09-25 19:15:43 +00:00
dave
bc3a0e8d67 - Add a nomination form as an example of "additional materials". And connect
everything up.  This is coincidentally the form we use for the provincal
  system in BC, but I made it generic.  :)
2009-09-25 19:14:37 +00:00
dave
3a921ba3bf - Add another arg to newPage to allow overriding the page number. Want to
create a single pdf with multiple forms for students, each form should start
  on page 1.
- Add a prevLine() function to go back a line.
- Switch the output mechanism to output to an array (and then print that
  array).  For remote transport to downstream SFIABs, we dont' want to output
  the PDF, we want to bundle up the data and return it via. json.  we do NOT
  want downstream fairs communicating directly with our PDF generator, nor do we
  want users of downstream fairs authenticating themselves, from their home browser, as 
  a fair.  The user talks to their SFIAB, that SFIAB goes through the
  remote.php authentication mechanism, and a PDF gets returned.
2009-09-25 19:13:29 +00:00
dave
49c2e06cb8 - Add a titch of spacing to the tableview, looks much better. 2009-09-25 16:36:36 +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
0f31f72f07 - Add two more fields:
- additional_materials: if there are additional materials required if a fair assigns a winner to this award.
	- register_winners: to tell the feeder fair that this award is for winners who will participate at the upstream fair
2009-09-25 04:29:41 +00:00
dave
25f19d9fbd - Enable the feeder_enable checkbox. There's no DB backend for it, it enables
the feeder fair input on click, or if a feeder fair ul/dl is already
  selected.
2009-09-24 01:39:05 +00:00
dave
b0e7715fb9 - Turn fair_save into an ajax query
- Add notification area and debug to the popup window, still an ugly hack.
- Add a checkbox to the feeder fair config to enable/disable the whole thing (will confuse people less, needs to be implemented)
- Also add a checkbox for signaling the feeder fair if there are additional materials for an assigned award.
2009-09-23 16:42:24 +00:00
dave
3c8b72a40f - Server side handling for category/divisions 2009-09-23 05:54:02 +00:00
dave
97c489646e - Turn the uploader into a popup window
- Add the ability to select category/division mappings specific for each upstream server
- Add some auto-determining code if the cat/div mappings don't exist
2009-09-23 05:53:33 +00:00
dave
32752f6e4e Rename the xmltransport to remote.php, we're not using XML at all. 2009-09-22 06:35:49 +00:00
dave
a5246f74e3 - Server-side prettying 2009-09-21 07:49:11 +00:00
dave
b7a30542d9 - Pretty it up a bit 2009-09-21 07:48:54 +00:00
dave
5ec38a7314 - Server-side award uploading. Tag registrations, proejcts, and students with
a fair_id.  This is ignored for regular operation, but now needed to have
  multiple students from multiple feeder fairs attached to the same award. (so
  we know which ones to delete when we update the winners)
2009-09-21 07:20:49 +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
0ce215b8bc - Remove debug line 2009-09-21 01:34:42 +00:00
dave
39fa2de7bd - Fix eligibility save 2009-09-21 01:33:55 +00:00
dave
fdeef1f273 - Ok, so jquery does do the right thing, we just have to be careful not to read
fields that may not exist.
2009-09-20 21:50:51 +00:00
dave
e07d24102c - Well, disabling the fields was a good idea, exept that serialize() skips over
the value but not the name, so it sets every disabled field to "" when
  passing the data to mysql.
2009-09-20 19:25:42 +00:00
dave
4308ee7b71 Change the happy_ style to white text on solid green. I think it looks better and is way more visible. What do you think james? 2009-09-20 18:54:22 +00:00
dave
1e1a7d6202 - Make the notice divs a bit easier to see (light yellow background)
- Don't reload tabs all the times, remember the current award_id for each tab
  and only reload if necessary
- Add a little notice for downloaded awards, telling the user why they can't edit some fields.
2009-09-20 18:45:32 +00:00
dave
5989a8c254 - More fixes for editting, we dont' actually download the description or award type, so let the user edit those. 2009-09-19 08:14:59 +00:00
dave
7a474046a5 - beginning of setting uneditable fields for downloaded awards. 2009-09-19 08:06:21 +00:00
dave
9e348d9b0c - For the first time probably ever, DELETE a config variable :O
- Rename the user/pass for fair type=ysc so it's more familiar (asks for YSC ID and pass)
- Convert cwsfregister to use the fair entry data.
2009-09-19 06:53:49 +00:00
dave
e141676259 - Implement the last 2 missing warnings from ysfstats.php
- Change the YSF 1click affiliation to point to fair_stats.php
- Add a hack in fair_stats.php to make it find and load the YSF stats on entry (on request).
- No need for ysfstats.php anymore.  The YSF fair has been added to everyone's
  SFIAB.  The last update ensures the password is there too. Verified that this
  works witht he GVRSF.  We could delete the YSF regionID and password now if we wanted from the config.
2009-09-19 06:36:22 +00:00
dave
b5430b08b3 - change ysf to ysc in the code too 2009-09-19 06:13:22 +00:00
dave
ed04710018 - Rename YSF to YSC
- Add the help websites we lost somewhere for STO and YSC
- Copy the $config ysf login data into the fairs data
2009-09-19 06:12:48 +00:00