Commit Graph

28 Commits

Author SHA1 Message Date
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
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
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
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
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
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
james
b2e7797a24 Fix saving with apostrophes 2009-10-15 21:58:51 +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
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
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
ca5515a335 Put admin icons in the title of each page 2008-08-22 20:50:38 +00:00
james
a42812ce27 switch communication from using an echo to the at command now +1 minute to exec immediately piping the output to /dev/null and redirecrting stderr as well 2008-07-17 18:33:11 +00:00
dave
0ff8489d58 - include user.inc.php before using user_auth_required() 2007-11-21 17:02:09 +00:00
dave
04e70ceb33 - Use user_auth_required() for authentication to check for committee access
(needed for multirole users)
- Add the top navbar to all pages
2007-11-18 23:50:23 +00:00
james
40fe6cb88c Do some checks for system() and error out where applicable 2007-11-16 17:58:59 +00:00
james
ab5180ef9e Add two new emails: registration complete, registration payment pending
Whipe out all 'from' of info@sfiab.ca (the old default, we dont want others using it!)
When sending emails, if 'from' is empty, use the $config['fairmanageremail']
Add a warning on the communication page if the fair manager email has not been set
Set the default 'from' for new emails to be the fair manager email

NOTE/FIXME: i added the hooks for the two new emails to be sent, but still 
need to fill in the substitution values as well as the "to" - no time now, 
will do that tomorrow
2007-10-29 20:21:40 +00:00
dave
878a29a9d1 - Another case where we depend on register_globals = 1 2007-04-11 22:09:17 +00:00
james
4bf5cb909f Update the communication module with a few more options 2006-03-01 15:59:51 +00:00
james
4aff70ef17 Fix the broken sending emails -- aparently the "at" command had its syntax changed and now requires a base to add increments from
(at now + 1 minute)
2006-02-06 21:34:09 +00:00
james
7dc41dc17f Add all the communication emails stuff to send emails to people 2005-03-02 18:47:19 +00:00