diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..3556447 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 680578a..a7d7376 100644 --- a/README.md +++ b/README.md @@ -84,3 +84,7 @@ gelangt. Noch nicht initialisiert. Bei Bedarf: `git init && git add . && git commit -m "Initial"`. `include/secrets.h` und `.venv-platformio/` sind bereits in `.gitignore`. + +--- + +Licensed under the [MIT License](LICENSE) - Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) diff --git a/include/date_utils.h b/include/date_utils.h index f3b1eb4..5265fe7 100644 --- a/include/date_utils.h +++ b/include/date_utils.h @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) - MIT License #pragma once #include diff --git a/include/text_utils.h b/include/text_utils.h index 002f47f..44d1356 100644 --- a/include/text_utils.h +++ b/include/text_utils.h @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) - MIT License #pragma once #include diff --git a/include/theme.h b/include/theme.h index 7b66c80..e37a3bf 100644 --- a/include/theme.h +++ b/include/theme.h @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) - MIT License #pragma once #include diff --git a/scripts/build.sh b/scripts/build.sh index 7132ab1..950d39e 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) - MIT License set -euo pipefail cd "$(dirname "$0")/.." VENV_DIR=".venv-platformio" diff --git a/scripts/deploy.sh b/scripts/deploy.sh index fb9df48..fce7697 100644 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) - MIT License set -euo pipefail cd "$(dirname "$0")/.." VENV_DIR=".venv-platformio" diff --git a/src/api/calendar_api.cpp b/src/api/calendar_api.cpp index cc7f5f0..b7cca08 100644 --- a/src/api/calendar_api.cpp +++ b/src/api/calendar_api.cpp @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) - MIT License #include "calendar_api.h" #include "http_client.h" #include "../../include/secrets.h" diff --git a/src/api/calendar_api.h b/src/api/calendar_api.h index f28be54..dfc2f7f 100644 --- a/src/api/calendar_api.h +++ b/src/api/calendar_api.h @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) - MIT License #pragma once #include #include diff --git a/src/api/departures_api.cpp b/src/api/departures_api.cpp index 2039c28..dc0f050 100644 --- a/src/api/departures_api.cpp +++ b/src/api/departures_api.cpp @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) - MIT License #include "departures_api.h" #include "http_client.h" #include "../../include/secrets.h" diff --git a/src/api/departures_api.h b/src/api/departures_api.h index 3ebef16..3bc7840 100644 --- a/src/api/departures_api.h +++ b/src/api/departures_api.h @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) - MIT License #pragma once #include #include diff --git a/src/api/http_client.cpp b/src/api/http_client.cpp index 5c93e7a..dd9cd55 100644 --- a/src/api/http_client.cpp +++ b/src/api/http_client.cpp @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) - MIT License #include "http_client.h" #include #include diff --git a/src/api/http_client.h b/src/api/http_client.h index 5c8c6eb..db7c56c 100644 --- a/src/api/http_client.h +++ b/src/api/http_client.h @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) - MIT License #pragma once #include diff --git a/src/api/weather_api.cpp b/src/api/weather_api.cpp index 7d657e0..50d3208 100644 --- a/src/api/weather_api.cpp +++ b/src/api/weather_api.cpp @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) - MIT License #include "weather_api.h" #include "http_client.h" #include "../../include/secrets.h" diff --git a/src/api/weather_api.h b/src/api/weather_api.h index 464b5db..409340d 100644 --- a/src/api/weather_api.h +++ b/src/api/weather_api.h @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) - MIT License #pragma once #include #include diff --git a/src/icons/icons.h b/src/icons/icons.h index 8c375ba..c33c24b 100644 --- a/src/icons/icons.h +++ b/src/icons/icons.h @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) - MIT License #pragma once #include #include "theme.h" diff --git a/src/main.cpp b/src/main.cpp index 7e70676..24c8807 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) - MIT License #include #include #include "../include/secrets.h" diff --git a/src/screens/calendar_detail_screen.cpp b/src/screens/calendar_detail_screen.cpp index 3275131..b10aad1 100644 --- a/src/screens/calendar_detail_screen.cpp +++ b/src/screens/calendar_detail_screen.cpp @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) - MIT License #include "calendar_detail_screen.h" #include #include "../../include/theme.h" diff --git a/src/screens/calendar_detail_screen.h b/src/screens/calendar_detail_screen.h index e7f1dde..4f34723 100644 --- a/src/screens/calendar_detail_screen.h +++ b/src/screens/calendar_detail_screen.h @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) - MIT License #pragma once void renderCalendarDetailScreen(bool forceRefresh = false); diff --git a/src/screens/home_screen.cpp b/src/screens/home_screen.cpp index 5c9c97b..87540b9 100644 --- a/src/screens/home_screen.cpp +++ b/src/screens/home_screen.cpp @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) - MIT License #include "home_screen.h" #include #include "../../include/theme.h" diff --git a/src/screens/home_screen.h b/src/screens/home_screen.h index 6e97f8a..40be6af 100644 --- a/src/screens/home_screen.h +++ b/src/screens/home_screen.h @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) - MIT License #pragma once void renderHomeScreen(bool forceRefresh = false); diff --git a/src/screens/mvg_screen.cpp b/src/screens/mvg_screen.cpp index 178035f..56253ca 100644 --- a/src/screens/mvg_screen.cpp +++ b/src/screens/mvg_screen.cpp @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) - MIT License #include "mvg_screen.h" #include #include "../../include/theme.h" diff --git a/src/screens/mvg_screen.h b/src/screens/mvg_screen.h index a464932..9fe121a 100644 --- a/src/screens/mvg_screen.h +++ b/src/screens/mvg_screen.h @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) - MIT License #pragma once void renderMvgScreen(bool forceRefresh = false); diff --git a/src/screens/screen_base.h b/src/screens/screen_base.h index 2ed7c9e..dcbcf22 100644 --- a/src/screens/screen_base.h +++ b/src/screens/screen_base.h @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) - MIT License #pragma once enum class ScreenId { diff --git a/src/screens/weather_detail_screen.cpp b/src/screens/weather_detail_screen.cpp index eae4e75..9a34baf 100644 --- a/src/screens/weather_detail_screen.cpp +++ b/src/screens/weather_detail_screen.cpp @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) - MIT License #include "weather_detail_screen.h" #include #include "../../include/theme.h" diff --git a/src/screens/weather_detail_screen.h b/src/screens/weather_detail_screen.h index 02f239c..8b1f8a5 100644 --- a/src/screens/weather_detail_screen.h +++ b/src/screens/weather_detail_screen.h @@ -1,3 +1,4 @@ +// Copyright (c) 2026 Stefan Koelle (https://stefankoelle.de) - MIT License #pragma once void renderWeatherDetailScreen(bool forceRefresh = false);