squirrelmail.git
14 months agoAdd TODO
pdontthink [Sun, 3 Sep 2023 07:08:28 +0000 (07:08 +0000)]
Add TODO

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

15 months agoTest option page name, don't assign it
pdontthink [Thu, 24 Aug 2023 22:21:36 +0000 (22:21 +0000)]
Test option page name, don't assign it

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

15 months agoRemove extraneous reset
pdontthink [Thu, 24 Aug 2023 22:06:59 +0000 (22:06 +0000)]
Remove extraneous reset

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

15 months agoExplicitly declare formerly dynamic class property (deprecated PHP behavior)
pdontthink [Tue, 22 Aug 2023 07:10:25 +0000 (07:10 +0000)]
Explicitly declare formerly dynamic class property (deprecated PHP behavior)

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

19 months agoDon't str_replace() on null values
pdontthink [Thu, 13 Apr 2023 05:56:39 +0000 (05:56 +0000)]
Don't str_replace() on null values

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

19 months agoMake sure $prefs_cache is initialized when resetting the cache
pdontthink [Thu, 13 Apr 2023 05:28:58 +0000 (05:28 +0000)]
Make sure $prefs_cache is initialized when resetting the cache

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

22 months agoHappy New Year
pdontthink [Tue, 3 Jan 2023 02:11:29 +0000 (02:11 +0000)]
Happy New Year

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

23 months agoFix poorly written timezone parsing
pdontthink [Tue, 6 Dec 2022 11:42:23 +0000 (11:42 +0000)]
Fix poorly written timezone parsing

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

2 years agoRemove use of each()
pdontthink [Mon, 20 Jun 2022 17:26:13 +0000 (17:26 +0000)]
Remove use of each()

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

2 years agoFix PHP notice
pdontthink [Mon, 20 Jun 2022 05:55:19 +0000 (05:55 +0000)]
Fix PHP notice

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

2 years agoRemove use of each() and make sense of poorly named variables
pdontthink [Sat, 4 Jun 2022 17:50:55 +0000 (17:50 +0000)]
Remove use of each() and make sense of poorly named variables

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

2 years agoFix undefined variable notices
pdontthink [Sat, 4 Jun 2022 17:20:28 +0000 (17:20 +0000)]
Fix undefined variable notices

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

2 years agoAdd ability to explicitly set address book DB connection charset, though usually...
pdontthink [Fri, 27 May 2022 21:33:27 +0000 (21:33 +0000)]
Add ability to explicitly set address book DB connection charset, though usually if database defaults are sensible this is not something to be concerned with in configuring SquirrelMail

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

2 years agoAdd ability to explicitly set prefs DB connection charset, though usually if database...
pdontthink [Fri, 27 May 2022 21:31:26 +0000 (21:31 +0000)]
Add ability to explicitly set prefs DB connection charset, though usually if database defaults are sensible this is not something to be concerned with in configuring SquirrelMail

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

2 years agoFix PHP notice when property doesn't exist
pdontthink [Tue, 24 May 2022 08:26:45 +0000 (08:26 +0000)]
Fix PHP notice when property doesn't exist

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

2 years agoGreatly fix the plaintext display of messages that do not have a text part. Patch...
pdontthink [Mon, 23 May 2022 00:25:07 +0000 (00:25 +0000)]
Greatly fix the plaintext display of messages that do not have a text part. Patch from Alexey Shpakovsky (#496)

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

2 years agoFix: Login mechanisms other than "login" were broken if server returned untagged...
pdontthink [Sun, 22 May 2022 22:30:12 +0000 (22:30 +0000)]
Fix: Login mechanisms other than "login" were broken if server returned untagged data before login response (#2854)

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

2 years agoAdd option to folder prefs for marking deleted messages as read
pdontthink [Sun, 22 May 2022 20:32:06 +0000 (20:32 +0000)]
Add option to folder prefs for marking deleted messages as read

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

2 years agoImplement SQL identifier quoting in all cases (alleviates issue double-quoting user...
pdontthink [Sun, 22 May 2022 18:55:29 +0000 (18:55 +0000)]
Implement SQL identifier quoting in all cases (alleviates issue double-quoting user field under PGSQL, #177)

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

2 years agoFix PHP notice when property doesn't exist (#2863)
pdontthink [Sun, 22 May 2022 18:03:08 +0000 (18:03 +0000)]
Fix PHP notice when property doesn't exist (#2863)

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

2 years agoFix: When "Return To Message List After Move" is off, deleting message from message...
pdontthink [Sun, 22 May 2022 17:42:51 +0000 (17:42 +0000)]
Fix: When "Return To Message List After Move" is off, deleting message from message view screen was broken (#2863)

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

2 years agoFix bug where could not toggle flag (delete, etc) a single message
pdontthink [Sun, 22 May 2022 15:44:41 +0000 (15:44 +0000)]
Fix bug where could not toggle flag (delete, etc) a single message

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

2 years agoCause message subject to show in page title when message view is loaded in its own...
pdontthink [Mon, 25 Apr 2022 21:28:55 +0000 (21:28 +0000)]
Cause message subject to show in page title when message view is loaded in its own window/tab

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

2 years agoAdd proper RFC 3461 DSN functionality (previously we relied only on the Return-Receip...
pdontthink [Wed, 13 Apr 2022 22:41:54 +0000 (22:41 +0000)]
Add proper RFC 3461 DSN functionality (previously we relied only on the Return-Receipt-To header)

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

2 years agoSort out DSN functionality
pdontthink [Wed, 13 Apr 2022 22:38:32 +0000 (22:38 +0000)]
Sort out DSN functionality

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

2 years agoAdd ability for plugins to request additional header fields in the message list lookup
pdontthink [Mon, 21 Mar 2022 20:39:37 +0000 (20:39 +0000)]
Add ability for plugins to request additional header fields in the message list lookup

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

2 years agoFix whacky theme name logic, though it's still needlessly complex and should not...
pdontthink [Mon, 28 Feb 2022 20:19:39 +0000 (20:19 +0000)]
Fix whacky theme name logic, though it's still needlessly complex and should not be using 'none' when no theme is chosen...

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

2 years agoSyntax fix (thanks to Andrew Sachen)
pdontthink [Mon, 28 Feb 2022 18:35:13 +0000 (18:35 +0000)]
Syntax fix (thanks to Andrew Sachen)

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

2 years agoHappy New Year
pdontthink [Tue, 18 Jan 2022 08:12:15 +0000 (08:12 +0000)]
Happy New Year

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

2 years agoFix mixed use of message ID list (#2859)
pdontthink [Tue, 11 Jan 2022 09:07:59 +0000 (09:07 +0000)]
Fix mixed use of message ID list (#2859)

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

2 years agoMild improvement in plugin detection
pdontthink [Tue, 7 Dec 2021 19:27:22 +0000 (19:27 +0000)]
Mild improvement in plugin detection

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

3 years agoExpand clickability of column sort links
pdontthink [Sun, 21 Nov 2021 09:24:22 +0000 (09:24 +0000)]
Expand clickability of column sort links

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

3 years agoSomeone meant to use strlen() instead of sizeof() but neither is necessary
pdontthink [Sun, 17 Oct 2021 22:32:33 +0000 (22:32 +0000)]
Someone meant to use strlen() instead of sizeof() but neither is necessary

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

3 years agoError context is removed from PHP 8
pdontthink [Tue, 12 Oct 2021 00:16:30 +0000 (00:16 +0000)]
Error context is removed from PHP 8

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

3 years agoSomeone added non-optional parameter after optional one; it's not optional, but we...
pdontthink [Tue, 28 Sep 2021 23:34:00 +0000 (23:34 +0000)]
Someone added non-optional parameter after optional one; it's not optional, but we can fix it like this

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

3 years agoForgot to change constructor name
pdontthink [Tue, 28 Sep 2021 23:27:26 +0000 (23:27 +0000)]
Forgot to change constructor name

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

3 years agoClass constructor updates that were missed previously
pdontthink [Thu, 9 Sep 2021 06:25:12 +0000 (06:25 +0000)]
Class constructor updates that were missed previously

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

3 years agoFix certain messages with headers in unknown charsets encoded as quoted printable...
pdontthink [Wed, 25 Aug 2021 03:38:28 +0000 (03:38 +0000)]
Fix certain messages with headers in unknown charsets encoded as quoted printable showing up as blank sender/subject in message list. There are two ways to fix it, and the more accurate but costly one is left unfinished since the easy fix seems to have helped in every case I know of

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

3 years agoMinor, rare bug fix: Properly reduce multiple spaces in date headers
pdontthink [Tue, 10 Aug 2021 06:41:30 +0000 (06:41 +0000)]
Minor, rare bug fix: Properly reduce multiple spaces in date headers

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

3 years agoMake sure drafts are sent with the current date and not that of its previous 'Save...
pdontthink [Wed, 12 May 2021 05:33:01 +0000 (05:33 +0000)]
Make sure drafts are sent with the current date and not that of its previous 'Save Draft' action

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

3 years agoBrowser seems to respond better when deleting the cookie if you void its value also...
pdontthink [Sat, 8 May 2021 03:11:33 +0000 (03:11 +0000)]
Browser seems to respond better when deleting the cookie if you void its value also; helps actually get the cookie to be removed even though this feels more like a browser problem... maybe it does not like a date in 1970?

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

3 years agoAdd cookie SameSite attribute; uses default if "Strict" but can be overridden by...
pdontthink [Fri, 7 May 2021 09:32:04 +0000 (09:32 +0000)]
Add cookie SameSite attribute; uses default if "Strict" but can be overridden by $same_site_cookies in config_local.php

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

3 years agoFix order of optional args
pdontthink [Thu, 15 Apr 2021 17:21:47 +0000 (17:21 +0000)]
Fix order of optional args

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

3 years agoAllow plugins to add non-link text for attachments
pdontthink [Mon, 12 Apr 2021 04:28:53 +0000 (04:28 +0000)]
Allow plugins to add non-link text for attachments

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

3 years agoScale images to viewable space
pdontthink [Wed, 31 Mar 2021 05:20:39 +0000 (05:20 +0000)]
Scale images to viewable space

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

3 years agoSynchronize optional parameters
pdontthink [Mon, 29 Mar 2021 20:50:39 +0000 (20:50 +0000)]
Synchronize optional parameters

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

3 years agoMake sure large images fit in viewable space
pdontthink [Sun, 28 Mar 2021 21:27:24 +0000 (21:27 +0000)]
Make sure large images fit in viewable space

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

3 years agoFixing layout issues with some HTML messages. Please provide feedback (and examples...
pdontthink [Fri, 19 Mar 2021 08:45:46 +0000 (08:45 +0000)]
Fixing layout issues with some HTML messages. Please provide feedback (and examples to reproduce) if this causes issues

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

3 years agoFix a couple functions with required parameters after optional ones
pdontthink [Sat, 13 Mar 2021 00:20:23 +0000 (00:20 +0000)]
Fix a couple functions with required parameters after optional ones

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

3 years agoRemove stray curly brackets
pdontthink [Sat, 13 Mar 2021 00:14:46 +0000 (00:14 +0000)]
Remove stray curly brackets

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

3 years agoMigrate away from using create_function as long as PHP 5.3+ is available
pdontthink [Mon, 8 Feb 2021 21:59:46 +0000 (21:59 +0000)]
Migrate away from using create_function as long as PHP 5.3+ is available

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

3 years agoRemove random default argument value in the middle of argument list
pdontthink [Mon, 8 Feb 2021 07:00:12 +0000 (07:00 +0000)]
Remove random default argument value in the middle of argument list

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

3 years agoStop using curly braces
pdontthink [Sat, 6 Feb 2021 08:02:22 +0000 (08:02 +0000)]
Stop using curly braces

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

3 years agoStop using curly braces
pdontthink [Sat, 6 Feb 2021 07:25:55 +0000 (07:25 +0000)]
Stop using curly braces

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

3 years agoStop using curly braces
pdontthink [Sat, 6 Feb 2021 07:22:06 +0000 (07:22 +0000)]
Stop using curly braces

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

3 years agoHappy New Year
pdontthink [Fri, 5 Feb 2021 19:29:03 +0000 (19:29 +0000)]
Happy New Year

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

3 years agoFix variable name typo
pdontthink [Wed, 3 Feb 2021 05:42:46 +0000 (05:42 +0000)]
Fix variable name typo

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

3 years agoTypo fix
pdontthink [Sat, 16 Jan 2021 09:45:33 +0000 (09:45 +0000)]
Typo fix

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

3 years agoRemove use of each() as it is deprecated
pdontthink [Sat, 16 Jan 2021 09:42:31 +0000 (09:42 +0000)]
Remove use of each() as it is deprecated

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

3 years agoFix for unknown broken mailer using "UTC" in Date header
pdontthink [Sat, 16 Jan 2021 02:51:18 +0000 (02:51 +0000)]
Fix for unknown broken mailer using "UTC" in Date header

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

3 years agoGive attribution
pdontthink [Fri, 15 Jan 2021 16:34:45 +0000 (16:34 +0000)]
Give attribution

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

3 years agoPHP 8 compatibility fix
pdontthink [Fri, 15 Jan 2021 16:30:25 +0000 (16:30 +0000)]
PHP 8 compatibility fix

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

4 years agoAdd default ability to view calendar attachments sent as application/ics
pdontthink [Sat, 21 Nov 2020 04:00:56 +0000 (04:00 +0000)]
Add default ability to view calendar attachments sent as application/ics

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

4 years agoFix what I think was a misunderstanding of what the "extra" attribute was supposed...
pdontthink [Tue, 3 Nov 2020 20:17:15 +0000 (20:17 +0000)]
Fix what I think was a misunderstanding of what the "extra" attribute was supposed to be for the anchor links for attachment actions

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

4 years agoFix index value that was left over from 1.4.x
pdontthink [Sat, 11 Jul 2020 07:52:44 +0000 (07:52 +0000)]
Fix index value that was left over from 1.4.x

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

4 years agoAllow plugins to provide their own view/download attachment links
pdontthink [Sat, 11 Jul 2020 07:08:51 +0000 (07:08 +0000)]
Allow plugins to provide their own view/download attachment links

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

4 years agoFix previously incomplete commit
pdontthink [Sat, 11 Jul 2020 06:12:50 +0000 (06:12 +0000)]
Fix previously incomplete commit

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

4 years agoAdd MIME type parameters ("type0", "type1") to the end of the plugin arguments for...
pdontthink [Sat, 11 Jul 2020 04:31:18 +0000 (04:31 +0000)]
Add MIME type parameters ("type0", "type1") to the end of the plugin arguments for all attachment hooks

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

4 years agoRemove needless code
pdontthink [Sat, 11 Jul 2020 04:14:56 +0000 (04:14 +0000)]
Remove needless code

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

4 years agoFix overlooked default parameter value
pdontthink [Mon, 25 May 2020 05:04:52 +0000 (05:04 +0000)]
Fix overlooked default parameter value

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

4 years agoMore accurate filesizes
pdontthink [Sat, 23 May 2020 19:42:53 +0000 (19:42 +0000)]
More accurate filesizes

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

4 years agoShow better filesize approximations for base64-encoded attachments
pdontthink [Sat, 23 May 2020 19:42:22 +0000 (19:42 +0000)]
Show better filesize approximations for base64-encoded attachments

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

4 years agoUploaded file sizes seem to be reported differently by PHP filesize(); changing divis...
pdontthink [Sat, 23 May 2020 19:29:27 +0000 (19:29 +0000)]
Uploaded file sizes seem to be reported differently by PHP filesize(); changing divisor from 1024 to 1000 in this case. You can set $upload_filesize_divisor in config/config_local.php to 1024 if this breaks things for you. Feedback appreciated for this one.

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

4 years agoImplement ability to move to next message after moving the one you are viewing, per...
pdontthink [Fri, 8 May 2020 00:59:52 +0000 (00:59 +0000)]
Implement ability to move to next message after moving the one you are viewing, per the way delete_move_next plugins does from v1.4.x

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

4 years agoDocument $php_self_pattern and $php_self_replacement
pdontthink [Wed, 25 Mar 2020 00:20:42 +0000 (00:20 +0000)]
Document $php_self_pattern and $php_self_replacement

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

4 years agoDocument $php_self_pattern and $php_self_replacement
pdontthink [Tue, 24 Mar 2020 22:44:57 +0000 (22:44 +0000)]
Document $php_self_pattern and $php_self_replacement

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

4 years agoCache $PHP_SELF value, add ability to make custom changes to $PHP_SELF by putting...
pdontthink [Tue, 24 Mar 2020 20:12:42 +0000 (20:12 +0000)]
Cache $PHP_SELF value, add ability to make custom changes to $PHP_SELF by putting $php_self_pattern and $php_self_replacement in config/config_local.php

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

4 years agoSearch page should remember last move-target too
pdontthink [Tue, 24 Mar 2020 17:38:48 +0000 (17:38 +0000)]
Search page should remember last move-target too

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

4 years agoHappy New Year
pdontthink [Tue, 7 Jan 2020 08:09:34 +0000 (08:09 +0000)]
Happy New Year

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

4 years agoEven better HTML email content style containment
pdontthink [Tue, 7 Jan 2020 06:49:42 +0000 (06:49 +0000)]
Even better HTML email content style containment

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

4 years agoBetter HTML email content style containment
pdontthink [Mon, 6 Jan 2020 21:22:00 +0000 (21:22 +0000)]
Better HTML email content style containment

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

5 years agoFix broken anchor links
pdontthink [Mon, 2 Sep 2019 02:45:49 +0000 (02:45 +0000)]
Fix broken anchor links

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

5 years agoDocument CVE-2019-12970 fix
pdontthink [Wed, 24 Jul 2019 01:13:11 +0000 (01:13 +0000)]
Document CVE-2019-12970 fix

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

5 years agoDocument new config_local item for CVE-2019-12970
pdontthink [Wed, 24 Jul 2019 01:07:50 +0000 (01:07 +0000)]
Document new config_local item for CVE-2019-12970

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

5 years agoAdd handling for RCDATA and RAWTEXT elements in HTML sanitizer (CVE-2019-12970)
pdontthink [Wed, 24 Jul 2019 00:57:42 +0000 (00:57 +0000)]
Add handling for RCDATA and RAWTEXT elements in HTML sanitizer (CVE-2019-12970)

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

5 years agoPHP7.2 fix (#2848)
pdontthink [Tue, 18 Jun 2019 06:59:25 +0000 (06:59 +0000)]
PHP7.2 fix (#2848)

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

5 years agoSome browswers were not putting cursor at beginning of message body after focus
pdontthink [Mon, 27 May 2019 21:54:59 +0000 (21:54 +0000)]
Some browswers were not putting cursor at beginning of message body after focus

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

5 years agoDon't wrap headers right after the name (configurable)
pdontthink [Tue, 21 May 2019 00:56:59 +0000 (00:56 +0000)]
Don't wrap headers right after the name (configurable)

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

5 years agoCorrect mistaken use of rfc822_header->date field that was being treated as a date...
pdontthink [Tue, 30 Apr 2019 02:30:07 +0000 (02:30 +0000)]
Correct mistaken use of rfc822_header->date field that was being treated as a date string when it is only ever a timestamp

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

5 years agoAdd IMAP ID command (RFC2971), sent after every login - use by setting $imap_id_comma...
pdontthink [Sat, 6 Apr 2019 19:06:29 +0000 (19:06 +0000)]
Add IMAP ID command (RFC2971), sent after every login - use by setting $imap_id_command_args in config/config_local.php (see notes in config/config_local.example.php for more details)

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

5 years agoUpdated SVG handling, closing several related vulnerabilities reported in #2831 and...
pdontthink [Wed, 27 Feb 2019 03:45:41 +0000 (03:45 +0000)]
Updated SVG handling, closing several related vulnerabilities reported in #2831 and CVE-2018-14950, CVE-2018-14951, CVE-2018-14952, CVE-2018-14953, CVE-2018-14954, CVE-2018-14955

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

5 years agoAdd new options for SVG handling and broken base64-encoded messages
pdontthink [Wed, 27 Feb 2019 03:31:33 +0000 (03:31 +0000)]
Add new options for SVG handling and broken base64-encoded messages

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

5 years agoDisable SVG display be default
pdontthink [Wed, 27 Feb 2019 02:07:23 +0000 (02:07 +0000)]
Disable SVG display be default

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

5 years agoUpdated SVG handling, gracefully fix broken base64-encoded messages, also close XSS...
pdontthink [Sat, 23 Feb 2019 22:04:27 +0000 (22:04 +0000)]
Updated SVG handling, gracefully fix broken base64-encoded messages, also close XSS reported in #2831 and CVE-2018-14950, CVE-2018-14951, CVE-2018-14952, CVE-2018-14953, CVE-2018-14954, CVE-2018-14955

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

5 years agoWhen message being replied to has no Reply-To header, we use the From header to fill...
pdontthink [Sat, 23 Feb 2019 07:13:52 +0000 (07:13 +0000)]
When message being replied to has no Reply-To header, we use the From header to fill in the reply To address, so we have to account for that situation when building the Cc header

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

5 years agoHappy New Year
pdontthink [Tue, 8 Jan 2019 04:38:12 +0000 (04:38 +0000)]
Happy New Year

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

5 years agoAllow unsent compose sessions to stay around, but remove them after successful send
pdontthink [Sun, 25 Nov 2018 20:25:43 +0000 (20:25 +0000)]
Allow unsent compose sessions to stay around, but remove them after successful send

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

6 years agoMake sure link tags are proper XHTML
pdontthink [Sat, 13 Oct 2018 22:59:15 +0000 (22:59 +0000)]
Make sure link tags are proper XHTML

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

6 years agoForgot the icon file
pdontthink [Sat, 13 Oct 2018 15:40:11 +0000 (15:40 +0000)]
Forgot the icon file

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

6 years agoAdd favicon and ability for admins to use their own by setting $head_tag_extra in...
pdontthink [Sat, 13 Oct 2018 07:18:33 +0000 (07:18 +0000)]
Add favicon and ability for admins to use their own by setting $head_tag_extra in config_local.php (see documentation in config/config_local.php)

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