squirrelmail.git
20 years agoModified pipelined request function by splitting up the the provided queries
stekkel [Wed, 2 Jul 2003 20:24:11 +0000 (20:24 +0000)]
Modified pipelined request function by splitting up the the provided queries
in parts. Now we do a request for 32 queries and retrieve the response
before we continue with the next 32 queries.

The number 32 is experimental and should be tested on Exchange 2000 because
that was the imap-server which drops the connection with 100 calls at once.
Maybe we should lower it or raise it.

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

20 years agoAnother patch from Alex to eliminate a notice with E_ALL.
tassium [Wed, 2 Jul 2003 20:09:54 +0000 (20:09 +0000)]
Another patch from Alex to eliminate a notice with E_ALL.

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

20 years agoMention new search code by Alex Lemaresquier
tassium [Wed, 2 Jul 2003 19:48:26 +0000 (19:48 +0000)]
Mention new search code by Alex Lemaresquier

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

20 years agoPatch from Alex Lemaresquier to correct a minor rendering issue with Mozilla.
tassium [Wed, 2 Jul 2003 19:46:57 +0000 (19:46 +0000)]
Patch from Alex Lemaresquier to correct a minor rendering issue with Mozilla.

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

20 years agoMofify a Server -> Modify a Server
tokul [Wed, 2 Jul 2003 11:17:22 +0000 (11:17 +0000)]
Mofify a Server -> Modify a Server

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

20 years agoBy request of Grisha
kink [Wed, 2 Jul 2003 09:09:45 +0000 (09:09 +0000)]
By request of Grisha

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

20 years agoFix rg issue
kink [Wed, 2 Jul 2003 06:45:36 +0000 (06:45 +0000)]
Fix rg issue

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

20 years agoRequired for the new advanced search. (Beginning with src/search.php v. 1.94)
tassium [Tue, 1 Jul 2003 16:50:21 +0000 (16:50 +0000)]
Required for the new advanced search. (Beginning with src/search.php v. 1.94)

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

20 years agoModified version of asearch plugin, replacing our search.php.
tassium [Tue, 1 Jul 2003 16:49:02 +0000 (16:49 +0000)]
Modified version of asearch plugin, replacing our search.php.
Mostly working, there's a few warnings lurking within to nail down.

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

20 years agoThe body tag was not correctly specifying the onLoad function to run, so the javascri...
tassium [Tue, 1 Jul 2003 15:24:30 +0000 (15:24 +0000)]
The body tag was not correctly specifying the onLoad function to run, so the javascript was all but ignored.  This was breaking js detection as well as moving the focus to the text box.

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

20 years agoJS for sendmdn was not output when comp_in_new was disabled.
kink [Mon, 30 Jun 2003 19:36:16 +0000 (19:36 +0000)]
JS for sendmdn was not output when comp_in_new was disabled.

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

20 years agofixed warning.
stekkel [Mon, 30 Jun 2003 08:17:48 +0000 (08:17 +0000)]
fixed warning.

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

20 years agoRemove the hard coded colors, and use the default theme and css file (set in conf...
cigamit [Sun, 29 Jun 2003 21:41:06 +0000 (21:41 +0000)]
Remove the hard coded colors, and use the default theme and css file (set in conf.pl) for the login screen.  Makes customization of the login screen alot easier.

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

20 years agoPort 1.4 sent_folder fixes to devel
jangliss [Sun, 29 Jun 2003 21:22:30 +0000 (21:22 +0000)]
Port 1.4 sent_folder fixes to devel

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

20 years ago*** empty log message ***
jangliss [Sun, 29 Jun 2003 20:33:04 +0000 (20:33 +0000)]
*** empty log message ***

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

20 years agoremoved useless functioncall
stekkel [Sun, 29 Jun 2003 20:32:36 +0000 (20:32 +0000)]
removed useless functioncall

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

20 years agoTo many problems with this regex call. using \\\\ instead of \\ seems to
stekkel [Sun, 29 Jun 2003 19:40:08 +0000 (19:40 +0000)]
To many problems with this regex call. using \\\\ instead of \\ seems to
work for everyone. If somebody can explain why \\ is not sufficient please
explain.

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

20 years agoalways check total messages for the trash_folder so we can show the putge
stekkel [Sun, 29 Jun 2003 19:27:27 +0000 (19:27 +0000)]
always check total messages for the trash_folder so we can show the putge
link if move_to_trash = true

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

20 years agoApplied bugfixes to htmlfilter code from stable.
graf25 [Sun, 29 Jun 2003 17:50:30 +0000 (17:50 +0000)]
Applied bugfixes to htmlfilter code from stable.

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

20 years agofixed warning. isset doesn't work with string offsets > strlen
stekkel [Sun, 29 Jun 2003 11:39:48 +0000 (11:39 +0000)]
fixed warning. isset doesn't work with string offsets > strlen

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

20 years agoand back in sync again
stekkel [Sun, 29 Jun 2003 11:06:24 +0000 (11:06 +0000)]
and back in sync again

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

20 years agoremoval of status call requests.
stekkel [Sun, 29 Jun 2003 10:56:05 +0000 (10:56 +0000)]
removal of status call requests.

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

20 years agorequest LIST calls / mailbox and STATUS info by using pipelined imap-calls.
stekkel [Sun, 29 Jun 2003 10:54:48 +0000 (10:54 +0000)]
request LIST calls / mailbox and STATUS info by using pipelined imap-calls.
This means we do the imap-call and don't wait for the response and continue
with the next mailbox.
Because we remember the issued tags we are able to retrieve the
imap-responses and assign the response to the correct mailbox.

The advantage of this method is that we don't have to wait on each response.

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

20 years agoreturn the result in case of pipelined responses
stekkel [Sun, 29 Jun 2003 10:51:31 +0000 (10:51 +0000)]
return the result in case of pipelined responses

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

20 years agoTalking about stupid... backing out your own changes is stupid.
stekkel [Sun, 29 Jun 2003 10:12:40 +0000 (10:12 +0000)]
Talking about stupid... backing out your own changes is stupid.

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

20 years agoFix for draftmessages with message/rfc822 attachments.
stekkel [Sun, 29 Jun 2003 09:56:41 +0000 (09:56 +0000)]
Fix for draftmessages with message/rfc822 attachments.

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

20 years agoSome more group handling fixes.
indiri69 [Sun, 29 Jun 2003 03:33:09 +0000 (03:33 +0000)]
Some more group handling fixes.

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

20 years agoMake skiplist check casesensitive
stekkel [Sat, 28 Jun 2003 23:40:36 +0000 (23:40 +0000)]
Make skiplist check casesensitive

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

20 years ago* INBOX should be skipped in case of rename,delete, subscribe, unsubscribe
stekkel [Sat, 28 Jun 2003 23:39:25 +0000 (23:39 +0000)]
* INBOX should be skipped in case of rename,delete, subscribe, unsubscribe
* Removed strtolower calls because mailboxes are casesensitive
* replaced if elseif elseif .. by a switch statement

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

20 years agomake use of sqimap_run_command instead of forbidden local fputs
stekkel [Sat, 28 Jun 2003 21:45:29 +0000 (21:45 +0000)]
make use of sqimap_run_command instead of forbidden local fputs

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

20 years agofixed warning
stekkel [Sat, 28 Jun 2003 21:44:28 +0000 (21:44 +0000)]
fixed warning

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

20 years agoextra check for filename/name to achieve we do not show text/plain
stekkel [Sat, 28 Jun 2003 21:05:32 +0000 (21:05 +0000)]
extra check for filename/name to achieve we do not show text/plain
attachments inline in case of a missing Disposition mime-header

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

20 years agoAdded rfc2184 support in order to handle:
stekkel [Sat, 28 Jun 2003 20:17:17 +0000 (20:17 +0000)]
Added rfc2184 support in order to handle:
Multilined parameters
Parameters with charset and language information.

Only problem:
I don't have a single message with rfc2184 headers so I couldn't test it.
Probably it works okay because the RFC wasn't that complicated.

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

20 years agohandle escaped quotes again
stekkel [Sat, 28 Jun 2003 15:34:00 +0000 (15:34 +0000)]
handle escaped quotes again

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

20 years agoFix bug while modifying addresses, if you get an error, you can't resubmit the form...
cigamit [Sat, 28 Jun 2003 15:01:54 +0000 (15:01 +0000)]
Fix bug while modifying addresses, if you get an error, you can't resubmit the form at all.

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

20 years agoRemoval of function call to sqimap_read_data_list.
stekkel [Sat, 28 Jun 2003 13:55:49 +0000 (13:55 +0000)]
Removal of function call to sqimap_read_data_list.
From now on plugins may never call that function. It's an internal function
used by sqimap_run_command or sqimap_run_command_list.

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

20 years agoDownloading attachments is fixed. Now we do not buffer the entire attachment
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

20 years agodo not start encoding in the middle of a string
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

20 years agoAdded patch from seth randall to fix address group behaviour.
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

20 years agoNeeded a little more info from subject link hook
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

20 years agoAdded section about rg=off requirement
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

20 years agoLittle bit of a tidy up. Code should be more efficient this way, and less
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

20 years agoLooks like somebody commented out the reference headers, which will break
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

20 years agoFixes bug #548189. The code was checking for the nickname being set in the
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

20 years agoupdated hook list
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

20 years agoThe performance related extra if call caused a bug when trying to decode
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

20 years agoUpdated translation
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

20 years agoOnly iso_8859_default and ns_4551_1 decoding is left in i18n.php. Others
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

20 years agoFixed dates in copyright. added koi8-r and koi8-u decoding. fixed ereg in
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

20 years agoNo one objected, so here's a new hook
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

20 years agoSeparate gb2312 and utf-8 decoding
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

20 years agoFixed some mistakes.
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

20 years agoToo many spaces, makes the folder spacing look... odd... and too spaced out
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

20 years agoMore decoding functions
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

20 years agoAdded iso-8859-3, iso-8859-10, iso-8859-11, iso-8859-14, iso-8859-16
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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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