28 Commits

Author SHA1 Message Date
Marcin-Ramotowski
9bce8b0a46 Improved endpoint to edit task data 2025-03-16 13:55:30 +00:00
Marcin-Ramotowski
8bb71309ea Improved endpoint to edit user data 2025-03-16 13:18:25 +00:00
Marcin-Ramotowski
0cd57c0973 Improved code readability 2025-03-16 11:26:01 +00:00
Marcin-Ramotowski
0e28559149 Changed http code returned after login failed 2025-03-16 08:09:42 +00:00
Marcin-Ramotowski
9f5bee3696 Corrected validation if user have privileges to create admin account 2025-03-16 08:03:15 +00:00
Marcin-Ramotowski
983b787bbb Added default admin account creation if database is empty 2025-03-16 07:38:59 +00:00
Marcin-Ramotowski
abde1ac590 Now hashes are saved to database instead of plaintext passwords 2025-03-16 07:37:46 +00:00
Marcin-Ramotowski
7b6e23be66 Improved access control for task views 2025-03-15 19:58:21 +00:00
Marcin-Ramotowski
796a8faf54 Added possibility to customize error messages 2025-03-15 19:57:51 +00:00
Marcin-Ramotowski
822ca69ccb Corrected error handling during access validation 2025-03-15 19:08:59 +00:00
Marcin-Ramotowski
0171c62650 Refactored code to limit access to other user accounts 2025-03-15 17:15:13 +00:00
Marcin-Ramotowski
b0ad83b9a0 Only admin can edit other users accounts 2025-03-15 16:37:35 +00:00
Marcin-Ramotowski
1661e45e04 Only admin can remove other users accounts 2025-03-15 16:31:30 +00:00
Marcin-Ramotowski
411549d097 Only admin can create admin accounts 2025-03-15 16:27:17 +00:00
Marcin-Ramotowski
157dff8768 Limit access for users to get users details 2025-03-15 16:18:51 +00:00
Marcin-Ramotowski
d7c089aa83 Added blocking not authorized access 2025-03-15 15:29:10 +00:00
Marcin-Ramotowski
c0401a2eb0 Added admin role 2025-03-15 14:54:25 +01:00
Marcin-Ramotowski
c63c785686 Updated code for Flask API container 2025-03-14 22:06:20 +00:00
Marcin-Ramotowski
a9775f4fa5 Created React subproject 2025-03-14 20:44:52 +01:00
Marcin-Ramotowski
764e010203 Moved API code to different directory 2025-03-14 20:42:52 +01:00
Marcin-Ramotowski
0c0eee1f80 Added jwt auth to task views 2025-03-10 17:45:01 +01:00
Marcin-Ramotowski
2790719240 Added endpoint to logout 2025-03-10 17:44:39 +01:00
Marcin-Ramotowski
6c47a18675 Added jwt authorization to api 2025-03-10 17:32:12 +01:00
Marcin-Ramotowski
eb8201d4a1 Created docker environment for API 2023-12-27 11:38:01 +00:00
Marcin-Ramotowski
6846536df8 Translated user headers on english language 2023-12-06 19:26:45 +00:00
Marcin-Ramotowski
9f20a72f98 Enabled track modifications 2023-12-06 19:21:20 +00:00
Marcin-Ramotowski
8be13d0437 Added list of dependencies 2023-12-05 20:59:12 +00:00
Marcin Ramotowski
348eab2f6f Create database models, views for Task, views for User and main file app.py 2023-02-28 00:10:37 +01:00