- Make upload_media accept ir.attachment records, IDs, or raw bytes - Detect file extension from binary content using imghdr - Build media_id with correct extension (.png, .jpg, .pdf) - Prevent DokuWiki 'file extension mismatch' error - Improve temp file cleanup with proper error handling |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| dokuwiki_client.py | ||
| maintenance_equipment_status.py | ||
| maintenance_equipment.py | ||
| res_config_settings.py | ||