142 Commits
Author SHA1 Message Date
deepDiverPaul f01cad090c Merge pull request 'Feature/ext-blog' (#14) from feature/ext-blog into main
Reviewed-on: #14
2026-12-02 10:22:46 +00:00
deepDiverPaul 6f0e39b5f5 feat(ext-blog): Add syntax highlighting for code blocks
Added language-specific syntax highlighting support to the markdown editor and preview. New code-highlighter assets are registered for public pages and admin headers. The PostContentRenderer detects language identifiers in code fences to apply appropriate CSS classes for highlighting. Tests verify the highlighting works correctly and unsafe content is escaped properly.
2026-12-02 10:20:36 +00:00
deepDiverPaul 745f33f17d feat(ext-blog): Add markdown editor bundling and dependencies 2026-12-02 10:20:36 +00:00
deepDiverPaul 2d4b196b04 feat(ext-blog): Add rich Markdown editor for blog posts
Replace the plain textarea with a CodeMirror-based editor supporting syntax highlighting, formatting toolbar (bold, italic, lists, code blocks), and a live preview toggle. Update PostContentRenderer to handle new Markdown syntax (blockquotes, fenced code blocks). Add a preview endpoint for rendering content without saving.
2026-12-02 10:20:36 +00:00
deepDiverPaul e97d96c1f5 feat(ext-blog): Add Markdown support and featured images to Plugi Blog Extension
Updated README.md to document Markdown rendering and image authoring capabilities. Added PostContentRenderer class for safe Markdown parsing with XSS protection. Updated PostsRepository to fetch and resolve featured image data from the uploads table. Added UI controls in EditPost.php for selecting images and inserting inline Markdown. Updated views to display featured images on post cards and detail pages.
2026-12-02 10:20:36 +00:00
deepDiverPaul 32582e9279 feat(ext-blog): Add pagination and search to blog post listing
The PostsRepository now includes methods for fetching paginated and searched posts. The admin and public views include search forms, pagination controls, and display total counts instead of just post counts. Tests verify the new functionality including special character search handling and pagination limits.
2026-12-02 10:20:36 +00:00
deepDiverPaul f35645132e Add blog extension 2026-12-02 10:20:36 +00:00
deepDiverPaul 47214e0bbc Merge pull request 'fix(security): Add security hardening and CSRF protection.' (#13) from security into main
Reviewed-on: #13
2026-12-02 10:20:04 +00:00
deepDiverPaul b44b1bfc72 fix(security): Add security hardening and CSRF protection.
Added .htaccess rules to deny access to hidden files. Escaped JSON output in views to prevent XSS attacks. Converted delete links and forms to use POST with CSRF tokens. Enforced POST method on sensitive routes. Added tests to verify these security controls.
2026-12-02 11:07:41 +01:00
deepDiverPaul 6f02b0bc8d Merge pull request 'Extensions' (#12) from feat-extensions-add-extension-enable-dis into main
Reviewed-on: #12
2026-12-01 10:05:05 +00:00
deepDiverPaul 2e42cd00d2 feat(extensions): Add extension enable/disable toggle and loading logic
The settings view now renders a toggle switch for each extension to enable or disable it. The `Plugi` class includes a new method to load extensions based on their enabled state. Tests verify the activation logic and settings persistence.
2026-12-01 10:28:46 +01:00
deepDiverPaul 515e4cac1f feat(ext-tracking): Add tracking extension for HTML/JS snippets
Adds a new extension allowing injection of custom code into the page head. Includes an admin interface for saving snippets, secure save routes with CSRF protection, and tests verifying the functionality. Also updates core Extensions.php to support callable HTML blocks for lazy evaluation.
2026-11-30 22:51:03 +01:00
deepDiverPaul cc9c03e580 Merge pull request 'feat(multi-language): Add multi-language support and routing updates' (#11) from feature/multi-language into main
Reviewed-on: #11
2026-11-30 18:48:52 +00:00
deepDiverPaul 6a4f7cac5f feat(multi-language): Add multi-language support and routing updates
Add configuration for multiple languages in the Website Manager
2026-11-30 19:47:55 +01:00
deepDiverPaul 464a50748f Merge pull request 'Dev' (#10) from dev into main
Reviewed-on: #10
2026-11-30 15:52:01 +00:00
deepDiverPaul 68b8ff7fb3 page switching in editor 2026-11-30 16:51:16 +01:00
deepDiverPaul ba1007ff5d replace the PageBuilder language and viewport dropdowns with accessible
radio button groups
2026-11-30 16:51:15 +01:00
deepDiverPaul c80f28de1d improve publishing 2026-11-30 16:51:15 +01:00
deepDiverPaul 59924675fd update phosphor icons 2026-11-30 16:51:15 +01:00
deepDiverPaul c0e43106e1 add draft/publishing workflow 2026-11-30 16:51:15 +01:00
deepDiverPaul 25030638a4 Implemented: editor uploads are constrained to safe image files inside
the upload tree, and public form submissions are
size-bounded and rate-limited
2026-11-30 16:51:15 +01:00
deepDiverPaul e1767dcd2c media-library search, MIME-type and virtual-folder filters, persisted
folder and alt-text editing, and safe defaults for legacy uploads
2026-11-30 16:51:14 +01:00
deepDiverPaul 1ec2d9c8e1 add dashboard 2026-11-30 16:51:14 +01:00
deepDiverPaul 6308f5e733 Merge pull request 'Dev' (#9) from dev into main
Reviewed-on: #9
2026-11-27 16:25:00 +00:00
deepDiverPaul 2513a51fa4 update docs 2026-11-27 16:24:48 +00:00
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