Commit graph

55 commits

Author SHA1 Message Date
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
e71a0d9602 tool: add JS linter 2026-05-11 23:16:24 +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
5c480db410 fix: improve error management when decoding uplink messages 2026-05-09 17:47:37 +02:00
f77cf3dd75 fix: improve connection to postgres to raise business logic exception
And raises delay between each new try
2026-05-09 17:25:02 +02:00
0830c2f182 refacto: reorganize POC into clean architecture for modularity 2026-05-09 17:06:57 +02:00
9dd53b1b24 feat: improve draft of consumer app to write in db 2026-05-09 15:36:31 +02:00
d210a2651c fix: remove force-recreate from deployment to avoid unwanted restart 2026-05-09 15:35:38 +02:00
d559cb9315 fix: add pulses to db and changes date to timestamp to allow granularity 2026-05-09 15:34:23 +02:00
54f2a29c19 fix: add unique constraint to columns that need it 2026-05-08 17:12:56 +02:00
4ffb1e932d feat: add device with same deveui as in embedded project, linked to site 2026-05-08 17:12:24 +02:00
32a9eeb10d feat: add database with dummy data 2026-05-08 17:02:06 +02:00
65804182ab feat: add targets to clean deployment 2026-05-08 17:01:45 +02:00
1f4f64ea9a fix: makefile that deployed to the wrong directory 2026-05-08 12:59:10 +02:00
b6d8d904a9 feat: add 2 distinct deploy targets to avoid the other stack restart 2026-05-08 12:41:14 +02:00