Commit Graph
117 Commits
Author SHA1 Message Date
deepDiverPaul 3dc7c25dc2 Update installation procedure 2026-11-27 16:24:48 +00:00
deepDiverPaul b8d9ff0b35 Update .gitignore 2026-11-27 16:24:48 +00:00
deepDiverPaul c27897dfa0 Merge pull request 'Dev' (#8) from dev into main
Reviewed-on: #8
2026-11-26 09:04:24 +00:00
deepDiverPaul 017f8f0434 add page builder viewport selection 2026-11-26 08:14:11 +01:00
deepDiverPaul fea53afc72 normalize generated page slugs to lowercase 2026-11-26 08:09:09 +01:00
deepDiverPaul 93fab6567d Merge branch 'dev' into feature/quality-checks 2026-11-26 08:07:20 +01:00
deepDiverPaul 21a33e53aa add primary key and auto-increment schema support
Configure the page translations table with an `id` primary key and auto-increment column, and detect and apply these constraints in database schema updates. Add persistence coverage for English and German homepage routes.
2026-11-26 07:59:07 +01:00
deepDiverPaul cb51db9048 add site quality audits and pagebuilder viewport selection
Add published-page accessibility and link checks with localized reports, and add responsive viewport controls to the page builder. Detect schema drift beyond matching hashes and apply lowercase definitions when creating or updating tables. Refresh generated admin, page-builder, and website-manager assets, and add coverage for quality checks, viewport selection, and schema migrations.
2026-11-25 21:48:45 +01:00
deepDiverPaul ed8ae3200b refresh theme-one starter blocks and layout
Redesign the master layout and content blocks with responsive styling, accessible navigation, and configurable CTA and quote sections. Add about-me, embedded-code, and FAQ blocks, and update the generated theme assets. Replace Alpine-based locale handling with vanilla JavaScript for locale flags and gallery lightboxes, and remove Alpine and DaisyUI dependencies.
2026-11-25 17:50:12 +01:00
deepDiverPaul 102fbc9464 improve form submission handling and frontend assets
Replace Alpine form bindings with accessible vanilla JavaScript submission states and unique field IDs. Add the bundled frontend script and Rolldown build configuration, update the generated stylesheet, and extend submission handler tests.
2026-11-25 15:56:26 +01:00
deepDiverPaul a07e3ad8d9 fix localized page management and builder synchronization
Validate locales and route uniqueness, report page deletion failures, and keep translation CRUD and route caches consistent. Show translation completeness in page settings and listings, and preserve locale-specific block data while synchronizing shared structure. Add translation service and page builder synchronization tests.
2026-11-25 14:53:35 +01:00
deepDiverPaul 9d192c2141 refresh admin interface layouts
Redesign authentication and website manager views with responsive layouts, clearer navigation, and accessibility improvements. Refresh page, menu, file, system information, settings, overview, welcome, page settings, and block thumbnail screens. Add the shared Admin stylesheet and Plugi theme, update the build configuration, and regenerate the admin CSS.
2026-11-25 12:02:54 +01:00
deepDiverPaul 151ac9df4c refresh form extension admin interface
Improve form editing, settings, submission lists, and navigation with responsive layouts and accessibility enhancements. Update the form wrapper block view and regenerate the extension stylesheet. Ignore .agents and skills-lock.json.
2026-11-25 09:59:51 +01:00
deepDiverPaul ca7ee32091 refresh admin interface layouts
Redesign authentication and website manager layouts and views for a responsive, accessible interface. Update page, menu, file, info, and settings screens, and refresh the generated WebsiteManager stylesheet.
2026-11-25 08:01:50 +01:00
deepDiverPaul 82086c725f Merge remote-tracking branch 'origin/dev' into dev 2026-11-24 22:45:38 +01:00
deepDiverPaul e21cc1bf4c Merge pull request 'update .gitignore and LICENSE' (#6) from feature/docs into main
Reviewed-on: #6
2026-11-24 21:43:41 +00:00
deepDiverPaul bea51b098a update .gitignore and LICENSE
Add docs directory to .gitignore and update copyright year to 2026 in LICENSE.
2026-11-24 21:43:29 +00:00
deepDiverPaul f78a63cf5b Merge remote-tracking branch 'origin/dev' into dev 2026-11-24 22:42:37 +01:00
deepDiverPaul cbce2b04f4 Merge pull request 'fix page creation validation and persistence' (#5) from dev into main
Reviewed-on: #5
2026-11-24 21:42:27 +00:00
deepDiverPaul 15cd385126 fix page creation validation and persistence
Validate required page fields and localized translations, detect route collisions, and save pages and translations atomically with rollback on failure. Report creation errors while preserving submitted form values, safely encode Alpine.js values, and add English and German error messages. Return null for failed inserts and add page persistence tests.
2026-11-24 21:42:14 +00:00
deepDiverPaul 8251f883e6 fix page creation validation and persistence
Validate required page fields and localized translations, detect route collisions, and save pages and translations atomically with rollback on failure. Report creation errors while preserving submitted form values, safely encode Alpine.js values, and add English and German error messages. Return null for failed inserts and add page persistence tests.
2026-11-24 22:40:52 +01:00
deepDiverPaul 956eca181f Merge pull request 'Feature/languages' (#4) from feature/languages into main
Reviewed-on: #4
2026-11-24 17:53:29 +00:00
deepDiverPaul d5597b045f add configurable form finishers and webhook delivery
Expose finisher settings through the editor registry and build the action editor dynamically. Add configurable admin email recipients and subjects, and introduce a webhook finisher with validated request options and JSON submission payloads.

Expand submission handler tests to cover editor configuration, email overrides, webhook validation, HTTP responses, and submission outcomes.
2026-11-24 18:51:20 +01:00
deepDiverPaul dfe1e40e58 add configurable SMTP mail delivery
Add a core SMTP mailer with configurable transport, authentication, and sender settings. Route form confirmation and admin notifications through the core mailer, and add tests for SMTP delivery, failure cases, and finisher integration.
2026-11-24 11:48:31 +01:00
deepDiverPaul c507618b90 add form submission handling and confirmation emails
Validate form submissions and action configuration, execute finishers with submission context, and return JSON success or error responses. Add configurable confirmation emails to submitters and report failed submissions in the form UI.

Harden database and admin email finishers, and add submission handler and confirmation email checks.
2026-11-24 11:26:37 +01:00
deepDiverPaul 80e60d6823 translate form extension UI to English
Replace German labels, prompts, validation messages, and submission text across the form admin and block views with English.
Remove redundant LICENSE files from the form and sitemap extensions.
2026-11-24 10:56:44 +01:00
deepDiverPaul ef692943f6 add Swedish language support
Add Swedish translations for the admin and page builder, and include Swedish in the language names and admin language selector.
2026-11-24 10:40:19 +01:00
deepDiverPaul 67c94b6a5d fix admin language options
Remove the Spanish and Dutch translation files and limit the admin language selector to German and English.
2026-11-24 10:34:41 +01:00
deepDiverPaul 3160f377d1 Merge pull request 'security: add CSRF protection and harden core handling' (#3) from security into main
Reviewed-on: #3
2026-11-24 09:26:35 +00:00
deepDiverPaul 2b73242d04 security: add CSRF protection and harden core handling
Add CSRF token validation and include tokens in authentication, website manager, and GrapesJS forms and requests. Harden login with password hash verification and session ID regeneration, validate database identifiers and charset, and secure upload MIME detection and filename generation.

Update nullable type declarations and PHP syntax across core contracts and modules, switch the Docker image to PHP 8.4, and move the theme script asset to the end of the page. Refresh the PageBuilderBody distribution assets.
2026-11-24 09:26:15 +00:00
deepDiverPaul d6c06b82d5 Merge pull request 'update README banner URL to Gitea mirror' (#2) from feature/docs into main
Reviewed-on: #2
2026-11-23 17:05:11 +00:00
deepDiverPaul 207bcdeaf3 update README banner URL to Gitea mirror
Replace the GitHub-hosted banner image URL with the Gitea instance URL.
2026-11-23 18:04:57 +01:00
deepDiverPaul e86fba0809 fix GrapesJS save button spinner visibility
Replace Bootstrap-dependent class toggling (d-none) with inline style.display for the save button spinner.

Update the pagebuilder view to use inline display:none instead of the d-none class on the spinner element.
2026-11-23 17:58:13 +01:00
deepDiverPaul fcc5c4a96e fix theme asset caching with file-based versioning
Add cache-busting query string to phpb_theme_asset by appending the file's last-modified timestamp.
Use realpath to resolve and validate the asset path before reading filemtime to prevent directory traversal.
2026-11-23 17:48:52 +01:00
deepDiverPaul 920ab7df4d fix GrapesJS editable components check for theme blocks
Add null check for window.themeBlocks[blockSlug] before accessing label to prevent errors when block slug exists but has no theme block definition.

Update PageBuilderBody dist files with the fix.
2026-11-23 17:36:49 +01:00
deepDiverPaul d0307d64e9 refactor pagebuilder asset bundling
Migrate pagebuilder and core dist assets from legacy bundled format to modern Vite/Rolldown output.

- Delete legacy pagebuilder app.css and app.js bundles in favor of per-module dist files.
- Update page-injection.js to use template literals and add source map reference.
- Refresh core dist files (PageBuilderBody, PageBuilderHead, WebsiteManager) with updated CSS/JS and remove UMD bundles.
- Replace jQuery-dependent GrapesJS scripts with vanilla JS implementations.
- Remove CKEditor hyperlinks module and replace with RTE link manager.
- Delete external library bundles (Bootstrap, Popper, Toastr, Underscore, CKEditor) from dist.
2026-11-23 17:21:14 +01:00
deepDiverPaul 84545fc4a3 refactor pagebuilder asset bundling
Migrate pagebuilder and core dist assets from legacy bundled format to modern Vite/Rolldown output.

- Delete legacy pagebuilder app.css and app.js bundles in favor of per-module dist files.
- Update page-injection.js to use template literals and add source map reference.
- Refresh core dist files (PageBuilderBody, PageBuilderHead, WebsiteManager) with updated CSS/JS and remove UMD bundles.
2026-11-23 16:18:35 +01:00
deepDiverPaul 54c3a245bd Merge branch 'feature/theme-one' into dev 2026-11-23 12:36:01 +01:00
deepDiverPaul b6960efd82 refactor asset rendering with HTML escaping
Improve security by escaping asset attributes and URLs in phpb_registered_assets.
Refactor Extensions class to render assets as HTML strings and add getAssetsArray for raw access.
Update phpb_e helper to accept nullable strings.
2026-11-23 12:35:46 +01:00
deepDiverPaul 7dcc4b1a79 fix phpb_e helper to accept null values 2026-11-23 11:13:42 +01:00
deepDiverPaul 84f3be9fe0 update theme-one asset building
Migrate from Vite to Rolldown for JS bundling and Tailwind CSS v4 with CLI build.
Remove Vite config, PostCSS config, and Tailwind config files.
Update master layout to include script.js and extension header assets.
2026-11-23 09:00:03 +01:00
deepDiverPaul f072349ed2 update asset building for core 2026-11-22 20:35:52 +01:00
deepDiverPaul 671b7999e7 add ext-sitemap 2026-11-22 16:26:35 +01:00
deepDiverPaul 932c7d21fe add ext-form 2026-11-22 16:09:43 +01:00
deepDiverPaul ef4be66673 Update BlockAdapter.php 2026-11-22 12:25:12 +01:00
deepDiverPaul 2aec70849d fix db issues 2026-11-22 05:08:23 +01:00
deepDiverPaul 8ddea24272 fix initializing 2026-11-21 17:33:39 +01:00
Paul Spenke 267d8004e0 many updates 2023-08-20 23:45:24 +08:00
Paul Spenke 726d691054 move creds to env 2023-07-10 21:34:23 +08:00
Paul Spenke cd9dc85420 many updates 2023-07-10 21:27:43 +08:00