Commit Graph

1290 Commits

Author SHA1 Message Date
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
james
bc646bc2dc Add the proper classes to use for the new message notifications.. and make the borders bigger so they stand out more hopefully 2009-09-18 19:49:22 +00:00
dave
80264521dc revert last commit 2009-09-18 19:41:43 +00:00
dave
6a4645c770 - fix colliding class name 2009-09-18 19:39:31 +00:00
james
8aabd98fe0 Use the happy_ and error_ functions and load the ajax into the debug div 2009-09-18 19:25:26 +00:00
james
c1d7b8fc24 Commit working stuff for fundraising so i can update on lightbox 2009-09-18 17:06:44 +00:00
james
17c3e4a732 Start fixing hte sponsor queries, add some debugging so we can see who's in the lists, commit so i can get daves help :) 2009-09-18 15:57:35 +00:00
james
51d3f692c7 Fix committee query in communication module 2009-09-18 15:16:39 +00:00
james
98755a5e4a Make sponsorships table able to handle either an organization sponsor (linked to sponsors) or an individual sponsor (linked to users) 2009-09-18 15:12:10 +00:00
dave
2762a12eb0 - Add a notice_ javascript function for testing, yup, it works
- Reimplement the new award functionality
- Fix the reloading of the dialog by disabling all tabs and reselecting one.  It works properly now.
2009-09-18 07:50:32 +00:00
dave
7b22ff39e7 - Fancy new show effect... this one makes it much more visible. 2009-09-18 06:35:01 +00:00
dave
35ac906671 - Change the report name to be consistent with other naming 2009-09-18 05:37:21 +00:00
dave
7a2e0b2b7e - Add a feeder fair statisics report type and report 2009-09-18 05:35:13 +00:00
dave
6fb6b9b25f - Fix the two broken communication queries 2009-09-18 04:04:20 +00:00
dave
ec748865b4 - Fix the notice in stats select 2009-09-18 03:30:15 +00:00
dave
20fe1d8b13 - Switch to a global message status area 2009-09-18 03:29:13 +00:00
james
de7d7eb4a7 remove the old dialog include 2009-09-17 21:51:04 +00:00
james
b326d4468a Remove the old homebrew dialog 2009-09-17 21:50:23 +00:00
james
7a9df90f34 Allow add sponsor to be linked from other pages to open the dialog 2009-09-17 21:49:39 +00:00
james
d51b2d9576 Update fundraising to use jquery dialogs instead of my homebrew dialogs 2009-09-17 21:48:57 +00:00
james
ca9b2bb5a1 List the sponsor contacts, all the links still go to the old sponsor_contacts page to be edited, its ugly and gross but at least its accessible 2009-09-17 20:37:44 +00:00
james
ed72fb3944 Add ability to create new sponsors usign the popup editor - basically it posts a sponsor_id=-1 and which causes it to insert a new record, then do the normal save, then it closes and re-opens the editor with the id that is returned by the save post via json 2009-09-17 20:03:56 +00:00
james
c3b532b161 Move awards management to the top - its what will be used the most from here
Rename award sponsors to just sponsors, as it now does all types of sponsors
Remove the sponsor contacts, they will shortly be accessible via a tab of the sponsors editor
2009-09-17 19:31:32 +00:00
james
99f1d4726c Make the default prize template editor work when accessed directly from the awards.php page 2009-09-17 19:30:32 +00:00
james
cb5bb16953 Disable all the other tabs if editing the default prize template 2009-09-17 19:25:14 +00:00
james
8269821a69 blank line 2009-09-17 19:06:31 +00:00
james
b88e10120a Set the datepicker z-indez so its above the dialogs (so when used within a dialog it wont be below it)
Change the width of the translations dialog, so when used from within another dialog (at 0.8) it looks more distinctly a different dialog (at 0.6)

First go at converting the sponsor editor to a tabbed interface, so far the sponsor info tab works and saves but thats it.
2009-09-17 19:05:17 +00:00
james
7b068cd83f Load the information into the tab when the dialog is opened (fixes it not reloading the data when you close and reopen the dialog) 2009-09-17 18:50:37 +00:00
james
715e72c0c8 Fix the buttons to work, remove the links 2009-09-17 17:10:02 +00:00