Skip to content

Latest commit

 

History

History
1508 lines (1420 loc) · 155 KB

CHANGELOG.md

File metadata and controls

1508 lines (1420 loc) · 155 KB

Changelog

All notable changes to this project will be documented in this file. Dates are displayed in UTC.

Generated by auto-changelog.

  • Move 2PT review result tables into 'water' schema #1472
  • Move 2PT match and allocate logic to own folder #1471
  • Fix broken return version start date page #1469
  • Bump @aws-sdk/client-s3 from 3.685.0 to 3.687.0 #1468
  • Tidy up two-part tariff review code and routes #1443
  • Bump mock-fs from 5.4.0 to 5.4.1 #1459
  • Bump @aws-sdk/client-s3 from 3.679.0 to 3.685.0 #1463
  • Decouple start date logic #1461
  • Add , between abstraction points in point model #1457
  • Fix env var for licence purposes view #1452
  • Fix JSDOC's lint seeder descriptions #1284
  • Import licence document roles for a licence - licence holder #1424
  • Migrate abstraction details view page #1379
  • Bump @aws-sdk/client-s3 from 3.676.0 to 3.679.0 #1448
  • Bump pg from 8.13.0 to 8.13.1 #1447
  • Bump pg-query-stream from 4.7.0 to 4.7.1 #1450
  • Bump @hapi/hapi from 21.3.10 to 21.3.12 #1446
  • Fix failing unit tests #1445
  • Refactor billing account contact details to model #1444
  • Fix testing endpoint for supplementary flags #1440
  • refactor return cycle creation #1434
  • create return cycle dates library #1436
  • Licence Import Supplementary billing test endpoint #1435
  • Bump @aws-sdk/client-s3 from 3.675.0 to 3.676.0 #1438
  • Rename return-requirements route return-versions #1431
  • Flag licences removed from workflow for supp billing #1388
  • Update some unit tests to use Model stubbing #1426
  • Licence import flagging for supplementary billing #1338
  • Bump jsdoc from 4.0.3 to 4.0.4 #1433
  • Bump @aws-sdk/client-s3 from 3.674.0 to 3.675.0 #1432
  • Add Sinon.restore to submit-year.service.test.js #1391
  • Tidy up view licence inconsistencies #1430
  • Move Return reqs. pages into setup folder #1429
  • Rename Rtn reqs. setup folder and route 'method' #1428

20 October 2024

  • Import licence document roles for a licence #1414
  • Bump eslint-plugin-jsdoc from 50.4.1 to 50.4.3 #1420
  • Bump @hapi/lab from 25.3.1 to 25.3.2 #1421
  • Bump @aws-sdk/client-s3 from 3.673.0 to 3.674.0 #1422
  • Remove POST create bill run route #1418
  • Exclude VOID returns from two-part tariff billing #1419
  • 2PT use full authorised volume rather than Nil #1404
  • Bump @aws-sdk/client-s3 from 3.670.0 to 3.673.0 #1417
  • Rename gauging stations to monitoring stations #1415
  • Fix auth scope on view monitoring station route #1413
  • Import licence document for a licence #1392
  • Bump eslint-plugin-jsdoc from 50.3.2 to 50.4.1 #1411
  • Add option to run tests without cleaning #1409
  • Handle missing Monitoring station metadata #1405
  • Bump eslint-plugin-jsdoc from 50.3.1 to 50.3.2 #1408
  • Bump @aws-sdk/client-s3 from 3.669.0 to 3.670.0 #1406
  • Bump mock-fs from 5.3.0 to 5.4.0 #1407
  • Refactor the import legacy persist logic #1387
  • Return log start and end dates to be determined using the correct cycle dates #1397
  • Bump govuk-frontend from 4.8.0 to 4.9.0 #1402
  • Bump @aws-sdk/client-s3 from 3.668.0 to 3.669.0 #1403
  • Fix error when seeding in AWS non-production #1400
  • Fix error with return cycles seeder #1399
  • Remove setting return cycle in ReturnLogHelper #1398
  • Fix QA issues in new Monitoring stations page #1395
  • Handle special characters in rtn req. bookmarks #1394
  • Bump @aws-sdk/client-s3 from 3.667.0 to 3.668.0 #1396
  • Bump @aws-sdk/client-s3 from 3.665.0 to 3.667.0 #1393
  • Refactor logic for creating return cycles when importing new licence #1389
  • Migrate monitoring station view page #1340
  • Handle empty site description in returns setup #1384
  • Import company address data for a licence #1385
  • Add abstraction method to lic. purpose points #1375
  • Stop display null site desc. in view licence rtn #1383
  • Bump @aws-sdk/client-s3 from 3.664.0 to 3.665.0 #1386
  • Import company address data for a licence #1371
  • Bump @aws-sdk/client-s3 from 3.663.0 to 3.664.0 #1381
  • Handle return requirements with no site desc. #1380
  • Handle invalid points better in view lic. summary #1374
  • Stop adding link on due returns for unauth users #1378
  • Fix down migrations for return logs view #1377
  • Bump @aws-sdk/client-s3 from 3.662.0 to 3.663.0 #1376
  • Bump eslint-plugin-jsdoc from 50.3.0 to 50.3.1 #1373
  • Bump @aws-sdk/client-s3 from 3.658.1 to 3.662.0 #1372
  • Create return cycle #1353
  • Stop generating optional data in company helper #1369
  • Bump sass from 1.79.3 to 1.79.4 #1370
  • Incorrect status showing on licence set up page #1367
  • Update view licence summary to use new points data #1316
  • Bump mock-fs from 5.2.0 to 5.3.0 #1366
  • Bump eslint-plugin-jsdoc from 50.2.5 to 50.3.0 #1365
  • Include water.points in data tear down #1364
  • Incorrect status showing on licence set up page #1363
  • Remove import jobs stats from /health/info #1336
  • Import addresses data for a licence #1355
  • Remove DatabaseSupport.clean() from unit tests #1327
  • Bump objection from 3.1.4 to 3.1.5 #1361
  • Bump @aws-sdk/client-s3 from 3.658.0 to 3.658.1 #1362
  • Bump eslint-plugin-jsdoc from 50.2.4 to 50.2.5 #1360
  • Alter 2PT agreement logic in rtn req setup journey #1359
  • Add site description to rtn. req. bookmark links #1358
  • Fix show unregistered label in view licence page #1357
  • Remove check for licence ended in approve rtn vers #1356
  • Bump @aws-sdk/client-s3 from 3.657.0 to 3.658.0 #1354
  • Update the 'points' data solution #1352
  • Import contact data for a licence #1317
  • Add pre sroc returns flagging to service #1335
  • Bump @aws-sdk/client-s3 from 3.654.0 to 3.657.0 #1351
  • Bump sass from 1.79.2 to 1.79.3 #1350
  • Bump sass from 1.79.1 to 1.79.2 #1349
  • Add external id to addresses view. #1346
  • Bump @aws-sdk/client-s3 from 3.651.1 to 3.654.0 #1348
  • Bump eslint-plugin-jsdoc from 50.2.3 to 50.2.4 #1347
  • Update Licence role helper to use reference data #1345
  • Create return logs for newly imported licences #1294
  • Update seeder to prevent duplicate key issue duplicate key value violates unique constraint "points_external_id_unique" 8d5aec0

18 September 2024

  • Bump sass from 1.78.0 to 1.79.1 #1343
  • Bump pg-query-stream from 4.6.0 to 4.7.0 #1344
  • Bump pg from 8.12.0 to 8.13.0 #1342
  • https://eaflood.atlassian.net/browse/WATER-4579 #1341
  • Update helpers to use seeded IDs where possible #1339
  • Replace view licence contact details page #1238
  • Bump eslint from 8.57.0 to 8.57.1 #1337
  • Bump @aws-sdk/client-s3 from 3.651.0 to 3.651.1 #1334
  • Bump eslint-plugin-jsdoc from 50.2.2 to 50.2.3 #1333
  • Bump standard from 17.1.1 to 17.1.2 #1332
  • Bump standard from 17.1.0 to 17.1.1 #1330
  • Bump @aws-sdk/client-s3 from 3.650.0 to 3.651.0 #1331
  • Increase controllers unit test coverage #1329
  • Flag licence for 2pt supplementary through recalculating bills #1302

12 September 2024

  • Incorrect status showing on licence set up page #1325
  • Bump @aws-sdk/client-s3 from 3.649.0 to 3.650.0 #1326
  • Put 2PT tariff supplementary option behind flag #1324
  • Increase licence and bill-runs controller test coverage #1323
  • Create seeder for charge_categories #1312
  • Bump @aws-sdk/client-s3 from 3.645.0 to 3.649.0 #1322
  • Bump big.js from 6.2.1 to 6.2.2 #1321
  • Amend supplementary billing editing return journey #1320
  • Add wlrs licence id to the nald licence import #1319
  • Add external id to contacts view. #1318
  • Update approve new return req. to use new points #1315
  • Fix use of new points in setup ret. req. journey #1314
  • Update Return req set up journey to use new points #1301
  • Fix import licence log silencer #1313
  • Bump @aws-sdk/client-s3 from 3.637.0 to 3.645.0 #1310
  • Import company data for a licence #1304

5 September 2024

  • Fix incorrect edit link for void returns #1311
  • Add external id to companies view. #1309
  • Add missed ModLog and Points models to test loader #1308
  • Trigger 2PT Supplementary Bill Run - Pt2 #1262
  • Update Banners to incorporate 2PT Supplementary Bills #1306
  • Bump sass from 1.77.8 to 1.78.0 #1307
  • Add relation mapping to LicenceModel #1305
  • Only include the required information in the metadata field #1299
  • Fix licence agreements recalculate link bug #1303
  • Fix licence workflow warning on view licence page #1300
  • Do not display draft return versions in set up #1298
  • Fix user model tests #1296
  • Fix return version tests #1295
  • Import Licence version purpose conditions #1287
  • Flag Supplementary 2PT for editing returns #1290
  • Add base point model with a describe helper #1289
  • Build new licence history page #1182
  • Add createdAt to Version history modifiers #1293
  • Override "Missing JSDoc comment" rule for controllers #1292
  • Fix registered to link in view licence #1291
  • Add Licence Version Purpose Point model #1288
  • Generate return logs from requirements #1244
  • Import Licence versions #1195
  • Remove more DatabaseSupport.clean() #1285

23 August 2024

  • Bump @aws-sdk/client-s3 from 3.635.0 to 3.637.0 #1283
  • Fix JSDOC's lint required params and returns #1279
  • Update use previous in ret. req setup with mod log #1282
  • Update return versions table with reasons in view #1281
  • Tell JSDoc linter to ignore private functions #1280
  • Fix JSDOC's lint description and type issues #1278
  • Ignore new /import/licence endpoint in logs #1275
  • Update view return version to include mod log info #1261
  • Bump @aws-sdk/client-s3 from 3.633.0 to 3.635.0 #1277
  • Add history attributes to ChargeVersionModel #1272
  • Add Charge version change reasons to seeder #1274
  • Lint JSDOC's #1269
  • Add history attributes to LicenceVersionModel #1271
  • Linting should not apply to the docs folder #1268
  • Bump nock from 13.5.4 to 13.5.5 #1270
  • Add history attributes to ReturnVersionModel #1267
  • Create SROC two-part tariff flagging endpoint for new charge versions #1239
  • Fix blown server logs in import service #1266
  • Bump @aws-sdk/client-s3 from 3.632.0 to 3.633.0 #1265
  • Add Mod Log model #1264
  • Remove return versions view mod log change #1263
  • Trigger 2PT Supplementary Bill Run #1259
  • Bump @aws-sdk/client-s3 from 3.631.0 to 3.632.0 #1260
  • Add create licence supplementary years service #1256
  • Add new NoBillingPeriodsError as a reminder #1257
  • Bump @aws-sdk/client-s3 from 3.629.0 to 3.631.0 #1258
  • Create chargeVersionNotes table model, helper and view #1240
  • Add JSDoc as dependency to validate documentation #1253
  • Bump @aws-sdk/client-s3 from 3.627.0 to 3.629.0 #1254
  • Fix order of return versions in view licence #1251
  • Add mod_log field to return versions view #1252
  • Update existing return versions when a new one is added #1216
  • Fix all remaining lint issues #1249
  • Bump @aws-sdk/client-s3 from 3.626.0 to 3.627.0 #1250
  • Remove more DatabaseSupport.clean() from services/job #1246
  • Update alter-licences-view migration script #1245
  • Remove two-part tariff supplementary billing flag from the Licences view #1242
  • Bump @aws-sdk/client-s3 from 3.624.0 to 3.626.0 #1243
  • Restructure 'seeding' to be Knex based #1230
  • Bump @aws-sdk/client-s3 from 3.623.0 to 3.624.0 #1235
  • Remove more DatabaseSupport.clean() from tests #1241
  • Removing licence from annual 2pt flags for supp billing #1236
  • Add feature flag for legacy import licence #1237
  • Update acceptance test tear down service #1234
  • Update tear down service #1232
  • Bump @aws-sdk/client-s3 from 3.622.0 to 3.623.0 #1231
  • Use seeded purpose IDs in rtn req purpose helper #1229
  • Return version can be on/after licence start date #1224
  • Add insert do update on conflict to region seeder #1228
  • Deleted agreements shouldn't show in the setup tab #1220
  • Bump @aws-sdk/client-s3 from 3.621.0 to 3.622.0 #1227
  • Add insert on conflict to seeders #1219
  • Add 'Temporary trade' option no-returns-reason page #1223
  • Update return logs helper #1226
  • Acceptance test data loader #1194
  • Remove DatabaseSupport.clean() from bill-licences #1221
  • Adding CSRF form protection via Hapi Crumb plugin #911
  • Change 'Transfer licence' reason for 'No returns needed' journey #1217
  • Amend 'Agreements' title on Licence set up tab #1215
  • Refactor the existing purpose condition types to be consistent #1218
  • Persist a new return version for 'no returns required' #1213
  • Bump @aws-sdk/client-s3 from 3.620.1 to 3.621.0 #1214
  • Bump @aws-sdk/client-s3 from 3.620.0 to 3.620.1 #1212
  • Bump @hapi/lab from 25.3.0 to 25.3.1 #1211
  • Bump @aws-sdk/client-s3 from 3.617.0 to 3.620.0 #1210
  • Bump @hapi/lab from 25.2.0 to 25.3.0 #1209
  • Removing DatabaseSupport.clean() #1207
  • Add licence workflow warning to view licence page #1204
  • Align regions seeder #1208
  • https://eaflood.atlassian.net/browse/WATER-4579 #1206
  • Some returns not received error incorrectly applies 2pt #1200
  • Two-part tariff void returns to show as void on review screens #1205
  • Bump @aws-sdk/client-s3 from 3.616.0 to 3.617.0 #1203
  • Lower case H for licence holder on 2pt review page #1202
  • Amend licence holder display two-part tariff review pages #1199
  • Two-part tariff due returns to show as blank #1198
  • Bump @aws-sdk/client-s3 from 3.614.0 to 3.616.0 #1196
  • Import Licence #1191
  • Add region test seeder #1193
  • Persist a new return version and its requirements #1137
  • create wrapper for licence-version-purpose-condition table #1181
  • Alter two-part tariff returns allocation by date #1190
  • Bump sass from 1.77.7 to 1.77.8 #1192
  • Bump @aws-sdk/client-s3 from 3.613.0 to 3.614.0 #1189
  • Fix error in generate 2PT bill run transactions #1188
  • Add bookmarks to return requirements view page #1187
  • Add bookmarks to return reqs check page #1186
  • Update ret. req. setup use abstraction & copy #1185
  • Display the purpose desc (alias) in rtn req view #1183
  • Only use 1st site description in return reqs set up #1184
  • Fix duplicate purposes in return reqs. set up #1180
  • Update display of points in return requirements #1171
  • Add optional alias to return requirement purpose #1177
  • Update tear down service #1174
  • Bump @aws-sdk/client-s3 from 3.609.0 to 3.613.0 #1178
  • Bump sass from 1.77.6 to 1.77.7 #1179
  • Fix workflow start date in view licence set up tab #1176
  • Fix dates in view licence set up tab #1175
  • Two-part tariff warning message for licence review page #1170
  • Implement annual two-part tariff billing engine #1172
  • Additional filters for two-part tariff review #1166
  • Add missing return requirement set up reasons #1169
  • Add FetchBillingAccountsService for 2-part tariff #1129
  • Fix unit tests after enablingSystemLicenceView tag #1165
  • Fix order of charge vers. in view licence - again! #1168
  • Make Bill run value blank when in Review Status #1164
  • Add abs period to returns on two-part tariff review page #1161
  • Fix returns link in view licence page #1163
  • Fix order of charge versions in view licence page #1162
  • Fix route handler property to follow same pattern #1155
  • Check for console.log() in CI #1156
  • Bump @aws-sdk/client-s3 from 3.608.0 to 3.609.0 #1160
  • Fix bill run type in view licence bills tab #1159
  • Switch to GOV.UK table component for licence bills #1158
  • Switch to GOV.UK table component for licence comms #1157
  • Display msg for multiple abs amounts in view #1153
  • Bump @aws-sdk/client-s3 from 3.606.0 to 3.608.0 #1154
  • Fix duplicate monitoring stations in view licence #1152
  • Stop using version in package.json #1147
  • Housekeeping - fix too many new lines 3f687db

1 July 2024

  • Enhance view licence page contacts tab #1150
  • Bump @aws-sdk/client-s3 from 3.600.0 to 3.606.0 #1151
  • Fix view licence abs amounts issue plus refactor #1132
  • Fetch conditions from licence summary service #1149
  • Add enableSystemLicenceView toggle to missed links #1148
  • Spike allowing test to be independent of cleanup. #1144
  • Enhance the padding-line lint rules #1146
  • Lint - spaces around blocks #1143
  • Fix company contact model relationships #1142
  • Fix licence set up links #1141
  • Update two-part tariff review pages to add Cypress data test attributes #1139
  • Add company address model and relationships #1140
  • Remove points data created during acceptance tests #1136
  • Add feature flag to enable the system licence view #1130
  • Fix default licence view createdBy #1138
  • Fix ordering of points and purposes in ret. req. #1135
  • Add 'currentVersion' modifier to LicenceModel #1133
  • Fix returns requirement button text #1134
  • Feature-requirements-for-returns-view-page #1118
  • Add orderBy to data fetched for two-part tariff review #1131
  • Add new two-part tariff generate bill run endpoint #1123
  • Add created_by to return versions and link models #1126
  • Update two-part tariff review pages to add Cypress data test attributes #1128
  • Fix Ret. Req. logic to determine cycle for 2PT #1124
  • Bump joi from 17.13.1 to 17.13.3 #1127
  • Update validation msg for ret. req. copy existing #1125
  • Add Continue bill run btn to 2PT review screen #1122
  • Add charging model to review model relationships #1120
  • Bump @aws-sdk/client-s3 from 3.598.0 to 3.600.0 #1121
  • Update empty requirements for returns message #1114
  • Remove additional hr on requirements check page #1115
  • Fix message text in two-part tariff review screen #1116
  • Update validation msg for ret. req. copy existing #1112
  • Bump sass from 1.77.5 to 1.77.6 #1113
  • Temporary session storage cleanup job #1100
  • Bump @aws-sdk/client-s3 from 3.596.0 to 3.598.0 #1111
  • Use abstraction data to create return requirements #1107
  • Fix missing view licence returns status tags #1110
  • Add Return Requirement helpers to data loader #1109
  • Fix model migrations since last release #1108
  • Fix licence 2 licence gauging station relationship #1102
  • Update two-part tariff review pages to add Cypress data test attributes #1105
  • Fix No returns required missing notification banner #1104
  • Fix pagination text in 2PT review screen #1101
  • Link licences to licence agreements #1098
  • Display return versions in view licence setup tab #1054
  • Amend no returns message in view licence Returns tab #1087
  • Bump @aws-sdk/client-s3 from 3.592.0 to 3.596.0 #1099
  • Add ability to search by Licence Number in 2 Part Tariff Review #1095
  • Add purpose primary and secondary models #1088
  • Remove multiple issues showing as review status on two-part tariff pages #1097
  • Adding acceptance test tags for no returns journey #1093
  • Add purpose description on two-part tariff licence review page #1094
  • Fix the title for the requirements for returns check page #1096
  • Correct copy existing return req. page title #1092
  • Adding tags to view for acceptance tests (returns) #1070
  • Bump @hapi/hapi from 21.3.9 to 21.3.10 #1090
  • Bump braces from 3.0.2 to 3.0.3 #1091
  • Bump sass from 1.77.4 to 1.77.5 #1089
  • Exclude not-required rtn versions from copy exist #1086
  • Complete Select existing return requirement page #895
  • Two-part tariff review pages - Removing validation #1084
  • Fix return req. frequency fields in view #1083
  • Add copy existing rtn req. option to setup journey #1081
  • Add flash notification when changes occur on returns Requirements #1079
  • Remove blipp plugin #1080
  • Add the agreement exceptions text to the returns requirements check page #1076
  • Bump @aws-sdk/client-s3 from 3.591.0 to 3.592.0 #1082
  • Add return requirements models to project #1071
  • Bump @aws-sdk/client-s3 from 3.590.0 to 3.591.0 #1078
  • Tidy up the file names of legacy migrations #1077
  • Add the returns cycle text to the returns requirements check page #1075
  • Update two-part tariff review views to add Cypress data test attributes #1063
  • Feature returns required points #1068
  • Bump @aws-sdk/client-s3 from 3.588.0 to 3.590.0 #1073
  • Bump pg-query-stream from 4.5.5 to 4.6.0 #1074
  • Bump pg from 8.11.5 to 8.12.0 #1072
  • Resolve values with too many decimal places #1069
  • Feature returns required purposes #1064
  • Tidy up of the Models and comments #1067
  • Bump @aws-sdk/client-s3 from 3.587.0 to 3.588.0 #1066
  • Standardise the descriptive text used in unit tests #1059
  • Fix licence agreement action links #1065
  • Check your requirements page (with requirements summary cards) #1019
  • Adding tags in view for acceptance tests #1043
  • Calculate and display expected charge during 2PT review - Part 2 #1046
  • Bump @aws-sdk/client-s3 from 3.583.0 to 3.587.0 #1061
  • Bump sass from 1.77.3 to 1.77.4 #1062
  • View licence set up agreements #1047
  • Change message text and add a link to approve page #1058
  • Bump sass from 1.77.2 to 1.77.3 #1057
  • Fix set up charge information buttons show #1055
  • Fix licence set up route guard #1053
  • Add new acceptance test data loader #1051
  • Bump @aws-sdk/client-s3 from 3.582.0 to 3.583.0 #1052
  • Set authorised volume for 2pt #1037
  • Two-part tariff review pages housekeeping #1050
  • Add NALD test data to permit licence helper #1049
  • Fix user seeding not creating user groups #1048
  • View Licence set up page #1034
  • Calculate and display expected charge during 2PT review #1036
  • Bump @aws-sdk/client-s3 from 3.577.0 to 3.582.0 #1044
  • Content change on set adjustment factors page 2pt #1041
  • View licence communications remove alert #1040
  • View licence communication alert #1038
  • Fix adjustment factors link #1035
  • Fix view licence summary for incomplete licences #1033
  • Fix typo with remove button in remove requirements #1032
  • View Licence customer duplicate contacts #1031
  • Add View Licence communications #1020
  • Select additional submission options page #988
  • Refactor purposes page to use purpose ids as values #1025
  • Bump sass from 1.77.1 to 1.77.2 #1030
  • Add sentence case function & rename capitalize #1029
  • Fix QA issues found with the review adjustment factors validation #1027
  • Refactor to use computed error message #1026
  • Remove returns requirements button on check page #1021
  • View licence contact details title format #1028
  • Alter 2PT Review Licences filter behaviour #1024
  • Adding multiple return requirements to the session #1014
  • Bump @aws-sdk/client-s3 from 3.576.0 to 3.577.0 #1023
  • Fix bug introduced when fixing merge conflicts #1022
  • Add Scheduled Notifications model #1018
  • Two-part tariff review set adjustment factors #987
  • You are about to remove these return requirements #996
  • Bump @aws-sdk/client-s3 from 3.574.0 to 3.576.0 #1017
  • Add pagination to 2PT review page #997
  • Update points page to use point id as the value #1016
  • Add View Licence customer details #1012
  • Fix unsent bills displaying in licence bills tab #1015
  • Add CRM V2 Company contacts view #1013
  • Ensure blank line b4 function return statements #1007
  • Ensure use of block body for arrow functions #1006
  • Add View Licence contact details page #993
  • Ensure strict mode directive in all files #1005
  • Ensure parens used in all arrow functions #1004
  • Use yar to store 2PT Review Licences filter data #999
  • Add eslint rule to enforce file extenstions #1008
  • Bump @aws-sdk/client-s3 from 3.572.0 to 3.574.0 #1009
  • Bump sass from 1.77.0 to 1.77.1 #1010
  • Fix all no-unused-vars ESLint rule infractions #1003
  • Fix all max-len ESLint rule infractions #1001
  • Remove two-part tariff check endpoint from project #1002
  • View licence bills Fixes #998
  • Add support for multiple rtn. reqs. plus tidy up #977
  • Cancel these requirements for returns page #934
  • Bump @aws-sdk/client-s3 from 3.569.0 to 3.572.0 #995
  • Exclude long strings from ESLint max-len rule #992
  • Use @stylistic/eslint-plugin-js for max-len rule #989
  • Fix the returns and bills empty message #990
  • Add two-part tariff charge reference details review page #952
  • Add linting using eslint with standard as the base #948
  • Add View Licence Bills page #986
  • Bump sass from 1.76.0 to 1.77.0 #985
  • Update rtn. req. setup journey to use new session #984
  • Update bill run setup journey to use new session #983
  • Bump @aws-sdk/client-s3 from 3.568.0 to 3.569.0 #982
  • Enhance the SessionModel to expose and update data #981
  • Correct validators test folder name #979
  • Rename add-note route in ret. requirements to note #978
  • Check return req. radio buttons using session data #968
  • Add View License Returns page #967
  • Alter and add migration for amendAllocated column two-part tariff review #975
  • Remove Licence from bill 2PT bill run during review #927
  • Fix permissions for licence summary #974
  • Add model relationship for return logs & licences #972
  • Check your answers page with notes for additions, changes and deletions #923
  • Bump @aws-sdk/client-s3 from 3.567.0 to 3.568.0 #973
  • add financial agreements and licence agreements models #958
  • fix(app): fix textarea content #971
  • Bump joi from 17.13.0 to 17.13.1 #970
  • Bump @aws-sdk/client-s3 from 3.565.0 to 3.567.0 #969
  • Persist charge reference authorised volume for two-part tariff review #966
  • Fix amended billable returns banner two-part tariff review #962
  • Add .editorconfig to keep project files consistent #960
  • Select the reason page H1 Title text change #964
  • Refactor View License Summary services and presenters #957
  • How do you want to set up H1 Title text change #965
  • Select the start date page H1 Title text change #963
  • Return to Check Your Answers after making a change #959
  • Bump sass from 1.75.0 to 1.76.0 #961
  • Replay submitted data with a validation error #956
  • Refactor to load tabs as pages in view licence #953
  • Saving input from return requirements in session #939
  • Add charge reference links to licence review page #936
  • Add validation for amend billable returns page #947
  • Display view licence tabs only to permitted users #949
  • Bump @aws-sdk/client-s3 from 3.564.0 to 3.565.0 #955
  • Fix broken PRESROC review bill run links #954
  • Fix from and to date to start and end date #933
  • Select agreements and exceptions for requirements #912
  • Bump @aws-sdk/client-s3 from 3.563.0 to 3.564.0 #950
  • Update the two-part tariff review tables to include adjustments #942
  • Fix bill run 'busy' tags in bill runs page #946
  • Fix bill run status badge in bill runs page #945
  • Fix validation messages for two-part tariff billable returns page #940
  • Add supp. billing notification to view licence #943
  • Bump @aws-sdk/client-s3 from 3.556.0 to 3.563.0 #944
  • Use yar for Review licence flash notifications #938
  • Fix licence status button text #941
  • Refactor review licence POST pattern #928
  • Amend billable volume on element review page #878
  • Fix the order the licences show on the licence review page #935
  • fix(app): back link fixed #932
  • Migrate view bill runs page from legacy UI #925
  • Add redirect to check-your-answers #931
  • Returns required journey - Notes page #906
  • Bump joi from 17.12.3 to 17.13.0 #930
  • Bump @joi/date from 2.1.0 to 2.1.1 #929
  • Add paginator presenter #924
  • Add Hapi yar session manager to the project #926
  • Manage 2PT Status on Licence review page #918
  • Add new check 'busy' bill runs service #922
  • Add new fetch bill runs service #921
  • Check Your Answers - Reason link amendment #916

19 April 2024

  • Select how often readings or volumes are reported page #910
  • Select how often readings or volumes are collected page #899
  • Select the returns cycle for the requirements for returns #876
  • Fix fetching returns for two part tariff #920
  • Bump ioredis from 5.4.0 to 5.4.1 #919
  • Fix 2PT volume allocation #917
  • Bump ioredis from 5.3.2 to 5.4.0 #915
  • Bump @aws-sdk/client-s3 from 3.554.0 to 3.556.0 #914
  • Enter the abstraction period for the requirements for returns page #847
  • Add calculated column to two-part tariff persisted data #901
  • Fix review licence page #902
  • Mark Progress when reviewing Licence in 2PT Bill Run #894
  • Bump @hapi/hapi from 21.3.8 to 21.3.9 #897
  • Fix unique constraint issue in licences-update job #909
  • Fix and update time-limited job #908
  • Update /jobs/export to be a POST request #907
  • New job to add new & updated licences to workflow #903
  • Bump sass from 1.74.1 to 1.75.0 #904
  • Bump @aws-sdk/client-s3 from 3.552.0 to 3.554.0 #905
  • Bump @hapi/hapi from 21.3.8 to 21.3.9 #898
  • Bump @aws-sdk/client-s3 from 3.550.0 to 3.552.0 #896
  • Return requirements link referral #862
  • Bump @aws-sdk/client-s3 from 3.549.0 to 3.550.0 #893
  • Persisting purposes data to session database #877
  • View match details for an element during 2PT review #871
  • Bump @aws-sdk/client-s3 from 3.540.0 to 3.549.0 #892

4 April 2024

  • Fix DetermineFinancialEndYearService #891

4 April 2024

  • Add a remove duplicate licence feature #883
  • Fix return link logic on two-part tariff licence review page #889
  • Add review badge, rename existing and call it tag! #885
  • Persist and retrieve rtn-req set up session values #814
  • Bump sass from 1.72.0 to 1.74.1 #888
  • Bump joi from 17.12.2 to 17.12.3 #886
  • Bump @hapi/hapi from 21.3.7 to 21.3.8 #887
  • Fix send bill run unflagging licences #884
  • Bump pg-query-stream from 4.5.4 to 4.5.5 #881
  • Bump pg from 8.11.4 to 8.11.5 #880
  • Abstraction amounts decimal point and display logic #872
  • Refactor DetermineBillingPeriods to use type #864
  • Bump supplementary end year if no annual bill run #875
  • Bump pg from 8.11.3 to 8.11.4 #874
  • Bump pg-query-stream from 4.5.3 to 4.5.4 #873
  • Fix error in match & allocate service crashing app #869
  • Fix licence issues failing to insert for review #867
  • Review an individual licence page #806
  • Fix FetchMatchingBillRunService for PRESROC 2PT #870
  • Remove redundant fetch for region code in service #866
  • Exclude ended charge versions from 2PT billing #865
  • Filter licences by issue on the 2PT Review Licences Page #842
  • Set abstraction and monitoring captions to always be plural #868
  • Fix bill run exists page for bill runs in review #863
  • Fix legacy requests for /heath/info page #860
  • Fix duplicated abstraction points for return requirements points page #861
  • Display abstraction amounts in view licence page summary tab #821

26 March 2024

  • Fix determine billing periods #859
  • Select the points for the requirements for returns page #833

25 March 2024

  • Fix for view licence abstraction conditions V2 #853
  • Bump @aws-sdk/client-s3 from 3.537.0 to 3.540.0 #858
  • Supplementary billing housekeeping #857
  • Remove generate bill and bill licence services #856
  • Move transaction matching logic to GeneralLib #855
  • Silo rebilling from supplementary #854
  • Add missing SubmitSendBillRunService unit tests #851
  • Do not unflag all SROC supplementary #852
  • Bump tar from 6.2.0 to 6.2.1 #850
  • Fix supplementary flags not clearing after 'send' #849
  • fix(app): amends from testing feedback #844
  • Fix FetchLiveBillRunsService #845
  • Replace live bill run checking in engine #843
  • Fix broken CheckLiveBillRunService #841
  • Filter licences by status on the 2PT Review Licences Page #835
  • Submit Check your answers page #811
  • Migrate confirm remove bill from bill run page #837
  • Bump @hapi/hapi from 21.3.6 to 21.3.7 #840
  • Bump @aws-sdk/client-s3 from 3.536.0 to 3.537.0 #839
  • Add Legacy DeleteBillRequest #838
  • Bump @aws-sdk/client-s3 from 3.535.0 to 3.536.0 #836
  • Fix std charge transaction presenter for S130 #823
  • Add missed remove licence button #824
  • Bump @aws-sdk/client-s3 from 3.534.0 to 3.535.0 #832
  • Bump @smithy/node-http-handler from 2.4.3 to 2.5.0 #819
  • fix alignment issue with abstraction condition link #822
  • Migrate legacy send bill run functionality #771
  • Add new Charging Module SendBillRunRequest #831
  • Add new Charging Module ViewBillRunRequest #830
  • Add new Charging Module WaitForStatusRequest #829
  • Migrate confirm remove licence from bill run page #828
  • Add relationship between bill and billing account #827
  • Add Legacy DeleteBillLicenceRequest #826
  • Add DELETE support to LegacyRequest #825
  • Filter Licences by Licence Holder Name on the 2PT Review Licences Page #809
  • Select the purpose for the requirements for returns page #774
  • Display abstraction conditions in view licence page summary tab #789
  • Fix matching logic in bill run setup #818
  • Bump @aws-sdk/client-s3 from 3.533.0 to 3.534.0 #820
  • Bump @aws-sdk/client-s3 from 3.529.1 to 3.533.0 #817
  • Bump sass from 1.71.1 to 1.72.0 #816
  • Bump @hapi/hapi from 21.3.3 to 21.3.6 #815
  • Add creating the bill run to end of setup journey #812
  • Bump @smithy/node-http-handler from 2.4.2 to 2.4.3 #813
  • Handle bill run setup matches an existing bill run #810
  • Add bill runs setup season page to journey #808
  • Fix missing page titles from 500 and 404 #807
  • Add bill runs setup financial year page to journey #805
  • Add bill runs setup region page to journey #804
  • Persist match and allocate issues and status #772
  • Make the test helper licence ref more random #803
  • Add bill runs setup type page to journey #802
  • Add first route to bill run setup journey #801
  • Add legacy create bill run request #800
  • Return instead of await requests #799
  • Move legacy refresh requests to module #798
  • Migrate Charging Module services to *.request.js #797
  • Add defra-user-id header to legacy requests #796
  • Move non-model helpers out of helpers #795
  • Move currentFinancialYear() from test #794
  • Bump @aws-sdk/client-s3 from 3.525.0 to 3.529.1 #793
  • Bump @smithy/node-http-handler from 2.4.1 to 2.4.2 #792
  • use refactored id for monitoring station #791
  • Display monitoring stations in view licence page summary tab #773
  • Cancel a 2PT Bill Run from the Review Licences Screen #788
  • Alter return_logs view #781
  • Remove unused frontend macros from cancel view (#786) #787
  • Remove unused frontend macros from cancel view #786
  • Migrate view errored bill run page #785
  • Fix badge for empty status #784
  • Migrate view empty bill run page #783
  • Add submit cancel bill run endpoint #782
  • Add cancel bill run page #780
  • Add Charging Module Delete Bill Run Service #779
  • Add support for DELETE to RequestLib #778
  • Add Bill Run Charge Version Years model #777
  • Bump @aws-sdk/client-s3 from 3.523.0 to 3.525.0 #776

29 February 2024

  • Display public water supply charge in bill licence #775
  • Enter site description for return requirement page #748
  • View licence summary points of abstraction bug #770
  • Display points of abstraction and link in view licence page summary tab #756
  • Bump @aws-sdk/client-s3 from 3.521.0 to 3.523.0 #768
  • Add controls & validation for Rtn req setup page #758
  • Update allocation engine to handle overdue returns #759
  • Bump nock from 13.5.3 to 13.5.4 #766
  • Fix bill licences with no transactions in bill run #765
  • Fix annual billing not excluding workflow licences #763
  • Bump @aws-sdk/client-s3 from 3.515.0 to 3.521.0 #762
  • Update annual process bill run to connect engine #760
  • Handle live bill run check for annual bill runs #761
  • Use new tudor crown #757
  • Bump @smithy/node-http-handler from 2.3.1 to 2.4.0 #755
  • Add Annual ProcessBillingPeriodService #753
  • Display source of supply in view licence page summary tab #732
  • Bump joi from 17.12.1 to 17.12.2 #754
  • Add annual bill run FetchBillingAccountsService #751
  • Bump sass from 1.71.0 to 1.71.1 #752
  • Add relationship - billing acc. <-> chg. version #750
  • Add missed table to tear-down function #749
  • Move SendTransactions to root with refactoring #745
  • Remove Landing Page From System #747
  • Fix & tidy test DB legacy migrations #725
  • Returns required - Select an existing return requirement from basic page #746
  • Bump dotenv from 16.4.4 to 16.4.5 #744
  • Determine match and allocate issues and status 875f478

19 February 2024

  • Bump nock from 13.5.1 to 13.5.3 #743
  • Returns required - Setup page (3 of 7) #737
  • Bump @aws-sdk/client-s3 from 3.514.0 to 3.515.0 #742
  • Bump sass from 1.70.0 to 1.71.0 #741
  • Bump @aws-sdk/client-s3 from 3.513.0 to 3.514.0 #738
  • Remove abstraction text for under query licence #736
  • Create Landing page #728
  • Bump @aws-sdk/client-s3 from 3.511.0 to 3.513.0 #734
  • Bump objection from 3.1.3 to 3.1.4 #735
  • Bump dotenv from 16.4.3 to 16.4.4 #733
  • Add no returns to licence review page #731
  • Bump dotenv from 16.4.2 to 16.4.3 #730
  • View licence summary page issues #729
  • return null when no name set for licence #723
  • Bump dotenv from 16.4.1 to 16.4.2 #727
  • Bump @aws-sdk/client-s3 from 3.509.0 to 3.511.0 #726
  • Add wipe test DB function to project #724
  • View licence summary abstraction periods #721
  • Move shared billing services to bill-runs root #720
  • Stop showing supp source charge as negative #719
  • Create review an individual licence for 2PT bill run #704
  • Standardise JSDoc comments to use the promise tag for returns params #717
  • Make requests to the CHA more resilient #718
  • Add pre back into protected environments #716
  • Bump @aws-sdk/client-s3 from 3.507.0 to 3.509.0 #715

7 February 2024

  • Fix bill licence supp source decimal in wrong place #714
  • Fix bill licence charge ref decimal in wrong place #713
  • View licence summary registered user #707
  • content change for view licence summary page #712
  • Bump @aws-sdk/client-s3 from 3.504.0 to 3.507.0 #711
  • Bump govuk-frontend from 4.7.0 to 4.8.0 #710
  • Connect 2PT bill run request to match & allocate engine #705
  • Add controls & validation to rtn reqs reason page #688
  • Display purposes in view licence page summary tab #682
  • Update no-returns-required to use submit service #708
  • Bump @aws-sdk/client-s3 from 3.503.1 to 3.504.0 #706
  • Review Result of 2PT Matching for selected Region #663
  • Bump @aws-sdk/client-s3 from 3.502.0 to 3.503.1 #703
  • Move the calculate & log time feature to lib #701
  • Handle create annual bill run requests #697
  • Bump @hapi/hapi from 21.3.2 to 21.3.3 #700
  • Bump @aws-sdk/client-s3 from 3.501.0 to 3.502.0 #698
  • Bump joi from 17.12.0 to 17.12.1 #699
  • Returns required journey - Select start date page iteration 2 (1 of 7) #646
  • Add missing title in view licence page #694
  • Add Licence holder name to view licence page #679
  • Add registered user modifier to LicenceModel #693
  • Bump @aws-sdk/client-s3 from 3.499.0 to 3.501.0 #696
  • Bump nock from 13.5.0 to 13.5.1 #695
  • Fix database cleaning breaking migrations #692
  • Add LicenceEntityRoleModel #691
  • Add LicenceEntityModel #690

27 January 2024

  • Create licence holder seeder #689
  • Update 2PT /check endpoint with latest services #680
  • Bump @aws-sdk/client-s3 from 3.498.0 to 3.499.0 #686
  • Bump dotenv from 16.4.0 to 16.4.1 #687
  • Move getting the licence holder to the model #683
  • Bump @aws-sdk/client-s3 from 3.496.0 to 3.498.0 #685
  • Bump dotenv from 16.3.2 to 16.4.0 #684
  • Move licence end date logic to model #681
  • Add warning text to view licence page #670
  • Bump @aws-sdk/client-s3 from 3.495.0 to 3.496.0 #678
  • Bump dotenv from 16.3.1 to 16.3.2 #676
  • Bump @smithy/node-http-handler from 2.3.0 to 2.3.1 #677
  • Fix licence agreement tear down again! #675
  • Fix tear-down by switching to single query #674
  • Fix broken licence agreement tear-down #673
  • Improve tear down speed #671
  • Bump @aws-sdk/client-s3 from 3.490.0 to 3.495.0 #672
  • Bump actions/cache from 3 to 4 #669
  • Fix and improve acceptance testing attributes #665
  • Bump @smithy/node-http-handler from 2.2.2 to 2.3.0 #667
  • Bump joi from 17.11.1 to 17.12.0 #668
  • Bump sass from 1.69.7 to 1.70.0 #666
  • Fix issues with reissue post The Great Rename #664
  • Licence Summary Page - Summary Tab #631
  • Create match and allocate service #660
  • Allocate returns to licence service #628
  • Bump @hapi/lab from 25.1.3 to 25.2.0 #662
  • Bump joi from 17.11.0 to 17.11.1 #661
  • Add LicenceDocumentHeaderModel #640
  • Refactor Persist Allocated Licences To Results Service #658
  • Match return to charge element service #638
  • Refactor Prepare Licence For Allocation Service #656
  • Bump nock from 13.4.0 to 13.5.0 #659
  • Bump @aws-sdk/client-s3 from 3.489.0 to 3.490.0 #657
  • Determine licence start date 4 returns reqs setup #655
  • Fix missing titles in returns reqs. set up pages #651
  • Redirect rtns reqs start-date to correct journey #650
  • Fix return requirements start-date back link #649
  • Support both return requirements set up journeys #648
  • Bump @aws-sdk/client-s3 from 3.485.0 to 3.489.0 #652
  • Housekeeping of return requirement routes #647
  • Why no returns required? page iteration 2 #636
  • Persisting the results data from the two-part tariff match and allocate service #616
  • Fix download link in view bill run page #642
  • Add licence ref. and holder to rtn. req. session #639
  • Add LicenceDocument relationship to LicenceModel #632
  • Bump @aws-sdk/client-s3 from 3.484.0 to 3.485.0 #633
  • Add LicenceDocumentRoleModel from document_roles #630
  • Add LicenceRoleModel from crm_v2.roles #629
  • Bump @smithy/node-http-handler from 2.2.1 to 2.2.2 #627
  • Bump sass from 1.69.6 to 1.69.7 #626
  • Bump @aws-sdk/client-s3 from 3.481.0 to 3.484.0 #625
  • Select how often readings or volumes are collected #622
  • Enter a site description for returns setup #612
  • Select the points for the return requirement #609
  • Select returns cycle for returns set up #611
  • Select how often readings or volumes are reported #623
  • Select agreements and exceptions #624
  • Select the purpose for the return requirement #608
  • Enter abstraction period dates for return set up #610
  • Bump sass from 1.69.5 to 1.69.6 #621
  • Bump pino-pretty from 10.3.0 to 10.3.1 #620
  • Bump @aws-sdk/client-s3 from 3.478.0 to 3.481.0 #619
  • Prepare licence for allocation service #589
  • Add LicenceDocumentModel from crm_v2.documents #618
  • Bump @aws-sdk/client-s3 from 3.477.0 to 3.478.0 #617
  • Speed up RequestLib tests #162
  • remove back link from check your answer pages #615
  • Bump @aws-sdk/client-s3 from 3.476.0 to 3.477.0 #614
  • update back links to use new return-requirement pattern #613
  • Move rtn req. routes and session handling #597
  • Move jobs to an explicit /jobs endpoint #607
  • Add README to models and migrations folders #605
  • Bump @aws-sdk/client-s3 from 3.474.0 to 3.476.0 #606
  • Add changeReason to two-part-tariff fetch-charge-versions service #603
  • Amend bill count in bill run view for zero value #602
  • Add Contact info link to header #601
  • Add new view bill run endpoint and template #544
  • Add new view bill run service #543
  • Add new bill summaries presenter #542
  • Refactor to use new view based WATER models #569
  • Fix missing fields in bill runs view #599
  • Fix check two-part tariff region endpoint #598
  • Set up session table (return requirements) #594
  • Update back urls #596
  • Update 2PT check endpoint with alternate changes #582
  • Exclude ended licences in two-part tariff matching #595
  • Include volume in FetchChargeVersionsService #586
  • Bump @aws-sdk/client-s3 from 3.473.0 to 3.474.0 #593
  • Bump pino-pretty from 10.2.3 to 10.3.0 #592
  • Bump @aws-sdk/client-s3 from 3.472.0 to 3.473.0 #588
  • Add new page for add a note #587
  • Requirement approval page #585
  • Add check your answers page for return required journey #584
  • Create fetch-licences service #577
  • Add check your answers page (return requirements) #579
  • Bump @aws-sdk/client-s3 from 3.470.0 to 3.472.0 #583
  • Add requirements approved page (return requirements) #580
  • Return aggregate as a float #581
  • Add no returns required page (return requirements) #573
  • Add Select the start date (return requirements) #574
  • Bump @aws-sdk/client-s3 from 3.468.0 to 3.470.0 #576
  • Remove mock data endpoint #575
  • Fetch charge versions service #546
  • Bump @aws-sdk/client-s3 from 3.465.0 to 3.468.0 #572
  • Refactor to use new view based RETURNS models #568
  • Bump @hapi/hoek from 11.0.3 to 11.0.4 #571
  • Bump @smithy/node-http-handler from 2.1.10 to 2.2.1 #570
  • Refactor to use new view based CRM_V2 models #566
  • Create models, migrations, helpers and unit test for new tables #552
  • Create water schema models & helpers #560
  • Refactor to use new view based IDM models #565
  • Bump @hapi/hoek from 11.0.2 to 11.0.3 #567
  • Create idm schema models and helpers #563
  • Create crm_v2 schema models and helpers #561
  • Bump @aws-sdk/client-s3 from 3.462.0 to 3.465.0 #564
  • Use absolute paths for relations in legacy models #562
  • Fix billing acc. address error when town is empty #558
  • Create water schema views #551
  • Bump @aws-sdk/client-s3 from 3.461.0 to 3.462.0 #559
  • Bump @aws-sdk/client-s3 from 3.460.0 to 3.461.0 #557
  • Create crm_v2 schema views #556
  • Create idm schema views #555
  • Bump @aws-sdk/client-s3 from 3.458.0 to 3.460.0 #554
  • Bump nock from 13.3.8 to 13.4.0 #553
  • Adding a periods overlap helper #548
  • Bump @aws-sdk/client-s3 from 3.456.0 to 3.458.0 #550
  • Bump objection from 3.1.2 to 3.1.3 #549
  • Add new view bill run presenter #541
  • Create fetch-returns-for-licence service #547
  • Remove home.template #539
  • Add fetch bill run service for view bill run page #537
  • Remove back-link nunjucks includes #540
  • Build models for returns based on new Views #533
  • Rename existing bill-runs template to review.njk #545
  • Rename bill presenters to match convention #538
  • Rename billing presenters to bill-runs #536
  • Bump @smithy/node-http-handler from 2.1.9 to 2.1.10 #535
  • Bump @aws-sdk/client-s3 from 3.454.0 to 3.456.0 #534
  • Rename package.json migration scripts #532
  • Make migrations work for real and in test #531
  • Refactor existing service to create a new one #529
  • Bump @aws-sdk/client-s3 from 3.451.0 to 3.454.0 #530
  • Move DetermineChargePeriodService #528
  • Bump @aws-sdk/client-s3 from 3.450.0 to 3.451.0 #527
  • Rename custom SCSS class #526
  • Remove reporting from /health/info #521
  • Fix bill total wrapping when a credit #525
  • Fix bill total in single licence bill page #524
  • Fix display of financial year in new bill views #523
  • Fix display of credit transactions in bill views #522
  • Bump @aws-sdk/client-s3 from 3.449.0 to 3.450.0 #519
  • Fix Airbrake when behind a proxy #520
  • Bump @smithy/node-http-handler from 2.1.8 to 2.1.9 #518
  • Bump @aws-sdk/client-s3 from 3.445.0 to 3.449.0 #517
  • Rename services/billing to bill-runs #516
  • Rename Invoice Account to Billing Account #515
  • Add new single licence bill templates #514
  • Split MultiLicencePresenter into 2 new ones #513
  • Linking 2PT SROC review page #504
  • Handle create 2PT bill run requests #503
  • Bump @aws-sdk/client-s3 from 3.441.0 to 3.445.0 #512
  • Fix 1st pass issues with bill & bill licence pages #511
  • Add new view bill licence endpoint and template #510
  • Add view bill licence service #509
  • https://eaflood.atlassian.net/browse/WATER-4156 #508
  • Add new fetch bill licence service #501
  • Add new Compensation Charge Transaction presenter #506
  • Add new Standard Charge Transaction presenter #507
  • Add new Minimum Charge Transaction presenter #505
  • Amend ChargeReferenceModel for PRESROC #502

6 November 2023

  • Fix missing backlink in view bill page #500
  • Add new view bill endpoint and template #499
  • Add new view bill service #498
  • Add new Multi-licence bill presenter #496
  • Add new fetch bill service #495
  • Bump nock from 13.3.7 to 13.3.8 #497
  • Add new fetch billing account service #493
  • Bump @aws-sdk/client-s3 from 3.440.0 to 3.441.0 #494
  • Charge periods shown on bills in supplementary billing show all year #492
  • Refactor money formatters in base presenter #491
  • Add new format money with commas to presenters #485
  • Bump @aws-sdk/client-s3 from 3.438.0 to 3.440.0 #490
  • Bump nock from 13.3.6 to 13.3.7 #489
  • Bump @aws-sdk/client-s3 from 3.437.0 to 3.438.0 #488
  • Add referrer (request source) to global context #486
  • Bump @aws-sdk/client-s3 from 3.436.0 to 3.437.0 #487
  • Bump sass from 1.69.4 to 1.69.5 #484
  • Bump @aws-sdk/client-s3 from 3.435.0 to 3.436.0 #483
  • Add phase banner to our page layout #480
  • Implement nav bar for internal users #478
  • Bump @aws-sdk/client-s3 from 3.433.0 to 3.435.0 #482
  • Bump actions/setup-node from 3 to 4 #481
  • Bump @aws-sdk/client-s3 from 3.431.0 to 3.433.0 #479
  • Update page header with user links #474
  • Add auth & user details to view context by default #477
  • Handle unauthorized errors plus return safe codes #472
  • Add missing links to page footer #473
  • Bump @smithy/node-http-handler from 2.1.7 to 2.1.8 #475
  • Bump nock from 13.3.4 to 13.3.6 #476
  • Enable and config authentication as default #466
  • Bump @aws-sdk/client-s3 from 3.430.0 to 3.431.0 #471

18 October 2023

  • Bump @aws-sdk/client-s3 from 3.429.0 to 3.430.0 #470
  • Bump sass from 1.69.3 to 1.69.4 #469
  • Bump @babel/traverse from 7.19.3 to 7.23.2 #468
  • Bump @aws-sdk/client-s3 from 3.428.0 to 3.429.0 #467
  • Actually remove server.dependency from auth plugin #465
  • Fix and rename Authentication plugin #464
  • Add system to new status page #462
  • Bump @aws-sdk/client-s3 from 3.427.0 to 3.428.0 #463
  • Bump sass from 1.69.2 to 1.69.3 #461
  • Remove licences with charge elements with approaching time limits from billing #443
  • Bump nock from 13.3.3 to 13.3.4 #460
  • Bump sass from 1.69.1 to 1.69.2 #459
  • Create migration script, model, helper and unit tests for licence_versions #456
  • Bump sass from 1.69.0 to 1.69.1 #457
  • Bump @aws-sdk/client-s3 from 3.425.0 to 3.427.0 #454
  • Make test data helpers more 'unique' #452
  • Add capitalize() method to base presenter #451
  • Bump sass from 1.68.0 to 1.69.0 #453
  • Bump joi from 17.10.2 to 17.11.0 #450
  • Bump @aws-sdk/client-s3 from 3.423.0 to 3.425.0 #449
  • Bump pino-pretty from 10.2.2 to 10.2.3 #448
  • Bump pino-pretty from 10.2.0 to 10.2.2 #446
  • Change where the allocated Return volume is held #445
  • Bump @aws-sdk/client-s3 from 3.421.0 to 3.423.0 #444
  • Allocate returns volumes to charge elements #436
  • Bump objection from 3.1.1 to 3.1.2 #441
  • Add new bill run volume model #440
  • Bump @smithy/node-http-handler from 2.1.5 to 2.1.6 #439
  • Bump @aws-sdk/client-s3 from 3.420.0 to 3.421.0 #437
  • Bump @aws-sdk/client-s3 from 3.418.0 to 3.420.0 #435
  • Tweak data tear-down #434
  • Only include return submissions for the billing period #433
  • Bump @aws-sdk/client-s3 from 3.417.0 to 3.418.0 #432
  • Upgrade to Node 20 & simplify CI Node install #431
  • Bump @aws-sdk/client-s3 from 3.414.0 to 3.417.0 #429
  • Bump sass from 1.67.0 to 1.68.0 #428
  • Bump @smithy/node-http-handler from 2.1.4 to 2.1.5 #427
  • Bump joi from 17.10.1 to 17.10.2 #424
  • Bump @aws-sdk/client-s3 from 3.413.0 to 3.414.0 #426
  • Bump @smithy/node-http-handler from 2.1.3 to 2.1.4 #425
  • The Great Rename #416
  • Add support for alias to Legacy Models #423

16 September 2023

  • Bump @aws-sdk/client-s3 from 3.412.0 to 3.413.0 #422
  • Bump @aws-sdk/client-s3 from 3.410.0 to 3.412.0 #421
  • Bump sass from 1.66.1 to 1.67.0 #420
  • Bump @smithy/node-http-handler from 2.1.2 to 2.1.3 #419
  • Bump @aws-sdk/client-s3 from 3.409.0 to 3.410.0 #418
  • Add service to calculate volumes for a return #410
  • Move UUID generator to single place #415
  • Bump @aws-sdk/client-s3 from 3.408.0 to 3.409.0 #417
  • Bump @aws-sdk/client-s3 from 3.405.0 to 3.408.0 #414
  • Bump @smithy/node-http-handler from 2.1.1 to 2.1.2 #413
  • Create authentication plugin #351
  • Add new Billing Account change address service #400
  • Fix /health/info Redis connection #411
  • Bump @smithy/node-http-handler from 2.0.5 to 2.1.1 #412
  • Add return schema lines and versions models #408
  • Standardise how model helpers generate dates #409
  • Add missing information to /health/info page #376
  • Add missing CRM_V2 table constraints #404
  • Fix missing schema from DatabaseHelper #405
  • Bump actions/checkout from 3 to 4 #407
  • Bump tar from 6.1.15 to 6.2.0 #406
  • Create FetchUserRolesAndGroupsService #392
  • Create new presenter to format a date #403
  • Add Redis info to health/info page #402
  • Bump @aws-sdk/client-s3 from 3.400.0 to 3.405.0 #401
  • Add new billing accounts send customer change svc #396
  • Add proxy support to SendToS3BucketService #358
  • Update billing-accounts ctrlr to validate request #397
  • Delete Create Billing Transaction Service #398
  • Bump joi from 17.10.0 to 17.10.1 #399
  • Add new CHA create customer change presenter #395
  • Add new CHA create customer change service #394
  • Update notes for contact and company CRM_V2 models #393
  • Create group_roles, user_groups and user_roles models for authentication plugin #391
  • Create group, role and user models for authentication plugin #387
  • Add new billing account change address validator #383
  • Housekeeping for create bill run validator #390
  • Update new CRM_V2 models with relationships #385
  • Bump @aws-sdk/client-s3 from 3.398.0 to 3.400.0 #389
  • Bump joi from 17.9.2 to 17.10.0 #388
  • Fix idm-group-roles migration #386
  • Create idm migrations for authentication plugin #384
  • Add new /billing-accounts endpoint #382
  • Add CRM_V2 invoice account address model #381
  • Add CRM_V2 company model #380
  • Add CRM_V2 contact model #379
  • Add CRM_V2 address model #378
  • Add automatic payload cleaning #375
  • Bump @aws-sdk/client-s3 from 3.397.0 to 3.398.0 #374
  • Bump @aws-sdk/client-s3 from 3.395.0 to 3.397.0 #373
  • Remove unnecessary async #372
  • Handle return descriptions with double spaces #371
  • Bump @aws-sdk/client-s3 from 3.391.0 to 3.395.0 #369
  • Bump sass from 1.66.0 to 1.66.1 #370
  • Refactor controllers out of folders #368
  • Determine returns matching status for licence #365
  • Bump sass from 1.65.1 to 1.66.0 #367
  • Handle returns without alias in friendly response #366
  • Bump nock from 13.3.2 to 13.3.3 #363
  • Bump pg from 8.11.2 to 8.11.3 #364
  • Bump pg-query-stream from 4.5.2 to 4.5.3 #362
  • Amend 2PT friendly response following changes #361
  • Get Return Status as part of Matching Algorithm #360
  • Implement TwoPartService 'friendly' response #359
  • Get Return Status as part of Matching Algorithm #357
  • Match returns to chargePurpose #356
  • Add Got retry hook to log when retries happen #354
  • Create endpoint to generate mock data #347
  • Fix logging of unhandled errors #352
  • TPT testing scenarios fixes #353
  • Bump @aws-sdk/client-s3 from 3.388.0 to 3.391.0 #355
  • Add new data formatters to base presenter #350
  • Bump @aws-sdk/client-s3 from 3.387.0 to 3.388.0 #349
  • Bump sass from 1.64.2 to 1.65.1 #348
  • Add timing to 2PT matching service #346
  • Bump @aws-sdk/client-s3 from 3.386.0 to 3.387.0 #345
  • Add friendly formatting to two-part tariff endpoint #344
  • Include charge category in 2PT matching results #343
  • Match returns to charge version by purpose type #342
  • Switch to Charge Version as base for 2PT matching #340
  • Bump @aws-sdk/client-s3 from 3.385.0 to 3.386.0 #341
  • Bump @aws-sdk/client-s3 from 3.383.0 to 3.385.0 #339
  • Bump @hapi/vision from 7.0.2 to 7.0.3 #338
  • Match CV data to returns data for 2PT billing pt2 #334
  • Add crm_v2 to DatabaseHelper clean() method #337
  • Using streams on schema export service #319
  • Create model for purposes_uses table #335
  • Fix broken process billing period unit test #336
  • Update migrations to follow team convention #330
  • Update existing JSONB queries to use whereJsonPath #332

3 August 2023

  • Bump @aws-sdk/client-s3 from 3.382.0 to 3.383.0 #333
  • Fix 2PT query #331
  • Match CV data to returns data for 2PT billing #328
  • Bump @aws-sdk/client-s3 from 3.379.1 to 3.382.0 #329
  • Major version update of packages #327
  • Identify Licences for 2 Part Tariff Annual Billing (SROC) #324
  • Bump pg from 8.11.1 to 8.11.2 #325
  • Bump sass from 1.64.1 to 1.64.2 #326
  • Bump @aws-sdk/client-s3 from 3.378.0 to 3.379.1 #323
  • Bump @aws-sdk/client-s3 from 3.377.0 to 3.378.0 #322
  • Improve reissuing error logging #320
  • Bump @aws-sdk/client-s3 from 3.374.0 to 3.377.0 #321
  • Bump objection from 3.0.5 to 3.1.1 #317
  • Bump sass from 1.64.0 to 1.64.1 #318
  • Bump objection from 3.0.4 to 3.0.5 #315
  • Bump @aws-sdk/client-s3 from 3.373.0 to 3.374.0 #316
  • Bump @aws-sdk/client-s3 from 3.370.0 to 3.373.0 #314
  • Bump sass from 1.63.6 to 1.64.0 #313
  • Bump word-wrap from 1.2.3 to 1.2.4 #312
  • Fix reissuing ALCS invoice bug #311
  • Fix reissuing bugs #310
  • Bump nock from 13.3.1 to 13.3.2 #309
  • Bump @aws-sdk/client-s3 from 3.369.0 to 3.370.0 #308
  • Bump knex from 2.5.0 to 2.5.1 #306
  • Fix where supplementary billing service tests are #305
  • Move and make generic some billing services #304
  • Add back in our check endpoint #302
  • Bump @aws-sdk/client-s3 from 3.367.0 to 3.369.0 #303

10 July 2023

  • Bump knex from 2.4.2 to 2.5.0 #301
  • Move supplementary-billing to new billing folder #300
  • Move db-export services to data folder #299
  • Add reissuing to ProcessBillingBatchService #290
  • Bump govuk-frontend from 4.6.0 to 4.7.0 #298
  • Bump @aws-sdk/client-s3 from 3.363.0 to 3.367.0 #297
  • Add new custom ExpandedError #296
  • Fix omfg() in HandleErroredBillingBatch #295
  • Add initial seeding support using users #285
  • Implement SROC invoice reissuing #256
  • Bump pino-pretty from 9.4.0 to 9.4.1 #294
  • Fix licence ends before billing period #293
  • Bump @aws-sdk/client-s3 from 3.362.0 to 3.363.0 #291
  • Bump objection from 3.0.1 to 3.0.4 #292
  • Bump @aws-sdk/client-s3 from 3.360.0 to 3.362.0 #289
  • Fix tear-down service #288
  • Bump @hapi/lab from 25.1.2 to 25.1.3 #287
  • Fix -billableDays 4 out of period charge versions #286
  • Bump pg from 8.11.0 to 8.11.1 #282
  • Bump @aws-sdk/client-s3 from 3.359.0 to 3.360.0 #283
  • Fix supp. billing not crediting old accounts #280
  • Bump @aws-sdk/client-s3 from 3.358.0 to 3.359.0 #281
  • Bump @aws-sdk/client-s3 from 3.357.0 to 3.358.0 #279
  • Bump @aws-sdk/client-s3 from 3.354.0 to 3.357.0 #278
  • Bump sass from 1.63.5 to 1.63.6 #277
  • Better handle errors in Notifiers #273
  • Bump sass from 1.63.4 to 1.63.5 #276
  • Bump sinon from 15.1.2 to 15.2.0 #275
  • Bump @aws-sdk/client-s3 from 3.353.0 to 3.354.0 #272
  • Bump dotenv from 16.2.0 to 16.3.1 #271
  • Bump dotenv from 16.1.4 to 16.2.0 #270
  • Bump @aws-sdk/client-s3 from 3.352.0 to 3.353.0 #269
  • Bump sass from 1.63.3 to 1.63.4 #267
  • Bump @aws-sdk/client-s3 from 3.350.0 to 3.352.0 #268
  • SROC Supplementary flag not cleared for 'non-chargeable' licence #266
  • Bump sinon from 15.1.0 to 15.1.2 #264
  • Bump @hapi/vision from 7.0.1 to 7.0.2 #262
  • Bump sass from 1.63.2 to 1.63.3 #263
  • Bump @aws-sdk/client-s3 from 3.348.0 to 3.350.0 #261
  • Bump @aws-sdk/client-s3 from 3.347.1 to 3.348.0 #259
  • Bump sass from 1.62.1 to 1.63.2 #260
  • Fix no credits for REPLACED charge versions #258
  • Bump @aws-sdk/client-s3 from 3.345.0 to 3.347.1 #257
  • Create new Charging Module services for reissuing #255
  • Multi-Year SROC Supplementary Billing #228
  • Bump @aws-sdk/client-s3 from 3.344.0 to 3.345.0 #254
  • Bump dotenv from 16.1.3 to 16.1.4 #253
  • Uploading compressed tarball file to S3 #250
  • Bump @aws-sdk/client-s3 from 3.342.0 to 3.344.0 #252
  • Split ProcessBillingPeriodService into multiple services #241
  • Bump dotenv from 16.1.1 to 16.1.3 #251

1 June 2023

  • Export a schema #238
  • Bump dotenv from 16.0.3 to 16.1.1 #248
  • Bump @aws-sdk/client-s3 from 3.341.0 to 3.342.0 #249
  • Bump standard from 17.0.0 to 17.1.0 #247
  • Bump got from 12.6.0 to 12.6.1 #246
  • Bump @aws-sdk/client-s3 from 3.338.0 to 3.341.0 #245
  • Bump json5 from 1.0.1 to 1.0.2 #244
  • Fix isNewLicence null violation for prev. trans. #243
  • Fix issue using Array.at() - Node is to old #242
  • Bump @aws-sdk/client-s3 from 3.337.0 to 3.338.0 #240
  • Bump @aws-sdk/client-s3 from 3.335.0 to 3.337.0 #239
  • Getting table names from schema #237
  • Refactor, unit tests & add NewBillingBatchService #236
  • Generalising fetch billing charge categories service #232
  • Bump sinon from 15.0.4 to 15.1.0 #235
  • Bump @aws-sdk/client-s3 from 3.332.0 to 3.335.0 #234
  • Refactor start of processing a supp. billing batch #233
  • Fix Airbrake integration #231
  • Stop sending Airbrake notifications in tests #229
  • Process billing batch move db writes #230
  • Adding logging to the db export service #227
  • Multi Year Supplementary Billing #226

17 May 2023

  • Add endpoint for Db export #223
  • Fix comparison Section 126 factor in supp. billing #224
  • Bump pg from 8.10.0 to 8.11.0 #225
  • ProcessBillingBatchService refactor - pre-generate invoice licences #218
  • Unflag all processed licences not in bill run #221
  • Bump @aws-sdk/client-s3 from 3.331.0 to 3.332.0 #222
  • Clean up temporary files #219
  • Add prefix to 2PT billing transaction descriptions #220
  • Uploading file to AWS S3 bucket #211
  • Fix ProcessBillingBatchService refactor bug #217
  • Refactor ProcessBillingBatchService - first pass #214
  • Reliable test data clear down #215
  • Fix incorrect cleanse of previous transactions #216
  • Tidy supplementary billing code - second pass #208
  • Use destructured billingBatchId 15ba5aa

9 May 2023

  • Handle soft deleted workflow in supp. billing #213
  • Bump actions/checkout from 2 to 3 #212
  • Fix including unnecessary supp. billing trans. #210
  • Add auto-merge GitHub workflow #209
  • Compress billing-charge-categories export #205
  • Improve supplementary billing test coverage #203
  • Inc. changes to agreements & charges in supp bill #207
  • Consider Revoked, Expired, Lapsed licences dates when calculating charges #204
  • Bump nock from 13.3.0 to 13.3.1 #206
  • Extract table results to a file #193

27 April 2023

  • Bump joi from 17.9.1 to 17.9.2 #200
  • Bump @hapi/hapi from 21.3.1 to 21.3.2 #199
  • Bump sass from 1.62.0 to 1.62.1 #201
  • Tidy supplementary billing code #197
  • Make test helpers consistent #198
  • Bump sinon from 15.0.3 to 15.0.4 #195
  • Bump govuk-frontend from 4.5.0 to 4.6.0 #196
  • Fix re-processing REPLACED charge versions #192
  • Fix supplementary bill run errors with non-chargeable charge versions #194
  • Export billing_charge_categories #189
  • Standardise how we test the length of an array #190
  • Bump nunjucks from 3.2.3 to 3.2.4 #191
  • Handle REPLACED charge v's with different inv. acc #179
  • Bump sass from 1.61.0 to 1.62.0 #188
  • Fix fetch-charge-versions service #187
  • Bump sass from 1.60.0 to 1.61.0 #185
  • Reverse previous SROC billing batches in supplementary bill run process #186
  • Clear the SROC Supp Billing flag when billrun empty #184
  • Hack for supplementary billing being late #183

4 April 2023

  • Handle no charge versions in ProcessBillingBatch #174
  • We are incorrectly crediting all the previous charge versions #182
  • Fix no error in logs for process billing batch #181
  • Update FetchChargeVersions to use SROC flag #177
  • Remove FetchLicencesService #178
  • Bump @hapi/hapi from 21.3.0 to 21.3.1 #180
  • Licences in Workflow should not be considered #176
  • Bump sinon from 15.0.2 to 15.0.3 #175
  • Bump sass from 1.59.3 to 1.60.0 #173
  • Create Reverse Billing Batch Licences service #167

21 March 2023

  • Bump joi from 17.8.4 to 17.9.1 #172

15 March 2023

  • Bump sass from 1.59.2 to 1.59.3 #168
  • Fix cached data in ProcessBillingBatchService #166
  • Log time taken to process a bill run #163
  • Bump joi from 17.8.3 to 17.8.4 #164
  • Bump @hapi/inert from 7.0.1 to 7.1.0 #165
  • Handle errors in ProcessBillingBatchService #161
  • Bump sinon from 15.0.1 to 15.0.2 #160
  • Bump sass from 1.58.3 to 1.59.2 #159
  • Amend charge versions fetched for SROC supplementary #158
  • Handle empty supplementary bill runs #153
  • Refactor how we create transactions #157
  • Fix error calculating auth. and billable days #156
  • Fix dupe bill. invoice licence in process service #155
  • Bump pg from 8.9.0 to 8.10.0 #154
  • Update Process Batch service for debit only #133
  • Refactor CreateTransactionsService to persist #151
  • Add Determine Minimum Charge Service #149
  • Move determineChargePeriod() to a service #150
  • Bump got from 12.5.3 to 12.6.0 #148
  • Start processing the billing batch from Initiate #147
  • Add Charging Module Create Transaction Presenter #145
  • Return PostgreSQL decimals as numbers not strings #146
  • Add Base Presenter module #144
  • Add LegacyRequestLib #143
  • Add Charging Module generate bill run service #141
  • Add PATCH support to our request lib modules #142
  • Add Charging Module create transaction service #140
  • Fix missing bill run number in batch #137
  • Only log essential info on failed requests #139
  • Fix response handling for Charging Module requests #138
  • Update fetch charge versions service in water-abstraction-system #136
  • Add billing_transaction model to water-abstraction-system #135
  • Add change_reason model to water-abstraction-system #134
  • Refactor to use ChargingModuleRequestLib #130
  • Bump pino-pretty from 9.3.0 to 9.4.0 #132
  • Add SROC Supplementary Billing Invoice Service #119
  • Add legacy db snake case mappers #131
  • Create ChargingModuleRequestLib #129
  • Bump joi from 17.8.1 to 17.8.3 #128
  • Generate Billing Invoice Licence record for SROC #124
  • Determine other factors for SROC transaction line #108
  • Bump pino-pretty from 9.2.0 to 9.3.0 #127
  • Bump sass from 1.58.1 to 1.58.3 #126
  • Bump joi from 17.7.1 to 17.8.1 #125

v0.1.0

15 February 2023

  • Add support for versioning the repo #122
  • Bump sass from 1.58.0 to 1.58.1 #121
  • Bump @hapi/hapi from 21.2.2 to 21.3.0 #120
  • Add transaction service to water-abstraction-system #109
  • Bump @hapi/vision from 7.0.0 to 7.0.1 #114
  • Bump @hapi/inert from 7.0.0 to 7.0.1 #113
  • Bump @hapi/hapi from 21.2.1 to 21.2.2 #116
  • Bump pino-pretty from 9.1.1 to 9.2.0 #117
  • Bump @hapi/code from 9.0.2 to 9.0.3 #112
  • Bump @hapi/lab from 25.1.0 to 25.1.2 #118
  • Bump joi from 17.7.0 to 17.7.1 #111
  • Create service to consolidate date ranges #110
  • Add GlobalNotifier to the app #100
  • Bump sass from 1.57.1 to 1.58.0 #107
  • Bump govuk-frontend from 4.4.1 to 4.5.0 #106
  • Create error bill run when CM fails #104
  • Fix CHA CreateBillRunService result parsing #105
  • Determine if licence is 'billed' #101
  • Bump @hapi/hapi from 21.2.0 to 21.2.1 #103
  • Bump pg from 8.8.0 to 8.9.0 #102
  • SRoC Supplementary Billing - Determine Abstraction Period #97
  • Do not create SROC bill run if one already exists #98
  • Fix handling of Charging Module errors #96
  • Support new queued bill run status #95
  • Bump knex from 2.4.1 to 2.4.2 #94
  • Add comments to AbstractionBillingPeriodService #93
  • Create ChargingModuleTokenCachePlugin to cache Charging Module JWT token #91
  • Add logic 2 determine billable abstraction periods #81
  • Fix invalid GOT POST req. to create CHA bill run #92
  • Bump knex from 2.4.0 to 2.4.1 #90
  • Determine if licence is 'billed' #82
  • Request new bill run in Charging Module API #83
  • Bump @hapi/hapi from 21.1.0 to 21.2.0 #88
  • Fix event timestamps when created for bill run #87
  • Fix issue with dotenv in tests #89
  • Make timestamps consistent at model layer #85
  • Bump nock from 13.2.9 to 13.3.0 #86
  • Implement Charging Module Create Bill Run Service #84
  • Rewrite the migrations to match legacy tables #77
  • Bump knex from 2.3.0 to 2.4.0 #80
  • Restructure models by type and scheme #78
  • Bump @hapi/lab from 25.0.1 to 25.1.0 #76
  • Update "create bill run" endpoint to create a bill run #56
  • Add user to CreateBillRunValidator #75
  • Refactor CreateBillingBatchService #74
  • Refactor CreateEventService for bill runs #73
  • Improve model tests #71
  • Implement abstraction period query using Objection #66
  • Update test helpers to use Objection #72
  • Add ability to obtain Charging Module JWT token #69
  • Fix objection models #70
  • Refactor supplementary test code #68
  • Bump sass from 1.57.0 to 1.57.1 #67
  • Use RequestLib in InfoService #65
  • Bump sass from 1.56.2 to 1.57.0 #63
  • Fix missing Objection Id columns #61
  • Bump major version of @hapi/hoek #62
  • Fix issue with error-pages.plugin #60
  • New charge purpose model for SROC supplementary bill run #59
  • New charge category model for SROC supplementary bill run #57
  • Move /service-status to /health and tidy up #58
  • New charge element model for SROC supplementary bill run #54
  • Add initial generic http request module #53
  • Bump sinon from 15.0.0 to 15.0.1 #55
  • Add Create Sroc Bill Run endpoint #51
  • Fix test licences query #50
  • Bump major version of sinon #52
  • Create event record for sroc supplementary bill run #45
  • Refactor Hapi-pino logger to clean things up #49
  • Replacing classes with modules and functions Pt.2 #48
  • Replacing classes with modules and functions #46
  • New billing batch record for SROC supplementary bill run #37
  • Bump sass from 1.56.1 to 1.56.2 #47
  • Update licence query to just return SROC #43
  • Fix Objection model relations #44
  • Amend the supplementary charge version query #41
  • Bump @airbrake/node from 2.1.7 to 2.1.8 #42
  • Fix tests for new dev environment #40
  • Bump @hapi/code from 9.0.1 to 9.0.2 #38
  • Bump @hapi/hapi from 21.0.0 to 21.1.0 #39
  • Update licences response in supplementary #36
  • General housekeeping #35
  • Refactor Supplementary output to test presenter #32
  • Implement objection in water-abstraction-system #34
  • Add new SROC Billing Period service #30
  • Bump major version of @hapi/hapi #33
  • Bump got from 12.5.2 to 12.5.3 #31
  • Bump govuk-frontend from 4.3.1 to 4.4.0 #29
  • Remove node-sass from dependencies #28
  • Select SROC supplementary charge versions for real #27
  • Fetching the charge versions data #15
  • Add unit test DB cleaning #25
  • Bump sass from 1.56.0 to 1.56.1 #23
  • Tidy up environment variables #24
  • Create test database migrations #22
  • Bump sinon from 14.0.1 to 14.0.2 #18
  • Bump hapi-pino from 11.0.0 to 11.0.1 #19
  • Bump sass from 1.55.0 to 1.56.0 #20
  • Standardise naming of request object #17
  • Move location where 'dotenv' is being required #21
  • Filter asset requests from Hapi-pino logs #16
  • Refactor dotenv require #10
  • Refactoring summary list for each service #8
  • Replace node-sass with dart-sass package #14
  • Create test supplementary end point #13
  • Bump hapi-pino from 11.0.0 to 11.0.1 #11
  • Create Service Status holding page #7
  • Add views to system #4
  • Add pm2 config file #6
  • Add .vscode to .gitignore #5
  • Create create.database.js script #3
  • Fix sonarcloud test coverage reporting #2
  • Fix database health check test #1
  • Initial commit! 🎉 58cab42