squirrelmail.git
20 years agoCorrect on the fly base64 decode algoritm in case the returned data does not
stekkel [Thu, 24 Jul 2003 18:08:10 +0000 (18:08 +0000)]
Correct on the fly base64 decode algoritm in case the returned data does not
have "proper" lines with the same length. With an old uw server I discovered
that lines were split in the middle by \n. This fix will correct it.

The rfc about base64 decoding does not mention anything about line length.
rfc2045 does mention that lines should not be longer then 78 characters but
does not say all the lines (excluding the last of course) must be of the same
size.
There for i could not ignore it and fixed it.

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

20 years agoHTTP/1.1-compliant redirecting
kink [Thu, 24 Jul 2003 08:32:05 +0000 (08:32 +0000)]
HTTP/1.1-compliant redirecting

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

20 years agoremoved encode_mailbox_name() and changed calls since it is now in imap_general....
alex-brainstorm [Wed, 23 Jul 2003 12:12:14 +0000 (12:12 +0000)]
removed encode_mailbox_name() and changed calls since it is now in imap_general. removed INBOX name encoding. removed folder_prefix from forged LSUB INBOX response.

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

20 years agooff-by-one: when strlen == trim_at, we also don't want to print ...
kink [Wed, 23 Jul 2003 11:27:36 +0000 (11:27 +0000)]
off-by-one: when strlen == trim_at, we also don't want to print ...
make code a little cleaner and get default trim_at value out of the fct

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

20 years agoExtend sm_print_r so you can do:
kink [Wed, 23 Jul 2003 11:23:53 +0000 (11:23 +0000)]
Extend sm_print_r so you can do:
sm_print_r($a, $b, $c);

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

20 years agoFix more literal mailbox names
alex-brainstorm [Wed, 23 Jul 2003 03:02:08 +0000 (03:02 +0000)]
Fix more literal mailbox names

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

20 years agoCorrected English
pdontthink [Wed, 23 Jul 2003 01:52:15 +0000 (01:52 +0000)]
Corrected English

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

20 years agoadvanced_tree: moved Purge after trash link, and bumped font size by 0.2
alex-brainstorm [Tue, 22 Jul 2003 17:46:03 +0000 (17:46 +0000)]
advanced_tree: moved Purge after trash link, and bumped font size by 0.2

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

20 years agoMake listcommands plugin work again w.r.t. smaction
kink [Tue, 22 Jul 2003 16:30:13 +0000 (16:30 +0000)]
Make listcommands plugin work again w.r.t. smaction

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

20 years agoChangeLog
jangliss [Tue, 22 Jul 2003 13:29:00 +0000 (13:29 +0000)]
ChangeLog

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

20 years agoUpdated 'action' to be 'smaction' so that plugins can modify the action of
jangliss [Tue, 22 Jul 2003 13:28:09 +0000 (13:28 +0000)]
Updated 'action' to be 'smaction' so that plugins can modify the action of
forms.  This was suggested for the gpg plugin, but might be useful elsewhere.

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

20 years agoChanged to iso-8859-4
tokul [Tue, 22 Jul 2003 10:00:26 +0000 (10:00 +0000)]
Changed to iso-8859-4

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

20 years agoChanged Lithuanian encoding in order to make it mbstring compatible.
tokul [Tue, 22 Jul 2003 09:55:41 +0000 (09:55 +0000)]
Changed Lithuanian encoding in order to make it mbstring compatible.

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

20 years agoUpdated translation with strings from locales cvs
tokul [Tue, 22 Jul 2003 09:54:18 +0000 (09:54 +0000)]
Updated translation with strings from locales cvs

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

20 years agoFix bug that after sending reply user was returned to the first page of
kink [Tue, 22 Jul 2003 09:17:42 +0000 (09:17 +0000)]
Fix bug that after sending reply user was returned to the first page of
the message list, which should be te last-active page (use startMessage).

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

20 years agowhen falling back to the default theme, set $chosen_theme to the path
kink [Tue, 22 Jul 2003 08:46:54 +0000 (08:46 +0000)]
when falling back to the default theme, set $chosen_theme to the path
of default to make functions that depend on $chosen_theme work
correctly (most notably the select list under display preferences which
would have Alien Glow selected when user has no theme set). Thanks Tim Craig
for the bugreport.

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

20 years agoUpdated main squirrelmail.po in case translator update devel strings.
tokul [Mon, 21 Jul 2003 18:31:53 +0000 (18:31 +0000)]
Updated main squirrelmail.po in case translator update devel strings.

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

20 years agoTranslation updates from M.J.Prinsen
tokul [Mon, 21 Jul 2003 18:30:08 +0000 (18:30 +0000)]
Translation updates from M.J.Prinsen

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

20 years agoSmall cleanup: whitespace, simplification
kink [Mon, 21 Jul 2003 15:38:30 +0000 (15:38 +0000)]
Small cleanup: whitespace, simplification

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

20 years agoFix that frequently subjects were displayed ending in ... even though nothing
kink [Mon, 21 Jul 2003 15:21:42 +0000 (15:21 +0000)]
Fix that frequently subjects were displayed ending in ... even though nothing
was trimmed.

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

20 years agologchanges
kink [Mon, 21 Jul 2003 15:04:16 +0000 (15:04 +0000)]
logchanges

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

20 years agoFetching the subject for the messages-to-be-attached went wrong. $i
kink [Mon, 21 Jul 2003 15:01:23 +0000 (15:01 +0000)]
Fetching the subject for the messages-to-be-attached went wrong. $i
and $start_message have no relation to the indices of the $msg array. Fix
this by looping the $msgs array until we find the message with the right
id and take that subject. Closes #772371. Is it possible given an ID to fetch the
subject of a message in a more efficient way?

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

20 years agoFix on previous commit
kink [Mon, 21 Jul 2003 13:23:44 +0000 (13:23 +0000)]
Fix on previous commit

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

20 years agoChangeLog
kink [Mon, 21 Jul 2003 13:12:43 +0000 (13:12 +0000)]
ChangeLog

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

20 years agoFix problem with javascript when user has other plugins that include a
kink [Mon, 21 Jul 2003 13:10:41 +0000 (13:10 +0000)]
Fix problem with javascript when user has other plugins that include a
form before this form (eg Menu Buttons plugin). Using the name of the
compose form solves this.
Plus, use SquirrelMail standard copyright notice.

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

20 years agoCall set_my_charset() before actually using , and fix variable name in case != iso...
alex-brainstorm [Mon, 21 Jul 2003 12:47:06 +0000 (12:47 +0000)]
Call set_my_charset() before actually using , and fix variable name in case != iso-8859-1, all pointed out by Tomas ;)

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

20 years agochanges links of images in advanced_tree=true to .png
tokul [Mon, 21 Jul 2003 09:16:53 +0000 (09:16 +0000)]
changes links of images in advanced_tree=true to .png

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

20 years agoAdded images used for $advanced_tree=true in src/left_main.php
tokul [Mon, 21 Jul 2003 09:12:24 +0000 (09:12 +0000)]
Added images used for $advanced_tree=true in src/left_main.php
used png instead of gif due to patent issues

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

20 years agoCharset spec test should be case-insensitive
alex-brainstorm [Sun, 20 Jul 2003 22:43:15 +0000 (22:43 +0000)]
Charset spec test should be case-insensitive

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

20 years agoFixed Tomas' problem skipping iso-8859-1
alex-brainstorm [Sun, 20 Jul 2003 21:52:56 +0000 (21:52 +0000)]
Fixed Tomas' problem skipping iso-8859-1

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

20 years agoiso-8859-1 test in imap_utf7_decode_local does not work
tokul [Sun, 20 Jul 2003 17:23:26 +0000 (17:23 +0000)]
iso-8859-1 test in imap_utf7_decode_local does not work

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

20 years agoAdded optional mbstring functions to deal with i18n folder names
tokul [Sun, 20 Jul 2003 16:17:08 +0000 (16:17 +0000)]
Added optional mbstring functions to deal with i18n folder names

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

20 years agoUpdated list of servers
tokul [Sun, 20 Jul 2003 07:45:17 +0000 (07:45 +0000)]
Updated list of servers

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

20 years agoComplete Marc's fix for untagged [PARSE] response to THREAD
alex-brainstorm [Fri, 18 Jul 2003 11:24:32 +0000 (11:24 +0000)]
Complete Marc's fix for untagged [PARSE] response to THREAD

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

20 years agoAdd hooks to Changelog and plugins file
cigamit [Fri, 18 Jul 2003 03:38:37 +0000 (03:38 +0000)]
Add hooks to Changelog and plugins file

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

20 years agoSmall fix, Custom CSS option should work properly now
cigamit [Fri, 18 Jul 2003 03:17:30 +0000 (03:17 +0000)]
Small fix, Custom CSS option should work properly now

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

20 years agoRevert this part back, funny thing is that I never changed it in my local copy...
cigamit [Fri, 18 Jul 2003 03:03:11 +0000 (03:03 +0000)]
Revert this part back, funny thing is that I never changed it in my local copy...

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

20 years agoAdded 4 hooks (internal_link, mailbox_display_buttons, move_messages_button_action...
cigamit [Fri, 18 Jul 2003 02:53:37 +0000 (02:53 +0000)]
Added 4 hooks (internal_link, mailbox_display_buttons, move_messages_button_action, create_collapse_link)
These are very useful for several plugins (Msg  Flags, Archive Mail, Link Buttons to name a few) and allow for a more pretty/graphical display

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

20 years agoChange that darn dratted auto-purge folders when you delete 'em thing with
ebullient [Thu, 17 Jul 2003 06:42:30 +0000 (06:42 +0000)]
Change that darn dratted auto-purge folders when you delete 'em thing with
Courier. Sometimes it works with Courier, but it seems that more often than
not, Courier complains if you try to delete a folder and send it to Trash
(seems like we don't close or unselect the folder after copying the contents
to Trash but before we try to delete it).

In any case, since subfolders of trash Will technically work, my safety
don't shoot yourself comments aren't really appropriate.

Also flipped the question on it's head, so it will hopefully make more sense
(value stored is the same, just turned the question upside-down).

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

20 years agoShould have checked in further details what the possible side effects could
jangliss [Thu, 17 Jul 2003 06:32:50 +0000 (06:32 +0000)]
Should have checked in further details what the possible side effects could
be... for now just mark them as Special Folders.  That should take care of
it.

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

20 years agoWhen using sent subfolders, the special folder option is overruled because
jangliss [Thu, 17 Jul 2003 06:29:38 +0000 (06:29 +0000)]
When using sent subfolders, the special folder option is overruled because
the parent isn't marked as a special folder.  This code forces the parents
of the special folders to also be marked as special.  The rest of the subs
for the parent special should follow the movement of the parent in left_main

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

20 years agoUpdate ChangeLog
jangliss [Thu, 17 Jul 2003 04:16:12 +0000 (04:16 +0000)]
Update ChangeLog

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

20 years agoFinally sort out this unseen notifications thing. It now behaves as 1.2.x
jangliss [Thu, 17 Jul 2003 04:15:16 +0000 (04:15 +0000)]
Finally sort out this unseen notifications thing.  It now behaves as 1.2.x
did, when selecting "unseen & total" it displays the data for all folders
if you request it, instead of just the folders with new mail (although
based on description, the 1.4.0 behaviour was technically correct).

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

20 years agofix for BAD response during thread view. The problem was the availability of
stekkel [Wed, 16 Jul 2003 16:37:44 +0000 (16:37 +0000)]
fix for BAD response during thread view. The problem was the availability of
untagged OK responses before the actual thread response

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

20 years agoApparently my fix for hiding the unread count of 0 when in certain modes
jangliss [Wed, 16 Jul 2003 14:30:18 +0000 (14:30 +0000)]
Apparently my fix for hiding the unread count of 0 when in certain modes
made the count disappear completely.  This should work better :)

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

20 years agoFixed bug that would cause e-mails dated in the future to be displayed with
jangliss [Wed, 16 Jul 2003 06:36:07 +0000 (06:36 +0000)]
Fixed bug that would cause e-mails dated in the future to be displayed with
only the time.

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

20 years agoShouldn't display unseen count when it's 0 me thinks.
jangliss [Wed, 16 Jul 2003 04:57:00 +0000 (04:57 +0000)]
Shouldn't display unseen count when it's 0 me thinks.

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

20 years agoRemove end of array. Otherwise we attach the closing paren from the FETCH result.
indiri69 [Tue, 15 Jul 2003 03:24:29 +0000 (03:24 +0000)]
Remove end of array.  Otherwise we attach the closing paren from the FETCH result.

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

20 years agotheme issue caused by validate.php not being first
alex-brainstorm [Mon, 14 Jul 2003 16:30:23 +0000 (16:30 +0000)]
theme issue caused by validate.php not being first

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

20 years agoProvide user with ability to change date/time display in mailboxes. This was
jangliss [Mon, 14 Jul 2003 05:58:54 +0000 (05:58 +0000)]
Provide user with ability to change date/time display in mailboxes. This was
requested on IRC, and I think it should have always been optional.

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

20 years agoAdded translate.ru online translator. Changed strings. Now it is possible
tokul [Sun, 13 Jul 2003 10:45:45 +0000 (10:45 +0000)]
Added translate.ru online translator. Changed strings. Now it is possible
to change number of available languages or language pairs without
squirrelmail.po update. Different string used for InterTran is not mistake.
It looks better when string says "Number of supported languages = 28"
instead of "Number of supported language pairs = 28^2"

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

20 years agoTranslation options in Display prefs won't be displayed if translation
tokul [Sun, 13 Jul 2003 10:41:33 +0000 (10:41 +0000)]
Translation options in Display prefs won't be displayed if translation
directory is not present in locale/

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

20 years agoINBOX is not case-insensitive
alex-brainstorm [Sat, 12 Jul 2003 23:10:42 +0000 (23:10 +0000)]
INBOX is not case-insensitive

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

20 years agoGet a little extra room for internal links when attributions are off
pdontthink [Sat, 12 Jul 2003 22:27:38 +0000 (22:27 +0000)]
Get a little extra room for internal links when attributions are off

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

20 years agoNew layout AUTHORS file
kink [Sat, 12 Jul 2003 10:51:45 +0000 (10:51 +0000)]
New layout AUTHORS file

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

20 years agoBug. 765828. Rewrote patch in order to process locales correctly. If locale
tokul [Sat, 12 Jul 2003 09:01:49 +0000 (09:01 +0000)]
Bug. 765828. Rewrote patch in order to process locales correctly. If locale
is processed incorrectly, it is enough to add $languages['xx_XX']['LOCALE']
variable with full locale name. Fixed only ru_RU and lt_LT. Tested on
Linux Debian Woody and php 4.1.2, 4.2.3, 4.3.0, 4.3.2

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

20 years agoFix message highlighting for text with spaces in it.
indiri69 [Fri, 11 Jul 2003 17:51:34 +0000 (17:51 +0000)]
Fix message highlighting for text with spaces in it.

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

20 years agooldway=false : Fix forged LSUB response triggered by new regexp, and internationalize...
alex-brainstorm [Fri, 11 Jul 2003 13:01:09 +0000 (13:01 +0000)]
oldway=false : Fix forged LSUB response triggered by new regexp, and internationalized INBOX display

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

20 years agoFix literal and duplicate mailbox names
alex-brainstorm [Fri, 11 Jul 2003 10:51:54 +0000 (10:51 +0000)]
Fix literal and duplicate mailbox names

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

20 years ago2 notices, \ needs literal
alex-brainstorm [Fri, 11 Jul 2003 09:53:35 +0000 (09:53 +0000)]
2 notices, \ needs literal

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

20 years agoRemove check for INBOX. If inbox isn't in the LSUB response then it's
stekkel [Thu, 10 Jul 2003 20:20:05 +0000 (20:20 +0000)]
Remove check for INBOX. If inbox isn't in the LSUB response then it's
unsubscribed and we just add it to the list. No reason to check specificly
for LSUB "" "INBOX" or LIST "" "INBOX"
If there is no inbox then a select will produce an error message.

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

20 years agoPlugins can now change messages again
ullgren [Thu, 10 Jul 2003 19:27:55 +0000 (19:27 +0000)]
Plugins can now change messages again

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

20 years agoThis will add the default domain again if the email address does not contain
stekkel [Thu, 10 Jul 2003 16:04:26 +0000 (16:04 +0000)]
This will add the default domain again if the email address does not contain
it.

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

20 years agoAlex, onetimepad is the encryption key, we might need it later on.
jangliss [Wed, 9 Jul 2003 14:11:03 +0000 (14:11 +0000)]
Alex, onetimepad is the encryption key, we might need it later on.

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

20 years agoReget the global since it seems we need it
alex-brainstorm [Tue, 8 Jul 2003 18:22:02 +0000 (18:22 +0000)]
Reget the  global since it seems we need it

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

20 years agoWhen displaying the folder pane, treat Inbox as if it is selectable, ALWAYS.
tassium [Tue, 8 Jul 2003 15:13:43 +0000 (15:13 +0000)]
When displaying the folder pane, treat Inbox as if it is selectable, ALWAYS.
This should work around the problem with Cyrus and Inbox being unsubscribed. (What a mess)

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

20 years agoOops, global addressbook wasn't working
pdontthink [Mon, 7 Jul 2003 22:10:40 +0000 (22:10 +0000)]
Oops, global addressbook wasn't working

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

20 years agoUse get_identities()
kink [Mon, 7 Jul 2003 19:10:12 +0000 (19:10 +0000)]
Use get_identities()

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

20 years agodefault becomes 0
kink [Mon, 7 Jul 2003 18:58:29 +0000 (18:58 +0000)]
default becomes 0

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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

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