77 Commits

Author SHA1 Message Date
e5da503ee5 fastapi_users import deleted 2023-07-27 20:27:41 +03:00
b37443b862 SessionLocal ->Session 2023-07-27 20:17:37 +03:00
bd7d4f3c5d Bug in book func fixed (Announcement.id) 2023-07-27 20:14:01 +03:00
48aad4ece7 Merge branch 'main' of https://github.com/dm1sh/porridger_tmp 2023-07-27 20:13:13 +03:00
6b32cc70b6 some changes (test commit) 2023-07-27 20:05:20 +03:00
6bb7ab5ce9 Auth is working. Disabled field added (models) 2023-07-27 19:24:27 +03:00
dd719a20ec Auth. was fixed. Problem is in getting curr. user 2023-07-27 19:24:27 +03:00
904b00059f Trying to change models 2023-07-27 19:24:27 +03:00
d97ca1c43f Alembic installed and activated. Poems table added 2023-07-27 19:24:27 +03:00
b06306a20b Still no result 2023-07-27 19:24:27 +03:00
d2c7ce453e Prepare to use another auth code 2023-07-27 19:24:27 +03:00
8513e8610b Добавлена response_model=User в get_current_user 2023-07-27 19:24:27 +03:00
ee823ff0c4 добавили responce_model=User к get_current_user 2023-07-27 19:24:27 +03:00
959596311b добавлен параметр response_model к get_user 2023-07-27 19:24:27 +03:00
98139e2162 К схемам из schema.py добавлены доп. поля (соотв. models) 2023-07-27 19:24:27 +03:00
7c317805fb fastapi.Responce has been imported 2023-07-27 19:24:27 +03:00
a234f95ace pass new parameters to sessionmaker 2023-07-27 19:24:27 +03:00
21970120bc parameters of sessionmaker changed 2023-07-27 19:24:27 +03:00
91c99e0fd8 Imported modules corrected 2023-07-27 19:24:27 +03:00
30140f058f Добавлена response_model=User в get_current_user 2023-07-19 00:14:56 +03:00
d5ba710885 добавили responce_model=User к get_current_user 2023-07-19 00:11:57 +03:00
6127dd8ba4 добавлен параметр response_model к get_user 2023-07-19 00:10:59 +03:00
9e4bb1b99f К схемам из schema.py добавлены доп. поля (соотв. models) 2023-07-19 00:05:42 +03:00
d66b9004e0 fastapi.Responce has been imported 2023-07-18 23:56:07 +03:00
626170964f pass new parameters to sessionmaker 2023-07-18 23:47:01 +03:00
1dd37a72b4 parameters of sessionmaker changed 2023-07-18 23:43:23 +03:00
b39d9ada27 Imported modules corrected 2023-07-18 23:39:04 +03:00
91842dcc51 Merge branch 'main' of https://git.dm1sh.ru/dm1sh/porridger 2023-07-17 23:36:46 +03:00
09ba6a3478 Разделил модели базы данных и модели pydantic. 2023-07-17 23:34:04 +03:00
de8a1abcbf
Fixed Dima's incomplete merge 2023-07-17 15:19:26 +03:00
898d590cf3 Обновить back/main.py 2023-07-17 13:23:23 +03:00
1c25d66027
Fixed trashbox request causing constant rerenders 2023-07-17 12:19:25 +03:00
b7bbd937b4
Converted put(api/announcement) to use useSend
Added useSendButtonCaption hook
Related to #19
2023-07-17 12:18:54 +03:00
808edad6b4 Необходимо решить проблему get_user 2023-07-17 03:41:20 +03:00
b360b06d34 Возвращаем просто токен, а не джисонку 2023-07-16 23:25:22 +03:00
349d40daa4 Merge branch 'main' of https://git.dm1sh.ru/dm1sh/porridger 2023-07-16 16:15:05 +03:00
8bae63231b Добавить в остальные функции проверку токена 2023-07-16 16:10:37 +03:00
3668e8c33f
Changed story dimensions
Improved logging
2023-07-16 00:18:30 +03:00
f4226237ab
Added useSend hook, converted useFetch to use it
Moved useFetch
Related to #19
2023-07-16 00:08:51 +03:00
5b14d75048 Обновить back/main.py 2023-07-15 13:17:07 +03:00
0218cdced5
Code styling
Added brackets for const lambdas
Converted const lambdas with multiple instructions to functions
2023-07-15 12:55:25 +03:00
99d2b92b03
Added script for fetch api route generation 2023-07-15 12:25:12 +03:00
27ae590981
Refactored component custom styling
Switched to library bootstrap css
2023-07-15 12:24:13 +03:00
cb848739e5
Added osmAddress api route
Related to #19
2023-07-15 11:08:15 +03:00
2ce0e5b65d
Returned setData from useFetch
Fixed imports
Related to #19
2023-07-15 11:07:12 +03:00
48a48f9364
Improved useFetch
Related to #19
2023-07-14 20:34:50 +03:00
7ef4194bbd
Added styled item and trash icons
Related to #12
2023-07-14 18:33:36 +03:00
ad290c8dd0
Switched to new category pictures
fixes #6
2023-07-14 18:26:42 +03:00
7b0ccc525c
Code styling changes 2023-07-13 20:03:53 +03:00
9437c44054
Switched category data struct from Map to object
Moved lineByName function
2023-07-13 18:17:57 +03:00