squirrelmail.git
5 years agoChange anti-CSRF security token lifetime to be session-based
pdontthink [Sat, 25 Aug 2018 21:03:09 +0000 (21:03 +0000)]
Change anti-CSRF security token lifetime to be session-based

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

5 years agoAdd hidden configuration variables for anti-CSRF security token features
pdontthink [Sat, 25 Aug 2018 20:57:06 +0000 (20:57 +0000)]
Add hidden configuration variables for anti-CSRF security token features

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

5 years agoAdd session-based security token functionality (enabled by default)
pdontthink [Sat, 25 Aug 2018 20:40:34 +0000 (20:40 +0000)]
Add session-based security token functionality (enabled by default)

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

5 years agoAllow more advanced element focusing
pdontthink [Thu, 19 Apr 2018 20:43:35 +0000 (20:43 +0000)]
Allow more advanced element focusing

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

5 years agoTLS settings were not working
pdontthink [Thu, 19 Apr 2018 11:01:57 +0000 (11:01 +0000)]
TLS settings were not working

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

6 years agoFix link
pdontthink [Fri, 6 Apr 2018 17:31:06 +0000 (17:31 +0000)]
Fix link

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

6 years agoCorrect CVE number
pdontthink [Wed, 4 Apr 2018 07:49:48 +0000 (07:49 +0000)]
Correct CVE number

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

6 years agoSanitize user-supplied attachment filename [CVE-2018-8741]
pdontthink [Wed, 4 Apr 2018 03:19:39 +0000 (03:19 +0000)]
Sanitize user-supplied attachment filename [CVE-2018-8741]

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

6 years agoHappy New Year
pdontthink [Tue, 16 Jan 2018 23:44:07 +0000 (23:44 +0000)]
Happy New Year

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

6 years agoSeriously? The variable is named as an array and initialized as a string? Well, I...
pdontthink [Fri, 29 Dec 2017 20:03:40 +0000 (20:03 +0000)]
Seriously? The variable is named as an array and initialized as a string? Well, I hope no callers were expecting a potentially empty string, because now they will get an empty array instead. empty() should handle this fine, hopefully callers do something sane like that.

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

6 years agoDocument bad assumption
pdontthink [Tue, 19 Dec 2017 05:02:38 +0000 (05:02 +0000)]
Document bad assumption

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

6 years agoMake return-to-message work for forwards
pdontthink [Wed, 22 Nov 2017 22:56:18 +0000 (22:56 +0000)]
Make return-to-message work for forwards

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

6 years agoAdd option to allow returning to the message one had been replying to after sending
pdontthink [Wed, 22 Nov 2017 06:15:41 +0000 (06:15 +0000)]
Add option to allow returning to the message one had been replying to after sending

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

6 years agoAdd option to allow returning to the message one had been replying to after sending
pdontthink [Wed, 22 Nov 2017 06:08:38 +0000 (06:08 +0000)]
Add option to allow returning to the message one had been replying to after sending

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

6 years agoAdd ability for saved drafts to indicate if they are a reply or forward and if so...
pdontthink [Sat, 18 Nov 2017 22:59:59 +0000 (22:59 +0000)]
Add ability for saved drafts to indicate if they are a reply or forward and if so, to which message, and mark that message as replied or forwarded when the draft is finally sent

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

6 years agoAdd ability for saved drafts to indicate if they are a reply or forward and if so...
pdontthink [Sat, 18 Nov 2017 22:58:10 +0000 (22:58 +0000)]
Add ability for saved drafts to indicate if they are a reply or forward and if so, to which message, and mark that message as replied or forwarded when the draft is finally sent

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

6 years agoMinor fix and clarify return types
pdontthink [Sat, 18 Nov 2017 22:44:10 +0000 (22:44 +0000)]
Minor fix and clarify return types

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

6 years agoMinor fix and clarify return types
pdontthink [Sat, 18 Nov 2017 22:41:40 +0000 (22:41 +0000)]
Minor fix and clarify return types

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

6 years agoAllow callers of sqm_api_mailbox_select() to determine if errors should be handled...
pdontthink [Sat, 18 Nov 2017 22:33:48 +0000 (22:33 +0000)]
Allow callers of sqm_api_mailbox_select() to determine if errors should be handled internally or just returned

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

6 years agoMake drafts send with in-reply-to headers (fix regression from long ago)
pdontthink [Sat, 18 Nov 2017 22:09:00 +0000 (22:09 +0000)]
Make drafts send with in-reply-to headers (fix regression from long ago)

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

6 years agoAllow callers of sqimap_mailbox_select() to determine if errors should be handled...
pdontthink [Sat, 18 Nov 2017 21:29:11 +0000 (21:29 +0000)]
Allow callers of sqimap_mailbox_select() to determine if errors should be handled internally or just returned

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

6 years agoMay as well grab offset info too
pdontthink [Fri, 10 Nov 2017 02:39:26 +0000 (02:39 +0000)]
May as well grab offset info too

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

6 years agoMinor change
pdontthink [Mon, 2 Oct 2017 02:20:48 +0000 (02:20 +0000)]
Minor change

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

6 years agoAdd trailing text display to edit list widget types
pdontthink [Wed, 13 Sep 2017 01:42:34 +0000 (01:42 +0000)]
Add trailing text display to edit list widget types

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

6 years agoAdd docs for function
pdontthink [Wed, 13 Sep 2017 01:26:14 +0000 (01:26 +0000)]
Add docs for function

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

6 years agoAdd trailing text to boolean-radio widgets
pdontthink [Thu, 17 Aug 2017 02:34:54 +0000 (02:34 +0000)]
Add trailing text to boolean-radio widgets

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

6 years agoRemove outdated headers
pdontthink [Wed, 16 Aug 2017 07:59:53 +0000 (07:59 +0000)]
Remove outdated headers

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

6 years agoAdd title to folder names
pdontthink [Mon, 7 Aug 2017 09:25:27 +0000 (09:25 +0000)]
Add title to folder names

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

6 years agoAllow options to use HTML in trailing text
pdontthink [Tue, 25 Jul 2017 22:25:39 +0000 (22:25 +0000)]
Allow options to use HTML in trailing text

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

6 years agoAllow options to use HTML in trailing text
pdontthink [Tue, 25 Jul 2017 22:16:04 +0000 (22:16 +0000)]
Allow options to use HTML in trailing text

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

6 years agoLegacy code was probably wrong
pdontthink [Thu, 6 Jul 2017 04:33:07 +0000 (04:33 +0000)]
Legacy code was probably wrong

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

6 years agoAdd newline after <textarea> because it is always removed by the browser per spec...
pdontthink [Thu, 6 Jul 2017 02:36:51 +0000 (02:36 +0000)]
Add newline after <textarea> because it is always removed by the browser per spec: https://w3.org/TR/html401/appendix/notes.html#notes-line-breaks

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

6 years agoAdd note about squirrelspell plugin change
pdontthink [Sat, 17 Jun 2017 20:26:31 +0000 (20:26 +0000)]
Add note about squirrelspell plugin change

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

6 years agoAdd ability to control the display of the "Check Spelling" button. Allows administrat...
pdontthink [Sat, 17 Jun 2017 20:23:12 +0000 (20:23 +0000)]
Add ability to control the display of the "Check Spelling" button. Allows administrators to offer this plugin but keep it out of the way for users who do not want it. Put sqspell_show_button=0 in default preferences if it should be hidden by default.

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

6 years agoMissing close form tag
pdontthink [Sat, 17 Jun 2017 20:08:33 +0000 (20:08 +0000)]
Missing close form tag

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

6 years agoAdd "trailing_text_small" flag for option widgets
pdontthink [Mon, 12 Jun 2017 08:15:08 +0000 (08:15 +0000)]
Add "trailing_text_small" flag for option widgets

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

6 years agoBetter white space and wrapping
pdontthink [Mon, 12 Jun 2017 07:54:06 +0000 (07:54 +0000)]
Better white space and wrapping

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

6 years agoBetter white space and wrapping
pdontthink [Mon, 12 Jun 2017 07:49:33 +0000 (07:49 +0000)]
Better white space and wrapping

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

6 years agoSM doesn't know how to log in again on the same connection, so best to actually close...
pdontthink [Fri, 9 Jun 2017 10:25:27 +0000 (10:25 +0000)]
SM doesn't know how to log in again on the same connection, so best to actually close the file handle as well

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

6 years agoAllow HTML in option info
pdontthink [Sat, 3 Jun 2017 16:30:59 +0000 (16:30 +0000)]
Allow HTML in option info

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

6 years agoMake server TZ available after it is changed
pdontthink [Tue, 2 May 2017 19:55:46 +0000 (19:55 +0000)]
Make server TZ available after it is changed

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

6 years agoChange credits
pdontthink [Tue, 25 Apr 2017 16:58:16 +0000 (16:58 +0000)]
Change credits

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

6 years agoAdd one more person
pdontthink [Mon, 24 Apr 2017 20:22:15 +0000 (20:22 +0000)]
Add one more person

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

6 years agoFix insufficient sendmail command argument escaping (thanks to Mitchel Sahertian...
pdontthink [Mon, 24 Apr 2017 19:46:13 +0000 (19:46 +0000)]
Fix insufficient sendmail command argument escaping (thanks to Mitchel Sahertian, Maor Shwartz and Dawid Golunski for bringing this to our attention). [CVE-2017-7692]

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

7 years agoNote future change
pdontthink [Sat, 28 Jan 2017 04:11:30 +0000 (04:11 +0000)]
Note future change

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

7 years agoHappy 2017
pdontthink [Fri, 27 Jan 2017 20:34:08 +0000 (20:34 +0000)]
Happy 2017

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

7 years agoAdd PHP5-style constructor
pdontthink [Sat, 10 Dec 2016 11:43:49 +0000 (11:43 +0000)]
Add PHP5-style constructor

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

7 years agoAdd PHP5-style constructor
pdontthink [Sat, 10 Dec 2016 11:31:19 +0000 (11:31 +0000)]
Add PHP5-style constructor

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

7 years agoAdd PHP5-style constructor
pdontthink [Sat, 10 Dec 2016 11:21:08 +0000 (11:21 +0000)]
Add PHP5-style constructor

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

7 years agoAdd PHP5-style constructor
pdontthink [Sat, 10 Dec 2016 11:05:08 +0000 (11:05 +0000)]
Add PHP5-style constructor

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

7 years agoAdd PHP5-style constructor
pdontthink [Sat, 10 Dec 2016 11:04:56 +0000 (11:04 +0000)]
Add PHP5-style constructor

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

7 years agoAdd PHP5-style constructor
pdontthink [Sat, 10 Dec 2016 10:53:32 +0000 (10:53 +0000)]
Add PHP5-style constructor

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

7 years agoAdd PHP5-style constructor
pdontthink [Sat, 10 Dec 2016 10:42:28 +0000 (10:42 +0000)]
Add PHP5-style constructor

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

7 years agoFix variable name typo
pdontthink [Sat, 10 Dec 2016 10:34:21 +0000 (10:34 +0000)]
Fix variable name typo

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

7 years agoAdd PHP5-style constructor
pdontthink [Sat, 10 Dec 2016 10:29:47 +0000 (10:29 +0000)]
Add PHP5-style constructor

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

7 years agoAdd PHP5-style constructor
pdontthink [Sat, 10 Dec 2016 09:51:20 +0000 (09:51 +0000)]
Add PHP5-style constructor

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

7 years agoAdd PHP5-style constructor
pdontthink [Sat, 10 Dec 2016 09:44:15 +0000 (09:44 +0000)]
Add PHP5-style constructor

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

7 years agoLabel static functions as such; callers won't get deprecated warnings in PHP7
pdontthink [Sat, 10 Dec 2016 09:22:35 +0000 (09:22 +0000)]
Label static functions as such; callers won't get deprecated warnings in PHP7

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

7 years agoPHP7 fix. Thanks to Kevin Buckley for reporting
pdontthink [Sat, 10 Dec 2016 09:06:03 +0000 (09:06 +0000)]
PHP7 fix. Thanks to Kevin Buckley for reporting

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

7 years agoMore sensible identity selection
pdontthink [Fri, 4 Nov 2016 02:41:57 +0000 (02:41 +0000)]
More sensible identity selection

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

7 years agoAdd support for socket-based database connections
pdontthink [Sat, 29 Oct 2016 21:52:49 +0000 (21:52 +0000)]
Add support for socket-based database connections

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

7 years agoAdd support for socket-based database connections
pdontthink [Sat, 29 Oct 2016 21:52:23 +0000 (21:52 +0000)]
Add support for socket-based database connections

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

7 years agoUpdate docs
pdontthink [Sat, 29 Oct 2016 20:00:14 +0000 (20:00 +0000)]
Update docs

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

7 years agoUpdate change log
pdontthink [Sat, 29 Oct 2016 19:38:35 +0000 (19:38 +0000)]
Update change log

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

7 years agoNew config_local settings
pdontthink [Sat, 29 Oct 2016 19:30:16 +0000 (19:30 +0000)]
New config_local settings

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

7 years agoUse PDO for database access if available (adds PHP 7 compatibility)
pdontthink [Sat, 29 Oct 2016 19:07:09 +0000 (19:07 +0000)]
Use PDO for database access if available (adds PHP 7 compatibility)

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

7 years agoUse PDO for database access if available (adds PHP 7 compatibility)
pdontthink [Sat, 29 Oct 2016 17:51:31 +0000 (17:51 +0000)]
Use PDO for database access if available (adds PHP 7 compatibility)

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

7 years agoSquash bugs
pdontthink [Sat, 29 Oct 2016 10:24:04 +0000 (10:24 +0000)]
Squash bugs

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

7 years agoUse PDO for database access if available (adds PHP 7 compatibility)
pdontthink [Sat, 29 Oct 2016 09:53:01 +0000 (09:53 +0000)]
Use PDO for database access if available (adds PHP 7 compatibility)

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

7 years agoFix bad assumptions about parallel arrays - see it explode by removing folders withou...
pdontthink [Fri, 28 Oct 2016 02:39:04 +0000 (02:39 +0000)]
Fix bad assumptions about parallel arrays - see it explode by removing folders without unsubscribing them, which is legal per RFC

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

7 years agoSyntax error. Thanks to Jean-Jacques Puig
pdontthink [Tue, 27 Sep 2016 17:03:57 +0000 (17:03 +0000)]
Syntax error. Thanks to Jean-Jacques Puig

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

7 years agoAllow priority and identity selections to be given by callers. Looks to have been...
pdontthink [Mon, 30 May 2016 08:15:26 +0000 (08:15 +0000)]
Allow priority and identity selections to be given by callers. Looks to have been intended to work this way, but never tested.

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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

9 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

9 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

9 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

9 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

9 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 &amp; 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

9 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

9 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

9 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

9 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

9 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

10 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