Commit Graph

17 Commits

Author SHA1 Message Date
Martin Tranberg
7fab89cbbb Ret tre fejl i download_sharepoint.py og tilføj CLAUDE.md
- force_refresh sendes nu korrekt til MSAL så token-cache omgås ved 401
- safe_get bruges ved download-retry efter URL-refresh for at få exponential backoff
- CSV DictWriter genbruges i stedet for at oprette to separate instanser

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-27 14:27:12 +01:00
Martin Tranberg
59eb9a4ab0 Tilføj retries til URL-refresh ved manglende @microsoft.graph.downloadUrl i API svar 2026-03-27 14:11:28 +01:00
Martin Tranberg
18158d52b2 Håndter Access Token udløb ved automatisk at forny token på 401-fejl fra Graph API 2026-03-27 11:03:14 +01:00
Martin Tranberg
483dc70ef8 Håndter 401-fejl ved automatisk at forny download-links 2026-03-27 09:15:57 +01:00
Martin Tranberg
1ed21e4184 Production Readiness: Exponential Backoff, Resume Download, Logging og Integrity Verification 2026-03-26 15:43:02 +01:00
Martin Tranberg
a74abf4186 Tilføj paginering og forbedret status-logging for store filer 2026-03-26 15:38:54 +01:00
Martin Tranberg
6333f27037 Implementer parallel download med ThreadPoolExecutor (max 5 tråde) 2026-03-26 15:15:05 +01:00
Martin Tranberg
6849662483 Add pre-check for local path accessibility and specific error handling for disconnected network drives. 2026-03-26 15:02:39 +01:00
Martin Tranberg
6f65bf3f34 Enhance progress reporting with specific actions (Scanning/Checking/Downloading) and immediate counter updates. 2026-03-26 14:51:12 +01:00
Martin Tranberg
0314a19c3d Improve real-time status updates and recursive scanning visibility. 2026-03-26 14:47:00 +01:00
Martin Tranberg
95622ee1a8 Add progress indicator and detailed status updates to the download process. 2026-03-26 14:44:12 +01:00
Martin Tranberg
e3a3824a1c Fix SyntaxError in download_sharepoint.py caused by incorrect escaping during previous update. 2026-03-26 14:41:28 +01:00
Martin Tranberg
ef3d8fa56d Fix [Errno 22] Invalid argument by adding filename sanitization and long path support. Improved error reporting and folder path cleaning for Windows compatibility. 2026-03-26 14:36:48 +01:00
Martin Tranberg
aea5ff68c0 Understøt download af hele biblioteket hvis FOLDERS_TO_DOWNLOAD er tom 2026-03-26 10:51:46 +01:00
Martin Tranberg
407e58baec Fix NameError: folders_str is not defined 2026-03-26 10:45:10 +01:00
Martin Tranberg
eca83031b1 Implementer token refresh og skip-logik for eksisterende filer 2026-03-26 10:41:01 +01:00
Martin Tranberg
fb20712c2e Initial commit: Sharepoint folder download tool using Graph API 2026-03-26 10:34:31 +01:00