From dcb9ce40aa7ceb8416abbf32f9a6065795f9d63a Mon Sep 17 00:00:00 2001 From: GleamTech Date: Sat, 31 Aug 2024 18:09:52 -0700 Subject: [PATCH] Version 9.1.0 ## Version 9.1.0 - September 1, 2024 - **Improved:** Use file extension arrays instead of enumerating image and documents formats so that FileManager is displayed faster when the page is first accessed (on application startup). Enumerating formats to find Document Viewer and Image Viewer support, triggered loading of native DLLs, which should be delayed to when they are actually used. - **Improved:** Disabling FileManagerPermissions.Download permission will also disable DocumentViewerPermissions.DownloadAsPdf. In the past we allowed DownloadAsPdf as the user could already print the document and save as PDF but it makes more sense to disable it to prevent confusion as it has "Download" word in it. So currently; Disabling FileManagerPermissions.Download -> disables DocumentViewerPermissions.Download and DocumentViewerPermissions.DownloadAsPdf Disabling FileManagerPermissions.Print -> disables DocumentViewerPermissions.Print and DocumentViewerPermissions.SelectText - **Fixed:** Since v9.0.0, when clicking "Download Original" button in DocumentViewer, the download dialog prompted to save "SessionExpired.html" instead of the actual file. This was caused by stateId being overwritten by FileManager. - **Fixed:** Embedded resource overriding from App_GlobalResources folder was broken since v9.0.0. For example custom language files put under App_GlobalResources, were not being loaded. - **Fixed:** When using DisplayMode.Window for FileManager and Modal mode, the modal mask should cover the entire page/window because most of the time container element can have collapsed height which would make the synched size mask useless. - **Improved:** Document Viewer: - **Improved:** PDF conversions are now faster and more accurate. Support high-load environments. - **Improved:** DocumentViewer will show generic subfolders for attachments that has path info in PDF portfolio files. - **Fixed:** Signatures in some PDF files were removed in conversions and thus were not visible in DocumentViewer. - **Fixed:** "Full Screen" menu item should not be visible on mobile devices just like "Presentation Mode". - **Improved:** Delete legacy folders and left-over temporary files under GleamTechConfiguration.TemporaryFolder on startup. --- Examples/AspNetCoreCS/AspNetCoreCS.csproj | 4 +- .../FileManagerController.Display.cs | 13 ++++--- .../Views/FileManager/Display.cshtml | 11 ++---- .../AspNetCoreOnNetFullCS.csproj | 4 +- .../FileManagerController.Display.cs | 13 ++++--- .../Views/FileManager/Display.cshtml | 11 ++---- Examples/AspNetMvcCS/AspNetMvcCS.csproj | 10 ++--- .../FileManagerController.Display.cs | 15 ++++---- Examples/AspNetMvcCS/Packages.config | 10 ++--- .../Views/FileManager/Display.cshtml | 11 ++---- Examples/AspNetMvcVB/AspNetMvcVB.vbproj | 10 ++--- .../FileManagerController.Display.vb | 17 +++++---- Examples/AspNetMvcVB/Packages.config | 10 ++--- .../Views/FileManager/Display.vbhtml | 11 ++---- .../AspNetWebFormsCS/AspNetWebFormsCS.csproj | 10 ++--- .../AspNetWebFormsCS/FileManager/Display.aspx | 35 +++++++++--------- Examples/AspNetWebFormsCS/packages.config | 10 ++--- .../AspNetWebFormsVB/AspNetWebFormsVB.vbproj | 10 ++--- .../AspNetWebFormsVB/FileManager/Display.aspx | 37 +++++++++---------- Examples/AspNetWebFormsVB/packages.config | 10 ++--- 20 files changed, 127 insertions(+), 135 deletions(-) diff --git a/Examples/AspNetCoreCS/AspNetCoreCS.csproj b/Examples/AspNetCoreCS/AspNetCoreCS.csproj index 7ebf32d..0547256 100644 --- a/Examples/AspNetCoreCS/AspNetCoreCS.csproj +++ b/Examples/AspNetCoreCS/AspNetCoreCS.csproj @@ -9,8 +9,8 @@ - - + + diff --git a/Examples/AspNetCoreCS/Controllers/FileManagerController.Display.cs b/Examples/AspNetCoreCS/Controllers/FileManagerController.Display.cs index 902c5e9..7fe9e82 100644 --- a/Examples/AspNetCoreCS/Controllers/FileManagerController.Display.cs +++ b/Examples/AspNetCoreCS/Controllers/FileManagerController.Display.cs @@ -37,9 +37,10 @@ public IActionResult Display() DisplayMode = DisplayMode.Window, WindowOptions = { - Title = "FileManager as a modal dialog of viewport", + Title = "FileManager as a modal dialog", Modal = true, - //FullViewport = true, + Maximizable = true, + Minimizable = true } }; fileManager2.RootFolders.Add(new FileManagerRootFolder @@ -60,11 +61,11 @@ public IActionResult Display() Height = 600, DisplayLanguage = "en", Hidden = true, - DisplayMode = DisplayMode.Window, - WindowOptions = + DisplayMode = DisplayMode.Panel, + PanelOptions = { - Title = "FileManager as a modal dialog of parent element", - Modal = true, + Title = "FileManager as a panel", + Collapsible = true } }; fileManager3.RootFolders.Add(new FileManagerRootFolder diff --git a/Examples/AspNetCoreCS/Views/FileManager/Display.cshtml b/Examples/AspNetCoreCS/Views/FileManager/Display.cshtml index 2d2e507..d1320a0 100644 --- a/Examples/AspNetCoreCS/Views/FileManager/Display.cshtml +++ b/Examples/AspNetCoreCS/Views/FileManager/Display.cshtml @@ -1,4 +1,4 @@ -@using GleamTech.AspNet.Core +@using GleamTech.AspNet.Core @using GleamTech.FileUltimate.AspNet.UI @model FileManager[] @@ -17,19 +17,16 @@

@this.RenderBody(Model[0]) - 2. FileManager instance displayed as a modal dialog of viewport: + 2. FileManager instance displayed as a modal dialog:

@this.RenderBody(Model[1]) - 3. FileManager instance displayed as a modal dialog of parent element: + 3. FileManager instance displayed as a panel:

-
- Parent <div> element - @this.RenderBody(Model[2]) -
+ @this.RenderBody(Model[2]) diff --git a/Examples/AspNetCoreOnNetFullCS/AspNetCoreOnNetFullCS.csproj b/Examples/AspNetCoreOnNetFullCS/AspNetCoreOnNetFullCS.csproj index c0f181a..1ef49fe 100644 --- a/Examples/AspNetCoreOnNetFullCS/AspNetCoreOnNetFullCS.csproj +++ b/Examples/AspNetCoreOnNetFullCS/AspNetCoreOnNetFullCS.csproj @@ -14,8 +14,8 @@
- - + + diff --git a/Examples/AspNetCoreOnNetFullCS/Controllers/FileManagerController.Display.cs b/Examples/AspNetCoreOnNetFullCS/Controllers/FileManagerController.Display.cs index 6c70fc6..ca5c8b3 100644 --- a/Examples/AspNetCoreOnNetFullCS/Controllers/FileManagerController.Display.cs +++ b/Examples/AspNetCoreOnNetFullCS/Controllers/FileManagerController.Display.cs @@ -37,9 +37,10 @@ public IActionResult Display() DisplayMode = DisplayMode.Window, WindowOptions = { - Title = "FileManager as a modal dialog of viewport", + Title = "FileManager as a modal dialog", Modal = true, - //FullViewport = true, + Maximizable = true, + Minimizable = true } }; fileManager2.RootFolders.Add(new FileManagerRootFolder @@ -60,11 +61,11 @@ public IActionResult Display() Height = 600, DisplayLanguage = "en", Hidden = true, - DisplayMode = DisplayMode.Window, - WindowOptions = + DisplayMode = DisplayMode.Panel, + PanelOptions = { - Title = "FileManager as a modal dialog of parent element", - Modal = true, + Title = "FileManager as a panel", + Collapsible = true } }; fileManager3.RootFolders.Add(new FileManagerRootFolder diff --git a/Examples/AspNetCoreOnNetFullCS/Views/FileManager/Display.cshtml b/Examples/AspNetCoreOnNetFullCS/Views/FileManager/Display.cshtml index 2d2e507..ed7f61b 100644 --- a/Examples/AspNetCoreOnNetFullCS/Views/FileManager/Display.cshtml +++ b/Examples/AspNetCoreOnNetFullCS/Views/FileManager/Display.cshtml @@ -1,4 +1,4 @@ -@using GleamTech.AspNet.Core +@using GleamTech.AspNet.Core @using GleamTech.FileUltimate.AspNet.UI @model FileManager[] @@ -17,19 +17,16 @@

@this.RenderBody(Model[0]) - 2. FileManager instance displayed as a modal dialog of viewport: + 2. FileManager instance displayed as a modal dialog:

@this.RenderBody(Model[1]) - 3. FileManager instance displayed as a modal dialog of parent element: + 3. FileManager instance displayed as a panel:

-
- Parent <div> element - @this.RenderBody(Model[2]) -
+ @this.RenderBody(Model[2]) diff --git a/Examples/AspNetMvcCS/AspNetMvcCS.csproj b/Examples/AspNetMvcCS/AspNetMvcCS.csproj index ae0ccb4..b39a7d3 100644 --- a/Examples/AspNetMvcCS/AspNetMvcCS.csproj +++ b/Examples/AspNetMvcCS/AspNetMvcCS.csproj @@ -46,19 +46,19 @@ - ..\packages\GleamTech.Common.6.0.8\lib\net472\GleamTech.Common.dll + ..\packages\GleamTech.Common.6.1.0\lib\net472\GleamTech.Common.dll - ..\packages\GleamTech.FileUltimate.9.0.7\lib\net472\GleamTech.FileUltimate.dll + ..\packages\GleamTech.FileUltimate.9.1.0\lib\net472\GleamTech.FileUltimate.dll - ..\packages\GleamTech.DocumentUltimate.7.0.15\lib\net472\GleamTech.DocumentUltimate.dll + ..\packages\GleamTech.DocumentUltimate.7.1.0\lib\net472\GleamTech.DocumentUltimate.dll - ..\packages\GleamTech.ImageUltimate.6.0.1\lib\net472\GleamTech.ImageUltimate.dll + ..\packages\GleamTech.ImageUltimate.6.0.2\lib\net472\GleamTech.ImageUltimate.dll - ..\packages\GleamTech.VideoUltimate.4.0.1\lib\net472\GleamTech.VideoUltimate.dll + ..\packages\GleamTech.VideoUltimate.4.0.2\lib\net472\GleamTech.VideoUltimate.dll diff --git a/Examples/AspNetMvcCS/Controllers/FileManagerController.Display.cs b/Examples/AspNetMvcCS/Controllers/FileManagerController.Display.cs index 41df210..2a924cf 100644 --- a/Examples/AspNetMvcCS/Controllers/FileManagerController.Display.cs +++ b/Examples/AspNetMvcCS/Controllers/FileManagerController.Display.cs @@ -1,4 +1,4 @@ -using System.Web.Mvc; +using System.Web.Mvc; using GleamTech.AspNet.UI; using GleamTech.FileUltimate.AspNet.UI; @@ -37,9 +37,10 @@ public ActionResult Display() DisplayMode = DisplayMode.Window, WindowOptions = { - Title = "FileManager as a modal dialog of viewport", + Title = "FileManager as a modal dialog", Modal = true, - //FullViewport = true, + Maximizable = true, + Minimizable = true } }; fileManager2.RootFolders.Add(new FileManagerRootFolder @@ -60,11 +61,11 @@ public ActionResult Display() Height = 600, DisplayLanguage = "en", Hidden = true, - DisplayMode = DisplayMode.Window, - WindowOptions = + DisplayMode = DisplayMode.Panel, + PanelOptions = { - Title = "FileManager as a modal dialog of parent element", - Modal = true, + Title = "FileManager as a panel", + Collapsible = true } }; fileManager3.RootFolders.Add(new FileManagerRootFolder diff --git a/Examples/AspNetMvcCS/Packages.config b/Examples/AspNetMvcCS/Packages.config index c5b50b3..e709bf8 100644 --- a/Examples/AspNetMvcCS/Packages.config +++ b/Examples/AspNetMvcCS/Packages.config @@ -4,9 +4,9 @@ - - - - - + + + + + \ No newline at end of file diff --git a/Examples/AspNetMvcCS/Views/FileManager/Display.cshtml b/Examples/AspNetMvcCS/Views/FileManager/Display.cshtml index b2c8918..43631bb 100644 --- a/Examples/AspNetMvcCS/Views/FileManager/Display.cshtml +++ b/Examples/AspNetMvcCS/Views/FileManager/Display.cshtml @@ -1,4 +1,4 @@ -@using GleamTech.AspNet.Mvc +@using GleamTech.AspNet.Mvc @using GleamTech.FileUltimate.AspNet.UI @model FileManager[] @@ -17,19 +17,16 @@

@this.RenderBody(Model[0]) - 2. FileManager instance displayed as a modal dialog of viewport: + 2. FileManager instance displayed as a modal dialog:

@this.RenderBody(Model[1]) - 3. FileManager instance displayed as a modal dialog of parent element: + 3. FileManager instance displayed as a panel:

-
- Parent <div> element - @this.RenderBody(Model[2]) -
+ @this.RenderBody(Model[2]) diff --git a/Examples/AspNetMvcVB/AspNetMvcVB.vbproj b/Examples/AspNetMvcVB/AspNetMvcVB.vbproj index 9ea2ca2..4769d49 100644 --- a/Examples/AspNetMvcVB/AspNetMvcVB.vbproj +++ b/Examples/AspNetMvcVB/AspNetMvcVB.vbproj @@ -48,19 +48,19 @@ - ..\packages\GleamTech.Common.6.0.8\lib\net472\GleamTech.Common.dll + ..\packages\GleamTech.Common.6.1.0\lib\net472\GleamTech.Common.dll - ..\packages\GleamTech.FileUltimate.9.0.7\lib\net472\GleamTech.FileUltimate.dll + ..\packages\GleamTech.FileUltimate.9.1.0\lib\net472\GleamTech.FileUltimate.dll - ..\packages\GleamTech.DocumentUltimate.7.0.15\lib\net472\GleamTech.DocumentUltimate.dll + ..\packages\GleamTech.DocumentUltimate.7.1.0\lib\net472\GleamTech.DocumentUltimate.dll - ..\packages\GleamTech.ImageUltimate.6.0.1\lib\net472\GleamTech.ImageUltimate.dll + ..\packages\GleamTech.ImageUltimate.6.0.2\lib\net472\GleamTech.ImageUltimate.dll - ..\packages\GleamTech.VideoUltimate.4.0.1\lib\net472\GleamTech.VideoUltimate.dll + ..\packages\GleamTech.VideoUltimate.4.0.2\lib\net472\GleamTech.VideoUltimate.dll diff --git a/Examples/AspNetMvcVB/Controllers/FileManagerController.Display.vb b/Examples/AspNetMvcVB/Controllers/FileManagerController.Display.vb index c3cec27..cb5e726 100644 --- a/Examples/AspNetMvcVB/Controllers/FileManagerController.Display.vb +++ b/Examples/AspNetMvcVB/Controllers/FileManagerController.Display.vb @@ -1,4 +1,4 @@ -Imports GleamTech.AspNet.UI +Imports GleamTech.AspNet.UI Imports GleamTech.FileUltimate.AspNet.UI Namespace Controllers @@ -29,8 +29,10 @@ Namespace Controllers .Hidden = true, .DisplayMode = DisplayMode.Window, .WindowOptions = New WindowOptions() With { - .Title = "FileManager as a modal dialog of viewport", - .Modal = true rem FullViewport = true, + .Title = "FileManager as a modal dialog", + .Modal = true, + .Maximizable = true, + .Minimizable = true } } fileManager2.RootFolders.Add(New FileManagerRootFolder() With { @@ -47,10 +49,11 @@ Namespace Controllers .Width = 800, .Height = 600, .DisplayLanguage = "en", - .Hidden = true, - .WindowOptions = New WindowOptions() With { - .Title = "FileManager as a modal dialog of parent element", - .Modal = true + .Hidden = true, + .DisplayMode = DisplayMode.Panel, + .PanelOptions = New PanelOptions() With { + .Title = "FileManager as a panel", + .Collapsible = true } } fileManager3.RootFolders.Add(New FileManagerRootFolder() With { diff --git a/Examples/AspNetMvcVB/Packages.config b/Examples/AspNetMvcVB/Packages.config index c5b50b3..e709bf8 100644 --- a/Examples/AspNetMvcVB/Packages.config +++ b/Examples/AspNetMvcVB/Packages.config @@ -4,9 +4,9 @@ - - - - - + + + + + \ No newline at end of file diff --git a/Examples/AspNetMvcVB/Views/FileManager/Display.vbhtml b/Examples/AspNetMvcVB/Views/FileManager/Display.vbhtml index ec97d83..45cbb25 100644 --- a/Examples/AspNetMvcVB/Views/FileManager/Display.vbhtml +++ b/Examples/AspNetMvcVB/Views/FileManager/Display.vbhtml @@ -1,4 +1,4 @@ -@Imports GleamTech.AspNet.Mvc +@Imports GleamTech.AspNet.Mvc @Imports GleamTech.FileUltimate.AspNet.UI @ModelType FileManager() @@ -17,19 +17,16 @@

@Me.RenderBody(Model(0)) - 2. FileManager instance displayed as a modal dialog of viewport: + 2. FileManager instance displayed as a modal dialog:

@Me.RenderBody(Model(1)) - 3. FileManager instance displayed as a modal dialog of parent element: + 3. FileManager instance displayed as a panel:

-
- Parent <div> element - @Me.RenderBody(Model(2)) -
+ @Me.RenderBody(Model(2)) diff --git a/Examples/AspNetWebFormsCS/AspNetWebFormsCS.csproj b/Examples/AspNetWebFormsCS/AspNetWebFormsCS.csproj index 6b89c21..4de8a91 100644 --- a/Examples/AspNetWebFormsCS/AspNetWebFormsCS.csproj +++ b/Examples/AspNetWebFormsCS/AspNetWebFormsCS.csproj @@ -50,19 +50,19 @@ - ..\packages\GleamTech.FileUltimate.9.0.7\lib\net472\GleamTech.FileUltimate.dll + ..\packages\GleamTech.FileUltimate.9.1.0\lib\net472\GleamTech.FileUltimate.dll - ..\packages\GleamTech.DocumentUltimate.7.0.15\lib\net472\GleamTech.DocumentUltimate.dll + ..\packages\GleamTech.DocumentUltimate.7.1.0\lib\net472\GleamTech.DocumentUltimate.dll - ..\packages\GleamTech.ImageUltimate.6.0.1\lib\net472\GleamTech.ImageUltimate.dll + ..\packages\GleamTech.ImageUltimate.6.0.2\lib\net472\GleamTech.ImageUltimate.dll - ..\packages\GleamTech.VideoUltimate.4.0.1\lib\net472\GleamTech.VideoUltimate.dll + ..\packages\GleamTech.VideoUltimate.4.0.2\lib\net472\GleamTech.VideoUltimate.dll - ..\packages\GleamTech.Common.6.0.8\lib\net472\GleamTech.Common.dll + ..\packages\GleamTech.Common.6.1.0\lib\net472\GleamTech.Common.dll diff --git a/Examples/AspNetWebFormsCS/FileManager/Display.aspx b/Examples/AspNetWebFormsCS/FileManager/Display.aspx index afa65b2..fff0161 100644 --- a/Examples/AspNetWebFormsCS/FileManager/Display.aspx +++ b/Examples/AspNetWebFormsCS/FileManager/Display.aspx @@ -24,7 +24,7 @@ - 2. FileManager instance displayed as a modal dialog of viewport: + 2. FileManager instance displayed as a modal dialog:

- 3. FileManager instance displayed as a modal dialog of parent element: + 3. FileManager instance displayed as a panel:

-
- Parent <div> element - -
+ diff --git a/Examples/AspNetWebFormsCS/packages.config b/Examples/AspNetWebFormsCS/packages.config index 057b791..4c2fee2 100644 --- a/Examples/AspNetWebFormsCS/packages.config +++ b/Examples/AspNetWebFormsCS/packages.config @@ -1,8 +1,8 @@  - - - - - + + + + + \ No newline at end of file diff --git a/Examples/AspNetWebFormsVB/AspNetWebFormsVB.vbproj b/Examples/AspNetWebFormsVB/AspNetWebFormsVB.vbproj index bf25a72..03cd035 100644 --- a/Examples/AspNetWebFormsVB/AspNetWebFormsVB.vbproj +++ b/Examples/AspNetWebFormsVB/AspNetWebFormsVB.vbproj @@ -66,20 +66,20 @@ - ..\packages\GleamTech.FileUltimate.9.0.7\lib\net472\GleamTech.FileUltimate.dll + ..\packages\GleamTech.FileUltimate.9.1.0\lib\net472\GleamTech.FileUltimate.dll - ..\packages\GleamTech.DocumentUltimate.7.0.15\lib\net472\GleamTech.DocumentUltimate.dll + ..\packages\GleamTech.DocumentUltimate.7.1.0\lib\net472\GleamTech.DocumentUltimate.dll - ..\packages\GleamTech.ImageUltimate.6.0.1\lib\net472\GleamTech.ImageUltimate.dll + ..\packages\GleamTech.ImageUltimate.6.0.2\lib\net472\GleamTech.ImageUltimate.dll - ..\packages\GleamTech.VideoUltimate.4.0.1\lib\net472\GleamTech.VideoUltimate.dll + ..\packages\GleamTech.VideoUltimate.4.0.2\lib\net472\GleamTech.VideoUltimate.dll False - ..\packages\GleamTech.Common.6.0.8\lib\net472\GleamTech.Common.dll + ..\packages\GleamTech.Common.6.1.0\lib\net472\GleamTech.Common.dll diff --git a/Examples/AspNetWebFormsVB/FileManager/Display.aspx b/Examples/AspNetWebFormsVB/FileManager/Display.aspx index 869db81..e2237e1 100644 --- a/Examples/AspNetWebFormsVB/FileManager/Display.aspx +++ b/Examples/AspNetWebFormsVB/FileManager/Display.aspx @@ -24,7 +24,7 @@ - 2. FileManager instance displayed as a modal dialog of viewport: + 2. FileManager instance displayed as a modal dialog:

- 2. FileManager instance displayed as a modal dialog of parent element: + 3. FileManager instance displayed as a panel:

-
- Parent <div> element - -
+ diff --git a/Examples/AspNetWebFormsVB/packages.config b/Examples/AspNetWebFormsVB/packages.config index 057b791..4c2fee2 100644 --- a/Examples/AspNetWebFormsVB/packages.config +++ b/Examples/AspNetWebFormsVB/packages.config @@ -1,8 +1,8 @@  - - - - - + + + + + \ No newline at end of file