Commit Graph
22 Commits
Author SHA1 Message Date
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