From 3972860be804811bb4a5362e8430b1232b07ff0c Mon Sep 17 00:00:00 2001 From: root Date: Wed, 12 Mar 2025 12:33:05 +0100 Subject: [PATCH] env vars --- Dokumentation.md | 0 LICENSE.md | 0 README.md | 0 archiv/NETWORK-api-backend_blueprint/.env | 0 .../NETWORK-api-backend_blueprint/README.md | 0 .../datenbank_erstellen.py | 0 .../requirements.txt | 0 .../NETWORK-api-backend_blueprint/server.py | 0 .../ultimaker_example-integration.py | 0 archiv/backend/myp_backend.db | 0 archiv/backend/myp_backend.py | 0 archiv/backend/templates/base.html | 0 archiv/backend/templates/dashboard.html | 0 archiv/backend/templates/login.html | 0 archiv/flask-backend/.env | 0 archiv/flask-backend/.env.example | 0 archiv/flask-backend/Dockerfile | 0 archiv/flask-backend/README.md | 0 archiv/flask-backend/app/__init__.py | 0 archiv/flask-backend/app/api/__init__.py | 0 archiv/flask-backend/app/api/jobs.py | 0 archiv/flask-backend/app/api/printers.py | 0 archiv/flask-backend/app/api/users.py | 0 archiv/flask-backend/app/auth/__init__.py | 0 archiv/flask-backend/app/auth/routes.py | 0 archiv/flask-backend/app/models.py | 0 archiv/flask-backend/config.py | 0 archiv/flask-backend/docker-compose.yml | 0 archiv/flask-backend/migrations/alembic.ini | 0 archiv/flask-backend/migrations/env.py | 0 .../flask-backend/migrations/script.py.mako | 0 .../migrations/versions/initial_migration.py | 0 archiv/flask-backend/requirements.txt | 0 archiv/flask-backend/scripts/init_db.py | 0 archiv/flask-backend/wsgi.py | 0 backend/.gitignore | 0 backend/Dockerfile | 0 backend/app.py | 52 ++++++++++-------- .../development/initialize_myp_database.sh | 8 +-- backend/docker-compose.yml | 0 docs/.gitkeep | 0 docs/Aktueller Stand.md | 0 docs/Dokumentation_IHK.md | 0 docs/Infrastruktur.png | Bin docs/Infrastruktur.tldr | 0 docs/MYP.dbml | 0 docs/MYP.png | Bin docs/MYP.sql | 0 frontend-aenderungen.md | 0 packages/reservation-platform/.dockerignore | 0 packages/reservation-platform/.env.example | 0 packages/reservation-platform/.gitignore | 0 packages/reservation-platform/Dockerfile | 0 packages/reservation-platform/README.md | 0 packages/reservation-platform/biome.json | 0 packages/reservation-platform/components.json | 0 .../docker/caddy/Caddyfile | 0 .../reservation-platform/docker/compose.yml | 0 .../docker/images/.gitattributes | 0 .../docker/images/caddy_2.8.tar.xz | 0 .../docker/images/myp-rp_latest.tar.xz | 0 .../docs/Admin-Dashboard.md | 0 .../reservation-platform/docs/Architektur.md | 0 .../docs/Bereitstellungsdetails .md | 0 .../reservation-platform/docs/Datenbank.md | 0 .../reservation-platform/docs/Installation.md | 0 packages/reservation-platform/docs/Nutzung.md | 0 packages/reservation-platform/docs/README.md | 0 .../reservation-platform/drizzle.config.ts | 0 .../drizzle/0000_overjoyed_strong_guy.sql | 0 .../drizzle/meta/0000_snapshot.json | 0 .../drizzle/meta/_journal.json | 0 packages/reservation-platform/next.config.mjs | 0 packages/reservation-platform/package.json | 0 packages/reservation-platform/pnpm-lock.yaml | 0 .../reservation-platform/postcss.config.mjs | 0 packages/reservation-platform/public/next.svg | 0 .../reservation-platform/public/vercel.svg | 0 .../reservation-platform/repomix-output.txt | 0 .../scripts/generate-data.js | 0 .../src/app/admin/about/page.tsx | 0 .../src/app/admin/admin-sidebar.tsx | 0 .../app/admin/charts/printer-error-chart.tsx | 0 .../app/admin/charts/printer-error-rate.tsx | 0 .../src/app/admin/charts/printer-forecast.tsx | 0 .../app/admin/charts/printer-utilization.tsx | 0 .../src/app/admin/charts/printer-volume.tsx | 0 .../src/app/admin/jobs/page.tsx | 0 .../src/app/admin/layout.tsx | 0 .../src/app/admin/page.tsx | 0 .../src/app/admin/printers/columns.tsx | 0 .../src/app/admin/printers/data-table.tsx | 0 .../admin/printers/dialogs/create-printer.tsx | 0 .../admin/printers/dialogs/delete-printer.tsx | 0 .../admin/printers/dialogs/edit-printer.tsx | 0 .../src/app/admin/printers/form.tsx | 0 .../src/app/admin/printers/page.tsx | 0 .../src/app/admin/settings/download/route.ts | 0 .../src/app/admin/settings/page.tsx | 0 .../src/app/admin/users/columns.tsx | 0 .../src/app/admin/users/data-table.tsx | 0 .../src/app/admin/users/dialog.tsx | 0 .../src/app/admin/users/form.tsx | 0 .../src/app/admin/users/page.tsx | 0 .../api/job/[jobId]/remaining-time/route.ts | 0 .../src/app/api/printers/route.ts | 0 .../src/app/auth/login/callback/route.ts | 0 .../src/app/auth/login/route.ts | 0 .../reservation-platform/src/app/favicon.ico | Bin .../reservation-platform/src/app/globals.css | 0 .../src/app/job/[jobId]/cancel-form.tsx | 0 .../src/app/job/[jobId]/edit-comments.tsx | 0 .../src/app/job/[jobId]/extend-form.tsx | 0 .../src/app/job/[jobId]/finish-form.tsx | 0 .../src/app/job/[jobId]/page.tsx | 0 .../reservation-platform/src/app/layout.tsx | 0 .../src/app/my/jobs/columns.tsx | 0 .../src/app/my/jobs/data-table.tsx | 0 .../src/app/my/profile/page.tsx | 0 .../src/app/not-found.tsx | 0 .../reservation-platform/src/app/page.tsx | 0 .../app/printer/[printerId]/reserve/form.tsx | 0 .../app/printer/[printerId]/reserve/page.tsx | 0 .../src/components/data-card.tsx | 0 .../src/components/data-table.tsx | 0 .../src/components/dynamic-printer-cards.tsx | 0 .../src/components/header/index.tsx | 0 .../src/components/header/navigation.tsx | 0 .../src/components/login-button.tsx | 0 .../src/components/logout-button.tsx | 0 .../src/components/personalized-cards.tsx | 0 .../components/printer-availability-badge.tsx | 0 .../src/components/printer-card/countdown.tsx | 0 .../src/components/printer-card/index.tsx | 0 .../src/components/ui/alert-dialog.tsx | 0 .../src/components/ui/alert.tsx | 0 .../src/components/ui/avatar.tsx | 0 .../src/components/ui/badge.tsx | 0 .../src/components/ui/breadcrumb.tsx | 0 .../src/components/ui/button.tsx | 0 .../src/components/ui/card.tsx | 0 .../src/components/ui/chart.tsx | 0 .../src/components/ui/dialog.tsx | 0 .../src/components/ui/dropdown-menu.tsx | 0 .../src/components/ui/form.tsx | 0 .../src/components/ui/hover-card.tsx | 0 .../src/components/ui/input.tsx | 0 .../src/components/ui/label.tsx | 0 .../src/components/ui/scroll-area.tsx | 0 .../src/components/ui/select.tsx | 0 .../src/components/ui/skeleton.tsx | 0 .../src/components/ui/sonner.tsx | 0 .../src/components/ui/table.tsx | 0 .../src/components/ui/tabs.tsx | 0 .../src/components/ui/textarea.tsx | 0 .../src/components/ui/toast.tsx | 0 .../src/components/ui/toaster.tsx | 0 .../src/components/ui/use-toast.ts | 0 .../server/actions/authentication/logout.ts | 0 .../src/server/actions/printJobs.ts | 0 .../src/server/actions/printers.ts | 0 .../src/server/actions/timer.ts | 0 .../src/server/actions/user/delete.ts | 0 .../src/server/actions/user/update.ts | 0 .../src/server/actions/users.ts | 0 .../src/server/auth/index.ts | 0 .../src/server/auth/oauth.ts | 0 .../src/server/auth/permissions.ts | 0 .../src/server/db/index.ts | 0 .../src/server/db/migrate.ts | 0 .../src/server/db/schema.ts | 0 .../src/utils/analytics/error-rate.ts | 0 .../src/utils/analytics/errors.ts | 0 .../src/utils/analytics/forecast.ts | 0 .../src/utils/analytics/utilization.ts | 0 .../src/utils/analytics/volume.ts | 0 .../reservation-platform/src/utils/drizzle.ts | 0 .../reservation-platform/src/utils/errors.ts | 0 .../reservation-platform/src/utils/fetch.ts | 0 .../reservation-platform/src/utils/guard.ts | 0 .../src/utils/printers.ts | 0 .../reservation-platform/src/utils/strings.ts | 0 .../reservation-platform/src/utils/styles.ts | 0 .../reservation-platform/tailwind.config.ts | 0 packages/reservation-platform/tsconfig.json | 0 185 files changed, 33 insertions(+), 27 deletions(-) mode change 100644 => 100755 Dokumentation.md mode change 100644 => 100755 LICENSE.md mode change 100644 => 100755 README.md mode change 100644 => 100755 archiv/NETWORK-api-backend_blueprint/.env mode change 100644 => 100755 archiv/NETWORK-api-backend_blueprint/README.md mode change 100644 => 100755 archiv/NETWORK-api-backend_blueprint/datenbank_erstellen.py mode change 100644 => 100755 archiv/NETWORK-api-backend_blueprint/requirements.txt mode change 100644 => 100755 archiv/NETWORK-api-backend_blueprint/server.py mode change 100644 => 100755 archiv/NETWORK-api-backend_blueprint/ultimaker_example-integration.py mode change 100644 => 100755 archiv/backend/myp_backend.db mode change 100644 => 100755 archiv/backend/myp_backend.py mode change 100644 => 100755 archiv/backend/templates/base.html mode change 100644 => 100755 archiv/backend/templates/dashboard.html mode change 100644 => 100755 archiv/backend/templates/login.html mode change 100644 => 100755 archiv/flask-backend/.env mode change 100644 => 100755 archiv/flask-backend/.env.example mode change 100644 => 100755 archiv/flask-backend/Dockerfile mode change 100644 => 100755 archiv/flask-backend/README.md mode change 100644 => 100755 archiv/flask-backend/app/__init__.py mode change 100644 => 100755 archiv/flask-backend/app/api/__init__.py mode change 100644 => 100755 archiv/flask-backend/app/api/jobs.py mode change 100644 => 100755 archiv/flask-backend/app/api/printers.py mode change 100644 => 100755 archiv/flask-backend/app/api/users.py mode change 100644 => 100755 archiv/flask-backend/app/auth/__init__.py mode change 100644 => 100755 archiv/flask-backend/app/auth/routes.py mode change 100644 => 100755 archiv/flask-backend/app/models.py mode change 100644 => 100755 archiv/flask-backend/config.py mode change 100644 => 100755 archiv/flask-backend/docker-compose.yml mode change 100644 => 100755 archiv/flask-backend/migrations/alembic.ini mode change 100644 => 100755 archiv/flask-backend/migrations/env.py mode change 100644 => 100755 archiv/flask-backend/migrations/script.py.mako mode change 100644 => 100755 archiv/flask-backend/migrations/versions/initial_migration.py mode change 100644 => 100755 archiv/flask-backend/requirements.txt mode change 100644 => 100755 archiv/flask-backend/scripts/init_db.py mode change 100644 => 100755 archiv/flask-backend/wsgi.py mode change 100644 => 100755 backend/.gitignore mode change 100644 => 100755 backend/Dockerfile mode change 100644 => 100755 backend/docker-compose.yml mode change 100644 => 100755 docs/.gitkeep mode change 100644 => 100755 docs/Aktueller Stand.md mode change 100644 => 100755 docs/Dokumentation_IHK.md mode change 100644 => 100755 docs/Infrastruktur.png mode change 100644 => 100755 docs/Infrastruktur.tldr mode change 100644 => 100755 docs/MYP.dbml mode change 100644 => 100755 docs/MYP.png mode change 100644 => 100755 docs/MYP.sql mode change 100644 => 100755 frontend-aenderungen.md mode change 100644 => 100755 packages/reservation-platform/.dockerignore mode change 100644 => 100755 packages/reservation-platform/.env.example mode change 100644 => 100755 packages/reservation-platform/.gitignore mode change 100644 => 100755 packages/reservation-platform/Dockerfile mode change 100644 => 100755 packages/reservation-platform/README.md mode change 100644 => 100755 packages/reservation-platform/biome.json mode change 100644 => 100755 packages/reservation-platform/components.json mode change 100644 => 100755 packages/reservation-platform/docker/caddy/Caddyfile mode change 100644 => 100755 packages/reservation-platform/docker/compose.yml mode change 100644 => 100755 packages/reservation-platform/docker/images/.gitattributes mode change 100644 => 100755 packages/reservation-platform/docker/images/caddy_2.8.tar.xz mode change 100644 => 100755 packages/reservation-platform/docker/images/myp-rp_latest.tar.xz mode change 100644 => 100755 packages/reservation-platform/docs/Admin-Dashboard.md mode change 100644 => 100755 packages/reservation-platform/docs/Architektur.md mode change 100644 => 100755 packages/reservation-platform/docs/Bereitstellungsdetails .md mode change 100644 => 100755 packages/reservation-platform/docs/Datenbank.md mode change 100644 => 100755 packages/reservation-platform/docs/Installation.md mode change 100644 => 100755 packages/reservation-platform/docs/Nutzung.md mode change 100644 => 100755 packages/reservation-platform/docs/README.md mode change 100644 => 100755 packages/reservation-platform/drizzle.config.ts mode change 100644 => 100755 packages/reservation-platform/drizzle/0000_overjoyed_strong_guy.sql mode change 100644 => 100755 packages/reservation-platform/drizzle/meta/0000_snapshot.json mode change 100644 => 100755 packages/reservation-platform/drizzle/meta/_journal.json mode change 100644 => 100755 packages/reservation-platform/next.config.mjs mode change 100644 => 100755 packages/reservation-platform/package.json mode change 100644 => 100755 packages/reservation-platform/pnpm-lock.yaml mode change 100644 => 100755 packages/reservation-platform/postcss.config.mjs mode change 100644 => 100755 packages/reservation-platform/public/next.svg mode change 100644 => 100755 packages/reservation-platform/public/vercel.svg mode change 100644 => 100755 packages/reservation-platform/repomix-output.txt mode change 100644 => 100755 packages/reservation-platform/scripts/generate-data.js mode change 100644 => 100755 packages/reservation-platform/src/app/admin/about/page.tsx mode change 100644 => 100755 packages/reservation-platform/src/app/admin/admin-sidebar.tsx mode change 100644 => 100755 packages/reservation-platform/src/app/admin/charts/printer-error-chart.tsx mode change 100644 => 100755 packages/reservation-platform/src/app/admin/charts/printer-error-rate.tsx mode change 100644 => 100755 packages/reservation-platform/src/app/admin/charts/printer-forecast.tsx mode change 100644 => 100755 packages/reservation-platform/src/app/admin/charts/printer-utilization.tsx mode change 100644 => 100755 packages/reservation-platform/src/app/admin/charts/printer-volume.tsx mode change 100644 => 100755 packages/reservation-platform/src/app/admin/jobs/page.tsx mode change 100644 => 100755 packages/reservation-platform/src/app/admin/layout.tsx mode change 100644 => 100755 packages/reservation-platform/src/app/admin/page.tsx mode change 100644 => 100755 packages/reservation-platform/src/app/admin/printers/columns.tsx mode change 100644 => 100755 packages/reservation-platform/src/app/admin/printers/data-table.tsx mode change 100644 => 100755 packages/reservation-platform/src/app/admin/printers/dialogs/create-printer.tsx mode change 100644 => 100755 packages/reservation-platform/src/app/admin/printers/dialogs/delete-printer.tsx mode change 100644 => 100755 packages/reservation-platform/src/app/admin/printers/dialogs/edit-printer.tsx mode change 100644 => 100755 packages/reservation-platform/src/app/admin/printers/form.tsx mode change 100644 => 100755 packages/reservation-platform/src/app/admin/printers/page.tsx mode change 100644 => 100755 packages/reservation-platform/src/app/admin/settings/download/route.ts mode change 100644 => 100755 packages/reservation-platform/src/app/admin/settings/page.tsx mode change 100644 => 100755 packages/reservation-platform/src/app/admin/users/columns.tsx mode change 100644 => 100755 packages/reservation-platform/src/app/admin/users/data-table.tsx mode change 100644 => 100755 packages/reservation-platform/src/app/admin/users/dialog.tsx mode change 100644 => 100755 packages/reservation-platform/src/app/admin/users/form.tsx mode change 100644 => 100755 packages/reservation-platform/src/app/admin/users/page.tsx mode change 100644 => 100755 packages/reservation-platform/src/app/api/job/[jobId]/remaining-time/route.ts mode change 100644 => 100755 packages/reservation-platform/src/app/api/printers/route.ts mode change 100644 => 100755 packages/reservation-platform/src/app/auth/login/callback/route.ts mode change 100644 => 100755 packages/reservation-platform/src/app/auth/login/route.ts mode change 100644 => 100755 packages/reservation-platform/src/app/favicon.ico mode change 100644 => 100755 packages/reservation-platform/src/app/globals.css mode change 100644 => 100755 packages/reservation-platform/src/app/job/[jobId]/cancel-form.tsx mode change 100644 => 100755 packages/reservation-platform/src/app/job/[jobId]/edit-comments.tsx mode change 100644 => 100755 packages/reservation-platform/src/app/job/[jobId]/extend-form.tsx mode change 100644 => 100755 packages/reservation-platform/src/app/job/[jobId]/finish-form.tsx mode change 100644 => 100755 packages/reservation-platform/src/app/job/[jobId]/page.tsx mode change 100644 => 100755 packages/reservation-platform/src/app/layout.tsx mode change 100644 => 100755 packages/reservation-platform/src/app/my/jobs/columns.tsx mode change 100644 => 100755 packages/reservation-platform/src/app/my/jobs/data-table.tsx mode change 100644 => 100755 packages/reservation-platform/src/app/my/profile/page.tsx mode change 100644 => 100755 packages/reservation-platform/src/app/not-found.tsx mode change 100644 => 100755 packages/reservation-platform/src/app/page.tsx mode change 100644 => 100755 packages/reservation-platform/src/app/printer/[printerId]/reserve/form.tsx mode change 100644 => 100755 packages/reservation-platform/src/app/printer/[printerId]/reserve/page.tsx mode change 100644 => 100755 packages/reservation-platform/src/components/data-card.tsx mode change 100644 => 100755 packages/reservation-platform/src/components/data-table.tsx mode change 100644 => 100755 packages/reservation-platform/src/components/dynamic-printer-cards.tsx mode change 100644 => 100755 packages/reservation-platform/src/components/header/index.tsx mode change 100644 => 100755 packages/reservation-platform/src/components/header/navigation.tsx mode change 100644 => 100755 packages/reservation-platform/src/components/login-button.tsx mode change 100644 => 100755 packages/reservation-platform/src/components/logout-button.tsx mode change 100644 => 100755 packages/reservation-platform/src/components/personalized-cards.tsx mode change 100644 => 100755 packages/reservation-platform/src/components/printer-availability-badge.tsx mode change 100644 => 100755 packages/reservation-platform/src/components/printer-card/countdown.tsx mode change 100644 => 100755 packages/reservation-platform/src/components/printer-card/index.tsx mode change 100644 => 100755 packages/reservation-platform/src/components/ui/alert-dialog.tsx mode change 100644 => 100755 packages/reservation-platform/src/components/ui/alert.tsx mode change 100644 => 100755 packages/reservation-platform/src/components/ui/avatar.tsx mode change 100644 => 100755 packages/reservation-platform/src/components/ui/badge.tsx mode change 100644 => 100755 packages/reservation-platform/src/components/ui/breadcrumb.tsx mode change 100644 => 100755 packages/reservation-platform/src/components/ui/button.tsx mode change 100644 => 100755 packages/reservation-platform/src/components/ui/card.tsx mode change 100644 => 100755 packages/reservation-platform/src/components/ui/chart.tsx mode change 100644 => 100755 packages/reservation-platform/src/components/ui/dialog.tsx mode change 100644 => 100755 packages/reservation-platform/src/components/ui/dropdown-menu.tsx mode change 100644 => 100755 packages/reservation-platform/src/components/ui/form.tsx mode change 100644 => 100755 packages/reservation-platform/src/components/ui/hover-card.tsx mode change 100644 => 100755 packages/reservation-platform/src/components/ui/input.tsx mode change 100644 => 100755 packages/reservation-platform/src/components/ui/label.tsx mode change 100644 => 100755 packages/reservation-platform/src/components/ui/scroll-area.tsx mode change 100644 => 100755 packages/reservation-platform/src/components/ui/select.tsx mode change 100644 => 100755 packages/reservation-platform/src/components/ui/skeleton.tsx mode change 100644 => 100755 packages/reservation-platform/src/components/ui/sonner.tsx mode change 100644 => 100755 packages/reservation-platform/src/components/ui/table.tsx mode change 100644 => 100755 packages/reservation-platform/src/components/ui/tabs.tsx mode change 100644 => 100755 packages/reservation-platform/src/components/ui/textarea.tsx mode change 100644 => 100755 packages/reservation-platform/src/components/ui/toast.tsx mode change 100644 => 100755 packages/reservation-platform/src/components/ui/toaster.tsx mode change 100644 => 100755 packages/reservation-platform/src/components/ui/use-toast.ts mode change 100644 => 100755 packages/reservation-platform/src/server/actions/authentication/logout.ts mode change 100644 => 100755 packages/reservation-platform/src/server/actions/printJobs.ts mode change 100644 => 100755 packages/reservation-platform/src/server/actions/printers.ts mode change 100644 => 100755 packages/reservation-platform/src/server/actions/timer.ts mode change 100644 => 100755 packages/reservation-platform/src/server/actions/user/delete.ts mode change 100644 => 100755 packages/reservation-platform/src/server/actions/user/update.ts mode change 100644 => 100755 packages/reservation-platform/src/server/actions/users.ts mode change 100644 => 100755 packages/reservation-platform/src/server/auth/index.ts mode change 100644 => 100755 packages/reservation-platform/src/server/auth/oauth.ts mode change 100644 => 100755 packages/reservation-platform/src/server/auth/permissions.ts mode change 100644 => 100755 packages/reservation-platform/src/server/db/index.ts mode change 100644 => 100755 packages/reservation-platform/src/server/db/migrate.ts mode change 100644 => 100755 packages/reservation-platform/src/server/db/schema.ts mode change 100644 => 100755 packages/reservation-platform/src/utils/analytics/error-rate.ts mode change 100644 => 100755 packages/reservation-platform/src/utils/analytics/errors.ts mode change 100644 => 100755 packages/reservation-platform/src/utils/analytics/forecast.ts mode change 100644 => 100755 packages/reservation-platform/src/utils/analytics/utilization.ts mode change 100644 => 100755 packages/reservation-platform/src/utils/analytics/volume.ts mode change 100644 => 100755 packages/reservation-platform/src/utils/drizzle.ts mode change 100644 => 100755 packages/reservation-platform/src/utils/errors.ts mode change 100644 => 100755 packages/reservation-platform/src/utils/fetch.ts mode change 100644 => 100755 packages/reservation-platform/src/utils/guard.ts mode change 100644 => 100755 packages/reservation-platform/src/utils/printers.ts mode change 100644 => 100755 packages/reservation-platform/src/utils/strings.ts mode change 100644 => 100755 packages/reservation-platform/src/utils/styles.ts mode change 100644 => 100755 packages/reservation-platform/tailwind.config.ts mode change 100644 => 100755 packages/reservation-platform/tsconfig.json diff --git a/Dokumentation.md b/Dokumentation.md old mode 100644 new mode 100755 diff --git a/LICENSE.md b/LICENSE.md old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/archiv/NETWORK-api-backend_blueprint/.env b/archiv/NETWORK-api-backend_blueprint/.env old mode 100644 new mode 100755 diff --git a/archiv/NETWORK-api-backend_blueprint/README.md b/archiv/NETWORK-api-backend_blueprint/README.md old mode 100644 new mode 100755 diff --git a/archiv/NETWORK-api-backend_blueprint/datenbank_erstellen.py b/archiv/NETWORK-api-backend_blueprint/datenbank_erstellen.py old mode 100644 new mode 100755 diff --git a/archiv/NETWORK-api-backend_blueprint/requirements.txt b/archiv/NETWORK-api-backend_blueprint/requirements.txt old mode 100644 new mode 100755 diff --git a/archiv/NETWORK-api-backend_blueprint/server.py b/archiv/NETWORK-api-backend_blueprint/server.py old mode 100644 new mode 100755 diff --git a/archiv/NETWORK-api-backend_blueprint/ultimaker_example-integration.py b/archiv/NETWORK-api-backend_blueprint/ultimaker_example-integration.py old mode 100644 new mode 100755 diff --git a/archiv/backend/myp_backend.db b/archiv/backend/myp_backend.db old mode 100644 new mode 100755 diff --git a/archiv/backend/myp_backend.py b/archiv/backend/myp_backend.py old mode 100644 new mode 100755 diff --git a/archiv/backend/templates/base.html b/archiv/backend/templates/base.html old mode 100644 new mode 100755 diff --git a/archiv/backend/templates/dashboard.html b/archiv/backend/templates/dashboard.html old mode 100644 new mode 100755 diff --git a/archiv/backend/templates/login.html b/archiv/backend/templates/login.html old mode 100644 new mode 100755 diff --git a/archiv/flask-backend/.env b/archiv/flask-backend/.env old mode 100644 new mode 100755 diff --git a/archiv/flask-backend/.env.example b/archiv/flask-backend/.env.example old mode 100644 new mode 100755 diff --git a/archiv/flask-backend/Dockerfile b/archiv/flask-backend/Dockerfile old mode 100644 new mode 100755 diff --git a/archiv/flask-backend/README.md b/archiv/flask-backend/README.md old mode 100644 new mode 100755 diff --git a/archiv/flask-backend/app/__init__.py b/archiv/flask-backend/app/__init__.py old mode 100644 new mode 100755 diff --git a/archiv/flask-backend/app/api/__init__.py b/archiv/flask-backend/app/api/__init__.py old mode 100644 new mode 100755 diff --git a/archiv/flask-backend/app/api/jobs.py b/archiv/flask-backend/app/api/jobs.py old mode 100644 new mode 100755 diff --git a/archiv/flask-backend/app/api/printers.py b/archiv/flask-backend/app/api/printers.py old mode 100644 new mode 100755 diff --git a/archiv/flask-backend/app/api/users.py b/archiv/flask-backend/app/api/users.py old mode 100644 new mode 100755 diff --git a/archiv/flask-backend/app/auth/__init__.py b/archiv/flask-backend/app/auth/__init__.py old mode 100644 new mode 100755 diff --git a/archiv/flask-backend/app/auth/routes.py b/archiv/flask-backend/app/auth/routes.py old mode 100644 new mode 100755 diff --git a/archiv/flask-backend/app/models.py b/archiv/flask-backend/app/models.py old mode 100644 new mode 100755 diff --git a/archiv/flask-backend/config.py b/archiv/flask-backend/config.py old mode 100644 new mode 100755 diff --git a/archiv/flask-backend/docker-compose.yml b/archiv/flask-backend/docker-compose.yml old mode 100644 new mode 100755 diff --git a/archiv/flask-backend/migrations/alembic.ini b/archiv/flask-backend/migrations/alembic.ini old mode 100644 new mode 100755 diff --git a/archiv/flask-backend/migrations/env.py b/archiv/flask-backend/migrations/env.py old mode 100644 new mode 100755 diff --git a/archiv/flask-backend/migrations/script.py.mako b/archiv/flask-backend/migrations/script.py.mako old mode 100644 new mode 100755 diff --git a/archiv/flask-backend/migrations/versions/initial_migration.py b/archiv/flask-backend/migrations/versions/initial_migration.py old mode 100644 new mode 100755 diff --git a/archiv/flask-backend/requirements.txt b/archiv/flask-backend/requirements.txt old mode 100644 new mode 100755 diff --git a/archiv/flask-backend/scripts/init_db.py b/archiv/flask-backend/scripts/init_db.py old mode 100644 new mode 100755 diff --git a/archiv/flask-backend/wsgi.py b/archiv/flask-backend/wsgi.py old mode 100644 new mode 100755 diff --git a/backend/.gitignore b/backend/.gitignore old mode 100644 new mode 100755 diff --git a/backend/Dockerfile b/backend/Dockerfile old mode 100644 new mode 100755 diff --git a/backend/app.py b/backend/app.py index efc72ef..0f06be3 100755 --- a/backend/app.py +++ b/backend/app.py @@ -32,8 +32,8 @@ app.config['PERMANENT_SESSION_LIFETIME'] = timedelta(days=7) # Steckdosen-Konfiguration TAPO_USERNAME = os.environ.get('TAPO_USERNAME') TAPO_PASSWORD = os.environ.get('TAPO_PASSWORD') -# SOCKET_DEVICES Format: {"192.168.1.100": {"number": "1"}, "192.168.1.101": {"number": "2"}, ...} -SOCKET_DEVICES = json.loads(os.environ.get('SOCKET_DEVICES', '{}')) +# PRINTERS Format: {"Printer 1": {"ip": "192.168.1.100"}, "Printer 2": {"ip": "192.168.1.101"}, ...} +PRINTERS = json.loads(os.environ.get('PRINTERS', '{}')) # Logging if not os.path.exists('logs'): @@ -111,42 +111,48 @@ def init_db(): # Initialisierung der Steckdosen def init_sockets(): """ - Initialisiert die Steckdosen-Einträge in der Datenbank basierend auf SOCKET_DEVICES Umgebungsvariable. + Initialisiert die Steckdosen-Einträge in der Datenbank basierend auf PRINTERS Umgebungsvariable. Stellt sicher, dass alle Steckdosen zu Beginn ausgeschaltet sind. """ - app.logger.info("Initialisiere Steckdosen aus Umgebungsvariablen") + app.logger.info("Initialisiere Drucker aus Umgebungsvariablen") db = get_db() - # Alle IP-Adressen aus der Datenbank abrufen - existing_ips = {row['ip_address']: row['id'] for row in db.execute('SELECT id, ip_address FROM socket').fetchall() if row['ip_address']} + # Alle Druckernamen aus der Datenbank abrufen + existing_printers = {row['name']: {'id': row['id'], 'ip': row['ip_address']} + for row in db.execute('SELECT id, name, ip_address FROM socket').fetchall()} - for ip_address, device_config in SOCKET_DEVICES.items(): - socket_number = device_config.get('number', '0') - name = f"Printer {socket_number}" + for printer_name, printer_config in PRINTERS.items(): + ip_address = printer_config.get('ip', '') description = f"3D-Drucker mit SmartPlug (IP: {ip_address})" - if ip_address in existing_ips: - # Steckdose existiert bereits, nichts zu tun - app.logger.info(f"Steckdose mit IP {ip_address} existiert bereits in der Datenbank") - socket_id = existing_ips[ip_address] + if printer_name in existing_printers: + # Drucker existiert bereits, überprüfe auf Änderungen an der IP + socket_id = existing_printers[printer_name]['id'] + if existing_printers[printer_name]['ip'] != ip_address: + # Aktualisiere die IP-Adresse, wenn sie sich geändert hat + update_socket(socket_id, ip_address=ip_address) + app.logger.info(f"IP-Adresse für Drucker {printer_name} aktualisiert: {ip_address}") + else: + app.logger.info(f"Drucker {printer_name} existiert bereits in der Datenbank") else: - # Steckdose erstellen, wenn sie noch nicht existiert - socket = create_socket(name=name, description=description, ip_address=ip_address, status=0) + # Drucker erstellen, wenn er noch nicht existiert + socket = create_socket(name=printer_name, description=description, ip_address=ip_address, status=0) socket_id = socket['id'] - app.logger.info(f"Neue Steckdose angelegt: {name} mit IP {ip_address}") + app.logger.info(f"Neuer Drucker angelegt: {printer_name} mit IP {ip_address}") # Steckdose ausschalten, um sicherzustellen, dass alle Steckdosen im AUS-Zustand starten - try: - turn_off_socket(ip_address) - app.logger.info(f"Steckdose {ip_address} wurde beim Start ausgeschaltet") - except Exception as e: - app.logger.error(f"Fehler beim Ausschalten der Steckdose {ip_address}: {e}") + if ip_address: + try: + turn_off_socket(ip_address) + app.logger.info(f"Steckdose für {printer_name} (IP: {ip_address}) wurde beim Start ausgeschaltet") + except Exception as e: + app.logger.error(f"Fehler beim Ausschalten der Steckdose für {printer_name} (IP: {ip_address}): {e}") # Initialisiere die Datenbank und Steckdosen beim Starten der Anwendung with app.app_context(): init_db() - # Nur initialisieren, wenn Steckdosen konfiguriert sind - if SOCKET_DEVICES: + # Nur initialisieren, wenn Drucker konfiguriert sind + if PRINTERS: init_sockets() app.teardown_appcontext(close_db) diff --git a/backend/development/initialize_myp_database.sh b/backend/development/initialize_myp_database.sh index 73005ba..51e00fc 100644 --- a/backend/development/initialize_myp_database.sh +++ b/backend/development/initialize_myp_database.sh @@ -45,7 +45,7 @@ CREATE TABLE IF NOT EXISTS session ( FOREIGN KEY (user_id) REFERENCES user (id) ON DELETE CASCADE ); -CREATE TABLE IF NOT EXISTS printer ( +CREATE TABLE IF NOT EXISTS socket ( id TEXT PRIMARY KEY, name TEXT NOT NULL, description TEXT NOT NULL, @@ -53,16 +53,16 @@ CREATE TABLE IF NOT EXISTS printer ( ip_address TEXT ); -CREATE TABLE IF NOT EXISTS print_job ( +CREATE TABLE IF NOT EXISTS job ( id TEXT PRIMARY KEY, - printer_id TEXT NOT NULL, + socket_id TEXT NOT NULL, user_id TEXT NOT NULL, start_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP, duration_in_minutes INTEGER NOT NULL, comments TEXT, aborted INTEGER DEFAULT 0, abort_reason TEXT, - FOREIGN KEY (printer_id) REFERENCES printer (id) ON DELETE CASCADE, + FOREIGN KEY (socket_id) REFERENCES socket (id) ON DELETE CASCADE, FOREIGN KEY (user_id) REFERENCES user (id) ON DELETE CASCADE ); EOF diff --git a/backend/docker-compose.yml b/backend/docker-compose.yml old mode 100644 new mode 100755 diff --git a/docs/.gitkeep b/docs/.gitkeep old mode 100644 new mode 100755 diff --git a/docs/Aktueller Stand.md b/docs/Aktueller Stand.md old mode 100644 new mode 100755 diff --git a/docs/Dokumentation_IHK.md b/docs/Dokumentation_IHK.md old mode 100644 new mode 100755 diff --git a/docs/Infrastruktur.png b/docs/Infrastruktur.png old mode 100644 new mode 100755 diff --git a/docs/Infrastruktur.tldr b/docs/Infrastruktur.tldr old mode 100644 new mode 100755 diff --git a/docs/MYP.dbml b/docs/MYP.dbml old mode 100644 new mode 100755 diff --git a/docs/MYP.png b/docs/MYP.png old mode 100644 new mode 100755 diff --git a/docs/MYP.sql b/docs/MYP.sql old mode 100644 new mode 100755 diff --git a/frontend-aenderungen.md b/frontend-aenderungen.md old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/.dockerignore b/packages/reservation-platform/.dockerignore old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/.env.example b/packages/reservation-platform/.env.example old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/.gitignore b/packages/reservation-platform/.gitignore old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/Dockerfile b/packages/reservation-platform/Dockerfile old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/README.md b/packages/reservation-platform/README.md old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/biome.json b/packages/reservation-platform/biome.json old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/components.json b/packages/reservation-platform/components.json old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/docker/caddy/Caddyfile b/packages/reservation-platform/docker/caddy/Caddyfile old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/docker/compose.yml b/packages/reservation-platform/docker/compose.yml old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/docker/images/.gitattributes b/packages/reservation-platform/docker/images/.gitattributes old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/docker/images/caddy_2.8.tar.xz b/packages/reservation-platform/docker/images/caddy_2.8.tar.xz old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/docker/images/myp-rp_latest.tar.xz b/packages/reservation-platform/docker/images/myp-rp_latest.tar.xz old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/docs/Admin-Dashboard.md b/packages/reservation-platform/docs/Admin-Dashboard.md old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/docs/Architektur.md b/packages/reservation-platform/docs/Architektur.md old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/docs/Bereitstellungsdetails .md b/packages/reservation-platform/docs/Bereitstellungsdetails .md old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/docs/Datenbank.md b/packages/reservation-platform/docs/Datenbank.md old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/docs/Installation.md b/packages/reservation-platform/docs/Installation.md old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/docs/Nutzung.md b/packages/reservation-platform/docs/Nutzung.md old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/docs/README.md b/packages/reservation-platform/docs/README.md old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/drizzle.config.ts b/packages/reservation-platform/drizzle.config.ts old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/drizzle/0000_overjoyed_strong_guy.sql b/packages/reservation-platform/drizzle/0000_overjoyed_strong_guy.sql old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/drizzle/meta/0000_snapshot.json b/packages/reservation-platform/drizzle/meta/0000_snapshot.json old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/drizzle/meta/_journal.json b/packages/reservation-platform/drizzle/meta/_journal.json old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/next.config.mjs b/packages/reservation-platform/next.config.mjs old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/package.json b/packages/reservation-platform/package.json old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/pnpm-lock.yaml b/packages/reservation-platform/pnpm-lock.yaml old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/postcss.config.mjs b/packages/reservation-platform/postcss.config.mjs old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/public/next.svg b/packages/reservation-platform/public/next.svg old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/public/vercel.svg b/packages/reservation-platform/public/vercel.svg old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/repomix-output.txt b/packages/reservation-platform/repomix-output.txt old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/scripts/generate-data.js b/packages/reservation-platform/scripts/generate-data.js old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/admin/about/page.tsx b/packages/reservation-platform/src/app/admin/about/page.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/admin/admin-sidebar.tsx b/packages/reservation-platform/src/app/admin/admin-sidebar.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/admin/charts/printer-error-chart.tsx b/packages/reservation-platform/src/app/admin/charts/printer-error-chart.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/admin/charts/printer-error-rate.tsx b/packages/reservation-platform/src/app/admin/charts/printer-error-rate.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/admin/charts/printer-forecast.tsx b/packages/reservation-platform/src/app/admin/charts/printer-forecast.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/admin/charts/printer-utilization.tsx b/packages/reservation-platform/src/app/admin/charts/printer-utilization.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/admin/charts/printer-volume.tsx b/packages/reservation-platform/src/app/admin/charts/printer-volume.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/admin/jobs/page.tsx b/packages/reservation-platform/src/app/admin/jobs/page.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/admin/layout.tsx b/packages/reservation-platform/src/app/admin/layout.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/admin/page.tsx b/packages/reservation-platform/src/app/admin/page.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/admin/printers/columns.tsx b/packages/reservation-platform/src/app/admin/printers/columns.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/admin/printers/data-table.tsx b/packages/reservation-platform/src/app/admin/printers/data-table.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/admin/printers/dialogs/create-printer.tsx b/packages/reservation-platform/src/app/admin/printers/dialogs/create-printer.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/admin/printers/dialogs/delete-printer.tsx b/packages/reservation-platform/src/app/admin/printers/dialogs/delete-printer.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/admin/printers/dialogs/edit-printer.tsx b/packages/reservation-platform/src/app/admin/printers/dialogs/edit-printer.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/admin/printers/form.tsx b/packages/reservation-platform/src/app/admin/printers/form.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/admin/printers/page.tsx b/packages/reservation-platform/src/app/admin/printers/page.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/admin/settings/download/route.ts b/packages/reservation-platform/src/app/admin/settings/download/route.ts old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/admin/settings/page.tsx b/packages/reservation-platform/src/app/admin/settings/page.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/admin/users/columns.tsx b/packages/reservation-platform/src/app/admin/users/columns.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/admin/users/data-table.tsx b/packages/reservation-platform/src/app/admin/users/data-table.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/admin/users/dialog.tsx b/packages/reservation-platform/src/app/admin/users/dialog.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/admin/users/form.tsx b/packages/reservation-platform/src/app/admin/users/form.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/admin/users/page.tsx b/packages/reservation-platform/src/app/admin/users/page.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/api/job/[jobId]/remaining-time/route.ts b/packages/reservation-platform/src/app/api/job/[jobId]/remaining-time/route.ts old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/api/printers/route.ts b/packages/reservation-platform/src/app/api/printers/route.ts old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/auth/login/callback/route.ts b/packages/reservation-platform/src/app/auth/login/callback/route.ts old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/auth/login/route.ts b/packages/reservation-platform/src/app/auth/login/route.ts old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/favicon.ico b/packages/reservation-platform/src/app/favicon.ico old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/globals.css b/packages/reservation-platform/src/app/globals.css old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/job/[jobId]/cancel-form.tsx b/packages/reservation-platform/src/app/job/[jobId]/cancel-form.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/job/[jobId]/edit-comments.tsx b/packages/reservation-platform/src/app/job/[jobId]/edit-comments.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/job/[jobId]/extend-form.tsx b/packages/reservation-platform/src/app/job/[jobId]/extend-form.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/job/[jobId]/finish-form.tsx b/packages/reservation-platform/src/app/job/[jobId]/finish-form.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/job/[jobId]/page.tsx b/packages/reservation-platform/src/app/job/[jobId]/page.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/layout.tsx b/packages/reservation-platform/src/app/layout.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/my/jobs/columns.tsx b/packages/reservation-platform/src/app/my/jobs/columns.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/my/jobs/data-table.tsx b/packages/reservation-platform/src/app/my/jobs/data-table.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/my/profile/page.tsx b/packages/reservation-platform/src/app/my/profile/page.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/not-found.tsx b/packages/reservation-platform/src/app/not-found.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/page.tsx b/packages/reservation-platform/src/app/page.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/printer/[printerId]/reserve/form.tsx b/packages/reservation-platform/src/app/printer/[printerId]/reserve/form.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/app/printer/[printerId]/reserve/page.tsx b/packages/reservation-platform/src/app/printer/[printerId]/reserve/page.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/components/data-card.tsx b/packages/reservation-platform/src/components/data-card.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/components/data-table.tsx b/packages/reservation-platform/src/components/data-table.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/components/dynamic-printer-cards.tsx b/packages/reservation-platform/src/components/dynamic-printer-cards.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/components/header/index.tsx b/packages/reservation-platform/src/components/header/index.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/components/header/navigation.tsx b/packages/reservation-platform/src/components/header/navigation.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/components/login-button.tsx b/packages/reservation-platform/src/components/login-button.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/components/logout-button.tsx b/packages/reservation-platform/src/components/logout-button.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/components/personalized-cards.tsx b/packages/reservation-platform/src/components/personalized-cards.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/components/printer-availability-badge.tsx b/packages/reservation-platform/src/components/printer-availability-badge.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/components/printer-card/countdown.tsx b/packages/reservation-platform/src/components/printer-card/countdown.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/components/printer-card/index.tsx b/packages/reservation-platform/src/components/printer-card/index.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/components/ui/alert-dialog.tsx b/packages/reservation-platform/src/components/ui/alert-dialog.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/components/ui/alert.tsx b/packages/reservation-platform/src/components/ui/alert.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/components/ui/avatar.tsx b/packages/reservation-platform/src/components/ui/avatar.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/components/ui/badge.tsx b/packages/reservation-platform/src/components/ui/badge.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/components/ui/breadcrumb.tsx b/packages/reservation-platform/src/components/ui/breadcrumb.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/components/ui/button.tsx b/packages/reservation-platform/src/components/ui/button.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/components/ui/card.tsx b/packages/reservation-platform/src/components/ui/card.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/components/ui/chart.tsx b/packages/reservation-platform/src/components/ui/chart.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/components/ui/dialog.tsx b/packages/reservation-platform/src/components/ui/dialog.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/components/ui/dropdown-menu.tsx b/packages/reservation-platform/src/components/ui/dropdown-menu.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/components/ui/form.tsx b/packages/reservation-platform/src/components/ui/form.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/components/ui/hover-card.tsx b/packages/reservation-platform/src/components/ui/hover-card.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/components/ui/input.tsx b/packages/reservation-platform/src/components/ui/input.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/components/ui/label.tsx b/packages/reservation-platform/src/components/ui/label.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/components/ui/scroll-area.tsx b/packages/reservation-platform/src/components/ui/scroll-area.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/components/ui/select.tsx b/packages/reservation-platform/src/components/ui/select.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/components/ui/skeleton.tsx b/packages/reservation-platform/src/components/ui/skeleton.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/components/ui/sonner.tsx b/packages/reservation-platform/src/components/ui/sonner.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/components/ui/table.tsx b/packages/reservation-platform/src/components/ui/table.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/components/ui/tabs.tsx b/packages/reservation-platform/src/components/ui/tabs.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/components/ui/textarea.tsx b/packages/reservation-platform/src/components/ui/textarea.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/components/ui/toast.tsx b/packages/reservation-platform/src/components/ui/toast.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/components/ui/toaster.tsx b/packages/reservation-platform/src/components/ui/toaster.tsx old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/components/ui/use-toast.ts b/packages/reservation-platform/src/components/ui/use-toast.ts old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/server/actions/authentication/logout.ts b/packages/reservation-platform/src/server/actions/authentication/logout.ts old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/server/actions/printJobs.ts b/packages/reservation-platform/src/server/actions/printJobs.ts old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/server/actions/printers.ts b/packages/reservation-platform/src/server/actions/printers.ts old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/server/actions/timer.ts b/packages/reservation-platform/src/server/actions/timer.ts old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/server/actions/user/delete.ts b/packages/reservation-platform/src/server/actions/user/delete.ts old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/server/actions/user/update.ts b/packages/reservation-platform/src/server/actions/user/update.ts old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/server/actions/users.ts b/packages/reservation-platform/src/server/actions/users.ts old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/server/auth/index.ts b/packages/reservation-platform/src/server/auth/index.ts old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/server/auth/oauth.ts b/packages/reservation-platform/src/server/auth/oauth.ts old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/server/auth/permissions.ts b/packages/reservation-platform/src/server/auth/permissions.ts old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/server/db/index.ts b/packages/reservation-platform/src/server/db/index.ts old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/server/db/migrate.ts b/packages/reservation-platform/src/server/db/migrate.ts old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/server/db/schema.ts b/packages/reservation-platform/src/server/db/schema.ts old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/utils/analytics/error-rate.ts b/packages/reservation-platform/src/utils/analytics/error-rate.ts old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/utils/analytics/errors.ts b/packages/reservation-platform/src/utils/analytics/errors.ts old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/utils/analytics/forecast.ts b/packages/reservation-platform/src/utils/analytics/forecast.ts old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/utils/analytics/utilization.ts b/packages/reservation-platform/src/utils/analytics/utilization.ts old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/utils/analytics/volume.ts b/packages/reservation-platform/src/utils/analytics/volume.ts old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/utils/drizzle.ts b/packages/reservation-platform/src/utils/drizzle.ts old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/utils/errors.ts b/packages/reservation-platform/src/utils/errors.ts old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/utils/fetch.ts b/packages/reservation-platform/src/utils/fetch.ts old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/utils/guard.ts b/packages/reservation-platform/src/utils/guard.ts old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/utils/printers.ts b/packages/reservation-platform/src/utils/printers.ts old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/utils/strings.ts b/packages/reservation-platform/src/utils/strings.ts old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/src/utils/styles.ts b/packages/reservation-platform/src/utils/styles.ts old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/tailwind.config.ts b/packages/reservation-platform/tailwind.config.ts old mode 100644 new mode 100755 diff --git a/packages/reservation-platform/tsconfig.json b/packages/reservation-platform/tsconfig.json old mode 100644 new mode 100755