[Evolution-hackers] Since evolution-alarm-notify asks for passwords

2011-10-19 Thread Milan Crha
Hi,
I cannot find the thread where this was discussed, I'm sorry, but after
few days I found why this behaviour is pretty bad and why the
evolution-alarm-notify didn't ask for passwords. My usecase is pretty
simple, and I believe there are many corporate users with the same
environment: I have entered few calendars which are accessed only when
I'm connected to company vpn, unless they fail. When I login I do not
have the vpn running, thus I'm asked for my passwords, thus I connect to
vpn and then enter it (it's not prefilled, because it's not a reprompt,
though maybe some little change on evolution-mapi could be done - these
are evo-mapi calendars).

My question is whether there can be done any better way of coping with
this, because having the password prompts (there are two pilled,
actually) after each and every login is just a bad experience, from my
point of view.
Bye,
Milan

P.S.: Most likely unrelated, but I see I'm asked for Tasks and Notes
passwords, at least based on the prompts, which should not be needed in
the evolution-alarm-notify, because evolution doesn't support alarms on
these.

___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Since evolution-alarm-notify asks for passwords

2011-10-19 Thread Chenthill
On Wed, 2011-10-19 at 08:24 +0200, Milan Crha wrote:
   Hi,
 I cannot find the thread where this was discussed, I'm sorry, but after
 few days I found why this behaviour is pretty bad and why the
 evolution-alarm-notify didn't ask for passwords. My usecase is pretty
 simple, and I believe there are many corporate users with the same
 environment: I have entered few calendars which are accessed only when
 I'm connected to company vpn, unless they fail. When I login I do not
 have the vpn running, thus I'm asked for my passwords, thus I connect to
 vpn and then enter it (it's not prefilled, because it's not a reprompt,
 though maybe some little change on evolution-mapi could be done - these
 are evo-mapi calendars).
 
 My question is whether there can be done any better way of coping with
 this, because having the password prompts (there are two pilled,
 actually) after each and every login is just a bad experience, from my
 point of view.
Would it not be possible to store the password in gnome-keyring and be
shared. The other providers work this way, alarm-daemon would start the
authenticated calendars if it finds that the passwords is stored
gnome-keyring. It would also check whether the password can be retrieved
between intervals AFAICR.

In case a calendar is marked for alarms and if alarm-daemon was not able
to retrieve the password, would it be a good idea to show a small
warning icon in the panel, which could indicate the issue and mention
that evolution needs to be started in order to retrieve the password ?
Also inform the user that the password needs to be remembered for
alarm-daemon to work fine.


   Bye,
   Milan
 
 P.S.: Most likely unrelated, but I see I'm asked for Tasks and Notes
 passwords, at least based on the prompts, which should not be needed in
 the evolution-alarm-notify, because evolution doesn't support alarms on
 these.
I dont think the earlier behaviour used to be like this. This should be
a bug introduced at some state IMHO.

- Chenthill.
 
 ___
 evolution-hackers mailing list
 evolution-hackers@gnome.org
 To change your list options or unsubscribe, visit ...
 http://mail.gnome.org/mailman/listinfo/evolution-hackers



___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Since evolution-alarm-notify asks for passwords

2011-10-19 Thread Matthew Barnes
On Wed, 2011-10-19 at 08:24 +0200, Milan Crha wrote: 
 I cannot find the thread where this was discussed, I'm sorry, but after
 few days I found why this behaviour is pretty bad and why the
 evolution-alarm-notify didn't ask for passwords. My usecase is pretty
 simple, and I believe there are many corporate users with the same
 environment: I have entered few calendars which are accessed only when
 I'm connected to company vpn, unless they fail. When I login I do not
 have the vpn running, thus I'm asked for my passwords, thus I connect to
 vpn and then enter it (it's not prefilled, because it's not a reprompt,
 though maybe some little change on evolution-mapi could be done - these
 are evo-mapi calendars).
 
 My question is whether there can be done any better way of coping with
 this, because having the password prompts (there are two pilled,
 actually) after each and every login is just a bad experience, from my
 point of view.

(Gesticulating wildly about vaporware...)

One thing I wanted to add after all this account rewrite stuff is done
(maybe for 3.6) is support for VPN state.  My thought was any place in
Evolution where you would enter host and port information there would
also be a check box item with a combo box listing all available VPN
connection names as configured in NetworkManager.

Something like:

   [x] Requires an active VPN connection to [ My Company's VPN |v]

The VPN ID would get stored in the data source's key file.  Then the
backend for that data source would be treated as offline until Network
Manager broadcasts an active VPN connection whose ID matches what you've
selected.  And I believe we're already smart enough to not show password
prompts for offline backends.

I think monitoring NetworkManager (and the other network tools we
support) is going to be another job for the evolution-source-registry
service rather than Evolution, for this very reason you've described.


___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Since evolution-alarm-notify asks for passwords

2011-10-19 Thread Adam Tauno Williams
On Wed, 2011-10-19 at 08:36 -0400, Matthew Barnes wrote:
  My question is whether there can be done any better way of coping with
  this, because having the password prompts (there are two pilled,
  actually) after each and every login is just a bad experience, from my
  point of view.
 (Gesticulating wildly about vaporware...)
 One thing I wanted to add after all this account rewrite stuff is done
 (maybe for 3.6) is support for VPN state.  My thought was any place in
 Evolution where you would enter host and port information there would
 also be a check box item with a combo box listing all available VPN
 connection names as configured in NetworkManager.

+1 +1 +1

That would be awesome [being able to associate an account to either
'general' network status or a specific VPN connection / Network
profile].  I have accounts that only work with the VPN up; and it is
irritating sometimes when Evo insists on trying to access them when no
connectivity is available.

 Something like:
[x] Requires an active VPN connection to [ My Company's VPN |v]
 The VPN ID would get stored in the data source's key file.

+1 + 1 +1

___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Since evolution-alarm-notify asks for passwords

2011-10-19 Thread Milan Crha
On Wed, 2011-10-19 at 08:36 -0400, Matthew Barnes wrote:
 One thing I wanted to add after all this account rewrite stuff is done
 (maybe for 3.6) is support for VPN state.  My thought was any place in
 Evolution where you would enter host and port information there would
 also be a check box item with a combo box listing all available VPN
 connection names as configured in NetworkManager. 

Sounds good, though I'm not using NetworkManager to connect to my VPN.
Again, I do not expect me being the only one :)
Milan

___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Since evolution-alarm-notify asks for passwords

2011-10-19 Thread Milan Crha
On Wed, 2011-10-19 at 16:57 +0530, Chenthill wrote:
 Would it not be possible to store the password in gnome-keyring and be
 shared. The other providers work this way, alarm-daemon would start
 the authenticated calendars if it finds that the passwords is stored
 gnome-keyring. It would also check whether the password can be
 retrieved between intervals AFAICR.

I'll investigate it further, but my point is that I store passwords,
only the connection fails, because no VPN running, and I'm asked for a
password, though the issue is not with password, but with server
reachability. Might be an issue with evolution-mapi itself, maybe it
forces password forget and thus it's lost even in this case. I'll see
what I'll find there.

(It seems like I should investigate first and then bring this on; I'm
sorry).
Bye,
Milan

___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers