squirrelmail.git
5 years agoPer comments in the commit - setting the session cookie over and over can be troubles...
pdontthink [Wed, 6 Apr 2016 05:33:06 +0000 (05:33 +0000)]
Per comments in the commit - setting the session cookie over and over can be troublesome, but doing the obvious and defaulting to *replace* cookies causes logins to fail due to something I don't care to debug - session cookie is complex through all the pages involved in a login request - instead we use a simple static cache to prevent useless duplicate cookie headers

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14552 7612ce4b-ef26-0410-bec9-ea0150e637f0

5 years agoHappy New Year
pdontthink [Fri, 1 Jan 2016 20:59:53 +0000 (20:59 +0000)]
Happy New Year

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14539 7612ce4b-ef26-0410-bec9-ea0150e637f0

5 years agoUpdate defaults
pdontthink [Mon, 30 Nov 2015 23:42:20 +0000 (23:42 +0000)]
Update defaults

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14533 7612ce4b-ef26-0410-bec9-ea0150e637f0

5 years agoMinor correction
pdontthink [Mon, 30 Nov 2015 23:40:19 +0000 (23:40 +0000)]
Minor correction

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14532 7612ce4b-ef26-0410-bec9-ea0150e637f0

5 years agoMinor code organization
pdontthink [Mon, 30 Nov 2015 23:31:50 +0000 (23:31 +0000)]
Minor code organization

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14531 7612ce4b-ef26-0410-bec9-ea0150e637f0

5 years agoAdding "smtp_helo_override" hook
pdontthink [Mon, 30 Nov 2015 22:53:13 +0000 (22:53 +0000)]
Adding "smtp_helo_override" hook

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14528 7612ce4b-ef26-0410-bec9-ea0150e637f0

5 years agoAdding "smtp_helo_override" hook
pdontthink [Mon, 30 Nov 2015 22:48:12 +0000 (22:48 +0000)]
Adding "smtp_helo_override" hook

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14527 7612ce4b-ef26-0410-bec9-ea0150e637f0

5 years agoCheck for error opening directory
pdontthink [Thu, 10 Sep 2015 21:00:50 +0000 (21:00 +0000)]
Check for error opening directory

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14524 7612ce4b-ef26-0410-bec9-ea0150e637f0

5 years agoMinor fix
pdontthink [Sat, 1 Aug 2015 04:36:18 +0000 (04:36 +0000)]
Minor fix

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14519 7612ce4b-ef26-0410-bec9-ea0150e637f0

5 years agoAdd new login_before_page_header (boolean) hook; allows plugins to have more explicit...
pdontthink [Sat, 1 Aug 2015 04:32:48 +0000 (04:32 +0000)]
Add new login_before_page_header (boolean) hook; allows plugins to have more explicit control over login page header

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14518 7612ce4b-ef26-0410-bec9-ea0150e637f0

5 years agoAlways show subject tooltip rollover
pdontthink [Sat, 1 Aug 2015 02:34:57 +0000 (02:34 +0000)]
Always show subject tooltip rollover

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14515 7612ce4b-ef26-0410-bec9-ea0150e637f0

6 years agoAdd a couple sensible defaults
pdontthink [Sun, 21 Jun 2015 10:16:48 +0000 (10:16 +0000)]
Add a couple sensible defaults

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14513 7612ce4b-ef26-0410-bec9-ea0150e637f0

6 years agoAdd a couple sensible defaults
pdontthink [Sun, 21 Jun 2015 10:05:27 +0000 (10:05 +0000)]
Add a couple sensible defaults

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14510 7612ce4b-ef26-0410-bec9-ea0150e637f0

6 years agoAdd ability for administrator to control whether or not users can edit their reply...
pdontthink [Sat, 20 Jun 2015 12:52:36 +0000 (12:52 +0000)]
Add ability for administrator to control whether or not users can edit their reply-to address

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14509 7612ce4b-ef26-0410-bec9-ea0150e637f0

6 years agoAdd MD5 alternative to directory hash calculation
pdontthink [Wed, 17 Jun 2015 23:18:37 +0000 (23:18 +0000)]
Add MD5 alternative to directory hash calculation

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14506 7612ce4b-ef26-0410-bec9-ea0150e637f0

6 years agoSync configtest with core
pdontthink [Sun, 14 Jun 2015 10:15:51 +0000 (10:15 +0000)]
Sync configtest with core

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14502 7612ce4b-ef26-0410-bec9-ea0150e637f0

6 years agoReplace invalid characters with a symbol instead of returning empty string for the
kink [Sun, 7 Jun 2015 13:51:19 +0000 (13:51 +0000)]
Replace invalid characters with a symbol instead of returning empty string for the
entire to be encoded string.

Currently, if an email contains such an invalid character, the whole line will be
left out, which is rather confusing. Even more when it's the email subject. This
constant is only available in PHP 5.4 and up.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14501 7612ce4b-ef26-0410-bec9-ea0150e637f0

6 years agoFix uninitialized client IP address. Thanks to Wuerr Marcus
pdontthink [Wed, 28 Jan 2015 04:45:04 +0000 (04:45 +0000)]
Fix uninitialized client IP address.  Thanks to Wuerr Marcus

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14499 7612ce4b-ef26-0410-bec9-ea0150e637f0

6 years agoFix PHP notice - this function is called statically, so needs to be declared as such...
pdontthink [Mon, 19 Jan 2015 18:27:15 +0000 (18:27 +0000)]
Fix PHP notice - this function is called statically, so needs to be declared as such.  Thanks to Juergen Nickelsen for reporting

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14494 7612ce4b-ef26-0410-bec9-ea0150e637f0

6 years agoMake sure the correct identity is used for list command mailto actions
pdontthink [Fri, 9 Jan 2015 07:24:26 +0000 (07:24 +0000)]
Make sure the correct identity is used for list command mailto actions

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14492 7612ce4b-ef26-0410-bec9-ea0150e637f0

6 years agoAh, I see - the stuff after the ? needs to be handed to src/compose.php as-is, no...
pdontthink [Fri, 9 Jan 2015 06:10:11 +0000 (06:10 +0000)]
Ah, I see - the stuff after the ? needs to be handed to src/compose.php as-is, no encoding.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14490 7612ce4b-ef26-0410-bec9-ea0150e637f0

6 years agoUnsubscribe addresses with characters like + in them need to be url-encoded if they...
pdontthink [Fri, 9 Jan 2015 05:21:38 +0000 (05:21 +0000)]
Unsubscribe addresses with characters like + in them need to be url-encoded if they are going to be used in a query string. Not sure what the ? to & replacement was doing (was it broken?), but it is possible I broke something by removing it.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14487 7612ce4b-ef26-0410-bec9-ea0150e637f0

6 years agoHappy new year
jervfors [Tue, 6 Jan 2015 23:26:34 +0000 (23:26 +0000)]
Happy new year

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14485 7612ce4b-ef26-0410-bec9-ea0150e637f0

6 years agoHappy 2015
pdontthink [Sat, 3 Jan 2015 04:09:49 +0000 (04:09 +0000)]
Happy 2015

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14484 7612ce4b-ef26-0410-bec9-ea0150e637f0

6 years agoPrevent session lock-up caused by filters plugin trying to move messages in an accoun...
pdontthink [Fri, 1 Aug 2014 02:28:12 +0000 (02:28 +0000)]
Prevent session lock-up caused by filters plugin trying to move messages in an account that is over quota

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14474 7612ce4b-ef26-0410-bec9-ea0150e637f0

6 years agoAdd session variables that store information about most recent fatal IMAP error
pdontthink [Fri, 1 Aug 2014 02:26:11 +0000 (02:26 +0000)]
Add session variables that store information about most recent fatal IMAP error

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14472 7612ce4b-ef26-0410-bec9-ea0150e637f0

7 years agoIf filtering fails, say due to account quota issues, disable for remaineder of login...
pdontthink [Tue, 1 Jul 2014 03:15:53 +0000 (03:15 +0000)]
If filtering fails, say due to account quota issues, disable for remaineder of login session.  This plugin appears to have a more serious issue that corrupts folder cache in subfolders of INBOX

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14469 7612ce4b-ef26-0410-bec9-ea0150e637f0

7 years agoAdd hook in 1.5.2 for attachments_top as with 1.4.23
pdontthink [Tue, 18 Mar 2014 03:16:52 +0000 (03:16 +0000)]
Add hook in 1.5.2 for attachments_top as with 1.4.23

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14451 7612ce4b-ef26-0410-bec9-ea0150e637f0

7 years agogit-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14438...
pdontthink [Tue, 21 Jan 2014 22:30:24 +0000 (22:30 +0000)]
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14438 7612ce4b-ef26-0410-bec9-ea0150e637f0

7 years agoVariable name correction
pdontthink [Tue, 21 Jan 2014 22:15:03 +0000 (22:15 +0000)]
Variable name correction

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14437 7612ce4b-ef26-0410-bec9-ea0150e637f0

7 years agoMake configuration tool show the SquirrelMail version
pdontthink [Tue, 21 Jan 2014 20:19:48 +0000 (20:19 +0000)]
Make configuration tool show the SquirrelMail version

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14435 7612ce4b-ef26-0410-bec9-ea0150e637f0

7 years agoAllow SSL socket context to be specified as well
pdontthink [Tue, 21 Jan 2014 03:47:03 +0000 (03:47 +0000)]
Allow SSL socket context to be specified as well

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14433 7612ce4b-ef26-0410-bec9-ea0150e637f0

7 years agoAdd ability to show login error from the IMAP server instead of traditional "Unknown...
pdontthink [Tue, 21 Jan 2014 03:20:48 +0000 (03:20 +0000)]
Add ability to show login error from the IMAP server instead of traditional "Unknown user or password incorrect" (thanks to Alain Williams)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14431 7612ce4b-ef26-0410-bec9-ea0150e637f0

7 years agofilename typo
pdontthink [Tue, 21 Jan 2014 01:17:36 +0000 (01:17 +0000)]
filename typo

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14428 7612ce4b-ef26-0410-bec9-ea0150e637f0

7 years agoAdd advanced control over the SSL context used when connecting to the SMTP and IMAP...
pdontthink [Tue, 21 Jan 2014 01:13:49 +0000 (01:13 +0000)]
Add advanced control over the SSL context used when connecting to the SMTP and IMAP servers over SSL/TLS (Thanks to Emmanuel Dreyfus)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14427 7612ce4b-ef26-0410-bec9-ea0150e637f0

7 years agoHappy 2014
jervfors [Mon, 13 Jan 2014 10:16:27 +0000 (10:16 +0000)]
Happy 2014

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14424 7612ce4b-ef26-0410-bec9-ea0150e637f0

7 years agoHappy 2014
pdontthink [Wed, 1 Jan 2014 20:33:20 +0000 (20:33 +0000)]
Happy 2014

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14420 7612ce4b-ef26-0410-bec9-ea0150e637f0

7 years agoRemove unused hook
pdontthink [Mon, 30 Dec 2013 04:46:19 +0000 (04:46 +0000)]
Remove unused hook

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14412 7612ce4b-ef26-0410-bec9-ea0150e637f0

7 years agoPreserve compose action during HTML address book activity
pdontthink [Sat, 7 Dec 2013 11:02:18 +0000 (11:02 +0000)]
Preserve compose action during HTML address book activity

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14408 7612ce4b-ef26-0410-bec9-ea0150e637f0

7 years agoChange string to something already in squirrelmail.pot
pdontthink [Thu, 7 Nov 2013 09:42:54 +0000 (09:42 +0000)]
Change string to something already in squirrelmail.pot

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14400 7612ce4b-ef26-0410-bec9-ea0150e637f0

7 years agoAdd full date and time as "title" (mouseover) text for dates shown on the message...
pdontthink [Wed, 6 Nov 2013 16:47:55 +0000 (16:47 +0000)]
Add full date and time as "title" (mouseover) text for dates shown on the message list screen

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14398 7612ce4b-ef26-0410-bec9-ea0150e637f0

7 years agoAdd new spacer image and allow its use for unsafe images instead of the sec_remove_...
pdontthink [Wed, 23 Oct 2013 10:09:16 +0000 (10:09 +0000)]
Add new spacer image and allow its use for unsafe images instead of the sec_remove_* image -- brings HTML emails into the modern age (much more viewable)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14396 7612ce4b-ef26-0410-bec9-ea0150e637f0

7 years agoTypo
pdontthink [Tue, 22 Oct 2013 21:48:11 +0000 (21:48 +0000)]
Typo

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14394 7612ce4b-ef26-0410-bec9-ea0150e637f0

7 years agoAdd associative edit list option widget with optional folder list selector for values...
pdontthink [Tue, 22 Oct 2013 15:49:26 +0000 (15:49 +0000)]
Add associative edit list option widget with optional folder list selector for values; Minor fixes for non-associative edit list widget

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14393 7612ce4b-ef26-0410-bec9-ea0150e637f0

7 years agoDon't allow TO field to be blank; adjust auto-detection of FROM for reply-all actions...
pdontthink [Mon, 16 Sep 2013 18:06:58 +0000 (18:06 +0000)]
Don't allow TO field to be blank; adjust auto-detection of FROM for reply-all actions as well

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14391 7612ce4b-ef26-0410-bec9-ea0150e637f0

8 years agoUpdate copyright
jervfors [Fri, 26 Jul 2013 17:31:02 +0000 (17:31 +0000)]
Update copyright

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14387 7612ce4b-ef26-0410-bec9-ea0150e637f0

8 years agoNote a bug
pdontthink [Wed, 19 Jun 2013 07:44:53 +0000 (07:44 +0000)]
Note a bug

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14385 7612ce4b-ef26-0410-bec9-ea0150e637f0

8 years agoAllow more liberal reuse of tokens to avoid cross-frame conflicts
pdontthink [Tue, 18 Jun 2013 04:20:50 +0000 (04:20 +0000)]
Allow more liberal reuse of tokens to avoid cross-frame conflicts

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14383 7612ce4b-ef26-0410-bec9-ea0150e637f0

8 years agoWhen replying to original recipient, also reset the identity used to send the mail...
pdontthink [Mon, 17 Jun 2013 20:31:07 +0000 (20:31 +0000)]
When replying to original recipient, also reset the identity used to send the mail from

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14381 7612ce4b-ef26-0410-bec9-ea0150e637f0

8 years agoWhen using reply-all to reply to single-recipient message, make sure we still use...
pdontthink [Mon, 17 Jun 2013 20:27:22 +0000 (20:27 +0000)]
When using reply-all to reply to single-recipient message, make sure we still use the original recipient

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14379 7612ce4b-ef26-0410-bec9-ea0150e637f0

8 years agoReply to original recipient functionality should be consistent, even if original...
pdontthink [Mon, 17 Jun 2013 20:19:59 +0000 (20:19 +0000)]
Reply to original recipient functionality should be consistent, even if original recipient also happens to be one of our identities

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14376 7612ce4b-ef26-0410-bec9-ea0150e637f0

8 years agoRemove ancient code that tried to set the default identity to match the FROM header...
pdontthink [Mon, 17 Jun 2013 18:43:34 +0000 (18:43 +0000)]
Remove ancient code that tried to set the default identity to match the FROM header of the message being replied to. This makes no sense and is superceded by the identities match that occurs immediately below.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14374 7612ce4b-ef26-0410-bec9-ea0150e637f0

8 years agofindAddress() can return FALSE as well as zero
pdontthink [Mon, 17 Jun 2013 18:39:19 +0000 (18:39 +0000)]
findAddress() can return FALSE as well as zero

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14373 7612ce4b-ef26-0410-bec9-ea0150e637f0

8 years agoFix sloppy use of nearly identical variable names
pdontthink [Mon, 17 Jun 2013 18:34:16 +0000 (18:34 +0000)]
Fix sloppy use of nearly identical variable names

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14369 7612ce4b-ef26-0410-bec9-ea0150e637f0

8 years agoDocument the findAddress function
pdontthink [Mon, 17 Jun 2013 18:32:33 +0000 (18:32 +0000)]
Document the findAddress function

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14368 7612ce4b-ef26-0410-bec9-ea0150e637f0

8 years agoImprove usability of attachment checkboxes
pdontthink [Fri, 14 Jun 2013 23:04:58 +0000 (23:04 +0000)]
Improve usability of attachment checkboxes

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14365 7612ce4b-ef26-0410-bec9-ea0150e637f0

8 years agoRemove use of deprecated /e modifier in preg_replace.
kink [Thu, 16 May 2013 12:16:58 +0000 (12:16 +0000)]
Remove use of deprecated /e modifier in preg_replace.

This modifier starts generating Deprecated notices from PHP 5.5.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14360 7612ce4b-ef26-0410-bec9-ea0150e637f0

8 years agoFix error caused by typo of variable name
pdontthink [Wed, 15 May 2013 20:33:11 +0000 (20:33 +0000)]
Fix error caused by typo of variable name

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14358 7612ce4b-ef26-0410-bec9-ea0150e637f0

8 years agoSet svn:keywords
jervfors [Fri, 29 Mar 2013 12:54:24 +0000 (12:54 +0000)]
Set svn:keywords

This isn't just the files I committed in 14354.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14356 7612ce4b-ef26-0410-bec9-ea0150e637f0

8 years agoResetting $Id$
jervfors [Fri, 29 Mar 2013 11:35:02 +0000 (11:35 +0000)]
Resetting $Id$

Subversion expands the $Id$ keyword anchor to a string, but some files
in this repository have strings instead of keyword anchors.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14354 7612ce4b-ef26-0410-bec9-ea0150e637f0

8 years agogit-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14352...
pdontthink [Sat, 16 Mar 2013 03:44:20 +0000 (03:44 +0000)]
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14352 7612ce4b-ef26-0410-bec9-ea0150e637f0

8 years agoAdd Solarized Light and Dark themes by Pavneet Arora, although themes not used/migrat...
pdontthink [Sat, 16 Mar 2013 03:42:24 +0000 (03:42 +0000)]
Add Solarized Light and Dark themes by Pavneet Arora, although themes not used/migrated in 1.5.2

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14351 7612ce4b-ef26-0410-bec9-ea0150e637f0

8 years agoclean up code commented out since 8 y
kink [Tue, 15 Jan 2013 15:58:43 +0000 (15:58 +0000)]
clean up code commented out since 8 y

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14348 7612ce4b-ef26-0410-bec9-ea0150e637f0

8 years agoReplace calls to htmlspecialchars() with sm_encode_html_special_chars().
kink [Sun, 9 Dec 2012 12:06:30 +0000 (12:06 +0000)]
Replace calls to htmlspecialchars() with sm_encode_html_special_chars().

New function sm_encode_html_special_chars() encodes HTML special
characters by calling htmlspecialchars(). It sets the character set
to ISO-8859-1, to fix compatibility with PHP >= 5.4.

Patch by Paul Lesniewski.

See #3491925

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14346 7612ce4b-ef26-0410-bec9-ea0150e637f0

8 years agoUse sqsession_* instead of session_*
pdontthink [Tue, 18 Sep 2012 17:43:15 +0000 (17:43 +0000)]
Use sqsession_* instead of session_*

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14344 7612ce4b-ef26-0410-bec9-ea0150e637f0

8 years agoFor DSN values, allow current value to remain if no changes made
pdontthink [Sun, 9 Sep 2012 22:46:38 +0000 (22:46 +0000)]
For DSN values, allow current value to remain if no changes made

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14342 7612ce4b-ef26-0410-bec9-ea0150e637f0

8 years agoPrevent endless recursive sent subfolder names - see: http://thread.gmane.org/gmane...
pdontthink [Wed, 29 Aug 2012 17:03:09 +0000 (17:03 +0000)]
Prevent endless recursive sent subfolder names - see: thread.gmane.org/gmane.mail.squirrelmail.user/39178

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14340 7612ce4b-ef26-0410-bec9-ea0150e637f0

8 years agoAdd more flexibility for plugins
pdontthink [Sat, 4 Aug 2012 23:00:43 +0000 (23:00 +0000)]
Add more flexibility for plugins

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14336 7612ce4b-ef26-0410-bec9-ea0150e637f0

8 years agoSeparate E_STRICT reporting from E_ALL in internal debug mode (E_STRICT is included...
pdontthink [Sat, 28 Jul 2012 05:57:50 +0000 (05:57 +0000)]
Separate E_STRICT reporting from E_ALL in internal debug mode (E_STRICT is included in E_ALL only as of PHP 5.4.0)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14335 7612ce4b-ef26-0410-bec9-ea0150e637f0

8 years agoE_ALL is a moving target
pdontthink [Sat, 28 Jul 2012 05:48:24 +0000 (05:48 +0000)]
E_ALL is a moving target

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14334 7612ce4b-ef26-0410-bec9-ea0150e637f0

8 years agoAccount for servers that send extra unsolicited FETCH responses (such as when flags...
pdontthink [Fri, 27 Jul 2012 23:03:15 +0000 (23:03 +0000)]
Account for servers that send extra unsolicited FETCH responses (such as when flags change due to a FETCH request).  PLEASE TEST!

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14333 7612ce4b-ef26-0410-bec9-ea0150e637f0

9 years agoAdd option that allows users to have replies to their own messages sent to the recipi...
pdontthink [Sun, 1 Jul 2012 20:06:18 +0000 (20:06 +0000)]
Add option that allows users to have replies to their own messages sent to the recipient of the previous message (#3520988)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14331 7612ce4b-ef26-0410-bec9-ea0150e637f0

9 years agoFix occasional PHP notice
pdontthink [Wed, 9 May 2012 02:57:02 +0000 (02:57 +0000)]
Fix occasional PHP notice

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14324 7612ce4b-ef26-0410-bec9-ea0150e637f0

9 years agoClear checkbox selections when form is processed
pdontthink [Fri, 27 Apr 2012 07:18:17 +0000 (07:18 +0000)]
Clear checkbox selections when form is processed

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14320 7612ce4b-ef26-0410-bec9-ea0150e637f0

9 years agoRevert revision 14314; static functions are a PHP 5+ feature
pdontthink [Sun, 8 Apr 2012 01:51:00 +0000 (01:51 +0000)]
Revert revision 14314; static functions are a PHP 5+ feature

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14317 7612ce4b-ef26-0410-bec9-ea0150e637f0

9 years agofunctions are only used statically. mark as such.
kink [Sat, 7 Apr 2012 15:17:48 +0000 (15:17 +0000)]
functions are only used statically. mark as such.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14314 7612ce4b-ef26-0410-bec9-ea0150e637f0

9 years agoFix E_STRICT notices
pdontthink [Sun, 1 Apr 2012 22:18:51 +0000 (22:18 +0000)]
Fix E_STRICT notices

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14312 7612ce4b-ef26-0410-bec9-ea0150e637f0

9 years agoFix E_STRICT notice
pdontthink [Sun, 1 Apr 2012 21:27:53 +0000 (21:27 +0000)]
Fix E_STRICT notice

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14309 7612ce4b-ef26-0410-bec9-ea0150e637f0

9 years agoFix simple E_STRICT notice
pdontthink [Sun, 1 Apr 2012 21:15:36 +0000 (21:15 +0000)]
Fix simple E_STRICT notice

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14308 7612ce4b-ef26-0410-bec9-ea0150e637f0

9 years agoFix PHP notices
pdontthink [Sun, 1 Apr 2012 20:35:47 +0000 (20:35 +0000)]
Fix PHP notices

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14306 7612ce4b-ef26-0410-bec9-ea0150e637f0

9 years agoRevert changes in revision 14302. Revision 14302 should only have changed functions...
pdontthink [Sun, 1 Apr 2012 20:09:11 +0000 (20:09 +0000)]
Revert changes in revision 14302.  Revision 14302 should only have changed functions/imap_general.php

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14304 7612ce4b-ef26-0410-bec9-ea0150e637f0

9 years agoFall back to using LIST if NAMESPACE answer is malformed or otherwise problematic...
pdontthink [Sun, 1 Apr 2012 19:50:49 +0000 (19:50 +0000)]
Fall back to using LIST if NAMESPACE answer is malformed or otherwise problematic.  This still doesn't account for situations where the NAMESPACE or LIST answer can't be parsed correctly.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14302 7612ce4b-ef26-0410-bec9-ea0150e637f0

9 years agoRe: rev 14289 - Proper fix is not to define a new object; code was assuming header...
pdontthink [Sun, 1 Apr 2012 17:57:20 +0000 (17:57 +0000)]
Re: rev 14289 - Proper fix is not to define a new object; code was assuming header that was already defined was placed in the message object (which it was not).  Also fix indention issues

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14301 7612ce4b-ef26-0410-bec9-ea0150e637f0

9 years agoChangeLog
kink [Sat, 24 Mar 2012 11:05:26 +0000 (11:05 +0000)]
ChangeLog

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14293 7612ce4b-ef26-0410-bec9-ea0150e637f0

9 years agoI believe this code worked by chance, redefining it from string to array and
kink [Sat, 24 Mar 2012 10:42:31 +0000 (10:42 +0000)]
I believe this code worked by chance, redefining it from string to array and
using it outside the code block it was defined in. This should repair it to
what was intended.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14291 7612ce4b-ef26-0410-bec9-ea0150e637f0

9 years agomust initialise MessageHeader object to avoid
kink [Sat, 24 Mar 2012 10:27:57 +0000 (10:27 +0000)]
must initialise MessageHeader object to avoid
PHP Warning:  Creating default object from empty value

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14289 7612ce4b-ef26-0410-bec9-ea0150e637f0

9 years agoAlignment fix
pdontthink [Tue, 28 Feb 2012 18:18:29 +0000 (18:18 +0000)]
Alignment fix

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14281 7612ce4b-ef26-0410-bec9-ea0150e637f0

9 years agoClarify explanation slightly
pdontthink [Tue, 28 Feb 2012 18:16:48 +0000 (18:16 +0000)]
Clarify explanation slightly

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14280 7612ce4b-ef26-0410-bec9-ea0150e637f0

9 years agoUpdate the copyright year
jervfors [Wed, 15 Feb 2012 14:32:07 +0000 (14:32 +0000)]
Update the copyright year

The constant was neglected when updating all copyright years.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14278 7612ce4b-ef26-0410-bec9-ea0150e637f0

9 years agohex2bin is introduced in PHP 5.4
kink [Wed, 8 Feb 2012 12:11:18 +0000 (12:11 +0000)]
hex2bin is introduced in PHP 5.4

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14277 7612ce4b-ef26-0410-bec9-ea0150e637f0

9 years agoSpelling mistake
pdontthink [Tue, 7 Feb 2012 23:05:36 +0000 (23:05 +0000)]
Spelling mistake

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14275 7612ce4b-ef26-0410-bec9-ea0150e637f0

9 years agoBetter performance by reducing token usage to only one at a time (also added an optio...
pdontthink [Tue, 7 Feb 2012 22:51:58 +0000 (22:51 +0000)]
Better performance by reducing token usage to only one at a time (also added an option to revert to old behavior if desired)

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14273 7612ce4b-ef26-0410-bec9-ea0150e637f0

9 years agoAccount for case when no reply-to is set in user prefs
pdontthink [Mon, 9 Jan 2012 20:41:02 +0000 (20:41 +0000)]
Account for case when no reply-to is set in user prefs

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14265 7612ce4b-ef26-0410-bec9-ea0150e637f0

9 years agoDocument some previously added configuration parameters
pdontthink [Mon, 2 Jan 2012 21:51:22 +0000 (21:51 +0000)]
Document some previously added configuration parameters

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14256 7612ce4b-ef26-0410-bec9-ea0150e637f0

9 years agoUpdating copyrights. Happy New Year.
pdontthink [Mon, 2 Jan 2012 02:09:17 +0000 (02:09 +0000)]
Updating copyrights.  Happy New Year.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14249 7612ce4b-ef26-0410-bec9-ea0150e637f0

9 years agoSanitize integer option fields - only digits allowed
pdontthink [Thu, 29 Dec 2011 06:56:03 +0000 (06:56 +0000)]
Sanitize integer option fields - only digits allowed

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14247 7612ce4b-ef26-0410-bec9-ea0150e637f0

9 years agoFix what seems to have been a copy/paste bug
pdontthink [Thu, 29 Dec 2011 01:34:06 +0000 (01:34 +0000)]
Fix what seems to have been a copy/paste bug

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14243 7612ce4b-ef26-0410-bec9-ea0150e637f0

9 years agoUnify address book searches. See ChangeLog comments. Also, fixed bug wherein file...
pdontthink [Wed, 28 Dec 2011 02:59:31 +0000 (02:59 +0000)]
Unify address book searches.  See ChangeLog comments.  Also, fixed bug wherein file backend wasn't escaping regular expression correctly.  File based backend used to search all fields at once, concatenated by spaces, which 'worked', but is misleading and nothing like the other backends.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14242 7612ce4b-ef26-0410-bec9-ea0150e637f0

9 years agoaddrsrch_fullname is already fetched by load_prefs.php
pdontthink [Wed, 21 Dec 2011 13:27:54 +0000 (13:27 +0000)]
addrsrch_fullname is already fetched by load_prefs.php

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14240 7612ce4b-ef26-0410-bec9-ea0150e637f0

9 years agoMake PHP default language for xgettext
pdontthink [Sun, 18 Dec 2011 01:32:51 +0000 (01:32 +0000)]
Make PHP default language for xgettext

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14234 7612ce4b-ef26-0410-bec9-ea0150e637f0