Commit Graph

218 Commits

Author SHA1 Message Date
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
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
6a0c4c9dac Added http errors handing to all fettch requests 2023-07-13 17:50:20 +03:00
d041df0bbd Added ellipsis to loading status string 2023-07-13 17:49:47 +03:00
619fd952a5 Separated auth form component
Added auth networking status
fixes #9
2023-07-13 17:48:58 +03:00
395b6c2d89 Added link to privacy policy
#17
2023-07-13 17:10:26 +03:00
a8b7cfbffa Added TypeScript for frontend
Added type definitions for components, functions, data
Added guards for network responses
fixes #8
2023-07-12 19:03:24 +03:00
8fc85e415f Added component unmount cleanup 2023-07-11 14:43:08 +03:00
960ad7ce0d Split metro stations by lines and their indication
Fixed details dialog size
Added map location setting by click
Reorganized hooks and components imports with index.js
Removed orphane error indication on homepage
2023-07-11 13:29:04 +03:00
cbbd714fbf Fixed spelling error 2023-07-11 13:28:55 +03:00
dcd91cb9b4 Removed builtin static video file
Switched from CORS to proxy for dev
2023-07-10 17:14:36 +03:00