Kita Trofimov
|
7fdd3c56cb
|
Merge remote-tracking branch 'origin/feat/db-init' into feat/db-init
# Conflicts:
# api/loginapi.py
# db/connection.py
# db/repositories/ai_prediction_repository.py
# db/repositories/inventory_repository.py
# db/repositories/product_repository.py
# db/repositories/robot_repository.py
# db/repositories/user_repository.py
|
2025-10-27 23:04:10 +03:00 |
|
Kita Trofimov
|
052c93928c
|
feat(db): Database initialization has been added
|
2025-10-27 23:02:19 +03:00 |
|
Sweetbread
|
e44696ce04
|
wip
|
2025-10-26 23:19:51 +03:00 |
|
Sweetbread
|
72f766ab46
|
fix(log): replace logger with loguru (again!)
|
2025-10-26 23:09:42 +03:00 |
|
Kita Trofimov
|
9ecb6a83ba
|
style(database): Fixed the issue with long function declarations
|
2025-10-26 21:25:59 +03:00 |
|
Kita Trofimov
|
951e4c7e45
|
style(database): Changed logging
|
2025-10-26 21:25:59 +03:00 |
|
Kita Trofimov
|
7786680f43
|
fix(database): Fixed the database connection
|
2025-10-26 21:16:23 +03:00 |
|
Kita Trofimov
|
33c3b81f6e
|
style(database): Refactor repository name
|
2025-10-26 21:16:23 +03:00 |
|
Kita Trofimov
|
6006e074d8
|
fix(model/user.py): Removed unnecesary methods
|
2025-10-26 21:16:23 +03:00 |
|
Kita Trofimov
|
771f7e0549
|
feat(database/repositories/user_repository.py): A new login verification method has been added
|
2025-10-26 21:16:23 +03:00 |
|
Kita Trofimov
|
fd1b7df93a
|
feat(database/repositories/ai_prediction_repository.py): Added new repository AIPredictionsRepository
|
2025-10-26 21:16:23 +03:00 |
|
Kita Trofimov
|
88c4460da9
|
feat(model/ai_prediction.py): Added new model AIPrediction
|
2025-10-26 21:16:23 +03:00 |
|
Kita Trofimov
|
51bf856434
|
feat(database/repositories/inventory_repository.py): Added inventory repository
|
2025-10-26 21:16:23 +03:00 |
|
Kita Trofimov
|
0ded143c55
|
feat(database/repositories/product_repository.py): Added product repository
|
2025-10-26 21:16:23 +03:00 |
|
Kita Trofimov
|
056d800c4f
|
feat(database/repositories/robot_repository.py): Added robot_repository
|
2025-10-26 21:16:23 +03:00 |
|
Kita Trofimov
|
3be4556844
|
feat(database/repositories/user_repository.py): Added user repository
|
2025-10-26 21:16:23 +03:00 |
|
Kita Trofimov
|
928677fea8
|
feat(database): Implemented database connection
|
2025-10-26 21:16:23 +03:00 |
|
Kita Trofimov
|
e80c5645f1
|
feat(model): Added correct data models
|
2025-10-26 21:16:23 +03:00 |
|
Sweetbread
|
70041fa58e
|
feat(jwt): add iat field
|
2025-10-26 21:16:23 +03:00 |
|
Sweetbread
|
6f478d717a
|
feat(log): use loguru
|
2025-10-26 21:16:23 +03:00 |
|
Sweetbread
|
be5732bc32
|
refactor(auth): remove /api/auth/* handlers to api/auth.py
|
2025-10-26 21:16:23 +03:00 |
|
Sweetbread
|
4ad7869e27
|
refactor(user): rename to toJson back
|
2025-10-26 21:16:23 +03:00 |
|
Sweetbread
|
67c06a0203
|
feat(auth): add data validation
|
2025-10-26 21:16:23 +03:00 |
|
Sweetbread
|
df5317432d
|
refactor(user): change class name to uppercase
|
2025-10-26 21:16:23 +03:00 |
|
Sweetbread
|
96a310a80d
|
fix(env): ensure the .env is loaded
|
2025-10-26 21:16:22 +03:00 |
|
Kirill
|
ec985a808d
|
fix(api/auth/loginapi.py, app.py, utils/PostgressConnect.py, utils/createLogger.py, utils/loadDotEnv.py): Review fix
https://g.codrs.ru/Hackaton/Backend/pulls/2#issuecomment-23
https://g.codrs.ru/Hackaton/Backend/pulls/2#issuecomment-31
|
2025-10-26 21:16:17 +03:00 |
|
Kita Trofimov
|
c33e8798ed
|
style(database): Fixed type of logger on the db sucsess operations
|
2025-10-26 20:31:51 +03:00 |
|
Kita Trofimov
|
401205aea2
|
style(database): Fixed the issue with long function declarations
|
2025-10-26 19:41:11 +03:00 |
|
Kita Trofimov
|
8c07b1febc
|
style(database): Changed logging
|
2025-10-26 19:32:34 +03:00 |
|
Kita Trofimov
|
3e4755cca1
|
fix(database): Fixed the database connection
|
2025-10-26 19:14:51 +03:00 |
|
Kita Trofimov
|
c117ceb85e
|
style(database): Refactor repository name
|
2025-10-26 18:52:54 +03:00 |
|
Kita Trofimov
|
4e3b21f31e
|
fix(model/user.py): Removed unnecesary methods
|
2025-10-26 18:48:54 +03:00 |
|
Kita Trofimov
|
6483afa0d4
|
feat(database/repositories/user_repository.py): A new login verification method has been added
|
2025-10-26 16:32:02 +03:00 |
|
Kita Trofimov
|
251e1b6e57
|
feat(database/repositories/ai_prediction_repository.py): Added new repository AIPredictionsRepository
|
2025-10-26 16:09:33 +03:00 |
|
Kita Trofimov
|
64e81aec69
|
feat(model/ai_prediction.py): Added new model AIPrediction
|
2025-10-26 15:52:48 +03:00 |
|
Kita Trofimov
|
6d5abeb88d
|
feat(database/repositories/inventory_repository.py): Added inventory repository
|
2025-10-26 15:42:20 +03:00 |
|
Kita Trofimov
|
fa00e27015
|
feat(database/repositories/product_repository.py): Added product repository
|
2025-10-26 15:04:47 +03:00 |
|
Kita Trofimov
|
2f6782ab9d
|
feat(database/repositories/robot_repository.py): Added robot_repository
|
2025-10-26 14:09:21 +03:00 |
|
Kita Trofimov
|
c1bab1b304
|
feat(database/repositories/user_repository.py): Added user repository
|
2025-10-26 13:14:51 +03:00 |
|
Kita Trofimov
|
506f2f3f39
|
feat(database): Implemented database connection
|
2025-10-26 00:43:32 +03:00 |
|
Kita Trofimov
|
79cac3d8cb
|
feat(model): Added correct data models
|
2025-10-26 00:11:20 +03:00 |
|
Kirill
|
f93b94531c
|
fix(utils/token.py): Code review fix
https://g.codrs.ru/Hackaton/Backend/pulls/2#issuecomment-24
|
2025-10-25 21:01:45 +03:00 |
|
Kirill
|
22da586aec
|
fix(app.py): Code review fix
https://g.codrs.ru/Hackaton/Backend/pulls/2#issuecomment-30
|
2025-10-25 20:59:41 +03:00 |
|
Kirill
|
5058df8b7d
|
fix(model/user.py): Code review fix
https://g.codrs.ru/Hackaton/Backend/pulls/2#issuecomment-20
https://g.codrs.ru/Hackaton/Backend/pulls/2#issuecomment-25
https://g.codrs.ru/Hackaton/Backend/pulls/2#issuecomment-21
|
2025-10-25 20:57:23 +03:00 |
|
Kirill
|
3a118c51b5
|
fix(api/auth/loginapi.py): Pull request review
https://g.codrs.ru/Hackaton/Backend/pulls/2#issuecomment-26
https://g.codrs.ru/Hackaton/Backend/pulls/2#issuecomment-20
https://g.codrs.ru/Hackaton/Backend/pulls/2#issuecomment-35
|
2025-10-25 20:53:48 +03:00 |
|
Kirill
|
7ccc9385e6
|
feat(app.py): Include Blueprint to app
|
2025-10-25 11:26:46 +03:00 |
|
Kirill
|
1bf9c69c2b
|
feat(api/loginapi.py): Login Api
Blueprint with api login page with is get respons (form-data) and send JVT token and user id name and role
|
2025-10-25 11:24:31 +03:00 |
|
Kirill
|
2098719c82
|
feat(model/user.py): User model
User Dataclass with is get all user respons data
|
2025-10-25 11:23:01 +03:00 |
|
Kirill
|
0e668e1993
|
feat(utils/token.py): Create JVT token
Added function with is creating jvt tocken for user
|
2025-10-25 11:21:32 +03:00 |
|
Kirill
|
da05ae96d2
|
fix(controllers/controller.py; model/example.py; utils/InitalizeDB.py): deleted exaple files
|
2025-10-25 11:19:20 +03:00 |
|