58 Commits

Author SHA1 Message Date
af9aa243bf Many to many relationship between user and announcement tables implemented, book endpoint changed accordingly 2024-08-13 15:48:13 +03:00
acd0a8fbf7
Fixed initial tables creation 2023-09-08 19:40:41 +03:00
f345ed6587
Updated deployment instructions and container 2023-08-16 09:35:22 +03:00
53f91567e2 obsolete filter fixed 2023-08-10 19:51:11 +03:00
02db525e8b Merge branch 'main' of https://github.com/dm1sh/porridger_tmp 2023-08-08 23:42:02 +03:00
0c47da5543 Change rating and dispose endpoints fixed 2023-08-08 23:41:54 +03:00
6d215d4f66 Merge branch 'main' of https://github.com/dm1sh/porridger_tmp 2023-08-08 19:36:59 +03:00
3a3e036f0d на 2023-08-08 19:36:51 +03:00
6c5c7aa0c2
Fixed url paths and made reg_date working well on back 2023-08-08 19:26:36 +03:00
15d61ecc4b Merge branch 'main' of https://github.com/dm1sh/porridger_tmp 2023-08-08 19:00:59 +03:00
bd863bc911 points added; rating still isn't fixed 2023-08-08 19:00:06 +03:00
d3147b69ad
Fixed spelling (once again), wrong initialisation and comment 2023-08-08 12:36:08 +03:00
17dab2156d Merge branch 'main' of https://github.com/dm1sh/porridger_tmp 2023-08-08 01:23:00 +03:00
832a2ce985 Auth works again; relationships between Trashbox and User added 2023-08-08 01:22:47 +03:00
e571b878bd
Improved poems getting endpoint 2023-08-08 00:26:47 +03:00
d3d7760c5b Merge branch 'main' of https://github.com/dm1sh/porridger_tmp 2023-08-07 22:30:46 +03:00
f15c17a17e get_query_results works correctly. relationships between models changed 2023-08-07 22:27:23 +03:00
9ae5824393 Пока запускается, но не работает 2023-08-07 13:48:22 +03:00
bf327dda28 poems_to_front func added 2023-08-07 13:07:12 +03:00
5dc90b625e Merge branch 'main' of https://github.com/dm1sh/porridger_tmp 2023-08-07 00:03:04 +03:00
5fcee1157e rating routes added 2023-08-06 23:59:33 +03:00
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
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
bd7d4f3c5d Bug in book func fixed (Announcement.id) 2023-07-27 20:14:01 +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
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
91c99e0fd8 Imported modules corrected 2023-07-27 19:24:27 +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
808edad6b4 Необходимо решить проблему get_user 2023-07-17 03:41:20 +03:00
b360b06d34 Возвращаем просто токен, а не джисонку 2023-07-16 23:25:22 +03:00