Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
219 commits
Select commit Hold shift + click to select a range
7535381
Create dependabot.yml
binon Feb 1, 2024
b4f4593
Update dependabot.yml
binon Feb 1, 2024
c56eab5
Update dependabot.yml
binon Feb 1, 2024
80cf007
Update dependabot.yml
binon Feb 1, 2024
6798c4f
Update dependabot.yml
binon Feb 1, 2024
bc20ace
Update dependabot.yml
binon Feb 1, 2024
f2e8c34
Delete .github/dependabot.yml
binon Feb 2, 2024
9411c2c
Create dependabot.yml
binon Feb 2, 2024
41e29d1
Update dependabot.yml
binon Feb 2, 2024
621dec7
Update dependabot.yml
binon Feb 2, 2024
0499546
Update dependabot.yml
binon Feb 2, 2024
848e934
Update dependabot.yml
binon Feb 2, 2024
5e852df
Update dependabot.yml
binon Feb 2, 2024
5e52ce0
Update dependabot.yml
binon Feb 2, 2024
96c0c6e
Update dependabot.yml
binon Feb 2, 2024
1453ce8
Update dependabot.yml
binon Feb 2, 2024
89bd157
Update dependabot.yml
binon Feb 2, 2024
8426011
Update dependabot.yml
binon Feb 5, 2024
0012e91
Delete .github/dependabot.yml
binon Feb 5, 2024
d81e1e0
Create dependabot.yml
binon Feb 5, 2024
b39d555
Update dependabot.yml
binon Feb 5, 2024
1a28f20
Update dependabot.yml
binon Feb 6, 2024
9e3d5c9
Update dependabot.yml
binon Feb 27, 2024
9535b06
Merge pull request #16 from TechnologyEnhancedLearning/RC
AnjuJose011 Feb 28, 2024
1396bb6
Merge pull request #18 from TechnologyEnhancedLearning/RC
AnjuJose011 Mar 6, 2024
fcc0d8b
Merge pull request #21 from TechnologyEnhancedLearning/RC
AnjuJose011 Mar 8, 2024
a3a84fa
Merge pull request #26 from TechnologyEnhancedLearning/RC
AnjuJose011 Apr 3, 2024
989b59b
Merge pull request #39 from TechnologyEnhancedLearning/RC
AnjuJose011 Jul 2, 2024
663fc38
Set login page primary language
akdalin-hee Jul 29, 2024
fbe8413
Merge pull request #45 from TechnologyEnhancedLearning/Develop/Fearur…
AnjuJose011 Aug 7, 2024
530101b
Model Version Update
AnjuJose011 Aug 7, 2024
431a780
Merge pull request #46 from TechnologyEnhancedLearning/ModelVersionUp…
AnjuJose011 Aug 7, 2024
01892d4
Revert "Model Version Update"
AnjuJose011 Aug 7, 2024
838332f
Merge pull request #47 from TechnologyEnhancedLearning/revert-46-Mode…
AnjuJose011 Aug 7, 2024
ca58885
model version update-RC
AnjuJose011 Aug 7, 2024
b3d73b0
Merge pull request #48 from TechnologyEnhancedLearning/ModelVersionUp…
AnjuJose011 Aug 7, 2024
64aceba
Merge pull request #50 from TechnologyEnhancedLearning/RC
AnjuJose011 Sep 2, 2024
f7a3690
Update dependabot.yml
binon Sep 3, 2024
fd13d6d
Update dependabot.yml
binon Sep 3, 2024
1572a1b
Update continuous-integration-workflow.yml
binon Oct 8, 2024
70ae251
Update azure-pipelines-ci.yml
binon Oct 8, 2024
3ec58f6
Update continuous-integration-workflow.yml
binon Oct 8, 2024
760d44c
Merge pull request #43 from TechnologyEnhancedLearning/Develop/Featur…
AnjuJose011 Oct 10, 2024
1a66225
Merge pull request #75 from TechnologyEnhancedLearning/release-v1.0.0
AnjuJose011 Nov 25, 2024
b78fe04
Update continuous-integration-workflow.yml
AnjuJose011 Nov 25, 2024
6275be9
Update continuous-integration-workflow.yml
AnjuJose011 Nov 25, 2024
ef7d9aa
Update package.json
AnjuJose011 Nov 25, 2024
d0e4148
Update package.json
AnjuJose011 Nov 25, 2024
564ba98
Update continuous-integration-workflow.yml
AnjuJose011 Nov 25, 2024
613aed3
Update IQueryableExtensions.cs
AnjuJose011 Nov 25, 2024
19915f3
Update azure-pipelines-ci.yml
AnjuJose011 Nov 25, 2024
decf813
Update azure-pipelines-ci.yml
AnjuJose011 Nov 25, 2024
8f1acb2
Update azure-pipelines-ci.yml
AnjuJose011 Nov 26, 2024
4ad7de5
Update azure-pipelines-ci.yml
AnjuJose011 Nov 26, 2024
92fbe8c
Upgrade node version in package.json
binon Nov 26, 2024
b261802
TD-4184: DIG414: Focus doesn't move to field or error on submit
Swapnamol Nov 29, 2024
0cf5818
Merge pull request #77 from TechnologyEnhancedLearning/Develop/Fixes/…
Swapnamol Dec 2, 2024
9836bb4
TD-4184:https://hee-tis.atlassian.net/browse/TD-4184
Swapnamol Dec 5, 2024
3f15b98
Merge pull request #78 from TechnologyEnhancedLearning/Develop/Fixes/…
Swapnamol Dec 6, 2024
25a8675
TD-4180: Moved client side validations to server side.
ArunimaGeorge Dec 17, 2024
6c8004e
Merge pull request #79 from TechnologyEnhancedLearning/Develop/Fixes/…
ArunimaGeorge Dec 18, 2024
c4aedd4
Test
ArunimaGeorge Dec 20, 2024
b946bcf
Merge pull request #80 from TechnologyEnhancedLearning/TestFix
Swapnamol Dec 20, 2024
c7e8835
View component model version updated
Swapnamol Dec 20, 2024
c97b158
Merge pull request #81 from TechnologyEnhancedLearning/Develop/Fixes/…
AnjuJose011 Dec 20, 2024
5f46c96
fixes
AnjuJose011 Jan 2, 2025
67f1ddc
Merge pull request #82 from TechnologyEnhancedLearning/TD-4184-NOTRem…
AnjuJose011 Jan 2, 2025
7ddbd35
fixesforpassword
AnjuJose011 Jan 6, 2025
f66a70e
Merge pull request #83 from TechnologyEnhancedLearning/TD-4184-FIX-Fo…
AnjuJose011 Jan 6, 2025
b7cb8b4
conflicts resolved
AnjuJose011 Jan 16, 2025
903a3f2
Merge pull request #85 from TechnologyEnhancedLearning/mergercchanges…
AnjuJose011 Jan 16, 2025
fe29fb4
TD-4168: Upgrade LH solutions to .NET 8 (LTS)
Swapnamol Jan 16, 2025
871a4dc
Update continuous-integration-workflow.yml
binon Jan 17, 2025
032aae6
Update continuous-integration-workflow.yml
binon Jan 17, 2025
30332bf
Create auto-merge.yml
binon Jan 17, 2025
52f6725
Bump node from 18.20.5 to 22.13.0 in /Auth/LearningHub.Nhs.Auth
dependabot[bot] Jan 17, 2025
25e0fa3
Merge pull request #87 from TechnologyEnhancedLearning/dependabot/npm…
binon Jan 17, 2025
06a42bd
Azure.Identity upgrade to test locally
binon Jan 17, 2025
954d9d6
Merge pull request #86 from TechnologyEnhancedLearning/Develop/Fixes/…
swapnamol-abraham Jan 17, 2025
5e73a41
Update dependabot.yml
binon Jan 20, 2025
f3d3e9d
Upgraded System.Data.SqlClient manually to fix the vulnarability. Dep…
binon Jan 20, 2025
53ee360
Merge branch 'Automatic_version_update_dependabot' of https://github.…
binon Jan 20, 2025
4470229
latest sql client
binon Jan 20, 2025
65ac396
updaing style cop manualy
binon Jan 20, 2025
011c552
Update continuous-integration-workflow.yml
swapnamol-abraham Jan 20, 2025
6c41801
Merge V1.1.0 changes to RC
Swapnamol Jan 20, 2025
0092d58
Merge branch 'release-v1.1.0' of https://github.com/TechnologyEnhance…
Swapnamol Jan 20, 2025
56dc263
Merge pull request #88 from TechnologyEnhancedLearning/release-v1.1.0
swapnamol-abraham Jan 20, 2025
cbb41dc
Some manual updates
binon Jan 21, 2025
9d0df31
Bump sass from 1.81.0 to 1.83.4 in /Auth/LearningHub.Nhs.Auth (#91)
dependabot[bot] Jan 21, 2025
a8750fe
Bump core-js from 3.39.0 to 3.40.0 in /Auth/LearningHub.Nhs.Auth (#90)
dependabot[bot] Jan 21, 2025
dd56154
Bump webpack from 5.96.1 to 5.97.1 in /Auth/LearningHub.Nhs.Auth (#89)
dependabot[bot] Jan 21, 2025
11b4a7f
Some manual updates
binon Jan 21, 2025
c3ce76d
Merge branch 'Automatic_version_update_dependabot' of https://github.…
binon Jan 21, 2025
5fb0794
Bump ts-loader from 9.5.1 to 9.5.2 in /Auth/LearningHub.Nhs.Auth (#92)
dependabot[bot] Jan 21, 2025
ba2d6d0
Update dependabot.yml
binon Jan 21, 2025
ca53d80
Update dependabot.yml
binon Jan 21, 2025
0796b1a
Update dependabot.yml
binon Jan 21, 2025
1ab4f65
Update dependabot.yml
binon Jan 21, 2025
71e2d06
Update dependabot.yml
binon Jan 21, 2025
7cf62c3
Update dependabot.yml
binon Jan 21, 2025
f5c6d81
Update dependabot.yml
binon Jan 21, 2025
9741cc7
Update dependabot.yml
binon Jan 21, 2025
921df0d
Update dependabot.yml
binon Jan 21, 2025
82c6800
Update dependabot.yml
binon Jan 21, 2025
d12c20f
Bump coverlet.collector from 3.1.2 to 6.0.4
dependabot[bot] Jan 21, 2025
fcf8679
Bump Swashbuckle.AspNetCore from 6.2.3 to 7.2.0
dependabot[bot] Jan 21, 2025
5fa0425
Bump Microsoft.ApplicationInsights.AspNetCore from 2.19.0 to 2.22.0 (…
dependabot[bot] Jan 21, 2025
86dca36
Bump xunit from 2.4.1 to 2.9.3 (#102)
dependabot[bot] Jan 21, 2025
4b98624
Bump Microsoft.TestPlatform.TestHost from 17.0.0 to 17.12.0
dependabot[bot] Jan 21, 2025
01b231c
Bump Microsoft.AspNetCore.Mvc.NewtonsoftJson from 6.0.0 to 6.0.36 (#97)
dependabot[bot] Jan 21, 2025
3c74c39
Bump xunit.runner.visualstudio from 2.4.3 to 3.0.1
dependabot[bot] Jan 21, 2025
7310762
Bump NLog.Web.AspNetCore from 4.14.0 to 5.3.15
dependabot[bot] Jan 21, 2025
5a05d7b
Merge pull request #93 from TechnologyEnhancedLearning/dependabot/nug…
binon Jan 21, 2025
60915f5
Merge pull request #95 from TechnologyEnhancedLearning/dependabot/nug…
binon Jan 21, 2025
84a7072
Merge pull request #99 from TechnologyEnhancedLearning/dependabot/nug…
binon Jan 21, 2025
2afdd79
Merge pull request #103 from TechnologyEnhancedLearning/dependabot/nu…
binon Jan 21, 2025
d83c250
Bump EntityFrameworkCore.Testing.Moq and Moq
dependabot[bot] Jan 21, 2025
8b4b44b
Merge pull request #98 from TechnologyEnhancedLearning/dependabot/nug…
binon Jan 21, 2025
c4bfa53
Merge pull request #100 from TechnologyEnhancedLearning/dependabot/nu…
binon Jan 21, 2025
b68708c
Bump node from 22.13.0 to 22.13.1 in /Auth/LearningHub.Nhs.Auth
dependabot[bot] Jan 22, 2025
8026578
Bump Microsoft.Extensions.Caching.Redis from 2.2.0 to 2.3.0 (#105)
dependabot[bot] Jan 22, 2025
a22c9b4
Bump Microsoft.EntityFrameworkCore from 6.0.0 to 7.0.20
dependabot[bot] Jan 22, 2025
17c7e48
Merge pull request #104 from TechnologyEnhancedLearning/dependabot/np…
binon Jan 22, 2025
583b3e6
Merge pull request #107 from TechnologyEnhancedLearning/dependabot/nu…
binon Jan 22, 2025
66bbf3e
Updated some package manually by solving dependencies
binon Jan 22, 2025
8d1882d
Bump MockQueryable.Core from 5.0.0 to 7.0.3
dependabot[bot] Jan 22, 2025
3d75f41
Bump Microsoft.EntityFrameworkCore and Microsoft.EntityFrameworkCore.…
dependabot[bot] Jan 22, 2025
07aba19
Merge pull request #109 from TechnologyEnhancedLearning/dependabot/nu…
binon Jan 22, 2025
0d87470
Update continuous-integration-workflow.yml
binon Jan 23, 2025
baa20f6
Update dependabot.yml
binon Jan 23, 2025
6da2339
Update continuous-integration-workflow.yml
binon Jan 23, 2025
43350f1
Merge pull request #108 from TechnologyEnhancedLearning/dependabot/nu…
binon Jan 23, 2025
d561639
Bump @babel/preset-env in /Auth/LearningHub.Nhs.Auth (#111)
dependabot[bot] Jan 27, 2025
f324863
Bump @babel/core from 7.26.0 to 7.26.7 in /Auth/LearningHub.Nhs.Auth …
dependabot[bot] Jan 27, 2025
c9e7f98
Bump sass from 1.83.4 to 1.84.0 in /Auth/LearningHub.Nhs.Auth (#113)
dependabot[bot] Feb 6, 2025
ed60102
Resolving conflics with .net 8 RC
binon Feb 6, 2025
c1aa239
Merge branch 'Automatic_version_update_dependabot' of https://github.…
binon Feb 6, 2025
900df90
Merge pull request #115 from TechnologyEnhancedLearning/Automatic_ver…
binon Feb 7, 2025
d631687
reverting automapper upgrade to inline with Models project
binon Feb 7, 2025
0c3fa62
Merge pull request #116 from TechnologyEnhancedLearning/Automatic_ver…
binon Feb 7, 2025
556f345
Bump @babel/core from 7.26.7 to 7.26.8 in /Auth/LearningHub.Nhs.Auth …
dependabot[bot] Feb 10, 2025
7a17ab7
Bump @babel/preset-env in /Auth/LearningHub.Nhs.Auth (#117)
dependabot[bot] Feb 10, 2025
0f19298
Bump webpack from 5.97.1 to 5.98.0 in /Auth/LearningHub.Nhs.Auth (#121)
dependabot[bot] Feb 14, 2025
16837af
Bump sass from 1.84.0 to 1.85.0 in /Auth/LearningHub.Nhs.Auth (#120)
dependabot[bot] Feb 14, 2025
4ccfe6e
Configuring OpenID Connect Authentication with moodle user id
binon Feb 14, 2025
39c08d7
Bump @babel/core from 7.26.8 to 7.26.9 in /Auth/LearningHub.Nhs.Auth …
dependabot[bot] Feb 17, 2025
226bfaa
Bump @babel/preset-env in /Auth/LearningHub.Nhs.Auth (#123)
dependabot[bot] Feb 17, 2025
01ff5e3
Bump sass from 1.85.0 to 1.85.1 in /Auth/LearningHub.Nhs.Auth
dependabot[bot] Feb 25, 2025
d784fda
Added moodle client configuration to appsettings.json
ColinBeebyHEE Feb 25, 2025
fb8cd3f
Merge pull request #126 from TechnologyEnhancedLearning/Develop/Featu…
AnjuJose011 Feb 26, 2025
f8b8d3d
Corrected RedirectUris for moodle client
ColinBeebyHEE Feb 27, 2025
a609db2
Merge pull request #129 from TechnologyEnhancedLearning/Develop/Featu…
AnjuJose011 Feb 27, 2025
ccf2104
TD-3732: Missing Security Headers
Swapnamol Feb 28, 2025
851ee7e
Bump core-js from 3.40.0 to 3.41.0 in /Auth/LearningHub.Nhs.Auth (#131)
dependabot[bot] Mar 3, 2025
1544606
Bump node from 22.13.1 to 22.14.0 in /Auth/LearningHub.Nhs.Auth
dependabot[bot] Mar 3, 2025
1d8c1d7
Merge pull request #130 from TechnologyEnhancedLearning/Developo/Fixe…
swapnamol-abraham Mar 4, 2025
11526c1
TD-3731: Password Change Does Not Invalidate Current Session
Swapnamol Mar 5, 2025
2b4eb35
Merge pull request #132 from TechnologyEnhancedLearning/Develop/Fixes…
swapnamol-abraham Mar 5, 2025
f898a6f
TD-3733:Information Disclosures
Swapnamol Mar 5, 2025
311c3dc
Merge pull request #133 from TechnologyEnhancedLearning/Develop/Fixes…
swapnamol-abraham Mar 5, 2025
a677e43
Merge pull request #119 from TechnologyEnhancedLearning/dependabot/np…
binon Mar 7, 2025
f95ebc1
Merge pull request #125 from TechnologyEnhancedLearning/dependabot/np…
binon Mar 7, 2025
3b6a880
Merge pull request #135 from TechnologyEnhancedLearning/Automatic_ver…
AnjuJose011 Mar 7, 2025
76c7bda
TD-5406: Errors are not Getting Logged in Learning Hub Prod logging D…
Swapnamol Mar 10, 2025
cc0ff4e
Bump @babel/core from 7.26.9 to 7.26.10 in /Auth/LearningHub.Nhs.Auth…
dependabot[bot] Mar 12, 2025
4e02018
Merge pull request #136 from TechnologyEnhancedLearning/Develop/Fixes…
swapnamol-abraham Mar 12, 2025
0474fd7
TD-3743: Concurrent Sessions Allowed
Swapnamol Mar 13, 2025
018657e
Merge pull request #138 from TechnologyEnhancedLearning/Develop/Fixes…
swapnamol-abraham Mar 13, 2025
455d035
PR to test error logging in test environment
Swapnamol Mar 17, 2025
df44676
Merge pull request #139 from TechnologyEnhancedLearning/Develop/Fixes…
swapnamol-abraham Mar 17, 2025
8eca960
Reverted the test code
Swapnamol Mar 17, 2025
f95ccc2
Merge pull request #140 from TechnologyEnhancedLearning/Develop/Fixes…
swapnamol-abraham Mar 17, 2025
0318db8
Bump sass from 1.85.1 to 1.86.0 in /Auth/LearningHub.Nhs.Auth
dependabot[bot] Mar 18, 2025
4f2e533
Merge pull request #143 from TechnologyEnhancedLearning/Dev/Feature/T…
AnjuJose011 Mar 18, 2025
6200dee
CSP updated
Swapnamol Mar 18, 2025
d6deb87
Reverted CSP fixes
Swapnamol Mar 18, 2025
969b770
Reverted in memory store
Swapnamol Mar 19, 2025
cb03bf1
reverted
Swapnamol Mar 19, 2025
72b8cc0
Test
Swapnamol Mar 19, 2025
294deb7
Revert "reverted"
Swapnamol Mar 19, 2025
11714d9
Revert "Test"
Swapnamol Mar 19, 2025
a6fe18a
Added in store memmory ticket store
Swapnamol Mar 19, 2025
79a4bbc
Reverted the chnages
Swapnamol Mar 19, 2025
fb344cc
CSP code added
Swapnamol Mar 19, 2025
2103eea
Removed Sandbox
Swapnamol Mar 20, 2025
b7c7090
Added in memory ticket store
Swapnamol Mar 20, 2025
610f1a5
Reverted in memory ticket store from RC
Swapnamol Mar 20, 2025
cd3cb8d
Merge pull request #141 from TechnologyEnhancedLearning/dependabot/np…
AnjuJose011 Mar 25, 2025
7908510
Bump sass from 1.86.0 to 1.86.1 in /Auth/LearningHub.Nhs.Auth (#144)
dependabot[bot] Apr 1, 2025
928bca2
Bump sass from 1.86.1 to 1.86.2 in /Auth/LearningHub.Nhs.Auth (#145)
dependabot[bot] Apr 3, 2025
4adf6ee
Merge pull request #146 from TechnologyEnhancedLearning/Automatic_ver…
AnjuJose011 Apr 3, 2025
be2e800
Bump sass from 1.86.2 to 1.86.3 in /Auth/LearningHub.Nhs.Auth (#147)
dependabot[bot] Apr 4, 2025
2d3f7b1
TD-3734: Concurrent Sessions Allowed
Swapnamol Apr 4, 2025
58ea79f
Concurrent Sessions Allowed
Swapnamol Apr 4, 2025
e39319a
user null check
Apr 7, 2025
429e9a4
TD-5407: Implemented a fix to avoid SQL exception on LinkExistingUser…
Swapnamol Apr 7, 2025
45ccf1e
Bump webpack from 5.98.0 to 5.99.1 in /Auth/LearningHub.Nhs.Auth (#149)
dependabot[bot] Apr 8, 2025
8d2c273
Merge pull request #150 from TechnologyEnhancedLearning/Develop/Fixes…
swapnamol-abraham Apr 8, 2025
ecf118f
Corrected the datatype
Swapnamol Apr 8, 2025
53c5e61
Merge pull request #151 from TechnologyEnhancedLearning/Develop/Fixes…
swapnamol-abraham Apr 8, 2025
0b6e869
Modified EF call with SP call
Swapnamol Apr 8, 2025
d0c1290
Merge pull request #152 from TechnologyEnhancedLearning/Develop/Fixes…
swapnamol-abraham Apr 8, 2025
08fe2fe
Merge pull request #148 from TechnologyEnhancedLearning/Develop/Fixes…
swapnamol-abraham Apr 8, 2025
008ad9f
Bump webpack from 5.99.1 to 5.99.5 in /Auth/LearningHub.Nhs.Auth (#153)
dependabot[bot] Apr 9, 2025
972b40c
Merge branch 'RC' into Develop/POC/TD-5284_retrival_of_moodle_user_id
Apr 10, 2025
e52c59f
Merge pull request #156 from TechnologyEnhancedLearning/release-v1.4.…
AnjuJose011 Apr 11, 2025
09ea76d
added new appsetting value - EnableMoodle
Apr 11, 2025
c322872
Merge pull request #157 from TechnologyEnhancedLearning/Automatic_ver…
AnjuJose011 Apr 11, 2025
a9a7009
Merge pull request #158 from TechnologyEnhancedLearning/Develop/POC/T…
binon Apr 14, 2025
1baf49a
Fixed the style cop issue with the user api (Blank line required)
Swapnamol Apr 14, 2025
6762438
TD-5492: Upgrade .NET Framework Version For Database Project
swapnamol-abraham Apr 24, 2025
8766c8e
Merge pull request #162 from TechnologyEnhancedLearning/Develop/Fixes…
swapnamol-abraham Apr 24, 2025
041b19c
TD-5538: IUncluded web.config in the solution
swapnamol-abraham May 12, 2025
fb0c863
TD-5538: IUncluded web.config in the solution
swapnamol-abraham May 12, 2025
60e679a
corrected
swapnamol-abraham May 12, 2025
04523b5
Merge pull request #171 from TechnologyEnhancedLearning/Develop/Fixes…
swapnamol-abraham May 12, 2025
3dd19cf
TD-4982-Blocked all IdentityServer4 logs from being processed by late…
swapnamol-abraham May 15, 2025
fe62003
Merge pull request #173 from TechnologyEnhancedLearning/Develop/Fixes…
swapnamol-abraham May 15, 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
2 changes: 1 addition & 1 deletion .github/azure-pipelines-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- task: NodeTool@0
displayName: Use Node 12.19
inputs:
versionSpec: 12.19
versionSpec: 14
- task: Npm@1
displayName: npm custom
inputs:
Expand Down
69 changes: 69 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
registries:
tel-azure-package-source:
type: nuget-feed
url: "https://pkgs.dev.azure.com/e-LfH/_packaging/LearningHubFeed/nuget/v3/index.json"
username: "kevin.whittaker"
password: ${{ secrets.AZURE_DEVOPS_PAT }}
nuget-package-source:
type: nuget-feed
url: "https://api.nuget.org/v3/index.json"
updates:
- package-ecosystem: "nuget"
directory: "/" # Location of package manifests
schedule:
interval: "daily"
open-pull-requests-limit: 10
registries:
- tel-azure-package-source
- nuget-package-source
target-branch: "Automatic_version_update_dependabot"
ignore:
# Ignore updates to packages that start with 'Wildcards'
- dependency-name: "elfhHub.Nhs.Models*"
- dependency-name: "LearningHub.Nhs.Models*"
- dependency-name: "LearningHub.Nhs.Caching*"
- dependency-name: "NHSUKViewComponents.Web*"
# Ignore some updates to the package
- dependency-name: "Microsoft.VisualStudio.Web.CodeGeneration.Design"
versions: [">7.0.0"]
- dependency-name: "Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation"
versions: [">7.0.0"]
- dependency-name: "Microsoft.AspNetCore.Mvc.Testing"
versions: [">7.0.0"]
- dependency-name: "Microsoft.AspNetCore.Authentication.JwtBearer"
versions: [">7.0.0"]
- dependency-name: "Microsoft.AspNetCore.Authentication.OpenIdConnect"
versions: [">7.0.0"]
- dependency-name: "Microsoft.AspNetCore.Mvc.NewtonsoftJson"
versions: [">7.0.0"]
- dependency-name: "Microsoft.EntityFrameworkCore"
versions: [">7.0.0"]
- dependency-name: "Microsoft.EntityFrameworkCore.SqlServer"
versions: [">7.0.0"]
- dependency-name: "Microsoft.Extensions.Caching.StackExchangeRedis"
versions: [">7.0.0"]
- dependency-name: "Microsoft.Extensions.Logging.Console"
versions: [">7.0.0"]
- dependency-name: "Selenium.WebDriver.ChromeDriver"
versions: ">=113.0.5672.1278" # Recommended version
# For all packages, ignore all patch updates
#- dependency-name: "*"
# update-types: ["version-update:semver-patch"]

# Configuration for npm Auth
- package-ecosystem: "npm"
directory: "Auth/LearningHub.Nhs.Auth/" # Location of package manifests
schedule:
interval: "daily"
target-branch: "Automatic_version_update_dependabot"
# - "dependencies"
open-pull-requests-limit: 10
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major"]
183 changes: 183 additions & 0 deletions .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,183 @@
name: Auto Merge Dependabot PRs

on:
pull_request:
types:
- opened
- synchronize

permissions:
pull-requests: write
contents: write

jobs:
auto-merge:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'

steps:
- name: Checkout the repository
uses: actions/checkout@v3

- name: Set up GitHub CLI
run: |
# Install GitHub CLI (gh)
sudo apt-get update
sudo apt-get install gh

# Authenticate GitHub CLI using the provided token
echo ${{ secrets.GITHUB_TOKEN }} | gh auth login --with-token

- name: Wait for CI workflow to pass (Ensure CI workflow succeeded)
id: wait_for_ci
run: |
# Get the PR number from the GitHub event
PR_NUMBER=${{ github.event.pull_request.number }}
echo "Checking CI status for PR #$PR_NUMBER"

# Define the maximum wait time (in seconds) and the polling interval (in seconds)
MAX_WAIT_TIME=1800 # 30 minutes
POLL_INTERVAL=10 # Check every 10 seconds

# Initialize a timer
elapsed_time=0

# Poll CI status until all checks are completed
while true; do
# Fetch the status check rollup for the PR
CI_STATUS=$(gh pr view $PR_NUMBER --json statusCheckRollup)

# Log the fetched response
echo "CI Status Response: $CI_STATUS"

# Parse the checks and check their status
ALL_COMPLETED=true
ALL_CHECKS_PASSED=true

for check in $(echo "$CI_STATUS" | jq -r '.statusCheckRollup[] | @base64'); do
_jq() {
echo "${check}" | base64 --decode | jq -r "${1}"
}

status=$(_jq '.status')
conclusion=$(_jq '.conclusion')
check_name=$(_jq '.name')

# Log check details
echo "Check: $check_name, Status: $status, Conclusion: $conclusion"
if [[ "$check_name" == "auto-merge" ]]; then
echo "Skipping 'auto-merge' workflow check to prevent self-referencing."
continue
fi

# If any check is still queued, set ALL_COMPLETED to false
if [[ "$status" == "QUEUED" ]]; then
ALL_COMPLETED=false
fi

# If any check is still in progress, set ALL_COMPLETED to false
if [[ "$status" == "IN_PROGRESS" ]]; then
ALL_COMPLETED=false
fi

# If any completed check has failed, set ALL_CHECKS_PASSED to false
if [[ "$status" == "COMPLETED" && "$conclusion" != "SUCCESS" ]]; then
ALL_CHECKS_PASSED=false
fi
done

# Break the loop if all checks are completed
if [[ "$ALL_COMPLETED" == true ]]; then
break
fi

# Wait for the next polling interval
echo "Waiting for checks to complete... ($elapsed_time/$MAX_WAIT_TIME seconds elapsed)"
sleep $POLL_INTERVAL
elapsed_time=$((elapsed_time + POLL_INTERVAL))

# Exit if the maximum wait time is exceeded
if [[ "$elapsed_time" -ge "$MAX_WAIT_TIME" ]]; then
echo "Timed out waiting for CI checks to complete."
exit 1
fi
done

# Final check: Ensure all CI checks passed
if [[ "$ALL_CHECKS_PASSED" == false ]]; then
echo "One or more CI checks failed. Aborting merge."
exit 1
fi

echo "All CI checks passed successfully."


- name: Check Target Branch and PR Title
id: check_branch
run: |
PR_TITLE='${{ github.event.pull_request.title }}'
echo "Original PR Title: $PR_TITLE"

# Escape problematic quotes
ESCAPED_TITLE=$(echo "$PR_TITLE" | sed 's/"/\\"/g')
echo "Escaped PR Title: $ESCAPED_TITLE"

if [[ "$ESCAPED_TITLE" =~ ([0-9]+\.[0-9]+\.[0-9]+).*to.*([0-9]+\.[0-9]+\.[0-9]+) ]]; then
# Extract version numbers
OLD_VERSION="${BASH_REMATCH[1]}"
NEW_VERSION="${BASH_REMATCH[2]}"
echo "Version change detected: $OLD_VERSION to $NEW_VERSION"

# Split version into major, minor, patch components
OLD_MAJOR=$(echo "$OLD_VERSION" | cut -d '.' -f1)
OLD_MINOR=$(echo "$OLD_VERSION" | cut -d '.' -f2)
OLD_PATCH=$(echo "$OLD_VERSION" | cut -d '.' -f3)

NEW_MAJOR=$(echo "$NEW_VERSION" | cut -d '.' -f1)
NEW_MINOR=$(echo "$NEW_VERSION" | cut -d '.' -f2)
NEW_PATCH=$(echo "$NEW_VERSION" | cut -d '.' -f3)

# Check if it's a minor or patch update
if [[ "$OLD_MAJOR" == "$NEW_MAJOR" ]] && [[ "$OLD_MINOR" == "$NEW_MINOR" ]] && [[ "$NEW_PATCH" -gt "$OLD_PATCH" ]]; then
echo "Patch update detected"
echo "should_merge=true" >> $GITHUB_ENV
elif [[ "$OLD_MAJOR" == "$NEW_MAJOR" ]] && [[ "$NEW_MINOR" -gt "$OLD_MINOR" ]]; then
echo "Minor update detected"
echo "should_merge=true" >> $GITHUB_ENV
else
echo "No minor/patch update detected"
echo "should_merge=false" >> $GITHUB_ENV
fi
else
echo "No version change detected"
echo "should_merge=false" >> $GITHUB_ENV
fi

- name: Debug Context
uses: actions/github-script@v6
with:
script: |
console.log("Target branch:", context.payload.pull_request.base.ref);

- name: Check if Should Merge
run: |
echo "DEBUG: should_merge=${{ env.should_merge }}"
if [[ "${{ env.should_merge }}" == "true" ]] && [[ "${{ github.event.pull_request.base.ref }}" == "Automatic_version_update_dependabot" ]]; then
echo "DEBUG: should merge PR"
echo "should_merge=true" >> $GITHUB_ENV
else
echo "DEBUG: skip merge"
echo "should_merge=false" >> $GITHUB_ENV
fi

- name: Merge Pull Request
if: ${{ env.should_merge == 'true' }}
uses: actions/github-script@v6
with:
script: |
github.rest.pulls.merge({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.payload.pull_request.number,
merge_method: "squash"
});
96 changes: 74 additions & 22 deletions .github/workflows/continuous-integration-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Setup .NET Core SDK 6.0
- name: Setup .NET Core SDK 8.0
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x

- name: Add Azure artifact
run: dotnet nuget add source 'https://pkgs.dev.azure.com/e-LfH/_packaging/LearningHubFeed/nuget/v3/index.json' --name 'LearningHubFeed' --username 'kevin.whittaker' --password ${{ secrets.AZURE_DEVOPS_PAT }} --store-password-in-clear-text
Expand All @@ -26,42 +26,94 @@ jobs:
- name: Use Node 12.19
uses: actions/setup-node@v4
with:
node-version: '12.19'

node-version: '18'
- name: Install dependencies
run: |
cd ./Auth/LearningHub.Nhs.Auth
npm install -f
yarn install

- name: Run Webpack build
run: |
cd ./Auth/LearningHub.Nhs.Auth
npm run build
yarn build:webpack

- name: Setup MSBuild
uses: microsoft/[email protected]

- name: Build SQL Server Database project
run: |
# List all .sqlproj files except for .sqlproj
# Enable strict error handling
$ErrorActionPreference = 'Stop'

# Initialize an error collection
$errors = @()

# List all .sqlproj files
$sqlproj_files = Get-ChildItem -Path . -Filter *.sqlproj -Recurse

# Build each .csproj file
foreach ($sqlproj_file in $sqlproj_files) {
Write-Host "Building $($sqlproj_file.FullName)"
msbuild "$($sqlproj_file.FullName)" /p:Configuration=Release
}

- name: Build solution excluding SQL project

if ($sqlproj_files.Count -eq 0) {
$errors += "No .sqlproj files found."
} else {
foreach ($sqlproj_file in $sqlproj_files) {
Write-Host "Building $($sqlproj_file.FullName)"
try {
$output = &msbuild "$($sqlproj_file.FullName)" /p:Configuration=Release /nologo 2>&1
if (!$?) {
$errors += "Failed to build $($csproj_file.FullName): $output"
}
} catch {
# Capture detailed error information
$errorMessage = "Error building $($sqlproj_file.FullName): $($_.Exception.Message)"
Write-Host $errorMessage
$errors += $errorMessage
}
}
}

# Display all accumulated errors
if ($errors.Count -gt 0) {
Write-Host "SQL Project Build Errors:"
$errors | ForEach-Object { Write-Host $_ }
exit 1
}

- name: Build Solution Excluding SQL Project
run: |
# List all .csproj files except for .sqlproj
# Enable strict error handling
$ErrorActionPreference = 'Stop'

# Initialize an error collection
$errors = @()

# List all .csproj files except .sqlproj
$csproj_files = Get-ChildItem -Path . -Filter *.csproj -Recurse | Where-Object { $_.FullName -notmatch '\\.sqlproj$' }

# Build each .csproj file
foreach ($csproj_file in $csproj_files) {
Write-Host "Building $($csproj_file.FullName)"
dotnet build "$($csproj_file.FullName)"
}

if ($csproj_files.Count -eq 0) {
$errors += "No .csproj files found."
} else {
foreach ($csproj_file in $csproj_files) {
Write-Host "Building $($csproj_file.FullName)"
try {
$output = &dotnet build "$($csproj_file.FullName)" --configuration Release 2>&1
if (!$?) {
$errors += "Failed to build $($csproj_file.FullName): $output"
}
} catch {
# Capture detailed error information
$errorMessage = "Error building $($csproj_file.FullName): $($_.Exception.Message)"
Write-Host $errorMessage
$errors += $errorMessage
}
}
}

# Display all accumulated errors
if ($errors.Count -gt 0) {
Write-Host "Solution Build Errors:"
$errors | ForEach-Object { Write-Host $_ }
exit 1
}

#- name: Test
# run: dotnet test ${{ env.BuildParameters.TestProjects }}
Loading
Loading