squirrelmail.git
12 years agoMake sure send buttons are named correctly in advanced template too
pdontthink [Tue, 20 Jan 2009 01:12:23 +0000 (01:12 +0000)]
Make sure send buttons are named correctly in advanced template too

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

12 years agoConsistency
pdontthink [Fri, 16 Jan 2009 00:25:51 +0000 (00:25 +0000)]
Consistency

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

12 years agoSet more restrictive permissions on abook files - matches how pref files are treated...
pdontthink [Thu, 15 Jan 2009 06:29:50 +0000 (06:29 +0000)]
Set more restrictive permissions on abook files - matches how pref files are treated.  Thanks to 'Lampa' for the pointer.

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

12 years agoSet more restrictive permissions on abook files - matches how pref files are treated...
pdontthink [Wed, 14 Jan 2009 21:55:29 +0000 (21:55 +0000)]
Set more restrictive permissions on abook files - matches how pref files are treated.  Thanks to 'Lampa' for the pointer.

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

12 years agoRemoving unneeded call to the squisher, as the IDs are passed straight onto the sub...
jangliss [Sun, 4 Jan 2009 00:05:29 +0000 (00:05 +0000)]
Removing unneeded call to the squisher, as the IDs are passed straight onto the sub functions.

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

12 years agoAdd option that allows email address to be shown on message listings instead of full...
pdontthink [Sat, 3 Jan 2009 00:14:42 +0000 (00:14 +0000)]
Add option that allows email address to be shown on message listings instead of full name (which is then shown in the tool tip) (#1762482)

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

12 years agohappy 2009 everyone
kink [Fri, 2 Jan 2009 11:24:05 +0000 (11:24 +0000)]
happy 2009 everyone

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

12 years agoCorrect since tag
pdontthink [Tue, 23 Dec 2008 03:04:17 +0000 (03:04 +0000)]
Correct since tag

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

12 years agoMake all submit button names unique on compose screen
pdontthink [Tue, 23 Dec 2008 02:59:14 +0000 (02:59 +0000)]
Make all submit button names unique on compose screen

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

12 years agoDon't use 'None' in displayPageHeader() calls
pdontthink [Mon, 22 Dec 2008 03:28:44 +0000 (03:28 +0000)]
Don't use 'None' in displayPageHeader() calls

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

12 years agoDon't use 'None' in displayPageHeader() calls
pdontthink [Mon, 22 Dec 2008 03:23:10 +0000 (03:23 +0000)]
Don't use 'None' in displayPageHeader() calls

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

12 years agoAdd textarea to list of possible focus candidates
pdontthink [Sun, 21 Dec 2008 09:43:36 +0000 (09:43 +0000)]
Add textarea to list of possible focus candidates

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

12 years agoFix body onload per FIXME
pdontthink [Sun, 21 Dec 2008 09:43:22 +0000 (09:43 +0000)]
Fix body onload per FIXME

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

12 years agoOops
pdontthink [Fri, 19 Dec 2008 08:37:39 +0000 (08:37 +0000)]
Oops

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

12 years agoAdd password option widget
pdontthink [Fri, 19 Dec 2008 08:33:56 +0000 (08:33 +0000)]
Add password option widget

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

12 years agoAdd info option widget type
pdontthink [Fri, 19 Dec 2008 00:35:22 +0000 (00:35 +0000)]
Add info option widget type

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

12 years agoAdd info option widget type
pdontthink [Fri, 19 Dec 2008 00:12:54 +0000 (00:12 +0000)]
Add info option widget type

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

12 years agoFix broken file downloads
pdontthink [Thu, 18 Dec 2008 07:08:07 +0000 (07:08 +0000)]
Fix broken file downloads

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

12 years agoAdd notes about issue reported where unset() breaks when removing attachments
pdontthink [Thu, 18 Dec 2008 01:10:59 +0000 (01:10 +0000)]
Add notes about issue reported where unset() breaks when removing attachments

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

12 years agoPlace quotes around the real name portion of addresses when putting them on the compo...
pdontthink [Mon, 8 Dec 2008 20:19:18 +0000 (20:19 +0000)]
Place quotes around the real name portion of addresses when putting them on the compose form

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

12 years agoSupposedly user info could be removed from received header regardless of edit_identit...
pdontthink [Fri, 5 Dec 2008 21:05:16 +0000 (21:05 +0000)]
Supposedly user info could be removed from received header regardless of edit_identity setting, but this was not the case - now it is; Also add one more clarifying note to config script.

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

12 years agoFix language
pdontthink [Fri, 5 Dec 2008 11:27:52 +0000 (11:27 +0000)]
Fix language

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

12 years agoFix language
pdontthink [Fri, 5 Dec 2008 11:06:06 +0000 (11:06 +0000)]
Fix language

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

12 years agoalso need to strip \r if we split on \n, otherwise the <pre> environment
kink [Fri, 5 Dec 2008 11:01:29 +0000 (11:01 +0000)]
also need to strip \r if we split on \n, otherwise the <pre> environment
will interpret each \r as an extra newline between lines.

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

12 years agoFix up spacing
pdontthink [Fri, 5 Dec 2008 10:47:11 +0000 (10:47 +0000)]
Fix up spacing

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

12 years agoFix color problem
pdontthink [Fri, 5 Dec 2008 10:41:53 +0000 (10:41 +0000)]
Fix color problem

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

12 years agoDon't load plugin pages if plugin is not enabled. Thanks to Niels Teusink for findin...
pdontthink [Fri, 5 Dec 2008 09:46:53 +0000 (09:46 +0000)]
Don't load plugin pages if plugin is not enabled.  Thanks to Niels Teusink for finding this.

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

12 years agoPHP_SELF isn't defined in the includes for this script, so don't use it
pdontthink [Fri, 5 Dec 2008 09:25:04 +0000 (09:25 +0000)]
PHP_SELF isn't defined in the includes for this script, so don't use it

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

12 years agoSync with 1.4.x wherein REQUEST_URI isn't always trustable under some PHP versions...
pdontthink [Fri, 5 Dec 2008 08:41:09 +0000 (08:41 +0000)]
Sync with 1.4.x wherein REQUEST_URI isn't always trustable under some PHP versions for use as our PHP_SELF variable value

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

12 years agoMake decrypt_headers.php work again
pdontthink [Fri, 5 Dec 2008 08:35:24 +0000 (08:35 +0000)]
Make decrypt_headers.php work again

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

12 years agoFix port detection (2388423)
pdontthink [Thu, 4 Dec 2008 21:34:53 +0000 (21:34 +0000)]
Fix port detection (2388423)

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

12 years agoPut info about the user/group of the web server in the configtest. Grabbing that...
pdontthink [Thu, 4 Dec 2008 09:35:41 +0000 (09:35 +0000)]
Put info about the user/group of the web server in the configtest.  Grabbing that info is implemented as a core function so plugins (such as ones that need to check SUID script permissions) can also make use of it.

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

12 years agoNeed to include files.php to use sq_is_writable()
pdontthink [Thu, 4 Dec 2008 07:40:47 +0000 (07:40 +0000)]
Need to include files.php to use sq_is_writable()

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

12 years agoAllow choice of line endings when downloading or decoding strings (bodies)
pdontthink [Thu, 4 Dec 2008 07:13:09 +0000 (07:13 +0000)]
Allow choice of line endings when downloading or decoding strings (bodies)

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

12 years agoFix improperly quoted href link addresses; closes XSS exploit exlained at CVE-2008...
pdontthink [Thu, 4 Dec 2008 04:20:40 +0000 (04:20 +0000)]
Fix improperly quoted href link addresses; closes XSS exploit exlained at CVE-2008-2379.  Thanks to Secunia Research for reporting this issue.

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

12 years agoFix HTTPS detection under Windows IIS (#2318118)
pdontthink [Wed, 26 Nov 2008 02:56:42 +0000 (02:56 +0000)]
Fix HTTPS detection under Windows IIS (#2318118)

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

12 years ago$headers_to_display contains TRANSLATED key values! Thanks to Stefano Bridi.
pdontthink [Mon, 24 Nov 2008 20:24:04 +0000 (20:24 +0000)]
$headers_to_display contains TRANSLATED key values!  Thanks to Stefano Bridi.

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

12 years agoThis should be everyone
pdontthink [Fri, 21 Nov 2008 19:47:11 +0000 (19:47 +0000)]
This should be everyone

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

12 years agoEveryone deserves version info
pdontthink [Fri, 21 Nov 2008 19:42:56 +0000 (19:42 +0000)]
Everyone deserves version info

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

12 years agoThanks, Thijs: svn propset svn:keywords Id <file>
pdontthink [Fri, 21 Nov 2008 19:32:02 +0000 (19:32 +0000)]
Thanks, Thijs: svn propset svn:keywords Id <file>

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

12 years agoUse sq_is_writable()
pdontthink [Fri, 21 Nov 2008 02:51:13 +0000 (02:51 +0000)]
Use sq_is_writable()

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

12 years agoHow about adding a space
pdontthink [Thu, 20 Nov 2008 22:34:38 +0000 (22:34 +0000)]
How about adding a space

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

12 years agoEr, is it "Id:"?
pdontthink [Thu, 20 Nov 2008 22:33:34 +0000 (22:33 +0000)]
Er, is it "Id:"?

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

12 years agoThe random number seed generator was creating float values that, when fed to mt_srand...
pdontthink [Thu, 20 Nov 2008 22:32:32 +0000 (22:32 +0000)]
The random number seed generator was creating float values that, when fed to mt_srand(), which expects an integer, were seen as zero on some systems because it was such a large number.  This fix takes a sub-string of the seed's MD5 before converting it to an integer in order to fix that problem.

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

12 years agoAdd a functions file for file utility functions (say that 10 times fast) along with...
pdontthink [Thu, 20 Nov 2008 21:46:12 +0000 (21:46 +0000)]
Add a functions file for file utility functions (say that 10 times fast) along with some new file functions

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

12 years agoForgot @since info for sqsetcookie
pdontthink [Thu, 20 Nov 2008 20:08:16 +0000 (20:08 +0000)]
Forgot @since info for sqsetcookie

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

12 years agoAdd global variable indicating server OS
pdontthink [Thu, 20 Nov 2008 20:05:35 +0000 (20:05 +0000)]
Add global variable indicating server OS

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

12 years agoMake login form input fields configurable again (see Password Forget plugin)
pdontthink [Fri, 31 Oct 2008 02:41:38 +0000 (02:41 +0000)]
Make login form input fields configurable again (see Password Forget plugin)

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

12 years agoMinor spacing fix
pdontthink [Thu, 30 Oct 2008 21:30:09 +0000 (21:30 +0000)]
Minor spacing fix

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

12 years agoAdding note
pdontthink [Thu, 30 Oct 2008 20:56:57 +0000 (20:56 +0000)]
Adding note

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

12 years agoProperly construct Return-Receipt-To header
pdontthink [Wed, 29 Oct 2008 23:25:51 +0000 (23:25 +0000)]
Properly construct Return-Receipt-To header

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

12 years agoEmpty header values cause PHP notice - fix
pdontthink [Wed, 29 Oct 2008 23:06:25 +0000 (23:06 +0000)]
Empty header values cause PHP notice - fix

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

12 years agoFix broken LDAP bind; thanks to Marcel Schleusner
pdontthink [Tue, 28 Oct 2008 02:03:41 +0000 (02:03 +0000)]
Fix broken LDAP bind; thanks to Marcel Schleusner

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

12 years agoCatch empty text domain
pdontthink [Mon, 27 Oct 2008 23:10:53 +0000 (23:10 +0000)]
Catch empty text domain

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

12 years agoFix alternate identities matching on reply
pdontthink [Wed, 15 Oct 2008 20:18:01 +0000 (20:18 +0000)]
Fix alternate identities matching on reply

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

12 years agoText area trailing text looks better miniaturized
pdontthink [Thu, 9 Oct 2008 07:22:08 +0000 (07:22 +0000)]
Text area trailing text looks better miniaturized

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

12 years agoAllow text area options to use trailing_text attribute
pdontthink [Tue, 7 Oct 2008 19:47:13 +0000 (19:47 +0000)]
Allow text area options to use trailing_text attribute

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

12 years agoaddrsrch_fullname needs to default to one of its allowable values
pdontthink [Tue, 7 Oct 2008 09:40:04 +0000 (09:40 +0000)]
addrsrch_fullname needs to default to one of its allowable values

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

12 years agoDon't run full address thru htmlspecialchars when it gets urlencoded anyway; compose...
pdontthink [Tue, 7 Oct 2008 08:56:21 +0000 (08:56 +0000)]
Don't run full address thru htmlspecialchars when it gets urlencoded anyway; compose.php doesn't expect it.  Thanks to Scott Haneda for reporting.

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

12 years agoAllow control over white space wrapping of auto-generated SquirrelMail option widgets
pdontthink [Tue, 7 Oct 2008 04:48:28 +0000 (04:48 +0000)]
Allow control over white space wrapping of auto-generated SquirrelMail option widgets

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

12 years agoRemove obsolete comments
pdontthink [Fri, 26 Sep 2008 19:09:30 +0000 (19:09 +0000)]
Remove obsolete comments

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

12 years agoMake more readable; expose header replace parameter when setting cookies
pdontthink [Fri, 26 Sep 2008 19:08:20 +0000 (19:08 +0000)]
Make more readable; expose header replace parameter when setting cookies

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

12 years agoAdd FIXME
pdontthink [Wed, 24 Sep 2008 20:03:31 +0000 (20:03 +0000)]
Add FIXME

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

12 years agoUse sqsetcookie(), not setcookie()
pdontthink [Wed, 24 Sep 2008 19:58:23 +0000 (19:58 +0000)]
Use sqsetcookie(), not setcookie()

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

12 years agoAdd native output buffering capability.
pdontthink [Wed, 24 Sep 2008 03:24:08 +0000 (03:24 +0000)]
Add native output buffering capability.

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

12 years agoJust fiddling. Give credit where credit is due. Template class header() function...
pdontthink [Wed, 24 Sep 2008 01:56:59 +0000 (01:56 +0000)]
Just fiddling.  Give credit where credit is due.  Template class header() function now supports the 'replace' argument.

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

12 years agoFix session autostart code - session_name() return value does not indicate session...
pdontthink [Tue, 23 Sep 2008 01:12:29 +0000 (01:12 +0000)]
Fix session autostart code - session_name() return value does not indicate session has started; Remove dead code (cookie cleanup)

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

12 years agoCorrect xmlns on lang attribute; thanks Christian Kujau
pdontthink [Fri, 19 Sep 2008 03:10:41 +0000 (03:10 +0000)]
Correct xmlns on lang attribute; thanks Christian Kujau

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

12 years agoRemoving irrelevant comments
pdontthink [Fri, 19 Sep 2008 00:22:16 +0000 (00:22 +0000)]
Removing irrelevant comments

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

12 years agoRelax restriction on image tag src URIs. Others PLEASE TEST (HTML mails with unsafe...
pdontthink [Thu, 11 Sep 2008 01:32:56 +0000 (01:32 +0000)]
Relax restriction on image tag src URIs.  Others PLEASE TEST (HTML mails with unsafe images).  Per the developers mailing list, no one could show that there was any exploit here.  Some code has been inserted here but commented out in case there is in fact some exploit - the code will filter image URI file extensions as before but for URIs that fail that test, SM will check the actual served content for legitimate image files (so dynamically generated images from .asp, .php, and other systems can be correctly displayed).

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

12 years agoSOAP-ify RPC responses. It's on my list to write a JavaScript lib for SM to read...
pdontthink [Thu, 11 Sep 2008 00:49:51 +0000 (00:49 +0000)]
SOAP-ify RPC responses.  It's on my list to write a JavaScript lib for SM to read these after which AJAX requests in 1.5.2 will be fully enabled (but proof-of-concept has already been achieved).  Note to self to make the JavaScript tolerant enough when SM core returns HTML without the expected XML structure, which happens in many error situations because the SM core is largely designed to just push an error to the browser when it happens instead of more mature error handling when the caller can indicate that it wants to handle the error differently.  Note to self that the real solution is to redesign the SM core.

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

12 years agoRPC requests should use their own template sets with different content-type.
pdontthink [Wed, 10 Sep 2008 06:48:00 +0000 (06:48 +0000)]
RPC requests should use their own template sets with different content-type.

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

12 years agoRPC requests should use their own template sets with different content-type.
pdontthink [Wed, 10 Sep 2008 06:47:36 +0000 (06:47 +0000)]
RPC requests should use their own template sets with different content-type.

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

12 years agoAllow template sets to define what the content-type of their output is.
pdontthink [Wed, 10 Sep 2008 03:04:14 +0000 (03:04 +0000)]
Allow template sets to define what the content-type of their output is.

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

12 years agoClean up delimiter usage
pdontthink [Tue, 9 Sep 2008 05:49:20 +0000 (05:49 +0000)]
Clean up delimiter usage

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

12 years agoMove options constants to constants include file
pdontthink [Tue, 26 Aug 2008 06:40:25 +0000 (06:40 +0000)]
Move options constants to constants include file

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

12 years agorework seed generation: this is something that really belongs in init.php
kink [Thu, 21 Aug 2008 12:16:20 +0000 (12:16 +0000)]
rework seed generation: this is something that really belongs in init.php
so do it there. Input enough random components from diferent dimensions,
so hard to predict.

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

12 years agouse our existing random seeder function
kink [Thu, 21 Aug 2008 11:33:11 +0000 (11:33 +0000)]
use our existing random seeder function

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

12 years agomake sure we've ran our own random seeder before using mt_rand
kink [Thu, 21 Aug 2008 11:32:11 +0000 (11:32 +0000)]
make sure we've ran our own random seeder before using mt_rand

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

12 years agoFix subsequent PHP notices caused by last commit. Also note that incorrect server...
pdontthink [Sun, 17 Aug 2008 03:49:37 +0000 (03:49 +0000)]
Fix subsequent PHP notices caused by last commit.  Also note that incorrect server responses shouild be error-checked, but they are not, probably because that's indicative of more fundamental problems elsewhere.

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

12 years agoEliminate PHP notices. Thanks to Pablo Alvarez de Sotomayor Posadillo
pdontthink [Sat, 16 Aug 2008 08:58:19 +0000 (08:58 +0000)]
Eliminate PHP notices.  Thanks to Pablo Alvarez de Sotomayor Posadillo

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

12 years agoFix PHP 5.3.0 notices
pdontthink [Mon, 11 Aug 2008 01:30:35 +0000 (01:30 +0000)]
Fix PHP 5.3.0 notices

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

12 years agoFix for phpDocumentor.
jervfors [Sat, 2 Aug 2008 16:50:06 +0000 (16:50 +0000)]
Fix for phpDocumentor.

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

13 years agoClarify language
pdontthink [Thu, 24 Jul 2008 18:16:44 +0000 (18:16 +0000)]
Clarify language

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

13 years agoAdd minor details about how to enable plugin in conf.pl
pdontthink [Tue, 22 Jul 2008 06:41:10 +0000 (06:41 +0000)]
Add minor details about how to enable plugin in conf.pl

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

13 years agoCorrect doc location
pdontthink [Tue, 22 Jul 2008 06:32:12 +0000 (06:32 +0000)]
Correct doc location

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

13 years agoFix plugin names showing up as "INCOMPATIBLE" on configtest list
pdontthink [Tue, 22 Jul 2008 04:47:52 +0000 (04:47 +0000)]
Fix plugin names showing up as "INCOMPATIBLE" on configtest list

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

13 years agoShow correct page title when on main options page after saving
pdontthink [Sun, 20 Jul 2008 20:49:17 +0000 (20:49 +0000)]
Show correct page title when on main options page after saving

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

13 years agoUpdate docs only
pdontthink [Sun, 20 Jul 2008 06:49:18 +0000 (06:49 +0000)]
Update docs only

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

13 years agoAllow a different server address for the POP server to be configured when using POP...
pdontthink [Sat, 19 Jul 2008 17:27:54 +0000 (17:27 +0000)]
Allow a different server address for the POP server to be configured when using POP before SMTP

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

13 years agoChange to docs only regarding plugin info
pdontthink [Sat, 19 Jul 2008 04:38:04 +0000 (04:38 +0000)]
Change to docs only regarding plugin info

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

13 years agoInfo about removal of abook_take
pdontthink [Sat, 12 Jul 2008 18:03:47 +0000 (18:03 +0000)]
Info about removal of abook_take

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

13 years agoRemove abook_take; see the Add Address plugin (third party)
pdontthink [Sat, 12 Jul 2008 18:01:16 +0000 (18:01 +0000)]
Remove abook_take; see the Add Address plugin (third party)

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

13 years agoUpdate error codes
pdontthink [Fri, 11 Jul 2008 23:43:39 +0000 (23:43 +0000)]
Update error codes

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

13 years agoPlugins have to be able to update the message cache if they manipulate messages
pdontthink [Fri, 11 Jul 2008 09:15:16 +0000 (09:15 +0000)]
Plugins have to be able to update the message cache if they manipulate messages

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

13 years agoGive plugins something to work with
pdontthink [Fri, 11 Jul 2008 08:01:46 +0000 (08:01 +0000)]
Give plugins something to work with

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

13 years agoAllow plugins to have buttons that don't need message selections to work on the mailb...
pdontthink [Fri, 11 Jul 2008 07:41:14 +0000 (07:41 +0000)]
Allow plugins to have buttons that don't need message selections to work on the mailbox list page

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

13 years agoAllow other attributes to be added to message list buttons
pdontthink [Fri, 11 Jul 2008 04:39:56 +0000 (04:39 +0000)]
Allow other attributes to be added to message list buttons

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

13 years agoFIXME
pdontthink [Thu, 10 Jul 2008 08:43:49 +0000 (08:43 +0000)]
FIXME

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

13 years agoFIXME
pdontthink [Thu, 10 Jul 2008 08:43:04 +0000 (08:43 +0000)]
FIXME

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