Skip to content

Commit

Permalink
Version 9.1.0
Browse files Browse the repository at this point in the history
## 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.
  • Loading branch information
GleamTech committed Sep 1, 2024
1 parent 56b4ae3 commit dcb9ce4
Show file tree
Hide file tree
Showing 20 changed files with 127 additions and 135 deletions.
4 changes: 2 additions & 2 deletions Examples/AspNetCoreCS/AspNetCoreCS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="GleamTech.Common" Version="6.0.8" />
<PackageReference Include="GleamTech.FileUltimate" Version="9.0.7" />
<PackageReference Include="GleamTech.Common" Version="6.1.0" />
<PackageReference Include="GleamTech.FileUltimate" Version="9.1.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
11 changes: 4 additions & 7 deletions Examples/AspNetCoreCS/Views/FileManager/Display.cshtml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@using GleamTech.AspNet.Core
@using GleamTech.AspNet.Core
@using GleamTech.FileUltimate.AspNet.UI
@model FileManager[]

Expand All @@ -17,19 +17,16 @@
<br /><br />
@this.RenderBody(Model[0])

2. FileManager instance displayed as a modal dialog of viewport:
2. FileManager instance displayed as a modal dialog:
<input type="button" value="Show" onclick="fileManager2.show()" />
<br /><br />
@this.RenderBody(Model[1])

3. FileManager instance displayed as a modal dialog of parent element:
3. FileManager instance displayed as a panel:
<input type="button" value="Show" onclick="fileManager3.show()" />
<input type="button" value="Hide" onclick="fileManager3.hide()" />
<br /><br />
<div style="width: 1000px; height: 800px; border: 1px dashed black">
Parent &lt;div&gt; element
@this.RenderBody(Model[2])
</div>
@this.RenderBody(Model[2])

</body>
</html>
4 changes: 2 additions & 2 deletions Examples/AspNetCoreOnNetFullCS/AspNetCoreOnNetFullCS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="GleamTech.Common" Version="6.0.8" />
<PackageReference Include="GleamTech.FileUltimate" Version="9.0.7" />
<PackageReference Include="GleamTech.Common" Version="6.1.0" />
<PackageReference Include="GleamTech.FileUltimate" Version="9.1.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
11 changes: 4 additions & 7 deletions Examples/AspNetCoreOnNetFullCS/Views/FileManager/Display.cshtml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@using GleamTech.AspNet.Core
@using GleamTech.AspNet.Core
@using GleamTech.FileUltimate.AspNet.UI
@model FileManager[]

Expand All @@ -17,19 +17,16 @@
<br /><br />
@this.RenderBody(Model[0])

2. FileManager instance displayed as a modal dialog of viewport:
2. FileManager instance displayed as a modal dialog:
<input type="button" value="Show" onclick="fileManager2.show()" />
<br /><br />
@this.RenderBody(Model[1])

3. FileManager instance displayed as a modal dialog of parent element:
3. FileManager instance displayed as a panel:
<input type="button" value="Show" onclick="fileManager3.show()" />
<input type="button" value="Hide" onclick="fileManager3.hide()" />
<br /><br />
<div style="width: 1000px; height: 800px; border: 1px dashed black">
Parent &lt;div&gt; element
@this.RenderBody(Model[2])
</div>
@this.RenderBody(Model[2])

</body>
</html>
10 changes: 5 additions & 5 deletions Examples/AspNetMvcCS/AspNetMvcCS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,19 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="GleamTech.Common">
<HintPath>..\packages\GleamTech.Common.6.0.8\lib\net472\GleamTech.Common.dll</HintPath>
<HintPath>..\packages\GleamTech.Common.6.1.0\lib\net472\GleamTech.Common.dll</HintPath>
</Reference>
<Reference Include="GleamTech.FileUltimate">
<HintPath>..\packages\GleamTech.FileUltimate.9.0.7\lib\net472\GleamTech.FileUltimate.dll</HintPath>
<HintPath>..\packages\GleamTech.FileUltimate.9.1.0\lib\net472\GleamTech.FileUltimate.dll</HintPath>
</Reference>
<Reference Include="GleamTech.DocumentUltimate">
<HintPath>..\packages\GleamTech.DocumentUltimate.7.0.15\lib\net472\GleamTech.DocumentUltimate.dll</HintPath>
<HintPath>..\packages\GleamTech.DocumentUltimate.7.1.0\lib\net472\GleamTech.DocumentUltimate.dll</HintPath>
</Reference>
<Reference Include="GleamTech.ImageUltimate">
<HintPath>..\packages\GleamTech.ImageUltimate.6.0.1\lib\net472\GleamTech.ImageUltimate.dll</HintPath>
<HintPath>..\packages\GleamTech.ImageUltimate.6.0.2\lib\net472\GleamTech.ImageUltimate.dll</HintPath>
</Reference>
<Reference Include="GleamTech.VideoUltimate">
<HintPath>..\packages\GleamTech.VideoUltimate.4.0.1\lib\net472\GleamTech.VideoUltimate.dll</HintPath>
<HintPath>..\packages\GleamTech.VideoUltimate.4.0.2\lib\net472\GleamTech.VideoUltimate.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System.Web.Mvc;
using System.Web.Mvc;
using GleamTech.AspNet.UI;
using GleamTech.FileUltimate.AspNet.UI;

Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
10 changes: 5 additions & 5 deletions Examples/AspNetMvcCS/Packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<package id="Microsoft.AspNet.Razor" version="3.2.9" targetFramework="net472" />
<package id="Microsoft.AspNet.WebPages" version="3.2.9" targetFramework="net472" />
<package id="Microsoft.Web.Infrastructure" version="2.0.0" targetFramework="net472" />
<package id="GleamTech.Common" version="6.0.8" />
<package id="GleamTech.VideoUltimate" version="4.0.1" />
<package id="GleamTech.ImageUltimate" version="6.0.1" />
<package id="GleamTech.DocumentUltimate" version="7.0.15" />
<package id="GleamTech.FileUltimate" version="9.0.7" />
<package id="GleamTech.Common" version="6.1.0" />
<package id="GleamTech.VideoUltimate" version="4.0.2" />
<package id="GleamTech.ImageUltimate" version="6.0.2" />
<package id="GleamTech.DocumentUltimate" version="7.1.0" />
<package id="GleamTech.FileUltimate" version="9.1.0" />
</packages>
11 changes: 4 additions & 7 deletions Examples/AspNetMvcCS/Views/FileManager/Display.cshtml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@using GleamTech.AspNet.Mvc
@using GleamTech.AspNet.Mvc
@using GleamTech.FileUltimate.AspNet.UI
@model FileManager[]

Expand All @@ -17,19 +17,16 @@
<br /><br />
@this.RenderBody(Model[0])

2. FileManager instance displayed as a modal dialog of viewport:
2. FileManager instance displayed as a modal dialog:
<input type="button" value="Show" onclick="fileManager2.show()" />
<br /><br />
@this.RenderBody(Model[1])

3. FileManager instance displayed as a modal dialog of parent element:
3. FileManager instance displayed as a panel:
<input type="button" value="Show" onclick="fileManager3.show()" />
<input type="button" value="Hide" onclick="fileManager3.hide()" />
<br /><br />
<div style="width: 1000px; height: 800px; border: 1px dashed black">
Parent &lt;div&gt; element
@this.RenderBody(Model[2])
</div>
@this.RenderBody(Model[2])

</body>
</html>
10 changes: 5 additions & 5 deletions Examples/AspNetMvcVB/AspNetMvcVB.vbproj
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,19 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="GleamTech.Common">
<HintPath>..\packages\GleamTech.Common.6.0.8\lib\net472\GleamTech.Common.dll</HintPath>
<HintPath>..\packages\GleamTech.Common.6.1.0\lib\net472\GleamTech.Common.dll</HintPath>
</Reference>
<Reference Include="GleamTech.FileUltimate">
<HintPath>..\packages\GleamTech.FileUltimate.9.0.7\lib\net472\GleamTech.FileUltimate.dll</HintPath>
<HintPath>..\packages\GleamTech.FileUltimate.9.1.0\lib\net472\GleamTech.FileUltimate.dll</HintPath>
</Reference>
<Reference Include="GleamTech.DocumentUltimate">
<HintPath>..\packages\GleamTech.DocumentUltimate.7.0.15\lib\net472\GleamTech.DocumentUltimate.dll</HintPath>
<HintPath>..\packages\GleamTech.DocumentUltimate.7.1.0\lib\net472\GleamTech.DocumentUltimate.dll</HintPath>
</Reference>
<Reference Include="GleamTech.ImageUltimate">
<HintPath>..\packages\GleamTech.ImageUltimate.6.0.1\lib\net472\GleamTech.ImageUltimate.dll</HintPath>
<HintPath>..\packages\GleamTech.ImageUltimate.6.0.2\lib\net472\GleamTech.ImageUltimate.dll</HintPath>
</Reference>
<Reference Include="GleamTech.VideoUltimate">
<HintPath>..\packages\GleamTech.VideoUltimate.4.0.1\lib\net472\GleamTech.VideoUltimate.dll</HintPath>
<HintPath>..\packages\GleamTech.VideoUltimate.4.0.2\lib\net472\GleamTech.VideoUltimate.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
17 changes: 10 additions & 7 deletions Examples/AspNetMvcVB/Controllers/FileManagerController.Display.vb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Imports GleamTech.AspNet.UI
Imports GleamTech.AspNet.UI
Imports GleamTech.FileUltimate.AspNet.UI

Namespace Controllers
Expand Down Expand Up @@ -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 {
Expand All @@ -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 {
Expand Down
10 changes: 5 additions & 5 deletions Examples/AspNetMvcVB/Packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<package id="Microsoft.AspNet.Razor" version="3.2.9" targetFramework="net472" />
<package id="Microsoft.AspNet.WebPages" version="3.2.9" targetFramework="net472" />
<package id="Microsoft.Web.Infrastructure" version="2.0.0" targetFramework="net472" />
<package id="GleamTech.Common" version="6.0.8" />
<package id="GleamTech.VideoUltimate" version="4.0.1" />
<package id="GleamTech.ImageUltimate" version="6.0.1" />
<package id="GleamTech.DocumentUltimate" version="7.0.15" />
<package id="GleamTech.FileUltimate" version="9.0.7" />
<package id="GleamTech.Common" version="6.1.0" />
<package id="GleamTech.VideoUltimate" version="4.0.2" />
<package id="GleamTech.ImageUltimate" version="6.0.2" />
<package id="GleamTech.DocumentUltimate" version="7.1.0" />
<package id="GleamTech.FileUltimate" version="9.1.0" />
</packages>
11 changes: 4 additions & 7 deletions Examples/AspNetMvcVB/Views/FileManager/Display.vbhtml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@Imports GleamTech.AspNet.Mvc
@Imports GleamTech.AspNet.Mvc
@Imports GleamTech.FileUltimate.AspNet.UI
@ModelType FileManager()

Expand All @@ -17,19 +17,16 @@
<br /><br />
@Me.RenderBody(Model(0))

2. FileManager instance displayed as a modal dialog of viewport:
2. FileManager instance displayed as a modal dialog:
<input type="button" value="Show" onclick="fileManager2.show()" />
<br /><br />
@Me.RenderBody(Model(1))

3. FileManager instance displayed as a modal dialog of parent element:
3. FileManager instance displayed as a panel:
<input type="button" value="Show" onclick="fileManager3.show()" />
<input type="button" value="Hide" onclick="fileManager3.hide()" />
<br /><br />
<div style="width: 1000px; height: 800px; border: 1px dashed black">
Parent &lt;div&gt; element
@Me.RenderBody(Model(2))
</div>
@Me.RenderBody(Model(2))

</body>
</html>
10 changes: 5 additions & 5 deletions Examples/AspNetWebFormsCS/AspNetWebFormsCS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,19 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="GleamTech.FileUltimate">
<HintPath>..\packages\GleamTech.FileUltimate.9.0.7\lib\net472\GleamTech.FileUltimate.dll</HintPath>
<HintPath>..\packages\GleamTech.FileUltimate.9.1.0\lib\net472\GleamTech.FileUltimate.dll</HintPath>
</Reference>
<Reference Include="GleamTech.DocumentUltimate">
<HintPath>..\packages\GleamTech.DocumentUltimate.7.0.15\lib\net472\GleamTech.DocumentUltimate.dll</HintPath>
<HintPath>..\packages\GleamTech.DocumentUltimate.7.1.0\lib\net472\GleamTech.DocumentUltimate.dll</HintPath>
</Reference>
<Reference Include="GleamTech.ImageUltimate">
<HintPath>..\packages\GleamTech.ImageUltimate.6.0.1\lib\net472\GleamTech.ImageUltimate.dll</HintPath>
<HintPath>..\packages\GleamTech.ImageUltimate.6.0.2\lib\net472\GleamTech.ImageUltimate.dll</HintPath>
</Reference>
<Reference Include="GleamTech.VideoUltimate">
<HintPath>..\packages\GleamTech.VideoUltimate.4.0.1\lib\net472\GleamTech.VideoUltimate.dll</HintPath>
<HintPath>..\packages\GleamTech.VideoUltimate.4.0.2\lib\net472\GleamTech.VideoUltimate.dll</HintPath>
</Reference>
<Reference Include="GleamTech.Common">
<HintPath>..\packages\GleamTech.Common.6.0.8\lib\net472\GleamTech.Common.dll</HintPath>
<HintPath>..\packages\GleamTech.Common.6.1.0\lib\net472\GleamTech.Common.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
Expand Down
Loading

0 comments on commit dcb9ce4

Please sign in to comment.