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