squirrelmail.git
18 years agoAdded separate iso-8859-*, cp1257 and big5 decoding files
tokul [Sun, 22 Jun 2003 09:19:16 +0000 (09:19 +0000)]
Added separate iso-8859-*, cp1257 and big5 decoding files

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

18 years agoUW sends \NoSelect in LIST and not in LSUB, which is perfectly fine by
jangliss [Sat, 21 Jun 2003 18:16:28 +0000 (18:16 +0000)]
UW sends \NoSelect in LIST and not in LSUB, which is perfectly fine by
RFCs, but we didn't do that.  For UW IMAP, force a LIST command on each
mailbox, this should also fix the \NoSelect on INBOX if it occurs.

Also updated the check for \NoSelect to include the LIST option as well as
LSUB.

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

18 years agoMinor change
pdontthink [Sat, 21 Jun 2003 01:18:22 +0000 (01:18 +0000)]
Minor change

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

18 years agoTypos and stuff found by Chris Hilts
pdontthink [Sat, 21 Jun 2003 00:26:24 +0000 (00:26 +0000)]
Typos and stuff found by Chris Hilts

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

18 years agoUtility functions to deal with identities. Only one so far: get_identities(), which...
tassium [Thu, 19 Jun 2003 17:45:43 +0000 (17:45 +0000)]
Utility functions to deal with identities. Only one so far: get_identities(), which returns a keyed array of all the identities & their different attributes.

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

18 years agoNow we can handle nested parenthesis :)
stekkel [Thu, 19 Jun 2003 16:47:36 +0000 (16:47 +0000)]
Now we can handle nested parenthesis :)

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

18 years agoServer defaults now include force_username_lowercase as appropriate.
tassium [Thu, 19 Jun 2003 15:43:10 +0000 (15:43 +0000)]
Server defaults now include force_username_lowercase as appropriate.
(Cyrus & Courier = false, Exchange & UW = true)
The only one we don't have is macosx, but that's because I don't have one of those to test with.

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

18 years agoDo utf7 decode after we created the tree, otherwise we cannot match
stekkel [Thu, 19 Jun 2003 12:58:43 +0000 (12:58 +0000)]
Do utf7 decode after we created the tree, otherwise we cannot match
unsubscribed parent_boxes. Besides it's more efficient

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

18 years agoFix for bug #749568
stekkel [Thu, 19 Jun 2003 08:08:36 +0000 (08:08 +0000)]
Fix for bug #749568
Removal of non breaking spaces because they do not wrap.

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

18 years agoNow that I have seemed to have fixed the INBOX issue with courier/uw,
jangliss [Thu, 19 Jun 2003 05:40:56 +0000 (05:40 +0000)]
Now that I have seemed to have fixed the INBOX issue with courier/uw,
enabling this code actually does good in uw (it hides the mail/ non-select
folder), and makes the folders all line up.  In courier, folders no longer
appear (though they still are) subs of inbox... should we change this?

Retested code with exchange, cyrus, uw, and courier, all seem good now.

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

18 years agofix for bug #756667
stekkel [Wed, 18 Jun 2003 23:55:32 +0000 (23:55 +0000)]
fix for bug #756667

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

18 years agoAhhhh we don't use charset
stekkel [Wed, 18 Jun 2003 22:22:19 +0000 (22:22 +0000)]
Ahhhh we don't use charset

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

18 years agoIn case of messages without a plain/text part (i.e. 1 part which is
stekkel [Wed, 18 Jun 2003 22:14:12 +0000 (22:14 +0000)]
In case of messages without a plain/text part (i.e. 1 part which is
application/octet-stream then the the contenttype wasn't set?

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

18 years agoAhhh, this doesn't work when the buffer is smaller then the size of the
stekkel [Wed, 18 Jun 2003 22:11:09 +0000 (22:11 +0000)]
Ahhh, this doesn't work when the buffer is smaller then the size of the
attachment. Can somebody fix this?

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

18 years agoForgot that $lsub_ibx[0] would be unset if LSUB didn't return INBOX, so
jangliss [Wed, 18 Jun 2003 21:58:03 +0000 (21:58 +0000)]
Forgot that $lsub_ibx[0] would be unset if LSUB didn't return INBOX, so
it'd never run the LIST code.  This meant in the case where they weren't
subbed to their INBOX, it'd never appear.

Thanks shaug for helping spot that.

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

18 years agoimap_utf7 decoding of mailboxes (mailbox-tree)
stekkel [Wed, 18 Jun 2003 20:13:23 +0000 (20:13 +0000)]
imap_utf7 decoding of mailboxes (mailbox-tree)

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

18 years agofixed formatting in case of oldway = false
stekkel [Wed, 18 Jun 2003 19:45:55 +0000 (19:45 +0000)]
fixed formatting in case of oldway = false

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

18 years agoDO NOT buffer base64 encoded attachments before we decode them. Instead
stekkel [Wed, 18 Jun 2003 18:39:12 +0000 (18:39 +0000)]
DO NOT buffer base64 encoded attachments before we decode them. Instead
decode them directly after we retrieved the data from the imapserver and
echo te result. This will safe a lot of memmory usage :)

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

18 years agobig changes :)
stekkel [Wed, 18 Jun 2003 16:24:19 +0000 (16:24 +0000)]
big changes :)

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

18 years agononbreaking spaces are frustrating the address parser because they do not
stekkel [Wed, 18 Jun 2003 16:23:48 +0000 (16:23 +0000)]
nonbreaking spaces are frustrating the address parser because they do not
match with <space> => replace them before we parse those addresses.

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

18 years agoidentities_table and identities_buttons hooks were broken
pdontthink [Wed, 18 Jun 2003 08:04:51 +0000 (08:04 +0000)]
identities_table and identities_buttons hooks were broken

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

18 years agocheck for empty string before we add it to the token array
stekkel [Tue, 17 Jun 2003 21:22:57 +0000 (21:22 +0000)]
check for empty string before we add it to the token array

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

18 years agobecause we remove the quotes an empty string could be left => check if the
stekkel [Tue, 17 Jun 2003 21:21:57 +0000 (21:21 +0000)]
because we remove the quotes an empty string could be left => check if the
string is empty before we add it to the token array

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

18 years agoRewrote address parsing and now it works a lot better.
stekkel [Tue, 17 Jun 2003 20:23:00 +0000 (20:23 +0000)]
Rewrote address parsing and now it works a lot better.

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

18 years agofixes parseAddress. I think this thing is working brilliant :)
stekkel [Tue, 17 Jun 2003 17:17:17 +0000 (17:17 +0000)]
fixes parseAddress. I think this thing is working brilliant :)

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

18 years agoRewritten addressparser
stekkel [Tue, 17 Jun 2003 00:27:58 +0000 (00:27 +0000)]
Rewritten addressparser
Should solve infinite loops and hopefully it's also quicker.

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

18 years agoCheck only POST and GET for optmode
pdontthink [Mon, 16 Jun 2003 17:07:05 +0000 (17:07 +0000)]
Check only POST and GET for optmode

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

18 years agoAdd check for just FORM data (POST/GET)
ebullient [Mon, 16 Jun 2003 15:00:10 +0000 (15:00 +0000)]
Add check for just FORM data (POST/GET)

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

18 years agoAllow optmode to be submitted in GET form.
pdontthink [Mon, 16 Jun 2003 09:28:14 +0000 (09:28 +0000)]
Allow optmode to be submitted in GET form.

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

18 years agoEugh, this code is getting messy, can somebody verify this regex for me,
jangliss [Mon, 16 Jun 2003 03:59:45 +0000 (03:59 +0000)]
Eugh, this code is getting messy, can somebody verify this regex for me,
I'm trying to get it to match on "INBOX" or INBOX but nothing afterwards,
but some IMAP servers are returning an extra char or two on the end, so
a direct match is messing up, so I've tried something a little different
and told it to do a full match, but fail it if the next char after INBOX is
a delimiter (do we have a full list of possibilities?).

Tested on uw, courier, exchange, and cyrus, and the list builds nicely now.
uw still has some odd behaviours when you have a default folder prefix, but
the others seem a lot better... got to do some minor tweaks, and I think this
can go for full testing.

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

18 years agoDo not turn references and in-reply-to headers into links.
kink [Sun, 15 Jun 2003 12:30:23 +0000 (12:30 +0000)]
Do not turn references and in-reply-to headers into links.

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

18 years agoInformation about added new decoding charsets.
tokul [Sun, 15 Jun 2003 11:44:05 +0000 (11:44 +0000)]
Information about added new decoding charsets.

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

18 years agoAdded experimental iso-8859-6 decoding support.
tokul [Sun, 15 Jun 2003 11:39:17 +0000 (11:39 +0000)]
Added experimental iso-8859-6 decoding support.

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

18 years agoAdded experimental windows-1255 and windows-1256 decoding support.
tokul [Sun, 15 Jun 2003 11:35:52 +0000 (11:35 +0000)]
Added experimental windows-1255 and windows-1256 decoding support.

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

18 years agoAdded koi8-u decoding support. Changed windows-1251 and iso-8859-5 decoding
tokul [Sun, 15 Jun 2003 11:05:11 +0000 (11:05 +0000)]
Added koi8-u decoding support. Changed windows-1251 and iso-8859-5 decoding
order. Now decoding does not use php decode_cyr_string function. See SM patch 622280.

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

18 years agoBack again... should have looked at my exchange window first... *grumbles*
jangliss [Sun, 15 Jun 2003 06:57:24 +0000 (06:57 +0000)]
Back again... should have looked at my exchange window first... *grumbles*
UW is a royal pain :P

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

18 years agoUW can return a slightly different format for the LSUB when you step outside
jangliss [Sun, 15 Jun 2003 06:52:48 +0000 (06:52 +0000)]
UW can return a slightly different format for the LSUB when you step outside
the default_folder_prefix area, also they return NIL for the delimiter which
means the previous regex would always fail as it is looking for a 1 char
delimiter between ""

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

18 years agoNeed this check, otherwise some weird stuff occurs with exchange, and only
jangliss [Sun, 15 Jun 2003 05:11:12 +0000 (05:11 +0000)]
Need this check, otherwise some weird stuff occurs with exchange, and only
the last root folder is displayed (in my case it was "Tasks").

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

18 years agoCouple of tweaks... must include inbox otherwise it becomes an unselectable
jangliss [Sun, 15 Jun 2003 05:10:05 +0000 (05:10 +0000)]
Couple of tweaks... must include inbox otherwise it becomes an unselectable
link, which isn't good.  Some weird stuff happens when using the default
folder prefix check, so removed... fixes courier and uw for having INBOXes,
now just have to make uw's inbox really work now.

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

18 years agoMoved the INBOX check higher to save code duplication... something else in
jangliss [Sun, 15 Jun 2003 03:21:45 +0000 (03:21 +0000)]
Moved the INBOX check higher to save code duplication... something else in
here too... but cannot remember...

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

18 years agoCorrected display (on Courier at least) of mailboxes with INBOX
ebullient [Sun, 15 Jun 2003 00:40:58 +0000 (00:40 +0000)]
Corrected display (on Courier at least) of mailboxes with INBOX
prefix. INBOX was being added to the tree twice (was already the
root), and then because it was root, the link (with proper nesting)
wasn't being displayed.

Also corrected setting 'noselect' for INBOX (now tree root) -
was being errantly set as 'flag' which was causing errors about
not havign noselect set...

Also removed the places where it was checking whether or not
noselect was set for a mailbox - given the structure, noselect should
always be set - and we should get an error if it isn't (for boxlist
formed from LSUB).

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

18 years agoHi Tomas 8-)
philippe_mingo [Sat, 14 Jun 2003 08:15:09 +0000 (08:15 +0000)]
Hi Tomas 8-)

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

18 years agoFaroese
philippe_mingo [Sat, 14 Jun 2003 07:39:55 +0000 (07:39 +0000)]
Faroese

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

18 years agoFaroese by Danial Olsen
philippe_mingo [Sat, 14 Jun 2003 07:36:01 +0000 (07:36 +0000)]
Faroese by Danial Olsen

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

18 years agoin case of BYE response display errormessage
stekkel [Fri, 13 Jun 2003 15:30:28 +0000 (15:30 +0000)]
in case of BYE response display errormessage

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

18 years agoE_ALL notice removal
kink [Fri, 13 Jun 2003 10:42:59 +0000 (10:42 +0000)]
E_ALL notice removal

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

18 years agoMore updates to the folder list. Allowed for user options for the display
jangliss [Fri, 13 Jun 2003 07:44:53 +0000 (07:44 +0000)]
More updates to the folder list.  Allowed for user options for the display
of unread messages to work as per text in options, where as before it was
always displaying the data.

Need to find out why my courier is returning no INBOX when folder_prefix is
set to INBOX. as it is totally messing up my tree.

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

18 years agominor changes
pdontthink [Fri, 13 Jun 2003 05:28:50 +0000 (05:28 +0000)]
minor changes

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

18 years agotypo
pdontthink [Fri, 13 Jun 2003 05:25:11 +0000 (05:25 +0000)]
typo

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

18 years agominor rewording for plugin stuff
pdontthink [Fri, 13 Jun 2003 05:24:11 +0000 (05:24 +0000)]
minor rewording for plugin stuff

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

18 years agoChanged the default behaviour to use Marc's experimental cpde... note this
jangliss [Fri, 13 Jun 2003 05:02:11 +0000 (05:02 +0000)]
Changed the default behaviour to use Marc's experimental cpde... note this
is devel, and would be great to get some field testing (courier/uw would be
great)... it seems to fix the folder display issues with Exchange IMAP where
folders where appearing in the wrong order.

Fixed an E_ALL error, and pulled the $imapConnection into the function,
Marc are you running with E_ALL?  The code caused an immediate error as it
couldn't connect to the IMAP server, causing a nice folder order to appear:
  (http://nuts.netdork.net/bad_folders.jpg)

Also fixed a couple of cases of "Editor Envy" and replaced \t with "    "
(hence the massive diff).

Also fixed the code so that the "Trash" is now selectable, and moved the
 (purge)
link back to after the mailbox name.

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

18 years agoAnother failsafe check which I missed. Thnx Erin.
stekkel [Thu, 12 Jun 2003 14:17:10 +0000 (14:17 +0000)]
Another failsafe check which I missed. Thnx Erin.

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

18 years agobetter error processing, immediate break out of the while loop in case of an
stekkel [Thu, 12 Jun 2003 09:42:10 +0000 (09:42 +0000)]
better error processing, immediate break out of the while loop in case of an
error.

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

18 years agoMissing </option> tag after default identity
pdontthink [Thu, 12 Jun 2003 05:36:38 +0000 (05:36 +0000)]
Missing </option> tag after default identity

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

18 years agoalign cases so they're easier to find..
ebullient [Wed, 11 Jun 2003 20:41:39 +0000 (20:41 +0000)]
align cases so they're easier to find..
{} and comments for the bigger blocks

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

18 years agofixed formatting, sjeesh that's realy dull work. Makes me simple :(
stekkel [Wed, 11 Jun 2003 19:53:22 +0000 (19:53 +0000)]
fixed formatting, sjeesh that's realy dull work. Makes me simple :(
The only exiting part was working with VIM for the first time. And I still
thing it's not the most user friendly editor unless you know all keycodes
which I don't know.

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

18 years agobring up fix for default_pref file name (double-slash)
ebullient [Wed, 11 Jun 2003 18:33:25 +0000 (18:33 +0000)]
bring up fix for default_pref file name (double-slash)

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

18 years agoupdate error_box, use more echos rather than big concat,
ebullient [Wed, 11 Jun 2003 18:30:37 +0000 (18:30 +0000)]
update error_box, use more echos rather than big concat,
ensure header check in both stable and devel

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

18 years agobring up changes from stable
ebullient [Wed, 11 Jun 2003 18:04:35 +0000 (18:04 +0000)]
bring up changes from stable

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

18 years agoextra safetycheck before we process group addresses
stekkel [Wed, 11 Jun 2003 17:54:12 +0000 (17:54 +0000)]
extra safetycheck before we process group addresses

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

18 years agoextra safety check before we process groups
stekkel [Wed, 11 Jun 2003 17:53:17 +0000 (17:53 +0000)]
extra safety check before we process groups

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

18 years ago* fix for messageheader caching. We didn't cache somebody broke it :(
stekkel [Wed, 11 Jun 2003 17:26:52 +0000 (17:26 +0000)]
* fix for messageheader caching. We didn't cache somebody broke it :(
* fix for very large msgs_str genered by sqimap_msg_squisher. We don't need
that if we want to fetch the whole list (1:*)
Now the imapserver doesn't return BYE because of the size of the imap
request

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

18 years agoRewrite of sqimap_read_data_list. This will raise performance and it's more
stekkel [Wed, 11 Jun 2003 17:16:29 +0000 (17:16 +0000)]
Rewrite of sqimap_read_data_list. This will raise performance and it's more
accurate.

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

18 years agoperformance tweak
stekkel [Wed, 11 Jun 2003 17:09:15 +0000 (17:09 +0000)]
performance tweak

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

18 years agoFixed message buffering in session (for teh people without the imap
stekkel [Wed, 11 Jun 2003 17:07:05 +0000 (17:07 +0000)]
Fixed message buffering in session (for teh people without the imap
extension SORT)

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

18 years agomove the hook before send to a more efficient location
stekkel [Tue, 10 Jun 2003 13:36:07 +0000 (13:36 +0000)]
move the hook before send to a more efficient location

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

18 years agoMake sure we have a HTML-header already outputted before we send
kink [Mon, 9 Jun 2003 14:39:15 +0000 (14:39 +0000)]
Make sure we have a HTML-header already outputted before we send
the error message.

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

18 years agolog changes
kink [Sun, 8 Jun 2003 16:18:06 +0000 (16:18 +0000)]
log changes

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

18 years agoMS Exch can be set up that users have to use DOMAIN/username/mailbox
kink [Sun, 8 Jun 2003 16:15:02 +0000 (16:15 +0000)]
MS Exch can be set up that users have to use DOMAIN/username/mailbox
to log in. We need to strip these chars before creating the prefs
file, because of course a slash in the name gives problems.

It may be possible to strip out other 'illegal' chars here aswell.
Closes (#745814).

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

18 years agoWhen $edit_identity is false and $edit_name is true, the if evaluates as
kink [Sun, 8 Jun 2003 15:58:07 +0000 (15:58 +0000)]
When $edit_identity is false and $edit_name is true, the if evaluates as
true but the from_name shouldn't be reset. The $from_name='' isn't
neccessary. (#750728)

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

18 years agoFix stupid mistake.
kink [Sun, 8 Jun 2003 15:34:48 +0000 (15:34 +0000)]
Fix stupid mistake.

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

18 years agoFix comp_in_new: make outputing the compose link a function so that
kink [Sun, 8 Jun 2003 14:37:35 +0000 (14:37 +0000)]
Fix comp_in_new: make outputing the compose link a function so that
the comp_in_new works the same everywhere.
In this new function, make sure that comp_in_new still works when
JavaScript off.
When JavaScript off, do not output all kinds of JavaScript functions
which are never going to be called.

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

18 years agoFix this awfully ugly error message, finally.
kink [Sun, 8 Jun 2003 12:39:49 +0000 (12:39 +0000)]
Fix this awfully ugly error message, finally.

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

18 years agoHTTP 1.1 compliant Header redirects.
stekkel [Thu, 5 Jun 2003 17:34:53 +0000 (17:34 +0000)]
HTTP 1.1 compliant Header redirects.

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

18 years agoAlexandros Vellis
philippe_mingo [Wed, 4 Jun 2003 15:12:04 +0000 (15:12 +0000)]
Alexandros Vellis

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

18 years agoNew pt_br translator
philippe_mingo [Wed, 4 Jun 2003 15:05:47 +0000 (15:05 +0000)]
New pt_br translator

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

18 years agoGleydson Mazioli da Silva
philippe_mingo [Wed, 4 Jun 2003 15:04:09 +0000 (15:04 +0000)]
Gleydson Mazioli da Silva

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

18 years agoRalf Hildebrandt
philippe_mingo [Wed, 4 Jun 2003 15:01:59 +0000 (15:01 +0000)]
Ralf Hildebrandt

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

18 years agoHTML output fixes. It's 4.01 Transitional compliant now.
indiri69 [Tue, 3 Jun 2003 21:49:25 +0000 (21:49 +0000)]
HTML output fixes.  It's 4.01 Transitional compliant now.

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

18 years agoAddress parsing fixes. This whole addressparsing is driving me nuts and the
stekkel [Tue, 3 Jun 2003 20:30:53 +0000 (20:30 +0000)]
Address parsing fixes. This whole addressparsing is driving me nuts and the
implementation sucks!!!
This definately needs a rewrite.

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

18 years agoFixed wrong sqimap_run_command call. The $sid is added inside
stekkel [Mon, 2 Jun 2003 21:19:53 +0000 (21:19 +0000)]
Fixed wrong sqimap_run_command call. The $sid is added inside
sqimap_run_command!.

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

18 years agoMove some actions to their own functions. Change the
indiri69 [Mon, 2 Jun 2003 20:22:34 +0000 (20:22 +0000)]
Move some actions to their own functions.  Change the
$mailfetch_pass_[$i] types variables to $mailfetch[$i]['pass']

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

18 years agoOne of these days I'll get a commit right the first time :)
indiri69 [Mon, 2 Jun 2003 19:36:49 +0000 (19:36 +0000)]
One of these days I'll get a commit right the first time :)

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

18 years agoCleaned up code. Added "\r\n" after we submit a message so the imap server
indiri69 [Mon, 2 Jun 2003 19:10:00 +0000 (19:10 +0000)]
Cleaned up code.  Added "\r\n" after we submit a message so the imap server
knows we're done. (Used to lock up with IMAP Proxy)

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

18 years agoUpdated Lithuanian strings.
tokul [Sat, 31 May 2003 09:08:41 +0000 (09:08 +0000)]
Updated Lithuanian strings.

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

18 years agoupdated changed strings in translate plugin.
tokul [Sat, 31 May 2003 08:59:07 +0000 (08:59 +0000)]
updated changed strings in translate plugin.

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

18 years agoAdded systrans.otenet.gr options and updated strings.
tokul [Sat, 31 May 2003 08:55:41 +0000 (08:55 +0000)]
Added systrans.otenet.gr options and updated strings.

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

18 years agoAdded systran.otenet.gr Hellenic translations.
tokul [Sat, 31 May 2003 08:50:46 +0000 (08:50 +0000)]
Added systran.otenet.gr Hellenic translations.

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

18 years agoFixed 2 issues:
stekkel [Fri, 30 May 2003 17:23:56 +0000 (17:23 +0000)]
Fixed 2 issues:
1: Removal of preleading space caused by decodeHeader.
2: Changed call to decodeHeader from compose to htmlsafe = false so we do
not see spaces changed to &nbsp; => wordwrap stops working;

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

18 years agologmes
stekkel [Fri, 30 May 2003 17:17:50 +0000 (17:17 +0000)]
logmes

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

18 years agoFix E_ALL notice, thanks Alexandros.
kink [Thu, 29 May 2003 10:12:57 +0000 (10:12 +0000)]
Fix E_ALL notice, thanks Alexandros.

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

18 years agoencodeheader / decodeHeader fixes. Removal of <space> between 2 encoded
stekkel [Wed, 28 May 2003 22:14:41 +0000 (22:14 +0000)]
encodeheader / decodeHeader fixes. Removal of <space> between 2 encoded
header strings. The space is part of the protocol and should be ignored

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

18 years agofix for reply all. Remove teh double quotes around the personal name. We
stekkel [Wed, 28 May 2003 22:11:43 +0000 (22:11 +0000)]
fix for reply all. Remove teh double quotes around the personal name. We
don't need them.

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

18 years agobetter address parsing. This should fix wrong parsing of addresses with
stekkel [Wed, 28 May 2003 22:09:49 +0000 (22:09 +0000)]
better address parsing. This should fix wrong parsing of addresses with
comments

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

18 years agoHere we go again, another try to fix folding of headerlines with encoded
stekkel [Wed, 28 May 2003 22:08:07 +0000 (22:08 +0000)]
Here we go again, another try to fix folding of headerlines with encoded
addresses

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

18 years agoChanged name of Indonesian translation to Bahasa Indonesia.
tokul [Mon, 26 May 2003 18:14:47 +0000 (18:14 +0000)]
Changed name of Indonesian translation to Bahasa Indonesia.

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

18 years agoUpdated Bahasa Indonesia translation.
tokul [Mon, 26 May 2003 18:12:28 +0000 (18:12 +0000)]
Updated Bahasa Indonesia translation.

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

18 years agoChangeLog
kink [Sun, 25 May 2003 18:59:10 +0000 (18:59 +0000)]
ChangeLog

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

18 years agoPrevent loop in parseAddress: if the address is invalid and looks like:
kink [Sun, 25 May 2003 18:58:15 +0000 (18:58 +0000)]
Prevent loop in parseAddress: if the address is invalid and looks like:
Thijs <aap
(no closing ">"), parseAddress would enter an infinite loop. This is
solved by increasing $pos when no closing > is found. Closes 742584,
thanks Jeroen van Wolffelaar.

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

18 years agoChangeLog update
jangliss [Sun, 25 May 2003 13:07:11 +0000 (13:07 +0000)]
ChangeLog update

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