Commit Graph

24510 Commits

Author SHA1 Message Date
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
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
Hadi Nategh
cb43eb44c4 Add missing column in timesheet idex template, which were causing customfields not shown on the list 2014-08-06 10:58:04 +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
Nathan Gray
70d85ca78f Fix addressbook CRM next/previous buttons don't update nextmatch 2014-08-05 23:27:06 +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
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
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
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
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
Nathan Gray
dcc6166212 Use cache callback to unlock folder tree immediately when the cache is used. 2014-08-04 17:04:45 +00:00
Nathan Gray
f361373455 - 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-04 17:04:11 +00:00
Hadi Nategh
671fec00d4 Delete accidentally added files by commit 47981 2014-08-04 14:12:02 +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
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
Klaus Leithoff
7967387e3a unlock tree immediately after fetching the rows 2014-08-04 12:59:13 +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
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
Klaus Leithoff
5320ad4f5c pending translations from our translation server 2014-08-01 13:59:55 +00:00
Klaus Leithoff
eb350e2745 pending translations from our translation server 2014-08-01 13:58:47 +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
933d00e79f fix call for mail.mail_ui.ajax_refreshQuotaDisplay; alter condion on not calling openConnection; 2014-08-01 12:13:21 +00:00
Hadi Nategh
3021b6a3c9 Handle logout onClick handler for superuser button in filemanager file dialog 2014-07-31 17:45:57 +00:00
Hadi Nategh
3f2eddc0c7 Fix confilict ID in filemanager file dialog. Additionally, add "Cancel button to superuser authentication form" 2014-07-31 17:43:33 +00:00
Klaus Leithoff
952226c60b Changelog for 14.1.20140731 2014-07-31 13:57:34 +00:00
Klaus Leithoff
4da179664d pending translations from our translation server 2014-07-31 13:43:30 +00:00