squirrelmail.git
19 years agoChange table cells to use html_tag
indiri69 [Wed, 2 Jun 2004 19:04:49 +0000 (19:04 +0000)]
Change table cells to use html_tag

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

19 years agoDon't show empty braces when there's only one filter
indiri69 [Wed, 2 Jun 2004 16:54:39 +0000 (16:54 +0000)]
Don't show empty braces when there's only one filter

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

19 years agoAlso adapt the number of messages in a mailbox if the uidset is invalid.
stekkel [Wed, 2 Jun 2004 15:31:12 +0000 (15:31 +0000)]
Also adapt the number of messages in a mailbox if the uidset is invalid.

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

19 years agoAdapted arguments for sqimap_fetch_small_header_list
stekkel [Wed, 2 Jun 2004 13:45:16 +0000 (13:45 +0000)]
Adapted arguments for sqimap_fetch_small_header_list

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

19 years agoFixed warnings. (time for reviewing my php.ini and find out why those
stekkel [Wed, 2 Jun 2004 12:12:24 +0000 (12:12 +0000)]
Fixed warnings. (time for reviewing my php.ini and find out why those
warnings were not displayed on my screen)

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

19 years agofixed warning
stekkel [Wed, 2 Jun 2004 10:36:01 +0000 (10:36 +0000)]
fixed warning

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

19 years agoDo not add FLAGS section to the cached headers if the rest of the headers
stekkel [Wed, 2 Jun 2004 08:27:44 +0000 (08:27 +0000)]
Do not add FLAGS section to the cached headers if the rest of the headers
isn't cached.

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

19 years agoRollback some parts of previous update because it contains unfinished work
stekkel [Tue, 1 Jun 2004 22:11:49 +0000 (22:11 +0000)]
Rollback some parts of previous update because it contains unfinished work
which slipped in.

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

19 years agoRemoved sort from url query because we store sort in the session and in case
stekkel [Tue, 1 Jun 2004 21:51:52 +0000 (21:51 +0000)]
Removed sort from url query because we store sort in the session and in case
the sort is changed in between I do not think it's wanted that a redirect
from compose changes it back.

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

19 years agoAdded documentation and fixed a minor issue
stekkel [Tue, 1 Jun 2004 21:44:37 +0000 (21:44 +0000)]
Added documentation and fixed a minor issue

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

19 years agoString fix
indiri69 [Tue, 1 Jun 2004 16:15:11 +0000 (16:15 +0000)]
String fix

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

19 years agoNo longer needed.
stekkel [Mon, 31 May 2004 20:15:34 +0000 (20:15 +0000)]
No longer needed.

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

19 years agoRewrite of internal message caching
stekkel [Mon, 31 May 2004 20:07:44 +0000 (20:07 +0000)]
Rewrite of internal message caching
Added paginator support for asearch
Added next/prev links in read_body to walk through search results
Added individual sort settings / mailbox
Added what I forgot to mention

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

19 years agotypo
stekkel [Wed, 26 May 2004 13:24:55 +0000 (13:24 +0000)]
typo

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

19 years agomake use of new parseRFC822Address function
stekkel [Wed, 26 May 2004 01:18:42 +0000 (01:18 +0000)]
make use of new parseRFC822Address function

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

19 years agoremoved parseAdress routines and made it point to rfc822address.php
stekkel [Wed, 26 May 2004 00:36:06 +0000 (00:36 +0000)]
removed parseAdress routines and made it point to rfc822address.php

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

19 years agoCode cleanup, intented to remove the parseAddress routines from
stekkel [Wed, 26 May 2004 00:35:03 +0000 (00:35 +0000)]
Code cleanup, intented to remove the parseAddress routines from
class/Rfc822Header.class.php and from imap_general.php

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

19 years agoMissed a sqimap_mailbox_expunge_dmn call. Thnx Seth Randall for spotting
stekkel [Wed, 26 May 2004 00:02:37 +0000 (00:02 +0000)]
Missed a sqimap_mailbox_expunge_dmn call. Thnx Seth Randall for spotting
this.

NOTE To squirrelmail developers. If you are bored, please integrate this in
right_main.php. It's kind of a useless form handler which redirect to the
original right_main.php.

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

19 years agoReset $msg on each iteration, otherwise a message with eg no subject
kink [Tue, 25 May 2004 13:47:49 +0000 (13:47 +0000)]
Reset $msg on each iteration, otherwise a message with eg no subject
will take the subject from the previous message.

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

19 years agoFix a few spelling mistakes. Nothing critical to see here folks, move along.
tassium [Tue, 25 May 2004 13:46:58 +0000 (13:46 +0000)]
Fix a few spelling mistakes.  Nothing critical to see here folks, move along.

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

19 years agoReplace array_search that only uses a boolean to check whether the value
kink [Mon, 24 May 2004 19:55:21 +0000 (19:55 +0000)]
Replace array_search that only uses a boolean to check whether the value
exists with in_array (which returns just that boolean), and fix the
left over call to array_search to also check for NULL return.
This should fix the problems that Fredrik, me and other PHP 4.1 users
had with Marc's recent changes.

From PHP docs:
"Note:  Prior to PHP 4.2.0, array_search() returns NULL on failure instead of FALSE."

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

19 years agoFix from Seth Randall. The range was 1 to large.
stekkel [Mon, 24 May 2004 19:46:14 +0000 (19:46 +0000)]
Fix from Seth Randall. The range was 1 to large.

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

19 years agoSet the content-type correct so we can check on multipart/mixed in
stekkel [Mon, 24 May 2004 18:01:59 +0000 (18:01 +0000)]
Set the content-type correct so we can check on multipart/mixed in
mailbox_display (printMessage).

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

19 years agostupid error in checking the newsort value, also check if it validates as
stekkel [Mon, 24 May 2004 17:47:43 +0000 (17:47 +0000)]
stupid error in checking the newsort value, also check if it validates as
true.

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

19 years agoMissed one var to set
stekkel [Mon, 24 May 2004 17:11:41 +0000 (17:11 +0000)]
Missed one var to set

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

19 years agoSmall bug fix, was using $mailbox instead of $aMailbox which was
cigamit [Mon, 24 May 2004 15:17:06 +0000 (15:17 +0000)]
Small bug fix, was using $mailbox instead of $aMailbox which was
causing the bottom toolbar buttons to not function properly.
Thanks for William Hooper for noticing

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

19 years agoOops. This wasn't supposed to be commited. Going back to 1.32
jervfors [Mon, 24 May 2004 01:26:40 +0000 (01:26 +0000)]
Oops. This wasn't supposed to be commited. Going back to 1.32

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

19 years agoMissing global
jervfors [Mon, 24 May 2004 01:16:58 +0000 (01:16 +0000)]
Missing global

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

19 years agoFixing typos
jervfors [Sun, 23 May 2004 16:40:13 +0000 (16:40 +0000)]
Fixing typos

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

19 years agomention XSS fix
stekkel [Sun, 23 May 2004 16:18:23 +0000 (16:18 +0000)]
mention XSS fix

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

19 years agoFixed XSS vulnarability spotted by "Roman Medina" after a very thorough
stekkel [Sun, 23 May 2004 16:09:48 +0000 (16:09 +0000)]
Fixed XSS vulnarability spotted by "Roman Medina" after a very thorough
research of the SquirrelMail source. I was impressed.

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

19 years agocleanup up filter plugin
stekkel [Sun, 23 May 2004 15:38:40 +0000 (15:38 +0000)]
cleanup up filter plugin

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

19 years agoupdating pot
tokul [Sun, 23 May 2004 15:14:10 +0000 (15:14 +0000)]
updating pot

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

19 years agoFix broken thread sort
stekkel [Sun, 23 May 2004 10:47:26 +0000 (10:47 +0000)]
Fix broken thread sort

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

19 years agoMore cleanups.
stekkel [Sun, 23 May 2004 08:52:39 +0000 (08:52 +0000)]
More cleanups.

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

19 years agoReinserting configurable body quote
pdontthink [Sun, 23 May 2004 06:59:39 +0000 (06:59 +0000)]
Reinserting configurable body quote

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

19 years agoPhpdocumentor update - sed is your friend for these kinds of things ;)
jervfors [Sat, 22 May 2004 23:46:57 +0000 (23:46 +0000)]
Phpdocumentor update - sed is your friend for these kinds of things ;)

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

19 years agochanged naming scheme
stekkel [Sat, 22 May 2004 21:03:23 +0000 (21:03 +0000)]
changed naming scheme

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

19 years agoremoved debug message. fixed divide by zero warning because we now use 0
stekkel [Sat, 22 May 2004 20:55:36 +0000 (20:55 +0000)]
removed debug message. fixed divide by zero warning because we now use 0
instead of 999999 as limit for the number of messages to see if we hit
show_all

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

19 years agoAnother big update:
stekkel [Sat, 22 May 2004 20:39:10 +0000 (20:39 +0000)]
Another big update:

1) do not do a search 1:* UID request in case we do not sort. That isn't
needed, just use a non uid fetch and request the UID together with the rest
of the headers.

2) Started on adding envelope parsing to sqimap_get_small_header list so we
can remove the imap related code from the messages class.

2) cleaned up the functions in mailbox_display, don't use trillions of
arguments when you can provide an array as well.

3) adapted right_main.php and search.php to fit the adapted functions in
mailbox_display

I hope the code makes more sense now an is easier to understand so that we
can start on separating the logic from the html output and prepare for
templates. Volunteers?

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

19 years agoPhpdocumentor update - sed is your friend for these kinds of things ;)
jervfors [Sat, 22 May 2004 13:41:17 +0000 (13:41 +0000)]
Phpdocumentor update - sed is your friend for these kinds of things ;)

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

19 years agoPhpdocumentor update - sed is your friend for these kinds of things ;)
jervfors [Fri, 21 May 2004 23:56:53 +0000 (23:56 +0000)]
Phpdocumentor update - sed is your friend for these kinds of things ;)

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

19 years agoFixed typo, thnx paul_s - psunners for spotting this.
stekkel [Fri, 21 May 2004 18:03:44 +0000 (18:03 +0000)]
Fixed typo, thnx paul_s - psunners for spotting this.

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

19 years agoSigh, maybe I need sleep or so. To many bugs ...
stekkel [Fri, 21 May 2004 16:30:52 +0000 (16:30 +0000)]
Sigh, maybe I need sleep or so. To many bugs ...

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

19 years agofix sort by internaldate if the internaldate does not have the expected
stekkel [Fri, 21 May 2004 16:00:16 +0000 (16:00 +0000)]
fix sort by internaldate if the internaldate does not have the expected
format.

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

19 years agoFix message highlighting for mailbox changes
indiri69 [Fri, 21 May 2004 15:26:38 +0000 (15:26 +0000)]
Fix message highlighting for mailbox changes

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

19 years agoMore code cleanups and added a few notes/comments
stekkel [Fri, 21 May 2004 15:01:43 +0000 (15:01 +0000)]
More code cleanups and added a few notes/comments

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

19 years agofix for non server side sorting on internal date
stekkel [Fri, 21 May 2004 13:03:42 +0000 (13:03 +0000)]
fix for non server side sorting on internal date
Modified the subject sort to strip out the [mailinglist] entries before we
start sorting.

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

19 years agobig update
stekkel [Fri, 21 May 2004 11:44:34 +0000 (11:44 +0000)]
big update

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

19 years agoblah
stekkel [Fri, 21 May 2004 11:34:07 +0000 (11:34 +0000)]
blah

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

19 years agoHmm, client side sorting on large mailboxes is so fast I didn't even noticed
stekkel [Fri, 21 May 2004 11:30:18 +0000 (11:30 +0000)]
Hmm, client side sorting on large mailboxes is so fast I didn't even noticed
that it did that by default (typo)

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

19 years agoSimplified DMN and the findPrevious and FindNext functions.
stekkel [Fri, 21 May 2004 11:24:07 +0000 (11:24 +0000)]
Simplified DMN and the findPrevious and FindNext functions.

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

19 years agoFixed HTML bug
jervfors [Fri, 21 May 2004 06:48:23 +0000 (06:48 +0000)]
Fixed HTML bug

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

19 years agocode cleanup 2
stekkel [Thu, 20 May 2004 23:44:15 +0000 (23:44 +0000)]
code cleanup 2

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

19 years agoCode cleanup.
stekkel [Thu, 20 May 2004 23:20:21 +0000 (23:20 +0000)]
Code cleanup.

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

19 years agowhatever
stekkel [Thu, 20 May 2004 16:26:13 +0000 (16:26 +0000)]
whatever

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

19 years agoRespect the permanentflags output. Do not show the alter flags buttons
stekkel [Thu, 20 May 2004 16:20:42 +0000 (16:20 +0000)]
Respect the permanentflags output. Do not show the alter flags buttons
/links if the mailbox does not allow it.

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

19 years agophpdoc block
tokul [Thu, 20 May 2004 11:55:56 +0000 (11:55 +0000)]
phpdoc block

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

19 years agoaStutus -> aStatus
tokul [Thu, 20 May 2004 09:46:07 +0000 (09:46 +0000)]
aStutus -> aStatus

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

19 years ago* Request UID and UIDVALIDITY from the status response if not available in the
stekkel [Wed, 19 May 2004 22:36:41 +0000 (22:36 +0000)]
* Request UID and UIDVALIDITY from the status response if not available in the
  select response.
* Tried to fix the broken del move next function and added a few arguments
  to the dmn_expunge function because the globals scared me when I couldn't
  get the job done.

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

19 years agoAdding Basque translators' info.
tokul [Wed, 19 May 2004 14:45:08 +0000 (14:45 +0000)]
Adding Basque translators' info.

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

19 years agoAdding Basque support
tokul [Wed, 19 May 2004 14:42:30 +0000 (14:42 +0000)]
Adding Basque support

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

19 years agohonor checkall variable
robsiemb [Tue, 18 May 2004 18:03:27 +0000 (18:03 +0000)]
honor checkall variable

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

19 years agodue to caching the dropdown mailbox list $boxesnew was set in the global
stekkel [Tue, 18 May 2004 16:40:00 +0000 (16:40 +0000)]
due to caching the dropdown mailbox list $boxesnew was set in the global
scope and with register globals = on the mailbox-tree wasn't returned. We
should work on caching the mailbox-tree and rewrite the functions that make
use of the old mailbox_list function.

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

19 years agousing case insensitive lookups that don't depend on sql server string comparison...
tokul [Tue, 18 May 2004 13:07:49 +0000 (13:07 +0000)]
using case insensitive lookups that don't depend on sql server string comparison options.
mysql tested by me, postgresql tested by Patrick Welche <prlw1 at newn.cam.ac.uk>

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

19 years agoadding global declaration for set_my_language
tokul [Tue, 18 May 2004 13:01:07 +0000 (13:01 +0000)]
adding global declaration for set_my_language

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

19 years agoremoving bigger decoding functions in order to reduce package size.
tokul [Tue, 18 May 2004 12:58:37 +0000 (12:58 +0000)]
removing bigger decoding functions in order to reduce package size.
functions will be available in separate package.

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

19 years agoforce reload of folder list
stekkel [Mon, 17 May 2004 20:15:39 +0000 (20:15 +0000)]
force reload of folder list

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

19 years agoNo comments
stekkel [Mon, 17 May 2004 20:11:55 +0000 (20:11 +0000)]
No comments

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

19 years agotemp fixes, as long as we didn't adapt our mailbox tree code, cache the
stekkel [Mon, 17 May 2004 19:48:57 +0000 (19:48 +0000)]
temp fixes, as long as we didn't adapt our mailbox tree code, cache the
list.

Make use of the sorted list with id's from the session if the mailbox state
didn't change.

All performance related imap fixes were found after playing with thetereal.
If you want to try itt yourself:

tethereal -t a -ni lo -f 'port 143' -R 'imap.request'
with lo the interface.

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

19 years agoremoved debug statement
stekkel [Mon, 17 May 2004 15:55:33 +0000 (15:55 +0000)]
removed debug statement

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

19 years agoRemoved kind of insane check. The check mailbox is subscribed call retrieved
stekkel [Mon, 17 May 2004 15:45:37 +0000 (15:45 +0000)]
Removed kind of insane check. The check mailbox is subscribed call retrieved
the whole subscription list and looked up if the requested mailbox was part
of it. It's better to subscribe and surpress the NO response if already
subscribed.

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

19 years agodisabled Korean extra functions. This is not real fix. In order to fix it
tokul [Mon, 17 May 2004 07:07:40 +0000 (07:07 +0000)]
disabled Korean extra functions. This is not real fix. In order to fix it
the Right-Way, all extra functions have to be rewritten. Current changes
prevent insertion of 8bit headers into new emails when Korean translation
is used. I'll submit same fix to stable if nobody stops me within 24 hours.

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

19 years agomaking decision about conversion before actual conversion. removing old comments
tokul [Sun, 16 May 2004 13:05:36 +0000 (13:05 +0000)]
making decision about conversion before actual conversion. removing old comments
about nbsp. adding header conversion if function asks for it in $decide and
conversion is possible. Fixes header conversion problems in compose. Not nice but works.

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

19 years agotext in compose form is converted to 8bit symbols. html codes conflict with output...
tokul [Sun, 16 May 2004 09:11:04 +0000 (09:11 +0000)]
text in compose form is converted to 8bit symbols. html codes conflict with output sanitizing

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

19 years agoadding charset conversion functions. utf_8.php is taken from www.php.net samples.
tokul [Sun, 16 May 2004 08:43:50 +0000 (08:43 +0000)]
adding charset conversion functions. utf_8.php is taken from php.net samples.
Functions are needed if we want to mix forms.php and charset conversion in compose.

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

19 years agoMerging two strings and making external links open in a new window
jervfors [Sat, 15 May 2004 13:27:56 +0000 (13:27 +0000)]
Merging two strings and making external links open in a new window

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

19 years agoRemoving HTML from strings and cleaning up code
jervfors [Sat, 15 May 2004 09:56:28 +0000 (09:56 +0000)]
Removing HTML from strings and cleaning up code

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

19 years agoinitialize color array in case it isn't set at this stage.
stekkel [Fri, 14 May 2004 21:14:31 +0000 (21:14 +0000)]
initialize color array in case it isn't set at this stage.

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

19 years agoRemoved double select call (select calls are expensive, do not do that) and
stekkel [Fri, 14 May 2004 19:55:10 +0000 (19:55 +0000)]
Removed double select call (select calls are expensive, do not do that) and
removed unneeded expunge call (don't do that expunges are expensive)

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

19 years agosecond try ..
stekkel [Fri, 14 May 2004 19:12:53 +0000 (19:12 +0000)]
second try ..

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

19 years agoDetect untagged BYE responses in case the connection is terminated.
stekkel [Fri, 14 May 2004 18:37:40 +0000 (18:37 +0000)]
Detect untagged BYE responses in case the connection is terminated.

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

19 years agocleaned tabs
tokul [Fri, 14 May 2004 11:19:43 +0000 (11:19 +0000)]
cleaned tabs

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

19 years agoThis i18n string never got translated before
jervfors [Thu, 13 May 2004 05:48:53 +0000 (05:48 +0000)]
This i18n string never got translated before

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

19 years agoI18n string fix
jervfors [Thu, 13 May 2004 05:45:47 +0000 (05:45 +0000)]
I18n string fix

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

19 years agoOne encoding step too much.
kink [Tue, 11 May 2004 21:09:21 +0000 (21:09 +0000)]
One encoding step too much.

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

19 years agoUse the form functions instead
indiri69 [Tue, 11 May 2004 20:26:49 +0000 (20:26 +0000)]
Use the form functions instead

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

19 years agoMove functions out of setup.php
indiri69 [Tue, 11 May 2004 18:21:49 +0000 (18:21 +0000)]
Move functions out of setup.php

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

19 years agostring updates
tokul [Mon, 10 May 2004 18:28:18 +0000 (18:28 +0000)]
string updates

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

19 years agoAdding forms for searching Gmane and SF bugtracker
tokul [Mon, 10 May 2004 17:03:20 +0000 (17:03 +0000)]
Adding forms for searching Gmane and SF bugtracker

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

19 years agofixed frame target
tokul [Mon, 10 May 2004 17:02:03 +0000 (17:02 +0000)]
fixed frame target
http://www.w3.org/TR/html4/types.html#type-frame-target

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

19 years agoUse null as default value since value is tested against null. Was breaking search...
alex-brainstorm [Mon, 10 May 2004 14:55:23 +0000 (14:55 +0000)]
Use null as default value since value is tested against null. Was breaking search code.

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

19 years agofixed printf statement
tokul [Mon, 10 May 2004 14:19:05 +0000 (14:19 +0000)]
fixed printf statement

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

19 years agofixed untranslated string
tokul [Mon, 10 May 2004 13:46:10 +0000 (13:46 +0000)]
fixed untranslated string

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

19 years agoXHTML fixes, as pointed out by Tomas. Also reenabled getting last criteria from prefs...
alex-brainstorm [Mon, 10 May 2004 12:45:27 +0000 (12:45 +0000)]
XHTML fixes, as pointed out by Tomas. Also reenabled getting last criteria from prefs if not in session.

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

19 years agoadding phpdoc blocks
tokul [Mon, 10 May 2004 10:12:30 +0000 (10:12 +0000)]
adding phpdoc blocks

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

19 years agorenaming function in order to remove phpdoc error
tokul [Mon, 10 May 2004 10:02:32 +0000 (10:02 +0000)]
renaming function in order to remove phpdoc error
it is better to have different names for different functions even when they
don't conflict with each other.

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

19 years agoclass needs phpdoc @package declaration
tokul [Mon, 10 May 2004 10:00:00 +0000 (10:00 +0000)]
class needs phpdoc @package declaration

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

19 years agocommon functions are documented only in one backend
tokul [Mon, 10 May 2004 09:56:02 +0000 (09:56 +0000)]
common functions are documented only in one backend

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

19 years agophpdoc should ignore these three functions
tokul [Mon, 10 May 2004 09:54:33 +0000 (09:54 +0000)]
phpdoc should ignore these three functions

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