[PROD RELEASE] Certificate Forms, Payment Enhancements & AWS S3 File Upload Integration #23
Merged
Ethical-Ralph merged 24 commits intoproductionfrom Dec 18, 2025
Merged
[PROD RELEASE] Certificate Forms, Payment Enhancements & AWS S3 File Upload Integration #23Ethical-Ralph merged 24 commits intoproductionfrom
Ethical-Ralph merged 24 commits intoproductionfrom
Conversation
feat: add schema for get marriage certificate form
feat: add death certificate form schema
feat(payment): implement department-specific API key management and configuration
…ss method parameters
…ge certificate processing
…' department for certificate processing
…-schema Chore: Change field definitions and add new fields
- Added FileModule, FileController, and FileService to handle file uploads. - Implemented ApiFile decorator for file upload handling. - Created ParseFile pipe for file validation (size limit). - Introduced AttachmentDTO for file metadata. - Updated configuration to include S3 bucket details. - Added AWS SDK dependencies for S3 and SES. - Updated app module to include FileModule. - Enhanced common DTOs and pipes to support new functionality.
…nal-fields fix: make middle names really not required
| const content = match[1]; | ||
| // Look for mathematical operators with proper spacing or clear mathematical context | ||
| // This is more specific to avoid matching hyphens in identifiers like "get-birth-certificate" | ||
| const pattern1 = /\s+[+\-*/]\s+/.test(content); // operators with spaces on both sides |
Check failure
Code scanning / CodeQL
Polynomial regular expression used on uncontrolled data High
| const pattern3 = /[+\-*/]\s*formData\./.test(content); // operator followed by formData | ||
| const pattern4 = /[+\-*/]\s*db:/.test(content); // operator followed by db reference | ||
| const pattern5 = /\)\s*[+\-*/]\s*/.test(content); // operator after closing parenthesis | ||
| const pattern6 = /\s*[+\-*/]\s*\(/.test(content); // operator before opening parenthesis |
Check failure
Code scanning / CodeQL
Polynomial regular expression used on uncontrolled data High
| */ | ||
| private extractDepartmentFromReference(reference: string): string | null { | ||
| // Check if reference follows the department format | ||
| const match = reference.match(/^([A-Z_]+)-(.+)-(.+)$/); |
Check failure
Code scanning / CodeQL
Polynomial regular expression used on uncontrolled data High
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
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
Added schemas and validations for marriage, death, and birth certificate forms
Implemented department-specific payment configuration and multi-API key support
Introduced ExpressionResolverService for dynamic schema expressions
Integrated AWS S3 file uploads.
Type of Change