Ralf Becker
fff55a9eeb
allow to switch caching in Horde_Imap_Client off globally via unset(emailadmin_imap::$default_params["cache"]); and do that by default for profiling
2014-08-14 16:37:28 +00:00
Klaus Leithoff
0f498492b4
implement some >mark all messages in folder as read< action
2014-08-14 15:39:05 +00:00
Klaus Leithoff
d84b700517
* Mail: fix problem on not applied but possibly set status filter on all message actions for flagging
2014-08-14 13:51:57 +00:00
Hadi Nategh
9afa8acaae
Fix switching between HTML/PLAIN is not working on mail compose
2014-08-14 07:43:23 +00:00
Hadi Nategh
2437553215
Backport commit r48054, committed by Nathan Gray. Directly delete any trash cache when trash is emptied
2014-08-14 07:42:31 +00:00
Hadi Nategh
fd976ea1dc
Backport commit r48051, committed by Nathan Gray. Indicate merge class to use for mail, fixes infolog placeholders not known
2014-08-14 07:41:24 +00:00
Hadi Nategh
34c3e1bd9a
Revert the change on ajax_refreshVacationNotice from commit 48039. Fix not keeping other vacations of an user in the cache
2014-08-14 07:39:16 +00:00
Hadi Nategh
08efcf7d20
Backport commit r48041, committed by Nathan Gray. Some more speed improvements for get_rows:
...
- Specify & cache headers we want instead of reading all headers
2014-08-14 07:38:32 +00:00
Hadi Nategh
6b44e369f2
Backport commit r48040, committed by Nathan Gray. Some more speed improvements for get_rows:
...
- Don't verify that special folders exist
2014-08-14 07:34:40 +00:00
Hadi Nategh
80ecc08133
Backport commit r48039, committed by Nathan Gray. Some more speed improvements for initial load:
...
- Avoid expensive connect in constructor for all AJAX calls (reconnect/cache used instead)
- Don't verify that special folders exist for folder tree
- Only fetch folder counts when fetchCounters flag is set, instead of always
- Avoid some et2 warnings about not existing attributes (no speed improvement, but less annoying)
2014-08-14 07:32:51 +00:00
Nathan Gray
9b3c8b8ab4
Fix bugs in import
...
- typo prevented conditions from being evaluated
- Groups in the form <name> Group were not parsed
2014-08-13 17:36:34 +00:00
Ralf Becker
e4f656f981
remove since some time no longer used oldImapServer class var
2014-08-13 13:23:18 +00:00
Ralf Becker
58bd3b9e60
* Mail: keyword actions were not always displayed (eg. never for Dovecot and GMail)
2014-08-13 11:47:58 +00:00
Ralf Becker
ea7de50b8f
Changelog for 14.1.20140812
2014-08-12 12:42:24 +00:00
Ralf Becker
3c0942c825
use is_callable("parent::__get") to avoid fatal error for not existing attributes with pre 2.24.1 Horde_Imap_Client
2014-08-12 07:33:23 +00:00
Ralf Becker
8d8b7b6d4a
fix for somehow empty etemplate request content, giving an error when (or after) sending mail
2014-08-11 15:13:38 +00:00
Ralf Becker
7dbba4dec0
* EMailAdmin/Mail: fix to work with Horde_Imap_Client 2.24.1+ (Tried to access unknown attribute "capability"!)
2014-08-11 15:10:41 +00:00
Hadi Nategh
ed5d06544b
Backport commit r48032 committed by Ralf Becker. Fix for invalid operand, if vacation cache is not yet initialised
2014-08-11 14:27:29 +00:00
Hadi Nategh
76f2141502
Call ajax_refreshVacationNotice as a static method
2014-08-11 14:24:31 +00:00
Hadi Nategh
b8704c4ef9
Avoid to call mail constructor (openConnection is an expensive operation) when client-side ask for vacationNotice.
...
-Check if there's no vacation cached then create mail object (try openConnection) and ask for vacation
-Add account_lid to cached vacations to distinguished them in case if the mail account was a shared profile
2014-08-11 14:23:55 +00:00
Hadi Nategh
5941ff6a26
Refresh the nm and lock the tree if current active folder is the Trash Folder, when calling "Empty Trash" action, otherwise no need to refresh or lock the tree
2014-08-11 14:02:26 +00:00
Hadi Nategh
ac55076b7b
Unlock mail folder tree after setFolderStatus operation is finished
2014-08-11 14:01:06 +00:00
Hadi Nategh
a25630b383
Lock mail tree by clicking on "empty trash" action and unlock it after the operation is finished
2014-08-11 14:00:43 +00:00
Hadi Nategh
212639b8d2
Backport commit r48010, committed by Nathan Gray.
...
Fix cache key to include sorting
- Fix cache key for initial load, was missing selected folder
- Avoid deleting data, it causes blank rows. Refreshing instead.
2014-08-11 13:57:59 +00:00
Hadi Nategh
6ff6db42e6
Backport commit r48009, committed by Nathan Gray.
...
Data improvements:
- pass UID as additional parameter to data callbacks
- cache actual data separately from cached fetch response to avoid duplication
- use callbacks to keep localStorage data consistent with data in memory
- use callback to update cached fetch response if a record is removed (set to null)
2014-08-11 13:56:29 +00:00
Hadi Nategh
e40065917b
Backport commit r48008, committed by Nathan Gray.
...
Remove extra call to refresh vacation & quota, it is already done when changing folder which should be often enough.
2014-08-11 13:53:06 +00:00
Hadi Nategh
c9069a7386
Add msg_type to callWizard to be able to set message type when we call emailadminWizard
2014-08-08 16:23:02 +00:00
Klaus Leithoff
c8d15f7474
clear vacationNotice cache on unsetCachedObjects; wrong param count for setCache
2014-08-08 13:15:48 +00:00
Klaus Leithoff
f06639f155
clear vacationNotice cache on unsetCachedObjects
2014-08-08 12:47:30 +00:00
Hadi Nategh
e2fb1c1f28
Change width of fields in project manager tab of infolog edit dialog
2014-08-07 16:32:35 +00:00
Hadi Nategh
e6983f0eba
Add email addresses of "all my aliases" in mail vacation, not account imap_username
2014-08-06 16:19:50 +00:00
Nathan Gray
15214b22c0
Fix delete button for extended acl (eacl) was always read-only, except for superuser.
2014-08-06 15:51:16 +00:00
Nathan Gray
addd1a274f
Fix sort by account created or modified gives SQL error
2014-08-06 15:20:20 +00:00
Nathan Gray
98da1ade79
Fix addressbook CRM next/previous buttons don't update nextmatch
2014-08-06 14:12:20 +00:00
Hadi Nategh
9d8b45588b
Try to catch exceptions from Sieve retriveRuels, and call emailadminWizard
2014-08-06 12:48:20 +00:00
Hadi Nategh
b4f31bdfd2
Backport commit r47985 committed by Nathan Gray.
...
- Use cache callback to unlock folder tree immediately when the cache is used.
2014-08-06 11:13:32 +00:00
Hadi Nategh
a3d9df3d53
Backport commit r47984 committed by Nathan Gray.
...
- Use timestamp to give cached dataFetch data a lifetime, currently 29 seconds.
- Add another callback for cache registration, called whenever the cache is used.
2014-08-06 11:11:30 +00:00
Hadi Nategh
aebfd22aff
Add missing column in timesheet idex template, which were causing customfields not shown on the list
2014-08-06 11:02:46 +00:00
Klaus Leithoff
ea1ae4f006
using cache more efficiently; prevent clearing cache on profileChange; hook into clear_cache callable from admin
2014-08-05 12:36:06 +00:00
Klaus Leithoff
301e71f432
introduce some stuff to increase inital speed of mail-list by asyncronously calling gatherVacation and getQuotaRoot; increase cache-time on folderExists cache, trust a folder to be existant (or at least fot force the check with IMAP-Server) in get_rows
2014-08-05 09:14:04 +00:00
Hadi Nategh
baa5e4cdbc
Add browser popup blocker checker for open_link method.
...
-Fix not poping up the emailadminWizard popup when an IMAP error occurrs, because of the browser blocks the popup.
2014-08-05 08:12:33 +00:00
Klaus Leithoff
2fcb09d458
do not use Session to cache HierarchyDelimiter; remove all logic and rely on mail account object for folder info on special use folders in function emailadmin_imapbase->getSpecialUseFolders; code cleanup for cache-cleanup
2014-08-04 13:04:44 +00:00
Klaus Leithoff
9bba24a40c
unlock tree immediately after fetching the rows
2014-08-04 13:03:14 +00:00
Hadi Nategh
9d1727d077
Backport commit 47927 committed by NathanGray.Don't send mail rows when opening mail app, but use client side cache instead.
...
Gives large speed improvements when changing to previously opened folders.
2014-08-04 09:44:35 +00:00
Hadi Nategh
82fa583951
svn commit -m 'Backport commit 47925 committed by NathanGray. Handle num_rows set by application:
...
- Don\'t overwrite num_rows setting if the application sets it for some reason
- If num_rows is 0, don\'t get the initial rows server side
- If num_rows is 0 and the initial rows are missing, trigger an update right away to get them asyncronously.' etemplate
2014-08-04 09:39:44 +00:00
Hadi Nategh
59bc2e04a8
Backport commit 47924 committed by NathanGray. Trigger a clear event on the etemplate DOMContainer when the etemplate is cleared, so app code can listen for it.
2014-08-04 09:22:38 +00:00
Hadi Nategh
04127c8b56
Backport commit 47929 committed by NathanGray, Handle if ID is not a string instead of erroring.
2014-08-04 09:19:41 +00:00
Hadi Nategh
747a1eb619
Backport commit 47928 committed by NathanGray, Smarter cache expiry based on age
2014-08-04 09:18:01 +00:00
Hadi Nategh
838d747667
Backport commit 47926 committed by NathanGray, allow for long-term client side caching of dataFetch responses.
2014-08-04 09:16:39 +00:00
Klaus Leithoff
5320ad4f5c
pending translations from our translation server
2014-08-01 13:59:55 +00:00