Commit Graph

5 Commits

Author SHA1 Message Date
Martin Tranberg 24665c5797 Add support for downloading all document libraries on a site
- New get_all_drives() fetches all drives from a SharePoint site
- main() loops over all drives when DOCUMENT_LIBRARY is empty, placing
  each library in its own subfolder under LOCAL_PATH
- MSAL force_refresh now catches TypeError/ValueError for compatibility
  with older MSAL versions that don't support the parameter
- GUI: "Download alle biblioteker" checkbox disables Library Navn and
  Mapper fields; load_settings restores checkbox state from config

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-04 13:41:41 +02:00
Martin Tranberg 8e8bb3baa1 Improve cancellation logic and sync performance.
- Implement explicit threading.Event propagation for robust GUI cancellation.
- Optimize file synchronization by skipping hash validation for up-to-date files (matching size and timestamp).
- Update Windows long path support to correctly handle UNC network shares.
- Refactor configuration management to eliminate global state and improve modularity.
- Remove requests.get monkey-patch in GUI.
- Delete CLAUDE.md as it is no longer required.
2026-04-12 12:44:43 +02:00
Martin Tranberg acede4a867 Synkronisér GUI med nye hash-indstillinger og tidsstempel-logik
- Opdaterer sharepoint_gui.py med felter til ENABLE_HASH_VALIDATION og HASH_THRESHOLD_MB
- Gør download_sharepoint.py i stand til at læse disse indstillinger fra konfigurationsfilen
- Justerer GUI-layoutet (større vindue) for at give plads til de nye kontrolmuligheder
- GUI'en bruger nu automatisk den nye tidsstempel-baserede synkronisering
2026-03-29 19:23:42 +02:00
Martin Tranberg b33009c54c Tilføj stop-knap til GUI uden at ændre i hovedscriptet 2026-03-26 16:03:34 +01:00
Martin Tranberg 368f4c515c Tilføj moderne GUI UX (sharepoint_gui.py) ved hjælp af CustomTkinter 2026-03-26 15:59:24 +01:00