Commit graph

1811 commits

Author SHA1 Message Date
Erin Schnabel
25e9ce3acc add option to shorten the length of the From field. 2003-08-21 00:57:45 +00:00
stekkel
a77908c7ea This should work too (even better) 2003-08-19 21:45:13 +00:00
stekkel
fd75b326e8 fix for bug #784193 2003-08-19 21:35:27 +00:00
alex-brainstorm
6486e173a2 replace htmlentities() with htmlspecialchars() since it is broken with non iso-8859-1 8bit chars 2003-08-17 15:26:50 +00:00
tokul
1fdf0ef525 Added tis-620 decoding 2003-08-17 14:04:29 +00:00
tassium
759fc2745f sqimap_msgs_list_copy now does what you'd expect it to.
sqimap_msgs_list_move does what _copy USED to do.
Only one reference to that function needed to be changed in the core code.
No core plugins use it.
2003-08-15 14:46:15 +00:00
tassium
f4265d8463 Fix to prevent query containing username and password from being displayed if imap connection fails during login. Similar code committed to stable as well. 2003-08-11 17:11:14 +00:00
Jimmy Conner
2131d30a13 Stop error messages just in case CHMOD is disabled by PHP 2003-08-03 23:49:52 +00:00
tokul
e8e4fcfe56 Adds recode and iconv functions (disabled by default) and fixes possible
problems if translation is removed but setting is present in user's prefs.
2003-08-02 08:23:11 +00:00
Jimmy Conner
06293b42a9 Add "attachments_bottom" hook to allow manipulating the attachments
or to add to the attachments (Download All plugin)
2003-08-01 02:30:03 +00:00
alex-brainstorm
1e7b52dd08 Mailbox names are html encoded in select/option and not trimmed out. Store noinferiors flag to be used in left_main advanced tree. 2003-07-30 14:03:24 +00:00
stekkel
344a913ff6 Same story as THREAD fix. Skip the unsollicited responses 2003-07-29 23:54:49 +00:00
stekkel
432a727c77 whoops 2003-07-29 23:16:21 +00:00
stekkel
9496eb6ada Reduced the number of date calls by 400% 2003-07-29 23:10:15 +00:00
indiri69
778a559cda A forward slash can appear in query of a string, so find the start of a query first. 2003-07-29 21:29:38 +00:00
alex-brainstorm
c3f03aea85 Forgot global ;) 2003-07-29 10:24:20 +00:00
alex-brainstorm
dd794ea88a Removed the last code dependency on a specific version 2003-07-29 10:19:22 +00:00
stekkel
3c428c2892 remove the % from the LSUB request because we do not need it.
fixed speed issue for loop
2003-07-28 18:48:55 +00:00
stekkel
c6f51d497c Disable \NoSelect flag for INBOX.
Maker sure INBOX is stored in uppercase
2003-07-28 18:43:12 +00:00
Thijs Kinkhorst
12c08cccdd Drop obsolete function 2003-07-27 20:24:31 +00:00
tokul
efd2c4d9b8 Simplified case statement. Suggestion from Thijs. 2003-07-27 11:14:01 +00:00
alex-brainstorm
858e5ba110 Repair my mistake : wrong arguments order for stristr (still not used to php's order :( 2003-07-27 11:13:34 +00:00
tokul
b28ba965c0 Added cleanup_nbsp function. 2003-07-27 10:38:38 +00:00
tokul
0f6b3e7ff9 preg_match('/iso-8859-/'.. covered all iso-8859 charsets (iso-8859-1,
iso-8859-2, iso-8859-13 etc). stristr does not do that.
2003-07-27 09:13:29 +00:00
jangliss
94a2124bd0 I should have probably added this many months ago when I first found out
about the $_SESSION/$HTTP_SESSION_VAR not being available until a session
was explicitly started.  99% of the time, this shouldn't be needed, but
this function checks for an active session, and starts one if there isn't
an active one.  This should fix the following references for the $_ vars.

Tested, and doesn't seem to break anything
2003-07-27 03:45:25 +00:00
alex-brainstorm
38ce5cc9f2 Reworked optional charset management. 2003-07-27 02:50:25 +00:00
alex-brainstorm
9ac1362720 Check for empty default_charset in imap_utf7_decode_local() too. Duplicate code is bad :(. 2003-07-27 01:50:11 +00:00
alex-brainstorm
75e1fc46ca Fix autodetect-delimiter-no-namespace code for devel sqimap_read_data(). Was breaking Mercury/32. 2003-07-27 00:32:34 +00:00
alex-brainstorm
24f05a49bc Use sm_print_r() only if it exists, so the code can be backported. 2003-07-26 18:59:54 +00:00
alex-brainstorm
6256140d87 Check for empty default_charset. RCS tag string fixed ;) 2003-07-26 18:54:44 +00:00
alex-brainstorm
637c886d7f Dump debug info for mailbox select before it may fail 2003-07-26 02:06:32 +00:00
Thijs Kinkhorst
a98a11f1ac Some small HTML fixes/improvements 2003-07-25 22:10:22 +00:00
alex-brainstorm
51c8aa1716 sqimap_encode_mailbox_name() calls added 2003-07-25 01:02:17 +00:00
stekkel
e375cf726b Due to changed behaviour of fread (see php bug 24033) we cannot use large
buffersizes anymore because we cannot trust fread if the requested buffer is
actually returned.
blocking socket connections do not work anymore like they supposed to work
:(
2003-07-24 21:23:18 +00:00
alex-brainstorm
e83198d1f1 Imap error management and 8bit chars encoding ;) 2003-07-24 18:51:59 +00:00
alex-brainstorm
ae6e881c88 Extracted error_box() calling code into sqimap_error_box() for unified imap error display 2003-07-24 18:49:28 +00:00
stekkel
b3c5fc5794 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.
2003-07-24 18:08:10 +00:00
alex-brainstorm
e6cb0cca51 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. 2003-07-23 12:12:14 +00:00
Thijs Kinkhorst
568177a395 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
2003-07-23 11:27:36 +00:00
Thijs Kinkhorst
6e8d622861 Extend sm_print_r so you can do:
sm_print_r($a, $b, $c);
2003-07-23 11:23:53 +00:00
alex-brainstorm
fc8568eca0 Fix more literal mailbox names 2003-07-23 03:02:08 +00:00
tokul
d9c197e468 Changed Lithuanian encoding in order to make it mbstring compatible. 2003-07-22 09:55:41 +00:00
Thijs Kinkhorst
7e05ef9cbe Fix that frequently subjects were displayed ending in ... even though nothing
was trimmed.
2003-07-21 15:21:42 +00:00
alex-brainstorm
e315732f7f Call set_my_charset() before actually using , and fix variable name in case != iso-8859-1, all pointed out by Tomas ;) 2003-07-21 12:47:06 +00:00
alex-brainstorm
bbdd328082 Charset spec test should be case-insensitive 2003-07-20 22:43:15 +00:00
alex-brainstorm
d6a5cf2712 Fixed Tomas' problem skipping iso-8859-1 2003-07-20 21:52:56 +00:00
tokul
9cd504edb4 iso-8859-1 test in imap_utf7_decode_local does not work 2003-07-20 17:23:26 +00:00
tokul
f2b9b5f5d5 Added optional mbstring functions to deal with i18n folder names 2003-07-20 16:17:08 +00:00
alex-brainstorm
4888607a79 Complete Marc's fix for untagged [PARSE] response to THREAD 2003-07-18 11:24:32 +00:00
Jimmy Conner
8e322c5909 Revert this part back, funny thing is that I never changed it in my local copy... 2003-07-18 03:03:11 +00:00