ferrero-opentext/Python-Version/scripts/shared
nickviljoen 695eefadf3 Fix: Recurse into subfolders with numeric extensions (e.g. "2.0")
DAM subfolder "WND_PCS 2026 2.0" was being treated as a file because
".0" was not in the known extensions list and defaulted to is_folder=False.
This caused an HTTP 404 on download since it's a folder, not a file.

Added numeric-only extension check (.0, .1, etc.) to the folder detection
logic so the script correctly recurses into versioned subfolders and
downloads the assets inside them.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 09:46:32 +02:00
..
__pycache__ feat: Add systemd services and timers for daily and weekly database backups, introduce a token retrieval script, and update the backup guide documentation. 2025-12-01 22:19:24 -05:00
__init__.py Start Python automation - Foundation components 2025-10-30 16:38:26 -04:00
box_client.py Implement Master Tracking ID validation for A2-A3 uploads 2025-12-06 17:21:38 -05:00
common.py Implement robust Box name sanitization in shared/common.py 2025-12-01 15:23:01 -05:00
config_loader.py Enhancement: Add environment-specific configurations and metadata improvements 2026-01-28 20:41:21 +02:00
dam_client.py Fix: Recurse into subfolders with numeric extensions (e.g. "2.0") 2026-04-10 09:46:32 +02:00
database.py Add global_master_tracking_id to link A1→A2 local assets to B1→B2 global masters 2026-03-21 13:12:55 +02:00
filename_parser.py Enhancement: EOL (External Legal Opinion) workflow 2026-03-31 15:53:37 +02:00
filename_parser_v1_backup.py Update filename parser to V2.1 structure with new field positions 2025-11-13 13:41:19 -05:00
metadata_extractor_mvp.py Fix: Template-based folder-only mode for -N flag uploads 2026-03-31 15:53:10 +02:00
metadata_extractor_mvp.py.backup PPR Environment: Use SIMPLE metadata structure for tabular fields 2026-01-23 16:52:50 +02:00
metadata_extractor_mvp_PROD.py Fix: Update MAIN_LANGUAGES values array for tabular fields in DAM upload 2026-03-05 17:26:31 +02:00
notifier.py Fix: Send Mailgun API emails one recipient at a time 2026-03-13 13:39:55 +02:00