Skip to content
Merged

4.0.0 #698

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
bdea5e9
[HMCR-1117] remove unused jquery dep
ionwyn May 5, 2026
c78143c
[HMCR-1117] replace node-sass with Dart sass
ionwyn May 5, 2026
ac4f5e2
[HMCR-1117] drop react-app-polyfill and IE11 support
ionwyn May 5, 2026
968612e
[HMCR-1117] delete unused service worker
ionwyn May 5, 2026
8223b62
[HMCR-1117] add vite + plugin-react and vite.config.js
ionwyn May 5, 2026
ce2925d
[HMCR-1117] rename src/index.js to src/index.jsx
ionwyn May 5, 2026
a2a652a
[HMCR-1117] move index.html to project root, drop %PUBLIC_URL%
ionwyn May 5, 2026
1c77e69
[HMCR-1117] drop %PUBLIC_URL% in index.html, add module script
ionwyn May 5, 2026
77b3b6e
[HMCR-1117] migrate REACT_APP_ env vars to VITE_
ionwyn May 5, 2026
7d18d7d
[HMCR-1117] replace process.env.PUBLIC_URL with absolute paths
ionwyn May 5, 2026
45d490e
[HMCR-1117] remove react-scripts, swap scripts to vite
ionwyn May 5, 2026
2044789
[HMCR-1117] bump .pipeline/.nvmrc to Node 24
ionwyn May 5, 2026
d45e4e4
[HMCR-1117] regenerate package-lock.json for Vite tree
ionwyn May 5, 2026
91ef03a
[HMCR-1117] configure vite to parse JSX from .js files
ionwyn May 5, 2026
23cc336
[HMCR-1117] also handle JSX in .js for production build
ionwyn May 5, 2026
0ad1f2d
[HMCR-1117] drop ~ prefix from bootstrap scss imports
ionwyn May 5, 2026
5dbed14
[HMCR-1117] move fonts to public/, point _fonts.scss at /fonts/
ionwyn May 5, 2026
5f0782b
[HMCR-1117] replace react-clipboard.js with native clipboard API in A…
ionwyn May 6, 2026
2889524
[HMCR-1117] replace react-clipboard.js with native clipboard API in s…
ionwyn May 6, 2026
22bc568
[HMCR-1117] drop react-clipboard.js from package.json
ionwyn May 6, 2026
312da58
[HMCR-1117] add react-datepicker dep
ionwyn May 6, 2026
8bc4a24
[HMCR-1117] swap react-dates SingleDatePicker for react-datepicker in…
ionwyn May 6, 2026
b880f27
[HMCR-1117] swap react-dates SingleDatePicker for react-datepicker in…
ionwyn May 6, 2026
a387921
[HMCR-1117] swap react-dates DateRangePicker for two react-datepicker…
ionwyn May 6, 2026
5801ae9
[HMCR-1117] swap react-dates DateRangePicker for react-datepicker in …
ionwyn May 6, 2026
8a30340
[HMCR-1117] drop react-dates: imports, scss, and package.json
ionwyn May 6, 2026
2d5e887
[HMCR-1117] swap redux-devtools-extension for @redux-devtools/extension
ionwyn May 6, 2026
0227196
[HMCR-1117] use full lib/esm subpath for @redux-devtools/extension/de…
ionwyn May 6, 2026
02e85bd
[HMCR-1117] regenerate package-lock.json for Chunk B
ionwyn May 6, 2026
73ce32b
[HMCR-1117] bump react and react-dom 16 → 18
ionwyn May 6, 2026
3e11ed9
[HMCR-1117] migrate ReactDOM.render to createRoot for React 18
ionwyn May 6, 2026
389a565
[HMCR-1117] bump react-redux 7 → 8 for React 18 support
ionwyn May 6, 2026
82fac86
[HMCR-1117] convert store.js require() to ESM import for Vite
ionwyn May 6, 2026
6244754
[HMCR-1117] Upgrade dotnet packages
ionwyn May 12, 2026
1a507c2
[HMCR-1117] Commit package lock
ionwyn May 12, 2026
b0508f6
[HMCR-1117] Bootstrap 5 and reactstrap corrections
ionwyn May 12, 2026
6eddc29
[HMCR-1117] Correct missing package
ionwyn May 12, 2026
376bbc2
[HMCR-1117] Force node 25+
ionwyn May 12, 2026
793a4ce
Apply suggestions from code review
ionwyn May 12, 2026
6a4059b
Modify for node 25
ionwyn May 12, 2026
6777740
Revert "Apply suggestions from code review"
ionwyn May 13, 2026
4267fe6
Revert auth mods
ionwyn May 13, 2026
76af096
[HMCR-1117] Bootstrap 5 Regression Fixes
ionwyn May 13, 2026
07c97f5
[HMCR-1117] Bootstrap Corrections
ionwyn May 13, 2026
fb92bf7
[HMCR-1117] Revert to automapper 9.0.0
ionwyn May 20, 2026
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/workflows/hmr-build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
actions: write
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.1
uses: styfle/cancel-workflow-action@0.13.1
with:
access_token: ${{ github.token }}

Expand Down
2 changes: 1 addition & 1 deletion .pipeline/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v10.15.2
25
2 changes: 1 addition & 1 deletion api/Hmcr.Api/Hmcr.Api.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@
<ProjectReference Include="..\Hmcr.Domain\Hmcr.Domain.csproj" />
<ProjectReference Include="..\Hmcr.Model\Hmcr.Model.csproj" />
</ItemGroup>
</Project>
</Project>
2 changes: 1 addition & 1 deletion api/Hmcr.Data/Hmcr.Data.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
<ItemGroup>
<ProjectReference Include="..\Hmcr.Model\Hmcr.Model.csproj" />
</ItemGroup>
</Project>
</Project>
4 changes: 2 additions & 2 deletions api/Hmcr.Domain/Hmcr.Domain.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
<PackageReference Include="Hangfire.Core" Version="1.7.9" />
<PackageReference Include="itext7" Version="9.0.0" />
<PackageReference Include="itext7.bouncy-castle-adapter" Version="9.0.0" />
<PackageReference Include="MailKit" Version="2.5.1" />
<PackageReference Include="MailKit" Version="4.16.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Hmcr.Bceid\Hmcr.Bceid.csproj" />
<ProjectReference Include="..\Hmcr.Chris\Hmcr.Chris.csproj" />
<ProjectReference Include="..\Hmcr.Data\Hmcr.Data.csproj" />
<ProjectReference Include="..\Hmcr.Model\Hmcr.Model.csproj" />
</ItemGroup>
</Project>
</Project>
2 changes: 1 addition & 1 deletion api/Hmcr.Domain/Services/EmailService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ private void SendEmailToUsersInServiceArea(decimal serviceAreaNumber, string sub
foreach(var user in _userRepo.GetActiveUsersByServiceAreaNumber(serviceAreaNumber))
{
if (user.Email.IsNotEmpty())
recipients.Add(new MailboxAddress(user.Email));
recipients.Add(MailboxAddress.Parse(user.Email));
}

SendEmail(recipients, subject, htmlBody, textBody);
Expand Down
2 changes: 1 addition & 1 deletion api/Hmcr.Hangfire/Hmcr.Hangfire.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@
<ProjectReference Include="..\Hmcr.Domain\Hmcr.Domain.csproj" />
<ProjectReference Include="..\Hmcr.Model\Hmcr.Model.csproj" />
</ItemGroup>
</Project>
</Project>
15 changes: 7 additions & 8 deletions client/.env.development
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
BROWSER=none
REACT_APP_API_HOST=localhost:27238
REACT_APP_CLIENT_ORIGIN=localhost:3000
REACT_APP_SSO_CLIENT=<clientid>
REACT_APP_SSO_REALM=<realms>
REACT_APP_SSO_HOST=<sso_host>
REACT_APP_DEFAULT_PAGE_SIZE_OPTIONS=25,50,100,200
REACT_APP_DEFAULT_PAGE_SIZE=25
VITE_API_HOST=localhost:27238
VITE_CLIENT_ORIGIN=localhost:3000
VITE_SSO_CLIENT=<clientid>
VITE_SSO_REALM=<realms>
VITE_SSO_HOST=<sso_host>
VITE_DEFAULT_PAGE_SIZE_OPTIONS=25,50,100,200
VITE_DEFAULT_PAGE_SIZE=25
4 changes: 2 additions & 2 deletions client/.env.production
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
GENERATE_SOURCEMAP=false
REACT_APP_DEFAULT_PAGE_SIZE_OPTIONS=25,50,100,200
REACT_APP_DEFAULT_PAGE_SIZE=25
VITE_DEFAULT_PAGE_SIZE_OPTIONS=25,50,100,200
VITE_DEFAULT_PAGE_SIZE=25
1 change: 1 addition & 0 deletions client/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
echo "25.0.0" > .nvmrc
18 changes: 18 additions & 0 deletions client/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="shortcut icon" href="/images/bcid-favicon-32x32.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<link rel="manifest" href="/manifest.json" />
<script src="/js/env.config.js"></script>
<title>Highway Maintenance Contractor Reporting</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script type="module" src="/src/index.jsx"></script>
</body>
</html>
Loading
Loading