6.0.0-beta1
7/8/25

[#12907] Updated quota information on folder switch
Summary Updated quota information on folder switch
Queue Horde Groupware Webmail Edition
Queue Version 5.1.3
Type Enhancement
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester roderick.braun (at) ph-freiburg (dot) de
Created 01/08/2014 (4199 days ago)
Due
Updated 04/22/2014 (4095 days ago)
Assigned
Resolved 04/22/2014 (4095 days ago)
Milestone
Patch No

History
04/22/2014 10:43:20 PM Michael Slusarz Comment #7
State ⇒ Resolved
Reply to this comment
I don't think that's a good solution. I imagine a typical use case to be:
1. User sees a quota warning
2. User deletes messages.
3. User expects the quota warning to disappear.
IIRC, even Gmail doesn't do this.  Quota computation can be expensive.

That being said, I decided to just leave it to the admin to decide 
this for themselves with a configuration option.  Provide a very 
conservative default (15 minute polling).
04/22/2014 10:41:33 PM Git Commit Comment #6 Reply to this comment
Changes have been made in Git (master):

commit 776517b532a1a8e452f8cb04e4f266a7a96304e9
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Tue Apr 22 16:39:17 2014 -0600

     [mms] Add configurable IMAP quota checking interval (Request #12907).

  imp/config/backends.php                     |    2 +
  imp/docs/CHANGES                            |    1 +
  imp/docs/UPGRADING                          |    2 +
  imp/lib/Ajax/Application/Handler/Common.php |    6 ++--
  imp/lib/Ajax/Application/ListMessages.php   |    2 +-
  imp/lib/Ajax/Queue.php                      |   13 +++++++---
  imp/lib/Imap/Config.php                     |    6 +++++
  imp/lib/Quota/Ui.php                        |   33 +++++++++++++++++++++++---
  imp/lib/View/Subinfo.php                    |    2 +-
  imp/package.xml                             |    1 +
  10 files changed, 55 insertions(+), 13 deletions(-)

http://github.com/horde/horde/commit/776517b532a1a8e452f8cb04e4f266a7a96304e9
02/27/2014 09:52:06 AM Jan Schneider Comment #5 Reply to this comment
I don't think that's a good solution. I imagine a typical use case to be:
1. User sees a quota warning
2. User deletes messages.
3. User expects the quota warning to disappear.
Maybe we can limit the quota re-check to requests where the mailbox 
status actually changed?
02/27/2014 06:37:11 AM Michael Slusarz Comment #4
Assigned to Michael Slusarz
State ⇒ Feedback
Reply to this comment
IMP 6.2.0

This change actually removes the quota refresh every time the mailbox 
is polled.  This seems *very* excessive.  It's possible there could be 
some way to rate limit the quota updates ... once every 5 minutes for 
example ... but I wonder if that is really necessary.  Quota is a more 
macro-level status.  It's going to creep up over time, but not in any 
15 minute session.

This fix will now only update the quota when switching to a new mailbox.

Thoughts?
02/27/2014 06:34:27 AM Git Commit Comment #3 Reply to this comment
Changes have been made in Git (master):

commit c2049dfa92c5c4c9efa95829955ae7f41344ce5d
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Wed Feb 26 23:33:36 2014 -0700

     [mms] Only refresh quota information when switching to a mailbox 
the first time.

     see Bug #12907

  imp/docs/CHANGES                             |    2 ++
  imp/lib/Ajax/Application/Handler/Common.php  |    6 ++++--
  imp/lib/Ajax/Application/Handler/Dynamic.php |    2 --
  imp/lib/Ajax/Application/ListMessages.php    |    3 +++
  imp/package.xml                              |    1 +
  5 files changed, 10 insertions(+), 4 deletions(-)

http://git.horde.org/horde-git/-/commit/c2049dfa92c5c4c9efa95829955ae7f41344ce5d
01/09/2014 08:25:35 AM lauffer (at) ph-freiburg (dot) de Comment #2 Reply to this comment
Especially on shared folders (with another quota as the inbox) the 
quota update would be nice. They may completely differ from the 
previous folder...


01/08/2014 11:54:56 AM roderick (dot) braun (at) ph-freiburg (dot) de Comment #1
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ Updated quota information on folder switch
Queue ⇒ Horde Groupware Webmail Edition
Milestone ⇒
Patch ⇒ No
State ⇒ New
Reply to this comment
In the webmail module It would be nice to get automatically updated 
quota information if you switch to another  folder so that you don't 
have to press the refresh-button frequently.

Saved Queries