mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-27 19:25:15 +02:00
- Added a static method `estimate_pages_from_metadata` to `PageLimitService` for estimating page counts based on file metadata. - Integrated page limit checks in Google Drive, Dropbox, and OneDrive indexers to prevent exceeding user quotas during file indexing. - Updated relevant indexing methods to utilize the new page estimation logic and enforce limits accordingly. - Enhanced tests for page limit functionality, ensuring accurate estimation and enforcement across different file types. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| conftest.py | ||
| test_document_upload.py | ||
| test_page_limits.py | ||
| test_stripe_page_purchases.py | ||
| test_upload_limits.py | ||