Commit Graph

9 Commits

Author SHA1 Message Date
kor-elf 4083e2ec5e Added the ability to manage a group of users. 2023-07-16 19:21:09 +06:00
kor-elf 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
kor-elf 907bac5586 Added the ability to save user settings. 2023-07-10 21:42:55 +06:00
kor-elf 6b2aff910b Added console command to add user with admin role. 2023-07-02 16:17:18 +06:00
kor-elf 9b56522f02 A new 'locale' field of string type with a maximum length of 2 characters and a default value as 'ru' has been added to the users table through a migration file. This field has been also added to the User model. The addition of the 'locale' field will allow users to specify their preferred language in their profile settings. 2023-06-29 00:06:27 +06:00
kor-elf 90cab02d62 Enforce strict types and final class in User model. 2023-06-28 23:46:16 +06:00
kor-elf 34319e5724 Additional fields 'is_active' and 'timezone' have been added to the users table in the database migrations and the User model. This update allows us to better manage user's activation status and time zone preferences. 'is_active' field, a boolean field, signifies the active status of a user and has been set to default to false. 'timezone', an optional string, will store user's preferred timezone. 2023-06-28 23:44:06 +06:00
kor-elf cf449eb8e2 Add SoftDeletes feature to User model. 2023-06-28 23:05:31 +06:00
kor-elf 15225e860c Install Laravel. 2023-03-05 20:14:04 +06:00