Commit graph

289 commits

Author SHA1 Message Date
Alexandros Vellis
49c78a9b56 NAMESPACE support in IMAP backend. Also a whitespace fix. 2006-10-10 12:48:44 +00:00
Alexandros Vellis
2b54ac2f41 Support for authz authorization identity in the IMAP backend. 2006-10-09 11:38:32 +00:00
stekkel
01181a5333 Fix for bug #1562271
* OK [PARSE] Unexpected characters at end of address: {SET:debug=51}
Triggered literal fetching from the imap stream whil {SET:debug=51} is not
an integer and not meant as literal.
2006-10-04 19:25:25 +00:00
pdontthink
60a03d0894 Wrong variable name used 2006-09-04 18:06:28 +00:00
tokul
59ae6f3ac2 removing trailing ?> from function scripts 2006-07-15 12:01:32 +00:00
Alexandros Vellis
95296e46ea Fix capability retrieval for "double" cases in server capability response, for instance in a new Cyrus: SORT SORT=MODSEQ . This patch will eliminate a notice that was displayed. 2006-05-26 12:53:18 +00:00
tokul
4115a9110e updating error_box() function calls. second argument was modified.
using squirrelmail template code for closing html tags.
added some comments in footer.tpl in order to detect generated footer
2006-05-14 17:09:29 +00:00
tokul
ca0bf2e239 if $key is set to false, sqimap_login() function will use sqauth_read_password()
to retrieve user password.
sqimap_login() calls in plugins are modified to use this code.
It allows to centralize place that is used to access password information.

Older way is preserved for backwards compatibility and different IMAP login
credentials.
2006-04-19 18:03:24 +00:00
stekkel
0a70f643f2 Centralized init 2006-04-05 00:22:11 +00:00
stekkel
1ca59fc121 Fix for updating the mailbox cache concernig flags 2006-03-17 17:48:31 +00:00
stekkel
ac5f37ba81 possible fix for unsolicited fetch responses during select call (IA Mail
Server v.5.3 Corporate Edition
2006-03-09 18:22:47 +00:00
jangliss
b25a3ff9bf Make the use_*_tls options half respect old values. If you leave it as
true, then it would try to use STARTTLS.  While I understand this is a
new feature, and this is the dev branch, a little backwards compatibility
is easy in this case.  The value 2 is considered true... Using === instead
is an exact match, so you'd have to have 2 in the use_*_tls options for it
to trigger starttls mode.
2006-02-26 06:32:17 +00:00
stekkel
fa2f6d41b0 removing global 2006-02-11 15:20:06 +00:00
stekkel
f28f5bb0eb Fix for #1093360.
The fix also includes the move from manual generated error messages in
imap_general to the central error handler.
In order to catch non fatal error message in compose.php I had to collect
the error messages array before the header redirect and write them to the
session. In read_body.php, compose.php and right_main.php I add the error
messages to the error handler again and clean up the delayed error messages
array.
I also modified the error handler in order to display the page_header in
case it wasn't displayed yet.
2006-02-11 15:14:31 +00:00
stekkel
75f2ab158a Patches from Michael Long
* implementing imap status cache in order to reduce
the amount of status calls generated from the newmail and filter plugin.
* enable the cumulative message account in left_main.php again

Patches reviewed by me. I fixed a few small things in newmail and I added RECENT status
calls in imap_mailbox.php in order to make the "only check recent mail"
option work.
2006-02-10 22:16:07 +00:00
stekkel
cc915a806f Better error reporting 2006-02-08 08:00:10 +00:00
tokul
7238caedc3 adding sm-1.4 version 2006-02-06 07:19:15 +00:00
Fredrik Jervfors
91cda79db6 Removing trailing spaces from strings. 2006-02-01 09:25:11 +00:00
tokul
450003d75f ipv6 address must be in [] 2006-01-29 11:18:22 +00:00
tokul
57ae2c61ce Added IMAP and SMTP STARTTLS extension support.
Saved SMTP EHLO response in class parameters.
Moved sanitizing of SMTP errors from delivery class to display scripts.
Allowed to use configtest.php when client_ip matches server_ip.
There is no 1.3.3 version. TLS was introduced in 1.4.0.
2006-01-28 19:24:08 +00:00
tokul
83fdb4c332 copyright update 2006-01-23 18:46:41 +00:00
jangliss
ab752cb29a Missed a ) 2006-01-16 15:00:33 +00:00
jangliss
4946845618 Saved additional calls to NAMESPACE if it was already saved in the session
by redirect.php.  Suggestion from Michael Long.
2006-01-15 18:54:35 +00:00
Alexandros Vellis
b2d7c651c9 Put multiple capability options in an array. 2005-11-29 11:32:24 +00:00
tokul
24a1fdca96 http://bugs.php.net/bug.php?id=31341
PHP fixed escaping of curly brackets in 5.1. You can't escape { anymore. (#1366982)
2005-11-26 19:45:10 +00:00
Fredrik Jervfors
9ed98bb1ec phpDocumentor updates 2005-09-18 10:25:54 +00:00
tokul
c866fc3486 moving include to the top. 2005-07-31 12:44:39 +00:00
stekkel
befb14baf7 XSS fixes 2005-06-15 22:45:44 +00:00
Thijs Kinkhorst
6a3f0ffce5 Tweak IMAP connection error display (#1203154). 2005-05-20 10:34:40 +00:00
Fredrik Jervfors
f98c36762d Fixing strings:
- Removing space before colon
- Removing trailing spaces
- Changing "said" to "wrote"
2005-04-16 17:45:40 +00:00
tokul
bff510ede3 documenting functions. adding @deprecated to obsolate functions and @since
tags to functions introduced after 1.0. Trying to document argument types
where possible
2005-04-08 13:39:05 +00:00
Fredrik Jervfors
191baad95e String fix 2005-04-08 09:44:08 +00:00
Thijs Kinkhorst
890f0e9aca fix 'referral' bug for UW-servers, sorry people 2005-04-08 08:47:05 +00:00
Thijs Kinkhorst
3e6df95c87 Partial support for IMAP LOgin Referrals: tell the user what's going on
and log him out (RFC 2221) (Patch #1006242).
2005-04-06 21:47:06 +00:00
tokul
8d00d0bad3 adding param and since tags to some functions 2005-04-05 14:16:31 +00:00
Thijs Kinkhorst
4d5559dcde Fixed bad/malformed request error when Sent was over quota. This was checked
at the second stage when appending to Sent but not the first stage (the
response was simply thrown away). I've abstracted the checking to a
separate function that is called at the two relevant points. Closes: #1172694
2005-03-30 18:35:50 +00:00
tokul
329b9a0cb7 documenting some imap functions 2005-03-29 16:03:24 +00:00
Thijs Kinkhorst
a73561b911 Increment year in copyright notice. 2004-12-27 15:04:02 +00:00
Fredrik Jervfors
8c8ecffa57 Replacing tabs with spaces, trimming white space at EOL and newline at EOF 2004-11-02 22:21:34 +00:00
Jimmy Conner
2cd94f0d75 Removed variables that were initialized, but never actually used
Also remove a few more globals that were unused
Remove a few newlines at the end of files
Hopefully this will help shrink the memory footprint of SM just slightly
2004-11-01 02:05:15 +00:00
Jimmy Conner
6bfd0f1168 Remove unused globals 2004-10-31 23:24:09 +00:00
indiri69
d05fcaf17e Should compared strings with strings. Otherwise a string of just '0' is treated as false 2004-10-29 18:15:59 +00:00
Jimmy Conner
7ac7b090be Wrong break point is set, we are only 2 deep here, not 3 2004-10-28 04:36:31 +00:00
Fredrik Jervfors
d400b6c95d Fixing undefined variables 2004-09-28 05:37:13 +00:00
Thijs Kinkhorst
850e646c72 Close connection cleanly when login/pw incorrect, following RFC recommendation. 2004-08-18 20:16:46 +00:00
Fredrik Jervfors
303d308968 XHTML fixes 2004-08-15 01:02:58 +00:00
jangliss
c8be9a65a7 Shouldn't let PHP generate an error in this case, if we are handling a
connection failure
2004-06-13 23:16:46 +00:00
stekkel
8797a08eb5 typo 2004-05-26 13:24:55 +00:00
stekkel
8784e12b74 removed parseAdress routines and made it point to rfc822address.php 2004-05-26 00:36:06 +00:00
tokul
dca19f1eda aStutus -> aStatus 2004-05-20 09:46:07 +00:00