Commit Graph

82 Commits

Author SHA1 Message Date
fastium
25cefc611f build(web-app): add tests to gitlab ci 2025-06-08 22:31:46 +02:00
fastium
c5efa10f1a test(web-app): add test end2end
- it implements a 1st version of it
2025-06-08 22:31:46 +02:00
fastium
e8fae59467 test(web-app): add cypress for unit test 2025-06-08 22:31:46 +02:00
94df7fc910 Merge branch 'feat/send-1-day'
feat(gateway): update Flux query to retrieve data from the last day

See merge request team-raclette/project-softweng!16
2025-06-08 18:50:55 +02:00
5bd62c182b ci: refactor CI stages
Signed-off-by: Klagarge <remi@heredero.ch>
2025-06-08 18:46:03 +02:00
11ca9dc51f feat(gateway): update Flux query to retrieve data from the last day
Signed-off-by: Klagarge <remi@heredero.ch>
2025-06-08 17:52:44 +02:00
44e11c8065 Merge branch 'feat/temperature-request'
add reply to the POST request with the latest measurement

See merge request team-raclette/project-softweng!15
2025-05-27 09:26:06 +02:00
cebe5e4930 feat(gateway): added reply to the POST request with the latest measurement
Signed-off-by: Klagarge <remi@heredero.ch>
2025-05-25 21:05:48 +02:00
Yann Sierro
bf3d7cbb59 Merge branch 'feat/33-frontend-plots'
Frontend plot

See merge request team-raclette/project-softweng!14
2025-05-23 20:57:11 +00:00
fastium
73608a40b9 doc(web-app): add setup environment variables 2025-05-23 22:55:52 +02:00
cb514d809a feat(web-app): configure devServer to allow all hosts
Signed-off-by: Klagarge <remi@heredero.ch>
2025-05-23 22:55:52 +02:00
fastium
b6e4e3219a feat(web-app): rename function to have new measurments 2025-05-23 22:55:52 +02:00
fastium
a64bceb7de feat(web-app): change button names 2025-05-23 22:55:52 +02:00
fastium
5768c9279b doc(web-app): describe development procedure and usage 2025-05-23 22:55:52 +02:00
fastium
d9defce56d feat(web-app): change x axis format 2025-05-23 22:55:52 +02:00
fastium
d7a45fb576 fix(web-app): type of ChartOption 2025-05-23 22:55:52 +02:00
fastium
5f3a338c57 chore(project): gitignore idea project files 2025-05-23 22:55:52 +02:00
fastium
c9be1ba772 feat(web-app): set plot options 2025-05-23 22:55:52 +02:00
fastium
803f93041b feat(web-app): add unknown case for type of measure 2025-05-23 22:55:52 +02:00
fastium
71f8883f16 feat(web-app): consistant inter-component communication
- All data are managed from the TimeSeriesManager.
- All other props of componenets were deleted
2025-05-23 22:55:52 +02:00
Sylvan Arnold
a83257eb49 Merge branch 'feat/pico-sensor/request-measurement'
feat(pico-sensor): request-measurement

Closes #28

See merge request team-raclette/project-softweng!13
2025-05-23 07:01:46 +00:00
764be2ced7 fix(gateway): update command topic path to use 'cmd' instead of 'command'
Solve: #28
Signed-off-by: Klagarge <remi@heredero.ch>
2025-05-22 22:14:42 +02:00
SylvanArnold
82012604a0 fix(pico-sensor): changed default send measurement topic name 2025-05-22 22:14:42 +02:00
SylvanArnold
177bcfec31 doc(pico-sensor): added new topic configuration instructions 2025-05-22 22:14:42 +02:00
SylvanArnold
f530efe968 feat(pico-sensor): send sensor values on get-measurement mqtt messages 2025-05-22 22:14:42 +02:00
SylvanArnold
4b40a1c142 feat(pico-sensor): topic_send_measurement can be configured via serial commands and is saved in flash 2025-05-22 22:14:42 +02:00
SylvanArnold
5595d47e3f feat(pico-sensor): added callback in mqtt client to process incomming messages in application 2025-05-22 22:14:36 +02:00
257788e1d7 Merge branch 'feat/auto-build-and-deploy-web-app'
feat(web-app): added CI to build docker image CD to deploy the app

See merge request team-raclette/project-softweng!12
2025-05-20 14:38:04 +02:00
b83e30e5b5 fix(web-app): path to copy on docker image
Because the Fribourg GitLab need a relative path from the root of the project and not from the Dockerfile...
Is it possible to see one time a correct installation of GitLab somewhere?!

Signed-off-by: Klagarge <remi@heredero.ch>
2025-05-20 11:27:12 +02:00
d349caec74 feat(web-app): added CI to build docker image CD to deploy the app
Signed-off-by: Klagarge <remi@heredero.ch>
2025-05-20 10:59:50 +02:00
Yann Sierro
7cda1aa8f4 Merge branch 'feat/8-frontend'
Frontend and http client

See merge request team-raclette/project-softweng!11
2025-05-20 08:08:56 +00:00
fastium
70039dfe0e feat(web-app): selected user/room/device
This part allow to select from where the data from with some option
- user
- room
- device
2025-05-20 07:25:37 +02:00
fastium
2a85ed3e87 chore(web-app): add package for select object 2025-05-16 20:40:37 +02:00
fastium
a511e6e18e feat(web-app): change location of the timeserie manager 2025-05-16 20:40:37 +02:00
fastium
63429dafa2 feat(web-app): add temperature request
The POST request was added to ask a new temperature, but didn't get the
new one.
2025-05-16 20:40:37 +02:00
fastium
563193f4cf feat(project): add web-app service in the docker compose 2025-05-16 20:40:37 +02:00
fastium
f70a59f65a feat(web-app): create docker file for the docker-compose 2025-05-16 20:40:37 +02:00
fastium
899592b493 feat(web-app): plot humidity and temperature 2025-05-16 20:40:36 +02:00
fastium
e13170ed1b feat(web-app): new components to manage the plots 2025-05-16 20:40:36 +02:00
fastium
a059c659fc feat(web-app): add chart lib to display series 2025-05-16 20:40:36 +02:00
fastium
11998daad3 chore(web-app): add package for layout 2025-05-16 20:40:36 +02:00
fastium
1743cc3962 chore(project): solve .gitignore confict 2025-05-16 20:40:36 +02:00
fastium
d27bed4f6a feat(web-app): add the time series manager to the application 2025-05-16 20:40:36 +02:00
fastium
c8c719099e feat(web-app): add get values and update dependencies 2025-05-16 20:40:36 +02:00
fastium
d6e3a5c1e0 feat(web-app): add verification available connection to backend for the http client 2025-05-16 20:37:25 +02:00
fastium
e18bed5fbc docs(web-app): add first puml diagram 2025-05-16 20:37:25 +02:00
fastium
4959d0fef2 chore(web-app): create new vue project to fix dependencies 2025-05-16 20:37:25 +02:00
627d1ac4c5 Merge branch 'feat/25-cd-for-gateway'
Resolve "CD for gateway"

Closes #25

See merge request team-raclette/project-softweng!8
2025-05-14 15:42:24 +00:00
82f44bbd12 fix(gateway): remove network configuration
Network should not be config, it's only a necessary part for the actual server deployment

Signed-off-by: Klagarge <remi@heredero.ch>
2025-05-14 17:40:18 +02:00
cdeef879d0 feat(gateway): added watchtower service for automatic container updates
Signed-off-by: Klagarge <remi@heredero.ch>
2025-05-13 22:16:00 +02:00