Commit Graph

24544 Commits

Author SHA1 Message Date
Ralf Becker
589d2c9dae * Mail: keyword actions were not always displayed (eg. never for Dovecot and GMail) 2014-08-13 11:45:55 +00:00
Ralf Becker
1f35ccea1f 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-13 07:14:46 +00:00
Nathan Gray
f6bca11f4f Add an additional format to parse times in the formatY-m-dTHⓂ️s for insertion into spreadsheets, fixes warning when merge printing "Unable to parse date ... left as text" 2014-08-12 23:19:39 +00:00
Nathan Gray
deeebeb77f Directly delete any trash cache when trash is emptied 2014-08-12 19:06:58 +00:00
Nathan Gray
4944b1a1fb Fix double encoded & in merge functions 2014-08-12 17:48:47 +00:00
Ralf Becker
251a4cd25e profiling script for mail 2014-08-12 17:01:22 +00:00
Nathan Gray
694a63d1f4 Indicate merge class to use for mail, fixes infolog placeholders not known 2014-08-12 16:58:07 +00:00
Ralf Becker
ea7de50b8f Changelog for 14.1.20140812 2014-08-12 12:42:24 +00:00
Ralf Becker
5544c63b34 pending translations from our translation server 2014-08-12 12:39:21 +00:00
Hadi Nategh
c60b7ae328 Revert the change on ajax_refreshVacationNotice from commit 48039. Fix not keeping other vacations of an user in the cache 2014-08-12 08:23:54 +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
Nathan Gray
cc04f0b89c Create & use a flag 'no_actions' to disable actions for sum rows 2014-08-11 23:13:02 +00:00
Nathan Gray
0fa3ad831b Fix no longer working 'None' category option 2014-08-11 22:50:38 +00:00
Nathan Gray
f7589316e0 Make sure options are there before looking inside, avoids a potential error in filter options 2014-08-11 20:27:56 +00:00
Nathan Gray
91eabea294 Some more speed improvements for get_rows:
- Don't verify that special folders exist
2014-08-11 19:26:50 +00:00
Nathan Gray
82db8343bd 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-11 16:24:11 +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
672297df94 fix for somehow empty etemplate request content, giving an error when (or after) sending mail 2014-08-11 15:12:34 +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
Ralf Becker
217a2a8a11 fix for invalid operand, if vacation cache is not yet initialised 2014-08-11 14:16:26 +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
e06b02f6f6 Call ajax_refreshVacationNotice as a static method 2014-08-11 12:44:33 +00:00
Hadi Nategh
cb093e7266 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 12:14:27 +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
Hadi Nategh
f22b156f21 Add msg_type to callWizard to be able to set message type when we call emailadminWizard 2014-08-08 13:36:33 +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
6b015a9448 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-08 10:04:49 +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
6e70592d4c Change width of fields in project manager tab of infolog edit dialog 2014-08-07 16:31:28 +00:00
Hadi Nategh
449dea5553 Unlock mail folder tree after setFolderStatus operation is finished 2014-08-07 15:56:25 +00:00
Hadi Nategh
1d8c630a17 Lock mail tree by clicking on "empty trash" action and unlock it after the operation is finished 2014-08-07 12:57:33 +00:00
Nathan Gray
a28cbb4d7e - 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-06 21:13:27 +00:00
Nathan Gray
a09fae5f43 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-06 21:00:31 +00:00
Nathan Gray
f19666096e Remove extra call to refresh vacation & quota, it is already done when changing folder which should be often enough. 2014-08-06 20:53:37 +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
77c08a8cc4 Fix delete button for extended acl (eacl) was always read-only, except for superuser. 2014-08-06 15:01:35 +00:00
Nathan Gray
687ed8746c Fix sort by account created or modified gives SQL error 2014-08-06 14:30:18 +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