squirrelmail.git
21 years agoLogChange
kink [Sun, 16 Mar 2003 13:22:49 +0000 (13:22 +0000)]
LogChange

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

21 years agoSmall bug in content-type properties, thanks Ryan (hairball57) for reporting.
kink [Sun, 16 Mar 2003 12:34:03 +0000 (12:34 +0000)]
Small bug in content-type properties, thanks Ryan (hairball57) for reporting.

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

21 years agoWhen an identity has no full_name, display the emailaddress without < and >.
kink [Sun, 16 Mar 2003 12:28:00 +0000 (12:28 +0000)]
When an identity has no full_name, display the emailaddress without < and >.
While we're at it, do some HTML fixes.
Closes #702257.

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

21 years agoAdded subject retrieval when message initiated from page other than read_body.php
pdontthink [Thu, 13 Mar 2003 23:08:41 +0000 (23:08 +0000)]
Added subject retrieval when message initiated from page other than read_body.php

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

21 years agoExplicitly define for old php versions when it's undefined
pdontthink [Thu, 13 Mar 2003 10:13:17 +0000 (10:13 +0000)]
Explicitly define  for old php versions when it's undefined

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

21 years agoTurned off validation scripts for widgets when javascript is disabled
pdontthink [Tue, 11 Mar 2003 20:29:25 +0000 (20:29 +0000)]
Turned off validation scripts for widgets when javascript is disabled

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

21 years agoPulling out JS in options setup. Paul, did you want to fix this so that it
jangliss [Tue, 11 Mar 2003 20:18:55 +0000 (20:18 +0000)]
Pulling out JS in options setup.  Paul, did you want to fix this so that it
is browser/user safe... ie, make it work when the user has js off?  Here is
what happens when they don't support js:

  http://dhruba.codewordt.co.uk/sqm.png

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

21 years agoreplace $_SESSION with sqgetGlobalVar
kink [Tue, 11 Mar 2003 17:48:00 +0000 (17:48 +0000)]
replace $_SESSION with sqgetGlobalVar

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

21 years agoMore cleanup. This dir all done.
kink [Tue, 11 Mar 2003 17:39:25 +0000 (17:39 +0000)]
More cleanup. This dir all done.

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

21 years agoMore global cleanup. Now all SESSION and COOKIE use sqgetglobalvar, what's
kink [Tue, 11 Mar 2003 16:57:21 +0000 (16:57 +0000)]
More global cleanup. Now all SESSION and COOKIE use sqgetglobalvar, what's
remaining is a wide deployment of _POST and _GET.

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

21 years agoClean up spamcop plugin wrt globals.
kink [Tue, 11 Mar 2003 16:30:54 +0000 (16:30 +0000)]
Clean up spamcop plugin wrt globals.
Fix a bug in saving the spamcop ID.
Eliminate evil "extract($_SESSION);" statement.
And make the produced html more valid.

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

21 years agocleanup some plugins to make use of sqgetGlobalVar
kink [Tue, 11 Mar 2003 15:57:22 +0000 (15:57 +0000)]
cleanup some plugins to make use of sqgetGlobalVar

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

21 years agoLogChanges
kink [Tue, 11 Mar 2003 15:11:16 +0000 (15:11 +0000)]
LogChanges

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

21 years agoCalc the max size for an uploaded file and display it to the user.
kink [Tue, 11 Mar 2003 15:05:11 +0000 (15:05 +0000)]
Calc the max size for an uploaded file and display it to the user.
This is informational to prevent large file uploads to fail.
Becasue PHP stores sizes like "8M" we have to calculate the bytesize first.

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

21 years agofwrite returns 0 when 0 bytes written, so use === FALSE test instead.
kink [Tue, 11 Mar 2003 09:02:13 +0000 (09:02 +0000)]
fwrite returns 0 when 0 bytes written, so use === FALSE test instead.
Thanks Jon for the tip.

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

21 years agoA better way to check for errors, and apply the previous fix to signature writes...
kink [Mon, 10 Mar 2003 23:56:12 +0000 (23:56 +0000)]
A better way to check for errors, and apply the previous fix to signature writes too.

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

21 years agoSmall tweaks:
kink [Mon, 10 Mar 2003 23:23:09 +0000 (23:23 +0000)]
Small tweaks:
Move include of display messages in file_prefs to the top of the file,
because it wasn't included everywhere correctly ('../functions') or in
some places not at all, better move it to the top so the functions are
available at all times in a consistent manner.
Also throw an error if the tmp pref file could not be copied.
Remove initializing of colors that aren't used in logout_error.

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

21 years agoWeird locales seem to mess with uppercase i, and php seems to like to
jangliss [Mon, 10 Mar 2003 18:01:45 +0000 (18:01 +0000)]
Weird locales seem to mess with uppercase i, and php seems to like to
convert function names according to locales... bad php, but not much we can
do.  Changed quoteIMAP to quoteimap to work around this for now.  It's only
used during login as far as I can find.

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

21 years agoUpdate changelog to reflect updates in compose
jangliss [Mon, 10 Mar 2003 16:40:02 +0000 (16:40 +0000)]
Update changelog to reflect updates in compose

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

21 years agoFix copyerror, this eliminates some warnings of undefined index in the msg list.
kink [Mon, 10 Mar 2003 16:31:57 +0000 (16:31 +0000)]
Fix copyerror, this eliminates some warnings of undefined index in the msg list.

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

21 years agoFix logic I mixed up.
kink [Mon, 10 Mar 2003 16:18:29 +0000 (16:18 +0000)]
Fix logic I mixed up.

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

21 years agoCache the base url (protocol://host:port) in the session to make it
ebullient [Mon, 10 Mar 2003 07:19:20 +0000 (07:19 +0000)]
Cache the base url (protocol://host:port) in the session to make it
faster. get_location already parsed php_self to get the url
e.g. /path/to/sqmail/src
So now, to make Locations compliant, you can either, call get_location if
you know the place you're redirecting to has the same url path you do
(src to src, for example), or check for 'sq_base_url' in the session vars,
call get_location to set it if it isn't there, and then use the
'sq_base_url' session var + base_uri from session + desired location to
redirect.

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

21 years agoFix some interesting behavior when adding a signature to a message that
ebullient [Mon, 10 Mar 2003 07:08:15 +0000 (07:08 +0000)]
Fix some interesting behavior when adding a signature to a message that
included personal names with quotes in them. I stumbled on to this,
and Jon pointed out it was actually an XSS bug. Whee. ;)

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

21 years agoFixed attachments issue... Seemed that the session wasn't getting the new
jangliss [Mon, 10 Mar 2003 05:15:46 +0000 (05:15 +0000)]
Fixed attachments issue... Seemed that the session wasn't getting the new
value of the message array when composing.  This'd make the attachments
apparently vanish.  Also added back in the $restoremessages array, was that
which helped me solve the attachments issue.

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

21 years agoadded explicit include of global.php
ebullient [Sun, 9 Mar 2003 18:54:34 +0000 (18:54 +0000)]
added explicit include of global.php

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

21 years agoAdd explicit include of global.php
ebullient [Sun, 9 Mar 2003 18:45:07 +0000 (18:45 +0000)]
Add explicit include of global.php

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

21 years agoA few more unnecessary urldecodes when not needed. Now we can view headers
jangliss [Sat, 8 Mar 2003 05:01:56 +0000 (05:01 +0000)]
A few more unnecessary urldecodes when not needed.  Now we can view headers
and text of a message when viewing a mailbox with + in the name.

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

21 years agoI'd like my settings to stay on login... we need a better solution :)
jangliss [Sat, 8 Mar 2003 04:59:19 +0000 (04:59 +0000)]
I'd like my settings to stay on login... we need a better solution :)

Reverting file_prefs.php to previous version until proper fix is discovered
for PHP 4.3.1 dropping settings.

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

21 years agoChangelog update
jangliss [Sat, 8 Mar 2003 04:55:03 +0000 (04:55 +0000)]
Changelog update

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

21 years agoDMN now remembers the last target mailbox to match up with the rest of SM
jangliss [Sat, 8 Mar 2003 04:41:35 +0000 (04:41 +0000)]
DMN now remembers the last target mailbox to match up with the rest of SM

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

21 years agoput back Erin's changes.
stekkel [Fri, 7 Mar 2003 22:27:16 +0000 (22:27 +0000)]
put back Erin's changes.

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

21 years agoaddress parsing with encoded personal names
stekkel [Fri, 7 Mar 2003 22:12:51 +0000 (22:12 +0000)]
address parsing with encoded personal names

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

21 years agobetter folding of header lines.
stekkel [Fri, 7 Mar 2003 22:12:06 +0000 (22:12 +0000)]
better folding of header lines.

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

21 years agoimproved encodeHeader function and decodeHeader handling to follow RFC's
stekkel [Fri, 7 Mar 2003 22:11:22 +0000 (22:11 +0000)]
improved encodeHeader function and decodeHeader handling to follow RFC's
better.

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

21 years agoencoding stuff
stekkel [Fri, 7 Mar 2003 22:09:57 +0000 (22:09 +0000)]
encoding stuff

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

21 years agoFixed incorrect decoding of mailbox name... $_GET vars are already decoded.
jangliss [Fri, 7 Mar 2003 17:42:08 +0000 (17:42 +0000)]
Fixed incorrect decoding of mailbox name... $_GET vars are already decoded.
There are probably a whole bunch of other ones laying about, but this one
is fairly big in respect that you can view a folder that has a + in the name
(ie test+folder), but you cannot read mail in that folder.

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

21 years agoUndo fix for PHP 4.0.4 since SquirrelMail doesn't work reliably with 4.0.4
kink [Fri, 7 Mar 2003 15:33:05 +0000 (15:33 +0000)]
Undo fix for PHP 4.0.4 since SquirrelMail doesn't work reliably with 4.0.4
anyway.

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

21 years agoFix requirements to reflect actual requirements according to Marc.
kink [Fri, 7 Mar 2003 15:26:45 +0000 (15:26 +0000)]
Fix requirements to reflect actual requirements according to Marc.

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

21 years agoQuotation-error
kink [Wed, 5 Mar 2003 10:51:36 +0000 (10:51 +0000)]
Quotation-error

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

21 years agoInformation about Arabic translators.
tokul [Wed, 5 Mar 2003 07:09:45 +0000 (07:09 +0000)]
Information about Arabic translators.

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

21 years agoNo check to make sure logo is set... login.php verifies it exists and has
jangliss [Wed, 5 Mar 2003 03:55:31 +0000 (03:55 +0000)]
No check to make sure logo is set... login.php verifies it exists and has
a value in first... changing behaviour here to match.

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

21 years agoremoved left argument from function. Thnx Paul.
stekkel [Tue, 4 Mar 2003 14:12:59 +0000 (14:12 +0000)]
removed left argument from function. Thnx Paul.

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

21 years agoFix download link for vcard.
kink [Tue, 4 Mar 2003 10:38:27 +0000 (10:38 +0000)]
Fix download link for vcard.

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

21 years agoSupport vCards which have the official mime type "text/directory".
kink [Tue, 4 Mar 2003 10:33:28 +0000 (10:33 +0000)]
Support vCards which have the official mime type "text/directory".

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

21 years agoAdded javascript validation to integer and float widgets.
pdontthink [Tue, 4 Mar 2003 08:50:16 +0000 (08:50 +0000)]
Added javascript validation to integer and float widgets.

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

21 years agoThe logout_above_text hook was misplaced. Got it back where it should be.
pdontthink [Tue, 4 Mar 2003 05:27:55 +0000 (05:27 +0000)]
The logout_above_text hook was misplaced.  Got it back where it should be.

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

21 years agoReintegrated Erin's lost changes from v1.309
pdontthink [Tue, 4 Mar 2003 00:12:59 +0000 (00:12 +0000)]
Reintegrated Erin's lost changes from v1.309

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

21 years agoLots of changes for variable initialization - clean up, really,
ebullient [Mon, 3 Mar 2003 05:44:35 +0000 (05:44 +0000)]
Lots of changes for variable initialization - clean up, really,
for cases where direct referece to vars causes problems with
earlier versions.

we'll see how much I screwed up, too.

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

21 years agomove global include earlier..
ebullient [Mon, 3 Mar 2003 04:44:39 +0000 (04:44 +0000)]
move global include earlier..

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

21 years agoClean up references to global vars
ebullient [Mon, 3 Mar 2003 01:43:16 +0000 (01:43 +0000)]
Clean up references to global vars

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

21 years agofix warning in case of undefined date
stekkel [Sat, 1 Mar 2003 22:28:20 +0000 (22:28 +0000)]
fix warning in case of undefined date

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

21 years agomissed some spots
stekkel [Sat, 1 Mar 2003 22:14:44 +0000 (22:14 +0000)]
missed some spots

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

21 years agoNo decodeHeader inside the form because we already did that because we had
stekkel [Sat, 1 Mar 2003 22:07:10 +0000 (22:07 +0000)]
No decodeHeader inside the form because we already did that because we had
to add Re Fwd information.
So the lesson is:
NEVER use double decodeHeader!!!

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

21 years agoTo much encoding. Now we only encode what's needed.
stekkel [Sat, 1 Mar 2003 20:50:58 +0000 (20:50 +0000)]
To much encoding. Now we only encode what's needed.

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

21 years agoAdded Arabic translation provided by alex@canasoft.net.
tokul [Sat, 1 Mar 2003 08:45:07 +0000 (08:45 +0000)]
Added Arabic translation provided by alex@canasoft.net.
Permission to use this translation was send to my email.

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

21 years agoWhoops wrong file
stekkel [Sat, 1 Mar 2003 01:35:10 +0000 (01:35 +0000)]
Whoops wrong file
In case of server sort and non sorted headers, display newest first

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

21 years agoin case of non sorting display newest messages first
stekkel [Sat, 1 Mar 2003 01:22:30 +0000 (01:22 +0000)]
in case of non sorting display newest messages first

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

21 years agoBlah
stekkel [Sat, 1 Mar 2003 01:00:32 +0000 (01:00 +0000)]
Blah

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

21 years agoFixes bug 695150 in the 1.4.x stream
ebullient [Fri, 28 Feb 2003 22:12:25 +0000 (22:12 +0000)]
Fixes bug 695150 in the 1.4.x stream
Not sure yet if/how to push it back to 1.2.x

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

21 years agoWeird subject processing now cut off correctly
stekkel [Fri, 28 Feb 2003 21:35:05 +0000 (21:35 +0000)]
Weird subject processing now cut off correctly

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

21 years agoadded my changes
stekkel [Fri, 28 Feb 2003 19:36:03 +0000 (19:36 +0000)]
added my changes

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

21 years agocharset encode/decode changes related to email addresses
stekkel [Fri, 28 Feb 2003 19:14:52 +0000 (19:14 +0000)]
charset encode/decode changes related to email addresses

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

21 years agobetter parsing of email addresses (also used for processing compose form
stekkel [Fri, 28 Feb 2003 19:14:08 +0000 (19:14 +0000)]
better parsing of email addresses (also used for processing compose form
addresses)

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

21 years agocharset encode /decode fixes
stekkel [Fri, 28 Feb 2003 19:13:07 +0000 (19:13 +0000)]
charset encode /decode fixes

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

21 years agocharset encode / decode fixes
stekkel [Fri, 28 Feb 2003 19:12:00 +0000 (19:12 +0000)]
charset encode / decode fixes
support for encoded personal names inside addresses
fix for headerrequest

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

21 years agoOnly add extra "points" for a subject with entities when the entities are
kink [Thu, 27 Feb 2003 18:58:10 +0000 (18:58 +0000)]
Only add extra "points" for a subject with entities when the entities are
within the remaining range after trimming. This prevents entities at the end
which are cut off anyway to influence the cut-off-point for the subject.

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

21 years agoFor completeness, make the default theme contain all default values.
kink [Thu, 27 Feb 2003 12:04:02 +0000 (12:04 +0000)]
For completeness, make the default theme contain all default values.

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

21 years agoSwap colors, because new %2 test by Jon is true when the number is NOT
kink [Thu, 27 Feb 2003 11:13:36 +0000 (11:13 +0000)]
Swap colors, because new %2 test by Jon is true when the number is NOT
dividable by 2 (3%2=1) so to keep the old color for one '>' we need to
swap the colors.

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

21 years agoIf SERVER_NAME not set, use $domain as the domain in message-id.
kink [Thu, 27 Feb 2003 07:59:28 +0000 (07:59 +0000)]
If SERVER_NAME not set, use $domain as the domain in message-id.
Convert the things to the sqGetGlobalVar function.
Remove someone's debug code.

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

21 years agoFix import/export of variables in read_body.php.
ebullient [Thu, 27 Feb 2003 04:50:53 +0000 (04:50 +0000)]
Fix import/export of variables in read_body.php.
Fixes compatibility with 4.0.x - bug #688726

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

21 years agoWOOOPS. darnit.
ebullient [Thu, 27 Feb 2003 04:33:13 +0000 (04:33 +0000)]
WOOOPS. darnit.
Missed a debug statement

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

21 years agoErroneous use of quotes in the switch in sqgetGlobalVar.
ebullient [Thu, 27 Feb 2003 04:13:52 +0000 (04:13 +0000)]
Erroneous use of quotes in the switch in sqgetGlobalVar.
Don't know why I listened to whoever told me to add them.. <sighs>
thought it was acting funny whenever you tried to receive
variables outside of the default.
BLARGH.
it works now, so there.

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

21 years agohook fix
ebullient [Thu, 27 Feb 2003 03:48:11 +0000 (03:48 +0000)]
hook fix

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

21 years agoFix broken subject line that I doubt has worked since we went rg=0
ebullient [Thu, 27 Feb 2003 03:23:21 +0000 (03:23 +0000)]
Fix broken subject line that I doubt has worked since we went rg=0

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

21 years agoMake listcommands work with php 4.0.4 and 4.0.5. Thanks Oyku Gencay.
kink [Wed, 26 Feb 2003 11:34:13 +0000 (11:34 +0000)]
Make listcommands work with php 4.0.4 and 4.0.5. Thanks Oyku Gencay.

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

21 years agoendless loop fix
stekkel [Tue, 25 Feb 2003 12:20:13 +0000 (12:20 +0000)]
endless loop fix
"sometext\"" could cause an endless loop.

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

21 years agoHmmm, very active Changelog today :-)
stekkel [Mon, 24 Feb 2003 20:43:32 +0000 (20:43 +0000)]
Hmmm, very active Changelog today :-)

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

21 years agorewrote unfold routine inside sqimap_small_header_list because it didn't
stekkel [Mon, 24 Feb 2003 20:36:51 +0000 (20:36 +0000)]
rewrote unfold routine inside sqimap_small_header_list because it didn't
handle the headerlines like it should (rfc2060). For example a subject line
with a subject size of 70 chars (no spaces) could not be detected.

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

21 years agofixed mdn message generation, now it can handle encoded strings (subjects
stekkel [Mon, 24 Feb 2003 20:33:25 +0000 (20:33 +0000)]
fixed mdn message generation, now it can handle encoded strings (subjects
and to address)

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

21 years agoTweak a bit, thx to Jonathan
ebullient [Mon, 24 Feb 2003 20:06:39 +0000 (20:06 +0000)]
Tweak a bit, thx to Jonathan

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

21 years agoAlternating reply colours... makes things easier to read on mass-replies.
jangliss [Mon, 24 Feb 2003 19:57:37 +0000 (19:57 +0000)]
Alternating reply colours... makes things easier to read on mass-replies.

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

21 years agosuppose I should get better about these little updates.
ebullient [Mon, 24 Feb 2003 19:54:01 +0000 (19:54 +0000)]
suppose I should get better about these little updates.
blah.

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

21 years agoupdate with todays fixes
stekkel [Mon, 24 Feb 2003 19:44:59 +0000 (19:44 +0000)]
update with todays fixes

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

21 years agoPatched up the problem pointed out by Michael Bowe with folder
ebullient [Mon, 24 Feb 2003 19:42:03 +0000 (19:42 +0000)]
Patched up the problem pointed out by Michael Bowe with folder
creation and Courier.

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

21 years agocharsetDecode / htmlspecialchar usage is a mess :-(
stekkel [Mon, 24 Feb 2003 19:36:54 +0000 (19:36 +0000)]
charsetDecode / htmlspecialchar usage is a mess :-(

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

21 years agoInsert notes about PHP 4.3.x into some documentation.
tassium [Mon, 24 Feb 2003 19:01:56 +0000 (19:01 +0000)]
Insert notes about PHP 4.3.x into some documentation.
Added warning to src/login.php when PHP 4.3.x is in use.
Warning can be disabled by adding $shootMyFootOff = true; to config/config_local.php

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

21 years agofixed problems with subjects with html special chars in it.
stekkel [Mon, 24 Feb 2003 18:51:33 +0000 (18:51 +0000)]
fixed problems with subjects with html special chars in it.
Fix for possible xss holes

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

21 years agolot's of fixes:
stekkel [Mon, 24 Feb 2003 18:49:53 +0000 (18:49 +0000)]
lot's of fixes:
* removed htmlspecialchars from charset_decode because of double
htmlspecialchars calls
* fix for \NoSelect folders
* code cleanups
* added htmlspecialchars for displayattachmnent (filename)
* fixed charset issue with base64 encoded strings (decodeHeader)

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

21 years agoAdded method to encode email addresses
stekkel [Mon, 24 Feb 2003 18:37:39 +0000 (18:37 +0000)]
Added method to encode email addresses

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

21 years agoremoved encodeHeader calls for the complete addresses, Only the personal
stekkel [Mon, 24 Feb 2003 18:36:02 +0000 (18:36 +0000)]
removed encodeHeader calls for the complete addresses, Only the personal
name part of an email address should be encoded

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

21 years agoInsert a blurb about IMAPS on localhost being pointless.
tassium [Mon, 24 Feb 2003 18:00:40 +0000 (18:00 +0000)]
Insert a blurb about IMAPS on localhost being pointless.

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

21 years agoUpdated Simplified Chinese locale. "Benson Jin" <bensonjin@yahoo.com>
tokul [Fri, 21 Feb 2003 11:48:19 +0000 (11:48 +0000)]
Updated Simplified Chinese locale. "Benson Jin" <bensonjin@yahoo.com>

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

21 years agoGreek
tokul [Fri, 21 Feb 2003 11:40:26 +0000 (11:40 +0000)]
Greek

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

21 years agoAdded Greek locale. Thanks to George P. Kremmydas
tokul [Fri, 21 Feb 2003 11:36:33 +0000 (11:36 +0000)]
Added Greek locale. Thanks to George P. Kremmydas
<george at kefalonia-ithaki.gr> and Alexandros Vellis <avel at noc.uoa.gr>

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

21 years agoFixed javascript focus problem when first accessing login page. Also fixes errors...
pdontthink [Fri, 21 Feb 2003 00:12:43 +0000 (00:12 +0000)]
Fixed javascript focus problem when first accessing login page.  Also fixes errors when running password_forget plugin.

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

21 years agoSilly me, functions require () to work.
jangliss [Thu, 20 Feb 2003 18:18:28 +0000 (18:18 +0000)]
Silly me, functions require () to work.

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

21 years agoDo not use mixed get/post forms as this is broken in some browsers
kink [Thu, 20 Feb 2003 10:29:37 +0000 (10:29 +0000)]
Do not use mixed get/post forms as this is broken in some browsers
(they only submit the post forms and skip the get forms).

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

21 years agoSmall html fix
kink [Thu, 20 Feb 2003 10:04:57 +0000 (10:04 +0000)]
Small html fix

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

21 years agorg=0 broke some functionality that plugins relied on. fix 682962
kink [Thu, 20 Feb 2003 09:40:03 +0000 (09:40 +0000)]
rg=0 broke some functionality that plugins relied on. fix 682962

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

21 years agoMarc forgot to update the changelog to include his timezone fix. So here it is.
tassium [Wed, 19 Feb 2003 18:54:28 +0000 (18:54 +0000)]
Marc forgot to update the changelog to include his timezone fix. So here it is.

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