Commit Graph

113 Commits

Author SHA1 Message Date
Ralf Becker
9500b3eb9c fixed PHP message: PHP Strict Standards: Declaration of emailadmin_smtp_sql::setUserData() should be compatible with emailadmin_smtp::setUserData($_uidnumber, $_mailAlternateAddress, $_mailForwardingAddress, $_deliveryMode, $_accountStatus, $_mailLocalAddress, $_quota, $_forwarding_only = false) 2012-11-22 12:19:08 +00:00
Klaus Leithoff
3e13629067 improved control of ACL edit (by checking capabilities first); offer selectbox with user (and group) selection depending on the loginmethod of the defaultprofile, group selection is bound to imapClass managmentserver_cyrusimap (as of now) 2012-11-22 09:40:01 +00:00
Klaus Leithoff
25c84bd422 handle php warnings regarding ->mb_strlen() expects parameter 1 to be string, array given<- in emailadmin_bo 2012-11-21 13:28:12 +00:00
Klaus Leithoff
f1be692986 new approach to fieldNames concept 2012-11-20 15:44:29 +00:00
Ralf Becker
09e44d87fe using now emailadmin_smtp constants for internally used values for deliveryMode and accountStatus, fixing not working forward-only mode because of wrong case of values, ldap classes now ignore case to deal with existing data 2012-11-20 14:01:58 +00:00
Klaus Leithoff
346dd803e4 several stuff regarding IMAP/SMTPServerType Handling 2012-11-20 13:46:32 +00:00
Ralf Becker
ea69e2c99b forwards are only a result-attribute, dont search for them 2012-11-19 15:34:04 +00:00
Klaus Leithoff
c35feb5c56 make getDefaultProfile callable as static; allow to fetch a specific profile by id (no merging of profiledata) - intended for administrative use to be able to fetch a plain default emailadmin connection; if defaultsmtp is used in an existing profile as classname, route it to emailadmin_smtp 2012-11-19 13:04:35 +00:00
Ralf Becker
82df2078c8 first take on migrating mail accounts from LDAP to SQL (only qmailUser schema) 2012-11-19 12:56:46 +00:00
Ralf Becker
1d7cfc1713 if EGroupware manages a mail server, allow setting an email address for groups
r40865: add group-members for groups as forward
2012-11-19 12:54:54 +00:00
Ralf Becker
e6af7f46c7 deprecated defaultsmtp in favor of autoloadable emailadmin_smtp, matching exiting emailadmin_smtp_ldap and new emailadmin_smtp_sql extending it
r40850: need to move accounts reference to emailadmin_smtp
r40851: store group email in mailaccounts table
2012-11-19 12:53:33 +00:00
Ralf Becker
e8ff9540e5 new EMailAdmin class to administrate mail-accounts in sql
r40841: fixed typo
r40845: always allow username@domain
2012-11-19 12:40:26 +00:00
Klaus Leithoff
7715ef14f4 * emailadmin/quota: display quota used (if available) in eMail-Account Management of User Data Administration 2012-11-12 12:39:35 +00:00
Ralf Becker
e1cf8a4911 query imap server only, if account is active (or no smtp server configured) 2012-10-11 10:27:19 +00:00
Ralf Becker
76be223537 only ask quote, if connection succeeds 2012-10-11 10:00:03 +00:00
Ralf Becker
028908ba1f use fmail timeout prefs only if no explicit timeout given in openConnection call 2012-10-11 09:54:27 +00:00
Klaus Leithoff
7637f7057d * email: rework of handling and providing identities; usability for setting up SIEVE Vacation rules -> preselected default mail address 2012-10-04 13:50:26 +00:00
Klaus Leithoff
46ddaf0971 * emailadmin/sieve: classes and adaptions to provide timed-sieve for dovecot. this is only the stuff needed on egroupware side of the issue, there is quite some stuff to be configured on dovecot side for this to work 2012-09-27 17:09:17 +00:00
Klaus Leithoff
bc2e5836e2 fix problem with missing first and lastname on emailadminprofile (select box of profiles) 2012-08-14 10:25:12 +00:00
Ralf Becker
6bfb87de00 more German translations from Gudrun 2012-08-09 12:57:55 +00:00
Ralf Becker
c8d8928486 pending translations from translation.stylite.de plus merge of trunk translations 2012-08-08 12:12:59 +00:00
Klaus Leithoff
f51f5f50f3 * emailadmin: use connection timeout preference in openConnection calls, and increase defaulttimeout if applicable; 2012-08-02 14:31:41 +00:00
Klaus Leithoff
32842953f4 trim addresses used in sieve vacation rules; introduce the cleaning of another cache object 2012-07-27 09:35:54 +00:00
Klaus Leithoff
a7231e99aa removing extra e for notify/enotify in require 2012-07-12 08:54:30 +00:00
Klaus Leithoff
269cd59d22 * EMail/SIEVE: decide via capabilities of extensions if enotify and variables are available before trying to apply specific syntax; if enotify is not available fall back to (try with) notify syntax 2012-07-12 07:57:08 +00:00
Klaus Leithoff
407dd173c3 * EMail/SIEVE: switching from notify to enotify; enotify and variables now required 2012-07-11 14:42:24 +00:00
Klaus Leithoff
57c361fd3f reset connectionError Cache on login 2012-07-02 11:16:29 +00:00
Klaus Leithoff
ff3ff4573e use new static function to reset FolderObjectCache 2012-06-28 08:15:55 +00:00
Ralf Becker
08bbc9b98a comment debug to allow static usage 2012-06-21 08:42:53 +00:00
Ralf Becker
a0659f5ade * EMailAdmin: always storing quota for qmailuser schema 2012-06-20 16:17:18 +00:00
Klaus Leithoff
f87891bb1d try to improve performance (main target here is esync) by using instance cache instead of sessionCache for folderObjects and deletedMessages 2012-05-31 09:17:35 +00:00
Klaus Leithoff
b48b67f2d8 fix issue for changed default param for emailadmin_bo contructor; always use setDefaultProfile if there is NO profile available at all; fix issue regarding missing control of group ownership on edit.general 2012-04-25 10:11:16 +00:00
Klaus Leithoff
4d1d6bb220 fix for Using when not in object context 2012-04-23 09:36:28 +00:00
Klaus Leithoff
a2b4861dc4 * email: caching of folderObjects for session under certain conditions, to speed up email module access
managing session cache for cached folderObjects; attempt to introduce better sorting for folderObjects in shared/other namespace (if available); removal of obsolete code
2012-04-23 08:16:40 +00:00
Klaus Leithoff
5070027e00 fixed broken emailadmin editProfile add/edit/delete mailAlternate/mailForward 2012-04-13 11:57:12 +00:00
Klaus Leithoff
a492f2a426 fix possible error SQL-Error on history actions while deleting profiles; removing lots of trailing whitespace 2012-04-13 09:24:33 +00:00
Klaus Leithoff
dc2c5e1f30 more detailed log for missing default profile 2012-04-13 08:00:04 +00:00
Klaus Leithoff
1c0956dec7 remove obsolet javascript; control that global tab, ->can be used by group<- cannot be set/used together with ->can be used by user<-; as most users thought of it as a concept of narrowing access by user AND group, and not as a concept of allowing a profile to either a user OR a given group 2012-04-10 15:38:58 +00:00
Klaus Leithoff
ff1173f09e as the ui suggest that we do not want to validate certs, we have to switch the true/false option for the checkbox to match the wording. 2012-04-10 10:36:39 +00:00
Klaus Leithoff
aa3ac75278 * translations: Italian translation improvements for email, emailadmin and calendar (minor canges); provided by Ilias Chasapakis, Webtrain Services 2012-03-06 17:01:22 +00:00
Ralf Becker
ef21cdae30 * PostgreSQL/Setup/EMailAdmin: fixed Setup >> Configuration was not storing anything
caused by egw_emailadmin.ea_(user|group) is varchar (for whatever reason) and postgres never returned a default profile
2012-02-29 19:01:02 +00:00
Klaus Leithoff
93065f226a clear email Structure Cache Objects too on unsetCachedObjects; TODO: defaultimap -> check if some class vars are still used. 2012-02-07 11:43:55 +00:00
Klaus Leithoff
e35a4f9dbb provide fallback for login if authmethod fails 2012-01-16 16:57:14 +00:00
Klaus Leithoff
a3e5f9d371 Set the IMAP Server ID for Cached SieveError 2012-01-02 16:42:39 +00:00
Klaus Leithoff
eb131f6123 improve handling of connection errors, improve handling of supportedAuthMethods 2011-12-12 17:17:47 +00:00
Klaus Leithoff
14554a6fd6 * email/sieve: improve connection handling (timeout) 2011-12-08 15:17:02 +00:00
Klaus Leithoff
bc1145533c * email/sieve: improved vacation script handling: be more talkative to the user on rule validation errors while saving 2011-11-07 09:48:08 +00:00
Klaus Leithoff
893bdb1524 avoid maximum allowed path length warning - triggered by autoload caused by php.5.3.7 is_a behavior 2011-11-03 15:25:41 +00:00
Klaus Leithoff
320711dca4 * email: fix for problems when trying to open attached messages twice; Solved by handling problems regarding the caching of message structures caused by problems with SessionHandler storing the structure-array 2011-11-03 08:28:56 +00:00
Klaus Leithoff
37f9de7b69 * emailadmin: fixing not allowed userDefinedIdentities when userDefinedAccounts is allowed, fixing typos 2011-10-25 07:30:38 +00:00
Klaus Leithoff
014775ab14 try to catch an empty connection error object too, while trying to auto recover on errors; try to disconnect, when connect was successful, but no username for login is supplied 2011-10-10 10:17:07 +00:00
Klaus Leithoff
2b2de0cd8b * eMail: improve connection handling and recovery on problems regarded as minor. offer user the possibility to reset the connection on failure 2011-10-07 10:27:09 +00:00
Klaus Leithoff
bba3dba9ac * EMailAdmin allow to specify smtp auth credentials for alarms/notifications only, otherwise credentials of current user are used 2011-10-06 10:14:13 +00:00
Klaus Leithoff
4e0ae73a73 * email: improve connection handling (targeting failed connects), apply connection timeout on data retrieval as well. 2011-09-28 11:30:59 +00:00
Klaus Leithoff
be0b9bba4f fix fatal error, when getNamespace is giving a PEAR Error 2011-09-23 10:10:15 +00:00
Klaus Leithoff
035aaa6134 * emailadmin: caching nameSpace information for the session to reduce communication to imap-server with the goal of improved performance clientside and less querying the mailserver 2011-09-21 09:06:04 +00:00
Klaus Leithoff
46bcd9c5ba * emailadmin: fix problem with UpperLowerCase User Names, use lower case usernames ONLY, when accessing / creating / updating mailboxes 2011-09-20 10:19:25 +00:00
Klaus Leithoff
74524a9be1 is_a compatibility vs. php5.3.8 resolving to instanceof operator 2011-09-12 13:28:14 +00:00
Klaus Leithoff
434081d428 fix typo while saving to config 2011-09-07 09:49:19 +00:00
Klaus Leithoff
042c4b872d Sieve: more detailed info (in error_log) on failed InstallScript 2011-08-04 09:05:41 +00:00
Klaus Leithoff
6469669d32 improving the identification of identities as user defined identities vs. identities provided as mailadresses/mailaliases assigned to the user (these mailadresses are returned by ogServer->getAccountEmailAddress) 2011-07-28 09:51:21 +00:00
Klaus Leithoff
fdc6f1f63f allow to fetch identity by assigned serverID (fetches the first match found) 2011-07-18 12:22:51 +00:00
Ralf Becker
aee4ea4724 Creating branches/Stylite-EPL-11.1 2011-07-01 10:37:47 +00:00