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
deeebeb77f
Directly delete any trash cache when trash is emptied
2014-08-12 19:06:58 +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
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
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
217a2a8a11
fix for invalid operand, if vacation cache is not yet initialised
2014-08-11 14:16:26 +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
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
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
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
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
4830bcf784
Try to cache vacation for each account to avoid to connect to IMAP server if vacation rules are not changed
2014-08-06 10:56:01 +00:00
Klaus Leithoff
98cd4bbe28
using cache more efficiently; prevent clearing cache on profileChange; hook into clear_cache callable from admin
2014-08-05 11:59:06 +00:00
Hadi Nategh
19ff0d23cc
Try to catch exceptions from Sieve retriveRuels, and call emailadminWizard
2014-08-05 09:26:28 +00:00
Klaus Leithoff
1bb1d18997
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 08:51:26 +00:00
Nathan Gray
dcc6166212
Use cache callback to unlock folder tree immediately when the cache is used.
2014-08-04 17:04:45 +00:00
Hadi Nategh
22d6d80aae
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-04 14:02:05 +00:00
Klaus Leithoff
7967387e3a
unlock tree immediately after fetching the rows
2014-08-04 12:59:13 +00:00
Hadi Nategh
9694a4c9f8
Add email addresses of "all my aliases" in mail vacation, not account imap_username
2014-08-01 14:46:36 +00:00
Hadi Nategh
a105ac7e1d
Append aliases to mail vacation addresses insted of replacing them with existing one
2014-08-01 13:40:45 +00:00
Klaus Leithoff
3358da94e5
alter condion on not calling openConnection; as the refresh of quota was not working after changing a profile after rev47954 and not relyable after rev47956
2014-07-31 10:47:55 +00:00
Klaus Leithoff
14711b891f
fix call for mail.mail_ui.ajax_refreshQuotaDisplay; as the refresh of quota was not working after changing a profile after rev47954
2014-07-31 10:42:56 +00:00
Hadi Nategh
8ccef246b4
Do not openConnection an extra time to imap server on constructor for changeProfile, refreshQuotaDisplay
2014-07-31 10:18:41 +00:00
Klaus Leithoff
c1c90c2621
cache subscribedFolders Call to be used in getfolderStatus; control param if to fetch subscribed Info on getFolderStatus at all; own getMailboxCounters wrapper, instead of getFolderStatus, if one needs the counters only
2014-07-31 10:10:07 +00:00
Nathan Gray
d21e2b2dd7
Avoid error if _filters is not set
2014-07-29 22:10:48 +00:00
Klaus Leithoff
af749e891e
* Mail: handle broken filenames (non utf8) in attachments
2014-07-29 08:13:34 +00:00
Nathan Gray
73c1f064b9
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-07-28 21:21:23 +00:00
Klaus Leithoff
c013b68772
add missing flags parameter on reopening exported messages
2014-07-24 12:00:17 +00:00
Ralf Becker
19651fcb9b
remove wrong settings definition, causing an illegal string offset in preferences
2014-07-24 09:53:04 +00:00
Ralf Becker
d2b6fd0794
pending translations from our translation server
2014-07-23 16:40:19 +00:00
Hadi Nategh
0e5747deb0
Make mail ACL account owner row readonly as the owner should not be able to delete/change his rights, he always has full-rights
2014-07-23 11:59:46 +00:00
Ralf Becker
f2ca4d2762
copy felamimail preferences to new mail app, if they still exist there
2014-07-22 14:57:23 +00:00
Ralf Becker
c07599aa27
fixed async job was not removed, if facations was deactivated and only try to reschedule with increasing intervals for 2 days
2014-07-22 12:52:10 +00:00
Klaus Leithoff
cd702481af
allow to call getAllIdentities for other users; used for Admin Calling eSync Prefs on Mail for other users
2014-07-22 10:07:30 +00:00
Hadi Nategh
ea6eb12cd4
Fix mail ACL popup dialog does not make delete button readonly for account owner
2014-07-22 08:05:42 +00:00
Hadi Nategh
95e1fb860a
Make sure et2 is availabe, because it could be not available over cases like when mail connection error. It Fixes error: "can not read getWidgetById of undefined"
2014-07-18 17:22:28 +00:00
Hadi Nategh
3055fe6875
Try to catch PEAR_Exception over mail_ui and callWizard if there is an exception
2014-07-18 17:18:29 +00:00
Klaus Leithoff
4e0480054b
avoid php-warning regarding missing 4th argument on mail_ui::createAttachmentBlock()
2014-07-17 14:56:37 +00:00
Klaus Leithoff
5933d54150
try to recover from non existing this.et2
2014-07-17 14:39:56 +00:00
Ralf Becker
fa95339c3c
only need one save-as-zip image
2014-07-17 11:22:57 +00:00
Klaus Leithoff
24606be582
handle all text string for move and delete action success message
2014-07-17 09:59:14 +00:00
Hadi Nategh
07a036b5f4
Fix IDE warnings in mail_ui
2014-07-16 16:34:15 +00:00
Hadi Nategh
2b07a387c6
Remove Mail_ui class out commented statements, in order to make the code easier to read
2014-07-16 13:42:36 +00:00
Hadi Nategh
ae062b12c5
Mail_ui::__construct() free of out commented statements
2014-07-16 12:15:11 +00:00