-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RUBY-3433: Tech Debt : remove devise and cancancan gems + remove fron…
…t-office users from wcr engine (#1583) * [RUBY-3433] Remove devise gem and dependencies + refactor tests to accommodate these changes * [RUBY-3433] moving TransientRegistrationsController from engine to back-office * [RUBY-3433] removing cancacan gem and permission check code associated with user permissions * [RUBY-3433] Moving email tracking analyics tests to back-office * [RUBY-3433] refactoring prepare_for_payment method not to require user object to be passed in * [RUBY-3433] refactoring FlowPermissionChecksService not to require user object to be passed in * [RUBY-3433] refactoring front-office related services not to require user object to be passed in * [RUBY-3433] removing front-office user model * [RUBY-3433] moving conviction sign-offs related tests to back-office * [RUBY-3433] refactoring permission check not to check on front-office user permissions * [RUBY-3433] refactoring CertificateGeneratorService to make requester parameter optional * [RUBY-3433] Refactor permission check to make user parameter optional * [RUBY-3433] updating readme * [RUBY-3433] Refactor payment setup in controllers to include current user parameter * [RUBY-3433] code styling adjustments * [RUBY-3433] adding nocov tags to the code that does not get executed * [RUBY-3433] Refactor current_user method in application_controller.rb * [RUBY-3433] deleting redundant user factory * [RUBY-3433] removing redundant method
- Loading branch information
Showing
53 changed files
with
248 additions
and
1,386 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 0 additions & 18 deletions
18
app/controllers/waste_carriers_engine/transient_registrations_controller.rb
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Additional translations at https://github.com/plataformatec/devise/wiki/I18n | ||
|
||
en: | ||
activemodel: | ||
errors: | ||
models: | ||
waste_carriers_engine/renewal_lookup_validatable: | ||
already_confirmed: "Email was already confirmed, please try signing in" | ||
confirmation_period_expired: "Email needs to be confirmed within %{period}, please request a new one" | ||
expired: "Password reset token has expired, please request a new one" | ||
not_found: "Password reset token not found" | ||
not_locked: "Account was not locked" | ||
not_saved: | ||
one: "1 error prohibited this %{resource} from being saved:" | ||
other: "%{count} errors prohibited this %{resource} from being saved:" |
Oops, something went wrong.