Skip to content

Feature/initial project - #2

Merged
Flatts3000 merged 5 commits into
developfrom
feature/initial_project
Sep 30, 2025
Merged

Feature/initial project#2
Flatts3000 merged 5 commits into
developfrom
feature/initial_project

Conversation

@Flatts3000

Copy link
Copy Markdown
Owner

What

Adds the initial theme and initial front page.

…d configs

Added service healthchecks, phpMyAdmin support, updated MySQL and WordPress configuration, and replaced 'always' restart policy with 'unless-stopped'.
Implemented PSR-4 autoloading for the PostSecret Admin plugin, added composer.json for dependency management, updated Docker environment URLs, and included silence files for plugin and theme directories.
Added foundational block styles for core blocks (e.g., button, navigation, cover), theme-specific color palettes (blue, green, pink, etc.), and typography presets. These styles enhance base aesthetics and provide better layout options.
…Secret theme

Added fully responsive header and footer components with dynamic theming, social links, and search functionality. Introduced light/dark mode toggle with persisted preferences, custom color palettes, and typography. Included foundational CSS, JSON configurations, dark overrides, and JavaScript for theme management.
Introduced new custom theme templates (front-page, search, single-secret, archive-secret) to enhance content rendering. Includes responsive layouts, metadata displays, query handling, and pagination support.
@Flatts3000 Flatts3000 self-assigned this Sep 30, 2025
@Flatts3000
Flatts3000 merged commit c886525 into develop Sep 30, 2025
@Flatts3000
Flatts3000 deleted the feature/initial_project branch September 30, 2025 22:37
Flatts3000 added a commit that referenced this pull request Oct 1, 2025
* feat: initialize project structure with core components

Added initial setup for PostSecret project, including WordPress theme and admin plugin files, documentation (setup, moderation, and tagging guides), Docker configuration, PHPUnit tests, PHPCS rules, and CI workflow.

* Feature/initial project (#2)

* feat: enhance Docker setup with healthchecks, phpMyAdmin, and improved configs

Added service healthchecks, phpMyAdmin support, updated MySQL and WordPress configuration, and replaced 'always' restart policy with 'unless-stopped'.

* feat: add PSR-4 autoloading, composer setup, and plugin scaffolding

Implemented PSR-4 autoloading for the PostSecret Admin plugin, added composer.json for dependency management, updated Docker environment URLs, and included silence files for plugin and theme directories.

* feat: introduce default block styles and color palette

Added foundational block styles for core blocks (e.g., button, navigation, cover), theme-specific color palettes (blue, green, pink, etc.), and typography presets. These styles enhance base aesthetics and provide better layout options.

* feat: implement header, footer, themes, and dark mode toggle for PostSecret theme

Added fully responsive header and footer components with dynamic theming, social links, and search functionality. Introduced light/dark mode toggle with persisted preferences, custom color palettes, and typography. Included foundational CSS, JSON configurations, dark overrides, and JavaScript for theme management.

* feat: add custom templates for PostSecret theme

Introduced new custom theme templates (front-page, search, single-secret, archive-secret) to enhance content rendering. Includes responsive layouts, metadata displays, query handling, and pagination support.

* feat: add PostSecret AI plugin with classifier integration and admin interface

Introduced the PostSecret AI plugin for WordPress, enabling image classification via OpenAI's API. Includes settings schema, admin page for running classifications, and configuration options for API integration, moderation, and future extensibility.

* feat: introduce detailed classification prompt and refactor Classifier logic

Added an immutable Prompt class encapsulating the system prompt for the classifier, improving maintainability and versioning. Refactored the Classifier to use the prompt dynamically, optimized JSON payload handling, streamlined error handling, and improved tag normalization. Removed redundant configuration from the Schema.

* feat: enhance Classifier with dual-side image support and introduce SchemaGuard

Updated Classifier to handle front and optional back images for improved input flexibility. Introduced SchemaGuard for payload normalization, ensuring strict adherence to schema with defaults, clamping, and deduplication. Refined system prompt to align with dual-image logic, improve determinism, and enhance classification guidance.

* feat: add single postcard uploader and enhance media processing

Introduced a single postcard uploader with a front-image requirement and optional back-image support. Added `AdminSingleUpload` and `Ingress` classes for managing uploads, duplicates, and classification queuing. Updated menu structure with a dedicated "Postcards" section and integrated admin-side metabox for status and quick processing actions.

* feat: add Metadata class for image analysis and integrate orientation and color extraction

Introduced the `Metadata` class to compute and store image orientation, primary color, and up to five color palette hex values. Integrated metadata handling across processing workflows, updated `AdminMetaBox` to display orientation and color metadata in the UI, and refined media processing logic.

* feat: sync AI classification data into media attachment fields

Added `AttachmentSync` class to populate media attachment fields (Alt text, Caption, Description) using AI classification payload. Implemented logic to respect existing manual edits, ensure brevity, and avoid field updates if PII is detected. Integrated field syncing into the processing workflow.

* feat: replace front-page template and introduce PostSecret Feed plugin

Replaced the front-page template with a block-based version to streamline content rendering and styling. Introduced the "PostSecret Feed" plugin to enable a dynamic, read-only infinite stream of vetted postcards via a REST API. Simplified grid rendering and integrated Mustache templates for frontend customization. Included additional CSS and JavaScript assets for an improved browsing experience.

* docs: add link to project Kanban board in README

Added a direct link to the PostSecret project Kanban board in the README for improved visibility and easy access to task tracking.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant