Commit Graph

  • a5246f74e3 - Server-side prettying dave 2009-09-21 07:49:11 +00:00
  • b7a30542d9 - Pretty it up a bit dave 2009-09-21 07:48:54 +00:00
  • 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) dave 2009-09-21 07:20:49 +00:00
  • 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-- dave 2009-09-21 07:18:39 +00:00
  • 0ce215b8bc - Remove debug line dave 2009-09-21 01:34:42 +00:00
  • 39fa2de7bd - Fix eligibility save dave 2009-09-21 01:33:55 +00:00
  • fdeef1f273 - Ok, so jquery does do the right thing, we just have to be careful not to read fields that may not exist. dave 2009-09-20 21:50:51 +00:00
  • 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. dave 2009-09-20 19:25:42 +00:00
  • 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? dave 2009-09-20 18:54:22 +00:00
  • 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. dave 2009-09-20 18:45:32 +00:00
  • 5989a8c254 - More fixes for editting, we dont' actually download the description or award type, so let the user edit those. dave 2009-09-19 08:14:59 +00:00
  • 7a474046a5 - beginning of setting uneditable fields for downloaded awards. dave 2009-09-19 08:06:21 +00:00
  • 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. dave 2009-09-19 06:53:49 +00:00
  • 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. dave 2009-09-19 06:36:22 +00:00
  • b5430b08b3 - change ysf to ysc in the code too dave 2009-09-19 06:13:22 +00:00
  • 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 dave 2009-09-19 06:12:48 +00:00
  • bc646bc2dc Add the proper classes to use for the new message notifications.. and make the borders bigger so they stand out more hopefully james 2009-09-18 19:49:22 +00:00
  • 80264521dc revert last commit dave 2009-09-18 19:41:43 +00:00
  • 6a4645c770 - fix colliding class name dave 2009-09-18 19:39:31 +00:00
  • 8aabd98fe0 Use the happy_ and error_ functions and load the ajax into the debug div james 2009-09-18 19:25:26 +00:00
  • c1d7b8fc24 Commit working stuff for fundraising so i can update on lightbox james 2009-09-18 17:06:44 +00:00
  • 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 :) james 2009-09-18 15:57:35 +00:00
  • 51d3f692c7 Fix committee query in communication module james 2009-09-18 15:16:39 +00:00
  • 98755a5e4a Make sponsorships table able to handle either an organization sponsor (linked to sponsors) or an individual sponsor (linked to users) james 2009-09-18 15:12:10 +00:00
  • 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. dave 2009-09-18 07:50:32 +00:00
  • 7b22ff39e7 - Fancy new show effect... this one makes it much more visible. dave 2009-09-18 06:35:01 +00:00
  • 35ac906671 - Change the report name to be consistent with other naming dave 2009-09-18 05:37:21 +00:00
  • 7a2e0b2b7e - Add a feeder fair statisics report type and report dave 2009-09-18 05:35:13 +00:00
  • 6fb6b9b25f - Fix the two broken communication queries dave 2009-09-18 04:04:20 +00:00
  • ec748865b4 - Fix the notice in stats select dave 2009-09-18 03:30:15 +00:00
  • 20fe1d8b13 - Switch to a global message status area dave 2009-09-18 03:29:13 +00:00
  • de7d7eb4a7 remove the old dialog include james 2009-09-17 21:51:04 +00:00
  • b326d4468a Remove the old homebrew dialog james 2009-09-17 21:50:23 +00:00
  • 7a9df90f34 Allow add sponsor to be linked from other pages to open the dialog james 2009-09-17 21:49:39 +00:00
  • d51b2d9576 Update fundraising to use jquery dialogs instead of my homebrew dialogs james 2009-09-17 21:48:57 +00:00
  • 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 james 2009-09-17 20:37:44 +00:00
  • 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 james 2009-09-17 20:03:56 +00:00
  • 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 james 2009-09-17 19:31:32 +00:00
  • 99f1d4726c Make the default prize template editor work when accessed directly from the awards.php page james 2009-09-17 19:30:32 +00:00
  • cb5bb16953 Disable all the other tabs if editing the default prize template james 2009-09-17 19:25:14 +00:00
  • 8269821a69 blank line james 2009-09-17 19:06:31 +00:00
  • 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) james 2009-09-17 19:05:17 +00:00
  • 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) james 2009-09-17 18:50:37 +00:00
  • 715e72c0c8 Fix the buttons to work, remove the links james 2009-09-17 17:10:02 +00:00
  • 1513645e4a Put in a link to the fair stats dave 2009-09-17 07:56:06 +00:00
  • 38d3711ace - Send the stats gathering list from the fair info dave 2009-09-17 07:14:12 +00:00
  • cb6740fa6f - Update the fair stats to use the new list - Don't have curl dump debug info dave 2009-09-17 07:13:51 +00:00
  • 6bd4d03941 - Selection screen to select what stats to download from feeder fairs dave 2009-09-17 07:00:09 +00:00
  • 792a581357 Put the debug DIV in a sensible location dave 2009-09-17 06:48:52 +00:00
  • abd1fda6fe - Always scrub data before passing it to mysql dave 2009-09-17 05:53:47 +00:00
  • 0a9053181c - Fix a reference to the award external identifier - Move the nubmer of available prizes to the top so it's harder to miss. dave 2009-09-14 05:34:31 +00:00
  • 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). dave 2009-09-14 05:33:49 +00:00
  • 6a3eacaf9a - typo dave 2009-09-14 04:41:49 +00:00
  • a3f8957d96 - add the html for the registration linkage button. does nothing else yet. dave 2009-09-13 22:23:19 +00:00
  • 38fdd32f3a - Update xmltransport, which isn't really XML anymore, to use the fairs_awards_link table. Also send the upload_winners status (do I need to update an API spec somewhere?) dave 2009-09-13 22:04:27 +00:00
  • 1e830e47bc - Add support for setting the external identifier dave 2009-09-13 21:58:50 +00:00
  • d2535f46bc - Add status area on each page for award div - Redirect all ajax load output to a debug div (which can be turned on with debug=true). The output has to go somewhere, and it can't go to the notification div, because it will overwrite what's already there. The ajax methods emit javascript now to add notifications. dave 2009-09-13 19:25:03 +00:00
  • 1f830c7845 - Proof of concept floating status messages that go away after a timeout, in the same approx. spot that SFIAB has always put status messages. dave 2009-09-13 08:33:54 +00:00
  • e9d3d4ce03 - Database update for feeder fair award info - Load/Save feeder fair awards in the award editor - Fix all the POSTs in the award editor. .load automatically does a POST if the data is an array, so we need to call .serializeArray() when we want a post to happen. dave 2009-09-13 07:08:12 +00:00
  • 60146110b2 - Restore the admin table font size. dave 2009-09-11 17:52:30 +00:00
  • 99ad03654a switch the table class for the school list james 2009-09-11 16:18:47 +00:00
  • 5d5c91766a - Remove the order from the ajax save too dave 2009-09-11 06:36:16 +00:00
  • 1c70110680 Remove the order box from the award info, the main table supports drag and drop. dave 2009-09-11 06:35:49 +00:00
  • 986b762f4e - Move some GETs to POSTs - Sort out the header sizes, I think. dave 2009-09-11 06:12:17 +00:00
  • 8f29090c38 - Load .js for popups too, but pretty soon we won't need this popup function at all. dave 2009-09-11 06:11:43 +00:00
  • 34c3cb64db - Use existing classes instead of inventing new ones dave 2009-09-11 06:11:08 +00:00
  • 0cd1876f0f - Update the main theme to be a little more sane with fonts (i hope) - remove all references to htabs, we dont' need them anymore. dave 2009-09-11 06:03:00 +00:00
  • 1a2839b5b2 - Hack up the user editor window to use jquery ui tabs and ajax, sorta. More like a Frankenjax. Needs MAJOR help. dave 2009-09-11 06:01:01 +00:00
  • 29f0d1ac07 Helps if you use the right filename, definitely almost 2am james 2009-09-11 05:47:58 +00:00
  • 3d4f12117b oops, properl close the script tag james 2009-09-11 05:44:10 +00:00
  • dd51217bc0 Remove the old translationsdropdowns james 2009-09-11 05:38:29 +00:00
  • bef9c279ec rework/rename the translationeditor james 2009-09-11 05:33:41 +00:00
  • d17de3f6e6 Updated and working translations dropdown - simply add class="translatable" anywhere you want something translated james 2009-09-11 05:16:37 +00:00
  • 54739b72b5 Make the row being dragged a different colour dave 2009-09-11 04:18:12 +00:00
  • f260f5bf94 We don't need this file now dave 2009-09-10 22:52:48 +00:00
  • 8b9b029e31 - Use jqueryui's tab system instead of our own - Update the tab style so it doesn't look stupid. dave 2009-09-10 22:52:04 +00:00
  • 174d658f2d Start of a new trasnlation dropdown, commit so maybe dave can help :) james 2009-09-10 21:31:51 +00:00
  • 074d39171f - Implement the generic prize template editor (not fully tested) - Doesn't launch from awards.php yet for some reason. dave 2009-09-10 17:32:16 +00:00
  • 2270593d65 - Make eligibility saving work. dave 2009-09-10 08:56:58 +00:00
  • 74ec5fdcfb - don't need this file anymore, all the functionality (except validation) is implemented in award_awards.php dave 2009-09-10 08:30:07 +00:00
  • d50debde12 - Make the main award table sortable by dragging - Implement new/delete award (still needs some eyecandy) - Update the order tables to recalc the order without fetching it from the server - Only thing left to do is make sure saving eligiblity works. : dave 2009-09-10 08:29:16 +00:00
  • 0f16a90efc - Don't need to do this, the tabs will do it themselves dave 2009-09-10 08:26:24 +00:00
  • 860693eb14 add a tr:hover to the tableview class to make it easier to see what row you're hovering over james 2009-09-10 04:46:50 +00:00
  • f7bddf5beb Get rid of all occurences of viewtable and replace with tableview james 2009-09-10 04:40:18 +00:00
  • a2018771e7 Implement jquery datepicker! woohoo james 2009-09-10 04:24:47 +00:00
  • 80c743eb1a remove a debug statement dave 2009-09-10 01:24:57 +00:00
  • aa1d88f7d2 - Prize editor with movable tables. It's still a bit rough, more work needs to be done with turning on /offthings at the right time, but it's all there, and it all works. dave 2009-09-10 01:23:58 +00:00
  • 8b7a6e14b3 - Convert the popup to use the jquery ui popup - Theme the whole thing - Remvoe the translation dropdown support for now, it's causing a spurious reload replacing the endire page with a clickable "translations" link - Add code for the prize editor, not done yet. dave 2009-09-09 17:06:11 +00:00
  • 94ecb59321 Calculate the difference from the probability weighted totals james 2009-09-09 03:12:53 +00:00
  • 1c99f624e5 Fix contact to actually work with the new user code james 2009-09-09 03:05:45 +00:00
  • eb05b3eaa5 Add a nice notice about maybe making a backup before doing the rollover james 2009-09-09 02:50:00 +00:00
  • 5ec6879149 A couple fundraising changes for readability james 2009-09-09 02:39:22 +00:00
  • 183531ada0 Fix 131 james 2009-09-09 02:38:57 +00:00
  • 00d43f0e9a Fix two bugs in the rollover james 2009-09-09 01:57:22 +00:00
  • 2f0deca246 Update rollover script to roll sponsors & awards properly Switch all mysql_escape_string to mysql_real_escape_string james 2009-09-09 01:44:55 +00:00
  • 8ef4d37327 Lol oops i updated the version in the branch instead of head - now the version is bumped correctly james 2009-09-09 01:19:36 +00:00
  • 0e9334eaa1 change teh version to 2.2.9 for development in preparation of 2.3.0 james 2009-09-09 00:35:33 +00:00
  • f963dbf276 Merge all changes from branch r1284:1498 into trunk james 2009-09-09 00:26:12 +00:00
  • 2b10dc2131 - Add an example for how to use a draggable sortable list to the prize tag. - Add jquery-ui to the scripts, it has support for drag and drop, as well as windows, will convert the popup window to the jquery-ui version next, so we don't have to maintain our own. dave 2009-09-08 22:02:14 +00:00
  • daf3314c03 - Fix the sql database for hte last commit - move code around in curl for less indentation dave 2009-09-08 17:39:57 +00:00