Commit graph

13 commits

Author SHA1 Message Date
04bf4adfb0 Refactor: Move CPT metabox logic to dedicated Admin classes 2025-04-03 23:58:15 -05:00
4f136b3222 feat: Add Assessment Builder AJAX handler and initialization 2025-04-03 22:07:16 -05:00
aa95d3f583 feat: Add programmatic page creation on activation (Step 8) 2025-04-03 21:11:34 -05:00
772cbf6385 Added a 'Send Assessment Invite' metabox to the Job edit screen 2025-04-03 20:21:51 -05:00
3e80e1baa0 feat: Add SMTP mailer configuration and integration\n\n- Adds PHPMailer dependency via Composer.\n- Adds SMTP settings section (Host, Port, Encryption, Auth, Credentials, From Address/Name, Enable toggle) to Settings > Quiztech page.\n- Implements render callbacks and sanitization for new settings.\n- Adds 'Send Test Email' button and AJAX handler for verification.\n- Hooks into 'phpmailer_init' to configure PHPMailer based on saved settings.\n- Ensures Invitations class uses wp_mail(). 2025-04-03 19:55:33 -05:00
6beb1c2251 Fix activation errors and address initial TODOs
- Resolved fatal errors during plugin activation related to Composer autoloading, procedural function loading ('\die' vs 'die'), and 'dbDelta' SQL formatting.
- Defined and documented required post meta fields in 'memory-bank/project-knowledge/meta-fields.md'.
- Implemented logic for custom columns in 'AdminListTables.php' using defined meta keys.
- Made assessment title dynamic in 'assessment-shell.php'.
- Implemented check for pre-screening status in 'FrontendHandler.php'.
- Replaced placeholder or future implementation TODOs with descriptive notes in core plugin file, settings page, AJAX handler, frontend handler, credits, and payments files.
2025-04-03 19:12:26 -05:00
18f0dc57d3 Removed extra PHP closing tags 2025-04-03 18:46:19 -05:00
871e0f4988 Modified database update on plugin activation 2025-04-03 18:40:04 -05:00
b4799adf51 Updated required files to include non-class-based files 2025-04-03 18:24:14 -05:00
00892b36c9 feat: Implement Phase 2, Step 7 - WP Admin Interfaces 2025-04-03 16:30:09 -05:00
130b9eefb9 feat: Implement front-end assessment interaction AJAX flow
- Add AssessmentAjaxHandler class for AJAX requests.
- Add assessment.js for front-end logic.
- Implement pre-screening form submission via AJAX.
- Implement answer auto-save via AJAX.
- Implement final assessment submission via AJAX.
- Update assessment-shell.php template for dynamic rendering and JS hooks.
- Enqueue and localize assessment.js conditionally.

Refs: assessment_interaction_plan.md
Note: Includes TODOs for evaluation CPT handling, status updates, and sanitization.
2025-04-03 16:02:16 -05:00
d63aa8d409 feat: Implement invitation system backend and frontend handler
- Add custom DB table for invitations on activation.
- Create Invitations class for managing invites (create, validate).
- Implement FrontendHandler to validate tokens and load assessment template.
- Add assessment-shell.php template for pre-screening/assessment UI.
- Update .gitignore to exclude vendor directory and untrack existing vendor files.
2025-04-03 14:34:19 -05:00
3a0cdb3ef1 Initial plugin version 2025-04-03 13:05:41 -05:00