|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## Changes 03/08/2026 (v3.7.0) |
| 4 | + |
| 5 | +**Demo videos** |
| 6 | + |
| 7 | +- [FileRise Pro AI Chat: Organize Files By Type](https://youtu.be/zoM7LudY934) |
| 8 | +- [FileRise Pro AI Chat: Extract Invoice Fields to JSON and CSV](https://youtu.be/HhY__X695KM) |
| 9 | + |
| 10 | +`release(v3.7.0): AI chat admin workspace, public share/portal copilots, PDF previews, and WebDAV read-stream hardening` |
| 11 | + |
| 12 | +**Commit message** |
| 13 | + |
| 14 | +```text |
| 15 | +release(v3.7.0): AI chat admin workspace, public share/portal copilots, PDF previews, and WebDAV read-stream hardening |
| 16 | +
|
| 17 | +- pro(ai): add core AI API wrappers, admin AI workspace hooks, and public share/portal copilot integration seams |
| 18 | +- files(pdf): add opt-in local PDF thumbnails and inline PDF preview support |
| 19 | +- mcp(core): extend scoped operation catalog for AI file/folder actions and metadata discovery |
| 20 | +- automation(core): expose AI watched-rule and approval actions through ProAutomationApiService |
| 21 | +- storage(webdav): switch remote reads to curl-backed streaming with low-speed timeout handling |
| 22 | +- security: keep public AI explicitly opt-in per share/portal and preserve scoped public guards |
| 23 | +``` |
| 24 | + |
| 25 | +**Added** |
| 26 | + |
| 27 | +- **Core AI API surface for Pro integration** |
| 28 | + - Added AI endpoint wrappers under: |
| 29 | + - `/api/pro/ai/chat.php` |
| 30 | + - `/api/pro/ai/config/{get,save,public}.php` |
| 31 | + - `/api/pro/ai/share/chat.php` |
| 32 | + - `/api/pro/ai/portal/chat.php` |
| 33 | + - `/api/pro/ai/agents/{list,save,delete}.php` |
| 34 | + - `/api/pro/ai/recipes/{list,save,delete}.php` |
| 35 | + - `/api/pro/ai/jobs/queue.php` |
| 36 | +- **Automation AI workflow endpoints** |
| 37 | + - Added endpoint wrappers under: |
| 38 | + - `/api/pro/automation/ai-rules/{list,save,delete}.php` |
| 39 | + - `/api/pro/automation/approvals/{list,decide}.php` |
| 40 | + - `/api/pro/automation/agent/inbound.php` |
| 41 | + - `/api/pro/automation/jobs/output.php` |
| 42 | +- **Admin AI workspace UI** |
| 43 | + - Added the in-app AI chat/admin shell and AI-specific admin controls in: |
| 44 | + - `public/js/aiChat.js` |
| 45 | + - `public/js/adminAutomation.js` |
| 46 | + |
| 47 | +**Changed** |
| 48 | + |
| 49 | +- **Public share + portal AI UX** |
| 50 | + - Shared-folder and portal public views now expose scoped AI copilot entrypoints, prompt examples, and dedicated styling for public AI interactions. |
| 51 | + - Share and portal admin/settings flows now support per-link or per-portal AI enablement controls. |
| 52 | +- **PDF preview support** |
| 53 | + - Gallery cards and desktop hover previews can now show rasterized first-page thumbnails for local PDF files. |
| 54 | + - Added a Core admin toggle under `Appearance, UI & Indexing` so PDF thumbnails remain opt-in and can be disabled to restore the old icon/no-preview behavior. |
| 55 | + - PDF files can now open inline in the existing file preview modal when the feature is enabled. |
| 56 | +- **Core MCP operation seam for AI** |
| 57 | + - Extended `src/FileRise/Domain/McpCoreOpsService.php` with additional scoped operations used by AI flows: |
| 58 | + - `read_file` |
| 59 | + - `create_file` |
| 60 | + - `create_folder` |
| 61 | + - `copy_files` |
| 62 | + - `rename_file` |
| 63 | + - Added operation metadata/catalog helpers so AI/admin surfaces can describe allowed operations without duplicating rules. |
| 64 | +- **Automation API service coverage** |
| 65 | + - Extended `src/FileRise/Domain/ProAutomationApiService.php` to expose AI watched-rule and approval actions through the existing core service seam. |
| 66 | +- **Share/portal metadata** |
| 67 | + - Shared-folder and portal records now carry `aiEnabled` metadata so public AI can be explicitly enabled or disabled per surface. |
| 68 | +- **Runtime image** |
| 69 | + - Updated `Dockerfile` for the AI-enabled runtime prerequisites used by this release branch, including `poppler-utils` for local PDF thumbnailing and AI document workflows. |
| 70 | + |
| 71 | +**Fixed** |
| 72 | + |
| 73 | +- **Public AI share default regression** |
| 74 | + - Fixed newly created shares defaulting to `aiEnabled=0` when older or hidden UI paths omitted the field. |
| 75 | + - The share modal now only sends `aiEnabled` when the control is visible, preserving backward-compatible defaults. |
| 76 | +- **Public AI config endpoint guard** |
| 77 | + - Fixed `/api/pro/ai/config/public.php` using the authenticated AI guard instead of the public guard, which could block unauthenticated share/portal pages from loading AI availability correctly. |
| 78 | +- **PDF preview regressions** |
| 79 | + - Fixed authenticated PDF inline viewing so PDFs no longer download instead of rendering in the preview modal. |
| 80 | + - Fixed the PDF thumbnail toggle save path and disabled-state behavior so the old outside-the-modal PDF behavior is restored when the toggle is off. |
| 81 | +- **WebDAV source streaming** |
| 82 | + - Updated the WebDAV adapter read path to use the curl-backed read stream helper with clearer low-speed timeout handling and better read-stream failure reporting. |
| 83 | + |
| 84 | +**Security** |
| 85 | + |
| 86 | +- **Scoped public AI enforcement** |
| 87 | + - Public share and portal AI routes stay bounded to the current share/portal scope, reuse existing access checks, and continue sending `Cache-Control: no-store` plus `X-Content-Type-Options: nosniff`. |
| 88 | +- **External provider disclosure** |
| 89 | + - Admin AI Settings and the in-app AI Chat now warn when enabled providers are external, so operators are explicitly reminded that prompts and visible file excerpts may leave the instance. |
| 90 | +- **Admin/API guard consistency** |
| 91 | + - New authenticated AI and automation wrappers use centralized bootstrap/guard helpers instead of duplicating auth/admin/CSRF logic across endpoints. |
| 92 | + |
| 93 | +**Docs** |
| 94 | + |
| 95 | +- Added wiki coverage for Pro AI chat/admin features and linked it in the docs sidebar. |
| 96 | + |
| 97 | +--- |
| 98 | + |
3 | 99 | ## Changes 03/05/2026 (v3.6.1) |
4 | 100 |
|
5 | 101 | `release(v3.6.1): iPad hover preview pointer compatibility + configurable hover delay (refs #105)` |
|
0 commit comments