242 Commits

Author SHA1 Message Date
0e5aeae491
Fixed doSend arguments 2023-07-27 20:09:03 +03:00
50c2b0a615
Added sign out button to user page 2023-07-27 20:07:25 +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
d93b2e131c
Added announcement removal for published by user 2023-07-27 18:43:37 +03:00
9688f56c43
Added useId hook for id retrival from token 2023-07-27 17:54:06 +03:00
3bb6809454
Moved useBook to useSend API 2023-07-27 16:56:00 +03:00
2a229c96ba
Separated useSendWithButton hook from useAddAnnouncement 2023-07-27 16:55:07 +03:00
8220b43e9b
Fixed possibly nullable useFetch or useSend result data 2023-07-27 16:50:26 +03:00
40c5f08dfe
Added points icon 2023-07-27 14:16:12 +03:00
e60d5d6732
Added user points indicator 2023-07-27 12:53:27 +03:00
abe3e64883
Added initial loading setting
Enabled pushing to history on filter setting
2023-07-27 12:00:22 +03:00
325898e76d Загрузить файлы в «back» 2023-07-23 19:27:40 +03:00
9b4ef41030
Added query filters getting and setting on homepage
fixes #27
2023-07-20 14:58:05 +03:00
96388a9bea
Fixed userPage story preview link to use actual filter
Related to #27
2023-07-20 13:25:16 +03:00
58d1996ce3
Added story index management via query on homepage
Related to #27
2023-07-20 13:14:04 +03:00
bc154f8b6b
Fixed useFetch and useUser typing 2023-07-20 00:55:12 +03:00
7a044970f0
Implemented UserPage 2023-07-19 23:25:25 +03:00
7cf83d099d
Added api/user request prototype 2023-07-19 23:24:58 +03:00
1b4eed529a
Developed userPage prototype 2023-07-19 23:23:01 +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
bc55ab8f68
Converted api/announcements to use api/announcement processer as its part 2023-07-18 23:07:41 +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