Commit Graph
96 Commits
Author SHA1 Message Date
Marcin-Ramotowski 1de32691c6 Corrected git remote command 2025-07-04 23:46:57 +02:00
Marcin-Ramotowski f05d3940fa Modified git repo url to auth 2025-07-04 23:35:51 +02:00
Marcin-Ramotowski 023daf1d4b Added git clone and git push with credentials 2025-07-04 23:33:28 +02:00
Marcin-Ramotowski e91273888a Changed command run for git container 2025-07-04 22:59:51 +02:00
Marcin-Ramotowski 247798abc8 Implemented auto commit new app version to GitOps by pipeline 2025-07-04 22:42:51 +02:00
Marcin-Ramotowski 600b5aeba8 Merge branch 'dev' into jenkins-pipeline 2025-07-03 23:36:31 +02:00
Marcin-Ramotowski c9b1dac864 Added endpoint to fetch app version 2025-07-03 22:47:21 +02:00
Marcin-Ramotowski a79ae2d50f Apply new features from branch 'dev' into jenkins-pipeline 2025-06-12 18:42:28 +00:00
Marcin-Ramotowski cd4ab3fd27 Handled more errors during db initialization 2025-06-12 18:42:07 +00:00
Marcin-Ramotowski 301cf5922e Changed docker image base to Alpine and added curl 2025-06-11 22:15:37 +00:00
Marcin-Ramotowski 479ec4f917 Added healthcheck 2025-06-11 22:04:35 +00:00
Marcin-Ramotowski 3f40a6126c Added more descriptions of functions 2025-06-11 20:04:04 +00:00
Marcin-Ramotowski dd9e9ce110 Improved function body 2025-06-11 19:57:15 +00:00
Marcin-Ramotowski d3d3c98f99 Moved wait_for_db function to utils module 2025-06-11 19:48:58 +00:00
Marcin-Ramotowski 9e010ed389 Implemented waiting for db readiness 2025-06-11 19:43:47 +00:00
Marcin-Ramotowski d9fe927832 Removed deprecated label option from pipeline 2025-06-11 17:51:55 +00:00
Marcin-Ramotowski 636a382cf5 Deleted jenkins pipeline from main branch 2025-06-11 17:13:27 +00:00
Marcin-Ramotowski 99cfdfddd0 Added annotation required to run Sysbox on pod 2025-06-11 16:52:16 +00:00
Marcin-Ramotowski f579e440f8 Updated path to pod template yaml file 2025-06-11 16:43:22 +00:00
Marcin-Ramotowski ba69728c81 Changed pod runtime to sysbox 2025-06-11 16:32:12 +00:00
Marcin-Ramotowski 5366e313c5 Moved Jenkinsfile and pod agent template to separate directory 2025-06-11 16:29:03 +00:00
Marcin-Ramotowski 283be1a1ec Deleted Goss 2025-06-11 16:28:08 +00:00
Marcin-Ramotowski 1b7204c2ba Changed name of variable to store ACR name instead of ACR username 2025-06-10 20:17:25 +00:00
Marcin-Ramotowski 8f9aed299d Added managed identity client id 2025-06-10 19:32:40 +00:00
Marcin-Ramotowski 6522977280 Changed basic auth to managed identity 2025-06-10 18:50:37 +00:00
Marcin-Ramotowski c707974a2e Corrected agent declaration in Jenkinsfile 2025-06-08 16:56:35 +00:00
Marcin-Ramotowski cc2f224d60 Moved pod agent code from Jenkins master to YAML file in repo 2025-06-08 16:45:05 +00:00
Marcin-Ramotowski b14e6cf873 Restored dind container usage 2025-06-07 21:44:24 +00:00
Marcin-Ramotowski 87e3c0df80 Removed Goss tests 2025-06-07 21:14:40 +00:00
Marcin-Ramotowski aea09a6081 Added bash installation 2025-06-07 15:08:58 +00:00
Marcin-Ramotowski d05cede409 The command curl is replaced with wget 2025-06-07 15:06:19 +00:00
Marcin-Ramotowski 17162027b6 Removed unnecessary post cleanup 2025-06-07 14:57:35 +00:00
Marcin-Ramotowski 8887f1b2bd Updated Jenkins pipeline to use in Kubernetes 2025-06-07 13:31:03 +00:00
Marcin-Ramotowski 76a351710f Added variable APP_PORT to customize application port 2025-05-04 16:42:43 +00:00
Marcin-Ramotowski c1f0da4a9c Extended Goss sleep 2025-05-04 15:37:47 +00:00
Marcin-Ramotowski eefc952ff0 Updated app port in Goss YAML config 2025-05-04 15:26:21 +00:00
Marcin-Ramotowski 8c35b3bd8c Changed development server to production 2025-05-04 15:23:05 +00:00
Marcin-Ramotowski 60011b1c72 Added GOSS_SLEEP flag to wait for container full start before tests 2025-05-04 11:03:12 +00:00
Marcin-Ramotowski 859a962c12 Corrected python command name in Goss config YAML 2025-05-04 11:02:09 +00:00
Marcin-Ramotowski 0e9df4f859 Corrected command to run tests in Goss 2025-05-04 10:14:36 +00:00
Marcin-Ramotowski 1554404657 Corrected port to check in Goss YAML config 2025-05-04 10:14:18 +00:00
Marcin-Ramotowski 925af7d314 Corrected commands to test python app 2025-05-04 06:55:10 +00:00
Marcin-Ramotowski fb260a0f6d Corrected directory in jenkins pipeline 2025-05-03 20:21:02 +00:00
Marcin-Ramotowski dcd9a39b46 Corrected shell commands in jenkins pipeline 2025-05-03 20:05:32 +00:00
Marcin-Ramotowski 8194e3e9fe Added Jenkins pipeline to test code and container 2025-05-03 19:47:27 +00:00
Marcin-Ramotowski 0006044ae4 Added goss tests 2025-05-03 19:45:40 +00:00
Marcin-Ramotowski 74a58879ce Refactored code responsible for finding user in database 2025-04-02 20:02:34 +00:00
Marcin-Ramotowski d325a52222 Refactored test code 2025-04-02 19:28:20 +00:00
Marcin-Ramotowski 546d26ada0 Added test for user edit 2025-04-02 19:22:12 +00:00
Marcin-Ramotowski acf4b1c26c Added test for user remove 2025-04-02 19:21:48 +00:00
Marcin-Ramotowski 37e89b60af Added test for user logout 2025-03-29 21:18:24 +00:00
Marcin-Ramotowski 2632bdf994 Changed deprecated query.get and query.get_or_404 methods to other equivalents 2025-03-29 21:12:00 +00:00
Marcin-Ramotowski 8637eaa96f Added revoking token during logout 2025-03-29 20:57:01 +00:00
Marcin-Ramotowski 99dd5148b1 Now fabric function creates app 2025-03-29 20:32:38 +00:00
Marcin-Ramotowski 3ad5f0ca94 Added more cases to user tests to check all access levels 2025-03-27 22:38:16 +00:00
Marcin-Ramotowski 0891ba7d87 Added test for user endpoints 2025-03-27 20:01:04 +00:00
Marcin-Ramotowski 3552c251bf Moved utils functions to separate file 2025-03-19 21:02:02 +01:00
Marcin-Ramotowski 31480c5c55 Removed task model 2025-03-19 20:56:15 +01:00
Marcin-Ramotowski 90a7a8a72c Removed task views 2025-03-19 20:06:03 +01:00
Marcin-Ramotowski 69cd246946 Revert "Created React subproject"
This reverts commit a9775f4fa5.
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
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