After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 714103 - Support SPECIAL-USE extension
Support SPECIAL-USE extension
Status: RESOLVED FIXED
Product: geary
Classification: Other
Component: server-support
master
Other All
: High normal
: ---
Assigned To: Charles Lindsay
Geary Maintainers
review
Depends on:
Blocks:
 
 
Reported: 2012-11-12 08:21 UTC by Jim Nelson
Modified: 2014-01-15 23:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Charles Lindsay 2013-11-21 20:24:38 UTC


---- Reported by jim@yorba.org 2012-11-12 12:21:00 -0800 ----

Original Redmine bug id: 6070
Original URL: http://redmine.yorba.org/issues/6070
Searchable id: yorba-bug-6070
Original author: Jim Nelson
Original description:

XLIST is a Google and Apple-ism. SPECIAL-USE is a related IMAP extension that
Geary should support for other servers (in particular, Dovecot):
http://tools.ietf.org/html/rfc6154

Related issues:
related to geary - 7356: Support LIST-EXTENDED extension (Open)
related to geary - Feature #3704: Internationalization: Use XLIST when
possible (Fixed)
related to geary - 5443: Display IMAP names for special folders (Open)
related to geary - Feature #6066: Geary has no interface for selecting default
IMAP Junk/Se... (Open)
related to geary - Feature #3769: Save to Drafts folder (Fixed)
related to geary - 7250: Local drafts folder (Open)
related to geary - Bite-sized #7380: Support well-known names for special
folders (Need Information)
related to geary - Feature #7492: Support Archive special folder (Open)



---- Additional Comments From geary-maint@gnome.bugs 2013-08-21 18:21:00 -0700 ----

### History

####

#1

Updated by Jim Nelson about 1 year ago

  * **Tracker** changed from _Bug_ to _Feature_

####

#2

Updated by Jim Nelson 10 months ago

  * **Category** changed from _engine_ to _server-support_

####

#3

Updated by Jim Nelson 10 months ago

  * **Target version** changed from _0.3.0_ to _0.4.0_

####

#4

Updated by Jim Nelson 5 months ago

Reported at https://bugs.launchpad.net/geary/+bug/1190249

####

#5

Updated by Jim Nelson 3 months ago

  * **Target version** changed from _0.4.0_ to _0.5.0_

####

#6

Updated by Timo Kluck 3 months ago

I fixed this in https://gitorious.org/geary/geary/commits
/redmine_6070_support-special-use-extension, deleting any reference to XLIST.
This works for gmail; I'm not sure what else to test? Have apple (who started
with xlist) switched to special-use too?

####

#7

Updated by Charles Lindsay 3 months ago

  * **Status** changed from _Open_ to _Review_

####

#8

Updated by Jim Nelson 3 months ago

  * **Status** changed from _Review_ to _Open_

Timo, I don't think we can drop XLIST quite yet; while Gmail has deprecated
it, they haven't fully embraced SPECIAL-USE yet either. (They don't even list
it in their CAPABILITY results, although they still name XLIST.) XLIST also
returns translated folder names, which some of our users rely on.

My thinking at this point goes like this:

  * Geary continues to use XLIST if the server reports it in its CAPABILITY
  * Geary looks for the XLIST **and** SPECIAL-USE flags no matter if XLIST or LIST is used to fetch them
  * Since SPECIAL-USE's flags are named a little differently than XLIST's, give SPECIAL-USE's names precedence (in particular "\All" vs. "\AllMail" and "\Flagged" vs. "\Starred")

RFC 6154 includes things like listing only special folders and
creating/manipulating them, but we don't need any of that at this time.



--- Bug imported by chaz@yorba.org 2013-11-21 20:24 UTC  ---

This bug was previously known as _bug_ 6070 at http://redmine.yorba.org/show_bug.cgi?id=6070

Unknown milestone "unknown in product geary. 
   Setting to default milestone for this product, "---".
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.
Resolution set on an open status.
   Dropping resolution 

Comment 1 Charles Lindsay 2014-01-15 23:20:00 UTC
I believe the work here was mostly already done.  I've got a small patch at wip/special-use-714103 for the rest.  Basically, we were already detecting the special folder types properly, we just weren't creating the appropriately typed folder objects in the "other" account case.
Comment 2 Charles Lindsay 2014-01-15 23:41:27 UTC
Closed in commit 55b5ecd.