60 Commits

Author SHA1 Message Date
Marcin-Ramotowski
e374df55de Added profile view 2025-04-13 18:26:23 +02:00
Marcin-Ramotowski
749a5529f2 Added possibility of set task status in frontend 2025-04-13 16:45:45 +02:00
Marcin-Ramotowski
c5cb336049 Added interceptor to dynamically set CSRF token header 2025-04-13 13:38:43 +02:00
Marcin-Ramotowski
78daea30ac Refactored code for api methods 2025-04-13 13:01:07 +02:00
Marcin-Ramotowski
1ed7f308a3 Started implementation of basic frontend for ToDoList App 2025-04-12 19:49:47 +02:00
Marcin-Ramotowski
7062e14396 Switched to waitress as production server 2025-04-10 21:20:17 +00:00
72f56f9929 Merge pull request 'test-code-refactor' (#1) from test-code-refactor into main 2025-04-10 20:46:20 +00:00
Marcin-Ramotowski
ed8fcedba4 Changed base image for app container to alpine 2025-04-10 20:38:59 +00:00
Marcin-Ramotowski
084e3868f9 Changed default port to 80 and added possibility of setup app port using TODOLIST_PORT variable 2025-04-10 20:38:22 +00:00
Marcin-Ramotowski
4e6788f614 Changed comments to assertion error messages 2025-04-02 19:07:27 +00:00
Marcin-Ramotowski
40b1193efd Refactored code dedicated to user login in tests 2025-04-01 21:27:54 +00:00
Marcin-Ramotowski
7f9c7cd27f Removed redundant creation of user in edit user endpoint 2025-04-01 21:02:25 +00:00
Marcin-Ramotowski
f36c919ff9 Reduced repeating of user creation in tests 2025-04-01 20:50:37 +00:00
Marcin-Ramotowski
41d767c02f Removed deprecated Query.get method from edit user endpoint 2025-04-01 19:47:35 +00:00
Marcin-Ramotowski
8e7c9873f6 Added test for user edit 2025-04-01 19:46:59 +00:00
Marcin-Ramotowski
8883514387 Added test for user remove 2025-04-01 18:52:17 +00:00
Marcin-Ramotowski
324416de8e Changed deprecated query.get and query.get_or_404 methods to other equivalents 2025-03-29 20:12:47 +00:00
Marcin-Ramotowski
7f36f67df4 Now revoked tokens are saved to database 2025-03-29 17:48:55 +00:00
Marcin-Ramotowski
5d45fcf932 Added revoking token during logout 2025-03-29 17:16:06 +00:00
Marcin-Ramotowski
e0c8924384 Added more cases to user tests to check all access levels 2025-03-27 22:36:56 +00:00
Marcin-Ramotowski
c63d087510 Modified test to check right and wrong password during test login 2025-03-27 19:41:48 +00:00
Marcin-Ramotowski
d870bcc613 Added basic users and tasks endpoints tests 2025-03-27 19:14:12 +00:00
Marcin-Ramotowski
f8c0c39345 Now fabric function creates app 2025-03-27 19:13:34 +00:00
Marcin-Ramotowski
69cd246946 Revert "Created React subproject"
This reverts commit a9775f4fa5ec8820aa0f97e6baae00220a121860.
2025-03-19 19:13:42 +01:00
Marcin-Ramotowski
3d50044a93 Updated docker-compose 2025-03-17 20:41:21 +00:00
Marcin-Ramotowski
9d3ea22fe8 Improved task data validation and error handling 2025-03-17 20:29:15 +00:00
Marcin-Ramotowski
684b667f3a Turned off debug mode 2025-03-17 19:23:52 +00:00
Marcin-Ramotowski
a44059fab3 Extended due_date format to contain also time 2025-03-17 19:10:27 +00:00
Marcin-Ramotowski
7142236b47 Login returns also user_id 2025-03-16 21:14:09 +00:00
Marcin-Ramotowski
c1c052a533 Removed unnecessary invisible unicode characters 2025-03-16 16:20:09 +00:00
Marcin-Ramotowski
ff07c3433e Added more env variables 2025-03-16 15:44:49 +00:00
Marcin-Ramotowski
b2dc4856cb Changed class methods to static methods 2025-03-16 14:07:21 +00:00
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