Commit Graph

19 Commits

Author SHA1 Message Date
90cab02d62
Enforce strict types and final class in User model. 2023-06-28 23:46:16 +06:00
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
cf449eb8e2
Add SoftDeletes feature to User model. 2023-06-28 23:05:31 +06:00
fcf7cfa584
This commit introduces a MySQL container and an Adminer container to the docker-compose.yml file. The dependencies list was also updated, swapping the 'app' and 'db' listings to ensure the correct start-up order. An additional MySQL configuration file was added to mitigate heavy CPU usage. A new .gitignore file is also introduced to avoid unintended inclusion of database files in version control. 2023-06-28 21:43:39 +06:00
a35b8db281
Add captcha image generation functionality. 2023-06-28 17:29:56 +06:00
81635b4efa
This commit adds an ImageManager class that handles the creation of Image instances. It implements an ImageManagerContract, thereby adhering to set guidelines for the creation of captchas. The ImageManager class contains a createImage method capable of creating new instances of Image, allowing for increased flexibility and consistency in CAPTCHA image generation. 2023-06-28 17:26:15 +06:00
c1cf5a1ae9
This change introduces ImageLines, an interface for adding randomized lines to captcha images for enhanced security. The interface has been implemented in the Lines class. The goal is to randomize lines on captcha images to prevent bot reads. 2023-06-28 17:24:41 +06:00
f2ecdfcf97
This commit adds an Image interface and implementation that will be used in the Captcha generation process. The Image object includes methods for manipulating an image, such as adding text, inserting a background, and adding a line. These methods will provide the necessary functionalities for generating a Captcha. 2023-06-28 17:22:19 +06:00
f6669e93dc
Added config for captcha. 2023-06-28 17:17:44 +06:00
00177a134e
Introduced ServiceResult and ServiceResultError interfaces, and respective classes with related methods. These changes were necessary to add and handle service results throughout the app. We now have a standard way to return and handle both successes and errors from our services. This leads to cleaner, clearer, and more maintainable code. 2023-06-28 14:36:51 +06:00
20fbdd7a34
The PHP version in the composer.lock file has been updated from version 8.1 to 8.2. 2023-06-28 14:05:31 +06:00
e189137f6a
Added channel deprecations. 2023-03-10 21:04:26 +06:00
3ddfb77508
Changed php 8.1 to 8.2. 2023-03-09 23:20:34 +06:00
f49cc60f9a
Renamed route api to route api v1. 2023-03-05 20:42:09 +06:00
587679a33c
Removed route examples. 2023-03-05 20:26:41 +06:00
795945326e
Removed the welcome template. 2023-03-05 20:24:03 +06:00
15225e860c
Install Laravel. 2023-03-05 20:14:04 +06:00
5545a3e1c5
Added the .idea folder to ignore. 2023-03-05 19:50:17 +06:00
Leonid Nikitin
da9a0d7f42 Initial commit 2023-03-05 19:43:37 +06:00