squirrelmail.git
17 years agoLoad prefs for all page loads, no matter if user is logged in. This fixes some login...
pdontthink [Fri, 24 Aug 2007 02:29:20 +0000 (02:29 +0000)]
Load prefs for all page loads, no matter if user is logged in.  This fixes some login page issues and seems fine when user isn't logged in, but please report problems I may not have seen in my limited testing.

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

17 years agoadd another applicable cve ID to the changelog,
kink [Wed, 15 Aug 2007 22:44:51 +0000 (22:44 +0000)]
add another applicable cve ID to the changelog,
for future reference: CVE-2007-2589

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

17 years agoShow plugin English names in conf.pl plugin listing page. Note that get_plugin_engli...
pdontthink [Tue, 14 Aug 2007 21:17:09 +0000 (21:17 +0000)]
Show plugin English names in conf.pl plugin listing page.  Note that get_plugin_english_name() and get_plugin_version() both read the setup.php file into memory, so that should at some point be refactored.

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

17 years agoShow English plugin name in configtest plugins list
pdontthink [Tue, 14 Aug 2007 20:57:42 +0000 (20:57 +0000)]
Show English plugin name in configtest plugins list

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

17 years agoRemove extraneous slash
pdontthink [Mon, 13 Aug 2007 22:42:26 +0000 (22:42 +0000)]
Remove extraneous slash

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

17 years agoThe $messages cache was checked but not imported from the session.
kink [Sun, 12 Aug 2007 19:10:39 +0000 (19:10 +0000)]
The $messages cache was checked but not imported from the session.
Thanks Tomas Kuliavas for finding this bug.

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

17 years agoList separator i18n. Complements RisuMail Team - risumail.jp
pdontthink [Thu, 9 Aug 2007 06:49:14 +0000 (06:49 +0000)]
List separator i18n.  Complements RisuMail Team - risumail.jp

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

17 years agoAllow use of checkall=1 in URI for message list pages when JavaScript is enabled...
pdontthink [Thu, 9 Aug 2007 06:48:59 +0000 (06:48 +0000)]
Allow use of checkall=1 in URI for message list pages when JavaScript is enabled.  Currently, this seems to be broken in IE for reasons I cannot understand.  Please help debug.  Sample URI would be something like example.org/webmail/src/right_main.php&checkall=1

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

17 years agoremove useless check for unset user_is_logged_in, since that is
kink [Wed, 8 Aug 2007 10:55:18 +0000 (10:55 +0000)]
remove useless check for unset user_is_logged_in, since that is
always unset a couple of lines above that block. Thanks Tomas Kuliavas
for finding this.

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

17 years agoAllow plugins to enable MOTD whenever they want; add note about bug that won't show...
pdontthink [Fri, 3 Aug 2007 02:24:12 +0000 (02:24 +0000)]
Allow plugins to enable MOTD whenever they want; add note about bug that won't show up but should be fixed

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

17 years agoQuelch PHP notice. Spotted by James Pooton.
pdontthink [Tue, 31 Jul 2007 11:12:09 +0000 (11:12 +0000)]
Quelch PHP notice.  Spotted by James Pooton.

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

17 years agotypo (=/==)
kink [Mon, 23 Jul 2007 12:49:46 +0000 (12:49 +0000)]
typo (=/==)

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

17 years agodrop some unneeded globals / variables
kink [Fri, 20 Jul 2007 17:13:05 +0000 (17:13 +0000)]
drop some unneeded globals / variables

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

17 years agofix decryption of ipv6 headers (thanks Tomas Kuliavas)
kink [Fri, 20 Jul 2007 16:58:50 +0000 (16:58 +0000)]
fix decryption of ipv6 headers (thanks Tomas Kuliavas)

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

17 years agoSilence fsockopen since errors are handled internally.
kink [Fri, 20 Jul 2007 16:53:10 +0000 (16:53 +0000)]
Silence fsockopen since errors are handled internally.
Use more sensible return values for this function.

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

17 years agoFixing some HTML errors.
jervfors [Fri, 20 Jul 2007 11:33:00 +0000 (11:33 +0000)]
Fixing some HTML errors.

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

17 years agoWas a nice idea, but not all that useful and some processes might hang under certain...
pdontthink [Thu, 19 Jul 2007 12:28:16 +0000 (12:28 +0000)]
Was a nice idea, but not all that useful and some processes might hang under certain conditions; remove all the sq_popen() stuff.

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

17 years agomention bug in changelog
kink [Thu, 19 Jul 2007 11:01:01 +0000 (11:01 +0000)]
mention bug in changelog

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

17 years agoSort output of readdir, as this is not by default.
kink [Wed, 18 Jul 2007 09:26:56 +0000 (09:26 +0000)]
Sort output of readdir, as this is not by default.
Thanks Tomas Kuliavas for finding this.

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

17 years agoRemove incorrect and unnecessary substr length arg
pdontthink [Tue, 17 Jul 2007 22:50:51 +0000 (22:50 +0000)]
Remove incorrect and unnecessary substr length arg

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

17 years agoAvoid calling javascript check fxn if user is not logged in
pdontthink [Tue, 17 Jul 2007 22:24:57 +0000 (22:24 +0000)]
Avoid calling javascript check fxn if user is not logged in

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

17 years agoFix login error for users with no theme
pdontthink [Tue, 17 Jul 2007 22:20:15 +0000 (22:20 +0000)]
Fix login error for users with no theme

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

17 years agoChangr filename back.
pdontthink [Tue, 17 Jul 2007 01:23:13 +0000 (01:23 +0000)]
Changr filename back.

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

17 years agoUse attachment_dir only at the point where we're actually
kink [Mon, 16 Jul 2007 20:48:46 +0000 (20:48 +0000)]
Use attachment_dir only at the point where we're actually
reading from / writing to the files, do not carry it around
in the object. This makes us safer in the event the object
is somehow exposed to the outside world.

I may be cleaning this up some more for devel.

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

17 years agoEnable better plugin motd hooking
pdontthink [Sun, 15 Jul 2007 19:16:05 +0000 (19:16 +0000)]
Enable better plugin motd hooking

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

17 years agouse PAGE_NAME rather than PHP_SELF in session_expired_location
kink [Sat, 14 Jul 2007 18:04:09 +0000 (18:04 +0000)]
use PAGE_NAME rather than PHP_SELF in session_expired_location

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

17 years agouse PAGE_NAME in themes and templates
kink [Sat, 14 Jul 2007 17:56:47 +0000 (17:56 +0000)]
use PAGE_NAME in themes and templates

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

17 years agodrop unused global
kink [Sat, 14 Jul 2007 17:45:20 +0000 (17:45 +0000)]
drop unused global

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

17 years agomake use of PAGE_NAME constant in plugin, prefix it with the plugin name.
kink [Sat, 14 Jul 2007 17:44:29 +0000 (17:44 +0000)]
make use of PAGE_NAME constant in plugin, prefix it with the plugin name.

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

17 years agouse PAGE_NAME to switch on which page we are, rather than
kink [Sat, 14 Jul 2007 17:39:27 +0000 (17:39 +0000)]
use PAGE_NAME to switch on which page we are, rather than
sInitLocation

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

17 years agorename squirrelmail_rpc.php to rpc.php, it doesn't make much sense to
kink [Sat, 14 Jul 2007 17:32:50 +0000 (17:32 +0000)]
rename squirrelmail_rpc.php to rpc.php, it doesn't make much sense to
have 'squirrelmail' in our path components (i.e. also no squirrelmail_compose.php)

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

17 years agoadd PAGE_NAME constant to every page under src/.
kink [Sat, 14 Jul 2007 17:30:44 +0000 (17:30 +0000)]
add PAGE_NAME constant to every page under src/.
These can/will be used in various tests, and for consistency every page
sets the constant to the appropriate setting.

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

17 years agoon second thought, revise r12527 to use one, generic constant
kink [Sat, 14 Jul 2007 17:11:31 +0000 (17:11 +0000)]
on second thought, revise r12527 to use one, generic constant
PAGE_NAME, because that doesn't clutter the namespace as much.

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

17 years agoFix test for signout.php in the logged in check in init.php so it
kink [Sat, 14 Jul 2007 17:07:23 +0000 (17:07 +0000)]
Fix test for signout.php in the logged in check in init.php so it
cannot be circumvented by manipulating the URL. External plugins migh
rely on init.php guarranteeing that the user is logged in.
Thanks Stefan Esser for finding this.

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

17 years agoremove PHP closing tag in example config file
kink [Wed, 11 Jul 2007 09:44:01 +0000 (09:44 +0000)]
remove PHP closing tag in example config file

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

17 years agoTry to tag all the places that need to be fixed (no echoing direct from core). We...
pdontthink [Tue, 10 Jul 2007 19:21:46 +0000 (19:21 +0000)]
Try to tag all the places that need to be fixed (no echoing direct from core).  We need to do this in all the rest of the core files

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

17 years agoremoving attachedmessages GET variable that was not being used
pdontthink [Tue, 10 Jul 2007 19:14:39 +0000 (19:14 +0000)]
removing attachedmessages GET variable that was not being used

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

17 years agoMake all comparisons case insensitive for forwarded protocol in get_location()
pdontthink [Tue, 10 Jul 2007 07:54:42 +0000 (07:54 +0000)]
Make all comparisons case insensitive for forwarded protocol in get_location()

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

17 years agoAdded ability to detect HTTP_X_FORWARDED_PROTO in get_location(), thanks to Daniel...
pdontthink [Tue, 10 Jul 2007 06:00:11 +0000 (06:00 +0000)]
Added ability to detect HTTP_X_FORWARDED_PROTO in get_location(), thanks to Daniel Watts

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

17 years agodrop unneeded global
kink [Mon, 9 Jul 2007 09:38:28 +0000 (09:38 +0000)]
drop unneeded global

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

17 years agodrop two unneeded globals
kink [Mon, 9 Jul 2007 09:37:05 +0000 (09:37 +0000)]
drop two unneeded globals

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

17 years agoremove unused globals, thanks Tomas Kuliavas for $day
kink [Mon, 9 Jul 2007 09:02:54 +0000 (09:02 +0000)]
remove unused globals, thanks Tomas Kuliavas for $day

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

17 years agoResolved issue with compose session not being updated on send/save.
jangliss [Sun, 8 Jul 2007 06:11:59 +0000 (06:11 +0000)]
Resolved issue with compose session not being updated on send/save.

Thanks to Michael Andreas for bringing this back up.

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

17 years agoDon't include svn files in any of the cached template files
pdontthink [Sun, 8 Jul 2007 00:25:23 +0000 (00:25 +0000)]
Don't include svn files in any of the cached template files

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

17 years agolist_files vomits over the non-existence of 'none'. The definition of $used_theme is
ebullient [Fri, 6 Jul 2007 23:49:59 +0000 (23:49 +0000)]
list_files vomits over the non-existence of 'none'. The definition of $used_theme is
arguably wrong, but either way, 'none' means 'none', and we shouldn't go off
listing files if that's the value.

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

17 years agoTypos in sqsetcookie. This might explain a few things. :-)
pdontthink [Sun, 1 Jul 2007 07:28:59 +0000 (07:28 +0000)]
Typos in sqsetcookie.  This might explain a few things.  :-)

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

17 years agoAdd cc: to the list of checks for empty recipients
pdontthink [Sun, 1 Jul 2007 07:26:57 +0000 (07:26 +0000)]
Add cc: to the list of checks for empty recipients

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

17 years agoFix syntax error
pdontthink [Fri, 29 Jun 2007 23:38:35 +0000 (23:38 +0000)]
Fix syntax error

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

17 years agoMake sq_change_text_domain() return previous text domain
pdontthink [Fri, 29 Jun 2007 23:29:09 +0000 (23:29 +0000)]
Make sq_change_text_domain() return previous text domain

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

17 years agoMake dir parameter optional for sq_bindtextdomain()
pdontthink [Fri, 29 Jun 2007 21:30:52 +0000 (21:30 +0000)]
Make dir parameter optional for sq_bindtextdomain()

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

17 years agoupdate randomizing themes for larger color array
kink [Wed, 27 Jun 2007 16:24:01 +0000 (16:24 +0000)]
update randomizing themes for larger color array

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

17 years agofix spice of life for newer color array
kink [Wed, 27 Jun 2007 16:17:26 +0000 (16:17 +0000)]
fix spice of life for newer color array

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

17 years agodrop unnecessary mt_rand() call, found by Tomas Kuliavas
kink [Wed, 27 Jun 2007 16:12:07 +0000 (16:12 +0000)]
drop unnecessary mt_rand() call, found by Tomas Kuliavas

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

17 years ago- Fix busy loop and notice when two literals in IMAP fetch (#1739433).
kink [Mon, 25 Jun 2007 21:05:56 +0000 (21:05 +0000)]
- Fix busy loop and notice when two literals in IMAP fetch (#1739433).
thanks James E. Blair

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

17 years agodrop "Application" on second thought (a matter of taste, mostly)
kink [Mon, 25 Jun 2007 20:26:01 +0000 (20:26 +0000)]
drop "Application" on second thought (a matter of taste, mostly)

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

17 years ago- Fix disabling password encryption in mail_fetch (#1738001).
kink [Mon, 25 Jun 2007 20:18:15 +0000 (20:18 +0000)]
- Fix disabling password encryption in mail_fetch (#1738001).
Thanks Stephen More

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

17 years ago- Fix compatibility with Windows path in administrator plugin (#1740469).
kink [Mon, 25 Jun 2007 19:43:38 +0000 (19:43 +0000)]
- Fix compatibility with Windows path in administrator plugin (#1740469).

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

17 years agomissing ,
kink [Mon, 25 Jun 2007 19:33:52 +0000 (19:33 +0000)]
missing ,

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

17 years agodrop obsolete parameter, thanks Tomas Kuliavas for finding
kink [Mon, 25 Jun 2007 15:24:42 +0000 (15:24 +0000)]
drop obsolete parameter, thanks Tomas Kuliavas for finding

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

17 years agofix switch of en/decode in mdn, thanks Masato HIGASHIYAMA (#1694687)
kink [Mon, 25 Jun 2007 15:22:27 +0000 (15:22 +0000)]
fix switch of en/decode in mdn, thanks Masato HIGASHIYAMA (#1694687)

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

17 years agoFix JavaScript errors; make resizable compose body work again.
pdontthink [Sun, 24 Jun 2007 07:48:30 +0000 (07:48 +0000)]
Fix JavaScript errors; make resizable compose body work again.

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

17 years agoFew tweaks to list_files() and add new sq_popen() and friends. PLEASE NOTE that...
pdontthink [Sun, 24 Jun 2007 05:39:04 +0000 (05:39 +0000)]
Few tweaks to list_files() and add new sq_popen() and friends.  PLEASE NOTE that the lass commit mistakenly added sq_htmlspecialchars(), but I think we can leave it in.

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

17 years agoAdd ask_user_info redirect to compose screen
pdontthink [Fri, 15 Jun 2007 19:24:10 +0000 (19:24 +0000)]
Add ask_user_info redirect to compose screen

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

17 years agoTypo
pdontthink [Fri, 15 Jun 2007 19:19:06 +0000 (19:19 +0000)]
Typo

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

17 years agofix some bugs found by grepping for urlencode/urldecode
kink [Fri, 8 Jun 2007 20:14:37 +0000 (20:14 +0000)]
fix some bugs found by grepping for urlencode/urldecode

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

17 years agocolor has been dropped as a parameter from (plain_)error_message,
kink [Fri, 8 Jun 2007 19:55:53 +0000 (19:55 +0000)]
color has been dropped as a parameter from (plain_)error_message,
update the code to follow

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

17 years agoremove some HTML from within functions. Unneeded HTML to be precise.
kink [Fri, 8 Jun 2007 19:50:02 +0000 (19:50 +0000)]
remove some HTML from within functions. Unneeded HTML to be precise.

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

17 years agodrop some unused globals
kink [Fri, 8 Jun 2007 19:42:55 +0000 (19:42 +0000)]
drop some unused globals

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

17 years agohtml/plain should be text/html
kink [Fri, 8 Jun 2007 18:31:54 +0000 (18:31 +0000)]
html/plain should be text/html

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

17 years agoAlways treat Content-Type case-insensitively (#1732092).
kink [Fri, 8 Jun 2007 18:28:30 +0000 (18:28 +0000)]
Always treat Content-Type case-insensitively (#1732092).
Thanks Rich Pinkall Pollei!

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

17 years ago- fix notice when returning from a restored compose session.
kink [Fri, 8 Jun 2007 16:40:37 +0000 (16:40 +0000)]
- fix notice when returning from a restored compose session.
- there's no need to urldecode the restored session parameter.

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

17 years agoFix broken set_url_var function in functions/html.php (#1729814).
bouchon [Sun, 3 Jun 2007 13:58:37 +0000 (13:58 +0000)]
Fix broken set_url_var function in functions/html.php (#1729814).

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

17 years agoTemplates also known as skins; also alphabetize list of available plugins (whew)
pdontthink [Sat, 2 Jun 2007 19:37:44 +0000 (19:37 +0000)]
Templates also known as skins; also alphabetize list of available plugins (whew)

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

17 years agoMore XHTML Cleanup
jangliss [Fri, 1 Jun 2007 04:13:38 +0000 (04:13 +0000)]
More XHTML Cleanup

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

17 years agoAnother XHTML fix.
jangliss [Fri, 1 Jun 2007 03:54:11 +0000 (03:54 +0000)]
Another XHTML fix.

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

17 years agoXHTML is case sensitive. onLoad != onload
jangliss [Fri, 1 Jun 2007 03:41:01 +0000 (03:41 +0000)]
XHTML is case sensitive.  onLoad != onload

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

17 years agostate license as recommended by the free software foundation
kink [Thu, 31 May 2007 12:27:08 +0000 (12:27 +0000)]
state license as recommended by the free software foundation

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

17 years agoadapt to approximate global changelog style
kink [Wed, 30 May 2007 19:07:05 +0000 (19:07 +0000)]
adapt to approximate global changelog style

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

17 years agofix mail_fetch class to properly cope with dots as specified
kink [Wed, 30 May 2007 18:30:27 +0000 (18:30 +0000)]
fix mail_fetch class to properly cope with dots as specified
in the RFC, thanks Tomas Kuliavas. Closes: #1621267

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

17 years agoFixed #1727033 (auth support detection in conf.pl)
bouchon [Wed, 30 May 2007 09:43:43 +0000 (09:43 +0000)]
Fixed #1727033 (auth support detection in conf.pl)

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

17 years agowork around broken mailers sending broken date headers without
kink [Tue, 29 May 2007 15:29:13 +0000 (15:29 +0000)]
work around broken mailers sending broken date headers without
a space after the day name (e.g. "Tue,23"). from stable

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

17 years agoRemove duplicated javascript function definition
pdontthink [Fri, 18 May 2007 13:31:55 +0000 (13:31 +0000)]
Remove duplicated javascript function definition

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

17 years agoAdd autohide functionality for preview pane. Thanks to Daniel Watts.
pdontthink [Fri, 18 May 2007 13:17:27 +0000 (13:17 +0000)]
Add autohide functionality for preview pane.  Thanks to Daniel Watts.

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

17 years agoMinor adjustments to variable_orders & gpc_order checks. "Special thanks" to Tomas...
pdontthink [Fri, 18 May 2007 12:22:01 +0000 (12:22 +0000)]
Minor adjustments to variable_orders & gpc_order checks.  "Special thanks" to Tomas for "not informing" about his "pet project".

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

17 years agoUpdate preview pane functionality so it only refreshes message list when viewing...
pdontthink [Fri, 18 May 2007 11:10:12 +0000 (11:10 +0000)]
Update preview pane functionality so it only refreshes message list when viewing a message that has not yet been seen; also small code updates

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

17 years agoAdding comment for future developer(s)
pdontthink [Fri, 18 May 2007 11:05:23 +0000 (11:05 +0000)]
Adding comment for future developer(s)

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

17 years agoFirstTimeSee is useful to other functionalities beside MDN
pdontthink [Fri, 18 May 2007 10:53:51 +0000 (10:53 +0000)]
FirstTimeSee is useful to other functionalities beside MDN

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

17 years agoCorrectly update cached message flags in ALL places when they are changed by the...
pdontthink [Fri, 18 May 2007 10:41:02 +0000 (10:41 +0000)]
Correctly update cached message flags in ALL places when they are changed by the user

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

17 years agoGrammar fix and comment to Marc I think.
pdontthink [Fri, 18 May 2007 10:17:30 +0000 (10:17 +0000)]
Grammar fix and comment to Marc I think.

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

17 years agoAdd the message as a parameter to subject_link hook since it could be useful too
pdontthink [Fri, 18 May 2007 06:57:25 +0000 (06:57 +0000)]
Add the message as a parameter to subject_link hook since it could be useful too

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

17 years agoValues that test as "empty" should actually be displayed in some cases. For now...
pdontthink [Fri, 18 May 2007 06:42:36 +0000 (06:42 +0000)]
Values that test as "empty" should actually be displayed in some cases.  For now, using === intentionally, as isset() is always true due to how the values are passed around, so we have to actually test the contents of the values.

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

17 years agoAdd ability to collapse headers into one line; works with but is unrelated to preview...
pdontthink [Fri, 18 May 2007 06:30:07 +0000 (06:30 +0000)]
Add ability to collapse headers into one line; works with but is unrelated to preview pane functionality.

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

17 years agoFix spacing
pdontthink [Fri, 18 May 2007 06:23:33 +0000 (06:23 +0000)]
Fix spacing

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

17 years agoAdd reminder comments that someone needs to take a look and fix some code in this...
pdontthink [Fri, 18 May 2007 05:27:31 +0000 (05:27 +0000)]
Add reminder comments that someone needs to take a look and fix some code in this file.

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

17 years agoAdd comments reminding someone to make a fix here
pdontthink [Fri, 18 May 2007 05:14:48 +0000 (05:14 +0000)]
Add comments reminding someone to make a fix here

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

17 years agoreplace preg_split without a regular expression with the
kink [Thu, 17 May 2007 16:36:13 +0000 (16:36 +0000)]
replace preg_split without a regular expression with the
faster and less complicated explode()

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

17 years agoalso fix duplicated version of parsepriority code
kink [Thu, 17 May 2007 16:29:47 +0000 (16:29 +0000)]
also fix duplicated version of parsepriority code
and remove a 3rd version

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

17 years agousing split() with wrong perl regexes will not work.
kink [Thu, 17 May 2007 15:39:06 +0000 (15:39 +0000)]
using split() with wrong perl regexes will not work.

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

17 years agocompare addresses case insensitively, thanks Xaviet Bruyet.
kink [Mon, 14 May 2007 16:16:55 +0000 (16:16 +0000)]
compare addresses case insensitively, thanks Xaviet Bruyet.

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

17 years agocentralise the "From"-header construction in functions/identities.php.
kink [Fri, 11 May 2007 21:49:36 +0000 (21:49 +0000)]
centralise the "From"-header construction in functions/identities.php.
This reduces the two instances used under src/ to one, and picks the best
features of both.

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