Ring doesn't warn user that his/her username is invalid
Issue generated from Tuleap's migration script. Originally submitted by: Nicolas Juneau (njuneau)
Summary
The blockchain was apparently lost after the upgrade to 1.0. Hence, all users must re-register their user name if they used "ns.ring.cx" as a name service (by default). Hence, it is impossible to call any user by their user name if they didn't re-register it.
However, gnome-ring doesn't warn the user that his/her username is no longer valid. And the UI doesn't provide a control to edit such a user name unless the account is unlinked manually (see "Workaround" section)
Environment
* OS : Gentoo GNU/Linux, kernel 4.12.5
* Daemon : ring-daemon build from 20170803
* Client : gnome-ring build from 20170803
* Also reproduced with a different version on Arch
Steps to reproduce
- Have a Ring account that possesses a user name no longer registered on ns.ring.cx
- Start gnome-ring
- No warning will be emitted
- Go to "Settings > Account > General"
- The user name field will be there, but it will not be editable
Expected results
* gnome-ring should warn the user if the user name is no longer valid
* The user name field should be editable in that case
Workaround
Warnings:
* You will loose your name service cache after these steps
* Remember your user name before deleting it from the config files
* You need your account password to re-register
- Close Ring
- Delete the contents of ~/.cache/ring
- Open ~/.config/ring/dring.yml
- Remove the line where it says "Account.registeredName"
- Re-open Ring
- Go into "Settings > Account > General"
- Input your user name
- Input your password
- Confirm registration
This should get your account back to a working state.