172 Commits

Author SHA1 Message Date
26e42d874e get current user(using email) completed 2023-08-02 00:39:46 +03:00
b93ab9794d
Added announcement disposal:
Added ann details button
Added modal shown on its click
Moved trashbox selection there
Added trashboxes mock while testing in restricted area
2023-08-01 18:23:56 +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
47fca02858
Fixed filter setting an resetting (one more time) 2023-07-31 18:50:36 +03:00
24bd39f689
Added expiration filter to front 2023-07-31 17:23:24 +03:00
6724a97352
Added poetry display on userPage 2023-07-31 15:03:56 +03:00
e7327945e3
Improved loading handling 2023-07-31 14:55:12 +03:00
9b35a54ae9
Even more code styling things 2023-07-31 12:41:19 +03:00
29d46be492 Удалено условие booked by в api/announcements 2023-07-31 01:08:59 +03:00
9eb30d2066
Fixed imports styling 2023-07-30 15:01:42 +03:00
466977d457
Fixed homepage filters setting, names, and userId category 2023-07-30 14:54:13 +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
8b6010f453
Added redirect to home on successfull ann addition 2023-07-29 18:49:02 +03:00
cf81e3d817
Fixed ann removal 2023-07-29 18:47:23 +03:00
e214ea53e7
Fixed sign in redirect on success 2023-07-29 18:11:05 +03:00
ef94349341
Fixed story preview styling 2023-07-29 14:04:48 +03:00
6338e86a33
Added back header to ann add and auth pages
Unified card layout
2023-07-29 13:20:29 +03:00
85472233a3
Connected signing up and signing in to back 2023-07-29 10:41:54 +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
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