stekkel [Sat, 28 Jun 2003 13:36:41 +0000 (13:36 +0000)]
Downloading attachments is fixed. Now we do not buffer the entire attachment
before echo it to stdout. with fread we detect how long the base64 encoded
liones are so we can do base64 decoding on the fly.
The advantage of using fread instead of fgets is that the buffersize can be
used so we reduce the number of echo calls (fread doesn't stop at \n).
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5137
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Sat, 28 Jun 2003 13:29:19 +0000 (13:29 +0000)]
do not start encoding in the middle of a string
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5136
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Sat, 28 Jun 2003 12:35:06 +0000 (12:35 +0000)]
Added patch from seth randall to fix address group behaviour.
Fixed addressparsing in case of comments in the middle of email addresses.
example: valid(this is a comment)@email.com
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5134
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Sat, 28 Jun 2003 08:18:25 +0000 (08:18 +0000)]
Needed a little more info from subject link hook
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5128
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Sat, 28 Jun 2003 07:54:26 +0000 (07:54 +0000)]
Added section about rg=off requirement
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5127
7612ce4b-ef26-0410-bec9-
ea0150e637f0
jangliss [Fri, 27 Jun 2003 07:56:20 +0000 (07:56 +0000)]
Little bit of a tidy up. Code should be more efficient this way, and less
off it to make my eyes bleed. Also removed the risk of ever getting an
infinite loop on weird occasions.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5126
7612ce4b-ef26-0410-bec9-
ea0150e637f0
jangliss [Fri, 27 Jun 2003 03:07:23 +0000 (03:07 +0000)]
Looks like somebody commented out the reference headers, which will break
references on resuming of a draft. This should fix bug #722933.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5125
7612ce4b-ef26-0410-bec9-
ea0150e637f0
jangliss [Thu, 26 Jun 2003 03:42:22 +0000 (03:42 +0000)]
Fixes bug #548189. The code was checking for the nickname being set in the
post, but the code didn't mind if nickname wasn't set later. This caused
the whole add code to be skipped if you missed the nickname.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5122
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Wed, 25 Jun 2003 23:21:30 +0000 (23:21 +0000)]
updated hook list
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5121
7612ce4b-ef26-0410-bec9-
ea0150e637f0
stekkel [Wed, 25 Jun 2003 20:22:20 +0000 (20:22 +0000)]
The performance related extra if call caused a bug when trying to decode
strings like:
Blah=?iso8869-1?Q?blah?=
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5120
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Wed, 25 Jun 2003 10:28:40 +0000 (10:28 +0000)]
Updated translation
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5116
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Wed, 25 Jun 2003 07:10:23 +0000 (07:10 +0000)]
Only iso_8859_default and ns_4551_1 decoding is left in i18n.php. Others
are in functions/decode directory. In order to enable big5 or gb2312
decoding, user needs to set $agresive_decoding = true in functions/i18n.php
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5114
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Wed, 25 Jun 2003 07:06:15 +0000 (07:06 +0000)]
Fixed dates in copyright. added koi8-r and koi8-u decoding. fixed ereg in
utf-8 decoding.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5113
7612ce4b-ef26-0410-bec9-
ea0150e637f0
pdontthink [Tue, 24 Jun 2003 23:20:12 +0000 (23:20 +0000)]
No one objected, so here's a new hook
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5112
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Tue, 24 Jun 2003 07:27:37 +0000 (07:27 +0000)]
Separate gb2312 and utf-8 decoding
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5108
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Tue, 24 Jun 2003 07:26:09 +0000 (07:26 +0000)]
Fixed some mistakes.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5107
7612ce4b-ef26-0410-bec9-
ea0150e637f0
jangliss [Mon, 23 Jun 2003 21:25:21 +0000 (21:25 +0000)]
Too many spaces, makes the folder spacing look... odd... and too spaced out
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5106
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sun, 22 Jun 2003 14:05:12 +0000 (14:05 +0000)]
More decoding functions
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5105
7612ce4b-ef26-0410-bec9-
ea0150e637f0
tokul [Sun, 22 Jun 2003 09:36:56 +0000 (09:36 +0000)]
Added iso-8859-3, iso-8859-10, iso-8859-11, iso-8859-14, iso-8859-16
support. Switched iso-8859-4, iso-8859-5, iso-8859-13 and cp1257 to new way of
decoding. Older decoding functions still remain in i18n.php. Newer decoding
functions use different names. No undercore between iso and 8859 for iso-8859-x
decoding and cp12xx instead of windows_12xx for windows-12xx decoding.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5104
7612ce4b-ef26-0410-bec9-
ea0150e637f0
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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