19 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

19 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

19 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

19 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

19 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

19 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

19 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

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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

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

19 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

19 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

19 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

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

19 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

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

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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

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

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

19 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

19 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

19 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

19 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

19 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

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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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.
it works now, so there.

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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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.

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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

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

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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 years agoFixed the borked timezone manipulating functions.
stekkel [Tue, 18 Feb 2003 20:06:47 +0000 (20:06 +0000)]
Fixed the borked timezone manipulating functions.
* Now we supported timezones in shhmm format as well as the obsolete zone

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

19 years agoRemoved accidental duplication of several lines in data directory input section.
pdontthink [Sat, 15 Feb 2003 11:21:16 +0000 (11:21 +0000)]
Removed accidental duplication of several lines in data directory input section.

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

19 years agoMailfetch
philippe_mingo [Thu, 13 Feb 2003 14:06:05 +0000 (14:06 +0000)]

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

19 years agoAlexandros Vellis: Bugfix
philippe_mingo [Thu, 13 Feb 2003 14:04:52 +0000 (14:04 +0000)]
Alexandros Vellis: Bugfix

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

19 years agoVietnamese
philippe_mingo [Thu, 13 Feb 2003 13:37:09 +0000 (13:37 +0000)]

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

19 years agoLe Viet Hung, Vietnamese translation
philippe_mingo [Thu, 13 Feb 2003 13:34:37 +0000 (13:34 +0000)]
Le Viet Hung, Vietnamese translation

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

19 years agoWe're talking Megabytes here, not millibytes :)
kink [Wed, 12 Feb 2003 05:52:59 +0000 (05:52 +0000)]
We're talking Megabytes here, not millibytes :)

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

19 years agoFix "Failed opening default pref" bug, closes #680331, thanks David Walser
kink [Mon, 10 Feb 2003 15:38:16 +0000 (15:38 +0000)]
Fix "Failed opening default pref" bug, closes #680331, thanks David Walser

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

19 years agoremoved one of my stupid debug lines.
stekkel [Mon, 10 Feb 2003 09:27:48 +0000 (09:27 +0000)]
removed one of my stupid debug lines.

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

19 years agosummarize latest tweaks
ebullient [Sun, 9 Feb 2003 02:24:44 +0000 (02:24 +0000)]
summarize latest tweaks

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

19 years agoChanges for Folder Deletion:
ebullient [Sat, 8 Feb 2003 02:50:50 +0000 (02:50 +0000)]
Changes for Folder Deletion:
  + "Don't delete folder.." option changed to
    "Folder Deletion Bypasses Trash" to make it more obvious what yes means.
  + Changed auto configuration values for UW and Courier IMAP -
    these two servers should always "bypass Trash" when deleting folders,
    as neither allow subfolders in Trash.
  + Cleaned up initial theme display because it was annoying.
  + Changed behavior of "edit name" option, to make it a sub-option of
    "edit identity" since the values are tied together.

Maybe someday I'll remember to add these things to the damn changelog.

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

19 years agoUpdates to reflex removal of sqextractGlobalVar
jangliss [Fri, 7 Feb 2003 23:13:13 +0000 (23:13 +0000)]
Updates to reflex removal of sqextractGlobalVar

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

19 years agoRemove the unnecesary sqextractGlobalVar function, and replace with the new
jangliss [Fri, 7 Feb 2003 23:09:16 +0000 (23:09 +0000)]
Remove the unnecesary sqextractGlobalVar function, and replace with the new
sqgetGlobalVar.  This should fix the compose error that Ken Brush was having.

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

19 years agoFix for 636577.
ebullient [Fri, 7 Feb 2003 20:34:09 +0000 (20:34 +0000)]
Fix for 636577.
Make subfolders of Sent/Drafts show To: instead of From:
(like Sent and Drafts do already).
Needs some UW verification but should work pretty well.

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

19 years agoFix odd behavior from login-redirect.
ebullient [Thu, 6 Feb 2003 21:49:01 +0000 (21:49 +0000)]
Fix odd behavior from login-redirect.
When you are redirected to login, session_post_vars is created
to save your state (for the case where you were writing a message
and got logged out).  If, for example, you were just going directly
to webmail.php, or a different page, and were required to login,
this array would be created, and it would be empty.
In this case, we are directed back to webmail.php, which doesn't
use any post vars. If we don't clear this array, it hangs around in
the session until the first time you get to the compose screen -
at which time, the fact that it's empty causes all kinds of trouble.

So, in the future, we need to encorporate into the initialization process
a mechanism to make sure that vars like this get cleared out for pages
that don't need them. But this will solve redirects to webmail.php
for now.

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