Add background job processing system with jobs page and download management

This commit is contained in:
nmemmert committed 2025-11-06 09:55:38 -05:00
1 parent a08e114eb2
commit 9473f2c2e8
2 files changed
+168 -97

No files matched your search

+11 -6
View File
@@ -10,6 +10,8 @@ A Python web application built with Flask that automatically renames PDF files b
- **Intelligent Renaming**: Renames files to "LastName_FirstName.pdf" format
- **Duplicate Handling**: Automatically appends counters for duplicate names
- **ZIP Support**: Upload ZIP files and download processed results as ZIP
- **Job Management**: Background processing with job status tracking and history
- **Authentication**: Microsoft Entra ID and local admin login support
- **Error Handling**: Gracefully skips files that can't be processed
## Prerequisites
@@ -82,16 +84,19 @@ Users can choose their preferred login method on the login page.
3. **Access the web interface**:
- Open `http://127.0.0.1:3000/`
- You'll be redirected to Microsoft login
- After authentication, you'll access the app
- Authenticate using Microsoft Entra ID or admin login
4. **Upload files**:
- Select individual PDF files or ZIP archives containing PDFs
- Click "Process PDFs"
- Click "Process PDFs" - this creates a background job
5. **Download results**:
- Download the `renamed_files.zip` containing all processed PDFs
- Review any skipped files listed on the results page
5. **Monitor jobs**:
- Click "View Jobs" to see processing status and history
- Jobs show as "Queued", "Processing", or "Completed"
6. **Download results**:
- When complete, download the ZIP file from the jobs page
- Review any skipped files listed for each job
## How It Works