squirrelmail.git
18 years agoIdentify SquirrelMail with User-Agent, not X-Mailer. Some researching learns
kink [Mon, 6 Jan 2003 19:02:00 +0000 (19:02 +0000)]
Identify SquirrelMail with User-Agent, not X-Mailer. Some researching learns
that User-Agent is more accepted as the new standard.

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

18 years agoMake use of the more detailed error reporting provided by the updated
kink [Mon, 6 Jan 2003 16:17:09 +0000 (16:17 +0000)]
Make use of the more detailed error reporting provided by the updated
deliver class

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

18 years agoRewrite of errorCheck function, to make it: correct, more detailed and
kink [Mon, 6 Jan 2003 16:08:57 +0000 (16:08 +0000)]
Rewrite of errorCheck function, to make it: correct, more detailed and
more efficient all at once :)

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

18 years agoAdded compose after search bugfix to the list
tassium [Mon, 6 Jan 2003 15:59:26 +0000 (15:59 +0000)]
Added compose after search bugfix to the list

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

18 years agoAfter sending the message, check $mailbox. If it's "All Folders", we got to compose...
tassium [Mon, 6 Jan 2003 15:52:50 +0000 (15:52 +0000)]
After sending the message, check $mailbox.  If it's "All Folders", we got to compose via the search results page.  Set $mailbox back to INBOX, which seems a sane default to me.

Closes #662346.

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

18 years agoAdded the "plain" vs. "login" auth method confusion
tassium [Mon, 6 Jan 2003 15:12:07 +0000 (15:12 +0000)]
Added the "plain" vs. "login" auth method confusion

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

18 years agocvs Id fix
tokul [Sat, 4 Jan 2003 19:03:06 +0000 (19:03 +0000)]
cvs Id fix

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

18 years agoImplement sqextractGlobalVar with sqgetGlobalVar
kink [Sat, 4 Jan 2003 18:17:38 +0000 (18:17 +0000)]
Implement sqextractGlobalVar with sqgetGlobalVar

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

18 years agoUndo this xhtml-compatibility thing because the html_tag function is used
kink [Sat, 4 Jan 2003 18:00:19 +0000 (18:00 +0000)]
Undo this xhtml-compatibility thing because the html_tag function is used
incorrectly in many places around the code: no value is specified while
tags do have a value.

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

18 years agoAdded default sort=0 option. Sorts all the messages by date in decending
tokul [Sat, 4 Jan 2003 11:22:49 +0000 (11:22 +0000)]
Added default sort=0 option. Sorts all the messages by date in decending
order. Newer messages show first.

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

18 years agoTurkish strings update from "Hikmet Gumus" <gumush@hitstar.org>
tokul [Sat, 4 Jan 2003 08:58:00 +0000 (08:58 +0000)]
Turkish strings update from "Hikmet Gumus" <gumush@hitstar.org>

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

18 years agoUpdated Lithuanian strings.
tokul [Sat, 4 Jan 2003 08:29:43 +0000 (08:29 +0000)]
Updated Lithuanian strings.

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

18 years agoVery ugly hack to add rudimentary error check to SMTP for invalid/unsupported auth...
tassium [Sat, 4 Jan 2003 06:32:57 +0000 (06:32 +0000)]
Very ugly hack to add rudimentary error check to SMTP for invalid/unsupported auth types.  I don't like it, not one bit.  It will do until I can fix up a better solution tomorrow though, right now I'm very tired and it's time for bed..

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

18 years agoImproved error handling, especially for everyone whose CVS install just broke because...
tassium [Sat, 4 Jan 2003 06:21:06 +0000 (06:21 +0000)]
Improved error handling, especially for everyone whose CVS install just broke because plain auth no longer exists. (Now renamed to login)

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

18 years agoOk, I screwed up. When I put in cram-md5 and digest-md5, I left the alternative...
tassium [Sat, 4 Jan 2003 06:01:26 +0000 (06:01 +0000)]
Ok, I screwed up.  When I put in cram-md5 and digest-md5, I left the alternative as being "plain", which is a misnomer.  There really IS a mechanism called "plain", and what we're doing isn't it.  So I've renamed our "plain" to "login".

For IMAP, it uses the IMAP4rev1 "LOGIN <user> <pass>" syntax.
For SMTP, it uses the AUTH LOGIN (two-step) method.

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

18 years agoThanks shiruken! needed single quotes around switch constants
ebullient [Sat, 4 Jan 2003 05:26:52 +0000 (05:26 +0000)]
Thanks shiruken! needed single quotes around switch constants

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

18 years agoadded constants to fetch COOKIE and SERVER values
ebullient [Sat, 4 Jan 2003 05:02:40 +0000 (05:02 +0000)]
added constants to fetch COOKIE and SERVER values

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

18 years agoStarted section for 1.4.0-rc2. Please contribute what I've missed.
tassium [Sat, 4 Jan 2003 04:53:18 +0000 (04:53 +0000)]
Started section for 1.4.0-rc2. Please contribute what I've missed.

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

18 years agoFinished up defines for all current config options. Should be up to date with 1...
tassium [Sat, 4 Jan 2003 04:30:39 +0000 (04:30 +0000)]
Finished up defines for all current config options.  Should be up to date with 1.3.x/1.4.0.  This plugin is shaping up nicely...

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

18 years agoswap in the sqgetGlobalVar function
ebullient [Sat, 4 Jan 2003 04:15:37 +0000 (04:15 +0000)]
swap in the sqgetGlobalVar function

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

18 years agouse new function to get POST variables
ebullient [Sat, 4 Jan 2003 03:09:00 +0000 (03:09 +0000)]
use new function to get POST variables

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

18 years agoUse new function to get GET vars
ebullient [Sat, 4 Jan 2003 02:17:35 +0000 (02:17 +0000)]
Use new function to get GET vars

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

18 years agoAdded new function:
ebullient [Sat, 4 Jan 2003 01:12:14 +0000 (01:12 +0000)]
Added new function:

sqgetGlobalVar($name, $value [, location] );
This function looks for a variable named $name.
If found, it sets the value into $value (in signature, is &$value) and
returns true. If the variable is not found, the function returns false.

The optional constant allows you to pick which location to
check for the variable in. If none is specified, it will check,
in this order, $_SESSION, $_POST, $_GET. These are defined constants
for use with this function:
 SQ_INORDER - same as specifying nothing, check all three.
 SQ_SESSION
 SQ_POST
 SQ_GET

    It is recommended that plugins, all functions use this instead of
    directly accessing $_SESSION/$_POST/$_GET arrays, as we have
    already taken care of scope (global, etc).

    The Administration plugin has been updated to use this function,
    as an example.

    This is an alternative to sqextractGlobalVar($name), which looks
    for a var named $name in the SESSION/GET/POST arrays, and creates
    a global variable if defined.

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

18 years agoFix plugin list in admin plugin
ebullient [Fri, 3 Jan 2003 22:25:42 +0000 (22:25 +0000)]
Fix plugin list in admin plugin

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

18 years agoAdded support for:
tassium [Fri, 3 Jan 2003 22:25:07 +0000 (22:25 +0000)]
Added support for:

Server Options: POP before SMTP

General Options: Server sort, server thread sort, server charset search, UID support, PHP session name (hidden - edit that, and you broke the plugin)

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

18 years agoAlexandros Vellis
philippe_mingo [Fri, 3 Jan 2003 20:50:52 +0000 (20:50 +0000)]
Alexandros Vellis

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

18 years agoAdded support for IMAP & SMTP use of TLS and fancy auth mechanisms to administrator...
tassium [Fri, 3 Jan 2003 20:45:33 +0000 (20:45 +0000)]
Added support for IMAP & SMTP use of TLS and fancy auth mechanisms to administrator plugin

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

18 years agoJuergen Edner
philippe_mingo [Fri, 3 Jan 2003 20:42:19 +0000 (20:42 +0000)]
Juergen Edner

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

18 years agoKent B. Hansen
philippe_mingo [Fri, 3 Jan 2003 20:41:37 +0000 (20:41 +0000)]
Kent B. Hansen

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

18 years agodk step 1
philippe_mingo [Fri, 3 Jan 2003 20:35:53 +0000 (20:35 +0000)]
dk step 1

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

18 years agoMinor patch allowing admin to disable use of $org_logo on login page.
tassium [Fri, 3 Jan 2003 14:14:31 +0000 (14:14 +0000)]
Minor patch allowing admin to disable use of $org_logo on login page.
Thanks to O'Shaughnessy Evans <shaug-sqm@wumpus.org> for the patch.

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

18 years agoCopypaste error. This could be avoided by doing $theme[] in stead of $theme[n]
kink [Fri, 3 Jan 2003 13:51:11 +0000 (13:51 +0000)]
Copypaste error. This could be avoided by doing $theme[] in stead of $theme[n]
but I'm not doing that in this phase. Will probably be changed in 1.5 so no
bother. Thanks David Walsner for reporting

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

18 years agoThis will probably fix the incorrect parsing of literals inside
stekkel [Fri, 3 Jan 2003 12:01:57 +0000 (12:01 +0000)]
This will probably fix the incorrect parsing of literals inside
bodystructures. Somehow the offset of $i was incorrect when returning in the
parser. Note: due to the trial and error way (in some design fases) of programming when writing the
structure parser things has come a bit too complex. I have already developed
a new parser that will be used for 1.5. That parser will be a lot easier to
follow and less bug sensitive like the  one we use now.

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

18 years agoca_ES Albert Cervera Areny
philippe_mingo [Fri, 3 Jan 2003 07:29:44 +0000 (07:29 +0000)]
ca_ES Albert Cervera Areny
nl_NL -= M.J. Prinsen =-
nn_NO Ola Ketil

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

18 years agoadded message about our preferred config mechanism
ebullient [Fri, 3 Jan 2003 00:38:02 +0000 (00:38 +0000)]
added message about our preferred config mechanism

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

18 years agofixes for the admin plugin for 1.4.0 RC1
ebullient [Fri, 3 Jan 2003 00:12:07 +0000 (00:12 +0000)]
fixes for the admin plugin for 1.4.0 RC1

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

18 years agolittle teeny typo
ebullient [Thu, 2 Jan 2003 21:18:39 +0000 (21:18 +0000)]
little teeny typo

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

18 years agoUpdates to comments for setting data/attach paths.
ebullient [Thu, 2 Jan 2003 19:47:07 +0000 (19:47 +0000)]
Updates to comments for setting data/attach paths.
Also caught an inconsistency in my SM_PATH
manipulations, which has been corrected.

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

18 years agoRalf Hildebrandt
philippe_mingo [Thu, 2 Jan 2003 15:44:29 +0000 (15:44 +0000)]
Ralf Hildebrandt

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

18 years agoAdded empty Greek locale.
tokul [Thu, 2 Jan 2003 09:03:46 +0000 (09:03 +0000)]
Added empty Greek locale.

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

18 years agoAdded windows-1253 and utf-8 decoding
tokul [Thu, 2 Jan 2003 09:00:44 +0000 (09:00 +0000)]
Added windows-1253 and utf-8 decoding
Added windows-1254 decoding from stable
Removed comments in windows-1257, iso-8859-4 and iso-8859-13 decoding

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

18 years agoRemerged strings
philippe_mingo [Wed, 1 Jan 2003 18:07:56 +0000 (18:07 +0000)]
Remerged strings

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

18 years agoFirst 2003 and 1.4 translation 8-)
philippe_mingo [Wed, 1 Jan 2003 17:50:41 +0000 (17:50 +0000)]
First 2003 and 1.4 translation 8-)

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

18 years ago1.4 por file
philippe_mingo [Wed, 1 Jan 2003 17:36:27 +0000 (17:36 +0000)]
1.4 por file

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

18 years agoInternationalization bugfix.
philippe_mingo [Wed, 1 Jan 2003 11:18:31 +0000 (11:18 +0000)]
Internationalization bugfix.

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

18 years agoChange to my shiny new squirrelmail.org address :)
tassium [Wed, 1 Jan 2003 02:55:27 +0000 (02:55 +0000)]
Change to my shiny new squirrelmail.org address :)

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

18 years agovanity correction.
ebullient [Tue, 31 Dec 2002 23:09:17 +0000 (23:09 +0000)]
vanity correction.

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

18 years agocomments for behavior of $ in org_name and org_title
ebullient [Tue, 31 Dec 2002 22:26:38 +0000 (22:26 +0000)]
comments for behavior of $ in org_name and org_title

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

18 years agoPath fixes so the plugin can find the files it needs.
tassium [Tue, 31 Dec 2002 17:27:24 +0000 (17:27 +0000)]
Path fixes so the plugin can find the files it needs.

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

18 years agoMinor spelling & phrasing changes.
tassium [Tue, 31 Dec 2002 16:34:05 +0000 (16:34 +0000)]
Minor spelling & phrasing changes.

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

18 years agoMove $theme reset (avoids theme cookie exploit) to top, before config.php is loaded...
tassium [Tue, 31 Dec 2002 16:24:58 +0000 (16:24 +0000)]
Move $theme reset (avoids theme cookie exploit) to top, before config.php is loaded.  Otherwise we just load the themes from config.php and promptly clear the array.

Developers: Please review for security implications.

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

18 years agoskip http: paths for SM_PATH mods
ebullient [Tue, 31 Dec 2002 16:08:42 +0000 (16:08 +0000)]
skip http: paths for SM_PATH mods

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

18 years agoCan't require config.php before strings.php since default config references $version.
tassium [Tue, 31 Dec 2002 15:50:07 +0000 (15:50 +0000)]
Can't require config.php before strings.php since default config references $version.

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

18 years agoAdded $session_name
tassium [Tue, 31 Dec 2002 15:28:03 +0000 (15:28 +0000)]
Added $session_name

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

18 years agoForgot a SM_PATH
kink [Tue, 31 Dec 2002 14:36:56 +0000 (14:36 +0000)]
Forgot a SM_PATH

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

18 years agoMinor spelling fixes & rephrasing.
tassium [Tue, 31 Dec 2002 14:18:42 +0000 (14:18 +0000)]
Minor spelling fixes & rephrasing.

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

18 years ago*** empty log message ***
kink [Tue, 31 Dec 2002 13:06:27 +0000 (13:06 +0000)]
*** empty log message ***

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

18 years agoGetting ready for 1.4.0 RC1
kink [Tue, 31 Dec 2002 12:49:43 +0000 (12:49 +0000)]
Getting ready for 1.4.0 RC1

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

18 years agoSmall fix to tassium code, if you chomp something it can never match
kink [Tue, 31 Dec 2002 11:32:48 +0000 (11:32 +0000)]
Small fix to tassium code, if you chomp something it can never match
"\n" after that. And add standard (c) message, and upgrade the conf.pl
version number.

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

18 years agoPhilippe Home Page
philippe_mingo [Tue, 31 Dec 2002 06:20:57 +0000 (06:20 +0000)]
Philippe Home Page

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

18 years agoQuick adjustment to conf.pl adding option for PHP session name.
tassium [Mon, 30 Dec 2002 23:16:18 +0000 (23:16 +0000)]
Quick adjustment to conf.pl adding option for PHP session name.
Also partial reformatting of Option #4 so everything lines up nicely.
Not heavily debugged - if other developers get a chance, please review sub command316.

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

18 years agoSession naming in devel.
kink [Mon, 30 Dec 2002 19:52:19 +0000 (19:52 +0000)]
Session naming in devel.

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

18 years agochangelog
kink [Mon, 30 Dec 2002 19:40:36 +0000 (19:40 +0000)]
changelog

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

18 years agoRalf Hildebrandt
philippe_mingo [Mon, 30 Dec 2002 18:10:04 +0000 (18:10 +0000)]
Ralf Hildebrandt

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

18 years agoMinor fix - someone forgot to add $auto_expunge to the global vars list
tassium [Mon, 30 Dec 2002 15:23:33 +0000 (15:23 +0000)]
Minor fix - someone forgot to add $auto_expunge to the global vars list

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

18 years agoAdded some logic to prevent undefined var $ent_id warnings.
tassium [Mon, 30 Dec 2002 14:49:39 +0000 (14:49 +0000)]
Added some logic to prevent undefined var $ent_id warnings.
I don't like it much, but at least it matches the $passed_ent_id check which is just above it. It even seems to work!

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

18 years agoforgot to re-enable after testing.. duh.
ebullient [Sun, 29 Dec 2002 19:12:20 +0000 (19:12 +0000)]
forgot to re-enable after testing.. duh.

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

18 years agoWanted to add the SquirrelMail versioning functions we'd talked about before
ebullient [Sun, 29 Dec 2002 19:10:34 +0000 (19:10 +0000)]
Wanted to add the SquirrelMail versioning functions we'd talked about before
we split the streams to the new RC for 1.4.

check_sm_version performs similar function to check_php_version, and
will return true if version is >= what is specified.

For Thijs/Jonathan - the check_sm_version will return false if the
constant it checks against is not defined, making the function itself
safe for previous levels,  should you want to roll it back to stable
to allow plugin developers to use the check_sm_version function to
test for 'new' elements like SM_PATH, etc. that are present in 1.3.x
and up.

More info (though not a ton, I'll admit) is in the sm2-planning module
in cvs: cvs co sm2-planning, then pull up sm2-planning/index.php in your
browser.

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

18 years agoBug in url back to message
kink [Sat, 28 Dec 2002 17:33:48 +0000 (17:33 +0000)]
Bug in url back to message

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

18 years agoTwo minor fixes to compose.php so signatures with alternate identities work properly.
tassium [Fri, 27 Dec 2002 16:00:35 +0000 (16:00 +0000)]
Two minor fixes to compose.php so signatures with alternate identities work properly.

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

18 years agougly bugfix for parsing literals inside envelope structures.
stekkel [Fri, 27 Dec 2002 15:49:35 +0000 (15:49 +0000)]
ugly bugfix for parsing literals inside envelope structures.
Note: All the parser function are rewritten in a clean way and will be
commited soon in SM 1.5 . The just applied fix was needed for a stable release.

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

18 years agooops, Rfc822Header->mailbox was initialized
stekkel [Fri, 27 Dec 2002 14:38:10 +0000 (14:38 +0000)]
oops, Rfc822Header->mailbox was initialized

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

18 years agoadded callback function argument to parseAdrress to lookup nicks against the
stekkel [Fri, 27 Dec 2002 12:26:48 +0000 (12:26 +0000)]
added callback function argument to parseAdrress to lookup nicks against the
addressbook

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

18 years agoAdded address lookup callback function argument for parseAddress.
stekkel [Fri, 27 Dec 2002 12:24:12 +0000 (12:24 +0000)]
Added address lookup callback function argument for parseAddress.
In stable we verified addresses against the addressbook. In devel this
functionality was forgotten.
Note: Required php version 4.0.4 due to the use of call_user_func_array.

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

18 years agoFix another short open tag
kink [Tue, 24 Dec 2002 11:59:08 +0000 (11:59 +0000)]
Fix another short open tag

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

18 years agoFix accidental short open tag
kink [Tue, 24 Dec 2002 11:31:06 +0000 (11:31 +0000)]
Fix accidental short open tag

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

18 years agoE_ALL fix when using proxy's with HTTP_VIA and no HTTP_X_FORWARDED_FOR
kink [Tue, 24 Dec 2002 11:23:21 +0000 (11:23 +0000)]
E_ALL fix when using proxy's with HTTP_VIA and no HTTP_X_FORWARDED_FOR

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

18 years agoAparently, within a javascript "window" function you don't need to escape
kink [Mon, 23 Dec 2002 23:02:27 +0000 (23:02 +0000)]
Aparently, within a javascript "window" function you don't need to escape
&-s in the url.

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

18 years agoOut of order require_once()'s meant $version wasn't set properly when needed. Removed...
tassium [Mon, 23 Dec 2002 20:44:02 +0000 (20:44 +0000)]
Out of order require_once()'s meant $version wasn't set properly when needed. Removed a dupe or two a well.

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

18 years agoPut a check in to be sure SM_PATH wasn't already defined. Seemed safer than just...
tassium [Mon, 23 Dec 2002 20:32:38 +0000 (20:32 +0000)]
Put a check in to be sure SM_PATH wasn't already defined.  Seemed safer than just deleting the define altogether..

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

18 years agoexplode()ing on ', ' instead of ',' was breaking attachment_common_parse(). This...
tassium [Mon, 23 Dec 2002 17:14:41 +0000 (17:14 +0000)]
explode()ing on ', ' instead of ',' was breaking attachment_common_parse(). This prevented the entire HTTP_ACCEPT header from being parsed in some cases, which meant certain attachments did not have a "view" link.

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

18 years agoXHTML1.0 preparation for my favourite plugin ;)
kink [Sun, 22 Dec 2002 13:45:21 +0000 (13:45 +0000)]
XHTML1.0 preparation for my favourite plugin ;)

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

18 years agoA small start in making Sqm XHTML 1.0 valid
kink [Sun, 22 Dec 2002 13:39:43 +0000 (13:39 +0000)]
A small start in making Sqm XHTML 1.0 valid

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

18 years agoAlso give the remaining Subject column a width% that is the complement
kink [Sat, 21 Dec 2002 17:05:48 +0000 (17:05 +0000)]
Also give the remaining Subject column a width% that is the complement
of the sum of the other columns. This solves some macintosh-IE table
problems and is more correct.

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

18 years agoDisplay event message in popup. Patch by Patrick van Zweden
kink [Sat, 21 Dec 2002 16:40:21 +0000 (16:40 +0000)]
Display event message in popup. Patch by Patrick van Zweden

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

18 years agoAssorted fixes, courtesy Roberto De Luca && kink
kink [Sat, 21 Dec 2002 16:13:47 +0000 (16:13 +0000)]
Assorted fixes, courtesy Roberto De Luca && kink

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

18 years agoNesha
philippe_mingo [Sat, 21 Dec 2002 09:07:23 +0000 (09:07 +0000)]
Nesha

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

18 years agouse handleAsSent in stead of == $sent_folder.
kink [Fri, 20 Dec 2002 18:58:53 +0000 (18:58 +0000)]
use handleAsSent in stead of == $sent_folder.

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

18 years agocheck for 0 messages in case of threadview
stekkel [Fri, 20 Dec 2002 15:29:53 +0000 (15:29 +0000)]
check for 0 messages in case of threadview

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

18 years agoFix for IIS, thanks Bruce Richardson
kink [Fri, 20 Dec 2002 11:35:48 +0000 (11:35 +0000)]
Fix for IIS, thanks Bruce Richardson

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

18 years agoNenad
philippe_mingo [Thu, 19 Dec 2002 19:38:23 +0000 (19:38 +0000)]
Nenad

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

18 years ago3 minor bugs:
robsiemb [Thu, 19 Dec 2002 19:27:20 +0000 (19:27 +0000)]
3 minor bugs:

* If we don't get a $msg back in parseStructure, don't call $msg->setEntIds.
* NIL can be 'NIL ' or 'NIL)'
* Literal sizes DO NOT include the \r\n in their counts.

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

18 years agoAdjustment to the $attachment_common_type setup as Mozilla 1.x seems to use
jangliss [Thu, 19 Dec 2002 15:54:43 +0000 (15:54 +0000)]
Adjustment to the $attachment_common_type setup as Mozilla 1.x seems to use
only a "," to seperate where as it used to (and IE still does) use ", ".
Slight modification to Darrell Wright idea, thanks.

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

18 years agoCarried over modification made to file_prefs to distinguish
ebullient [Tue, 17 Dec 2002 20:36:23 +0000 (20:36 +0000)]
Carried over modification made to file_prefs to distinguish
between a 0 value, and an unset value using ===.

Certain prefs were unsaveable after the XSS changes, which
cast zero values to ints (instead of strings), causing
them to pass the $set_to == '' check, and thus be treated
as an unset value, rather than a value of 0.

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

18 years agoLets see if we can get this cookie thing right this time.
jangliss [Tue, 17 Dec 2002 19:13:51 +0000 (19:13 +0000)]
Lets see if we can get this cookie thing right this time.

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

18 years agomake printer friendly view work with rfc822 attachments
stekkel [Tue, 17 Dec 2002 18:19:52 +0000 (18:19 +0000)]
make printer friendly view work with rfc822 attachments

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

18 years agoChange is_int to is_numeric, solves [ 655060 ] Image size for login.php and
kink [Tue, 17 Dec 2002 11:37:42 +0000 (11:37 +0000)]
Change is_int to is_numeric, solves [ 655060 ] Image size for login.php and

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

18 years agoUnreverse the order of do_hook and sqsession_destroy, tip from Alexandros Vellis
kink [Tue, 17 Dec 2002 11:25:57 +0000 (11:25 +0000)]
Unreverse the order of do_hook and sqsession_destroy, tip from Alexandros Vellis

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

18 years agoAnd again... need to destroy cookies as they are created
jangliss [Mon, 16 Dec 2002 21:40:28 +0000 (21:40 +0000)]
And again... need to destroy cookies as they are created

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

18 years agoSync'ing global.php with stable to fix multi-session merges, and also
jangliss [Sat, 14 Dec 2002 06:28:03 +0000 (06:28 +0000)]
Sync'ing global.php with stable to fix multi-session merges, and also
start a session when trying to set a value to it vai $_SESSION.

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