Commit Graph

71 Commits

Author SHA1 Message Date
Ralf Becker
311fc15884 * EMailAdmin: support for new qmailLdap schema using mailQuotaSize instead of mailQuota 2013-02-21 14:57:31 +00:00
Ralf Becker
9dfd92813a * Preferences/EMail: if user changed password, update password in session correct, so eg. EMail using that password keeps working 2013-02-21 09:44:56 +00:00
Ralf Becker
a07e26746f added defaults to enable all features: user defined accounts, identities, signature and forwarding address 2013-02-01 17:52:55 +00:00
Klaus Leithoff
7f4d15e111 fix typo, that caused strange results when, e.g. fetching AccountEmailAddresses for Identities 2013-01-30 14:48:19 +00:00
Klaus Leithoff
e34f586fe7 fix problem/Fatal error on GroupDeletion when deleting Groupn with assigned emailadmin profile 2013-01-14 08:52:23 +00:00
Klaus Leithoff
e819436f15 introduce more caching to the fetch of userProfile Data; alter mergeProfileData to work as intended (failed to work as intended after change from some boolean/integer columns to yes/no: you may allow stuff, but you should not be able to remove an already granted right) 2012-12-20 13:32:42 +00:00
Klaus Leithoff
14f97b2b4a * eMail: absent-notice via timed sieve; if using timed sieve and 6933start_date6933 and/or 6933end_date6933 and common dateformat could not be retrieved as runtime, replacement resulted in a empty string, causing the intended from/to information to be lost 2012-12-17 08:45:08 +00:00
Klaus Leithoff
ee4ceba548 * eMailAdministration: if account is forward only; do not query IMAP Server for Quota; as there is no real mailbox 2012-12-13 11:00:41 +00:00
Klaus Leithoff
0886b77a3c * eMail/async vacation; if failed by exception or returnvalue is false, reschedule 2012-12-10 16:12:49 +00:00
Klaus Leithoff
f90e20916d enable the removal of an already set defaultQuota (remove the corresponding config Value) 2012-11-27 14:29:52 +00:00
Klaus Leithoff
fd6de53503 allow to configure a defaultQuota in IMAP Tab - if your IMAP backened class is supporting it 2012-11-23 14:02:31 +00:00
Ralf Becker
a9766f6c82 migrate mailbox name (mailMessageStore) when migrating mail accounts, otherwise default get created, which might differ 2012-11-23 09:18:00 +00:00
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
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
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