Commit graph

46 commits

Author SHA1 Message Date
23fc87b524 fix(docker): Fixed chart service build
Some checks failed
Create and publish a Docker image / build-and-push-server (push) Has been cancelled
Create and publish a Docker image / build-and-push-chart (push) Has been cancelled
Create and publish a Docker image / build-and-push-CR (push) Has been cancelled
Deploy docs / deploy (push) Has been cancelled
2024-12-29 13:36:21 +03:00
aef3eeb793 chore(docker): Lighten the weight of docker images through the use of alpine images
Some checks failed
Create and publish a Docker image / build-and-push-server (push) Has been cancelled
Create and publish a Docker image / build-and-push-chart (push) Has been cancelled
Create and publish a Docker image / build-and-push-CR (push) Has been cancelled
Deploy docs / deploy (push) Has been cancelled
2024-12-27 16:50:12 +03:00
4c857c435f chore(chart): Deleted dockerignore due to its uselessness 2024-12-27 16:38:21 +03:00
d935fad5c9 fix(chart): Fixed sorting by date
Some checks failed
Create and publish a Docker image / build-and-push-server (push) Has been cancelled
Create and publish a Docker image / build-and-push-chart (push) Has been cancelled
Create and publish a Docker image / build-and-push-CR (push) Has been cancelled
Deploy docs / deploy (push) Has been cancelled
2024-12-23 19:24:24 +03:00
c2720114c4 chore(readme): Returned and added third-party library licences, split them into each separate file for the microservice
Some checks failed
Create and publish a Docker image / build-and-push-server (push) Has been cancelled
Create and publish a Docker image / build-and-push-chart (push) Has been cancelled
Create and publish a Docker image / build-and-push-CR (push) Has been cancelled
Deploy docs / deploy (push) Has been cancelled
2024-12-20 16:25:43 +03:00
6ff258799d chore(chart): I put pylint ignore where it's needed. Fixed an error with arguments, paths of imports of local modules
Some checks failed
Create and publish a Docker image / build-and-push-server (push) Has been cancelled
Create and publish a Docker image / build-and-push-chart (push) Has been cancelled
Create and publish a Docker image / build-and-push-CR (push) Has been cancelled
Deploy docs / deploy (push) Has been cancelled
2024-12-16 22:24:26 +03:00
e51aa5e00c chore(chart): Removed unnecessary file copying 2024-12-16 21:42:46 +03:00
872c2836bc fix(chart): Fixed a bug with dependency paths 2024-12-16 21:40:22 +03:00
9db37e8300 chore(chart): Updated the python version to 3.13 in docker
Some checks failed
Create and publish a Docker image / build-and-push-server (push) Has been cancelled
Create and publish a Docker image / build-and-push-chart (push) Has been cancelled
Create and publish a Docker image / build-and-push-CR (push) Has been cancelled
Deploy docs / deploy (push) Has been cancelled
2024-12-15 11:35:56 +03:00
f8899ab607 chore(chart): Replaced the dependency for the database with a new one 2024-12-15 11:35:19 +03:00
1c6a735e0b fix(chart): Fix GET request to use query parameters instead of request body for chart generation 2024-12-15 10:55:05 +03:00
ed8cf91558 refactor(chart): Added docstring in each file and function. Fixed long lines 2024-12-15 10:51:32 +03:00
c5d3d9fe9b refactor(chart): The function with data retrieval from the config has been moved to a separate file and function 2024-12-15 10:47:20 +03:00
a3b94f18ef fix(chart): Fixed an error if the date in the request was different from the YYYYY-MM-DD format 2024-12-14 23:36:57 +03:00
ded9abc816 refactor(chart): Fixed tabulation and code duplicates 2024-12-14 23:36:01 +03:00
85acbbb16c refactor(chart): Move functions to separate files or folders to improve code structure. 2024-12-14 23:22:44 +03:00
110effaeb2 chore(chart): Switched to a new library to work with postgres. From psycopg2 to asynpg 2024-12-14 23:21:28 +03:00
683e6a40e5 feat(chart): Add markers on line 2024-11-05 22:43:57 +03:00
7ad43f5a6d fix: Condition of no parameters 2024-11-05 22:32:06 +03:00
38d1ace398 feat(charts): Changed the name of the status code in the response. If there is no argument, the error is now Kekkai, not FastAPI. 2024-10-31 20:10:39 +03:00
34d216de94 feat(chart): В ответе от апи теперь полностью показывается url, а не путь
Some checks failed
Create and publish a Docker image / build-and-push-server (push) Has been cancelled
Create and publish a Docker image / build-and-push-chart (push) Has been cancelled
Create and publish a Docker image / build-and-push-CR (push) Has been cancelled
Deploy docs / deploy (push) Has been cancelled
2024-10-28 16:33:01 +03:00
1dabe437ce Теперь создается уникальное имя графика. Подправил статус коды
Some checks are pending
Create and publish a Docker image / build-and-push-server (push) Waiting to run
Create and publish a Docker image / build-and-push-chart (push) Waiting to run
Create and publish a Docker image / build-and-push-CR (push) Waiting to run
2024-10-22 17:01:50 +03:00
4e1a307e17 Исправил проверку статус кода, если client error (4xx), то в аналитику ничего не будет приходить 2024-10-22 17:00:32 +03:00
ce83d5df0f Условие с проверкой статуса вызывает ошибку
Some checks are pending
Create and publish a Docker image / build-and-push-chart (push) Waiting to run
Create and publish a Docker image / build-and-push-CR (push) Waiting to run
Create and publish a Docker image / build-and-push-server (push) Waiting to run
2024-10-21 22:09:25 +03:00
825d667c25 Заменил код вызывающий ошибку 2024-10-21 22:02:50 +03:00
46661287fa Фикс конфликта, понижение зависимости starlette 2024-10-21 19:50:33 +03:00
cd6875fa52 Повысил версию зависимостей для закрытия уязвимостей 2024-10-21 19:46:24 +03:00
30fd5dc8c9 Если роут не зарегестрирован, то в аналитике он не будет отображаться. Исправлено отображение ОС/Браузера, если нет данных то будет отображаться N/A 2024-10-21 19:45:53 +03:00
8b9b1a7b77 Добавил модуль
Some checks failed
Create and publish a Docker image / build-and-push-server (push) Has been cancelled
Create and publish a Docker image / build-and-push-chart (push) Has been cancelled
Create and publish a Docker image / build-and-push-CR (push) Has been cancelled
2024-10-17 20:59:26 +03:00
93b6fabbd2 Сделал аналитику в сервисе для генерации чартов 2024-10-17 20:56:10 +03:00
bf2d6e67cc Интегрирован Docker compose 2024-10-09 14:45:20 +03:00
e6d72aff2b Переименовал файл 2024-10-08 20:49:17 +03:00
423b4a4ff6 Сделал роут для создания графика по периодам (неделя, месяц, квартал, год). Вынес создание графика в отдельную функцию. 2024-10-07 16:27:49 +03:00
6cf66cf5bf Написал на питоне создание графиков. Без использования сторонних сервисов 2024-10-06 20:55:06 +03:00
67a9430d83 mypy, pylint 2024-10-06 20:49:33 +03:00
2679fa20d5 eslint, prettier fix 2024-08-17 16:40:20 +03:00
d7bcaf8c2e eslint фикс 2024-08-14 21:20:08 +03:00
21e2faced3 Сделал автоудаление графиков
(всех) после Х килобайт
2024-08-14 17:16:45 +03:00
350e3f9c66 Изменены пути название файлы main.js -> chart.js 2024-08-14 17:15:43 +03:00
b9a45b69b4 Заменил request на axios 2024-08-13 14:49:26 +03:00
5bbb422495 Исправил баг. Ранее если не было валюты в бд, но все равно выдавало график. Исправлено 2024-08-12 16:33:34 +03:00
98cb0aaad9 Добавил дебаг лог 2024-08-11 17:22:13 +03:00
f63730e87e График теперь начинается не от ноля 2024-08-07 00:09:00 +03:00
74947f0409 Сделал в некоторых местах JSDocs 2024-08-04 13:55:37 +03:00
3c618331fe Добавил новую библиотеку. Сделал сохранение графика в картину и JSdoc 2024-08-02 23:52:07 +03:00
01aa886943 Сервис получения графика через chartjs-image 2024-08-02 15:41:16 +03:00