-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor devise integration #914
Conversation
This reverts commit bb39d03.
- Use scoped users - Use the named route helpers instead of hardcoded paths
# Conflicts: # app/controllers/registrant/contacts_controller.rb # config/routes.rb
# Conflicts: # spec/features/registrar/sign_in/mobile_id_spec.rb
Otherwise it conflicts with Devise
e30736e
to
20b7571
Compare
20b7571
to
a651ac8
Compare
@maciej-szlosarczyk The rest is old code, I only changed Devise-related things. All other things should be done separately. |
@artur-beljajev, please fix the |
@maciej-szlosarczyk What is the point fixing PaperTrail-related minor imperfections if it's not yet clear, if we will continue using it at all? #536 |
That issue was opened a year ago, requires infrastructure changes and is not touched since March. I can't imagine it will become a priority within the next 12 months, given that PaperTrail generally works for us and is continuously supported. At least not bigger than auction center and other on-going developments, upgrading Rails version, Ruby version or fixing bugs and improving test coverage. |
I would still do a proper refactoring of PaperTrail part in a separate ticket. I don't see any value doing such changes now. |
If you say so, let's do that 👍 |
|
"No Poll view in registrars' portal" I need additional information about the bug. It is not clear whether you see no "polls" menu on first login, or after you switch a user. |
I checked it on master, and didn't notice the behavior you described. Switching a user leads to the following screen: http://prntscr.com/kjrteg (if this is what you meant by "switching the registrar"). |
initial login now takes user to poll message view, but clicking on eid registrar logo takes user to this view: /registrar https://user-images.githubusercontent.com/7734747/44218934-6c9fcd80-a183-11e8-80e7-9c98e5c3adda.png instead of this: /registrar/poll |
Fixed. |
Changes:
users.password
is renamed tousers.plain_text_password
because of a conflict with DeviseTest: