142 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
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
Paul Spenke 249f6b06b5 handle languages 2023-07-09 21:33:10 +08:00
Paul Spenke 35a88bb507 little responsive tweak 2023-07-03 11:37:09 +08:00
Paul Spenke 7d60bc9b45 update db diff handling 2023-07-03 11:24:53 +08:00
Paul Spenke 7b47fdaf14 update dependencies 2023-07-02 21:46:47 +08:00
Paul Spenke da2229c3ee origin commit 2de0c1c 2023-07-02 21:40:06 +08:00
Paul Spenke 6f921efddc origin commit 23d8e32 2023-07-02 21:39:02 +08:00
Paul Spenke d7610386e3 origin commit a3f022d 2023-07-02 21:38:11 +08:00
Paul Spenke 5ef177ea39 origin commit 63d49fe 2023-07-02 21:31:38 +08:00
Paul Spenke a529852fd8 many updates 😁 2023-07-02 21:30:29 +08:00
Paul Spenke 788a6b323c Merge branch 'issue/2-menu-creation' into dev 2023-06-30 18:26:18 +08:00
Paul Spenke a8d056657d add favicon 2023-06-30 18:24:28 +08:00
Paul Spenke 80ebd8dd24 update extension asset handling 2023-06-30 18:24:12 +08:00
Paul Spenke 0442fd9d85 Merge pull request #3 from deepDiverPaul/issue/2-menu-creation
menus can be added and deleted
2023-06-30 17:40:03 +08:00
Paul Spenke db865197f8 menus can be added and deleted 2023-06-30 17:37:56 +08:00
Paul Spenke ab9c66cf7f Merge pull request #1 from deepDiverPaul/feature/prepare-db
Feature/prepare db
2023-06-30 16:53:17 +08:00
Paul Spenke 3129c4c392 db check working for extensions 2023-06-30 16:49:25 +08:00
Paul Spenke 400d960f81 db check working 2023-06-30 16:37:44 +08:00
Paul Spenke 77c642984c start implementing DB check view 2023-06-30 07:28:16 +08:00
Paul Spenke 0c95e4e643 update language 2023-06-30 07:27:51 +08:00
Paul Spenke 4cca8359e3 update css 2023-06-30 07:27:39 +08:00
Paul Spenke 50743cb6fa remove global DB prepare 2023-06-30 07:26:28 +08:00
Paul Spenke fcde537871 handle DB errors 2023-06-30 07:25:59 +08:00
Paul Spenke 0fb1038202 add global flash-message 2023-06-30 07:20:24 +08:00
Paul Spenke 65f93ae730 update tables.php 2023-06-30 07:18:18 +08:00
Paul Spenke 706315cd34 update plugi 2023-06-29 11:31:43 +08:00