Commit Graph

13 Commits

Author SHA1 Message Date
kor-elf 172a9460df Fix https on prod.
Added the force_https parameter to env APP_FORCE_HTTPS. This will force https to be enabled.
2023-12-09 00:55:56 +06:00
kor-elf b5db913c24 Add demo mode restrictions to user operations.
Added functionalities to restrict certain user operations like update, password change, and deletion in demo mode. This is done to prevent demo users from modifying crucial data. Helper methods are created for standard re-usable checks. Also, Blade directive is added for frontend UI demo checks.
2023-12-05 00:53:04 +06:00
kor-elf 9221e089dd Revived API POST /captcha/{captcha_uuid}.
Receiving captcha information for validation.
2023-11-26 22:42:22 +06:00
kor-elf 520a3ba068 Revived API POST /api/v1/captcha.
Captcha validation has been adjusted.
2023-11-26 15:09:42 +06:00
kor-elf c3e4c68a41 Add CryptographyContract and its implementation
Added a new CryptographyContract interface and CryptographyString class that implements this contract. The CryptographyContract encapsulates the encryption and decryption of strings, enforcing these operations to be standardized across the application. The CryptographyString class uses Laravel's native crypt facades to perform these actions. In the AppServiceProvider, CryptographyContract is now bound to CryptographyString class, allowing the container to automatically resolve the dependencies wherever the interface is type hinted.
2023-09-19 14:29:01 +06:00
kor-elf 27046e6674 Revived API /api/v1/captcha.
Now a new captcha is created to check for a bot.
2023-09-19 14:27:33 +06:00
kor-elf 742b0feaf0 Add captcha tokens management. 2023-08-22 00:15:35 +06:00
kor-elf 4083e2ec5e Added the ability to manage a group of users. 2023-07-16 19:21:09 +06:00
kor-elf 5d61ab425e 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
kor-elf 0073dffc28 Implemented password validation rules in the AppServiceProvider class. Ensured passwords should be at least 8 characters long, contain a mix of uppercase, lowercase, and special characters. These rules apply only for the production environment. 2023-07-02 15:21:01 +06:00
kor-elf a35b8db281 Add captcha image generation functionality. 2023-06-28 17:29:56 +06:00
kor-elf f49cc60f9a Renamed route api to route api v1. 2023-03-05 20:42:09 +06:00
kor-elf 15225e860c Install Laravel. 2023-03-05 20:14:04 +06:00