Ian Kelling [Mon, 27 Apr 2020 01:39:19 +0000 (21:39 -0400)]
fsf changes, meant to be rebased on upstream
As upstream changes, rebase this commit on top.
The change to read_body.php, documented here
https://sourceforge.net/p/squirrelmail/mailman/message/
36992407/
copied here in case that link dies:
In the svn version, when viewing a message, if you click the move or
copy button, the page changes to the list of messages. In older versions
such as 1.4.13, that button was enabled by the delete_move_next plugin,
and when pressing move, the page would change to the next message. That
is clearly the way it should work. When using the preview panel, this
behavior especially makes no sense because you were already seeing the
message list and it just turns the preview panel into blank space.
After a quick look into the code, I was able to make a one line change
to the svn version so that the the page does not change at all when
pressing move, which helps workaround the problem so that I can then
press a key to go to the next message. I'm hoping someone here is
familiar with the code and can help identify the root cause and find a
proper fix so it goes to the next message.
Here is a comparison of the post request when clicking move in svn vs
old working 1.4.13:
SVN post:
https://webmail.fsf.org/src/read_body.php?mailbox=INBOX&sort=6&startMessage=1&passed_id=18
form data:
show_more "0"
move_id "19"
targetMailbox "INBOX.Trash"
Working 1.4.13 post:
https://mail1p.fsf.org/src/right_main.php
form data:
smtoken "EEZR1hS4cPUh"
mailbox "INBOX"
msg[0] "19"
targetMailbox "INBOX.Trash"
moveButton "Move"
I figured out that if the post url didn't have any path, or had a path
of "right_main.php", like the old version, it would stop changing the
page, and there was already an example in the code of not passing the
path, so I copied that to make this hacky patch.
I enabled level 2 debug mode, didnt result in any output in the logs.
Configtest shows no errors.
pdontthink [Wed, 27 Mar 2024 10:20:28 +0000 (10:20 +0000)]
Fix PHP warning
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@15015
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Wed, 27 Mar 2024 09:52:05 +0000 (09:52 +0000)]
Hack for problem where $i is used as both boolean and int
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@15013
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Tue, 2 Jan 2024 22:42:19 +0000 (22:42 +0000)]
Happy New Year
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@15008
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Mon, 11 Dec 2023 20:12:16 +0000 (20:12 +0000)]
Fix: Don't feed an integer to sizeof()
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@15001
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Fri, 24 Nov 2023 18:59:00 +0000 (18:59 +0000)]
Fix broken parenthesis
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14999
7612ce4b-ef26-0410-bec9-
ea0150e637f0
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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