Commit Graph

6 Commits

Author SHA1 Message Date
e87d974f71 feat(03-01): create settings class with WordPress Settings API
- Settings class with singleton pattern
- Registered 5 settings: receiver_email, captcha_provider, captcha_site_key, captcha_secret_key, thankyou_url
- Proper sanitization callbacks for each setting type
- Helper method get_option() for clean API access
- Integrated with admin menu structure
2026-01-16 11:45:16 +09:00
4d2a584e08 feat(02-01): extract additional work sections from legacy
- Added 6 additional work sections: Montage, Schrank, Elektriker, Dübelarbeiten, Packarbeiten, Anfahrt
- Each section includes label, fields with type information
- Field types: checkbox, abbau_aufbau, checkbox_anzahl, text
- Total: 32 additional work fields across 6 sections
- Preserves exact field names and structure from legacy

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-16 11:32:56 +09:00
5bb324c4c3 feat(02-01): extract furniture data from legacy into structured class
- Created Umzugsliste_Furniture_Data class with singleton pattern
- Extracted all 118 furniture items from 7 rooms with exact cbm values
- Preserved exact item names and order from legacy liste.php
- Room structure: wohnzimmer (32), schlafzimmer (15), arbeitszimmer (11), bad (3), kueche_esszimmer (18), kinderzimmer (18), keller (21)
- All items have name, cbm (float), and montage (boolean) properties

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-16 11:30:51 +09:00
cd9b6a6891 fix(01-01): correct CPT registration hook timing
- CPT init hook was being added from within parent init hook
- Changed to call register_post_type() directly from main init
- Removed redundant hook from CPT constructor
- Fixes CPT not registering on plugin activation
2026-01-16 11:10:01 +09:00
253129cfca feat(01-01): create admin menu structure
- Created Umzugsliste_Admin_Menu class with singleton pattern
- Top-level menu 'Umzugsliste' with dashicons-list-view icon
- Position 25 (below Comments, above Appearance)
- Capability: edit_posts (editors and above)
- Submenu 'Einträge' links to CPT list view
- Submenu 'Einstellungen' shows placeholder (Phase 3)
- Removed duplicate top-level menu item
2026-01-16 11:02:32 +09:00
59acfaee51 feat(01-01): register custom post type for form submissions
- Created Umzugsliste_CPT class with singleton pattern
- Registered umzugsliste_entry post type
- German labels (Einträge, Eintrag)
- Settings: public=false, show_ui=true, show_in_menu=false
- Supports title field only (custom fields in Phase 6)
- Registered on init hook
2026-01-16 11:02:21 +09:00