squirrelmail.git
18 years agoMake use of get_identities function
kink [Mon, 7 Jul 2003 18:57:18 +0000 (18:57 +0000)]
Make use of get_identities function

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

18 years agoMake the default element called 0 again in preparation of my next commit
kink [Mon, 7 Jul 2003 18:55:48 +0000 (18:55 +0000)]
Make the default element called 0 again in preparation of my next commit

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

18 years ago<SPACE> isn't allowed after MAIL FROM: and RCPT TO: (RFC2821)
stekkel [Mon, 7 Jul 2003 18:35:41 +0000 (18:35 +0000)]
<SPACE> isn't allowed after MAIL FROM: and RCPT TO: (RFC2821)
Thnx Thomas Skyt for spotting this.

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

18 years agoUse new get_identities() function
kink [Mon, 7 Jul 2003 13:57:09 +0000 (13:57 +0000)]
Use new get_identities() function

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

18 years agoThe first entry has to be called 'default'.
kink [Mon, 7 Jul 2003 13:47:02 +0000 (13:47 +0000)]
The first entry has to be called 'default'.

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

18 years agoLogChanges
kink [Mon, 7 Jul 2003 07:29:53 +0000 (07:29 +0000)]
LogChanges

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

18 years agoconfig_default should also use SM_PATH (especially for those people editing
kink [Mon, 7 Jul 2003 07:22:18 +0000 (07:22 +0000)]
config_default should also use SM_PATH (especially for those people editing
it by hand). Change the default IMAP server to other (seems a more reasonable
default to me than cyrus). Change the default domain to "example.com".

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

18 years agoDuplicate strings. "Modify Server" and "Modify a Server". Leaving only
tokul [Sun, 6 Jul 2003 08:32:11 +0000 (08:32 +0000)]
Duplicate strings. "Modify Server" and "Modify a Server". Leaving only
"Modify Server". This way does not require fixing any translations in
SM-STABLE14 before 1.4.1 release.

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

18 years agonew api changes explained
pdontthink [Sun, 6 Jul 2003 02:31:06 +0000 (02:31 +0000)]
new api changes explained

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

18 years agominor update for options api
pdontthink [Sun, 6 Jul 2003 02:14:37 +0000 (02:14 +0000)]
minor update for options api

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

18 years agoAdded initial_value and post_script options for widgets
pdontthink [Sun, 6 Jul 2003 02:13:21 +0000 (02:13 +0000)]
Added initial_value and post_script options for widgets

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

18 years agoBring my last changes into synch with code conventions in this file
pdontthink [Sat, 5 Jul 2003 23:51:05 +0000 (23:51 +0000)]
Bring my last changes into synch with code conventions in this file

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

18 years agocheck criteria argument + code cleaning
alex-brainstorm [Sat, 5 Jul 2003 23:11:43 +0000 (23:11 +0000)]
check criteria argument + code cleaning

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

18 years agoscript needs to be added inside the widgets
pdontthink [Sat, 5 Jul 2003 21:16:51 +0000 (21:16 +0000)]
script needs to be added inside the widgets

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

18 years agoWhat good is just_logged_in if we dont put it in the session... fixes MOTD.
pdontthink [Sat, 5 Jul 2003 19:11:25 +0000 (19:11 +0000)]
What good is just_logged_in if we dont put it in the session... fixes MOTD.

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

18 years agoDue to popular demand, use only the word 'criteria'
alex-brainstorm [Sat, 5 Jul 2003 00:50:59 +0000 (00:50 +0000)]
Due to popular demand, use only the word 'criteria'

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

18 years ago2 more notices
alex-brainstorm [Sat, 5 Jul 2003 00:42:04 +0000 (00:42 +0000)]
2 more notices

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

18 years agoone more notice
alex-brainstorm [Fri, 4 Jul 2003 22:28:28 +0000 (22:28 +0000)]
one more notice

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

18 years agofix mailbox list (noselect and array_values)
alex-brainstorm [Fri, 4 Jul 2003 22:06:13 +0000 (22:06 +0000)]
fix mailbox list (noselect and array_values)

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

18 years agoForce default language on login.
stekkel [Thu, 3 Jul 2003 20:21:51 +0000 (20:21 +0000)]
Force default language on login.

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

18 years agoAdded argument to set-up_language to force default language
stekkel [Thu, 3 Jul 2003 20:20:26 +0000 (20:20 +0000)]
Added argument to set-up_language to force default language

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

18 years agoDo not utf encode subject and from. the mime header contains a charsets
stekkel [Thu, 3 Jul 2003 19:13:36 +0000 (19:13 +0000)]
Do not utf encode subject and from. the mime header contains a charsets
definition and that is sufficient.

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

18 years agoencoding/decoding fix for MDN receipts
stekkel [Thu, 3 Jul 2003 18:35:39 +0000 (18:35 +0000)]
encoding/decoding fix for MDN receipts

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

18 years agoTypo:
stekkel [Thu, 3 Jul 2003 18:10:56 +0000 (18:10 +0000)]
Typo:
I didn't mean that large people called chuck are slow

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

18 years agoFinally nailed down the exchange problem. It was caused by a very stupid
stekkel [Thu, 3 Jul 2003 16:18:51 +0000 (16:18 +0000)]
Finally nailed down the exchange problem. It was caused by a very stupid
mistake from me. I didn't ended the query with \r\n but ended it with \n. I
should have known better.
An interesting discovery was that setting the number of queries to process
at once influence performance. A higher number doesn't mean more performance.
In our tests 128 was slower then 32 (on Exchange 2000).

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

18 years agoMake note of new function sm_print_r()
tassium [Thu, 3 Jul 2003 14:17:46 +0000 (14:17 +0000)]
Make note of new function sm_print_r()

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

18 years agoNew function: sm_print_r()
tassium [Thu, 3 Jul 2003 14:14:48 +0000 (14:14 +0000)]
New function: sm_print_r()
This is intended to be a debugging function.  Ever wanted to do a print_r, but found that some of the values were "eaten" by your browser's parser because they had <> in them?  Use this function instead.  It runs htmlentities() on the output of print_r() AND as a bonus wraps the entire thing in <pre> and </pre> tags.

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

18 years agoHopefully fixed pipelined responses, I did something stupid and didn't test
stekkel [Thu, 3 Jul 2003 11:45:02 +0000 (11:45 +0000)]
Hopefully fixed pipelined responses, I did something stupid and didn't test
out of order reponses. Now it works.
In imap_mailbox te array with mailbox objects wasn't create correctly. It
contained double entries. That's fixed too.

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

18 years agorenamed sqimap_read_data_list => sqimap_retrieve_imap_response and created a
stekkel [Wed, 2 Jul 2003 20:55:04 +0000 (20:55 +0000)]
renamed sqimap_read_data_list => sqimap_retrieve_imap_response and created a
new function sqimap_read_data_list which will inform plugins that they
should call other functions.

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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

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