sbwalker
8c83a18f93
improve file upload validation and error handling on server
2025-02-06 08:19:57 -05:00
sbwalker
9dd6dc7523
file upload improvements
2025-02-05 16:48:34 -05:00
sbwalker
f3dbeae28e
fix #5044 - improve file part removal logic
2025-02-03 11:00:22 -05:00
sbwalker
c8a22d9537
fix #4795 - ensure deterministic ordering of file parts when merging files after upload (credit @HQuast)
2024-11-04 15:28:59 -05:00
David Montesinos
3adb7ecb1c
Enhances image manipulation with format (webp encoder, defaults to png)
...
- computes etag with all manipulation parameters
2024-10-13 17:20:18 +02:00
David Montesinos
aa5b84a214
Implements Image Manipulation in Files Page via QueryString
...
- Extracts the image creation into a service
- Refactors Files Page GET action for better readability and cyclomatic complexity
2024-10-13 12:38:43 +02:00
sbwalker
69bc06685f
fix #4598 - user experience improvements for file upload
2024-09-12 14:04:35 -04:00
sbwalker
1a2ad55677
add ability to extract zip file contents in File Management
2024-08-14 15:54:13 -04:00
sbwalker
16215847cd
improve file name and extension validation
2024-08-12 17:02:07 -04:00
Ikuo Ohba
d047d26dbf
Reverted and fixed the source code.
2024-05-05 12:12:40 +09:00
Ikuo Ohba
332e528012
Fix #4223
2024-05-03 21:18:28 +09:00
sbwalker
2ed593c5e0
include SiteId in SyncEvent
2024-02-26 14:48:26 -05:00
sbwalker
d57d7ec4d8
improvements to .NET MAUI file upload based on #3674 (credit @thabaum)
2024-01-24 09:37:27 -05:00
sbwalker
4816bfa26d
fix typo
2024-01-22 08:38:31 -05:00
sbwalker
5e1e6aea16
fix #3656 - UploadableFiles and ImageFiles settings not loaded properly to handle empty string value resulting in upload issues
2024-01-22 08:24:01 -05:00
Cody
35bb6b62d8
Handle null or empty formfile in UploadFile Method
2024-01-12 14:08:15 -08:00
Leigh Pointer
daeb76df11
Corrected the IsPrivate
2023-12-04 17:26:37 +01:00
Leigh Pointer
7035f4cc1f
File Extension management - site wide.
...
I have added to the site settings file extension management.
The Constants remain for backward compatibility.
If the extensions are not updated then the Constant will be used.
2023-12-01 21:09:33 +01:00
sbwalker
077343ca20
suppress logging for resized image files which no longer exist
2023-11-29 13:58:52 -05:00
sbwalker
14d36ef8dc
add additional validation logic to Update API methods to ensure model ID matches ID parameter
2023-11-22 14:47:28 -05:00
sbwalker
9bd078d3e9
add support for background color padding during image resizing
2023-08-23 10:05:27 -04:00
sbwalker
542eec2a9e
add support for * ImageSizes for folders
2023-08-18 10:55:10 -04:00
sbwalker
b00b426e9c
fix the id handling for the progressinfo and progressbar, include OnSelect events on Upload and Delete, add missing backend implementation for AddFileAsync
2023-08-15 15:50:35 -04:00
sbwalker
f7bd03d051
add transparency support on image resizing
2023-08-04 16:07:37 -04:00
sbwalker
4483901270
fix #3072 - add error handling and logging to folder creation logic
2023-08-03 14:45:27 -04:00
sbwalker
df0f562817
support both 404 andf 403 status codes in API response (404 should not log)
2023-07-11 08:14:00 -04:00
sbwalker
62ad99d0b6
prevent logging of error for personalized pages
2023-07-10 14:51:32 -04:00
sbwalker
16d0d11e0b
refactored upload so that it is not dependent on Folder Browse permission
2023-07-10 11:44:05 -04:00
sbwalker
c597c4c234
add API method to get File based on name, and fix permission validation for Folder
2023-07-10 08:44:14 -04:00
Shaun Walker
2b41909d47
#2618 - add backward compatibility for permissions optimizations
2023-03-02 15:34:42 -05:00
Shaun Walker
2e61a43e4f
fix #2596 - fix EF Core tracking error when updating a file in a folder which has a Capacity specified
2023-02-15 12:43:18 -05:00
Shaun Walker
7489d9d186
move UI logic from FileService to FileManager, add progressive retry logic, update file attributes if uploading a new version of a file, clean up temporary artifacts on failure, improve upload efficiency
2022-11-09 21:11:02 -05:00
Shaun Walker
6182b96d16
Scope permissions by SiteId to support entity level authorization as well as improve caching and performance. Optimize GetTenant to use existing cache.
2022-11-07 18:16:32 -05:00
Shaun Walker
40ddbbfbb7
fix File Update API to update the file size and image dimensions
2022-10-27 09:38:26 -04:00
Shaun Walker
2e32b65421
add file download event
2022-10-05 08:00:45 -04:00
Shaun Walker
c5b632cb24
Enhance SyncManager to raise events which can be handled on the server within hosted services. Raise create, update, delete events for all major entities. Include support for refresh and reload events to synchronize client state. Move client state cache invalidation to a hosted service to separate concerns and demonstrate events.
2022-10-04 19:20:02 -04:00
Pavel Veselý
d40c1d9b31
Backslash fix.
2022-09-06 09:14:58 +02:00
Shaun Walker
99be638525
Fix #2336 - error.png path incorrect
2022-08-06 16:27:24 -04:00
Pavel Vesely
4f0a805c79
Exception is not saved to log
2022-06-09 10:24:13 +02:00
Shaun Walker
ea5655ae42
Improvements for #2221 - validate file extensions client-side before initiating upload, valid file extension server-side before writing part to disk, optimize cleanup logic, add error handling to JavaScript XMLHttpRequest, ensure FileInput gets initialized after upload
2022-06-04 15:40:26 -04:00
Shaun Walker
391713b84d
Fix #2144 - install issue, Fix #2146 - move file issue, require verification of external login account linkage
2022-04-20 16:00:58 -04:00
Shaun Walker
51b356cc0e
enhanced scheduler to support one-time jobs, fixed pager component so that top/bottom have consistent UX, fixed Blazor theme z-index issues caused by input-group in Bootstrap 5, improved password reset instructions in email notification
2022-01-10 19:58:58 -05:00
Shaun Walker
6af5682548
increment copyright date to 2022, allow scheduled jobs to support weekly interval, improve dynamic image generation, add defensive logic to router
2022-01-05 14:28:42 -05:00
Shaun Walker
53ff491efd
Assorted enhancements
2021-11-24 08:08:39 -05:00
Shaun Walker
29bd31f609
upgrade to .NET 6 and increment version to 3.0.0
2021-10-19 15:33:03 -04:00
Shaun Walker
f739db1e42
Enhance Settings API for public Site Settings. Added Settings to Site model by default. Added new parameters to Login and UserProfile components. Enhanced Oqtane Theme settings to use new component parameters. Enhanced image download and resizing logic.
2021-09-20 17:15:52 -04:00
Shaun Walker
898b908c1b
Added support for File descriptions, Folder capacity and image sizes. Added image resizing capability using ImageSharp - implemented in user profile. Added parameter to disable image preview in FileManager component. Overhauled Pager component and added Columns parameter for Grid mode. Populated PageState.User.IsAuthenticated in SiteRouter. Added support for zero price commercial extentions.
2021-09-15 08:02:55 -04:00
Shaun Walker
233da1508b
Replacing dependency on System.Drawing with SixLabors.ImageSharp based on cross platform guidance from Microsoft 9b4520703c/accepted/2021/system-drawing-win-only/system-drawing-win-only.md
2021-09-02 11:58:31 -04:00
Shaun Walker
82c05a841f
Improve validation and error handling in Controller methods
2021-06-07 15:29:08 -04:00
Shaun Walker
3db12a225b
use secure Packages location for upgrade process
2021-06-02 16:53:55 -04:00