Skip to content
Merged

Rc #582

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
150 commits
Select commit Hold shift + click to select a range
9c9b1a1
TD-3703-Changes
AnjuJose011 Mar 28, 2024
a157e64
fixes
AnjuJose011 Mar 28, 2024
21cbd8a
TD-3951:Missing back link names on few Bookmarks screens and issue wh…
Swapnamol Apr 9, 2024
bb515f9
Merge pull request #267 from TechnologyEnhancedLearning/Develop/Fixes…
Swapnamol Apr 9, 2024
9908007
Merge pull request #268 from TechnologyEnhancedLearning/Develop/Fixes…
OluwatobiAwe Apr 9, 2024
29446c2
TD-4009: Google Tag Manager tracking for all Non Prod Environments
Swapnamol Apr 10, 2024
f6421b6
Merge pull request #270 from TechnologyEnhancedLearning/Develop/Fixes…
Swapnamol Apr 10, 2024
90f59a7
TD-2959:Added hyperlinks to the existing html for certificate pdf gen…
ArunimaGeorge Apr 10, 2024
943443e
TD-4020: Edit Resource message update
ArunimaGeorge Apr 11, 2024
d54e859
Merge pull request #245 from TechnologyEnhancedLearning/Develop/Fixes…
AnjuJose011 Apr 11, 2024
1671aeb
Merge pull request #274 from TechnologyEnhancedLearning/Develop/fixes…
ArunimaGeorge Apr 11, 2024
c3a0a9d
TD-3311: Removed special characters in filename during file upload
ArunimaGeorge Apr 17, 2024
82d2c32
Merge pull request #297 from TechnologyEnhancedLearning/RC
AnjuJose011 Apr 17, 2024
8639131
Merge pull request #271 from TechnologyEnhancedLearning/Develop/fixes…
ArunimaGeorge Apr 18, 2024
37e9e28
Merge pull request #293 from TechnologyEnhancedLearning/Develop/fixes…
ArunimaGeorge Apr 18, 2024
84b219b
Merge pull request #337 from TechnologyEnhancedLearning/RC
Swapnamol May 3, 2024
9a53eed
TD-3740: added latest version check in view progress link condition
ArunimaGeorge May 7, 2024
c3eb439
Merge pull request #344 from TechnologyEnhancedLearning/Develop/fixes…
ArunimaGeorge May 7, 2024
b4cc202
TD-3736: Performance improvent implemented in Admin UI. Used stored p…
sarathlal-sarangadharan May 9, 2024
a4c92a1
Merge pull request #348 from TechnologyEnhancedLearning/Develop/Featu…
sarathlal-sarangadharan May 10, 2024
007d3aa
TD-3707: fixed question focus issue in assessments
ArunimaGeorge May 10, 2024
272c41b
Merge pull request #351 from TechnologyEnhancedLearning/Develop/fixes…
ArunimaGeorge May 13, 2024
eb64dce
Merge pull request #356 from TechnologyEnhancedLearning/RC
AnjuJose011 May 13, 2024
d375c5e
TD-3308: Keyword field only allows 50 chars which is problematic when…
Swapnamol May 21, 2024
08c3480
TD-3308: Keyword field only allows 50 chars which is problematic when…
Swapnamol May 21, 2024
fe8affb
Revert "TD-3308: Keyword field only allows 50 chars which is problema…
Swapnamol May 21, 2024
4ade7e6
Revert "TD-3308: Keyword field only allows 50 chars which is problema…
Swapnamol May 21, 2024
5b505c5
TD-3308: Keyword field only allows 50 chars which is problematic when…
Swapnamol May 21, 2024
e3c0675
TD-4023: Considering only active users IN Catalogue access request
sarathlal-sarangadharan May 31, 2024
d34a73f
Merge pull request #387 from TechnologyEnhancedLearning/Develop/Fixes…
sarathlal-sarangadharan May 31, 2024
fcf5845
TD-4205: Added user authentication check before recording Article/Ima…
ArunimaGeorge May 31, 2024
aedd97a
TD-4204: Description for html resouce is enabled
sarathlal-sarangadharan Jun 7, 2024
0b66acc
Merge pull request #373 from TechnologyEnhancedLearning/Develop/Fixes…
Swapnamol Jun 11, 2024
b24d347
Merge pull request #419 from TechnologyEnhancedLearning/RC
AnjuJose011 Jun 12, 2024
8e8cbcd
TD-4226 storage update
OluwatobiAwe Jun 16, 2024
66b0601
TD-4054 archive extracted content folders for html and scorm resource.
OluwatobiAwe Jun 17, 2024
ac656aa
Merge pull request #423 from TechnologyEnhancedLearning/Develop/Fixes…
OluwatobiAwe Jun 17, 2024
b97668b
Merge pull request #424 from TechnologyEnhancedLearning/Develop/Fixes…
OluwatobiAwe Jun 18, 2024
c1050c6
TD-4212, TD-4231, TD-4257 - Error log issues
Swapnamol Jun 18, 2024
aab74c2
Merge branch 'Develop/Fixes/TD-4211_ProdLog_Error_fixes' into Develop…
OluwatobiAwe Jun 24, 2024
21f7f48
Merge pull request #427 from TechnologyEnhancedLearning/Develop/Fixes…
OluwatobiAwe Jun 24, 2024
0ed131f
Merge pull request #401 from TechnologyEnhancedLearning/Develop/Fixes…
sarathlal-sarangadharan Jun 24, 2024
7725ee0
conflicts resolved
AnjuJose011 Jun 25, 2024
99872a3
changes
AnjuJose011 Jun 25, 2024
998a23b
Merge pull request #435 from TechnologyEnhancedLearning/RCTO-Scorpius
AnjuJose011 Jun 25, 2024
809431f
td-3694
AnjuJose011 Jun 25, 2024
ccfd1e8
TD-4271 dashboard service optimisation.
OluwatobiAwe Jun 25, 2024
2bb7a7b
removed manual Index for dashboard SP
OluwatobiAwe Jun 26, 2024
de6e357
Merge pull request #437 from TechnologyEnhancedLearning/Develop/Fixes…
OluwatobiAwe Jun 26, 2024
a18bdda
TD-4270 Archive Log Db
OluwatobiAwe Jun 27, 2024
1cbf095
Merge branch 'Develop/Fixes/TD-4211_ProdLog_Error_fixes' into Develop…
OluwatobiAwe Jun 27, 2024
4476483
Merge pull request #439 from TechnologyEnhancedLearning/Develop/Fixes…
OluwatobiAwe Jun 27, 2024
465f1f5
TD-4273 cache RoleUserGroupDetailForUser data
OluwatobiAwe Jun 27, 2024
f069fc2
LogDb script update
OluwatobiAwe Jun 27, 2024
f180ba7
Merge pull request #441 from TechnologyEnhancedLearning/Develop/Fixes…
OluwatobiAwe Jun 27, 2024
724ae3c
Merge remote-tracking branch 'origin/Develop/Fixes/TD-4211_ProdLog_Er…
OluwatobiAwe Jun 27, 2024
4a620e3
Merge pull request #443 from TechnologyEnhancedLearning/Develop/Fixes…
OluwatobiAwe Jun 27, 2024
164e4e2
TD-4285: My Learning Dashboard Tray showing Wrong Counts
Swapnamol Jun 27, 2024
6e62d21
Removed unused temp tables
Swapnamol Jun 27, 2024
8fc81c1
Merge pull request #444 from TechnologyEnhancedLearning/Develop/Fixes…
Swapnamol Jun 27, 2024
e1ec6ee
TD-4330: Resource links in search results direct to error page
Swapnamol Jul 2, 2024
a92439b
Merge pull request #445 from TechnologyEnhancedLearning/Develop/Fixes…
Swapnamol Jul 2, 2024
3d77fdc
TD-3948 refactored the SPBlockCollectionDelete call not to use "the…
OluwatobiAwe Jul 3, 2024
5017fc0
Merge pull request #447 from TechnologyEnhancedLearning/Develop/Fixes…
OluwatobiAwe Jul 3, 2024
4a8372f
Merge pull request #436 from TechnologyEnhancedLearning/Develop/Fixes…
AnjuJose011 Jul 4, 2024
c8ed837
take latest cahnges from RC
AnjuJose011 Jul 5, 2024
d05b131
Merge pull request #454 from TechnologyEnhancedLearning/MergeRc-Scopr…
AnjuJose011 Jul 5, 2024
982c680
TD-4335: CKEditor 4.14.0 version is not secure-Error Massage in Produ…
Swapnamol Jul 8, 2024
8c76c9d
Merge pull request #457 from TechnologyEnhancedLearning/Develop/Fixes…
Swapnamol Jul 8, 2024
850669f
Merge pull request #388 from TechnologyEnhancedLearning/Develop/fixes…
ArunimaGeorge Jul 8, 2024
aa6c8c8
Merge pull request #458 from TechnologyEnhancedLearning/releases/tucana
binon Jul 8, 2024
2baecef
Merge pull request #460 from TechnologyEnhancedLearning/releases/tucana
binon Jul 8, 2024
2a8d63a
Update continuous-integration-workflow.yml
AnjuJose011 Jul 11, 2024
f423976
Merge pull request #461 from TechnologyEnhancedLearning/releases/LHSc…
AnjuJose011 Jul 11, 2024
5f4f49f
TD-4362: Session LMS error
Swapnamol Jul 15, 2024
b29b087
merge TD-4211 into RC
OluwatobiAwe Jul 15, 2024
a327295
Merge pull request #464 from TechnologyEnhancedLearning/Develop/Fixes…
Swapnamol Jul 15, 2024
9565b57
LH Model update
OluwatobiAwe Jul 15, 2024
5705e2b
TD-4252: elearning resource is marked completed when the elearning re…
Swapnamol Jul 16, 2024
1b1e4fa
Merge pull request #467 from TechnologyEnhancedLearning/Develop/Fixes…
Swapnamol Jul 16, 2024
45708e1
TD-3308 : Fixed the issue with the javascript formatting.
Swapnamol Jul 16, 2024
70bfc90
Merge pull request #469 from TechnologyEnhancedLearning/Develop/Fixes…
Swapnamol Jul 16, 2024
7c75f61
Merge pull request #468 from TechnologyEnhancedLearning/RC_Local
OluwatobiAwe Jul 16, 2024
2572120
TD-3951: Corrected the error messages
Swapnamol Jul 17, 2024
ce350d1
Merge pull request #470 from TechnologyEnhancedLearning/Develop/Fixes…
Swapnamol Jul 17, 2024
54af04a
archive script update
OluwatobiAwe Jul 17, 2024
259a681
Merge pull request #472 from TechnologyEnhancedLearning/RC_Local
OluwatobiAwe Jul 17, 2024
b032442
disable script build for TD-4211
OluwatobiAwe Jul 17, 2024
b48b49e
Merge pull request #474 from TechnologyEnhancedLearning/RC_Local
OluwatobiAwe Jul 17, 2024
ba6c465
TD-3951: Bookmark screen error messages
Swapnamol Jul 18, 2024
76c8da3
Merge pull request #477 from TechnologyEnhancedLearning/Develop/Fixes…
Swapnamol Jul 18, 2024
5ff66dd
TD-3707: Fixed issue on first question expanding after all questions …
ArunimaGeorge Jul 23, 2024
30e5844
TD-3308 : Added additional error message on the contribute screen
Swapnamol Jul 23, 2024
e9d1cc4
Merge pull request #480 from TechnologyEnhancedLearning/Develop/Fixes…
Swapnamol Jul 23, 2024
34d90a3
TD-4421:Fixed issue on recording resource activity for Files when dow…
ArunimaGeorge Jul 23, 2024
36afb9a
Merge pull request #481 from TechnologyEnhancedLearning/Develop/fixes…
ArunimaGeorge Jul 23, 2024
ae669c2
TD-4420: Issue viewing the resource when republished the HTML resourc…
Swapnamol Jul 24, 2024
54b21bf
Merge pull request #483 from TechnologyEnhancedLearning/Develop/Fixes…
Swapnamol Jul 24, 2024
837e77d
mobileview url fix
AnjuJose011 Jul 24, 2024
9149f32
Merge pull request #484 from TechnologyEnhancedLearning/Develop/Fixes…
AnjuJose011 Jul 24, 2024
a0702e3
Merge pull request #479 from TechnologyEnhancedLearning/Develop/fixes…
ArunimaGeorge Jul 24, 2024
b480d2e
TD-3308: Added validation for case and assessment contribution page a…
Swapnamol Jul 24, 2024
01d3751
Removed the debugger
Swapnamol Jul 24, 2024
24132d6
Removed the commented lines
Swapnamol Jul 24, 2024
9275522
Merge pull request #485 from TechnologyEnhancedLearning/Develop/Fixes…
AnjuJose011 Jul 25, 2024
3e1dd09
lh model version update
OluwatobiAwe Jul 25, 2024
874879c
Merge pull request #488 from TechnologyEnhancedLearning/Develop/Fixes…
OluwatobiAwe Jul 25, 2024
d7ef467
Fixes
AnjuJose011 Jul 25, 2024
7512763
Merge pull request #494 from TechnologyEnhancedLearning/Develp/Fix/TD…
AnjuJose011 Jul 25, 2024
ca9c913
Fixes-For-LastOn
AnjuJose011 Jul 31, 2024
25e362d
Merge pull request #507 from TechnologyEnhancedLearning/develop-fixes
AnjuJose011 Jul 31, 2024
58c944e
TD-4389: Certificate badge not appearing on certificate
Swapnamol Aug 1, 2024
ba7eeaf
Merge pull request #510 from TechnologyEnhancedLearning/Develop/Fixes…
Swapnamol Aug 1, 2024
3417fe8
TD-4023: Considering only active users in the page
sarathlal-sarangadharan Aug 6, 2024
6f354bb
Merge pull request #523 from TechnologyEnhancedLearning/Develop/Fixes…
sarathlal-sarangadharan Aug 6, 2024
879dda1
Merge pull request #524 from TechnologyEnhancedLearning/releases/tucana
AnjuJose011 Aug 7, 2024
734a759
TD-4009: Google Tag Manager tracking for all Non Prod Environments [ …
Swapnamol Aug 8, 2024
02bc250
Merge pull request #525 from TechnologyEnhancedLearning/Develop/Fixes…
Swapnamol Aug 9, 2024
8851985
defect fix for URL
AnjuJose011 Aug 12, 2024
5e3124a
Merge pull request #526 from TechnologyEnhancedLearning/TD-3694-Defec…
AnjuJose011 Aug 12, 2024
ebbf74f
fixes
AnjuJose011 Aug 12, 2024
c3fcb9d
Merge pull request #527 from TechnologyEnhancedLearning/TD-3694-Fix-N…
AnjuJose011 Aug 12, 2024
c79d8d6
Merge pull request #532 from TechnologyEnhancedLearning/Develop/Featu…
AnjuJose011 Aug 15, 2024
b6dacef
modelversionupdate
AnjuJose011 Aug 15, 2024
1ad238d
Merge pull request #534 from TechnologyEnhancedLearning/modelversionu…
AnjuJose011 Aug 15, 2024
e9e6a42
archive replaced file
OluwatobiAwe Aug 18, 2024
32046d2
case publish error catch
OluwatobiAwe Aug 22, 2024
18b9ef3
.
OluwatobiAwe Aug 22, 2024
1d433db
Merge pull request #540 from TechnologyEnhancedLearning/Develop/Fixes…
OluwatobiAwe Aug 22, 2024
21b1bc0
Merge pull request #560 from TechnologyEnhancedLearning/RC
AnjuJose011 Sep 2, 2024
cad0d84
modelversionupdate
AnjuJose011 Sep 2, 2024
1559d2d
Merge pull request #562 from TechnologyEnhancedLearning/ModelVersionU…
AnjuJose011 Sep 2, 2024
fee6969
Update LearningHub.Nhs.Database.sqlproj
AnjuJose011 Sep 2, 2024
342c848
Merge pull request #563 from TechnologyEnhancedLearning/AnjuJose011-p…
AnjuJose011 Sep 2, 2024
1c63739
Merge pull request #561 from TechnologyEnhancedLearning/releases/LHAr…
AnjuJose011 Sep 2, 2024
f51b9eb
removed open api changes
AnjuJose011 Sep 2, 2024
dfb98ff
Merge pull request #564 from TechnologyEnhancedLearning/Removed-OpenA…
AnjuJose011 Sep 2, 2024
600aae9
TD-4037: Fixed Empty search error issue.
ArunimaGeorge Sep 3, 2024
9978f20
TD-4692: Fixed Issue not showing the 'elfh' logo & 'Developed with el…
ArunimaGeorge Sep 5, 2024
d0fbf8d
Merge pull request #570 from TechnologyEnhancedLearning/Develop/Fixes…
ArunimaGeorge Sep 5, 2024
0d59475
TD-4693 cache fix
OluwatobiAwe Sep 5, 2024
2dc1c94
Merge pull request #571 from TechnologyEnhancedLearning/Develop/Fixes…
OluwatobiAwe Sep 5, 2024
caa4157
TD-4038: Fixed AllCatalogue pagination issue
ArunimaGeorge Sep 6, 2024
2dec991
Merge pull request #574 from TechnologyEnhancedLearning/Develop/Fixes…
ArunimaGeorge Sep 6, 2024
79220b0
TD-4703: Fixed unknown error occuring during pagination
ArunimaGeorge Sep 10, 2024
405778a
TD-4038: Implemented search bar in AllCatalogue search results page
ArunimaGeorge Sep 10, 2024
b12edae
Merge pull request #577 from TechnologyEnhancedLearning/Develop/Fixes…
ArunimaGeorge Sep 10, 2024
b3f0436
Merge pull request #578 from TechnologyEnhancedLearning/Develop/Fixes…
ArunimaGeorge Sep 11, 2024
4ac9c16
TD-4038: Message updated for empty search in AllCatalogues and main s…
ArunimaGeorge Sep 12, 2024
666871b
Merge pull request #580 from TechnologyEnhancedLearning/Develop/Fixes…
ArunimaGeorge Sep 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions AdminUI/LearningHub.Nhs.AdminUI/Configuration/WebSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,16 @@ public class WebSettings
/// </summary>
public string AzureFileStorageConnectionString { get; set; }

/// <summary>
/// Gets or sets the AzureSourceFileStorageConnectionString.
/// </summary>
public string AzureSourceArchiveStorageConnectionString { get; set; }

/// <summary>
/// Gets or sets the AzurePurgedFileStorageConnectionString.
/// </summary>
public string AzureContentArchiveStorageConnectionString { get; set; }

/// <summary>
/// Gets or sets the azure file storage resource share name.
/// </summary>
Expand Down
14 changes: 14 additions & 0 deletions AdminUI/LearningHub.Nhs.AdminUI/Controllers/ResourceController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,20 +54,27 @@ public class ResourceController : BaseController
/// </summary>
private IResourceService resourceService;

/// <summary>
/// Defines the _fileService.
/// </summary>
private IFileService fileService;

/// <summary>
/// Initializes a new instance of the <see cref="ResourceController"/> class.
/// </summary>
/// <param name="hostingEnvironment">The hostingEnvironment<see cref="IWebHostEnvironment"/>.</param>
/// <param name="config">The config<see cref="IOptions{WebSettings}"/>.</param>
/// <param name="logger">The logger<see cref="ILogger{HomeController}"/>.</param>
/// <param name="resourceService">The resourceService<see cref="IResourceService"/>.</param>
/// <param name="fileService">The fileService<see cref="IResourceService"/>.</param>
/// /// <param name="websettings">The websettings<see cref="IOptions{WebSettings}"/>.</param>
/// <param name="featureManager">The featureManager<see cref="IFeatureManager"/>.</param>
public ResourceController(
IWebHostEnvironment hostingEnvironment,
IOptions<WebSettings> config,
ILogger<HomeController> logger,
IResourceService resourceService,
IFileService fileService,
IOptions<WebSettings> websettings,
IFeatureManager featureManager)
: base(hostingEnvironment)
Expand All @@ -76,6 +83,7 @@ public ResourceController(
this.websettings = websettings;
this.config = config.Value;
this.resourceService = resourceService;
this.fileService = fileService;
this.featureManager = featureManager;
}

Expand Down Expand Up @@ -298,11 +306,17 @@ public async Task<IActionResult> TransferResourceOwnership(int resourceId, strin
[HttpPost]
public async Task<IActionResult> Unpublish(int resourceVersionId, string details)
{
var associatedFile = await this.resourceService.GetResourceVersionExtendedViewModelAsync(resourceVersionId);
var vr = await this.resourceService.UnpublishResourceVersionAsync(resourceVersionId, details);
await this.resourceService.CreateResourceVersionEvent(resourceVersionId, Nhs.Models.Enums.ResourceVersionEventTypeEnum.UnpublishedByAdmin, "Unpublish using Admin UI", 0);

if (vr.IsValid)
{
if (associatedFile.ScormDetails != null || associatedFile.HtmlDetails != null)
{
_ = Task.Run(async () => { await this.fileService.PurgeResourceFile(associatedFile, null); });
}

return this.Json(new
{
success = true,
Expand Down
12 changes: 12 additions & 0 deletions AdminUI/LearningHub.Nhs.AdminUI/Controllers/UserGroupController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ public async Task<IActionResult> AddUsersToUserGroup(int userGroupId, string use
var vr = await this.userGroupService.AddUsersToUserGroup(userGroupId, userIdList);
if (vr.IsValid)
{
this.ClearUserCachedPermissions(userIdList);
return this.Json(new
{
success = true,
Expand Down Expand Up @@ -527,5 +528,16 @@ public async Task<IActionResult> UserGroupCatalogues(int id)

return this.PartialView("_UserGroupCatalogues", catalogues);
}

private void ClearUserCachedPermissions(string userIdList)
{
if (!string.IsNullOrWhiteSpace(userIdList))
{
foreach (var userId in userIdList.Split(","))
{
_ = Task.Run(async () => { await this.userService.ClearUserCachedPermissions(int.Parse(userId)); });
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,12 @@ public static string GetResourceTypeVerb(this MyLearningDetailedItemViewModel my
return "Played " + GetDurationText(myLearningDetailedItemViewModel.ActivityDurationSeconds * 1000);
case ResourceTypeEnum.WebLink:
return "Visited";
case ResourceTypeEnum.Html:
return "Viewed";
case ResourceTypeEnum.Case:
return "Accessed";
case ResourceTypeEnum.Assessment:
return "Accessed";
default:
return string.Empty;
}
Expand Down
70 changes: 40 additions & 30 deletions AdminUI/LearningHub.Nhs.AdminUI/Interfaces/IFileService.cs
Original file line number Diff line number Diff line change
@@ -1,38 +1,48 @@
namespace LearningHub.Nhs.AdminUI.Interfaces
{
using System.IO;
using System.Threading.Tasks;
using Azure.Storage.Files.Shares.Models;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using Azure.Storage.Files.Shares.Models;
using LearningHub.Nhs.Models.Resource;

/// <summary>
/// Defines the <see cref="IFileService" />.
/// </summary>
public interface IFileService
{
/// <summary>
/// The DeleteChunkDirectory.
/// Defines the <see cref="IFileService" />.
/// </summary>
/// <param name="directoryRef">Directory ref.</param>
/// <param name="chunks">Chunks.</param>
/// <returns>A <see cref="Task"/> representing the result of the asynchronous operation.</returns>
Task DeleteChunkDirectory(string directoryRef, int chunks);
public interface IFileService
{
/// <summary>
/// The DeleteChunkDirectory.
/// </summary>
/// <param name="directoryRef">Directory ref.</param>
/// <param name="chunks">Chunks.</param>
/// <returns>A <see cref="Task"/> representing the result of the asynchronous operation.</returns>
Task DeleteChunkDirectory(string directoryRef, int chunks);

/// <summary>
/// The DownloadFileAsync.
/// </summary>
/// <param name="filePath">File path.</param>
/// <param name="fileName">File name.</param>
/// <returns>A <see cref="Task{TResult}"/> representing the result of the asynchronous operation.</returns>
Task<ShareFileDownloadInfo> DownloadFileAsync(string filePath, string fileName);
/// <summary>
/// The DownloadFileAsync.
/// </summary>
/// <param name="filePath">File path.</param>
/// <param name="fileName">File name.</param>
/// <returns>A <see cref="Task{TResult}"/> representing the result of the asynchronous operation.</returns>
Task<ShareFileDownloadInfo> DownloadFileAsync(string filePath, string fileName);

/// <summary>
/// The ProcessFile.
/// </summary>
/// <param name="fileBytes">The fileBytes<see cref="Stream"/>.</param>
/// <param name="fileName">The fileName<see cref="string"/>.</param>
/// <param name="directoryRef">The directoryRef<see cref="string"/>.</param>
/// <param name="originalFileName">The originalFileName<see cref="string"/>.</param>
/// <returns>The <see cref="string"/>.</returns>
Task<string> ProcessFile(Stream fileBytes, string fileName, string directoryRef = "", string originalFileName = null);
}
/// <summary>
/// The ProcessFile.
/// </summary>
/// <param name="fileBytes">The fileBytes<see cref="Stream"/>.</param>
/// <param name="fileName">The fileName<see cref="string"/>.</param>
/// <param name="directoryRef">The directoryRef<see cref="string"/>.</param>
/// <param name="originalFileName">The originalFileName<see cref="string"/>.</param>
/// <returns>The <see cref="string"/>.</returns>
Task<string> ProcessFile(Stream fileBytes, string fileName, string directoryRef = "", string originalFileName = null);

/// <summary>
/// The PurgeResourceFile.
/// </summary>
/// <param name="vm">The vm.<see cref="ResourceVersionExtendedViewModel"/>.</param>
/// <param name="filePaths">.</param>
/// <returns>The <see cref="Task"/>.</returns>
Task PurgeResourceFile(ResourceVersionExtendedViewModel vm = null, List<string> filePaths = null);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
<PackageReference Include="HtmlSanitizer" Version="6.0.453" />
<PackageReference Include="IdentityModel" Version="4.4.0" />
<PackageReference Include="LearningHub.Nhs.Caching" Version="2.0.2" />
<PackageReference Include="LearningHub.Nhs.Models" Version="3.0.31" />
<PackageReference Include="LearningHub.Nhs.Models" Version="3.0.38" />
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.19.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="6.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="6.0.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@
},
data() {
return {
editorConfig: { toolbar: CKEditorToolbar.default },
editorConfig: {
toolbar: CKEditorToolbar.default,
versionCheck: false
},
description: this.initialValue,
hint: `You have ${this.maxLength} characters remaining`,
valid: getRemainingCharactersFromHtml(this.maxLength, this.initialValue) >= 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,10 @@ export default Vue.extend({
isReady: false,
EditModeEnum: EditModeEnum,
HierarchyEditStatusEnum: HierarchyEditStatusEnum,
editorConfig: { toolbar: CKEditorToolbar.default },
editorConfig: {
toolbar: CKEditorToolbar.default,
versionCheck: false
},
deleteFolderName: '',
editFolderStructureButtonText: '',
editFolderStructureButtonDisabled: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@
SectionLayoutType: SectionLayoutType,
editorConfig: {
toolbar: CKEditorToolbar.landingPages,
versionCheck: false,
stylesSet: 'landing-pages-image-text'
},

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ Vue.use(Vuelidate as any);
SectionLayoutType: SectionLayoutType,
editorConfig: {
toolbar: CKEditorToolbar.landingPages,
versionCheck: false,
stylesSet: 'landing-pages-video-text'
},

Expand Down
Loading
Loading