Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
9540f2b
Bump @mediakind/mkplayer in /AdminUI/LearningHub.Nhs.AdminUI
dependabot[bot] Apr 18, 2025
326abd3
Bump @mediakind/mkplayer from 1.21.0 to 1.22.0 in /LearningHub.Nhs.WebUI
dependabot[bot] Apr 18, 2025
3fcd174
Bump sass from 1.86.3 to 1.87.0 in /LearningHub.Nhs.WebUI
dependabot[bot] Apr 22, 2025
165b620
Bump sass from 1.86.3 to 1.87.0 in /AdminUI/LearningHub.Nhs.AdminUI
dependabot[bot] Apr 22, 2025
50c6002
removed the hardcoded url in moodle entrolled course
Apr 22, 2025
aa48209
Merge pull request #1094 from TechnologyEnhancedLearning/Develop/POC/…
binon Apr 22, 2025
5bbb3a4
TD-4382: Video progress recorded but not changing status to complete
swapnamol-abraham Apr 23, 2025
f27cbf6
Merge pull request #1095 from TechnologyEnhancedLearning/Develop/Fixe…
swapnamol-abraham Apr 23, 2025
8e5c88f
Updated the target framework version to 4.8
swapnamol-abraham Apr 24, 2025
3b4680d
Merge pull request #1097 from TechnologyEnhancedLearning/Develop/Fixe…
swapnamol-abraham Apr 24, 2025
86f694b
TD-5142: Issue with focussing to the fields on Contribute resource sc…
swapnamol-abraham Apr 25, 2025
a24fce8
Merge pull request #1098 from TechnologyEnhancedLearning/Develop/Fixe…
swapnamol-abraham Apr 25, 2025
f8f4d9a
TD-3727- Unrestricted file upload- SIT comments
swapnamol-abraham Apr 29, 2025
e04b7af
Merge pull request #1101 from TechnologyEnhancedLearning/Develop/Fixe…
swapnamol-abraham Apr 29, 2025
269bf89
TD-3734-Concurrent session-SIT fixes
swapnamol-abraham Apr 29, 2025
7db18da
Merge pull request #1102 from TechnologyEnhancedLearning/Develop/Fixe…
swapnamol-abraham Apr 29, 2025
898ab77
Bump core-js from 3.41.0 to 3.42.0 in /LearningHub.Nhs.WebUI
dependabot[bot] Apr 30, 2025
06b2953
Bump core-js from 3.41.0 to 3.42.0 in /AdminUI/LearningHub.Nhs.AdminUI
dependabot[bot] Apr 30, 2025
87368a7
Corrected the title
swapnamol-abraham Apr 30, 2025
a56eeb3
Merge pull request #1105 from TechnologyEnhancedLearning/Develop/Fixe…
swapnamol-abraham Apr 30, 2025
e68e284
Revert ".net framework upgraded for Database project"
swapnamol-abraham May 1, 2025
ae403ff
Reverted the latest changes for an emergency release
swapnamol-abraham May 1, 2025
19af23d
Reverted the changes
swapnamol-abraham May 1, 2025
634e37c
Bump sanitize-html and @types/sanitize-html in /LearningHub.Nhs.WebUI
dependabot[bot] May 6, 2025
d47a72b
TD-5142 - Accessbility issues on contribution screen
swapnamol-abraham May 6, 2025
f8bae45
Moved common css to common.scss file
swapnamol-abraham May 6, 2025
c479078
Merge pull request #1111 from TechnologyEnhancedLearning/Develop/Fixe…
swapnamol-abraham May 6, 2025
b8d291a
Bump webpack from 5.99.5 to 5.99.8 in /AdminUI/LearningHub.Nhs.AdminUI
dependabot[bot] May 7, 2025
1d695a5
Bump @babel/preset-env in /AdminUI/LearningHub.Nhs.AdminUI
dependabot[bot] May 7, 2025
ef8b602
Bump @babel/preset-env from 7.26.9 to 7.27.2 in /LearningHub.Nhs.WebUI
dependabot[bot] May 7, 2025
af60858
Bump webpack from 5.99.5 to 5.99.8 in /LearningHub.Nhs.WebUI
dependabot[bot] May 7, 2025
bf119a7
Update continuous-integration-workflow.yml
swapnamol-abraham May 7, 2025
87111d8
Merge pull request #1116 from TechnologyEnhancedLearning/swapnamol-ab…
swapnamol-abraham May 7, 2025
ef4c735
FIXES-TD-5570
AnjuJose011 May 7, 2025
75e7ba0
Merge pull request #1115 from TechnologyEnhancedLearning/dependabot/n…
AnjuJose011 May 7, 2025
1dcfe6e
Merge pull request #1114 from TechnologyEnhancedLearning/dependabot/n…
AnjuJose011 May 7, 2025
f11783d
Bump @babel/core from 7.26.10 to 7.27.1 in /LearningHub.Nhs.WebUI
dependabot[bot] May 7, 2025
fd3b44e
Merge pull request #1113 from TechnologyEnhancedLearning/dependabot/n…
AnjuJose011 May 7, 2025
26d8af1
Merge pull request #1112 from TechnologyEnhancedLearning/dependabot/n…
AnjuJose011 May 7, 2025
7b2dfed
Bump sanitize-html and @types/sanitize-html
dependabot[bot] May 7, 2025
03749b4
Merge pull request #1088 from TechnologyEnhancedLearning/dependabot/n…
AnjuJose011 May 7, 2025
117ca8f
Merge pull request #1089 from TechnologyEnhancedLearning/dependabot/n…
AnjuJose011 May 7, 2025
277068c
Merge pull request #1118 from TechnologyEnhancedLearning/dependabot/n…
AnjuJose011 May 7, 2025
40453d2
Bump @babel/core in /AdminUI/LearningHub.Nhs.AdminUI (#1108)
dependabot[bot] May 7, 2025
33baa72
Merge pull request #1110 from TechnologyEnhancedLearning/dependabot/n…
AnjuJose011 May 7, 2025
09b5ba0
Merge pull request #1107 from TechnologyEnhancedLearning/dependabot/n…
AnjuJose011 May 7, 2025
6cbbd54
Merge pull request #1104 from TechnologyEnhancedLearning/dependabot/n…
AnjuJose011 May 7, 2025
e97263f
Merge pull request #1103 from TechnologyEnhancedLearning/dependabot/n…
AnjuJose011 May 7, 2025
276382b
Merge pull request #1093 from TechnologyEnhancedLearning/dependabot/n…
AnjuJose011 May 7, 2025
67129d3
Merge pull request #1092 from TechnologyEnhancedLearning/dependabot/n…
AnjuJose011 May 7, 2025
6c48f79
Bump sass from 1.87.0 to 1.88.0 in /AdminUI/LearningHub.Nhs.AdminUI
dependabot[bot] May 12, 2025
76ae1ea
Bump sass from 1.87.0 to 1.88.0 in /LearningHub.Nhs.WebUI
dependabot[bot] May 12, 2025
f3bf57d
TD-5538: IUncluded web.config in the solution
swapnamol-abraham May 12, 2025
e983fff
TD-5538: update web.config file
swapnamol-abraham May 12, 2025
0f4508f
Merge pull request #1122 from TechnologyEnhancedLearning/Develop/Fixe…
swapnamol-abraham May 12, 2025
ffb3207
Merge pull request #1121 from TechnologyEnhancedLearning/dependabot/n…
AnjuJose011 May 13, 2025
eba8bac
Merge pull request #1120 from TechnologyEnhancedLearning/dependabot/n…
AnjuJose011 May 13, 2025
b40f736
TD-5143: issue reading twice with screen reader on contribute resourc…
swapnamol-abraham May 13, 2025
e1cdfb3
Merge pull request #1123 from TechnologyEnhancedLearning/Develop/Fixe…
swapnamol-abraham May 13, 2025
732fb47
Bump sanitize-html in /AdminUI/LearningHub.Nhs.AdminUI
dependabot[bot] May 15, 2025
c8fdb38
Bump sanitize-html from 2.16.0 to 2.17.0 in /LearningHub.Nhs.WebUI
dependabot[bot] May 15, 2025
edbc194
Merge pull request #1117 from TechnologyEnhancedLearning/TD-5570-Erro…
AnjuJose011 May 15, 2025
1bdf57b
Bump sass from 1.88.0 to 1.89.0 in /LearningHub.Nhs.WebUI
dependabot[bot] May 16, 2025
e4ff520
Bump sass from 1.88.0 to 1.89.0 in /AdminUI/LearningHub.Nhs.AdminUI
dependabot[bot] May 16, 2025
4cd40c2
fixes
AnjuJose011 May 16, 2025
d758b06
Merge pull request #1128 from TechnologyEnhancedLearning/TD-5595-Html…
AnjuJose011 May 16, 2025
b69ce87
Merge pull request #1127 from TechnologyEnhancedLearning/dependabot/n…
AnjuJose011 May 16, 2025
b9be12b
Merge pull request #1126 from TechnologyEnhancedLearning/dependabot/n…
AnjuJose011 May 16, 2025
f248789
Merge pull request #1125 from TechnologyEnhancedLearning/dependabot/n…
AnjuJose011 May 16, 2025
f110895
Merge pull request #1124 from TechnologyEnhancedLearning/dependabot/n…
AnjuJose011 May 16, 2025
5af1fd7
TD-5608: Radio buttons / rating stars selection misaligned
swapnamol-abraham May 19, 2025
06b03f1
Merge pull request #1129 from TechnologyEnhancedLearning/Develop/Fixe…
swapnamol-abraham May 19, 2025
98e4098
TD-5608: Fixed the radiobutton alignment issues
swapnamol-abraham May 19, 2025
4d35089
Merge pull request #1130 from TechnologyEnhancedLearning/Develop/Fixe…
swapnamol-abraham May 19, 2025
eb665c1
Bump webpack from 5.99.8 to 5.99.9 in /LearningHub.Nhs.WebUI
dependabot[bot] May 21, 2025
4b7386f
Bump @types/lodash from 4.17.16 to 4.17.17 in /LearningHub.Nhs.WebUI
dependabot[bot] May 21, 2025
1f2ede5
Bump @types/lodash in /AdminUI/LearningHub.Nhs.AdminUI
dependabot[bot] May 21, 2025
96a52a3
Bump webpack from 5.99.8 to 5.99.9 in /AdminUI/LearningHub.Nhs.AdminUI
dependabot[bot] May 21, 2025
1d4d667
TD-4298: My Learning page showing additional video results with inval…
swapnamol-abraham May 21, 2025
6dddf0b
Merge pull request #1135 from TechnologyEnhancedLearning/dependabot/n…
AnjuJose011 May 21, 2025
7a58665
Merge pull request #1134 from TechnologyEnhancedLearning/dependabot/n…
AnjuJose011 May 21, 2025
2fe877e
Merge pull request #1133 from TechnologyEnhancedLearning/dependabot/n…
AnjuJose011 May 21, 2025
d0821de
Merge pull request #1132 from TechnologyEnhancedLearning/dependabot/n…
AnjuJose011 May 21, 2025
6c23929
Merge pull request #1136 from TechnologyEnhancedLearning/Develop/Fixe…
swapnamol-abraham May 21, 2025
b52a82c
Merge pull request #1139 from TechnologyEnhancedLearning/release-v1.5…
AnjuJose011 May 27, 2025
27d9beb
Bump @babel/core in /AdminUI/LearningHub.Nhs.AdminUI
dependabot[bot] May 27, 2025
4e6bd4d
Merge pull request #1140 from TechnologyEnhancedLearning/dependabot/n…
AnjuJose011 May 27, 2025
bc5e1e4
Merge pull request #1141 from TechnologyEnhancedLearning/Automatic_ve…
AnjuJose011 May 27, 2025
d5cb2de
Revert "Release v1.5.1 grass lily To Test"
AnjuJose011 May 28, 2025
0f3403f
Merge pull request #1144 from TechnologyEnhancedLearning/revert-1139-…
AnjuJose011 May 28, 2025
64cb412
TD-3734: Reverting the changes
swapnamol-abraham May 28, 2025
51b66f1
Merge pull request #1145 from TechnologyEnhancedLearning/Develop/Fixe…
AnjuJose011 May 28, 2025
656bb26
Revert "Revert "Release v1.5.1 grass lily To Test" from RC"
AnjuJose011 May 29, 2025
02a21e2
Merge pull request #1146 from TechnologyEnhancedLearning/revert-1144-…
AnjuJose011 May 29, 2025
78f00d3
Fixes
AnjuJose011 May 30, 2025
e503b8e
Merge pull request #1148 from TechnologyEnhancedLearning/TD-5651-Vali…
AnjuJose011 May 30, 2025
fc87d1c
fixes
AnjuJose011 May 30, 2025
38fd3a5
Merge pull request #1149 from TechnologyEnhancedLearning/TD-5653-Typo…
AnjuJose011 May 30, 2025
a481ba0
Fixes-TD-5651
AnjuJose011 Jun 2, 2025
7891f8d
Merge pull request #1154 from TechnologyEnhancedLearning/TD-5651-Erro…
AnjuJose011 Jun 2, 2025
5d02716
fixes-TD-5570
AnjuJose011 Jun 3, 2025
6c1de72
fixes
AnjuJose011 Jun 3, 2025
bc2772a
Merge pull request #1155 from TechnologyEnhancedLearning/TD-5570-Issu…
AnjuJose011 Jun 3, 2025
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
60 changes: 60 additions & 0 deletions .github/workflows/continuous-integration-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,66 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Modify web.config files in all apps
shell: pwsh
run: |
$webConfigPaths = @(
"${{ github.workspace }}\AdminUI\LearningHub.Nhs.AdminUI\web.config",
"${{ github.workspace }}\WebAPI\LearningHub.Nhs.Api\web.config",
"${{ github.workspace }}\LearningHub.Nhs.WebUI\web.config"
)

foreach ($path in $webConfigPaths) {
if (Test-Path $path) {
Write-Host "Modifying $path"
[xml]$config = Get-Content $path

if (-not $config.configuration.'system.webServer') {
$systemWebServer = $config.CreateElement("system.webServer")
$config.configuration.AppendChild($systemWebServer) | Out-Null
} else {
$systemWebServer = $config.configuration.'system.webServer'
}

if (-not $systemWebServer.httpProtocol) {
$httpProtocol = $config.CreateElement("httpProtocol")
$systemWebServer.AppendChild($httpProtocol) | Out-Null
} else {
$httpProtocol = $systemWebServer.httpProtocol
}

if (-not $httpProtocol.customHeaders) {
$customHeaders = $config.CreateElement("customHeaders")
$httpProtocol.AppendChild($customHeaders) | Out-Null
} else {
$customHeaders = $httpProtocol.customHeaders
}

foreach ($name in @("X-Powered-By", "Server")) {
$removeNode = $config.CreateElement("remove")
$removeNode.SetAttribute("name", $name)
$customHeaders.AppendChild($removeNode) | Out-Null
}

if (-not $systemWebServer.security) {
$security = $config.CreateElement("security")
$systemWebServer.AppendChild($security) | Out-Null
} else {
$security = $systemWebServer.security
}

if (-not $security.requestFiltering) {
$requestFiltering = $config.CreateElement("requestFiltering")
$requestFiltering.SetAttribute("removeServerHeader", "true")
$security.AppendChild($requestFiltering) | Out-Null
}

$config.Save($path)
} else {
Write-Host "File not found: $path"
}
}

- name: Setup .NET Core SDK 8.0
uses: actions/setup-dotnet@v3
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,15 @@ public async Task<IActionResult> Details(UserGroupAdminDetailViewModel userGroup
if (userGroup.IsNew())
{
validationResult = await this.userGroupService.CreateUserGroup(userGroup);
userGroup = await this.userGroupService.GetUserGroupAdminDetailbyIdAsync(validationResult.CreatedId.Value);
if (validationResult.IsValid)
{
userGroup = await this.userGroupService.GetUserGroupAdminDetailbyIdAsync(validationResult.CreatedId.Value);
}
else
{
this.ViewBag.ErrorMessage = $"Update failed: {string.Join(Environment.NewLine, validationResult.Details)}";
return this.View("Details", userGroup);
}
}
else
{
Expand Down
60 changes: 0 additions & 60 deletions AdminUI/LearningHub.Nhs.AdminUI/Controllers/api/UserController.cs

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div>
<ckeditor v-model="description" :config="editorConfig" @ready="onEditorReady" @blur="onBlur"></ckeditor>
<ckeditor class="nhsuk-textarea" v-model="description" :config="editorConfig" @ready="onEditorReady" @blur="onBlur"></ckeditor>
<div :class="[`pt-2 footer-text${this.valid ? '' : ' text-danger'}`]">{{ hint }}</div>
</div>
</template>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@
<div class="row mt-5">
<div class="col-12">
<label>Catalogue owner email address</label>
<input asp-for="OwnerEmailAddress" class="form-control" maxlength="250" />
<input asp-for="OwnerEmailAddress" class="form-control nhsuk-input" maxlength="250" />
<span asp-validation-for="OwnerEmailAddress"></span>
</div>
</div>
<div class="row mt-5">
<div class="col-12">
<label>Notes</label>
<textarea asp-for="Notes" class="form-control"></textarea>
<textarea asp-for="Notes" class="form-control nhsuk-input"></textarea>
<span asp-validation-for="Notes"></span>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
<div class="row mt-5">
<div class="col-12">
<label for="Description">Description</label>
<textarea asp-for="Description" class="form-control"></textarea>
<textarea asp-for="Description" class="form-control nhsuk-input"></textarea>
<small id="with-hint-info" class="pt-2">Only the first 3,000 characters of the description will be used by search</small>
<span asp-validation-for="Description"></span>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
</div>
<div class="form-group col-12">
<label asp-for="Message" class="control-label"></label>
<textarea asp-for="Message" class="form-control" rows="10" required></textarea>
<textarea asp-for="Message" class="form-control nhsuk-input" rows="10" required></textarea>
<span asp-validation-for="Message" class="text-danger"></span>
</div>
<div class="form-group col-lg-3 col-md-6">
Expand Down
26 changes: 26 additions & 0 deletions AdminUI/LearningHub.Nhs.AdminUI/Views/Resource/Details.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,32 @@
</dl>
</div>
}
@if (Model.ResourceTypeEnum == ResourceTypeEnum.Html)
{
<div class="col-12">
<div class="id-container">Resource Reference ID: @Model.DefaultResourceReferenceId</div>
<dl>
<dt>Resource Version Id</dt>
<dd>@Html.DisplayFor(model => model.ResourceVersionId)</dd>
<dt>Resource Type</dt>
<dd>
@Html.DisplayFor(model => model.ResourceTypeDescription)
</dd>
<dt>ESR Link</dt>
<dd><a href="@Model.HtmlDetails.HostedContentUrl" target="_blank">@Model.HtmlDetails.HostedContentUrl</a></dd>
@if (Model.HtmlDetails.File != null)
{
<dt>Zip File</dt>
<dd>
<a href="@String.Format("{0}file/download/{1}/{2}", webSettings.Value.LearningHubAdminUrl, Model.HtmlDetails.File.FilePath, Model.HtmlDetails.File.FileName)" target="_blank" download>@Model.HtmlDetails.File.FileName</a>
</dd>
}

<dt>Content Folder</dt>
<dd>@Model.HtmlDetails.ContentFilePath</dd>
</dl>
</div>
}

@if (Model.ResourceTypeEnum == ResourceTypeEnum.Assessment)
{
Expand Down
7 changes: 0 additions & 7 deletions AdminUI/LearningHub.Nhs.AdminUI/Views/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,7 @@
</environment>
@*<script type="text/javascript" src="~/js/bundle/header.js"></script>*@
<partial name="~/Views/Shared/_ValidationScriptsPartial.cshtml" />

@RenderSection("Scripts", required: false)
<script type="text/javascript" src="~/js/pageunload.js" asp-append-version="true"></script>
<script type="text/javascript">
// Bind the function to the unload event
window.onunload = tellServerBrowserClosed;

</script>
</body>
</html>
<!-- Build number: @settings.Value.BuildNumber -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@
{
<tr>
<td style="vertical-align: middle">
@Html.ActionLink(item.Id.ToString(), "Details", new { id = item.Id })
@Html.ActionLink(item.Id.ToString(), "Details", "User", new { id = item.Id })
</td>
<td style="vertical-align: middle">
@Html.ActionLink(item.UserName.ToString(), "Details", new { id = item.Id })
@Html.ActionLink(item.UserName.ToString(), "Details", "User", new { id = item.Id })
</td>
<td style="vertical-align: middle">
<input type="checkbox" id=@($"user_{item.Id}") class="list-item-checked" />
Expand Down
Loading
Loading