Commit Graph

24432 Commits

Author SHA1 Message Date
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
Klaus Leithoff
f6e5b61327 pending translations from our translation server 2014-07-31 11:47:49 +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
Klaus Leithoff
5acbcad35d 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:22:47 +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
Hadi Nategh
d2ba902fd1 Make sure we are getting the current appName 2014-07-30 15:50:05 +00:00
Nathan Gray
80d7a4946b Avoid iframe, fixes favorites giving error after trying an invalid path 2014-07-30 15:21:41 +00:00
Hadi Nategh
612c7fe90b Make sure all DOMSubtrees are loaded before trigger the print job on window onload. Fix error "getComputing is not function" when closing the window while the print preview is loaded 2014-07-30 15:18:41 +00:00
Hadi Nategh
8a01456df0 Add timesheet ID to nm listview 2014-07-30 15:15:09 +00:00
Hadi Nategh
ef6aed6579 Make sure we are getting the current appName 2014-07-30 15:12:05 +00:00
Hadi Nategh
5114fbe11a Add timesheet ID to nm listview 2014-07-30 14:17:38 +00:00
Hadi Nategh
10dcf56b0e Backport commit r4778, commited by RalfBecker. make account_id available for preferences hook 2014-07-30 11:03:58 +00:00
Nathan Gray
d21e2b2dd7 Avoid error if _filters is not set 2014-07-29 22:10:48 +00:00
Nathan Gray
5b873215b0 - Fix expanding closed projects by passing parent ID
- Fix missing milestone icon
2014-07-29 21:51:37 +00:00
Nathan Gray
795e2cdb9c Refine cache check conditions, rows is always empty by this point. 2014-07-29 21:46:01 +00:00
Hadi Nategh
6689ca64f7 SelectAccount with type "none" should get sel_options but it should be readonly if user has no admin access. Fix infolog delegation for admin users with selectAccount type "none" selected 2014-07-29 17:39:35 +00:00
Nathan Gray
cf9616fa0c Avoid iframe, fixes favorites giving error after trying an invalid path 2014-07-29 15:56:48 +00:00
Hadi Nategh
81dc9a9be3 Make sure all DOMSubtrees are loaded before trigger the print job on window onload. Fix error "getComputing is not function" when closing the window while the print preview is loaded 2014-07-29 15:02:46 +00:00
Klaus Leithoff
b0933c32b9 fix typo, that prevented the correct split of TreeNodeOpenItems 2014-07-29 12:51:56 +00:00
Klaus Leithoff
235888ad88 fix typo, that prevented the correct split of TreeNodeOpenItems 2014-07-29 12:50:39 +00:00
Klaus Leithoff
565f8de5e0 * Mail: handle broken filenames (non utf8) in attachments 2014-07-29 08:14:04 +00:00
Klaus Leithoff
af749e891e * Mail: handle broken filenames (non utf8) in attachments 2014-07-29 08:13:34 +00:00
Nathan Gray
ffb986f560 Handle if ID is not a string instead of erroring. 2014-07-28 23:11:22 +00:00
Nathan Gray
2fe7b34081 Smarter cache expiry based on age 2014-07-28 22:07:47 +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
Nathan Gray
df76846b37 Allow for long-term client side caching of dataFetch responses. 2014-07-28 21:17:06 +00:00
Nathan Gray
8a70df4df8 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.
2014-07-28 21:00:39 +00:00