Commit Graph

807 Commits

Author SHA1 Message Date
dave
8b3cd2a289 Only show fair projects if a fair logs in and uses the reg list 2010-01-24 06:47:11 +00:00
james
ff01502192 If there are no feeder fairs, dont let them choose any, infact, hide the option completely 2010-01-22 19:56:59 +00:00
dave
f695306f92 Add a "new project" feature. 2010-01-22 19:26:35 +00:00
dave
4739e3fdf0 Add a Registration tab to the student editor (regnum, fair, status) 2010-01-22 19:26:31 +00:00
james
eb2f9e769f Fix the custom judge report -its the only way to get div/cat/lang prefs, and the answers to judge questions 2010-01-22 17:43:43 +00:00
dave
41347c1934 Add missing file 2010-01-21 21:58:02 +00:00
james
ca8ff11d71 More IE7 fixes (extra commas!) 2010-01-21 20:56:06 +00:00
james
7a9ead99ea Fix registration list to work with IE7 2010-01-21 20:52:59 +00:00
james
b3db4fb5f6 Fix awards page to work with IE7 -- removed extraneous comma's at end of object/arrays 2010-01-21 20:48:18 +00:00
dave
931c9603b3 Save first, then fix the title 2010-01-21 20:33:04 +00:00
dave
45587ee2f4 Fix the title 2010-01-21 20:33:03 +00:00
dave
e53a7056e9 Change pointers to the stats list 2010-01-21 20:33:02 +00:00
dave
1f138e52ef Save the file before committing 2010-01-21 20:33:01 +00:00
dave
997b54e854 New ajax reg list, prevents reloading the list on edit. Move all the stats stuff out. 2010-01-21 20:32:59 +00:00
dave
bc9bfde34f Turn student_editor.php into a set of ajax calls 2010-01-21 20:32:58 +00:00
dave
b15ad9a7e0 Turn project_editor.php into ajax handlers 2010-01-21 20:32:57 +00:00
james
3ebb655d08 Hmmm, add some missins stripslashes.. stupid fucking magic quotes 2010-01-19 04:32:12 +00:00
james
de835bf5f5 Add some instructions to the judge divisions groupings page - nobody knows what the heck to do with jdiv groups 2010-01-19 04:14:53 +00:00
james
91cbf39f61 Use localized dates/times on judges pages 2010-01-19 03:42:25 +00:00
james
214df4ddbf Fix a bug where awards that didtn have a sponsor set didnt show up in the list, also, do the same for award types, though award types hsould never be empty... 2010-01-19 03:29:29 +00:00
james
c67488d375 If availability is disabled, dont fail loading judges
Fix the team languages array
Fix the timeslots checks for schedulerconfig (need round AND timeslots, not just a round)
2010-01-18 16:24:34 +00:00
james
7e6795fd0d Since the previous bug where judge complete status was wrong, we need a chance to recalculate them all, so lets just do it here for now. 2010-01-15 15:39:36 +00:00
james
c729e0f8da Dont let the scheduler run if we have 0 judges available - timmins was in an endless loop since last nite 2010-01-15 14:53:24 +00:00
james
e6b24ff0ab Remove the edit icon (you now click anywhere on the row) and fix disabling fields for non-downloaded awards (=0, not null) 2010-01-14 18:55:23 +00:00
james
357263a20b Some extra debug info added while fixing northern bc 2010-01-12 06:43:22 +00:00
james
591f46b29d Properly count the number of judges in each language to check if we have enough 2010-01-08 20:25:40 +00:00
james
d8ba3da289 Remove more debugging 2010-01-05 18:02:24 +00:00
james
35a247e225 remove debuging 2010-01-05 17:59:10 +00:00
james
3f94324aba JOIN instead of LEFT JOIN on committee members link, incase a member has been deleted we dont want a blank record..
though.. if they have been deleted we should probably delete the link.. hmmm.. well.. this will hide it for now.
2010-01-04 17:51:55 +00:00
james
a6a7d6ffe2 More invalid backslashes 2009-12-16 19:11:00 +00:00
james
df0120dd0b Special chars the stock (so & converts to &)
Add some newlines.. still trying to fix IE7...
2009-12-16 18:49:53 +00:00
james
3763f76ea9 Remove extra backslashes - trying to fix IE7.... 2009-12-16 18:43:57 +00:00
james
b14b0eb356 Fix the dropdowns 2009-12-16 18:12:28 +00:00
james
c3ed887dca I think this fixes the query, at least temporarily, until we really fix the whole user/year system 2009-12-04 17:22:55 +00:00
james
3da935eaff Switch fundraising dashboard to be ajax'ed and add the ability to mark thankyou's as done. 2009-12-03 21:53:01 +00:00
james
df3cd54701 Fix escaping on one-off emails 2009-12-03 21:12:13 +00:00
james
684a7962f2 Set the database charset in the UPDATE script so the conversions will actually work - that only took 8 hours to figure out! 2009-12-03 20:55:16 +00:00
james
fde1debf6d COnversion script to convert all emails to UTF8, but still display properly on the site by back-encoding them to ISO-8859-1 (until such a time that we can switch the entire system to UTF8) 2009-12-03 19:41:25 +00:00
james
c0f6031904 FCKEditor always does UTF8, so force the Rmail encoding into that
Also calculate the email TEXT from the email HTML, its not perfect but pretty darn good.

TODO: need to do an update script that converts the encoding of ALL existing emails in the databse from ISO-8859-1 to UTF-8
DO NOT UPDATE TO THIS VERSION UNTIL I CAN ADD THAT CONVERSION SCRIPT
2009-12-02 23:11:25 +00:00
james
148bc61320 Don't need this file anymore :) 2009-12-02 22:19:42 +00:00
james
99114c7242 Completely convert the old communication module over to the new system... (almost).
TODO: switch the "send" to the new dialog-style preview and confirmation, instead of the old one, but at least it works!
2009-12-02 22:17:20 +00:00
dave
06d9e74190 - Pull the science head user properly for the school table display. 2009-12-02 01:22:47 +00:00
james
e9e04ad944 Add a link to the status page from the main communication page, since it now has history as well 2009-12-01 22:07:50 +00:00
james
01b05576b5 Remove some debug 2009-12-01 22:04:23 +00:00
james
838f61a948 Working email sending from fundraising module, and implement new emailqueue system. None of the existing emails are migrated to the new system yet, and both old and new work in parallel until we can finish migration 2009-12-01 22:02:03 +00:00
james
9bad26096d Tweak the avery 5162 template a bit, lines up perfectly now 2009-11-30 18:46:48 +00:00
dave
2adc23658f - Explain that option a bit more. 2009-11-06 09:00:02 +00:00
dave
bf3485c24a - Add an advanced options tab to the report generator
- Add an advanced option: Include Incompelete Registrations - Ignores the
  registrations.status and just includes everyone.  Downside: registrations
  must have a division and category selected because the mysql query matches on
  cat.year and div.year too.
2009-11-06 08:57:13 +00:00
dave
ba808050d0 - Use the report generator dialog all the time 2009-11-06 08:24:54 +00:00
james
62fc1a9cb2 - Add stats to the user editor window
- Go right to the fair editor from the Admin panel.
2009-11-06 07:32:51 +00:00
james
2de42b9377 Dont' change the font size on the my reports list, it's small enough now. 2009-11-06 04:26:30 +00:00
dave
59942138d9 - Download trohpy status from the server 2009-11-02 05:45:08 +00:00
james
1e0f079c01 use UID not ID when posting title and sort orders, now saving acgtually works 2009-10-29 21:02:17 +00:00
james
a4fbff953c Add a link to reload list (we severly need to fix this whole page!)
Show email addresses in the management list as well, so when we add users and dotn give them names they wont just show blank.
2009-10-29 17:16:47 +00:00
james
ec5ab0a26b Fix a few other popup windows for IE 2009-10-29 17:07:56 +00:00
james
bb7cfe3629 Second arg for popup windows cant have spaces, its an internal window name, IE errors out when it sees a space
Also, focus the popup window once its loaded, incase they have it open still in behind
2009-10-29 17:05:15 +00:00
james
cf6bea5727 stripslashes 2009-10-22 20:40:35 +00:00
james
45e18745ba Don't display my debugging stuff in the communication module 2009-10-22 17:12:23 +00:00
james
85adcf0594 Revert the body of the normal communication module to plain text, until the html sending is implemented 2009-10-22 17:10:38 +00:00
james
a3ab3b8b74 Add a note that sending isnt enabled yet 2009-10-22 17:08:50 +00:00
james
c9db2c0f83 Update 131 update to properly create the sponsorship logs and award donations for past years
Update the search results to LEFT JOIN the user, instead of JOINING
Add some missing i18n's and fix some typos
2009-10-22 16:46:32 +00:00
james
ac3f5f9eb4 Add todo list for receipts and database to track receipts 2009-10-20 19:09:54 +00:00
james
ee995654b3 Add missing fields to dashboard 2009-10-20 18:55:17 +00:00
james
395ed4d084 Uncommitted changes to fundraising reports 2009-10-16 21:19:37 +00:00
dave
f73215fede - Enable maxyear user filtering. unfortunately it needs to be specified
manually (done this way because i don't want to start integrating changes
  with the report system right now.)
2009-10-16 18:39:39 +00:00
james
9e0ea3bafd - Properly specify the filter for reports 2009-10-16 18:18:38 +00:00
james
1d92fd27f0 Working first report 2009-10-16 17:53:59 +00:00
james
c20b474b1c - Different downloading method 2009-10-16 17:46:26 +00:00
dave
4efb335654 - Add a report for fundraising mail labels
- Add the ability to specify a filter when calling for a report generation
  (e.g., so we can dynamically filter a report for a specific fundraising
  campaign)
2009-10-16 17:17:45 +00:00
james
5da58aeb12 Add a fundraising reports MOCKUP page so carolyn can take screenshots and link it into the menu 2009-10-16 15:43:26 +00:00
james
b240e36f19 htmlspecialchars the from and subject of communications 2009-10-16 15:23:21 +00:00
james
5d9824a5a6 Rework the donors search/landing page so it shows top 10 donors if no search is performed yet
Fix a few typo's and make the fundingselection/proposalsubmissiondate save properly
2009-10-16 15:22:54 +00:00
james
7b4e7cd55f Remove references to 'Email' -- communication could be a snail mail generated pdf letter
Make the field list insert work :)
2009-10-16 15:21:58 +00:00
dave
52b7580dcb - Replacement for PDF generation. 2009-10-16 06:16:48 +00:00
dave
345729523e - Commit all of TCPDF for now
- A working bare-bones letter generator.  Not done (no variable substitutions yet), but it does work.
2009-10-16 05:22:43 +00:00
james
b2e7797a24 Fix saving with apostrophes 2009-10-15 21:58:51 +00:00
james
566ae2d67f Fix saving of city and province and address info 2009-10-15 18:36:50 +00:00
james
ff7ab6f079 Oops disabled position at the wrong place - its now properly disabled for individuals not organizations 2009-10-15 18:03:54 +00:00
dave
cf5c31464e - Add a #content iframe to the toplevel, hidden, width,hight=0,0
- Add a report generator dialog box that uses the content iframe for file downloads
- The content iframe also works for creating dynamic content
- Try to make FCKEditor work with jquery, it still doesn't.  The content of FCKEditor isn't passed
  through serializeArray it seems.
2009-10-15 07:11:43 +00:00
james
8737163202 - tweak the editor a bit 2009-10-14 19:48:40 +00:00
james
0d6c0610c3 Fix a bug causing donations to not show up 2009-10-14 16:17:49 +00:00
james
547d30d490 Reenable FCK editor in the email editor 2009-10-14 04:58:52 +00:00
james
2ef6d527d3 - Remove debug line 2009-10-14 04:57:22 +00:00
james
51f95911ad - pass fundraising ids and keys into the editor.
- create new communication, clone, and save now work
2009-10-14 04:56:28 +00:00
james
03032c1d54 - Use empty() to empty out the div for the dialog
- Implement saving, properly close the comm dialog
- Remove unnecessary buttons from fckeditor (may need to dump the cache and reload, shift-reload isn't smart enough to catch the updated config)
2009-10-14 03:25:47 +00:00
james
60d8922ff2 Implement adding donations and add some misisng i18ns 2009-10-13 01:02:17 +00:00
james
ebf6c0e79b Update fundraising dashboard and colourchange overdue thankyous 2009-10-13 01:01:48 +00:00
james
f4829bfd9e Mostly working communications tab - now need to make the stuff on it work.
Also almost working donations entyr, which im going to finish right now
2009-10-12 20:25:02 +00:00
james
724c627db4 Implement current/past donations for donors on the donors/sponsorships tab, and a way to switch between this year, and ALL years history 2009-10-11 20:20:52 +00:00
james
bdf2ea7577 Donations tab for campaigns 2009-10-11 19:49:04 +00:00
james
c9062e127b Implement working prospect list, and ability to remove indidivuals from the list or empty the entire list 2009-10-11 18:19:04 +00:00
james
663420b078 All of tonights wackload of changes 2009-10-11 03:32:14 +00:00
james
9a62fbc26d Updates to donor manager, auto populate individual contacts and disable fields that shouldnt be used for individuals 2009-10-10 23:36:48 +00:00
james
f6fcb2d728 Fix document downloader with spaces in the filenames (put quotes around the filename in the http headers) 2009-10-09 20:27:32 +00:00
james
8ea2823bf1 bloody hell.. more renaming Campaign->Appeal, Goal->Purpose
Begin the actual donations/sponsorships page for donors
Remove students from prospecting, set it to alumni, which wont be active for a while
2009-10-09 20:25:01 +00:00
james
081bc1b187 Really make sure they cant add auser with an email address that already exists 2009-10-09 15:47:25 +00:00
james
1f244c8375 Detect exact email address matches regardless of the name that goes with it, and dont let them submit 2009-10-09 15:04:45 +00:00
james
5aa7cf541a Remove debugging from user.inc
Begin the searching in the prospecting tool
2009-10-09 00:42:47 +00:00
james
0015d2bcd7 Implement live search for adding existing users to a contact 2009-10-08 22:42:38 +00:00
james
51191eec4f Add donor name above tabs on editor
Add fundraising module setup tab
Add select's for campaign type and for salutation
Other misc fixes
2009-10-08 19:13:14 +00:00