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 709824 - support server passwords
support server passwords
Status: RESOLVED FIXED
Product: polari
Classification: Applications
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Polari maintainers
Polari maintainers
Depends on:
Blocks:
 
 
Reported: 2013-10-10 14:13 UTC by Jonh Wendell
Modified: 2016-06-21 18:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (5.81 KB, patch)
2013-10-11 18:53 UTC, Jonh Wendell
none Details | Review
On-demand server authentification (18.77 KB, image/png)
2015-10-23 22:57 UTC, Florian Müllner
  Details
entryArea: Don't grab focus unconditionally when becoming sensitive (2.22 KB, patch)
2016-02-02 22:55 UTC, Florian Müllner
committed Details | Review
utils: Add keyring helper methods (2.55 KB, patch)
2016-02-02 22:55 UTC, Florian Müllner
committed Details | Review
chatroomManager: Handle authentication channels (8.83 KB, patch)
2016-02-02 22:55 UTC, Florian Müllner
committed Details | Review
roomList: Allow users to provide a server password (7.93 KB, patch)
2016-02-02 22:55 UTC, Florian Müllner
committed Details | Review

Description Jonh Wendell 2013-10-10 14:13:57 UTC
ssia
Comment 1 Jonh Wendell 2013-10-11 18:53:54 UTC
Created attachment 257047 [details] [review]
proposed patch

it adds a new entry in the connection dialog.

while the UI team can think in a better way to handle that, I think it doesn't hurt if we provide that option so that more users (like me) can use polari in a daily basis and thus provide more feedback - and hopefully patches :)
Comment 2 Guillaume Desmottes 2013-10-12 18:42:10 UTC
Any reason to re-implement the accounts UI? Why not just use GOA's UI?
Comment 3 Kunaal Jain 2015-10-22 15:55:29 UTC
Any Updates on this? Do we want this or not? I think if we want more users to use this on daily basis, we should consider this bug.
Comment 4 Florian Müllner 2015-10-23 22:57:14 UTC
Created attachment 313997 [details]
On-demand server authentification

(In reply to Kunaal Jain from comment #3)
> Do we want this or not?

Support servers that require authentification: yes
Add it as rarely needed option to the dialog: no

(Telling users to leave a field alone unless they are sure it's needed (as the Connection Settings in the Online Accounts panel does) is really a red flag that a better solution is needed IMHO)

This has actually come up a couple of days ago[0], and I think we have a workable idea - attached a screenshot of a local proof-of-concept patch.

[0] https://bugzilla.gnome.org/show_bug.cgi?id=756344#c9
Comment 5 Adam Williamson 2015-11-05 20:28:19 UTC
'authentification' is not a word. 'authentication' is.
Comment 6 Florian Müllner 2015-11-05 20:49:55 UTC
(In reply to Adam Williamson from comment #5)
> 'authentification' is not a word. 'authentication' is.

Fixed locally, thanks!
Comment 7 Florian Müllner 2016-02-02 22:55:40 UTC
Created attachment 320297 [details] [review]
entryArea: Don't grab focus unconditionally when becoming sensitive

Our current idea for supporting server passwords is to allow users to
enter a password on authentication errors using the header popovers in
the room list. As this may happen while the active room is connecting,
we should make sure to not steal the focus while the user is typing
her password.
Comment 8 Florian Müllner 2016-02-02 22:55:47 UTC
Created attachment 320298 [details] [review]
utils: Add keyring helper methods

We will soon start to support server passwords, which should be stored
in the user's keyring, so add appropriate helper methods.
Comment 9 Florian Müllner 2016-02-02 22:55:53 UTC
Created attachment 320299 [details] [review]
chatroomManager: Handle authentication channels

Currently the only way to use servers that require a password with
polari is to set up the password elsewhere (Settings, Empathy, ...)
and rely on empathy's auth client to handle the actual authentication.
In order to support server passwords ourselves, we need to be able
to handle telepathy's password authentication mechanism before we offer
the user a way to specify the password.
Comment 10 Florian Müllner 2016-02-02 22:55:59 UTC
Created attachment 320300 [details] [review]
roomList: Allow users to provide a server password

Now that we support password authentication, allow the user to enter the
server password in the header popover on authentication errors instead of
merely pointing out the error.
Comment 11 Florian Müllner 2016-02-10 23:20:45 UTC
Attachment 320297 [details] pushed as 8eb6f94 - entryArea: Don't grab focus unconditionally when becoming sensitive
Attachment 320298 [details] pushed as b3d7f44 - utils: Add keyring helper methods
Attachment 320299 [details] pushed as a86f26f - chatroomManager: Handle authentication channels
Attachment 320300 [details] pushed as 17f4efa - roomList: Allow users to provide a server password
Comment 12 Jonh Wendell 2016-06-21 18:28:47 UTC
Hi Florian.

How's that supposed to work?

I have an IRC proxy (bip, which requires a password) + SSH port forwarding.

So, in the custom server dialog I put 'localhost:10000' (which is the port ssh is listening to).

It stays 'connecting' forever... should it popup for the password? How to debug it?