Commit Graph

46 Commits

Author SHA1 Message Date
Pavel Vesely
f1a1a21d74 Introduce GetFolderPath and GetFilePath repository methods 2021-01-11 16:32:13 +01:00
Pavel Vesely
07711c082e FileController - content disposition 2020-12-15 11:06:52 +01:00
Pavel Vesely
14f8155df6 FileController fix
- using PhysicalFile framework method (current implementation causes file locks and 500 error at heavy load)
- Add correct mimetype to header based on file extension
2020-12-06 16:23:28 +01:00
Tony Valenti
766be6c929 Factor out default controller route. 2020-10-16 10:37:17 -05:00
Tony Valenti
955e7a3856 Factored out Contants.*** Role into RoleNames.***
Renamed 'AllUsers' to 'Everyone'
2020-10-16 06:22:52 -05:00
Shaun Walker
8196112a59 fixed Theme install/uninstall issue, fixed Layout inheritance issue, fixed File server performance issue, cleaned up remaining hardcoded permission strings 2020-09-16 15:24:07 -04:00
Shaun Walker
809946685a resolved #604 - added support for renaming files and moving to a different folder. Also added support for renaming folders and moving to a different parent folder. 2020-08-16 19:00:49 -04:00
Alexander Hendel
807252c9e5 Fix directory separator for path operations 2020-07-15 16:09:19 +02:00
Jim Spillane
b8ce634f85 Fix file upload merge
Allow upload of file names that match the token pattern ".part_", but not in the file extension. For example, a file named, a.part_Y.txt, would not be uploaded.
2020-05-18 19:53:49 -04:00
Jim Spillane
13adebb36c Add File Name validation
Apply file name validation rules to the File Controller and client.
2020-05-15 23:12:24 -04:00
Pavel Vesely
9850e249fc File Controller bug 2020-05-15 08:20:00 +02:00
Shaun Walker
6f3fe8d933 validate folder names, handle missing files more gracefully 2020-05-12 13:24:51 -04:00
Jim Spillane
a1449fb2dd Fix Uploadable files
When testing for allowable file extensions using a comma separated list, like (jpg,mp3,txt,zip), extensions such as .xt or .p3 will return true.  Adding Split(',') will test each of the extensions correctly.

Adding ToLower() will allow mixed case extensions, like .JPG or .Zip to return true.
2020-05-09 14:58:39 -04:00
Shaun Walker
c394c6ea7a Resolved authentication issue #441 related to alias refactoring #439, fixed breaking change in .NET Core 3.2 related to Blazor WebAssembly identification 2020-05-05 16:28:50 -04:00
Sean Long
f0043f53ee OS independent file paths & Utility.PathCombine added
System.IO.Path.Combine provides cross-platform support for system paths, however rooted paths discarding of earlier segments
Utilities.PathCombine ensures if any parameters start with root chacters does not discard previous Utilities.PathCombine allows appending of "\\" to translate to the correct cross-platform result
2020-04-18 14:57:31 -04:00
Sean Long
c07ebdd41b Revert "Updated for consistant delimiter presence with source"
This reverts commit ce118096b7.
2020-04-18 12:54:12 -04:00
Sean Long
ce118096b7 Updated for consistant delimiter presence with source 2020-04-18 12:53:41 -04:00
Sean Long
70502cd881 OS independent file paths 2020-04-17 16:25:00 -04:00
Shaun Walker
70ebd6eb35 added defensive coding to deal with scenarios where files are deleted but still references from other entities 2020-04-14 12:18:11 -04:00
Shaun Walker
02fde9cec3
rolled back change creating an Infrastructure.Interfaces namespace, modified IModule interface to be strongly typed (#343)
* upgrade to .NET Core 3.2 Preview 3 and fixes for issues created by #314

* Components based on Bootstrap4 for Sections and  TabStrip to increase productivity and promote uniformity in Module UIs

* rolled back change creating an Infrastructure.Interfaces namespace, modified IModule interface to be strongly typed
2020-04-05 14:39:08 -04:00
Pavel Veselý
5af6f7a52d
Namespace Fix undo (#340) 2020-04-04 14:06:24 -04:00
Pavel Veselý
71bd3a8d6a
Namespace fix (#335) 2020-04-03 17:18:33 -04:00
Pavel Vesely
cf6643aef3 Client fixes
Client is partially done.
227 warnings left out of 1500
I like Rider
2020-03-15 15:19:35 +01:00
Pavel Vesely
5b3feaf26f Server naming fixes and cleanup
Server is now completely cleaned up and without warnings
2020-03-15 11:53:24 +01:00
Pavel Vesely
ab3f0853a7 Naming conventions 2020-03-14 21:52:26 +01:00
Pavel Vesely
7feee22b32 EntityNames replacements 2020-03-14 18:16:04 +01:00
Pavel Vesely
b4d3903517 Replace magic strings in other places 2020-03-14 10:12:07 +01:00
Pavel Vesely
3e1c371be6 PermissionNames constants
Replace magic strings in authorisation calls
2020-03-14 09:21:26 +01:00
Shaun Walker
fe98084324 optimizations and fixes 2020-03-11 14:39:49 -04:00
Pavel Vesely
979463b365 FileController parameter fix 2020-03-08 22:55:42 +01:00
Pavel Vesely
5635808813 GetFiles and GetFolder by folder path 2020-03-08 14:26:32 +01:00
Pavel Vesely
92444ccf75 GetFiles and GetFolder by folder path 2020-03-08 14:26:31 +01:00
Hisham Bin Ateya
425b4e1c67 Fix casing for constructor params 2020-03-05 20:03:54 +03:00
Hisham Bin Ateya
303bdf3be2 Remove this keyword 2020-03-05 19:22:13 +03:00
Hisham Bin Ateya
a46235ea1e Fix naming conventions for private fields 2020-03-05 01:46:53 +03:00
Shaun Walker
d18b4d574a Removed Repository methods which are not used and are not valid because they do not adhere to tenant scope boundaries 2020-02-23 10:45:32 -05:00
Shaun Walker
00914208ba added image preview to the file manager component 2020-02-22 09:56:28 -05:00
Shaun Walker
066c616eca authorization changes 2020-02-17 19:48:26 -05:00
Shaun Walker
6a92c9f764 Folder and file management service 2020-02-11 14:25:38 -05:00
Shaun Walker
e25bbe2e24 logging abstraction 2019-10-26 11:00:45 -04:00
Shaun Walker
3d7ae6a743 logging enhancements 2019-10-24 16:54:14 -04:00
Shaun Walker
2e3a4efb74 structured logging 2019-10-22 11:57:28 -04:00
Shaun Walker
73feb1f93f fix issue #134 - ensure files are not locked by another processs and remove loading indicator 2019-10-17 11:39:15 -04:00
Shaun Walker
7f69f76263 add file manager 2019-10-09 18:14:06 -04:00
Shaun Walker
9971510b1e improved file upload, enhanced module installation from Nuget to support upgrades, added ability to upgrade the framework from Nuget, completed isolated multitenancy and site alias management, created IPortable interface for importing data into modules, added default content to initial installation 2019-10-08 16:11:23 -04:00
Shaun Walker
a84eee8782 Large file streaming uploads 2019-09-06 13:15:18 -04:00