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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
tassium [Fri, 13 Dec 2002 20:21:06 +0000 (20:21 +0000)]
This fix is for the problem Matthew Hagerty reported. (PHP appearing to execute code he had in an email message. It wasn't actually executing, but it WAS barfing.)
I didn't hear back from Mr. Hagerty, so I'll assume the fix worked for him.
(It worked for me)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4269
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tassium [Fri, 13 Dec 2002 20:11:06 +0000 (20:11 +0000)]
sort and startMessage were being set from $_GET without checking to make sure they were present. When deleting a message from a search, sort and startMessage weren't a part of $_GET.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4268
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tassium [Fri, 13 Dec 2002 19:36:08 +0000 (19:36 +0000)]
Minor fix to avoid duplicate define of SM_PATH.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4267
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tassium [Thu, 12 Dec 2002 20:23:16 +0000 (20:23 +0000)]
I found errors when using search on "all folders"
Turns out calc_msort() was being called for all folders, even the ones without any messages. Moved the call to calc_msort() into the if block that checks for messages.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4265
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tassium [Wed, 11 Dec 2002 17:52:23 +0000 (17:52 +0000)]
sqimap_message_list_squisher() was returning nothing if the data passed to it was not an array. It should have just been returning the data as it was passed.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4260
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Tue, 10 Dec 2002 18:11:36 +0000 (18:11 +0000)]
Ukrainian Language , Oleg Baranovsky
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4253
7612ce4b-ef26-0410-bec9-
ea0150e637f0
philippe_mingo [Tue, 10 Dec 2002 18:08:55 +0000 (18:08 +0000)]
Rollback
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4252
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Tue, 10 Dec 2002 12:39:11 +0000 (12:39 +0000)]
fix from Alexandros Vellis regarding missed SM_PATH statement
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4251
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tassium [Mon, 9 Dec 2002 16:28:23 +0000 (16:28 +0000)]
Minor changes.
* renamed auth.php/hmac() to hmac_md5()
* polished descriptions and helper text in conf.pl
* fixed minor bug with smtp auth mech default value in conf.pl
* minor documentation additions to authentication.txt
* added myself to AUTHORS.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4245
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Mon, 9 Dec 2002 09:48:46 +0000 (09:48 +0000)]
html correction
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4244
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Mon, 9 Dec 2002 09:05:37 +0000 (09:05 +0000)]
Proper initialisation of view_unsafe_images
fix for displaying the hide unsafe images link. If you show the unsafe
images, has_unsafe_images = false because it looks for the image
replacements. The hide unsafe images link was never initialized correct.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4243
7612ce4b-ef26-0410-bec9-
ea0150e637f0
kink [Sun, 8 Dec 2002 23:21:25 +0000 (23:21 +0000)]
Some language fixes, thanks to Toby A Inkster
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4241
7612ce4b-ef26-0410-bec9-
ea0150e637f0