1Panel/agent/router
KOMATA af48fed3c2
feat: Add file preview functionality and interface (#11200)
* feat: Add file content preview functionality

- Implemented a new API endpoint for previewing file content.
- Added PreviewContent method in BaseApi to handle requests.
- Introduced GetPreviewContent method in FileService to retrieve file previews.
- Updated frontend to include a TextPreview component for displaying file previews.
- Added localization support for preview-related messages in multiple languages.
- Enhanced file management view to support previewing large files.

* feat: Update file preview functionality and interface

- Added PreviewContentReq interface to define request parameters for file preview.
- Updated getPreviewContent function to use the new PreviewContentReq type.
- Modified text-preview component to align with updated API, removing unnecessary parameters.
2025-12-08 16:37:50 +08:00
..
backup.go feat: Add local file selection for import/restore operations (#10234) 2025-09-02 17:55:46 +08:00
common.go
entry.go
ro_ai.go feat: ai model support tensorRT LLM (#10688) 2025-10-18 22:49:48 +08:00
ro_alert.go
ro_app.go perf: significantly improve app store homepage loading speed (#11013) 2025-11-20 18:57:49 +08:00
ro_container.go fix: Fix the issue of container compose log cleanup failure (#11238) 2025-12-08 11:38:05 +08:00
ro_cronjob.go feat: Support manual stopping of shell-type tasks (#10524) 2025-09-28 10:18:17 +00:00
ro_dashboard.go feat: async load data of top CPU and memory processes data (#11081) 2025-11-26 23:02:09 +08:00
ro_database.go feat: Support more MySQL character sets and collations (#11053) 2025-11-24 08:07:14 +00:00
ro_file.go feat: Add file preview functionality and interface (#11200) 2025-12-08 16:37:50 +08:00
ro_group.go
ro_host.go feat: Compatible with XPU monitoring (#11099) 2025-11-27 05:57:24 +00:00
ro_log.go
ro_nginx.go
ro_process.go perf: Optimize process management performance (#10329) 2025-09-10 09:02:53 +00:00
ro_router.go
ro_runtime.go feat: add fpm status for PHP runtime (#9891) 2025-08-07 13:56:40 +00:00
ro_setting.go feat: Support favorite operations for containers and images (#11049) 2025-11-24 07:55:14 +00:00
ro_toolbox.go fix: Adjust the display logic of the clam scan report (#10264) 2025-09-04 09:13:32 +00:00
ro_website.go feat: support bach set website group (#10754) 2025-10-24 10:00:14 +00:00
ro_website_acme_account.go
ro_website_ca.go
ro_website_dns_account.go
ro_website_ssl.go feat: support uploading local certificate files (#10540) 2025-09-29 09:24:20 +00:00