Commit Graph

47 Commits

Author SHA1 Message Date
bc588358ee Fix PDO and Warnings continued 2024-12-19 22:29:06 -05:00
cb7481c01e sqlerrors 2024-12-06 20:54:02 -05:00
d6df555fc4 Converted sql to pdo 2024-11-27 10:47:41 -05:00
idziak
f1cd9bcb5b Select Project Type field added to the project editor.
A flag in the configuration variables under Particpant Registration
must be set to enable this.
Project types are Experiment, Innovation, and Study

Comment text box has been added to the project editor.  This is only seen by 
fair administrators and not by the student.  Information related to project
safety can be flagged here.  If text is present in this box, a flag appears
in the Registration Management list.

Project summaries longer than one page now print out properly.  Blank pages 
are still sometimes printed after long sumaries.

Choose Email Recipients query has been modified so that the most recent
email address for judges is now used.

Reports Editor has been changed so that cheques can be written for
individual students as well as one cheque per project.  New report
data (split) has been added to make this work.
2014-02-27 21:38:16 +00:00
james
c048e33f6a Fix access codes for schools 2011-01-05 21:05:31 +00:00
james
54a5cc8da4 Add school access code to email replacement tags 2011-01-05 20:35:31 +00:00
james
d0d9fe4d60 Add ability to see WHO the recipients of a communication will be 2010-11-22 18:40:50 +00:00
jacob
4ad5ec9d68 Made tables of the "tableview" class sortable 2010-03-31 18:44:42 +00:00
james
07902b107e Fix smart-quotes and other funky characters in email messages - need to //TRANSLIT convert _before_ escaping for the query 2010-03-25 14:23:25 +00:00
dave
be6c5a27c9 Ignore email addreses that start with a * 2010-03-25 04:27:31 +00:00
james
1768fffb2b Properly escape the email name in the javascript function, and htmlspecialchars the name in the output 2010-02-12 18:24:22 +00:00
james
a42e042bcc Fix once and for all the communication module with french/accented characters -- since fckeditor only does utf8, do the conversion immediately to ISO when its submitted, and then allow the system to use ISO everywhere from there on out 2010-02-11 16:41:17 +00:00
james
d8375c0c5f Add ability to cancel emails in the queue to be sent 2010-02-11 15:58:26 +00:00
james
5dcbc28d54 Fix email sending to not fail if a single email fails, instead, flag it as failed and continue on
Better track email sending as well, and add fields for tracking bounces (not implemented yet)
2010-02-10 17:05:49 +00:00
james
b1033e2369 Fix communication sending when replacements have apostrohpe's in them 2010-02-06 22:05:39 +00:00
dave
4aae875630 Apparently in IE7 you can't .load into an <iframe>. But you can .load
into a <div>.  So there.
2010-02-04 06:48:42 +00:00
dave
7fc721b96f Add support for URLMAIN and URLLOGIN replacement in communications 2010-01-27 20:24:16 +00:00
dave
29b95e97ac Use the smarter name logic in admin/communicaiton.php for shorter code.
Add URLMAIN, URLLOGIN to the communicaiton as options, still have to
implement them.
2010-01-27 20:24:14 +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
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