Commit Graph

200 Commits

Author SHA1 Message Date
ea287cd7af WIP PDO and Warnings 2024-12-18 11:48:09 -05:00
974eb738f3 errors 2024-12-17 01:34:35 -05:00
000826e093 Update HTML5 headers 2024-12-13 10:42:19 -05:00
f8adb23910 Remove warnings for undefined variables on main pages 2024-12-13 10:38:18 -05:00
8630024655 Fixed depreacated issues and warnings 2024-12-13 01:49:54 -05:00
bf8a23fc85 converted mysql to pdo 2024-12-09 01:06:15 -05:00
e4995bbc3d First pass for PHP/MariaDB updates 2024-11-25 18:06:33 -05:00
james
3abf8f1fe0 spacing to force new version 2019-01-21 16:57:42 +00:00
james
a6f869bef1 add E_DEPRECATED and E_WARNING to ignored errors 2019-01-21 16:54:28 +00:00
james
b095c5d5db $to must be strict email address, not "name <name@email.com>" 2015-02-17 18:53:28 +00:00
james
2a6ea9b350 Update CWSF Project divisions 2014-04-05 16:59:21 +00:00
jacob
ce4923c003 Removed unwanted update on common.inc.php 2012-03-13 20:13:57 +00:00
james
d74925d2bd Updates adding the a report for printing cheques. 2012-03-13 19:54:05 +00:00
jacob
5c5c3e55ec Replacements of calls to deprecated function "explode", "ereg", and "ereg_replace" with their recommended equivalents. 2012-02-09 17:52:17 +00:00
jacob
1b426bcf69 Updated admin/schoolsimport.php to properly handle v2.3 shool imports.
Replace some deprecated PHP functions with their appropriate equivalents
2011-12-08 22:41:49 +00:00
james
dbf4c71e1f Fix deprecated ereg_replace() 2011-12-08 20:51:31 +00:00
james
7bce69f8a5 Oops, add the common inc check for the /app folder to work 2011-03-17 22:12:37 +00:00
dennis
648d3f3e56 Dennis: Changes required for Windows OS IIS or Apache web servers. Windows with Apache needs more work. 2011-03-15 18:25:10 +00:00
dennis
d1b7fb2306 Dennis. Changes allow 'installation' in windows servers (and others) Complete functionality in windows servers still 'in work' 2011-02-24 18:12:03 +00:00
james
ca48277fb0 Remove 2501 and 2502 commits - they're still messed up :( 2011-02-17 18:53:39 +00:00
dennis
6925d88b16 2011-02-17 18:03:28 +00:00
james
31f29b7f84 email_send should send html version of the email if we have it 2011-02-17 16:35:44 +00:00
james
d58e8f4a1e Revert Dennis's invalid line endings commit 2011-02-16 17:00:55 +00:00
dennis
b791499b18 dennis: Modifications to allow installation on Windows servers. 2011-02-05 22:35:44 +00:00
james
79513c6d29 Add a fix for new MySQL 5.1 where it doesnt truncate at 16 characters before comparing, so all our long usernames were failing (mysql internally only supports 16 characters) 2010-12-30 13:56:50 +00:00
dave
530788e1c5 Require that magic_quotes is OFF. 2010-04-18 22:40:07 +00:00
dave
29f799f0a2 Detect the award warning condition before printing the warning. About half of
the BC fairs repeatedly tried to downlaod awards to make the warning go away.
2010-04-02 05:19:33 +00:00
jacob
b632b6c932 Adding sortable columns to tables 2010-03-30 21:59:04 +00:00
james
ac10772214 Let everyone know that they need to re-download all of their awards before uploading will work 2010-03-30 17:45:37 +00:00
james
e18264232d CWSF divisions changed this year, hopefully we catch this before many fairs used it :( 2010-03-30 15:06:08 +00:00
james
cbab7c7fa8 also convert an ending </div> into a newline when converting html to text 2010-03-30 04:39:56 +00:00
james
3fce787126 Actually, wrap at 75 not 78, to leave room for a few quoted replies 2010-03-30 04:03:23 +00:00
james
3116d8f232 When converting HTML to TEXT, wrap at 78 chars, some mail servers wont accept emails with very long lines 2010-03-30 04:01:38 +00:00
dave
b49634f038 + and ^ are special cases, need to go at the beginning of a [] 2010-03-02 00:07:16 +00:00
dave
c09e70d3e6 + in the name, not the domain 2010-03-01 23:50:48 +00:00
dave
1e73f06d8b Allow + in email addresses 2010-03-01 22:17:38 +00:00
dave
a16e749d9f Remove debug line, fix tab indent 2010-02-23 19:58:07 +00:00
dave
c284fed0f5 Add a debug_() routine and use it in curl 2010-02-23 19:58:06 +00:00
james
f4d2d636d8 By default, turn ON all eligibility in divs/cats for downloaded awards.. so
fairs don't wonder why they can't assign any winners to these awards.  In other
words, make it "just work".  :p
2010-02-22 20:26:23 +00:00
dave
61aee7f487 Fix email checking (did we do this before and had to undo it for some
reason?) Anyway, fraser valley had a student try to enter
"blah@blah.com/" as their email, which the isEmailAddress happily
accepted, and then remote servers started sending back errors to the
Committee because the email address is actually invalid.
2010-02-20 00:45:59 +00:00
james
48361e5868 Use RFC822 file from RMail to parse out the proper return path and set it 2010-02-16 00:15:21 +00:00
james
ba8c8f91cb Set the return path and bounce-to for emails being sent out 2010-02-12 18:32:58 +00:00
james
3442c2347d Dont override the mail encoding as utf-8 - we now store it in the db as ISO, so just use that (the default) 2010-02-11 16:47:48 +00:00
james
29074faacd Move the content-type header out of send_header() so it sends it on ANY request that includes the common.inc (should be every request)
This fixes french characters in all the new ajax'd editors, becuase they obviously werent calling send_header() on the request so the
encoding was defaulting to UTF8 and causing improperly encoded characters
2010-02-03 16:20:23 +00:00
dave
7fc721b96f Add support for URLMAIN and URLLOGIN replacement in communications 2010-01-27 20:24:16 +00:00
james
3c364b84c6 oops forgot to commit the getUserForSponsor function! 2010-01-14 18:34:33 +00:00
james
617723cdbe A few more common html entities to convert to text 2009-12-03 21:13:31 +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
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