Commit graph

41 commits

Author SHA1 Message Date
55d975845e Update meta field name for questions in Assessment Builder; changed default credit value 2025-04-04 10:33:37 -05:00
9eaedf9674 Added NOPRIV handlers for saving assessments 2025-04-04 08:54:56 -05:00
38bf3e4b4d fix: Align question types and add Previous button to assessment 2025-04-04 08:15:40 -05:00
21204d2682 Updated quiztech-assessment-platform/public/templates/assessment-shell.php to fix the incorrect meta key (_quiztech_question_type) and align the question type handling in the switch statement with the types defined in QuestionMetaboxes.php (textarea, text, multiple-choice, checkbox, numeric) 2025-04-04 08:04:40 -05:00
f84960326a FIX: Ensure assessment.js loads by uncommenting wp_footer() in assessment-shell.php 2025-04-04 07:43:25 -05:00
ac1712f906 Updated JS for 'Begin Assessment' button 2025-04-04 07:27:55 -05:00
471453eab8 Fixed incorrect meta field name for assessment question IDs 2025-04-04 07:04:21 -05:00
f71f305005 feat: Implement assessment landing page flow 2025-04-04 06:54:34 -05:00
ee3b337d5e fix: Correct Linked Assessment metabox rendering and meta key 2025-04-04 06:20:26 -05:00
a626e008bb Fix: Return and use correct token value for invitation email link 2025-04-04 05:46:55 -05:00
742630778c feat: Implement Phase 3 Applicant Assessment Experience (Items 15-17) 2025-04-04 05:15:52 -05:00
2bbe7efdfe Fix: Use wp_redirect instead of wp_safe_redirect for Stripe checkout. 2025-04-04 03:47:21 -05:00
545bed1690 More Stripe Troubleshooting 2025-04-04 03:41:42 -05:00
2c748c2dce More Stripe Troubleshooting 2025-04-04 03:38:46 -05:00
560a9be23d More Stripe Troubleshooting 2025-04-04 03:35:46 -05:00
9f8108caa0 More Stripe Troubleshooting 2025-04-04 03:29:41 -05:00
257ff33d83 More Stripe Troubleshooting 2025-04-04 03:28:01 -05:00
993ad7d5bb Added log_to_file() debug function 2025-04-04 03:13:56 -05:00
8fa72aa1b8 Added log_to_file() debug function 2025-04-04 03:11:48 -05:00
e5d0d89f7c Fixed incorrect comment closing in sanitize_settings 2025-04-04 01:26:03 -05:00
4872c78b07 Updated required files for credit management 2025-04-04 00:44:56 -05:00
932e7aaed5 Feat: Implement Stripe payment initiation and webhook handling (Step 11) 2025-04-04 00:35:39 -05:00
04bf4adfb0 Refactor: Move CPT metabox logic to dedicated Admin classes 2025-04-03 23:58:15 -05:00
e26f9ec54f feat: Add CPT capabilities to roles 2025-04-03 22:27:11 -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
f1c2bfdbe8 Corrected the post meta key used to retrieve the linked assessment ID in the Job 'Send Invite' metabox AJAX handler 2025-04-03 20:36:47 -05:00
213091155a Update to filesystem path instead of URL 2025-04-03 20:29:10 -05:00
53c5e2102f FIXED: Added a 'Send Assessment Invite' metabox to the Job edit screen. Includes metabox 2025-04-03 20:24:33 -05:00
772cbf6385 Added a 'Send Assessment Invite' metabox to the Job edit screen 2025-04-03 20:21:51 -05:00
836ce51127 Fix missing closing bracket 2025-04-03 19:58:34 -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
fc3b9a0458 feat: Add meta boxes for correct answer and linked questions/assessments 2025-04-03 19:32:38 -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