service-captcha/app
Leonid Nikitin 1facb19efb
Refactor Role.php for improved code clarity.
The Role class in app/Models has been refactored to improve readability and maintainability. The 'slug' field was replaced with 'code' for consistency with the rest of the codebase. In addition, the 'isRemove' and 'isAdmin' methods were rewritten using new 'Attribute' Eloquent cast. This refactor enhances the code's clarity, promotes better comprehension, and clears redundant code comments.
2023-07-12 23:42:29 +06:00
..
Captcha Add captcha image generation functionality. 2023-06-28 17:29:56 +06:00
Console Added console command to add user with admin role. 2023-07-02 16:17:18 +06:00
Contracts A new method 'isError' has been introduced to the ServiceResult interface and its implementation. This change was made to improve readability and logic. Now instead of checking if the result is not successful, we can directly check if it's an error using isError method. This improves the code clarity. 2023-07-06 22:31:39 +06:00
Dto Added the ability to save user settings. 2023-07-10 21:42:55 +06:00
Enums Added the ability to save user settings. 2023-07-10 21:42:55 +06:00
Exceptions Added console command to add user with admin role. 2023-07-02 16:17:18 +06:00
Helpers Added the ability to save user settings. 2023-07-10 21:42:55 +06:00
Http A new middleware UserLocale.php has been added. This middleware sets the language locale based on each user's preference. It operates by checking if the user's preferred language is set during the request cycle and if so, it changes the app's locale accordingly. This feature facilitates personalization by displaying the app in a user's preferred language. 2023-07-10 21:44:00 +06:00
Models Refactor Role.php for improved code clarity. 2023-07-12 23:42:29 +06:00
Providers Extended rate limiting functionality within the RouteServiceProvider to limit the login requests. Now the application limits the number of requests both per IP address and per email. This will drastically improve security by minimizing automated spam and brute-force attack attempts. 2023-07-06 10:50:15 +06:00
Repositories Made authorization. 2023-07-06 10:48:32 +06:00
ServiceResults A new method 'isError' has been introduced to the ServiceResult interface and its implementation. This change was made to improve readability and logic. Now instead of checking if the result is not successful, we can directly check if it's an error using isError method. This improves the code clarity. 2023-07-06 22:31:39 +06:00
Services Added the ability to save user settings. 2023-07-10 21:42:55 +06:00
View/Components Added the ability to save user settings. 2023-07-10 21:42:55 +06:00