From ad5a7798e0ae708bb613cee404d2c48f2e61b90e Mon Sep 17 00:00:00 2001 From: jose-rZM <100773386+jose-rZM@users.noreply.github.com> Date: Tue, 16 Dec 2025 09:32:14 +0100 Subject: [PATCH] Add License header --- backend/app/__init__.py | 15 +++++++++++++++ backend/app/main.py | 16 ++++++++++++++++ backend/app/services/builds.py | 16 ++++++++++++++++ backend/app/services/menu.py | 16 ++++++++++++++++ backend/app/services/prices.py | 16 ++++++++++++++++ backend/app/settings.py | 16 ++++++++++++++++ backend/tests/test_api.py | 16 ++++++++++++++++ frontend/src/App.svelte | 18 ++++++++++++++++++ frontend/src/config.js | 18 ++++++++++++++++++ frontend/src/main.js | 18 ++++++++++++++++++ frontend/src/routes/+layout.svelte | 18 ++++++++++++++++++ frontend/src/services/api.js | 18 ++++++++++++++++++ frontend/src/styles/app.css | 18 ++++++++++++++++++ frontend/src/utils/text.js | 18 ++++++++++++++++++ 14 files changed, 237 insertions(+) diff --git a/backend/app/__init__.py b/backend/app/__init__.py index e69de29..0224155 100644 --- a/backend/app/__init__.py +++ b/backend/app/__init__.py @@ -0,0 +1,15 @@ +# CI/CD Workshop +# Copyright (C) 2025 OpenBokeron +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . diff --git a/backend/app/main.py b/backend/app/main.py index 84d0e02..7451365 100644 --- a/backend/app/main.py +++ b/backend/app/main.py @@ -1,3 +1,19 @@ +# CI/CD Workshop +# Copyright (C) 2025 OpenBokeron +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + import time from fastapi import FastAPI diff --git a/backend/app/services/builds.py b/backend/app/services/builds.py index a829dba..d7634b3 100644 --- a/backend/app/services/builds.py +++ b/backend/app/services/builds.py @@ -1,3 +1,19 @@ +# CI/CD Workshop +# Copyright (C) 2025 OpenBokeron +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + import base64 import json from pathlib import Path diff --git a/backend/app/services/menu.py b/backend/app/services/menu.py index aa17f91..60d6b7c 100644 --- a/backend/app/services/menu.py +++ b/backend/app/services/menu.py @@ -1,3 +1,19 @@ +# CI/CD Workshop +# Copyright (C) 2025 OpenBokeron +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + import json import random from datetime import datetime diff --git a/backend/app/services/prices.py b/backend/app/services/prices.py index 1d30879..a6a836a 100644 --- a/backend/app/services/prices.py +++ b/backend/app/services/prices.py @@ -1,3 +1,19 @@ +# CI/CD Workshop +# Copyright (C) 2025 OpenBokeron +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + import json import random from datetime import datetime diff --git a/backend/app/settings.py b/backend/app/settings.py index b69ea53..79c78a5 100644 --- a/backend/app/settings.py +++ b/backend/app/settings.py @@ -1,3 +1,19 @@ +# CI/CD Workshop +# Copyright (C) 2025 OpenBokeron +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + import os from dataclasses import dataclass diff --git a/backend/tests/test_api.py b/backend/tests/test_api.py index 96659a3..ee9d833 100644 --- a/backend/tests/test_api.py +++ b/backend/tests/test_api.py @@ -1,3 +1,19 @@ +# CI/CD Workshop +# Copyright (C) 2025 OpenBokeron +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + from fastapi.testclient import TestClient from app.main import app diff --git a/frontend/src/App.svelte b/frontend/src/App.svelte index feb4870..776835f 100644 --- a/frontend/src/App.svelte +++ b/frontend/src/App.svelte @@ -1,3 +1,21 @@ + + diff --git a/frontend/src/services/api.js b/frontend/src/services/api.js index 6713981..d4369d0 100644 --- a/frontend/src/services/api.js +++ b/frontend/src/services/api.js @@ -1,3 +1,21 @@ +/* +CI/CD Workshop +Copyright (C) 2025 OpenBokeron + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + import { API_BASE } from '../config'; async function getJson(endpoint) { diff --git a/frontend/src/styles/app.css b/frontend/src/styles/app.css index 370a26d..412cea7 100644 --- a/frontend/src/styles/app.css +++ b/frontend/src/styles/app.css @@ -1,3 +1,21 @@ +/* +CI/CD Workshop +Copyright (C) 2025 OpenBokeron + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + @import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap'); body { diff --git a/frontend/src/utils/text.js b/frontend/src/utils/text.js index e9059c7..55af2e5 100644 --- a/frontend/src/utils/text.js +++ b/frontend/src/utils/text.js @@ -1,3 +1,21 @@ +/* +CI/CD Workshop +Copyright (C) 2025 OpenBokeron + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + export function prettify(item) { return item .split('_')