feat(storage): add comprehensive tests for StorageManager with memory, filesystem, and custom function backends
Some checks failed
CI / Type Check & Lint (push) Failing after 3s
CI / Build Test (Current Platform) (push) Failing after 3s
CI / Build All Platforms (push) Failing after 3s

feat(email): implement EmailSendJob class for robust email delivery with retry logic and MX record resolution

feat(mail): restructure mail module exports for simplified access to core and delivery functionalities
This commit is contained in:
2025-10-28 19:46:17 +00:00
parent 6523c55516
commit 17f5661636
271 changed files with 61736 additions and 6222 deletions

View File

@@ -1,23 +0,0 @@
/**
* IP Reputation Checker
* Checks IP addresses against reputation databases
*/
export interface IIpReputationResult {
ip: string;
score: number;
isBlacklisted: boolean;
sources: string[];
}
export class IPReputationChecker {
public async checkReputation(ip: string): Promise<IIpReputationResult> {
// Placeholder implementation
return {
ip,
score: 100,
isBlacklisted: false,
sources: [],
};
}
}

View File

@@ -1,33 +0,0 @@
/**
* Security module stub
* Security logging and IP reputation checking
*/
export enum SecurityLogLevel {
DEBUG = 'debug',
INFO = 'info',
WARNING = 'warning',
ERROR = 'error',
CRITICAL = 'critical',
}
export enum SecurityEventType {
AUTH_SUCCESS = 'auth_success',
AUTH_FAILURE = 'auth_failure',
RATE_LIMIT = 'rate_limit',
SPAM_DETECTED = 'spam_detected',
MALWARE_DETECTED = 'malware_detected',
}
export class SecurityLogger {
log(level: SecurityLogLevel, eventType: SecurityEventType, message: string, metadata?: any): void {
console.log(`[SECURITY] [${level}] [${eventType}] ${message}`, metadata || '');
}
}
export class IPReputationChecker {
async checkReputation(ip: string): Promise<{ safe: boolean; score: number }> {
// Stub: always return safe
return { safe: true, score: 100 };
}
}