Fix bulk CSV processing and improve user registration

- Fix bulk CSV upload functionality that was returning HTML errors
- Implement proper project/organization handling for logged-in vs anonymous users
- Update user registration to create unique Default Organization and Default Project
- Fix frontend API URL configuration for bulk upload endpoints
- Resolve foreign key constraint violations in bulk processing
- Update BulkProcessorService to use in-memory processing instead of Redis
- Fix redirect-tracker service to handle missing project IDs properly
- Update Prisma schema for optional project relationships in bulk jobs
- Improve registration form UI with better password validation and alignment
This commit is contained in:
Andrei
2025-08-23 21:30:06 +00:00
parent df3ad8b194
commit e867f98da3
25 changed files with 682 additions and 205 deletions

View File

@@ -155,9 +155,8 @@ declare const CsvRowSchema: z.ZodObject<{
export type BulkJobCreateRequest = z.infer<typeof BulkJobCreateSchema>;
export type CsvRow = z.infer<typeof CsvRowSchema>;
export declare class BulkProcessorService {
private redis;
private trackingQueue;
private readonly uploadsDir;
private readonly inMemoryJobs;
constructor();
private ensureUploadsDirectory;
parseCsvFile(filePath: string): Promise<Array<{
@@ -181,6 +180,7 @@ export declare class BulkProcessorService {
failed: number;
delayed: number;
}>;
private processBulkJobInMemory;
}
export {};
//# sourceMappingURL=bulk-processor.service.d.ts.map