HifiPlanet-Website/hifi/api/src/Controllers
Maaxxs 040a00a0d7 Add Partner management to replace the hardcoded homepage brand strip
The "Partner" logo row on the homepage was a hard-coded array of ten audio
brand names in Home.jsx, not editable through the dashboard. Adds a
partners table (name, optional logo, sort order), a PartnerController
CRUD under the existing content.manage permission (same one already used
for FAQ-style homepage content), and an admin page modeled on Brands.jsx.
Home.jsx now fetches /partners and shows each entry's logo if set, falling
back to the name as text otherwise.

Schema migration now supports one-time seed data (Schema::SEED_DATA,
applied by SchemaController::runMigration() only at the moment a table is
first created, never again afterwards) so that clicking "Datenbankstruktur
aktualisieren" on an existing site populates the new partners table with
the previous ten names instead of leaving the homepage strip empty.
Verified locally: first migration run creates + seeds the table, a second
run neither re-seeds nor errors.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-10 00:05:44 +02:00
..
AdminUserController.php Protect the first-created admin account from being demoted or deleted 2026-08-29 22:25:31 +02:00
AnalyticsController.php Add Google Analytics dashboard widget (GA4 Data API integration) 2026-07-07 01:57:32 +02:00
AuthController.php Track when each admin user was last active 2026-08-29 22:14:06 +02:00
BrandController.php Add image support for car brands and models 2026-09-09 01:42:40 +02:00
ContactController.php Add rich-text formatting and font choice for email templates 2026-09-09 01:49:13 +02:00
DatabaseConfigController.php Initial commit: HifiPlanet Car-Hifi Shop (Frontend + Backend) 2026-07-05 13:37:06 +02:00
FaqController.php Move FAQ management into the admin panel and cover it plus the gallery in export/import 2026-07-07 19:25:06 +02:00
GalleryBrandController.php Add remove-image button and actually delete orphaned upload files 2026-09-09 01:32:40 +02:00
GalleryPhotoController.php Add remove-image button and actually delete orphaned upload files 2026-09-09 01:32:40 +02:00
GalleryProjectController.php Add remove-image button and actually delete orphaned upload files 2026-09-09 01:32:40 +02:00
GoogleReviewsController.php Add live Google Reviews, refreshed daily instead of hand-typed testimonials 2026-07-21 01:40:08 +02:00
HomeSectionController.php Add live-preview positioning to all homepage sections 2026-09-09 03:42:17 +02:00
MailSettingsController.php Add SMTP debug logging and from/username mismatch warning to mail test 2026-07-07 01:35:54 +02:00
MaintenanceController.php Initial commit: HifiPlanet Car-Hifi Shop (Frontend + Backend) 2026-07-05 13:37:06 +02:00
ModelController.php Add image support for car brands and models 2026-09-09 01:42:40 +02:00
PackageController.php Rebuild the admin package editor as a per-model batch workflow 2026-07-19 17:02:54 +02:00
PackageUpgradeController.php Initial commit: HifiPlanet Car-Hifi Shop (Frontend + Backend) 2026-07-05 13:37:06 +02:00
PageContentController.php Add CMS v1: editable business identity and legal pages 2026-09-09 02:03:59 +02:00
PartnerController.php Add Partner management to replace the hardcoded homepage brand strip 2026-09-10 00:05:44 +02:00
PermissionCatalogController.php Initial commit: HifiPlanet Car-Hifi Shop (Frontend + Backend) 2026-07-05 13:37:06 +02:00
PermissionGroupController.php Initial commit: HifiPlanet Car-Hifi Shop (Frontend + Backend) 2026-07-05 13:37:06 +02:00
ProductController.php Initial commit: HifiPlanet Car-Hifi Shop (Frontend + Backend) 2026-07-05 13:37:06 +02:00
SchemaController.php Add Partner management to replace the hardcoded homepage brand strip 2026-09-10 00:05:44 +02:00
ServiceController.php Add remove-image button and actually delete orphaned upload files 2026-09-09 01:32:40 +02:00
SettingsController.php Add Partner management to replace the hardcoded homepage brand strip 2026-09-10 00:05:44 +02:00
SetupController.php Fix fatal error when db.php doesn't exist yet on a fresh deployment 2026-07-05 14:08:14 +02:00
SiteSettingsController.php Add vertical drag positioning for gallery card labels 2026-09-09 03:29:55 +02:00
TwoFactorController.php Initial commit: HifiPlanet Car-Hifi Shop (Frontend + Backend) 2026-07-05 13:37:06 +02:00
UpdateController.php Add one-click git-based auto-update (manual trigger only) 2026-09-09 02:16:41 +02:00
UploadController.php Make base path configurable for root-domain deployment (IONOS) 2026-07-05 14:23:30 +02:00