-
Notifications
You must be signed in to change notification settings - Fork 42
feat: add certificate automation with QR code verification #622
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
dricazenck
merged 9 commits into
Women-Coding-Community:main
from
dricazenck:certificate-qr-verification
Jan 6, 2026
Merged
feat: add certificate automation with QR code verification #622
dricazenck
merged 9 commits into
Women-Coding-Community:main
from
dricazenck:certificate-qr-verification
Jan 6, 2026
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add comprehensive certificate generation system: - Python script for generating certificates (PPTX/PDF) - QR code generation and embedding - Certificate registry for verification - Support for 4 certificate types (mentee, mentor, volunteer, leader) - Public verification page (verify.html) - Comprehensive test suite with 50+ test cases - Documentation and usage guides Features: - Unique certificate IDs (SHA256-based) - QR codes linking to verification page - JSON-based certificate registry - Template-based certificate generation - Duplicate detection - WCAG-compliant verification UI 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Update certificate automation to preserve all formatting from templates and make QR code position configurable in centimeters. Changes: - Preserve all text formatting (font, size, color, bold, italic, underline) from template placeholder - Remove font_name and font_size from config (now auto-preserved from template) - Add configurable QR code position in centimeters (qr_left_cm, qr_top_cm, qr_width_cm, qr_height_cm) - Update README with new configuration options and formatting explanation - Update all tests to match new function signatures (45 tests passing) Benefits: - Simpler configuration - style placeholder text in PowerPoint, formatting auto-applies - Flexible QR positioning - precise placement using centimeters - Cleaner config files - only essential parameters needed
Sowmiya07
approved these changes
Jan 5, 2026
Contributor
|
@dricazenck Will the registry json file be persisted across deployments? |
Contributor
Author
The idea is we persist that file to be validated yes. If you run locally you can check the output |
…tools directory - Install certificate_automation/requirements.txt for qrcode and other dependencies - Run pytest from tools directory to fix module import paths - Exclude build directories (_site, .venv, myenv) from test collection - Fixes GitHub Actions test failures with ModuleNotFoundError
- Export PYTHONPATH to include tools directory - Allows tests to import modules like file_utils, meetup_import, etc.
- Update verify.js to fetch from _data/certificates_registry.json - Add publish_registry.py script to merge and publish certificates - Update README with publishing workflow documentation - Add unit tests for verify.js (11 passing tests) - Add unit tests for publish_registry.py (9 passing tests) - Publish certificate registry to _data for website verification - Clean up excessive comments for better code readability
… methods - Replace deprecated .click() and .keypress() with .on() event binding - Change keypress event to keydown for better browser compatibility - Extract handleEnterKeyPress function for better code organization - Remove code smell comments and use self-documenting variable names (isOnVerifyPage, isEnterKey) - Update tests to use .trigger() instead of deprecated .click() - All tests passing (12/12) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
c462f39 to
bb24e46
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Add comprehensive certificate generation system:
Screenshots:
Features: