Нема описа

Medowar 6ae3fb52ff configuring non-cron deployment, bump version to 1.4.0 пре 1 месец
admin 6ae3fb52ff configuring non-cron deployment, bump version to 1.4.0 пре 1 месец
assets 9c4fd77cd6 making config.php readable for the admin пре 2 месеци
data 10f1a06163 consolidating orgs, categories, faq in settings panel. Fixing some bugs and docs пре 2 месеци
docs 6ae3fb52ff configuring non-cron deployment, bump version to 1.4.0 пре 1 месец
includes 6ae3fb52ff configuring non-cron deployment, bump version to 1.4.0 пре 1 месец
manage-client dfad35cc16 migration to manage-client from legacy config пре 1 месец
migrations dfad35cc16 migration to manage-client from legacy config пре 1 месец
scripts 6c2b98e749 second batch пре 1 месец
.gitignore 6c2b98e749 second batch пре 1 месец
.htaccess ec38e6151b Security: generic order-success copy, file rate limits, HSTS/CSP, canonical mail origin пре 4 месеци
README.md 6c2b98e749 second batch пре 1 месец
cart.php b05b7abe9e Harden checkout and admin flows before customer deploy. пре 4 месеци
checkout.php b05b7abe9e Harden checkout and admin flows before customer deploy. пре 4 месеци
config.feuerwehr.php 4b0677dace reworking nametag to integrate in the existing orderflow пре 2 месеци
config.sample.php 6c2b98e749 second batch пре 1 месец
faq.php 643816b5cf implementing FAQ пре 5 месеци
favicon.png c9911553c4 favicon пре 5 месеци
index.php fb1916772d adding colored tiles to products on the main page/Overview пре 4 месеци
order-success.php 53944c08d6 Remove optional email order confirmation flow. пре 4 месеци
product.php 7b7b0e5794 more fixes пре 4 месеци

README.md

Stadt Freising PSA-Service

Zweck

Dieses Projekt ist ein internes Bestellsystem für persönliche Schutzausrüstung der Stadt Freising und wird organisatorisch durch Amt 32 - Öffentliche Sicherheit und Ordnung betreut.

Kernfunktionen

  • Produktübersicht mit Kategorien
  • Produktdetailseiten mit Größenwahl
  • Warenkorb ohne Mengensteuerung
  • Checkout mit Name, E-Mail, Organisation und Kommentar
  • Direkte interne Weiterleitung nach Bestellabschluss
  • Adminbereich für Bestellungen, Produkte, Kategorien, Organisationen, Einstellungen, FAQ und Admins
  • Positionsbezogene Bearbeitung und Stornierung von Bestellungen

Voraussetzungen

  • PHP 8.x
  • Schreibrechte auf data/
  • funktionierende PHP-Mailzustellung für Bestellmails

Wichtige Dateien

  • Konfiguration: config.php
  • Zentrale Logik: includes/functions.php
  • Bestellungen: data/orders.json
  • Organisationen: data/organizations.json
  • Systemeinstellungen: data/settings.json
  • Produkte: data/products.json
  • Produktbilder: data/uploads/
  • Update- und Backup-Client: manage-client/ (Konfiguration in manage-client/config.php)
  • Laufzeitdaten des Clients: data/manage/ (Backups, Update-Sicherungen, Log; nicht öffentlich)

Einrichtung

  1. config.sample.php nach config.php kopieren und anpassen (SITE_URL, FROM_EMAIL, ORDER_PREFIX, …).
  2. Schreibrechte auf data/ und data/ratelimit/ (für Rate-Limits) sicherstellen.
  3. Statische Dateien bereitstellen: favicon.png (Document Root), assets/branding/, assets/fonts/, assets/no-image.jpg.
  4. Adminzugänge in data/admins.json auf dem Server pflegen (nicht aus dem Repo übernehmen).
  5. Empfängeradresse und PDF-Anhang im Admin unter Einstellungen prüfen.
  6. Kategorien, FAQ und Organisationen im Admin unter Einstellungen pflegen.
  7. Apache: .htaccess aktiv (schützt config.php und JSON unter data/).
  8. manage-client/config.sample.php nach manage-client/config.php kopieren und Instanz + Token des Manage-Servers eintragen (siehe docs/UPDATE_AND_BACKUP.md).

Weitere Konstanten: docs/CONFIG_REFERENCE.md.

Updates und Backups: docs/UPDATE_AND_BACKUP.md.

Technische Dokumentation im Browser: docs/index.php (Markdown wird mit marked gerendert).

Hinweise

  • Bestellungen werden nicht im Browser für Endnutzer gespeichert oder nachverfolgt.
  • Kein automatisiertes Test-/CI-Setup vorgesehen.