[Jitera] Untitled
Created by: akuita
This pull request is created by JITERA
Description
[BL] Resend confirmation email
| file | name |
|---|---|
| /app/controllers/api/users_controller.rb | Add "resend_confirmation_email" action to UsersController |
| /app/models/user.rb | Add method to find user by email and check email confirmation status |
| /app/models/email_confirmation.rb | Add method to find or create a confirmation token |
| /app/mailers/devise_mailer.rb | Add method to send confirmation email with token |
[BL] User registration
| file | name |
|---|---|
| /app/controllers/api/users_registrations_controller.rb | Implement user registration logic in UsersRegistrationsController |
| /app/models/user.rb | Ensure User model supports registration logic |
| /app/models/email_confirmation.rb | Support token generation and confirmation in EmailConfirmation model |
| /app/mailers/devise_mailer.rb | Implement method to send confirmation email |
[BL] Secure password storage
| file | name |
|---|---|
| /app/models/user.rb | Implement secure password hashing in User model |
| /app/controllers/api/users_registrations_controller.rb | Ensure secure password handling in user registration |
| /app/controllers/api/users_passwords_controller.rb | Ensure secure password handling in password update |
[BL] Email confirmation
| file | name |
|---|---|
| /app/controllers/api/users_verify_confirmation_token_controller.rb | Implement email confirmation logic in UsersVerifyConfirmationTokenController |
| /app/models/email_confirmation.rb | Add method to find and validate confirmation token |
| /app/models/user.rb | Add method to update email confirmation status |
| /app/controllers/api/users_controller.rb | Implement email confirmation logic in UsersController |
[BL] Integration with password management tools
| file | name |
|---|---|
| /app/controllers/api/users_passwords_controller.rb | Implement validate_password_params method to ensure password complexity |
| /app/models/user.rb | Implement password complexity compatibility check |
| /config/initializers/doorkeeper.rb | Configure Doorkeeper for password management tool compatibility |
| /config/routes.rb | Ensure API routes are compatible with password management tools |
| /app/controllers/api/users_registrations_controller.rb | Provide necessary API endpoints for password management tool integration |
| /app/controllers/swagger_controller.rb | Update Swagger documentation for password management tool integration |
[API] Secure Password Storage
| file | name |
|---|---|
| /app/controllers/api/users_registrations_controller.rb | Add "store_password" action to "UsersRegistrationsController" to handle password storage |
| /config/routes.rb | Add route for "store_password" action in "UsersRegistrationsController" |
[API] Email Confirmation
| file | name |
|---|---|
| /app/controllers/api/users_controller.rb | Add "confirm_email" action to "UsersController" to handle email confirmation |
| /config/routes.rb | Add route for email confirmation |
[API] Resend Confirmation Email
| file | name |
|---|---|
| /app/controllers/api/users_verify_confirmation_token_controller.rb | Add resend_confirmation action to UsersVerifyConfirmationTokenController |
| /config/routes.rb | Add route for resend_confirmation action |
| /app/controllers/api/users_controller.rb | Add "resend_confirmation" action to "UsersController" |
[API] User Registration
| file | name |
|---|---|
| /app/controllers/api/users_registrations_controller.rb | Add "create" action to "UsersRegistrationsController" to handle user registration |
| /config/routes.rb | Add route for user registration |
| /app/models/user.rb | Ensure User model has necessary validation and uniqueness checks |
| /app/controllers/api/base_controller.rb | Add error handling methods for user registration in BaseController |
[BL] Check email availability
| file | name |
|---|---|
| /app/controllers/api/users_registrations_controller.rb | Add "check_email_availability" action to "UsersRegistrationsController" |
| /config/routes.rb | Add route for "check_email_availability" action |
[API] Check Email Availability
| file | name |
|---|---|
| /app/controllers/api/users_registrations_controller.rb | Add "check_email_availability" action to "UsersRegistrationsController" |
| /config/routes.rb | Add route for "check_email_availability" action |
[API] Confirm Email Address
| file | name |
|---|---|
| /app/controllers/api/users_controller.rb | Add "confirm_email" action to "UsersController" to handle email confirmation |
| /config/routes.rb | Add route for email confirmation |
| /app/models/email_confirmation.rb | Add method to find token and check expiration |
[API] Send Confirmation Email
| file | name |
|---|---|
| /app/controllers/api/users_controller.rb | Add "send_confirmation" action to "UsersController" |
| /config/routes.rb | Add route for "send_confirmation" action in "UsersController" |
[API] Integration with Password Management Tools
| file | name |
|---|---|
| /app/controllers/api/users_controller.rb | Add "integrate_password_tools" action to "UsersController" |
| /config/routes.rb | Define route for "integrate_password_tools" action in "UsersController" |