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
c597c4c234
add API method to get File based on name, and fix permission validation for Folder
2023-07-10 08:44:14 -04:00
sbwalker
9a3b458c45
Package enhancements for Marketplace
2023-07-09 08:36:14 -04:00
sbwalker
8d3d218067
handle paths during Folder add/update
2023-06-29 12:24:20 -04:00
Shaun Walker
2b41909d47
#2618 - add backward compatibility for permissions optimizations
2023-03-02 15:34:42 -05:00
Shaun Walker
8605e3ca5a
Major refactoring replacing permission strings with permission collections. These changes will require extensive regression testing. These changes may include breaking changes which will need to be identified and resolved to provide backward compatibility.
2023-02-28 17:59:21 -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
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
Shaun Walker
28f73727b5
moved hierarchical ordering logic to server for pages and folders
2022-08-30 07:31:56 -04:00
Shaun Walker
075748d697
made folder paths cross platform, introduced file handler for abstracting the serving of files, enabled url mapping for broken file links, resolved public folder deletion issue
2022-08-30 07:21:52 -04:00
Shaun Walker
82c05a841f
Improve validation and error handling in Controller methods
2021-06-07 15:29:08 -04:00
Shaun Walker
a5de639d15
optimizing tenant resolution and routing
2021-05-10 17:45:39 -04:00
Shaun Walker
6b90e0f37b
fix #1197 - move folder path logic from Client Service to Server Controller
2021-04-05 08:53:22 -04: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
760fc3b8d4
Ensure folder does not contain files during deletion and remove directory during deletion, fix validation issue in add page which would allow a user to create a page without selecting a layout, modify action dialog to use its own CSS class name so it can be styled independently from the Admin Modal, rollback "container" CSS class assigment on panes
2020-08-26 15:00: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
39641804f1
Move Path and File validation to Shared Utilities
...
Created extension methods:
IsPathValid(Folder)
IsFileValid(File)
IsPathOrFileValid(string)
Added client side validation check for Folders.
2020-05-14 22:02:57 -04:00
Jim Spillane
8afe8e7474
Add File and Path rules
...
Apply the file and path naming rules found at
https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file
Mitigate path traversal.
2020-05-14 09:53:36 -04:00
Jim Spillane
1cca18c4d2
Add additional reserved names and characters
...
Added CONIN$,CONOUT$ and characters <>:"/\|?*
Added .Split('.')[0] to folder.Name to catch names like CON.txt and allow names like CONTRACT.
2020-05-12 22:38:28 -04:00
Shaun Walker
6f3fe8d933
validate folder names, handle missing files more gracefully
2020-05-12 13:24:51 -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
Shaun Walker
df3afb1e21
Merge branch 'master' into master
2020-04-26 13:27:16 -04:00
Pavel Vesely
7606e7b488
Permission Optimalization
2020-04-26 16:19:20 +02: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
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
Shaun Walker
18a843e74f
extensibility enhancements for site templates
2020-03-19 12:07: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
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
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
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
ee682516c3
refactoring email verification
2020-02-04 15:14:27 -05:00
Shaun Walker
0aed11e71c
notification service and user management improvements
2020-02-03 16:43:37 -05:00