From def9854140f97a4ab872a06650e65009f4b230a0 Mon Sep 17 00:00:00 2001 From: ViMaSter Date: Sun, 12 Oct 2025 03:44:42 +0200 Subject: [PATCH 1/6] feat: Adds default renovate configuration --- renovate.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 renovate.json diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..38c2ad7 --- /dev/null +++ b/renovate.json @@ -0,0 +1,6 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended" + ] +} \ No newline at end of file From 3f62a9e5d6c34c2bc1c81b40f39a5373f792f433 Mon Sep 17 00:00:00 2001 From: June Date: Fri, 17 Oct 2025 16:01:08 +0200 Subject: [PATCH 2/6] fix: enable forkProcessing to make Renovate work for this repo Since Renovate is running in autodiscover mode and this repo is a fork, enable forkProcessing to have Renovate work for this repo. https://docs.renovatebot.com/configuration-options/#forkprocessing --- renovate.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/renovate.json b/renovate.json index 38c2ad7..d980a0e 100644 --- a/renovate.json +++ b/renovate.json @@ -2,5 +2,6 @@ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ "config:recommended" - ] -} \ No newline at end of file + ], + "forkProcessing": "enabled" +} From 55cc21f83d7051e3b77387832bd64f247fe4042d Mon Sep 17 00:00:00 2001 From: Vincent Mahnke Date: Sat, 25 Oct 2025 15:32:07 +0200 Subject: [PATCH 3/6] docs: Uses new relative paths --- LICENSEINFO.md | 4 ++-- README.md | 52 +++++++++++++++++++++++++------------------------- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/LICENSEINFO.md b/LICENSEINFO.md index c8f660a..f790349 100644 --- a/LICENSEINFO.md +++ b/LICENSEINFO.md @@ -1,7 +1,7 @@ **Surveillance under Surveillance** uses code, data, icons and fonts that are licensed under different licenses: -* Code of [osmcamera](https://github.com/khris78/osmcamera) — [CC-BY-SA / MIT / GPLv3 / WTFPL](./www/sunders/files/license_osmcamera.txt) -* Code of [Leaflet/Leaflet](https://github.com/Leaflet/Leaflet) — [BSD-2-Clause](./www/sunders/files/license_Leaflet.txt) +* Code of [osmcamera](https://github.com/khris78/osmcamera) — [CC-BY-SA / MIT / GPLv3 / WTFPL](./web/www/sunders/files/license_osmcamera.txt) +* Code of [Leaflet/Leaflet](https://github.com/Leaflet/Leaflet) — [BSD-2-Clause](./web/www/sunders/files/license_Leaflet.txt) * Data of [OpenStreetMap](https://www.openstreetmap.org/) — [ODbL / CC BY-SA](https://www.openstreetmap.org/copyright) * Data of [OpenStreetMap Nominatim](https://nominatim.openstreetmap.org/) — [ODbL](https://www.openstreetmap.org/copyright) * Data of [GeoNames](https://www.geonames.org/) — [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/) diff --git a/README.md b/README.md index d4b38c1..940c6a0 100644 --- a/README.md +++ b/README.md @@ -109,38 +109,38 @@ Key | Value * The font [Grabstein Grotesk](https://fontlibrary.org/de/font/grabstein-grotesk) [OLF] is used for the titles. -[img_red]: ./www/sunders/images/colorRed.png "Public surveillance" -[img_redall]: ./www/sunders/images/colorRedAll.png "Public surveillance" +[img_red]: ./web/www/sunders/images/colorRed.png "Public surveillance" +[img_redall]: ./web/www/sunders/images/colorRedAll.png "Public surveillance" -[img_blue]: ./www/sunders/images/colorBlue.png "Outdoor surveillance" -[img_blueall]: ./www/sunders/images/colorBlueAll.png "Outdoor surveillance" +[img_blue]: ./web/www/sunders/images/colorBlue.png "Outdoor surveillance" +[img_blueall]: ./web/www/sunders/images/colorBlueAll.png "Outdoor surveillance" -[img_green]: ./www/sunders/images/colorGreen.png "Indoor surveillance" -[img_greenall]: ./www/sunders/images/colorGreenAll.png "Indoor surveillance" +[img_green]: ./web/www/sunders/images/colorGreen.png "Indoor surveillance" +[img_greenall]: ./web/www/sunders/images/colorGreenAll.png "Indoor surveillance" -[img_cam]: ./www/sunders/images/cam.png "Camera" -[img_camall]: ./www/sunders/images/camAll.png "Cameras" -[img_todo_camall]: ./www/sunders/images/todo_camAll.png "Cameras, fixme" +[img_cam]: ./web/www/sunders/images/cam.png "Camera" +[img_camall]: ./web/www/sunders/images/camAll.png "Cameras" +[img_todo_camall]: ./web/www/sunders/images/todo_camAll.png "Cameras, fixme" -[img_fixed]: ./www/sunders/images/fixed.png "Fixed camera" -[img_fixedall]: ./www/sunders/images/fixedAll.png "Fixed cameras" -[img_todo_fixedall]: ./www/sunders/images/todo_fixedAll.png "Fixed cameras, fixme" +[img_fixed]: ./web/www/sunders/images/fixed.png "Fixed camera" +[img_fixedall]: ./web/www/sunders/images/fixedAll.png "Fixed cameras" +[img_todo_fixedall]: ./web/www/sunders/images/todo_fixedAll.png "Fixed cameras, fixme" -[img_panning]: ./www/sunders/images/panning.png "Panning camera" -[img_panningall]: ./www/sunders/images/panningAll.png "Panning cameras" -[img_todo_panningall]: ./www/sunders/images/todo_panningAll.png "Panning cameras, fixme" +[img_panning]: ./web/www/sunders/images/panning.png "Panning camera" +[img_panningall]: ./web/www/sunders/images/panningAll.png "Panning cameras" +[img_todo_panningall]: ./web/www/sunders/images/todo_panningAll.png "Panning cameras, fixme" -[img_dome]: ./www/sunders/images/dome.png "Dome camera" -[img_domeall]: ./www/sunders/images/domeAll.png "Dome cameras" -[img_todo_domeall]: ./www/sunders/images/todo_domeAll.png "Dome cameras, fixme" +[img_dome]: ./web/www/sunders/images/dome.png "Dome camera" +[img_domeall]: ./web/www/sunders/images/domeAll.png "Dome cameras" +[img_todo_domeall]: ./web/www/sunders/images/todo_domeAll.png "Dome cameras, fixme" -[img_guard]: ./www/sunders/images/guard.png "Guard" -[img_guardall]: ./www/sunders/images/guardAll.png "Guards" -[img_todo_guardall]: ./www/sunders/images/todo_guardAll.png "Guards, fixme" +[img_guard]: ./web/www/sunders/images/guard.png "Guard" +[img_guardall]: ./web/www/sunders/images/guardAll.png "Guards" +[img_todo_guardall]: ./web/www/sunders/images/todo_guardAll.png "Guards, fixme" -[img_traffic]: ./www/sunders/images/traffic.png "Automatic Licence Plate Recognition" -[img_todo_traffic]: ./www/sunders/images/todo_traffic.png "Automatic Licence Plate Recognition, fixme" +[img_traffic]: ./web/www/sunders/images/traffic.png "Automatic Licence Plate Recognition" +[img_todo_traffic]: ./web/www/sunders/images/todo_traffic.png "Automatic Licence Plate Recognition, fixme" -[img_example1]: ./www/sunders/images/fixed_z-17_d-90_a-15_h-5.png "Field of view (direction: 90°, angle: 15°, height: 5m)" -[img_example2]: ./www/sunders/images/fixed_z-17_d-90_a-15_h-10.png "Field of view (direction: 90°, angle: 15°, height: 10m)" -[img_example3]: ./www/sunders/images/fixed_z-17_d-90_a-60_h-10.png "Field of view (direction: 90°, angle: 60°, height: 10m)" \ No newline at end of file +[img_example1]: ./web/www/sunders/images/fixed_z-17_d-90_a-15_h-5.png "Field of view (direction: 90°, angle: 15°, height: 5m)" +[img_example2]: ./web/www/sunders/images/fixed_z-17_d-90_a-15_h-10.png "Field of view (direction: 90°, angle: 15°, height: 10m)" +[img_example3]: ./web/www/sunders/images/fixed_z-17_d-90_a-60_h-10.png "Field of view (direction: 90°, angle: 60°, height: 10m)" \ No newline at end of file From d812b465160d9f96252da1d8137d9ce8625c5b49 Mon Sep 17 00:00:00 2001 From: Vincent Mahnke Date: Sat, 25 Oct 2025 15:55:32 +0200 Subject: [PATCH 4/6] chore: Removes need for container host directory by moving database to volume --- docker-compose.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 045d853..cacf904 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,7 +10,7 @@ services: ports: - "3306:3306" volumes: - - ./mariadb:/var/lib/mysql:Z + - mariadb:/var/lib/mysql:Z healthcheck: test: ["CMD", "mariadb-admin", "ping", "-h", "localhost", "-uroot", "-prootpassword"] interval: 10s @@ -52,3 +52,6 @@ services: db: condition: service_healthy restart: true + +volumes: + mariadb: \ No newline at end of file From 6289ed9f7ee1084b566d74c7a42bdd48b67e64b3 Mon Sep 17 00:00:00 2001 From: Vincent Mahnke Date: Sat, 25 Oct 2025 15:51:38 +0200 Subject: [PATCH 5/6] fix: Replaces external project reference --- data_handler/Containerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data_handler/Containerfile b/data_handler/Containerfile index 5cdf7b9..342ae74 100644 --- a/data_handler/Containerfile +++ b/data_handler/Containerfile @@ -1,5 +1,5 @@ -FROM ghcr.io/asohh/fedora-minimal-containers/php-cli:43 -RUN microdnf install -y php-mysqli php-bcmath php-xml python-lxml gunzip https://raw.githubusercontent.com/rpmsphere/x86_64/master/d/dcron-4.5-7.1.x86_64.rpm && microdnf clean all +FROM quay.io/fedora/fedora-minimal:43 +RUN microdnf install -y php-cli php-mysqli php-bcmath php-xml python-lxml gunzip https://raw.githubusercontent.com/rpmsphere/x86_64/master/d/dcron-4.5-7.1.x86_64.rpm && microdnf clean all COPY ./utils/* /opt/ COPY ./data_init/*.sql /opt/init/init.sql From fb7db68946cdf97e699ffd04582760395fbd2684 Mon Sep 17 00:00:00 2001 From: ViMaSter Date: Sat, 25 Oct 2025 16:52:46 +0200 Subject: [PATCH 6/6] Removes unused files --- get_rate.sh | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 get_rate.sh diff --git a/get_rate.sh b/get_rate.sh deleted file mode 100644 index a09659d..0000000 --- a/get_rate.sh +++ /dev/null @@ -1,5 +0,0 @@ -before=$(ls migrations | wc -l) -sleep 60 -after=$(ls migrations | wc -l) -let dif=after-before -echo "$dif" \ No newline at end of file