Commit Graph

14 Commits

Author SHA1 Message Date
herel cadc34f797 chore: update dependencies and bump version to 1.0.5 2025-09-04 00:37:14 +02:00
herel cdaf3d9500 refactor: standardize string quotes and improve code formatting
Updated both main.py and generate_math_exercises.py to use consistent double quotes for strings and improved code formatting with better line breaks for readability. Also added JSON import to main.py for bulk operations.
2025-09-04 00:08:13 +02:00
herel 1d47b5490e chore: update .gitignore 2025-09-03 23:57:41 +02:00
herel 5d11fe9763 chore: simpler network policy 2025-09-03 23:57:25 +02:00
herel e0dddb70ec fix: update network policy to allow S3 traffic and kubelet health checks 2025-09-03 23:45:16 +02:00
herel fac44d2246 chore: bump version to 1.0.2 2025-09-03 23:08:17 +02:00
herel 3c07c89f24 feat: add pagination to file listing and improve UI 2025-09-03 23:07:02 +02:00
herel 75548dab2b feat: migrate to S3 storage with automatic download and timestamped filenames
- Replace local file storage with S3-compatible object storage

- Add automatic PDF download after generation

- Include timestamps in filenames to ensure uniqueness

- Remove unused static volume from Kubernetes deployment

- Update ConfigMap to remove unused variables and add S3 configuration

- Configure S3 credentials via Kubernetes secrets for both dev and prod environments

- Add boto3 dependency for S3 integration
2025-09-03 22:41:16 +02:00
herel a67db405f7 chore: add .envrc to .gitignore 2025-09-03 22:26:11 +02:00
herel f94dd12216 feat: Configure production deployment with math-tables namespace and ingress
Changes made:

- Remove problematic configuration-snippet from base ingress

- Add namespace creation for math-tables

- Configure ingress with nginx class and letsencrypt-prod issuer

- Set production hostname to math-tables.cl1.parano.ch

- Reduce production replicas to 1

- Update copyright year in index.html
2025-09-03 22:06:32 +02:00
herel 82c5cdb6e1 feat: add Dockerfile 2025-09-03 21:36:13 +02:00
herel fd2f296f44 feat: add web interface for math exercise generator
- Create FastAPI backend with endpoints for generating math exercises
- Build Bootstrap frontend with responsive UI for exercise configuration
- Implement PDF generation functionality identical to original script
- Add README with installation and usage instructions
- Update requirements.txt with web dependencies
- Configure .gitignore to exclude compiled files and generated PDFs
2025-09-03 21:25:45 +02:00
herel be6b2b6716 add .gitignore 2025-09-03 21:12:13 +02:00
herel 517ed8f4b5 initial import 2025-09-03 21:11:25 +02:00