Commit graph

38 commits

Author SHA1 Message Date
106d7f0a80 fix : add cors allow origin real url 2026-05-30 19:45:14 +02:00
642168fe47 fix : traefik configuration 2026-05-30 19:44:52 +02:00
048b64f035 feat: add reverse proxy traefik 2026-05-30 18:02:32 +02:00
300c8a370c feat: add link to git repositories on webui 2026-05-13 22:00:55 +02:00
2a8cfdcaed feat: add cli args to insert data script for easier usage 2026-05-13 21:30:33 +02:00
7cfd2dd352 fix: move all hardcoded secrets to .env files and create examples 2026-05-13 18:38:50 +02:00
11b7c14dc7 feat: use different creds for api and consumer with restrictive rights 2026-05-13 18:25:23 +02:00
611600c2d8 fix: add commit to db transactions 2026-05-13 16:24:06 +02:00
1272cdfc81 feat: add script to simulate gas consumption and insert data in db 2026-05-13 16:23:40 +02:00
0948dbda49 fix: replace magic number by constant 2026-05-13 00:01:41 +02:00
914235064c fix: add DatabaseError if select dev_eui does not return correctly 2026-05-13 00:01:24 +02:00
e887b1d357 fix: avoid sending internal server error message when 500 2026-05-12 23:59:40 +02:00
0dce6cf89a fix: add security constraints to devEUI on readings endpoint 2026-05-12 23:58:46 +02:00
35ac428e2d fix: manage DatabaseError in list_devices 2026-05-12 23:57:54 +02:00
2341471e0e fix: use explicit mapping in Consumption Point Schema 2026-05-12 23:57:23 +02:00
5f15002462 feat: improve error management when data are missing 2026-05-12 23:24:31 +02:00
319821ce59 feat: use device choice in API consumption request instead of hardcoded 2026-05-12 22:30:21 +02:00
f4b7daabd3 feat: add API endpoint to get devices list 2026-05-12 21:59:24 +02:00
0cb5706ed7 fix: adapt chart period label according to granularity 2026-05-12 19:51:50 +02:00
28f49b5209 fix: force chart.js static version to avoid breaking changes impact 2026-05-12 19:33:50 +02:00
bcbdc0b216 fix: small gap around header edges 2026-05-12 19:14:23 +02:00
ed82a3b54d feat: add style to webui 2026-05-12 19:05:02 +02:00
915433bb48 feat: add title on front 2026-05-12 17:20:49 +02:00
56619b524d feat: add key values on front 2026-05-12 17:15:42 +02:00
28baab1956 feat: add parameter choice for chart data 2026-05-12 16:40:39 +02:00
d1840441c5 fix: webui now restarts automatically 2026-05-12 14:46:25 +02:00
8289d23cf9 feat: add minimal chart to display API data with hardcoded parameters 2026-05-11 23:17:43 +02:00
772063113b feat: add a simple cache versioning system in Dockerfile 2026-05-11 22:09:08 +02:00
97ca3813e8 tool: add a linter for html and css and apply it 2026-05-11 22:08:32 +02:00
4bd3ab2d2d feat: add a dummy web UI served by nginx in a container 2026-05-11 21:47:57 +02:00
e605bf8603 refacto: rename app into backend, to prepare for frontend dev 2026-05-11 21:46:21 +02:00
017092040d refacto: move ReadingRepository where it logically belongs 2026-05-11 21:46:21 +02:00
aa72971627 feat: use connection pool instead of a single shared connection
This is useful for multitask environments (like the API), to avoid
conflicts
2026-05-11 21:46:21 +02:00
a22413bb0b refacto: use common dependency injection repository for consumer app 2026-05-11 21:46:21 +02:00
f127a4c34c fix: query when only 1 data per day, or 1 day selected 2026-05-11 21:46:21 +02:00
5cef99d8d9 fix: ignore type checking on psycopg fetch 2026-05-11 21:46:21 +02:00
a0acb2950c feat: add API to get daily consumption 2026-05-11 21:46:21 +02:00
9c883a8eca refacto: reorganize files to easily add an API service 2026-05-11 21:46:21 +02:00