Commit graph

1835 commits

Author SHA1 Message Date
tokul
e94ae2d43f Adding decoding support for two DOSCyr charsets and several x-mac-* charsets.
Information is taken from ftp.unicode.org
2003-09-29 09:44:42 +00:00
pdontthink
546b359be9 New hook for decoding message body 2003-09-26 07:30:42 +00:00
stekkel
a5081fdc11 Rewrote sqimap_fread to make it work on PHP 4.3.2.
The fread behaviour was changed with as result that fread didn't return
when the requested buffersize was full but at a earlier stage, at the end of
a tcp packet.
From now on fread stops on: EOF, full buffer and in case of sockets at end
of packet if the imap server isn't providing the requested data quick
enough.
2003-09-24 20:53:06 +00:00
tassium
160ebd3c07 By request, SASL PLAIN for IMAP and SMTP.
I did not add detection to conf.pl, perhaps later..
2003-09-23 18:06:12 +00:00
alex-brainstorm
76f6254cd4 Add an option for showing recipient name instead of default identity. (Default: false, since people may be annoyed or confused) 2003-09-18 23:03:44 +00:00
stekkel
40b7e15ab2 CLOSE the selected mailbox (unselect) before we delete it.
Thnx Julia Goolia for spotting this.
2003-09-18 17:57:13 +00:00
tassium
350bbcd288 New hook function: boolean_hook_function(), which is used for hooks that want a true/false value from the plugins. Currently used in isSpecialMailbox() 2003-09-04 20:26:53 +00:00
alex-brainstorm
9841a30f26 Fix spurious semicolon at beginning of html output returned by decodeHeader() when first word of header is encoded. Ouf ;) 2003-09-04 01:33:58 +00:00
philippe_mingo
0c52fa1f05 Malay or Bahasa Melayu which is widely used in Malaysia 2003-09-02 15:31:42 +00:00
alex-brainstorm
4d312957a9 Get rid of one of the two flavors of _(Unknown sender) for simpler translations 2003-09-01 00:36:44 +00:00
alex-brainstorm
c942fa00e2 Fixes _(Unknown sender) from being html encoded 2003-09-01 00:27:28 +00:00
alex-brainstorm
d42fee728b Added Length of Subject as Display Option (default 50, as before). 2003-08-30 23:40:38 +00:00
alex-brainstorm
cff1609d1e Fix truncateWithEntities() off by 5 and other oddities 2003-08-30 22:24:14 +00:00
alex-brainstorm
9c3d5adc10 Truncate sender taking html entities in account (like Subject) 2003-08-30 21:21:34 +00:00
alex-brainstorm
f712ecf4ae Handle messages from the user's email_address as Sent messages 2003-08-30 19:55:54 +00:00
alex-brainstorm
5e29fe078f Feature: tooltip containing the whole From address (if different from the actual display); Fix: convert nbsp to space in subject before the tooltip comparison (so you were getting the tooltip almost all the time); Fix: put the right includes there instead of relying on imap_search.php; Helper: pass in optional boxes array to getMbxList() so it can be shared with others 2003-08-30 09:48:12 +00:00
tassium
1b2ebf4b35 It appears gettext doesn't work if the string is passed in single quotes, so this commit changes to double quotes. *sigh* Who's bright idea was THAT? I don't know if I should be blaming PHP or GNU.
This is yet another reason everyone should just speak english.
2003-08-28 21:08:34 +00:00
tassium
b85bf19f16 In my excitement, I forgot to wrap 'bypass trash' in gettext. Thanks Alex. 2003-08-28 19:16:47 +00:00
tassium
e7aa614495 Toggle All was also toggling the Bypass Trash checkbox. Oops. 2003-08-28 17:43:36 +00:00
tassium
122f1e9e03 Added a "bypass trash" checkbox to the mailbox display. When checked, the Delete button ignores the use of the trash folder. 2003-08-28 17:28:21 +00:00
tokul
a59d24bcae One more place with Russian koi-8r -> utf-8 changes 2003-08-25 17:42:59 +00:00
jangliss
2d6cd18c80 PHP 5 fix, cure for the error about undeclared extension of class. This
code is the logicial way for it to be setup.  You shouldn't be able to
extend a class without the class first being made.
2003-08-25 05:32:58 +00:00
alex-brainstorm
bf4258331a advanced_tree: sort mailboxes naturally, handle special folders the same as in oldway (subs and hook) 2003-08-22 01:28:16 +00:00
indiri69
c7aaf80153 Handle attributes that have colons (:) in them. MS apps tend to use them alot when they export. 2003-08-21 17:24:10 +00:00
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