[Evolution] Fun with shared folders

Not Zed notzed@ximian.com
Wed, 01 Dec 2004 09:53:56 +0800


--=-HIQEqvP8zJNlbEeZAaQw
Content-Type: multipart/alternative; boundary="=-Btr4RhmvFxyWzFoIhwYa"


--=-Btr4RhmvFxyWzFoIhwYa
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

On Tue, 2004-11-30 at 07:54 -0400, Patrick O'Callaghan wrote:

> I use Evo (2.0.2 on Fedora Core 3) with a Cyrus IMAP server. The server
> admin recently created a couple of shared folders which I wanted to
> access. This is what happened:
> 
> I went to "Tools->Suscribe to Folders" and selected the IMAP server. I
> got the usual folder list, plus the entry "shared" (which is actually a
> separate namespace on the server). However when I ticked the selection
> box Evo complained that it couldn't subscribe to that folder.
> 
> Fair enough. I looked back over the mailing list and found a thread a
> few months ago in which NotZed suggested creating a new account in order
> to override the default server namespace. I went to Tools->Settings and
> created the new account. All the config info was the same as my existing
> account except that I selected "Override server namespace" and entered
> "shared." (note the ".") in the text box.

Well one problem is we simply do not support multiple namespaces at
present, so some of this isn't expected to work.  If you find something
that works enough, thats about it.

> The "shared" folder now appeared in the folder list panel for the new
> account with the new shared folders beneath it. I didn't have to
> subscribe to it. So far so good.
> 
> However ...
> 
> 1) The folder panel now included all of my previously subscribed folders
> from the original account as well as the new "shared" ones. In other
> words, the server namespace wasn't overridden but added to. Not a big
> deal in this case, but confusing.

Hmm, i suspect this is because the subscriptions list is independent of
the namespace setting - it is stored on the server, and the server is
still sending the 'old' subscriptions, since they tend to send them all
even when other settings change.  And the namespace stuff is really only
an extension to the full path name of folders anyway.

> 2) My normal account config for this server vanished from the folder
> panel, though not from the accounts config dialogue. Evo doesn't seem to
> like having two different views of the same account on the same server.

So you setup two accounts right?  Hmm, sounds like a bug, perhaps it is
key'd off the account name rather than the account-id.

> I decided to delete the new account and rewind to my earlier state. On
> doing this, my normal account reappeared in the folder panel (though
> only after restarting Evo).
> 
> But ...
> 
> 1) The shared folders now appear in the folder panel and are readable.
> Note that this is supposedly my original config. I have "show only
> subscribed folders" deselected.

Interesting, its probably saved the list of subscribed folders, or at
least since they were discovered through other means they've been
remembered.  The namespace thing really only affects listing the
folders, once you have the list they are essentially just path elements.

> 2) When I go to "Tools->Subscribe to Folders" Evo says "this store does
> not support subscriptions, or they are not enabled". Same thing happens
> if "show only subscribed folders" is on or off.

If you change that setting you need to restart evolution for it to have
an effect (still - shitty to fix bug).

> Result: I can now see the shared folders from my normal account, but I
> can't unsubscribe from anything.

Try the restart thing after enabling subscriptions.

But if it can't list the folders, then it wont give you the opportunity
to unsubscribe from them(!), so uh, well see how it goes.

-- 

Michael Zucchi <notzed@ximian.com>
"Evolution - Mostly Practiced By
Dumb People"
Novell's Evolution and Free Software
Developer

--=-Btr4RhmvFxyWzFoIhwYa
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.2.3">
</HEAD>
<BODY>
On Tue, 2004-11-30 at 07:54 -0400, Patrick O'Callaghan wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">I use Evo (2.0.2 on Fedora Core 3) with a Cyrus IMAP server. The server</FONT>
<FONT COLOR="#000000">admin recently created a couple of shared folders which I wanted to</FONT>
<FONT COLOR="#000000">access. This is what happened:</FONT>

<FONT COLOR="#000000">I went to &quot;Tools-&gt;Suscribe to Folders&quot; and selected the IMAP server. I</FONT>
<FONT COLOR="#000000">got the usual folder list, plus the entry &quot;shared&quot; (which is actually a</FONT>
<FONT COLOR="#000000">separate namespace on the server). However when I ticked the selection</FONT>
<FONT COLOR="#000000">box Evo complained that it couldn't subscribe to that folder.</FONT>

<FONT COLOR="#000000">Fair enough. I looked back over the mailing list and found a thread a</FONT>
<FONT COLOR="#000000">few months ago in which NotZed suggested creating a new account in order</FONT>
<FONT COLOR="#000000">to override the default server namespace. I went to Tools-&gt;Settings and</FONT>
<FONT COLOR="#000000">created the new account. All the config info was the same as my existing</FONT>
<FONT COLOR="#000000">account except that I selected &quot;Override server namespace&quot; and entered</FONT>
<FONT COLOR="#000000">&quot;shared.&quot; (note the &quot;.&quot;) in the text box.</FONT>
</PRE>
</BLOCKQUOTE>
Well one problem is we simply do not support multiple namespaces at present, so some of this isn't expected to work.&nbsp; If you find something that works enough, thats about it.
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">The &quot;shared&quot; folder now appeared in the folder list panel for the new</FONT>
<FONT COLOR="#000000">account with the new shared folders beneath it. I didn't have to</FONT>
<FONT COLOR="#000000">subscribe to it. So far so good.</FONT>

<FONT COLOR="#000000">However ...</FONT>

<FONT COLOR="#000000">1) The folder panel now included all of my previously subscribed folders</FONT>
<FONT COLOR="#000000">from the original account as well as the new &quot;shared&quot; ones. In other</FONT>
<FONT COLOR="#000000">words, the server namespace wasn't overridden but added to. Not a big</FONT>
<FONT COLOR="#000000">deal in this case, but confusing.</FONT>
</PRE>
</BLOCKQUOTE>
Hmm, i suspect this is because the subscriptions list is independent of the namespace setting - it is stored on the server, and the server is still sending the 'old' subscriptions, since they tend to send them all even when other settings change.&nbsp; And the namespace stuff is really only an extension to the full path name of folders anyway.
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">2) My normal account config for this server vanished from the folder</FONT>
<FONT COLOR="#000000">panel, though not from the accounts config dialogue. Evo doesn't seem to</FONT>
<FONT COLOR="#000000">like having two different views of the same account on the same server.</FONT>
</PRE>
</BLOCKQUOTE>
So you setup two accounts right?&nbsp; Hmm, sounds like a bug, perhaps it is key'd off the account name rather than the account-id.
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">I decided to delete the new account and rewind to my earlier state. On</FONT>
<FONT COLOR="#000000">doing this, my normal account reappeared in the folder panel (though</FONT>
<FONT COLOR="#000000">only after restarting Evo).</FONT>

<FONT COLOR="#000000">But ...</FONT>

<FONT COLOR="#000000">1) The shared folders now appear in the folder panel and are readable.</FONT>
<FONT COLOR="#000000">Note that this is supposedly my original config. I have &quot;show only</FONT>
<FONT COLOR="#000000">subscribed folders&quot; deselected.</FONT>
</PRE>
</BLOCKQUOTE>
Interesting, its probably saved the list of subscribed folders, or at least since they were discovered through other means they've been remembered.&nbsp; The namespace thing really only affects listing the folders, once you have the list they are essentially just path elements.
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">2) When I go to &quot;Tools-&gt;Subscribe to Folders&quot; Evo says &quot;this store does</FONT>
<FONT COLOR="#000000">not support subscriptions, or they are not enabled&quot;. Same thing happens</FONT>
<FONT COLOR="#000000">if &quot;show only subscribed folders&quot; is on or off.</FONT>
</PRE>
</BLOCKQUOTE>
If you change that setting you need to restart evolution for it to have an effect (still - shitty to fix bug).
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Result: I can now see the shared folders from my normal account, but I</FONT>
<FONT COLOR="#000000">can't unsubscribe from anything.</FONT>
</PRE>
</BLOCKQUOTE>
Try the restart thing after enabling subscriptions.<BR>
<BR>
But if it can't list the folders, then it wont give you the opportunity to unsubscribe from them(!), so uh, well see how it goes.<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- <BR>
<TABLE CELLSPACING="6">
<TR>
<TD>
<IMG SRC="cid:1101865355.3532.23.camel@lostzed.mmc.com.au" WIDTH="48" HEIGHT="48" ALIGN="top" ALT="" BORDER="0">
</TD>
<TD>
<B>Michael Zucchi</B> &lt;<A HREF="mailto:notzed@ximian.com">notzed@ximian.com</A>&gt;<BR>
<I>&quot;Evolution - Mostly Practiced By Dumb People&quot;</I><BR>
<TT>Novell's <A HREF="http://codeblogs.ximian.com/blogs/evolution/">Evolution</A> and <A HREF="http://www.gnu.org/philosophy/free-sw.html">Free Software</A> Developer</TT>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

--=-Btr4RhmvFxyWzFoIhwYa--

--=-HIQEqvP8zJNlbEeZAaQw
Content-ID: <1101865355.3532.23.camel@lostzed.mmc.com.au>
Content-Disposition: attachment; filename=zed-48.small.jpg
Content-Type: application/octet-stream; name=zed-48.small.jpg
Content-Transfer-Encoding: base64

/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAA0JCgsKCA0LCgsODg0PEyAVExISEyccHhcgLikxMC4p
LSwzOko+MzZGNywtQFdBRkxOUlNSMj5aYVpQYEpRUk//2wBDAQ4ODhMREyYVFSZPNS01T09PT09P
T09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0//wAARCAAwADADASIA
AhEBAxEB/8QAGQAAAwEBAQAAAAAAAAAAAAAAAwQFAgYB/8QALhAAAgEDAgUEAQIHAAAAAAAAAQID
BBEhABIFEzFBURQigZEGYXE0UmJyobHx/8QAFwEBAQEBAAAAAAAAAAAAAAAABAMCAf/EAB0RAAID
AQEAAwAAAAAAAAAAAAABAgMREjEiMkH/2gAMAwEAAhEDEQA/AK8sEEq35nLaP3e1cW/m8kfdtAfh
824L7I1YFrnaRt8+L40U1ECxiGjLzSCocRYuQhubW7jIxrcFZRzU7q3sh3e8deWvX67/AKX0Xegi
TixevoZdxjhnkk2xBj2Z7DIA74Gs+kgpoaamPLllqE5yPuO4i1+nix7+NS3qatikPNZa+idmjLGx
YE+7r16DHgnTEtRWTVIraiknUrE42mJvYTY/IyfjT66YZjNzkzSSRTrEYTuz0tbpg6oV1V62op5G
3QhV9yn+7t8DXPDiZlaepq0AYIBGEFtuRc2/WwH7aroXho98jNG5RVa4wDYNbzqNsefqdcnmM0J0
pp1kKyRywsdpU46EX/19aT4ioWgmanATG0Mpvcd89750arjMg2L1DfQtnSixTMW5hO0ZBZsEg5t5
xodU+8fhit7jZz4ChQWS99U1lC0H8RNZx74xK2DkAG48ePOtU0UUsQLC6kki/wC+jqtMpeLapjYg
XJyNLcxyr1EUHaWaEspHXPbXVcNkUcCUOjvNv2kAdAehOkVo4LrDEFG9hcnPe+rlUsNNSenUIWkk
ZHfbflqFC475IvqdnyWaRsgl6MNwysp13y8uLG3cTk6LBwCmliFR6lw7XBKdMdj50t+X8RkWOnhV
rbnLfX/dUPx1ivAoTJnmFm+CdIVEIx6XpFQSZxVVH6KrkRRaAudn9I8HXhniSPcyC/ntqzxOjMNS
6uNyMbqT0I1Ogoad6pF5S23C4t1zqOa8Y7xbEDSxmesguHDId4DKQDjGqMqHmNLGygFnujAZF8DF
820/xYpQ8RWcRLtkBINuh6Ef5B0tNRH0L7UEjGzCVTZirDBGfJ+NasrcMf4CnLp6f//Z


--=-HIQEqvP8zJNlbEeZAaQw--