Sigma Medienmanager

Sigma Medienmanager 1.5.0

Keine Berechtigung zum Herunterladen
### Added

- Document Library **Folder** display layout on the frontend (sidebar folder tree, subfolder cards, and files below)
- Document Library folder layout: expandable nested folders in the sidebar with item counts and custom folder colors
- Document Library folder layout: grid and list toggle on the frontend for files (choice remembered per library for the session)
- Document Library folder layout: expanded folders stay open after a page refresh (saved in the browser per library)
- Document Library admin: **Folder** option in Display > Layout alongside Grid and List
- Google Drive as a cloud offload provider (connect with Google via OAuth in Cloud settings)
- Microsoft OneDrive as a cloud offload provider (connect with Microsoft via OAuth in Cloud settings)
- pCloud as a cloud offload provider (connect with your pCloud account via OAuth in Cloud settings)
- Optional upload subfolder for Google Drive, OneDrive, and pCloud: files go to `sigma-media-manager` or `sigma-media-manager/your-name`
- Plugin auto-creates the `sigma-media-manager` folder (and optional subfolder) on Google Drive, OneDrive, and pCloud when needed
- Timestamped file names on Google Drive, OneDrive, and pCloud so uploads do not overwrite existing files
- Public URL rewriting for offloaded Google Drive, OneDrive, and pCloud media, including thumbnail sizes when local copies are removed
- MTCaptcha as a Document Library captcha provider (alongside Google reCAPTCHA, Cloudflare Turnstile, and hCaptcha)
- Virtual file name rename in Attachment Details: change the display file name from the preview modal without renaming the file on disk or changing its URL (existing pages and embeds stay intact)
- Replace Image in Attachment Details (local files only): upload a new version without changing the attachment URL, so existing page embeds keep working
- Previous local files are archived under `uploads/smm-backups/YYYY/MM/` as `{attachment_id}_{filename}_(1)`, `_(2)`, etc. on each replace

### Updated

- Made compatible with WordPress version 7.0

### Improved

- Cloud offload engine supports OAuth-based providers (Google Drive, OneDrive, pCloud) alongside S3, Spaces, GCS, and R2
- Deletion queue clears Google Drive, OneDrive, and pCloud attachment metadata when cloud objects are removed
- Bulk cloud offload statistics and dashboard counts are calculated more reliably
- Uninstall data removal (when enabled) also deletes white label options, Google Drive/OneDrive/pCloud OAuth transients, Appsbd license keys, and unschedules cloud/deletion cron hooks

### Fixed

- Cloud upload backup paths and bulk offload summary counts now match actual offload results
- Image editor: Gemini AI edits no longer save excessively large files after transformation
Fixed
- Session expiration handling across all API calls — expired nonces now trigger an automatic page reload instead of showing a generic error
- Document Library frontend now properly detects and handles 401/403 authentication errors when fetching items or verifying captcha
- Document Library Admin folder fetching, item loading, folder creation, and item reordering now handle session expiration gracefully
- Media Library Folders (create, rename, delete, move) now detect session expiration and auto-refresh instead of showing unhelpful error messages
- Duplicate page refresh prevented by throttling auto-reload to once per 5 seconds using sessionStorage
### Added

- Admin API notification system with countdown timers
- Multi-AI Provider Support: Now supports Free Credits, Gemini, OpenAI, and Claude AI providers
- Tab-based provider selection in AI Settings with individual API key configuration
- Real API key validation for all providers (Free Credits, Gemini, OpenAI GPT-4o, Claude 4 Sonnet)
- Provider-specific API integration for text generation
- Dynamic provider selection that applies to all AI text generation features
- Dashboard feed widget with styled RSS posts, banner image, badges, and footer links on the WordPress dashboard

### Improved

- AI text generation now uses the selected provider from settings instead of only Gemini
- Provider-agnostic error messages throughout the application
- API key availability checks now work with any configured provider
Oben