94 Commits

Author SHA1 Message Date
8bbdbce9f8 Вова работает над поэмами 2023-08-04 13:44:30 +03:00
95e5c95cd4 комментирование углубил 2023-08-03 22:01:03 +03:00
cc414e38bd Merge branch 'main' of https://github.com/dm1sh/porridger_tmp 2023-08-02 00:58:25 +03:00
680b4ad7a2 Merge branch 'main' of https://github.com/dm1sh/porridger_tmp 2023-08-02 00:52:32 +03:00
26e42d874e get current user(using email) completed 2023-08-02 00:39:46 +03:00
3e25550843
Added typings for /api/trashbox response and /api/announcement/dispose request 2023-08-01 15:57:43 +03:00
a41c684a74
Added schema for GET /api/poetry endpoint 2023-08-01 13:34:55 +03:00
2028dd9419
Fixed get_current_user db argument setting 2023-08-01 12:15:23 +03:00
0145ed8f44 Returning schemas.User from get_current_user 2023-07-31 23:55:16 +03:00
29d46be492 Удалено условие booked by в api/announcements 2023-07-31 01:08:59 +03:00
aaf0d20c65 UserDatabase->User, ForeignKey added 2023-07-30 12:35:08 +03:00
517609ddbd in create_user (signup) func. dots -> commas 2023-07-29 23:48:28 +03:00
86acf3e326 Odd fields in User model removed. Schemas updated 2023-07-29 23:46:33 +03:00
eb19113d78 Pass json with id and announc. will be deleted 2023-07-28 00:13:50 +03:00
9e98a224e3 edited path for creation upload folder 2023-07-27 23:25:27 +03:00
8c81935004 create new user without passw., id in create_user 2023-07-27 23:22:24 +03:00
5012642f7a Poems added to db 2023-07-27 21:49:04 +03:00
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