squirrelmail.git
15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 years agoGuarantee outgoing addresses have a domain part
pdontthink [Wed, 9 Jul 2008 19:25:40 +0000 (19:25 +0000)]
Guarantee outgoing addresses have a domain part

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

16 years agoBring the left_main_after_each_folder hook to life
pdontthink [Wed, 9 Jul 2008 08:46:36 +0000 (08:46 +0000)]
Bring the left_main_after_each_folder hook to life

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

16 years agoDon't use GLOBALS['xxx'] -- Doesn't matter, but let's remain with a consistent coding...
pdontthink [Wed, 9 Jul 2008 06:55:51 +0000 (06:55 +0000)]
Don't use GLOBALS['xxx'] -- Doesn't matter, but let's remain with a consistent coding style

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

16 years agoFix hook for folders page
pdontthink [Wed, 9 Jul 2008 05:07:14 +0000 (05:07 +0000)]
Fix hook for folders page

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

16 years agoQuick attempt at correcting the English in the plural forms section
pdontthink [Fri, 4 Jul 2008 21:29:18 +0000 (21:29 +0000)]
Quick attempt at correcting the English in the plural forms section

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

16 years agoadd fixme
pdontthink [Fri, 4 Jul 2008 19:22:02 +0000 (19:22 +0000)]
add fixme

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

16 years agoPreserve show_all when delete button is used
pdontthink [Fri, 4 Jul 2008 09:44:27 +0000 (09:44 +0000)]
Preserve show_all when delete button is used

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

16 years agoAllow plugins to specify that other plugins are incompatible with it in the info...
pdontthink [Fri, 4 Jul 2008 08:41:31 +0000 (08:41 +0000)]
Allow plugins to specify that other plugins are incompatible with it in the info() function - in the required_plugins array therein, the incompatible plugin name as array key and value of SQ_INCOMPATIBLE.  See upcoming release of the add_address plugin for an example.

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

16 years agoaAttribs may not be used in all cases
pdontthink [Thu, 3 Jul 2008 19:13:41 +0000 (19:13 +0000)]
aAttribs may not be used in all cases

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

16 years agoNeed to extract template vars - oops
pdontthink [Thu, 3 Jul 2008 17:45:17 +0000 (17:45 +0000)]
Need to extract template vars - oops

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

16 years agoRemove HTML from core (please test)
pdontthink [Thu, 3 Jul 2008 17:42:57 +0000 (17:42 +0000)]
Remove HTML from core (please test)

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

16 years agoAdd horizontal rule template and update line break to handle attributes
pdontthink [Thu, 3 Jul 2008 17:36:18 +0000 (17:36 +0000)]
Add horizontal rule template and update line break to handle attributes

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

16 years agoadd style to the hr entity separator
kink [Thu, 3 Jul 2008 13:48:39 +0000 (13:48 +0000)]
add style to the hr entity separator

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

16 years agoAllow plugin configtest more functionality by including the Compatibility plugin...
pdontthink [Thu, 3 Jul 2008 01:39:41 +0000 (01:39 +0000)]
Allow plugin configtest more functionality by including the Compatibility plugin; More precise details about what plugin has broken setup/config files; Check that plugin updates have been correctly registered in the static hooks file

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

16 years agoFix prefs_backend hook and remove config_override hook - plugin authors take note
pdontthink [Thu, 3 Jul 2008 01:08:25 +0000 (01:08 +0000)]
Fix prefs_backend hook and remove config_override hook - plugin authors take note

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