All notable changes to this project will be documented in this file. Dates are displayed in UTC.
Generated by auto-changelog
.
- Bump @hapi/lab from 25.3.1 to 25.3.2
#2646
- Alter fix script for miss-tagged credited trans.
#2645
- Data fix migration for miss-flagged transactions
#2644
- Add abstraction method to lic. purpose points
#2642
2 October 2024
- Data fix licence with wrong region, again!
#2641
- Revert "Data fix licence with wrong region"
#2640
- Data fix licence with wrong region
#2639
- Add new points and sources tables & amend existing
#2638
18 September 2024
- Bump pg from 8.12.0 to 8.13.0
#2637
- Bump standard from 17.1.1 to 17.1.2
#2636
- Bump standard from 17.1.0 to 17.1.1
#2635
- Bump aws-sdk from 2.1690.0 to 2.1691.0
#2634
- Bump aws-sdk from 2.1689.0 to 2.1690.0
#2633
5 September 2024
- Bump aws-sdk from 2.1688.0 to 2.1689.0
#2632
- Bump aws-sdk from 2.1687.0 to 2.1688.0
#2631
- Bump aws-sdk from 2.1686.0 to 2.1687.0
#2630
- Bump aws-sdk from 2.1685.0 to 2.1686.0
#2629
- Bump aws-sdk from 2.1684.0 to 2.1685.0
#2628
- Bump aws-sdk from 2.1683.0 to 2.1684.0
#2627
- Add a new licence version purpose points table
#2626
- Bump aws-sdk from 2.1682.0 to 2.1683.0
#2625
- Bump aws-sdk from 2.1681.0 to 2.1682.0
#2624
23 August 2024
- Remove presroc supp. billing flag migration
#2623
- Bump aws-sdk from 2.1680.0 to 2.1681.0
#2622
- Bump aws-sdk from 2.1679.0 to 2.1680.0
#2621
- Bump nock from 13.5.4 to 13.5.5
#2619
- Bump aws-sdk from 2.1678.0 to 2.1679.0
#2620
- Bump aws-sdk from 2.1677.0 to 2.1678.0
#2617
- Delete errant licence version
#2616
- Replace mod_logs columns with a table - for real!
#2615
- Bump aws-sdk from 2.1676.0 to 2.1677.0
#2614
- Replace mod_logs columns with a table
#2613
- Alter name & default for versions
mod_log
field#2612
- Update Supplementary Billing flag route
#2608
- Handle failed request to system supplementary
#2611
- Fix external change user email journey
#2609
- Add new
batch_type
for TPT supplementary to DB#2606
- Bump aws-sdk from 2.1675.0 to 2.1676.0
#2610
- Bump aws-sdk from 2.1674.0 to 2.1675.0
#2607
- Add migration for licence versions and licence versions purposes
#2605
- Bump aws-sdk from 2.1673.0 to 2.1674.0
#2604
- Bump aws-sdk from 2.1672.0 to 2.1673.0
#2602
- Add System config for Supplementary billing flags
#2600
- Fix type defaults on the water notes table
#2601
- Bump aws-sdk from 2.1671.0 to 2.1672.0
#2599
- Add mod_log fields 2 return, licence & charge ver.
#2598
- Bump aws-sdk from 2.1670.0 to 2.1671.0
#2597
- Bump aws-sdk from 2.1669.0 to 2.1670.0
#2596
- Bump aws-sdk from 2.1668.0 to 2.1669.0
#2595
- Bump aws-sdk from 2.1667.0 to 2.1668.0
#2594
- Bump aws-sdk from 2.1666.0 to 2.1667.0
#2593
- Remove integrated test files
#2592
- Bump aws-sdk from 2.1665.0 to 2.1666.0
#2591
- Bump aws-sdk from 2.1664.0 to 2.1665.0
#2590
- Bump csv-stringify from 6.5.0 to 6.5.1
#2589
- Bump @hapi/lab from 25.2.0 to 25.3.1
#2588
- Bump aws-sdk from 2.1663.0 to 2.1664.0
#2587
- Bump aws-sdk from 2.1662.0 to 2.1663.0
#2586
- Bump aws-sdk from 2.1661.0 to 2.1662.0
#2585
- Bump aws-sdk from 2.1659.0 to 2.1661.0
#2584
- Bump aws-sdk from 2.1658.0 to 2.1659.0
#2583
- Update water-abstraction-helpers package
#2582
- Bump aws-sdk from 2.1657.0 to 2.1658.0
#2581
- Bump aws-sdk from 2.1656.0 to 2.1657.0
#2580
- Bump aws-sdk from 2.1655.0 to 2.1656.0
#2579
- Bump aws-sdk from 2.1654.0 to 2.1655.0
#2578
- Bump aws-sdk from 2.1653.0 to 2.1654.0
#2577
- Bump aws-sdk from 2.1652.0 to 2.1653.0
#2576
- Bump aws-sdk from 2.1651.0 to 2.1652.0
#2575
1 July 2024
- Bump aws-sdk from 2.1650.0 to 2.1651.0
#2574
- Bump aws-sdk from 2.1649.0 to 2.1650.0
#2573
- Stop using version in package.json
#2570
- Bump aws-sdk from 2.1648.0 to 2.1649.0
#2572
- Bump aws-sdk from 2.1647.0 to 2.1648.0
#2571
- Bump aws-sdk from 2.1646.0 to 2.1647.0
#2569
- Bump aws-sdk from 2.1645.0 to 2.1646.0
#2568
- Add created_by to return versions table
#2567
- Bump joi from 17.13.1 to 17.13.3
#2566
- Bump aws-sdk from 2.1644.0 to 2.1645.0
#2565
- Bump aws-sdk from 2.1643.0 to 2.1644.0
#2564
- Bump aws-sdk from 2.1642.0 to 2.1643.0
#2563
- Bump aws-sdk from 2.1641.0 to 2.1642.0
#2562
- Bump aws-sdk from 2.1640.0 to 2.1641.0
#2561
- Bump @hapi/hapi from 21.3.9 to 21.3.10
#2559
- Bump aws-sdk from 2.1639.0 to 2.1640.0
#2560
- Bump aws-sdk from 2.1638.0 to 2.1639.0
#2558
- Bump aws-sdk from 2.1637.0 to 2.1638.0
#2557
- Fix return req frequency fields being imported
#2556
- Bump aws-sdk from 2.1636.0 to 2.1637.0
#2555
- Bump aws-sdk from 2.1635.0 to 2.1636.0
#2554
- Bump aws-sdk from 2.1634.0 to 2.1635.0
#2553
- Add NALD point ID to return req points table
#2552
- Bump aws-sdk from 2.1633.0 to 2.1634.0
#2551
- Bump hapi-auth-jwt2 from 10.5.1 to 10.6.0
#2550
- Bump pg from 8.11.5 to 8.12.0
#2549
- Fix up the water schema Return requirement tables
#2548
- Bump aws-sdk from 2.1632.0 to 2.1633.0
#2547
- Bump aws-sdk from 2.1631.0 to 2.1632.0
#2546
- Rename misspelt column on return-requirements table
#2545
- Bump aws-sdk from 2.1630.0 to 2.1631.0
#2544
- Bump aws-sdk from 2.1629.0 to 2.1630.0
#2543
- Create return-requirement-points table
#2540
- Bump aws-sdk from 2.1628.0 to 2.1629.0
#2542
- Bump aws-sdk from 2.1627.0 to 2.1628.0
#2541
- Bump aws-sdk from 2.1626.0 to 2.1627.0
#2539
- Bump aws-sdk from 2.1625.0 to 2.1626.0
#2538
- Add boolean flag columns for agreements and exceptions
#2537
- Bump aws-sdk from 2.1624.0 to 2.1625.0
#2536
- Add notes column to return-versions table
#2535
- Bump aws-sdk from 2.1623.0 to 2.1624.0
#2534
- Add new columne collection_frequency to return_requirements table
#2533
- Add multiple_upload column to return_versions table
#2532
- Bump aws-sdk from 2.1622.0 to 2.1623.0
#2531
- Fix missing licence holder crm_v2 records
#2530
- Add reason column to water.return_versions table
#2529
- Bump aws-sdk from 2.1621.0 to 2.1622.0
#2528
- Bump aws-sdk from 2.1620.0 to 2.1621.0
#2527
- Bump aws-sdk from 2.1619.0 to 2.1620.0
#2526
- Handle rtn. req. not existing when mapping rtns
#2523
- Bump csv-stringify from 6.4.6 to 6.5.0
#2525
- Bump aws-sdk from 2.1618.0 to 2.1619.0
#2524
- Bump aws-sdk from 2.1617.0 to 2.1618.0
#2522
- Bump aws-sdk from 2.1616.0 to 2.1617.0
#2521
- Bump aws-sdk from 2.1615.0 to 2.1616.0
#2520
- Bump aws-sdk from 2.1614.0 to 2.1615.0
#2519
- Bump aws-sdk from 2.1613.0 to 2.1614.0
#2518
- Bump aws-sdk from 2.1612.0 to 2.1613.0
#2517
- Bump aws-sdk from 2.1611.0 to 2.1612.0
#2516
- Bump joi from 17.13.0 to 17.13.1
#2515
- Bump aws-sdk from 2.1610.0 to 2.1611.0
#2514
- Bump aws-sdk from 2.1609.0 to 2.1610.0
#2513
- Bump aws-sdk from 2.1608.0 to 2.1609.0
#2512
- Add column to
licences
table to flag for 2PT supplementary billing#2511
- Bump aws-sdk from 2.1607.0 to 2.1608.0
#2510
- Bump aws-sdk from 2.1606.0 to 2.1607.0
#2509
- add abstraction data columns to licence-version-purposes
#2508
- Bump aws-sdk from 2.1605.0 to 2.1606.0
#2507
- Bump aws-sdk from 2.1604.0 to 2.1605.0
#2506
- Bump joi from 17.12.3 to 17.13.0
#2505
- Bump aws-sdk from 2.1603.0 to 2.1604.0
#2504
- Bump aws-sdk from 2.1602.0 to 2.1603.0
#2503
19 April 2024
- Bump aws-sdk from 2.1601.0 to 2.1602.0
#2502
- Bump ioredis from 5.4.0 to 5.4.1
#2501
- Bump aws-sdk from 2.1600.0 to 2.1601.0
#2500
- Bump aws-sdk from 2.1599.0 to 2.1600.0
#2499
- Bump ioredis from 5.3.2 to 5.4.0
#2498
- Identify workflow setup records with chg versions
#2497
- Bump aws-sdk from 2.1598.0 to 2.1599.0
#2496
- Remove notification jobs log noise
#2495
- Remove billing.find-update-invoice-accounts job
#2494
- Remove licence-not-in-charge-version-workflow job
#2493
- Bump aws-sdk from 2.1597.0 to 2.1598.0
#2492
- Bump aws-sdk from 2.1596.0 to 2.1597.0
#2491
- Bump tar from 6.1.12 to 6.2.1
#2490
- Bump @hapi/hapi from 21.3.8 to 21.3.9
#2489
- Bump aws-sdk from 2.1595.0 to 2.1596.0
#2488
- Bump aws-sdk from 2.1594.0 to 2.1595.0
#2487
- Bump aws-sdk from 2.1593.0 to 2.1594.0
#2486
- Update SROC test data to always include annual
#2484
- Bump aws-sdk from 2.1592.0 to 2.1593.0
#2485
4 April 2024
- Bump @hapi/hapi from 21.3.7 to 21.3.8
#2483
- Bump aws-sdk from 2.1591.0 to 2.1592.0
#2481
- Bump joi from 17.12.2 to 17.12.3
#2482
- Bump pg from 8.11.4 to 8.11.5
#2479
- Bump aws-sdk from 2.1590.0 to 2.1591.0
#2480
- Bump aws-sdk from 2.1589.0 to 2.1590.0
#2478
- Bump aws-sdk from 2.1588.0 to 2.1589.0
#2477
- Bump pg from 8.11.3 to 8.11.4
#2476
- Bump aws-sdk from 2.1587.0 to 2.1588.0
#2475
- Bump aws-sdk from 2.1586.0 to 2.1587.0
#2474
- Bump aws-sdk from 2.1585.0 to 2.1586.0
#2473
- Fix acceptance test account number clashes
#2472
- Bump aws-sdk from 2.1584.0 to 2.1585.0
#2471
25 March 2024
- Bump aws-sdk from 2.1583.0 to 2.1584.0
#2470
- Bump aws-sdk from 2.1582.0 to 2.1583.0
#2469
- Bump aws-sdk from 2.1581.0 to 2.1582.0
#2468
- Fix remove bill not flagging licences for supp.
#2465
- Bump aws-sdk from 2.1580.0 to 2.1581.0
#2467
- Bump @hapi/hapi from 21.3.6 to 21.3.7
#2466
- Fix remove bill licence supplementary flagging
#2464
- Bump aws-sdk from 2.1579.0 to 2.1580.0
#2463
- Bump aws-sdk from 2.1578.0 to 2.1579.0
#2462
- Bump aws-sdk from 2.1577.0 to 2.1578.0
#2461
- add display_title column to licence_version_purpose_condition_types
#2455
- Bump aws-sdk from 2.1576.0 to 2.1577.0
#2460
- Bump @hapi/hapi from 21.3.3 to 21.3.6
#2459
- Bump aws-sdk from 2.1575.0 to 2.1576.0
#2458
- Bump aws-sdk from 2.1574.0 to 2.1575.0
#2457
- Bump aws-sdk from 2.1573.0 to 2.1574.0
#2456
- Bump aws-sdk from 2.1572.0 to 2.1573.0
#2454
- Bump aws-sdk from 2.1571.0 to 2.1572.0
#2453
- Bump aws-sdk from 2.1570.0 to 2.1571.0
#2452
- Bump aws-sdk from 2.1569.0 to 2.1570.0
#2451
- Stop filtering cancel bill runs in results
#2450
- Bump aws-sdk from 2.1568.0 to 2.1569.0
#2449
- Fix refresh totals job
#2448
- Bump aws-sdk from 2.1567.0 to 2.1568.0
#2447
- Fix broken send bill run functionality
#2446
- Ensure update-invoices sets bill run to ready
#2445
- Bump aws-sdk from 2.1566.0 to 2.1567.0
#2444
- Bump csv-stringify from 6.4.5 to 6.4.6
#2443
- Stop marking bill runs as ready when they are not
#2442
- Bump nock from 13.5.3 to 13.5.4
#2440
- Bump es5-ext from 0.10.62 to 0.10.63
#2441
- Bump aws-sdk from 2.1565.0 to 2.1566.0
#2439
- Bump aws-sdk from 2.1564.0 to 2.1565.0
#2438
- Bump aws-sdk from 2.1563.0 to 2.1564.0
#2437
- Bump joi from 17.12.1 to 17.12.2
#2436
- Bump aws-sdk from 2.1562.0 to 2.1563.0
#2435
- Bump aws-sdk from 2.1561.0 to 2.1562.0
#2434
- Bump dotenv from 16.4.4 to 16.4.5
#2433
- Bump ip from 1.1.8 to 1.1.9
#2432
- Bump aws-sdk from 2.1560.0 to 2.1561.0
#2431
19 February 2024
- Fix - Delete licence with invalid leading space
#2430
- Bump aws-sdk from 2.1559.0 to 2.1560.0
#2429
- Bump nock from 13.5.1 to 13.5.3
#2428
- Bump aws-sdk from 2.1558.0 to 2.1559.0
#2427
- Bump aws-sdk from 2.1557.0 to 2.1558.0
#2426
- Bump aws-sdk from 2.1556.0 to 2.1557.0
#2425
- Bump dotenv from 16.4.3 to 16.4.4
#2424
- Bump dotenv from 16.4.2 to 16.4.3
#2423
- Bump aws-sdk from 2.1555.0 to 2.1556.0
#2422
- Bump dotenv from 16.4.1 to 16.4.2
#2421
- Bump aws-sdk from 2.1554.0 to 2.1555.0
#2420
- Bump aws-sdk from 2.1553.0 to 2.1554.0
#2419
- Bump aws-sdk from 2.1552.0 to 2.1553.0
#2418
7 February 2024
- Fix - Delete licence with invalid leading space
#2417
- Bump aws-sdk from 2.1551.0 to 2.1552.0
#2416
- Bump aws-sdk from 2.1550.0 to 2.1551.0
#2415
- Bump aws-sdk from 2.1549.0 to 2.1550.0
#2414
- Bump aws-sdk from 2.1548.0 to 2.1549.0
#2413
- Bump aws-sdk from 2.1547.0 to 2.1548.0
#2412
- Bump aws-sdk from 2.1546.0 to 2.1547.0
#2411
- Bump @hapi/hapi from 21.3.2 to 21.3.3
#2409
- Bump joi from 17.12.0 to 17.12.1
#2410
- Bump aws-sdk from 2.1545.0 to 2.1546.0
#2408
- Bump nock from 13.5.0 to 13.5.1
#2407
- Bump aws-sdk from 2.1544.0 to 2.1545.0
#2406
27 January 2024
- Bump aws-sdk from 2.1543.0 to 2.1544.0
#2405
- Bump aws-sdk from 2.1542.0 to 2.1543.0
#2404
- Bump dotenv from 16.4.0 to 16.4.1
#2403
- Bump hapi-auth-jwt2 from 10.5.0 to 10.5.1
#2401
- Bump aws-sdk from 2.1541.0 to 2.1542.0
#2402
- Bump dotenv from 16.3.2 to 16.4.0
#2400
- Bump aws-sdk from 2.1540.0 to 2.1541.0
#2399
- Bump dotenv from 16.3.1 to 16.3.2
#2397
- Bump aws-sdk from 2.1539.0 to 2.1540.0
#2398
- Bump aws-sdk from 2.1538.0 to 2.1539.0
#2396
- Bump actions/cache from 3 to 4
#2393
- Bump aws-sdk from 2.1537.0 to 2.1538.0
#2394
- Bump joi from 17.11.1 to 17.12.0
#2395
- Bump aws-sdk from 2.1536.0 to 2.1537.0
#2392
- Bump joi from 17.11.0 to 17.11.1
#2390
- Bump @hapi/lab from 25.1.3 to 25.2.0
#2391
- Bump aws-sdk from 2.1534.0 to 2.1536.0
#2389
- Bump nock from 13.4.0 to 13.5.0
#2388
- Removing console.log() from legacy migrations
#2386
- Bump aws-sdk from 2.1533.0 to 2.1534.0
#2387
- Bump aws-sdk from 2.1532.0 to 2.1533.0
#2385
- Bump aws-sdk from 2.1531.0 to 2.1532.0
#2384
- Bump aws-sdk from 2.1530.0 to 2.1531.0
#2383
- Bump aws-sdk from 2.1529.0 to 2.1530.0
#2382
- Bump aws-sdk from 2.1528.0 to 2.1529.0
#2380
- Lock version of moment due to breaking changes
#2379
- Bump aws-sdk from 2.1527.0 to 2.1528.0
#2378
- Bump aws-sdk from 2.1526.0 to 2.1527.0
#2377
- Bump msgpackr from 1.7.2 to 1.10.1
#2376
- Bump aws-sdk from 2.1525.0 to 2.1526.0
#2374
- Bump aws-sdk from 2.1524.0 to 2.1525.0
#2372
- Bump aws-sdk from 2.1523.0 to 2.1524.0
#2371
- Bump aws-sdk from 2.1522.0 to 2.1523.0
#2370
- Bump aws-sdk from 2.1521.0 to 2.1522.0
#2369
- Bump aws-sdk from 2.1520.0 to 2.1521.0
#2368
- Bump aws-sdk from 2.1519.0 to 2.1520.0
#2367
- Bump aws-sdk from 2.1518.0 to 2.1519.0
#2366
- Bump aws-sdk from 2.1517.0 to 2.1518.0
#2365
- Bump aws-sdk from 2.1516.0 to 2.1517.0
#2364
- Bump aws-sdk from 2.1515.0 to 2.1516.0
#2363
- Bump csv-stringify from 6.4.4 to 6.4.5
#2362
- Bump aws-sdk from 2.1514.0 to 2.1515.0
#2360
- Bump hapi-auth-jwt2 from 10.4.0 to 10.5.0
#2361
- Bump aws-sdk from 2.1513.0 to 2.1514.0
#2359
- Bump aws-sdk from 2.1512.0 to 2.1513.0
#2358
- Expired Licence Communications Bug
#2357
- Bump aws-sdk from 2.1511.0 to 2.1512.0
#2356
- Bump aws-sdk from 2.1510.0 to 2.1511.0
#2355
- Bump aws-sdk from 2.1509.0 to 2.1510.0
#2354
- Bump aws-sdk from 2.1507.0 to 2.1509.0
#2353
30 November 2023
- Fix email sending for non-notifications
#2352
- Bump aws-sdk from 2.1506.0 to 2.1507.0
#2351
- Bump aws-sdk from 2.1504.0 to 2.1506.0
#2350
- Bump aws-sdk from 2.1502.0 to 2.1504.0
#2349
- Bump nock from 13.3.8 to 13.4.0
#2348
- Bump aws-sdk from 2.1501.0 to 2.1502.0
#2347
- Bump aws-sdk from 2.1500.0 to 2.1501.0
#2345
- Bump aws-sdk from 2.1499.0 to 2.1500.0
#2344
- Remove reporting from the service
#2341
- Bump aws-sdk from 2.1498.0 to 2.1499.0
#2343
- Bump aws-sdk from 2.1497.0 to 2.1498.0
#2342
- Bump aws-sdk from 2.1496.0 to 2.1497.0
#2340
- Bump aws-sdk from 2.1495.0 to 2.1496.0
#2339
- Bump aws-sdk from 2.1494.0 to 2.1495.0
#2338
- Bump aws-sdk from 2.1493.0 to 2.1494.0
#2337
- Bump aws-sdk from 2.1491.0 to 2.1493.0
#2336
- Consolidate Returns Letters and remove unused Code
#2320
- Bump node-cron from 3.0.2 to 3.0.3
#2335
- Bump aws-sdk from 2.1490.0 to 2.1491.0
#2334
- Bump aws-sdk from 2.1489.0 to 2.1490.0
#2333
- Bump aws-sdk from 2.1488.0 to 2.1489.0
#2332
6 November 2023
- Bump aws-sdk from 2.1487.0 to 2.1488.0
#2331
- Bump nock from 13.3.7 to 13.3.8
#2330
- Delete bugged licence
#2328
- Bump aws-sdk from 2.1486.0 to 2.1487.0
#2329
- Bump aws-sdk from 2.1485.0 to 2.1486.0
#2327
- Bump aws-sdk from 2.1484.0 to 2.1485.0
#2326
- Bump nock from 13.3.6 to 13.3.7
#2325
- Bump aws-sdk from 2.1483.0 to 2.1484.0
#2324
- Bump aws-sdk from 2.1482.0 to 2.1483.0
#2323
- Bump aws-sdk from 2.1481.0 to 2.1482.0
#2322
- Bump aws-sdk from 2.1480.0 to 2.1481.0
#2321
- Bump actions/setup-node from 3 to 4
#2317
- Bump aws-sdk from 2.1479.0 to 2.1480.0
#2319
- Bump aws-sdk from 2.1478.0 to 2.1479.0
#2318
- Stop duplicate paper forms
#2312
- Bump aws-sdk from 2.1477.0 to 2.1478.0
#2316
- Bump libxmljs from 1.0.10 to 1.0.11
#2310
- Bump snakecase-keys from 5.4.7 to 5.5.0
#2315
- Bump aws-sdk from 2.1476.0 to 2.1477.0
#2314
- Bump nock from 13.3.4 to 13.3.6
#2313
- Bump aws-sdk from 2.1475.0 to 2.1476.0
#2311
- Bump aws-sdk from 2.1474.0 to 2.1475.0
#2309
- Bump @babel/traverse from 7.20.1 to 7.23.2
#2308
- Bump aws-sdk from 2.1473.0 to 2.1474.0
#2307
- Improve Hand-Off Flow Notification Handling
#2295
- Prevent error page showing for multiple return invitation requests
#2305
18 October 2023
- Bump aws-sdk from 2.1472.0 to 2.1473.0
#2306
- Bump nock from 13.3.3 to 13.3.4
#2304
- Bump csv-stringify from 6.4.3 to 6.4.4
#2302
- Bump libxmljs from 1.0.9 to 1.0.10
#2303
- Remove presroc supp. billing flag migration
#2300
- Bump aws-sdk from 2.1471.0 to 2.1472.0
#2301
- Bump aws-sdk from 2.1470.0 to 2.1471.0
#2298
- Bump csv-stringify from 6.4.2 to 6.4.3
#2299
- Bump joi from 17.10.2 to 17.11.0
#2297
- Bump aws-sdk from 2.1469.0 to 2.1470.0
#2296
- Improve Bill Run Queue Handling to Prevent Duplicate Jobs
#2293
- Bump aws-sdk from 2.1468.0 to 2.1469.0
#2294
- Bump aws-sdk from 2.1467.0 to 2.1468.0
#2292
- Prevent multiple 'send a ready bill run'
#2288
- Bump aws-sdk from 2.1466.0 to 2.1467.0
#2291
- Bump aws-sdk from 2.1465.0 to 2.1466.0
#2290
- Bump aws-sdk from 2.1464.0 to 2.1465.0
#2289
- Bump aws-sdk from 2.1463.0 to 2.1464.0
#2287
- Upgrade to Node 20 & simplify CI Node install
#2285
- Bump aws-sdk from 2.1462.0 to 2.1463.0
#2286
- Migration to delete broken charge version
#2284
- Bump aws-sdk from 2.1461.0 to 2.1462.0
#2282
- Bump snakecase-keys from 5.4.6 to 5.4.7
#2283
- Bump aws-sdk from 2.1460.0 to 2.1461.0
#2281
- Bump aws-sdk from 2.1459.0 to 2.1460.0
#2280
- Bump aws-sdk from 2.1458.0 to 2.1459.0
#2279
- Bump joi from 17.10.1 to 17.10.2
#2278
17 September 2023
- Bump aws-sdk from 2.1457.0 to 2.1458.0
#2277
- Bump aws-sdk from 2.1456.0 to 2.1457.0
#2276
- Bump db-migrate-pg from 1.5.1 to 1.5.2
#2274
- Bump uuid from 9.0.0 to 9.0.1
#2273
- Bump aws-sdk from 2.1455.0 to 2.1456.0
#2275
- Bump db-migrate-pg from 1.5.0 to 1.5.1
#2272
- Bump aws-sdk from 2.1454.0 to 2.1455.0
#2271
- Bump aws-sdk from 2.1453.0 to 2.1454.0
#2270
- Bump db-migrate-pg from 1.4.2 to 1.5.0
#2269
- Bump db-migrate-pg from 1.3.2 to 1.4.2
#2268
- Bump db-migrate from 0.11.13 to 0.11.14
#2267
- Bump aws-sdk from 2.1452.0 to 2.1453.0
#2266
- Bump aws-sdk from 2.1451.0 to 2.1452.0
#2265
- Bump aws-sdk from 2.1450.0 to 2.1451.0
#2264
- Bump actions/checkout from 3 to 4
#2263
- Bump aws-sdk from 2.1449.0 to 2.1450.0
#2262
- Bump db-migrate-pg from 1.3.0 to 1.3.2
#2261
- Delete unused and unmaintained billing tests
#2258
- Bump joi from 17.10.0 to 17.10.1
#2260
- Bump aws-sdk from 2.1448.0 to 2.1449.0
#2259
- Bump aws-sdk from 2.1447.0 to 2.1448.0
#2257
- Bump aws-sdk from 2.1446.0 to 2.1447.0
#2256
- Bump aws-sdk from 2.1445.0 to 2.1446.0
#2255
- Bump joi from 17.9.2 to 17.10.0
#2253
- Bump aws-sdk from 2.1444.0 to 2.1445.0
#2254
- Bump csv-stringify from 6.4.1 to 6.4.2
#2252
- Bump aws-sdk from 2.1443.0 to 2.1444.0
#2250
- Bump csv-stringify from 6.4.0 to 6.4.1
#2251
- Bump aws-sdk from 2.1442.0 to 2.1443.0
#2249
- Returns version no. missing from
/service-status
#2248
- Start doing the minimum in /status checks
#2246
- Bump aws-sdk from 2.1441.0 to 2.1442.0
#2247
- Update /service-status version endpoints
#2245
- Bump aws-sdk from 2.1440.0 to 2.1441.0
#2244
- Bump aws-sdk from 2.1439.0 to 2.1440.0
#2243
- Bump aws-sdk from 2.1438.0 to 2.1439.0
#2242
- Bump pg from 8.11.2 to 8.11.3
#2241
- Bump aws-sdk from 2.1437.0 to 2.1438.0
#2240
- Bump nock from 13.3.2 to 13.3.3
#2239
- Bump aws-sdk from 2.1436.0 to 2.1437.0
#2238
- Bump aws-sdk from 2.1435.0 to 2.1436.0
#2237
- Bump aws-sdk from 2.1434.0 to 2.1435.0
#2236
- Bump aws-sdk from 2.1433.0 to 2.1434.0
#2235
- Bump aws-sdk from 2.1432.0 to 2.1433.0
#2234
- Bump aws-sdk from 2.1431.0 to 2.1432.0
#2233
- Bump aws-sdk from 2.1430.0 to 2.1431.0
#2232
- Bump @hapi/vision from 7.0.2 to 7.0.3
#2231
- Bump aws-sdk from 2.1429.0 to 2.1430.0
#2230
- Bump aws-sdk from 2.1428.0 to 2.1429.0
#2229
3 August 2023
- Bump aws-sdk from 2.1427.0 to 2.1428.0
#2228
- Fix stuck annual Anglian bill run
#2227
- Bump pg from 8.11.1 to 8.11.2
#2226
- Bump aws-sdk from 2.1426.0 to 2.1427.0
#2225
- Bump aws-sdk from 2.1425.0 to 2.1426.0
#2224
- Bump aws-sdk from 2.1424.0 to 2.1425.0
#2223
- Bump aws-sdk from 2.1423.0 to 2.1424.0
#2222
- Bump aws-sdk from 2.1422.0 to 2.1423.0
#2221
- Bump aws-sdk from 2.1421.0 to 2.1422.0
#2220
- Bump aws-sdk from 2.1420.0 to 2.1421.0
#2219
- Bump aws-sdk from 2.1419.0 to 2.1420.0
#2218
- Bump aws-sdk from 2.1418.0 to 2.1419.0
#2217
- Bump aws-sdk from 2.1417.0 to 2.1418.0
#2216
- Bump aws-sdk from 2.1416.0 to 2.1417.0
#2215
- Bump word-wrap from 1.2.3 to 1.2.4
#2214
- Fix
update-invoices-worker
for sroc reissuing#2213
- Bump aws-sdk from 2.1415.0 to 2.1416.0
#2212
- Bump nock from 13.3.1 to 13.3.2
#2211
- Bump aws-sdk from 2.1414.0 to 2.1415.0
#2210
- Bump aws-sdk from 2.1413.0 to 2.1414.0
#2209
- Bump semver from 5.7.1 to 5.7.2
#2208
10 July 2023
- Fix stuck Midlands sending bill run
#2207
- Bump aws-sdk from 2.1412.0 to 2.1413.0
#2206
- Add remove job method to QueueManager
#2205
- Tell Got to retry PATCH requests
#2204
- Use the correct values from CM to populate DB
#2203
- Bump aws-sdk from 2.1411.0 to 2.1412.0
#2202
- Bump aws-sdk from 2.1410.0 to 2.1411.0
#2200
- Bump pino-pretty from 9.4.0 to 9.4.1
#2199
- Bump aws-sdk from 2.1409.0 to 2.1410.0
#2198
- Bump aws-sdk from 2.1408.0 to 2.1409.0
#2197
- Bump aws-sdk from 2.1407.0 to 2.1408.0
#2196
- Bump aws-sdk from 2.1406.0 to 2.1407.0
#2195
- Bump @hapi/lab from 25.1.2 to 25.1.3
#2193
- Bump aws-sdk from 2.1405.0 to 2.1406.0
#2194
- Bump pg from 8.11.0 to 8.11.1
#2192
- Bump aws-sdk from 2.1404.0 to 2.1405.0
#2191
- Bump aws-sdk from 2.1403.0 to 2.1404.0
#2190
- Bump aws-sdk from 2.1402.0 to 2.1403.0
#2189
- Bump snakecase-keys from 5.4.5 to 5.4.6
#2188
- Bump aws-sdk from 2.1401.0 to 2.1402.0
#2187
- Bump aws-sdk from 2.1400.0 to 2.1401.0
#2186
- Bump aws-sdk from 2.1399.0 to 2.1400.0
#2185
- Bump aws-sdk from 2.1398.0 to 2.1399.0
#2183
- Bump dotenv from 16.1.4 to 16.3.1
#2184
- Bump aws-sdk from 2.1397.0 to 2.1398.0
#2182
- Empty supplementary bill run showing a credit bill
#2181
- Bump aws-sdk from 2.1396.0 to 2.1397.0
#2180
- Bump aws-sdk from 2.1395.0 to 2.1396.0
#2179
- Removing SRoC flag sets Pre-SRoC supplementary flag
#2178
- Bump @hapi/vision from 7.0.1 to 7.0.2
#2177
- Bump @hapi/basic from 7.0.1 to 7.0.2
#2175
- Bump aws-sdk from 2.1394.0 to 2.1395.0
#2176
- Bump aws-sdk from 2.1393.0 to 2.1394.0
#2174
- Bump aws-sdk from 2.1392.0 to 2.1393.0
#2173
- Bump aws-sdk from 2.1391.0 to 2.1392.0
#2172
- Update SROC integration test data
#2171
- Bump aws-sdk from 2.1390.0 to 2.1391.0
#2170
- Bump aws-sdk from 2.1389.0 to 2.1390.0
#2169
- Bump dotenv from 16.1.3 to 16.1.4
#2168
- Bump aws-sdk from 2.1388.0 to 2.1389.0
#2167
1 June 2023
- Bump aws-sdk from 2.1387.0 to 2.1388.0
#2166
- Bump dotenv from 16.1.0 to 16.1.3
#2165
- Bump standard from 17.0.0 to 17.1.0
#2164
- Bump aws-sdk from 2.1386.0 to 2.1387.0
#2163
- Bump dotenv from 16.0.3 to 16.1.0
#2162
- Bump aws-sdk from 2.1385.0 to 2.1386.0
#2161
- Bump aws-sdk from 2.1384.0 to 2.1385.0
#2160
- Bump aws-sdk from 2.1383.0 to 2.1384.0
#2159
- Bump aws-sdk from 2.1382.0 to 2.1383.0
#2158
- Bump aws-sdk from 2.1381.0 to 2.1382.0
#2157
- Add migration to unflag non-PRESROC licences
#2156
- Bump aws-sdk from 2.1380.0 to 2.1381.0
#2155
- Bump aws-sdk from 2.1379.0 to 2.1380.0
#2154
17 May 2023
- Revert delete empty & error bill runs migration
#2153
17 May 2023
- Add migration to delete empty & errored bill runs
#2152
- Add migration to unflag non-SROC licences
#2150
- Bump aws-sdk from 2.1378.0 to 2.1379.0
#2151
- Bump aws-sdk from 2.1377.0 to 2.1378.0
#2147
- Bump pg from 8.10.0 to 8.11.0
#2146
- Bump vm2 from 3.9.17 to 3.9.19
#2149
- Add auto-merge GitHub workflow
#2148
- Unflag processed licenses in SROC supp. billing
#2144
- Bump aws-sdk from 2.1376.0 to 2.1377.0
#2143
- Supported source charge is not correct
#2142
- Bump aws-sdk from 2.1375.0 to 2.1376.0
#2141
- Bump csv-stringify from 6.3.4 to 6.4.0
#2139
- Bump aws-sdk from 2.1374.0 to 2.1375.0
#2140
9 May 2023
- Bump aws-sdk from 2.1371.0 to 2.1374.0
#2138
- Bump csv-stringify from 6.3.3 to 6.3.4
#2136
- Bump db-migrate-pg from 1.2.3 to 1.3.0
#2135
- Bump db-migrate-pg from 1.2.2 to 1.2.3
#2132
- Bump aws-sdk from 2.1369.0 to 2.1371.0
#2133
- Bump csv-stringify from 6.3.2 to 6.3.3
#2129
- Bump aws-sdk from 2.1366.0 to 2.1369.0
#2130
- Bump nock from 13.3.0 to 13.3.1
#2126
27 April 2023
- Bump aws-sdk from 2.1365.0 to 2.1366.0
#2125
- Fix bug in acceptance test fixture loader
#2124
- Bump aws-sdk from 2.1364.0 to 2.1365.0
#2123
- Bump @hapi/hapi from 21.3.1 to 21.3.2
#2121
- Bump joi from 17.9.1 to 17.9.2
#2120
- Bump aws-sdk from 2.1363.0 to 2.1364.0
#2119
- Fix error in Batch Notifications Refresh event job
#2122
- Supplementary Billing - Too many previous years
#2118
- Bump aws-sdk from 2.1361.0 to 2.1363.0
#2117
- Supplementary Billing - Too many previous years
#2116
- Bump aws-sdk from 2.1360.0 to 2.1361.0
#2113
- Bump vm2 from 3.9.16 to 3.9.17
#2114
- Bump aws-sdk from 2.1358.0 to 2.1360.0
#2112
- Bump csv-stringify from 6.3.0 to 6.3.2
#2110
- Bump ioredis from 5.3.1 to 5.3.2
#2111
- Bump nunjucks from 3.2.3 to 3.2.4
#2107
- Bump aws-sdk from 2.1354.0 to 2.1358.0
#2108
- Bump vm2 from 3.9.11 to 3.9.16
#2104
- Bump aws-sdk from 2.1351.0 to 2.1354.0
#2103
- Refactor Lodash Code Changes
#2096
- Bump aws-sdk from 2.1349.0 to 2.1351.0
#2099
- Remove 'reverse', 'compact', 'isFinite', 'pickBy' and 'orderBy' Lodash function
#2089
- Remove 'startCase' and 'isEqual' lodash function
#2086
- Fix unflagging include in SROC supp. billing flag
#2097
- Remove 'groupBy' and 'mapValues' Lodash function
#2093
4 April 2023
- Revert Puppeteer to 19.8.0
#2094
4 April 2023
- Bump puppeteer from 19.8.2 to 19.8.3
#2091
- Bump aws-sdk from 2.1348.0 to 2.1349.0
#2092
- Bump aws-sdk from 2.1347.0 to 2.1348.0
#2090
- Remove 'truncate', 'max' and 'maxBy' Lodash function
#2083
- Migration to flag sroc supp. billing invoices
#2088
- Bump puppeteer from 19.8.0 to 19.8.2
#2085
- Bump aws-sdk from 2.1345.0 to 2.1347.0
#2087
- Clear Include In SROC supp. billing flag on send
#2080
- Remove 'flatMap' Lodash function
#2082
- Remove 'reduce' and 'sortBy' lodash function
#2073
- Bump aws-sdk from 2.1344.0 to 2.1345.0
#2081
- Bump aws-sdk from 2.1343.0 to 2.1344.0
#2079
- Add SROC include in supplementary billing flag
#2077
- Bump @hapi/hapi from 21.3.0 to 21.3.1
#2078
- Bump aws-sdk from 2.1342.0 to 2.1343.0
#2075
- Bump puppeteer from 19.7.5 to 19.8.0
#2076
- Bump aws-sdk from 2.1341.0 to 2.1342.0
#2074
- Refactor removal of lodash code
#2068
- Bump aws-sdk from 2.1340.0 to 2.1341.0
#2072
- Remove constraint from
billing_invoice_licences
table#2071
- Bump aws-sdk from 2.1339.0 to 2.1340.0
#2070
- Bump joi from 17.9.0 to 17.9.1
#2069
- Remove 'isFunction' and 'identity' lodash functions
#2059
- Remove 'chunk' lodash function
#2065
21 March 2023
- Remove 'uniq' lodash function
#2061
- Bump joi from 17.8.4 to 17.9.0
#2067
- Bump aws-sdk from 2.1337.0 to 2.1339.0
#2066
- Remove 'partialRight' lodash function
#2064
- Fix error with internal search for users
#2062
- Remove lodash code
#2050
- Bump aws-sdk from 2.1336.0 to 2.1337.0
#2060
15 March 2023
- Bump aws-sdk from 2.1334.0 to 2.1336.0
#2058
- Bump puppeteer from 19.7.4 to 19.7.5
#2054
- Bump joi from 17.8.3 to 17.8.4
#2053
- Fix SROC invoices flagged for re-issue
#2057
- Remove constraint from
billing_transactions
table#2056
- Make request logging configurable & change default
#2052
- Remove 'set' lodash function
#2017
- Bump aws-sdk from 2.1333.0 to 2.1334.0
#2051
- Bump aws-sdk from 2.1332.0 to 2.1333.0
#2049
- Bump puppeteer from 19.7.3 to 19.7.4
#2048
- Bump aws-sdk from 2.1331.0 to 2.1332.0
#2047
- Bump aws-sdk from 2.1330.0 to 2.1331.0
#2046
- Bump aws-sdk from 2.1329.0 to 2.1330.0
#2045
- Bump aws-sdk from 2.1328.0 to 2.1329.0
#2042
- Bump puppeteer from 19.7.2 to 19.7.3
#2043
- Bump pg from 8.9.0 to 8.10.0
#2044
- Bump csv-stringify from 6.2.4 to 6.3.0
#2040
- Bump aws-sdk from 2.1327.0 to 2.1328.0
#2041
- Add new batch refresh totals endpoint
#2036
- Fix missing adjustments in SROC test fixture data
#2039
- Bump aws-sdk from 2.1326.0 to 2.1327.0
#2038
- Bump aws-sdk from 2.1323.0 to 2.1326.0
#2037
- Bump aws-sdk from 2.1320.0 to 2.1323.0
#2033
- Bump pino-pretty from 9.3.0 to 9.4.0
#2032
- Bump joi from 17.8.1 to 17.8.3
#2029
- Bump aws-sdk from 2.1319.0 to 2.1320.0
#2028
- Remove 'isObject', 'first', 'isUndefined', and 'find' lodash function
#1998
- Bump puppeteer from 19.7.1 to 19.7.2
#2026
- Bump aws-sdk from 2.1318.0 to 2.1319.0
#2027
- Bump aws-sdk from 2.1315.0 to 2.1318.0
#2024
- Bump joi from 17.7.1 to 17.8.1
#2025
- Bump pino-pretty from 9.2.0 to 9.3.0
#2023
- Bump puppeteer from 19.7.0 to 19.7.1
#2021
- Bump @hapi/hapi from 21.2.2 to 21.3.0
#2018
- Bump aws-sdk from 2.1314.0 to 2.1315.0
#2019
- Bump aws-sdk from 2.1313.0 to 2.1314.0
#2016
- Bump puppeteer from 19.6.3 to 19.7.0
#2015
- Fix no contacts in external login
#2014
- Bump @hapi/lab from 25.1.0 to 25.1.2
#2010
- Bump @hapi/code from 9.0.2 to 9.0.3
#2011
- Bump joi from 17.7.0 to 17.7.1
#2012
- Bump aws-sdk from 2.1312.0 to 2.1313.0
#2013
- Bump @hapi/vision from 7.0.0 to 7.0.1
#2009
- Bump @hapi/basic from 7.0.0 to 7.0.1
#2007
- Bump pino-pretty from 9.1.1 to 9.2.0
#2006
- Bump @hapi/hapi from 21.2.1 to 21.2.2
#2005
- Bump ioredis from 5.3.0 to 5.3.1
#2004
- Stop hammering DB for batch state during bill run
#2003
- Stop create-charge job retrying on error
#2001
- Revert and move Got config
#2002
- Make Got http request retries more robust
#2000
- Fix broken AccessTokenManager
#1993
- Bump aws-sdk from 2.1310.0 to 2.1312.0
#1999
- Bump csv-stringify from 6.2.3 to 6.2.4
#1995
- Remove 'isNull' and 'cloneDeep' lodash function
#1997
- Bump @sideway/formula from 3.0.0 to 3.0.1
#1994
- Remove Lodash 'isString', 'isArray' and 'isEmpty' functions
#1982
- Fix billing create charge job isReady status check
#1992
- Bump aws-sdk from 2.1309.0 to 2.1310.0
#1991
- Add error logging to got-cm
#1990
- Bump aws-sdk from 2.1305.0 to 2.1309.0
#1989
- Bump http-cache-semantics from 4.1.0 to 4.1.1
#1988
- Bump puppeteer from 19.6.2 to 19.6.3
#1984
- Fix column "calculated_volume" does not exist
#1987
- Fix Cannot read property 'triggersMinimumCharge'
#1986
- Remove Lodash Get Function
#1969
- Bump snakecase-keys from 5.4.4 to 5.4.5
#1978
- Bump aws-sdk from 2.1304.0 to 2.1305.0
#1979
- Bump @hapi/hapi from 21.2.0 to 21.2.1
#1980
- Bump aws-sdk from 2.1302.0 to 2.1304.0
#1975
- Bump pg from 8.8.0 to 8.9.0
#1976
- Bump puppeteer from 19.6.0 to 19.6.2
#1977
- Bump ioredis from 5.2.5 to 5.3.0
#1971
- Bump aws-sdk from 2.1301.0 to 2.1302.0
#1972
- Add default timeout to Got requests
#1970
- Removing Lodash 'Pick' function
#1962
- Bump aws-sdk from 2.1300.0 to 2.1301.0
#1968
- Add new queued batch status
#1965
- Bump puppeteer from 19.5.2 to 19.6.0
#1967
- Bump aws-sdk from 2.1299.0 to 2.1300.0
#1966
- Bump aws-sdk from 2.1298.0 to 2.1299.0
#1964
- Bump aws-sdk from 2.1297.0 to 2.1298.0
#1963
- Bump aws-sdk from 2.1296.0 to 2.1297.0
#1961
- Removing 'Omit' and 'Last' Lodash Functions
#1959
- Bump aws-sdk from 2.1295.0 to 2.1296.0
#1960
- Bump @hapi/hapi from 21.1.0 to 21.2.0
#1957
- Bump ioredis from 5.2.4 to 5.2.5
#1958
- Bump aws-sdk from 2.1294.0 to 2.1295.0
#1956
- Bump nock from 13.2.9 to 13.3.0
#1950
- Bump aws-sdk from 2.1291.0 to 2.1294.0
#1954
- Bump puppeteer from 19.5.0 to 19.5.2
#1955
- Bump puppeteer from 19.4.1 to 19.5.0
#1949
- Bump luxon from 3.1.0 to 3.2.1
#1947
- Bump aws-sdk from 2.1290.0 to 2.1291.0
#1948
- Bump aws-sdk from 2.1289.0 to 2.1290.0
#1946
- Bump commander from 9.4.1 to 9.5.0
#1945
- Make more charge categories available in fixtures
#1944
- Bump hapi-auth-jwt2 from 10.2.0 to 10.4.0
#1943
- Bump aws-sdk from 2.1288.0 to 2.1289.0
#1942
- Bump aws-sdk from 2.1287.0 to 2.1288.0
#1941
- Bump json5 from 1.0.1 to 1.0.2
#1940
- Bump aws-sdk from 2.1281.0 to 2.1287.0
#1939
- Bump @hapi/lab from 25.0.1 to 25.1.0
#1938
- Bump aws-sdk from 2.1280.0 to 2.1281.0
#1932
- Bump aws-sdk from 2.1278.0 to 2.1280.0
#1931
- Bump aws-sdk from 2.1277.0 to 2.1278.0
#1929
- Bump puppeteer from 19.4.0 to 19.4.1
#1928
- Bump aws-sdk from 2.1276.0 to 2.1277.0
#1927
- Bump aws-sdk from 2.1275.0 to 2.1276.0
#1926
- Bump aws-sdk from 2.1273.0 to 2.1275.0
#1925
- Add new SROC test fixture
#1924
- Bump aws-sdk from 2.1272.0 to 2.1273.0
#1922
- Bump aws-sdk from 2.1271.0 to 2.1272.0
#1921
- Bump got from 11.8.5 to 11.8.6
#1919
- Remove hapi good - add hapi-pino
#1920
- Bump aws-sdk from 2.1270.0 to 2.1271.0
#1918
- Bump aws-sdk from 2.1269.0 to 2.1270.0
#1917
- Bump puppeteer from 19.3.0 to 19.4.0
#1916
- Bump @envage/hapi-pg-rest-api from 7.0.0 to 7.0.1
#1915
- Bump aws-sdk from 2.1268.0 to 2.1269.0
#1914
- Bump aws-sdk from 2.1267.0 to 2.1268.0
#1913
6 December 2022
- Bump aws-sdk from 2.1266.0 to 2.1267.0
#1912
- Bump @hapi/hapi from 21.0.0 to 21.1.0
#1909
- Bump aws-sdk from 2.1265.0 to 2.1266.0
#1910
- Bump decode-uri-component from 0.2.0 to 0.2.2
#1911
- Bump aws-sdk from 2.1264.0 to 2.1265.0
#1907
- Bump @hapi/code from 9.0.1 to 9.0.2
#1904
- Bump csv-stringify from 6.2.2 to 6.2.3
#1906
- Bill numbers not showing on Bills Screen
#1908
- Move test database URL to environment variable
#1905
- Bump aws-sdk from 2.1262.0 to 2.1264.0
#1903
- Update water-abstraction-helpers to latest version
#1902
- Bump aws-sdk from 2.1261.0 to 2.1262.0
#1901
25 November 2022
- Fix cancelling billing batch error
#1900
- Bump aws-sdk from 2.1260.0 to 2.1261.0
#1898
- Bump puppeteer from 19.2.2 to 19.3.0
#1899
- Bump aws-sdk from 2.1256.0 to 2.1260.0
#1896
- Bump csv-stringify from 6.2.1 to 6.2.2
#1897
- Data migration fix for leap year charge purposes
#1894
- Bump aws-sdk from 2.1254.0 to 2.1256.0
#1890
- Remove pm2 watch config from ecosystem file
#1889
- Replace deprecated set-output cmd in GitHub CI
#1888
15 November 2022
- Bump aws-sdk from 2.1252.0 to 2.1254.0
#1886
- Stop passing err to logger
#1885
- Swap out or remove Deprecated packages
#1841
- Remove swagger dependency
#1883
- Bump aws-sdk from 2.1251.0 to 2.1252.0
#1882
- Bump aws-sdk from 2.1250.0 to 2.1251.0
#1881
- Bump aws-sdk from 2.1249.0 to 2.1250.0
#1880
- Bump aws-sdk from 2.1248.0 to 2.1249.0
#1879
- Bump aws-sdk from 2.1246.0 to 2.1248.0
#1878
- Bump ioredis from 5.2.3 to 5.2.4
#1877
- Bump aws-sdk from 2.1244.0 to 2.1246.0
#1876
- Bump joi from 17.6.4 to 17.7.0
#1875
- Bump aws-sdk from 2.1243.0 to 2.1244.0
#1873
- Bump aws-sdk from 2.1242.0 to 2.1243.0
#1872
- Add SROC sup. billing scenario 3 fixture data
#1871
- Add new presroc billing acc. change to fixture
#1870
- Add new SROC supplementary billing test data
#1868
- Bump aws-sdk from 2.1240.0 to 2.1242.0
#1869
- Bump joi from 17.6.3 to 17.6.4
#1860
- Bump aws-sdk from 2.1236.0 to 2.1240.0
#1866
- Add health route to background service
#1865
- Rename health status endpoint
#1864
- Create health status endpoint
#1862
- Revert changelog script change with improvements
#1858
20 October 2022
- Make
auto-changelog
external#1857
- Bump aws-sdk from 2.1235.0 to 2.1236.0
#1856
- Bump aws-sdk from 2.1231.0 to 2.1235.0
#1855
- Fix problem licence data
#1853
- Bump aws-sdk from 2.1230.0 to 2.1231.0
#1839
- Bump joi from 17.6.2 to 17.6.3
#1840
- Bump aws-sdk from 2.1228.0 to 2.1230.0
#1838
- Bump aws-sdk from 2.1226.0 to 2.1228.0
#1836
- Bump aws-sdk from 2.1225.0 to 2.1226.0
#1834
- Bump joi from 17.6.1 to 17.6.2
#1833
- Bump aws-sdk from 2.1224.0 to 2.1225.0
#1830
28 September 2022
- Fix pm2 logs for service-background not combining
#1832
- Remove docker files from repos
#1831
- Bump aws-sdk from 2.1223.0 to 2.1224.0
#1829
- Bump aws-sdk from 2.1222.0 to 2.1223.0
#1828
- Bump aws-sdk from 2.1221.0 to 2.1222.0
#1826
- Bump joi from 17.6.0 to 17.6.1
#1827
- Bump aws-sdk from 2.1219.0 to 2.1221.0
#1825
- Bump aws-sdk from 2.1217.0 to 2.1219.0
#1822
- Bump aws-sdk from 2.1214.0 to 2.1217.0
#1820
- Remove
src/lib/response.js
#1814
- Remove unused getFinancialYears function
#1817
- Bump aws-sdk from 2.1213.0 to 2.1214.0
#1816
- Bump aws-sdk from 2.1212.0 to 2.1213.0
#1815
12 September 2022
- Bump aws-sdk from 2.1211.0 to 2.1212.0
#1813
- Bump libxmljs from 0.19.7 to 0.19.10
#1717
- Fix libxmljs update issue
#1812
- Bump aws-sdk from 2.1210.0 to 2.1211.0
#1808
- Fix
libxmljs
unit tests#1811
- Set version of BullMQ used
#1809
- Bump aws-sdk from 2.1207.0 to 2.1210.0
#1807
- SRoC annual billing - pro rata calculations not calculating as expected
#1806
- Amend purpose use validation from charge upload
#1793
- Bump aws-sdk from 2.1116.0 to 2.1207.0
#1801
- Bump ioredis from 5.2.2 to 5.2.3
#1791
- Bump pg from 8.7.3 to 8.8.0
#1788
- Bump @hapi/lab from 24.6.0 to 24.7.1
#1718
- Fix using real Notify API in tests
#1736
- Fix port conflict with test
#1796
- Remove catbox-redis from service
#1794
- Add
isBackground
flag toconfig.js
#1787
- Remove unneeded dependencies
#1708
- Replace supported source sync with migration
#1786
- Set up background tasks module
#1784
- Refactor message-queue to centralise registration
#1775
- Remove node-cron for BullMQ jobs
#1780
- Fix slow licence versions 4 charge workflow query
#1781
- Minor housekeeping changes to root index files
#1779
- Fix tests not using test redis DB
#1776
- Correctly set
NODE_ENV
#1771
- Remove
config
folder#1772
- Set log level using new env var
#1764
- Bump moment from 2.29.3 to 2.29.4
#1711
- Bump got from 11.8.3 to 11.8.5
#1702
- Make charge version max upload consistent
#1762
- Refactor
update-charge-information-save
loop#1760
- Further CSV upload refactoring
#1758
- Refactor CSV upload for performance
#1757
- SRoC - increase the timeout for the import/ upload process
#1756
- Hide
standard
linting commit#1746
- Config 2nd instance to run background jobs
#1754
- Upload fails for charge versions with an abs period ending 31/07
#1752
2 August 2022
- Tidy up
package.json
#1749
- Sroc upload -- allow public water only for water undertakers
#1744
- Handle 0 Volumes
#1739
- SRoC charge creation - additional characters required in charge reference description
#1738
- Addition of mBOD as a unit type in the tagging flow
#1737
- Fix address concatenation
#1733
- Postal address issue - water abstraction alerts
#1730
- Add Delete All Billing Data environment variable
#1728
- Persist data for sroc bill run CSV export
#1722
- Move db-migrate packages
#1712
- Remove snyk exception config
#1719
- Make gitignore consistent with other projects
#1715
- Add dependabot.yml config file
#1713
- Apply consistent CI workflow
#1710
- Fix non-prod delete all bill runs function
#1709
- Update FixtureLoader.js
#1707
- Saving the S130 factor on the charge module
#1706
- Fix multi year 2pt bill runs for ALCS
#1703
- Fix only() left in unit tests
#1704
- Use standard js for linting
#1696
- Rename test files
#1700
- Add simplified endpoints to retrieve the data relating to batches for a financial year
#1695
- SROC annual billing -- feat/water-3419
#1698
- Create New Test Data for Testing
#1701
- Fix Test Region ID in test data
#1699
- Water 3568 - licence version purposes added to test data
#1690
- ci: remove code climate
#1697
- Fix duplicate southern test region id to 9
#1683
- -- validator bugfix
#1689
- -- missing await!!
#1687
- Bugfix - bulk returns upload
#1684
- Update default branch to
main
6ea0ccc
1 August 2022
- bugfix/water-3666
#1694
- chore: remove nodemon
#1691
- fix: billing contact account name
#1682
- Water 3640 upgrade node 12 to node 14
#1673
- Water 3641 - Accept late return volumes for 2PT (2nd part) billing
#1678
- Bug fix for water 3666
#1681
- Bugfix/water 3632 allow volume of 0ml
#1680
- WATER-3551: Improve performance
#1679
- WATER-3526: Copy note information
#1676
- bugfix/water-3648
#1675
- WATER-3551: Optimize upload
#1677
- WATER-3551: Upload Charge Information Import
#1655
- BUGFIX: Fix zero volume issue in connector
#1674
- bugfix/water-3645
#1672
- bugfix/water-3612
#1668
- Bugfix/water 3629
#1667
- feat/water-3612
#1661
- bugfix/water-3602
#1666
- bugfix/water-3602
#1665
- Duplicate pr for release hotfix Feat/water 3602
#1663
- Feat/water 3602
#1662
- Bugfix/water 3613
#1658
- Feat/pipeline regression tests
#1660
- Feat/pipeline regression tests
#1649
- WATER-3495: - fix upload validation
#1657
- Update test-charge-versions.yaml
#1654
- Enable sroc in preprod
#1656
- WATER-3495: Upload Charge Information
#1643
- bugfix/water-3591
#1653
- Update licence-agreements.js
#1652
- Ci/water 3589 reusable pipeline
#1650
- Bugfix/water 3591
#1647
- Removes all Charge Version Workflows when Cypress is run
#1648
- De-duplicates fetched invoices for notices report
#1646
- Replicates the change made to the release branch by @stephan-hough on…
#1645
- Adds WAA Email support
#1642
- WIP
#1638
- bugfix/water-3572
#1641
- WATER-3415: Bugfix
#1640
- Migration script for water-3423
#1639
- WATER-3415: Addition of Notes to Charge Information review page
#1636
- Reconfigure LVPC <> Digitise jobs to run at 6 PM as requested by PO
#1637
- WATER-3478
#1616
- 2 18 0 error if 2pt empty
#1635
- Checks if 2PT batch is empty and marks it accordingly
#1634
- Fixes a regression test
#1632
- Fixes a regression test
#1633
- Update package-lock.json
#1631
- Experimental billing changes
#1628
- bugfix/charge-version-scheme-bug
#1630
- Bugfix/cypress tests
#1629
- Revert "Water-3529 fix cypress test bulk upload (#1626)"
#1627
- Water-3529 fix cypress test bulk upload
#1626
- bugfix/missing-credits
#1624
- bugfix/water-3500
#1625
- Update refresh-totals.js
#1622
- feat/water-3515
#1621
- bugfix/cv-start-and-end-dates-the-same
#1620
- Revert "Update refresh-totals.js (#1615)"
#1619
- Migration script's for WATER-3493
#1618
- feat/water-3401
#1617
- Update refresh-totals.js
#1615
- WATER-3407: Create SRoC Charge Information
#1614
- bugfix/water-3491
#1613
- Updated charge-versions.js
#1612
- Feat/water 3407 - new end point to return all supported sources
#1611
- Submit and Approve SROC charge information
#1609
- Update events.js
#1608
- Feat/water 3380/notification filtering
#1604
- bugfix/water-3411
#1606
- bugfix/water-3387
#1607
- feat/water-3398
#1605
- WATER-3451: Edit flag not set correctly
#1603
- WATER-3411: Fix licences stuck in marked for reprocess
#1602
- WATER-3422: Add order and region to supported sources
#1601
- WATER-3411: Licence stuck in supplementary bill run are now considered for next supplementary bill run.
#1600
- WATE - 3398 SROC charge category lookup service
#1596
- Enhancement to the lookup facility for notifications
#1597
- WATER 3411 - remove suppl. billing flag for empty batches
#1599
- WATER-3390: Recalculate charges with changes
#1595
- WATER 3411: Licences remain marked for Supp Billing even after progressing through Bill run
#1594
- feat/WATER 3380 filtering notification report
#1581
- WATER 3390: Recalculating charges with no change to charge versions for the historic Data
#1592
- feat/water-3345-batch-sending-status
#1591
- Water 3345 new cancel status.
#1587
- Bugfix/water 3360 making a licence non chargeable does not credit back historic charges
#1589
- Removes any duplicate customer file refresh jobs to prevent potential pg deadlocks
#1590
- Adds a migration script and amends model
#1588
- Bugfix/water 3396
#1585
- Removes 'pending' from the list of acceptable completed CM statuses
#1584
- WATER 3329: Addition of SLD as a unit type in the tagging flow
#1583
- Update customer-file-refresh.js
#1582
- Bugfix: Two-part-tariff Second-part-charge fix
#1579
- WATER-3371: Recalculating charges with no change to charge versions
#1578
- Water - 3373 - isTwoPartSecondPartCharge transaction flag
#1577
- Supported Sources importer code
#1569
- Reverts usage of new CM endpoint
#1575
- Bugfix/water 3343
#1573
- WATER-3379: When you update a contact and try to add a new charge version it throws error
#1570
- Bugfix/water 3363
#1567
- hotfix/water-3354
#1572
- hotfix/water-3354
#1571
- WATER-3215: Regression test for removing a licence from an invoice
#1568
- Feat/water 3361 charge categories
#1550
- water 3339
#1566
- WATER-3349: Delete a company contact
#1564
- bugfix/water-3376
#1565
- bugfix/flag-lic-for-billing-from-workflow-approval
#1563
- Updates CM connector to use new v3 endpoint for creating batches
#1562
- WATER-3372: Generate the fullName for a companyContact in the service
#1553
- bugfix/water-3354
#1540
- Revert "bugfix/water-3370 (#1558)"
#1561
- Revert "Bugfix/water 3370 (#1559)"
#1560
- Bugfix/water 3370
#1559
- bugfix/water-3370
#1558
- bugfix/water-3359 into release
#1555
- bugfix/water-3359 in to develop
#1556
- WATER-3193: Edit a contact and department separately
#1552
- Bugfix - select billing volumes by batch
#1551
- Make expired licences searchable again
#1549
- bugfix/water-3359
#1544
- bugfix/water-3306
#1548
- bugfiix/water-3306
#1546
- WATER-3343
#1545
- WATER-3347: Migrate the remaining modules PGBoss jobs to BullMQ
#1537
- WATER-3193:Edit contact name including salutation
#1542
- Adds an endpoint for deleting billing volumes and billing batch charg…
#1541
- Feat/water 3250
#1538
- Feat/water 3250
#1536
- WATER-3189: Remove PG boss in water service batch-notifications module
#1532
- Adds the new job for refreshing customer files
#1531
- bugfix-water-3338
#1534
- Bugfix - water 3338 - incorrect Two Part Tariff 2nd part charges for historic invoices
#1527
- Fetch the transactionFileReference from CM and store in DB
#1530
- Adds new routes proxy to the CRM for fetching company contacts and licences
#1528
- Feat/sending water abstraction alerts
#1523
- Test Data set up for the rebilling automation
#1526
- Roll-back
648a2a6
- As if by magic: Charge categories importer code
11ee0c8
- Further tweakage and linting
d95c2fb
- Tweak throttling and remove ineffective unit tests
bb2257a
- A different attempt at billing performance fixes
ad16001
- Improve code coverage
730705b
- water/feat-3398
d51031e
- WATER-3215: Create a regression test for removing a licence from an invoice
8e9e95a
- Contact management WIP
318dc17
- Optimisation attempt for the process CVY job
da7b41a
- -- restricted_source -> is_restricted_source
c6d181f
- Test!
5a7dabe
- Create process-charge-version-year.js
87df3d1
- Adds tests
fba0631
- tests added for the data service filter
dcc6a5d
- Adds test and auto-truncation for long category descriptions
ba33362
- Roll-back + WIP
063ae17
- Lint and test
136d7ab
- Adds tests
c4277dd
- Update process-charge-version-year-worker.js
f999cfc
- sql queries and ci tests
34987c6
- Adds new routes proxy to the CRM
3b83b3e
- feat/water-3411
03f7cb3
- dynamically generated list of notification types
f4d5081
- Uncomment
df70ba1
- Experimenting by removing the SROC modelling components
083e163
- Adds a bit of test coverage
40a8d69
- -- do not filter out historical rebill transaction
e5a6a37
- bigfix/cypress-tests
f7f6bbf
- Fixes unit test
397df19
- -- fixed regresion test data
bb3c378
- Fixes an issue where the date_updated was being updated with every cycle
14e7074
- notification row count
f657974
- WATER-3495: Upload Charge Information - use billing srocStartDate
0d21337
- Update batch.js
5865d25
- Tweak to ensure that the linkage status is not updated until the letter is sent
80e9074
- code clean
097d977
- Amend
volume
validation oncharge-categories
route024553c
- batch status changes reverted
17913f5
- charge category property names refactored
2ede205
- charge category properties changed to lower case
60584b4
- sonarcloud issue
8fa87e9
- tests fixed
42abf29
- bugfix/billing-volumes-by-batch
c7a6077
- bugfix/cypress-tests
efc54f8
- tests fixed
69776db
- Revert "tests fixed"
01d55ef
- tests fixed
397772d
- migrations updated
457f433
- Update returns-loader.js
fe9d5cb
- -- optimse code to only run when needed
93fd255
- Update process-charge-version-year.js
110d8f1
- batch status code reverted
7eddabd
- js doc updated and method name
3a9a6a1
- Update address.js
464470e
- Fix unit tests
6e7e908
- Load metadata.options when mapping Notification Events
6aaaabb
- Better logging
808e33b
- prepareTransactionsJobConcurrency
8155beb
- code refactored
d5d2b9c
- fetchAll changed to fetch to return one record
440af78
- default timestamp and comments
1bfdb7c
- Fixes broken tests
cac0c0a
- Minor smells
5a36a60
- reverted unnecessary change
e14576b
- Removes console logs
eec4d63
- code smells cleaned
7f7af77
- Update charge-versions.js
cff8a5d
- Updated migration script
5ac070a
- minor fix
4693b1b
- code smell fix
def866e
- Update process-charge-version-year-worker.js
bd6c75b
- Throttles charge version year processing
085cdfb
- charge category file name change
e7699c1
- sonarcloud issue
c330bd8
- Linting errors
6a3e181
- Update invoice-account.js
b5cca17
- Update get-recipients.js
ee6ea49
- Update charge-versions.js
f80eb75
- Throttling change
5f59345
- Update batch-status.js
704c29f
- removed unnecessary undefined
f741bb7
- Update charge-versions.js
7142c3a
- code smell!
defcd98
- validation of email
8a3b8bc
- Update register-subscribers.js
7018113
- Update register-subscribers.js
fdc051a
- Update register-subscribers.js
13573e8
- Adding 'deleting' to the list as per CMEA-226
6c1142e
- Adding 'deleting' to the list as per CMEA-226
5237b15
- Treat 'pending' the same as 'generating'
40760f2
- Treat 'pending' the same as 'generating'
1a29c94
- fix accessor name
2f9b843
- Update billing-volumes.js
75825d9
- Update routes.js
5b12e29
- Fix for WATER-3352
dd4bfc0
- Lint
780fff4
- Update config.js
7d1ec8e
- Update scheduled-notifications.js
63db9e9
- Replicates the change made to the release branch by @stephan-hough onto develop
512fb8e
- bugfix/water-3571
26eef3b
- Update process-charge-version-year-worker.js
f6a93bd
- Update prepare-transactions.js
c868bf0
- lint fix
9d93628
- Update controller.js
1302c93
4 October 2021
- Bugfix - WATER - 3321
#1525
- bugfix - water 3322
#1522
- WATER-3323 bug fix
#1521
- Adds endpoint
#1520
- route and controller for clearing rebilling flag by batchid
#1508
- WATER - 3293 - set min charge to false for 2PT transactions
#1519
- WATER - 3292 - merge test tear downs
#1517
- WATER - 3293 - Minimum Charge flag
#1518
- Update licence-version-purpose-conditions.js
#1516
- Update sync-licence-version-purpose-conditions-from-digitise.js
#1515
- Bugfix Water - 3281 - only remove the include in supp. billing flag for licences in the current batch
#1514
- Bugfux - water 3297 - remove licence from 2PT only
#1513
- Initial work adding endpoint to delete invoice licence
#1430
- bugfix/invoice-account-address-date-range-sort
#1512
- bugfix/invoice-account-address-date-range-sort
#1511
- Check that current_data exists
#1510
- Update charge-module.js
#1499
- Bugfix/rebilling labels
#1509
- WATER - 3089 - added rebilling state label to invoice model
#1503
- Update date-range.js
#1507
- Bugfix - Down migration fix for removing unrebillable enum from billing_invoices
#1506
- bugfix - WATER - 3177 - sync licence version purpose conditions from digitise
#1505
- Water - 3221 - delete test charge version data for regression tests
#1504
- duplicate PR for release Bugfix/water 3245 updating original invoice
#1502
- Bugfix - water -3245 - rebilling
#1501
- Water - 3104 rebilling - Batch Id added to Invoice model to match DB
#1500
- Water 3177 - Copying Digitise data to core database
#1495
- bugfix-water-3295 - creating credits for licences that has been removed from the batch
#1497
- Adds migration that makes NALD invoices unrebillable
#1498
- WATER-3300
#1496
- WATER-3245 - alter re-billing logic
#1494
- Ensures credits are stored as negatives in the database.
#1492
- Adds a test gauging station + teardown routines
#1491
- Bugfix - water - 3276 - incorrect historic transactions
#1490
- Regression test data/water 3225
#1472
- Bug/water 3285
#1487
- Flips CM credit notes to being negative, to bring CM inline with NALD
#1486
- Change supp years variable from 6 to 5
#1481
- Adds migration script to prevent <0 values
#1483
- BUGFIX - WATER 3278 - 2PT duplicate charges
#1470
- Allow meter readings for returns to start with 0
#1475
- Fix charging bugs jul 21
#1468
- Update config.js
#1469
- WATER-3232 - Fixtures loader extended and due and completed returns data added
#1467
- updated indentation
#1466
- Test data for water-3232
#1465
- Additional field added for WATER-3117
#1464
- Test data for water-3218
#1463
- Bump ws from 7.4.5 to 7.5.1
#1462
- Feat/water 3206 rebilling cm integration 2
#1446
- Bugfix/water 3113
#1460
- Minor tweak following QA identifying that previous implementation was…
#1461
- Adds endpoints for fetching licence version purpose conditions data
#1447
- Remove scheduler
#1459
- Updates Charging Go live default date + query for creating new charge…
#1456
- Feat/water 3172 backend licence linkage
#1449
- Adds the gauging-stations findAll route and method
#1455
- Adds an endpoint for removing licenceGaugingStation records
#1457
- Feat/water 3256 nps psc charging permissons
#1454
- WATER - 3169 - Billing contact needed in UI for 2PT review
#1445
- Update charge-elements.js
#1453
- Return not found from licence summary if document header not found
#1451
- Add job handler to delete errored CM batch
#1450
- Adds new endpoint for posting a new linkage
#1444
- 2PT1 test data fix
#1443
- WATER-3109: a new table for gauging station links
#1401
- Adds route and controller + associated tests
#1397
- Feat/water 3147 backend endpoint for station restrictions and licences
#1431
- Release/charging
#1442
- Update Bull MQ
#1440
- Update Bull MQ
#1439
- Fix unique constraint on financial agreement types table
#1436
- Fix unique constraint on financial agreement code
#1435
- Feat/water 3105
#1433
- Water 3105 - delete re-billed invoices
#1432
- Fetch due_date when getting returns by format ID
#1429
- Fix issue on licence summary tab caused by events with empty string status
#1427
- Ensure min charge transactions have correct status
#1428
- Release/wrls sprint 47
#1426
- WATER - 3105 Water service process to safely delete rebilling invoices
#1425
- Feat/water 3207 tpt transaction description
#1420
- Tweak TPT transaction descriptions
#1419
- Add isSection127AgreementEnabled flag to charge element mapper
#1418
- Adds search functionality for billing accounts
#1417
- Modify logic for which charge versions appear in TPT bill run
#1416
- Make charge element isSection127AgreementEnabled flag default to false
#1408
- Emails NALD service mailbox instead of queueing entity changes for se…
#1415
- Tweak query to get charge versions in bill run
#1414
- Tweak query to get charge versions in bill run
#1414
- WATER-3191 - licence links broken in internal returns flows
#1410
- Bugfix/water 3185 tltd agreement single day
#1413
- Add agreements history processor test cases
#1412
- Feat/water 3081 informing CM when there has been a NALD linked entities change
#1374
- Initial work to support licence summary page by licence ID
#1399
- Feat/water 3136 purpose conditions
#1402
- Test data/add 2pt1 test fixtures
#1407
- Release/wrls sprint 46
#1406
- Adds missing migration
#1405
- Adds missing migration
#1403
- Data 3048
#1400
- Remove gauging stations api
#1394
- Water 3110/gauging stations table updates
#1395
- Adds gauging stations to global search
#1368
- Test data for test automation of annual billing run
#1396
- Revert "Fixes issue where returns not received not flagged as error"
#1393
- Removes licence agreement purposes uses table.
#1392
- Removes River levels
#1384
- Set full billable volume only when season matches
#1390
- Include charge period in billing volume endpoint response
#1389
- Fixes issue where returns not received not flagged as error
#1388
- Water-3041 - New route to proxy notify calls via the water service
#1386
- Release/wrls sprint 45
#1385
- Feat/water 3157 licence agreement purpose uses
#1375
- Allow TPT returns grace period to be configured with env var
#1377
- Allow returns grace period to be set via .env variable
#1376
- UAT bug fix - send/approve batch WATER 3142
#1373
- Move empty batch detection to end of CM refresh
#1372
- Feat/water 3090 rebilling
#1360
- Set domain and port separately in tunnel module
#1369
- Replace request module with got in CM API connector
#1367
- 1.73.0
#1366
- Bugfix - factors overridden field added to charge elements test data
#1362
- Feat/water 2864
#1353
- Skip request to CM unless transaction in "candidate" status.
#1364
- Update helpers
#1363
- Feat/water 3011 return kpis
#1358
- Release/wrls sprint 44 patch 1
#1359
- Update cm-refresh-service.js
#1356
- Return additional factor fields for transactions csv
#1357
- Fixes pagination not implemented on invoice account invoices endpoint
#1355
- Bugfix/water 3126 zero billable day transactions
#1354
- Feat: Auth and Billable days set to 0 for TPT supplementary transactions
#1349
- bugfix - Charge element model annual quantity set to not nullable
#1352
- Do TPT matching tasks in series to prevent flooding DB/returns service
#1350
- Water-3070 Charge version workflow tweaks
#1339
- Feat: Endpoint for flagging invoices for rebilling
#1347
- Release/wrls sprint 43
#1345
- 1.71.0
#1346
- Update transaction.js
#1344
- Bugfix/min charge cm transactions
#1343
- Feat/water 3092 bull graceful shutdown
#1342
- Feat: Get invoices for a billing account
#1340
- Bugfix/water 3097 nald tpt supplementary
#1338
- Removes a circular reference preventing integration test tear down from working
#1337
- Feat: Stores isFactorsOverridden flag when creating new charge element
#1335
- Fix issue with invoice net total validation/mapping
#1336
- Fix: Updates Bills tab
#1329
- Scaling back following discussion with Alan/James
#1333
- Feat/water 3038
#1331
- Revert "Set is_two_part_tariff to true for 390 - anti-frost storage"
#1332
- Feat/water 2989 return cycles report
#1328
- Add migration to set is_two_part_tariff to true for 390 - anti-frost storage purpose use
#1330
- Hotfix/water 2242
#1327
- Stop using
match
service in EA address facade#1324
- Bugfix 1 of many for CMV2 migration
#1326
- Changes needed to migrate to using v2 of the Charging Module
#1325
- Water - 3020 - external returns regression tests
#1323
- Feat: Adds non-chargeable reason for licence revoked a month after annual billing
#1314
- Fix issue where test regions not torn down in acceptance test endpoint
#1322
- Fixes issues with integration tests due to recent changes
#1321
- Release/wrls sprint 41
#1320
- Fix issue with TPT transactions in supplementary
#1319
- Fix issue with TPT transactions in supplementary
#1312
- bugfix -- water-3001 patch charge version workflow if it exists
#1315
- Duplicating Stephan's changes into develop branch
#1318
- Fix: Makes approving billing volumes not required
#1313
- Bugfix/water 3001 duplicate charge version workflows
#1311
- Feat/water 2242 notifications endpoint
#1306
- Bugfix for water-3001 duplicate charge version workflow jobs
#1307
- Feat: Prioritise unsupported source in tpt matching
#1308
- Adds env variable option for nald switchover date
#1304
- Feat/water 3002 delete charge info workflows
#1305
- Feat: Delete charge info workflows
#1302
- Ensure deleted charge version workflows accounted for in supplementary billing
#1303
- Fix supplementary billing to cope with imported NALD transactions
#1298
- Add batch source property
#1301
- Feat/water-3001 Cron job for adding charge version workflows
#1299
- Add missing await in CM refresh service
#1300
- Stricter return line date validation for CSV upload
#1296
- Feat/water 3021 test data setup endpoint
#1295
- Feat/water 3016 persist transactions
#1293
- Adds new minimum charge rule
#1294
- Fix unit conversion issue converting licence purpose to charge element
#1297
- Returns requirements data added to acceptance tests data setup
#1282
- Bugfix/water 2998 supplementary after tpt billing volume bug
#1292
- Bugfix: Billing volumes volume rounding error
#1291
- Feat: Batch data download endpoint
#1290
- Feat/water 2861 notify callbacks
#1286
- Fix issue with billing invoice constraints
#1285
- Fixes constraint when upserting billing invoice
#1284
- Fix: Call CM multiple times for paginated transaction results
#1283
- Add additional columns/constraints for import of bill run headers
#1281
- Release/charging sprint 39
#1276
- Release/charging sprint 38
#1265
- Update create-charge.js
#1264
- Fix merge conflict in charge version test script
#1152
- Hotfix/v1.50 hotfix 1
#1119
- Update gauging-station-service.js
#1449
- Update package-lock.json
19e88e6
- feat/regression-3221
348585c
- Saving WIP
3917835
- feat/water-3292
313389e
- Lmao I feel sorry for whomever's going to have to review this pull request
6c40316
- New helpers repo dep version
ab95108
- Fixing broken tests & removes unused variables
7bcf64f
- package.json update
2ae9266
- WIP
9d1a249
- feat/water-3292
e686912
- WIP
8f52015
- feat/water-3292
bfa445a
- WIP
bdf9b5a
- feat/water-3089
2f98200
- bugfix/sync-LVPC-from-digitise
1a1ebba
- api with query and amended deleteBatchInvoice for cancel reissue
c0e2e45
- feat/water-3177
5cbb8d5
- feat/water-3089
6e88c3c
- feat/water-3245
2b08671
- WIP
c72ecf2
- feat/water-3232
60d73d6
- feat/water-3104
121e715
- feat/water-3104
7c97dd3
- feat/water-3104
1a8d04d
- WIP
c1c2ae9
- WIP
92009b7
- WIP
ff77765
- Tweaks to Digitise copying BullMQ job
81f713e
- Fixes broken regression tests
93f7259
- bugfix/sync-LVPC-from-digitse
2296f00
- feat/water-3245-new-rebilling-logic
2e102d7
- feat/water-3104
5febeba
- improved test coverage
49455ee
- ci test: clearing rebilling flag by batchId
71fb2a7
- sonarcloud issue
9dd9916
- add method resetIsFlaggedForRebillingByInvoiceId
dc0fcbf
- Add test case
fe2d483
- remove superfluous code
7be7940
- feat/water-3104
4cd6233
- feat/water-3104
a746214
- bugfix/water-3276
8a9f9d4
- feat/water-3292
b6fdc26
- Added a test
62b7b81
- WIP
dcfdff9
- feat/water-3292
fe7ef01
- feat/regression-3221
1a6ae80
- sonarcloud issue
cdf8227
- bugfix/water-3297
c34cd5d
- fix sonarcloud issue
93e80b2
- feat/water-3104
ee63838
- api with parameters originalInvoiceId, rebillInvoiceId
837c0f7
- General cleanse.
280167a
- Adds a test for the method
10b3e1d
- feat/water-3104
353d8f2
- Fix for supplementary billing issue
747e148
- fix sonarcloud issues
580492d
- bugfix/water-3297
bae2d05
- feat/water-3104-rebilling
e8f21f3
- sonarcloud issue
62960b4
- improved test coverage
ece063d
- bugfix/water-3297
89ad0af
- bugfix/water-3245
e2c60a0
- exp2
ba697a4
- feat/water-3089
74355e3
- Tweak tests
9838103
- bugfix/water-3281
5db35b7
- bugfix/water-3278
4f507cd
- feat/water-3293
bf973c9
- Tiny tweaks
9ca2017
- Adds Redis to ci
869aa56
- teardown process updated
938ea61
- feat/water-3089
ff46823
- Update licence-agreements.js
d9e6b54
- Update incorrect query for deleting agreements.
0c57a15
- Putting the FUN back in "function"
2c0aeba
- Take 2
17697eb
- updated ci test
2038edc
- feat/water-3292
61f56e5
- feat/regression-3221
6060a0f
- Tweaks
2465b81
- bugfix/water-3278
41750b1
- Add Joi 17 support for manual address entry.
368caa5
- ci test re-enabled
aac844e
- move unset rebilling flag to api
8e0be4b
- bugfix/water-3297
ff50f86
- Update broken test
051b7a5
- Update ci.yml
97f771f
- Update ci.yml
cfa011e
- Revert "Revert "Update invoice.js""
045e078
- Revert "Update invoice.js"
d775cfc
- Update invoice.js
6dbdb6f
- fix sonarcloud issue
80f1681
- feat/water-3293
6ee0519
- Fixes broken test
b6461ee
- Fixing a minor typo
c55675c
- feat/water-3104
733d600
- Time limit mapping was missing
fc07dae
- Update batch-service.js
179a558
- Update licence-agreements.js
1dab9b3
- Update batches.js
4031653
- Code smells
999f194
- Update ci.yml
e10ebde
- bugfix/water-3297
fcfb056
- Update invoice.js
098c349
- New licence agreements teardown query
6b8395b
- feat/water-3232
5e7ba39
- updated the code from external user to secondaryExternal user
c1c66d3
- Updates query to exclude 2pt transactions from supplementary processing where the charge element does not have a billing volume in the current batch
89a5400
- feat/water-3293
6a8cb08
- feat/water-3293
a98e16a
- lint fixed
ce1ccb9
- bugfix/water3297
8713c48
- bugfix/water-3297
80ecd9d
- Corrects a job name
5413f3f
- bugfix/down-migration-fix for
f4e0a8b
- feat/water-3089
3ef7ee7
- bugfix/water-3245
0e0f346
- feat/water-3104
0ce03c6
- bugfix/water-3295
5db33a2
- Update batch.js
ffc3b5c
- bugfix/water-3276
4cef91b
- bugfix/water-3276
a84ac53
- bugfix/joi-fix-returns-schema
bfa64b4
- Update tear-down.js
762e467
- Update ci.yml
1d4ca18
- Remove --bail
9055515
- bugfix/water-3278
099ec50
- feat/water-3104
805380c
- feat/water-3929
aa73830
- feat/water-3245
3413102
- Update batches.js
7322b08
- Trigger code climate
f922f17
- Bugfixes, fix tests
1e63bf9
- Adds enpoints sans-tests
457db92
- Adds a new test fixture for bulk returns
cec6c1b
- Adds a few tests
b94fba5
- Deduplicating routes in accidental merge conflict
d097f41
- feat/water-3232
d42e09d
- Provisions necessary files and config object items
edf94fa
- Removes a code smell and increases coverage
d079cf3
- Updates query so that it fetches abstraction periods from linked conditions
4c26fc9
- WIP
5dee944
- Saving WIP
bdd21ff
- Additional tests
40c00bd
- Additional tests
f587979
- Additional tests
36d4023
- Adds tests for the two new methods
6b11013
- Further tweakage following discussion with James regarding the abstractionPeriod object
d191ce6
- Makes a date field nullable
d643684
- Additional tests
a51d545
- Tweaks following peer review.
b764108
- Additional tests
fd57b1f
- Updates Charging Go live default date + query for creating new charge version workflows
0fe34eb
- feat/water-3169
260633e
- feat/water-3169
32b7e4c
- feat/water-3169
b94ce6f
- sql findGaugingStationWithLinkedLicences with explicit column names
50df890
- feat/water-3169
6ed6e05
- Restoring Axel's query
d130660
- Update gauging-stations.js
94c2bdb
- Data fixture changes to support WATER-3218
95088ae
- Additional tests
cbfd93f
- Flatten abstraction period object and correct variable name mismatch in controller
5c9be4f
- Bug fixes, omit re-bills from supplementary
5229fcb
- feat/water-3169
44c760a
- feat/water-3169
8551830
- FIx code smells
db0be2c
- Review tweaks and comments
4a31c53
- Saving WIP
8517888
- Fix a broken test
86f75a3
- Minor tweak to test fixtures
795936d
- Removing code smells
e2bb1a2
- Fix code smell
c0f5080
- Further tweaks following peer review
57c0b2f
- Fix broken tests
3dda522
- Tweaks required to make WATER-3247 work with the production release timeframe
9ce3712
- fix indentation
974ee78
- Minor tweak following QA identifying that previous implementation was hard-deleting records
9d449f3
- Adds auth check
8f58ba1
- Fix lint errors
f891b67
- Update index.js
98671f8
- Removed some oopsies
d1dcb1e
- PRODUCTION BUG Check that data exists when composing search response
203c5ae
- feat/water-3169
53d18c1
- bugfix/yaml-test-data-fix
2ffbb3d
- Fix bug where deleting batch with 0 billing_batch_charge_version_years caused error
8685de6
- feat/water-3196
ff06e85
- Update gauging-stations.js
d823cde
- Add licence Id to query
28a161d
- Update gauging-stations.js
0b1b985
- Update licence-gauging-stations.js
43ca2a4
- Trigger CI
436cd5a
- Removes unused variable
6d005e1
- merge develop into feat/water-3172-backend-licence-linkage
4a8ff29
- merge develop into feat/water-3172-backend-licence-linkage
103b6be
- Re-billing implementation
3283693
- Initial work on re-billing
29d8d2f
- Fixes a dodgy service method + Adds test
2478f37
- MIgrations
85082c4
- Minor fixes to mapper + broken test
73bbf72
- Backend api for linkage view gaugingstations by licenceid
1774bc9
- backend for licence-gauging station UI linkage
f303fbd
- Fix generation of batches when 0 transactions except rebilling
a16f7b0
- feat/water-3169
92650f4
- feat/water-3169
a15d56f
- feat/water-3169
05121b8
- feat/water-3169
81d278e
- feat/water-3169
084553d
- Changes to the validation so that you get a 404 if you provide an invalid payload or gauging station Id
b3f0b41
- Validation tweak following peer review suggestion
777169b
- Resolves some merge conflicts
57a56a6
- Tweak permissions
9748eae
- Adds a test
42e022a
- Fix tests
28a2683
- Update mapper
f7ef3c5
- Fixes a dodgy-looking mapper
62475e2
- Fixes a dodgy-looking mapper
ab8479a
- Update mapper
b9bd0cb
- Validation changed following peer review
b203f87
- Update routes.js
4b9c7d2
- FIx test
cc6819c
- feat/water-3169
6402f73
- feat/water-3196
5f79165
- feat/water-3169
9754cff
- Allow null for licenceVersionPurposeConditionId payload item
6a590ac
- Fixes a broken test
36a1f8b
- Fixed a minor error
f64e1cd
- feat/water-3169
9530536
- feat/water-3169
848a05f
- sql findGaugingStationWithLinkedLicences simplified and merged
b338a57
- Create endpoint and tests for gauging station restrictions/licences
746813d
- Create endpoint and tests for gauging station restrictions/licences
324e1a9
- Initial tests
d9a4abf
- code refactoring and extended sql query
3db187b
- code refactoring and extended sql query
f51bf9c
- fix linting issues and amend tests
5c87d99
- feat/water-3105
fc3482d
- feat/water-3105
4c334a5
- feat/water-3105
9cef455
- amend sql query and name api endpoint
8e76750
- remove superfluous comments
12e78d0
- Tweak to use controller pattern
85a7742
- remove superfluous comments
6669652
- FIx broken tests, update hapi lab version to fix globals issue
24b86e2
- Got implementation working locally
6d6928b
- New supplementary billing process to cope with imported NALD transactions
21343ef
- Fix broken tests/lint errors
75044df
- Split supplementary processing so that the core processing is a pure function and management of the data in the DB is a separate service
b25fbbd
- Additional tests. Remove min charge flag from supplementary grouping key for NALD transactions
1cddd53
- feat/water-2941
0912254
- feat/water-2941
a530c6a
- feat/water-2941
8726e87
- Fix 3056 TPT supplementary issue in release branch
d10b5d8
- Fix annual integration tests AB1 and AB2
13efe21
- Tidy up got implementation, remove legacy code
b318a32
- Add tests for supplementary processor
93aae34
- WIP
cd0398a
- WIP
77ab216
- Adds file streaming by using the got module
7eae66a
- Additional tests
ee46c41
- Simplify charge version service, ensure that each transaction type is only inserted once per charge version/type/fin year/season
6141112
- feat/water-3142
155740d
- Unit tests
6523726
- Creates new batch download data route
ef422ab
- Add tests
b97f04a
- Made some changes off the back of peer review
faeb54e
- bugfix/water-3001
986cd00
- Fix notify and barebones test data setup
90e0d49
- feat/water-2941
9a1e15d
- feat/water-2941
2559223
- feat/water-2941
13c22f5
- Adds test data to enable regression tests on charge version workflows.
9bf1aec
- Adds job test
b7cd3af
- Added unit tests
365ad42
- WIP
900b6d8
- Add re-billing job
a2b7ec0
- Replicates the functions that were removed by removing the Postgres connector
99a22bd
- Reduces CM transaction calls
54e1e16
- Additional tests
bdcbe98
- WIP
8b66db0
- Fix tests
646fb02
- Fix code smell, additional test case
827b1ab
- Fix issues with incorrect charge period dates by reversing previous transactions rather than editing transactions from current batch
8f549b5
- Additional tests
f65baac
- Fix code smells, add tests for AccessTokenManager
71128fa
- Tests
2c6fe06
- Fix test file naming
39ee3c7
- Extend the model and mappers
94f4ec4
- Cache invoice external ID
3672c07
- feat/water-3020
a1aba3f
- Skip request to CM unless transaction in "candidate" status. Remove 409 handling
a2b77ac
- Add licence agreement purposes
1eb9758
- feat/water-3136
e9f3970
- WIP
1c4005d
- Adds migration scripts
bd185c8
- Adds a join column to allow purpose uses to be linked to a licence agreement
0a032c4
- Additional tests
ba0f687
- Add re-billing migration
98e5a37
- feat/water-3105
5eb7b5c
- Resolving code smells
23e9726
- Reinstating a constraint that I unhelpfully removed a couple of days ago, thinking it was a duplicate!
d3137ac
- Drops duplicate constraint on financial agreement types
a2d63f4
- Add new fields to Invoice model. Prevent flagging for rebilling on rebilling invoices
b844079
- Remove commented code
6b15245
- WIP
a85203d
- Reset rebilling flags when bill run sent
af2c3a8
- feat-water-2941
51344e4
- bugfix/water-3041
a99e0ba
- Update ScheduledNotification model to pass notify_id as notifyId
5feeb9c
- Changes to acceptance endpoint to set up a fake notification
be757c5
- bugfix/water-3041
13b7a3b
- updated sets.json
fc7b2f8
- Update sets.json
512910d
- Adds a new fixture set for Srujan's automation suite
44d87ec
- Tweak logic to allow winter/all year 2021 TPT batch to be processed in service
9666a65
- Included linked bills in invoice response
c15e888
- Revert "Tweak logic to allow winter/all year 2021 TPT batch to be processed in service"
490351e
- Add charge version id to charge element
3f67f59
- Changes following Peer Review 2
3ee7c6c
- Modifies the 2PT1 setup routine
19b1013
- Move redis max listener count to config
80709fb
- Emails NALD service mailbox instead of queueing entity changes for sending to SOP via CM
f80225e
- Add repo method to find linked invoices
d3243d4
- Breaking long lines
21ae78a
- Allows the returns grace period to be customised for testing via env variable
3cce8ce
- Additional tests
bad0f8a
- feat/water-3136
d09c2a7
- Add linkedInvoices array to Invoice model
8128c42
- Increase test coverage
61dea1d
- Fuller coverage
bb9b625
- Change order of migration scripts
418db82
- Fix code smell and test
2846f7b
- Fixing a couple of PR observations
4fdd677
- Update tests
846109d
- Fixes a broken test
e911a5e
- bugfiix/charge-element-test-data-fix
1da03a0
- bugfiix/charge-element-test-data-fix
6e35263
- bugfiix/charge-element-test-data-fix
a371fba
- bugfiix/charge-element-test-data-fix
4148850
- bugfiix/charge-element-test-data-fix
75815bb
- Patches the 2PT data set up as requested by Hari
ba88af5
- feat/water-3136
c884982
- Update 2PT1.yaml
efeceeb
- Fixing a broken test
5c2e0b0
- Fixes SonarCloud issues
1f792fa
- feat/water-3142
425a4ea
- Include current month in totals
d030e32
- Tweak mappers
707781e
- Fix typos
481f572
- feat/water-3136
86209da
- Update .env.example
3953012
- Removes unused variable
58969c4
- Adds missing variable to Github actions
af1caea
- Fix test
33fd6c7
- Remove unused variables
0a0dc96
- Fix code smell
dc361d7
- Update 20210222191936-charge-version-workflows-licence-version-consraint-up.sql
548f044
- Update 20210517102220-create-licence-gauging-stations-table-up.sql
d32ced9
- Update check-for-updated-invoice-accounts.js
a59f156
- Fix broken test
e0e3801
- WIP
95a9509
- Minor correction in the reporting controller
5a13909
- Removing a minor code smell
a61855a
- Removing an oopsie that was accidentally committed
aea128a
- bugfix/water-3041
6d96947
- Fix linter error
62db37a
- Removing a semi colon accidentally created in resolving a merge conflict
7d53b7a
- feat/water-3142
71a2ac5
- Increase Redis listener count
980ce2f
- Removes a code smell
ce0918e
- Update reporting port to 8010
73b28f7
- Update 2PT1.yaml
70117bd
- Removes TEST Licence Versions in the teardown routine
228709c
- Re-run CI
c039c65
- Reorganises billing route and controller files
8b55f9b
- Feat: Flag invoice for re-billing
0a27bb4
- Fix tests
be98f8a
- feat/water-3070
c3c8de6
- Updates route definitions to match new Hapi version requirements
22af63e
- Re-write returns events query
da851af
- Use new return cycle reports for KPIs
93928ec
- Add graceful shutdown of Bull MQ jobs
664ffda
- feat/water-3070
3b8556a
- Adds migrations to add rebilling flag to water.billing_invoices
1c76ad3
- feat/,water-3070
3f86bd3
- Moves batch related test files
979b2c4
- Add failing test cases
9fc1c44
- Add tests
9e92d31
- Reporting changes to fetch report from stream
4c17fa1
- Adds isFlaggedForRebilling flag to invoice model and mapper
f3c0ea4
- Removes function that is no longer useful for fetching a signed URL
fe0324c
- feat/water-3070
ea37f38
- feat/water-3070
7663fda
- WIP
ab977af
- Makes isFlaggedForRebilling required for PATCH invoice endpoint
fc10215
- Tweak API response naming
cf2f8f7
- Update mappers.js
470e5b9
- Fixes broken tests due to variable name change
287bc62
- Update test file with valid report name
7cd1154
- Fixes SonarCloud issues
3123ab0
- feat/water-3070
bda93fc
- Filter standard/compensation charges with 0 billable days in charge processor
6764033
- Minor code smell
f81f06b
- Update controller.js
1d7ce0d
- bugfix/ce-annual-qty
cf04a13
- Fixes linter error
ef04f0c
- Update 20210518102220-create-licence-gauging-stations-table.js
d108e07
- rebase
346a822
- Adds getSignedURL S3 method + Updates failing tests with current year
4e1393b
- Restores broken transaction tests in the form of commented code as James requested. Ignore the code smell please
dea3751
- Removes unnecessary migration as suggested by James
44c7b24
- Removes defunct tests
7abf2df
- Changes to map CM v2 data shape to WRLS expectations
94ed9fe
- Adds hard delete when a charge version is created from a workflow
25216f1
- Updates charge module decorators to handle cm Transactions
4d335c6
- Add
generating
as a valid batch status to support CMv26820c18
- Adds nald switch over date and applies it when creating transactions
f501a7b
- Removes redudant licence methods. Tweaks charge version workflow methods to work with new model set up.
41ca64c
- Migration
4d6a4bf
- Review comments
4067cd4
- Additional tests
63ba363
- Fixes some of the broken tests
cf9795f
- Removes transactions from integration test pack as endpoint is not available in CMv2 (yet?)
0f43ea0
- Revert "Add migration to set is_two_part_tariff to true for 390 - anti-frost storage purpose use (#1330)"
e652e7b
- fix linting issues and amend tests
25821e8
- bugfix/water-3001
460c061
- Fix supplementary tests
3a6d7bd
- Remove code to create hashed transaction keys
0ee89e2
- Skip TPT matching where approved billing volumes exist for CV/fin year/season
6339c1c
- Fix broken tests
23fa7e3
- Removes unused endpoints
8fe53c1
- Removed unnecessary mapper code as suggested by James
9db6923
- WIP
d87cef9
- Fix integration test suite
257b6ea
- bugfix/water-3001
47f3b1a
- Updates minimum charge criteria.
362c1a2
- Fix code smells
88a25a4
- Update tests to include UUID-formatted IDs
033018a
- Adds missing [new] parameters to the test file
6656ddf
- Assess batch readiness using new states (Pending instead of sent)
4834b40
- Additional tests
1d8cdf2
- Ensure scheduled notifications are deleted in tear down phase relating to test events
65f170a
- Revert "Merge branch 'develop' into bugfix/water-3001-duplicate-charge-version-workflows"
4057db5
- Reducing repition by deconstructing cmTransaction.calculation.WRLSChargingResponse as suggested by James
b8a283f
- Fix tests/lint
fd48e47
- Updated query for gauging station restrictions/licences
9bbae5e
- Updated query for gauging station restrictions/licences
2858127
- Changed names of validators as advised by Stephan in peer review
9a32002
- Broken tests
cf1112a
- Bug fixes
77046f6
- Update 20210322162609-add-generating-to-batch-status-enum-up.sql
f01c216
- feat/water-2941
c7fe18b
- FIx issue with charge version workflow fixtures
e9138cc
- Ping /generate endpoint after adding transactions
130f1f3
- Increase code coverage
a300fd8
- Increase code coverage
3ce4489
- Fix broken test relating to credit sign
5fd7559
- Pass URL to frontend
c5c69cb
- Initial changes to generate a bill run + update customer record
1cc8032
- fix code smell
73ae3db
- fix code smell
d83c37d
- Correct minor typo
ee0422c
- Removes unwanted status types as requested by James
694263c
- Update test to match latest change
4bed3e3
- feat/water-3105
09e91db
- Testing a theory of sorts
2c970fc
- Fix broken test
66e132f
- Updates batch status to sent after invoice numbers are persisted
2cbb0d9
- feat/water-2941
688b56d
- feat/water-2941
1319765
- feat/water-3105
6771379
- feat/water-2941
5040083
- feat/water-2941
032cb3c
- Linting
ccbb74d
- Update Tests
bee1809
- Removed 'generating' and changed test to look for a status of 'sent' as advised by James in peer review
6275098
- Removing three code smells
be8866a
- bugfix/water3001-patch-workflow-if-exist
7c080c7
- /send
ccea327
- fix code smell
ab87aeb
- feat/water-3105
093cd9d
- fix code smell
e2bf4f9
- Sets batch status to processing on approval
a545093
- Revert "Fixes recent change in CM API"
3682e1c
- Call invoices in series to reduce CMv2 load
81e36d2
- Fixes recent change in CM API
07e8b9c
- Fix lint issue
a108520
- Remove outdated endpoint
6d1e9a0
- feat/water-3105
33bc6ea
- Billing account search should tolerate lowercase input
afe3fa3
- Fix minor code smells
fef7be4
- Change delete bill run endpoint
17024c4
- Remove comment
3054d68
- bugfix/water-3001
c388e00
- bugfix/water-3001
acb84e3
- Fix code smell
77d26ae
- Fixes SonarCloud issues
05639b8
- Linter
2789383
- fix code smell line length issue
0baae41
- skip test requiring new table water.gauging_station_condition
4e1ebf8
- fix code smell line length issue
64fb7c0
- skip test requiring new table water.gauging_station_condition
087b99c
- Credit note polarity change as CM v2 returns positive credit notes
8a513a0
- Tweak required to skip row if billing volumes array is blanked
9546740
- spaces at the end of line removed
2ec9055
- fear/water-3105
11413d4
- feat/water-3105
3265cde
- feat/water-3105
d4b780e
- feat/water-3105
8954bee
- Bugfix 1 of 23849729384
54d8f99
- Linter: Unused import
21af7ff
- Revert "Adds env variable option for nald switchover date (#1304)"
c169090
- bugfix/water-3001
8c92bf9
- Adjust expiry to 45 seconds as requested by Kaushal
192784c
- Removes console logs
156c15d
- Removed an accidental console.log
6cfcdbd
- Pings the approve endpoint
55498e6
- Fix migration
f95fbfb
- Work around for CMv2 being unable to deal with DB row clash
554daef
- Update bill-runs.js
4e84c61
- Fixes linter error
be8ff0a
- feat/water-2941
a2f3676
- feat/water-2941
238de0e
- Developer error! 🤦🏽♂️
d05a9ec
- Remove a console log that I accidentally left in
ea58f73
- test
a7f2a00
- Update controller.js
72a7307
- Updates the gitignore file to include vscode
418f641
4 February 2021
- Split invoice account creation / address into 2 separate endpoints
#1275
- Create migrations for billing batches table for NALD import
#1280
- Fix slow query fetching licences without charge versions
#1279
- Config.js tweak
#1278
- Tweak billing Bull MQ jobs to return less data and remove on complete…
#1277
- Feat/water 2746 TPT integration test (FORK)
#1266
- Feat/water 2903 bills tab
#1273
- Bugfix: Marking billing volumes are errored not required.
#1274
- Feat/billing routes use scope
#1272
- Feat: Removes start date when finding licences without charge info
#1271
- Added Tests
063b150
- WIP
10b688d
- Tweak billing Bull MQ jobs to return less data and remove on complete/fail
595f9a8
- Fix tests
ca22edc
- Update Bull
bfc3382
- Febreezing
917c18c
- Feat: Removes start date for finding licences without charge info
6e9a5ec
- Modify endpoint to use mappers
fb4cc1c
- Tweak following PR
3b2ebcd
- Plots invoice and batch objects in response, to avoid changing mapper files
8f38888
- Update invoices.js
3a597a7
- Added config change as discussed with James
133024e
- Revert "Renaming two vars to remove a code smell"
a4abcba
- Renaming two vars to remove a code smell
309e7c0
- Adjust removeOnFail and fix code smell
ef6874d
- Code smell fix
77ed0a8
- Remove unused relation from test
9166d41
- Remove unused relation
6e652fa
- Removes unused const
f816d7f
- Update invoice-licence.js
e9b057b
20 January 2021
- Feat: Bulk Upload Y/N fields accept Yes/No
#1269
- Feat: Store invoice numbers and totals when batch is sent
#1262
- Set authentication credentials in request.auth.credentials
#1270
- Feat/water 2964 company invoice accounts
#1267
- Fixes issue with KPI tests
#1268
- Update create-charge.js
#1263
- Modify authentication to use internal calling user or decoded JWT token and set in request.auth.credentials
efeb8ef
- Adds trim to Y/N values in csv validator
1e1500f
- Remove unnecessary semicolon
b5d071d
6 January 2021
- Fix: Updates contact schema validation
#1261
- Use shared knex query mapper from helpers
#1260
- Send unique transaction ID to CM - WATER 2945
#1257
- Update regression pack to use acceptance-test set up endpoint
#1258
- Reconfig
#1254
- Change NODE_ENV
test
toqa
#1259
- Removes unused queries
#1251
- Feat/water 2932 get companies house company
#1247
- Bug/water-2967
#1249
- Bugfix - KPI reporting - returns by month query fixed
#1250
- Feat: Exclude licences with charge version workflow in progress from bill runs
#1228
- Adds missing address sources
#1248
- Feat: Proxy creating address in CRM
#1242
- If CM is running on localhost, bypass the Cognito Auth process
#1246
- Feat: Proxy CRM to create contact entity
#1244
- Update PG and knex in the Service module
#1241
- Bugfix: Limit billing volumes to 6 decimal places
#1238
- Bugfix: Makes licence purpose annual quantity nullable
#1239
- Removes unused Two Part Tariff matching files
6c8b199
- feat/water-2945
31c934e
- WIP
4f9bdc2
- Update package-lock.json
7b8ee1c
- WIP
02e5041
- Makes changes based on review comments
e883760
- Removes duplicate address service
e525b27
- Fix broken tests for acceptance endpoints
3e5219b
- Bugfix: Limit billing volumes to 6 decimal places
9ba5b0b
- Fix broken tests
0b12d8c
- WIP
005ea82
- Maps payload to model and uses shared address service.
f5408b3
- feat/water-2945
016676b
- Update licences service to correct method for flagging licence for supplementary billing
ad810e6
- Just tidying
bf7c429
- Adds test to prehandler
b9a8ba0
- Update licences.js
ff3f0b2
- bug/kpi-reporting
aecb2ce
- Lintage
df9914e
- Update 20171201101821-water-up.sql
2075d85
- Update package.json
daeb1a1
- Update 20171201101821-water-up.sql
fd8e9ae
- Update config.js
3d50344
- Update config.js
c74a14f
- Update ecosystem.config.json
7b6a716
- Increase job check interval
0df8321
- bug/kpi-reporting
bfdd45f
- Update config.js
7452f3d
- Added check for test mode, to prevent tests from failing due to locally calculated JWT
0c50102
- Fixes SonarCloud code smell
c10a7df
- Update documents.js
731b5d4
- Fixes linter error
89323ed
- Update knex.js
254f2ec
- Update knex.js
8081355
27 November 2020
- Bugfix/water 2942 common address validation
#1236
- Bugfix: Allow transaction external id to be null
#1237
- Feat/water 2523 update customer details in the charge module
#1232
- Feat: Updates minimum charge transactions with charge data
#1235
- Feat/bull mq test
#1233
- Uses single knex connection/pool for all DB queries
#1234
- Adds is_enabled_for_new_charge_versions flag to water.change_reasons
#1231
- Foreign key and constraint added to charge versions table for licence id
#1230
- Feat/Edit charge versions - licence id added to charge versions
#1207
- Bump aws-sdk from 2.791.0 to 2.792.0
#1227
- Fixes issues relating to "NALD gaps" in charge version history
#1226
- Bump aws-sdk from 2.739.0 to 2.791.0
#1225
- Add new CI
#1224
- Adds API endpoint in non-prod to delete all billing data
#1221
- feat/water-2806
f555114
- feat/water-2806
4400088
- feat/water-2806
1c269e3
- feat/water-2806
67202e9
- Update README.MD
96661d2
- feat/water-2806
42e5075
- feat/water-2806
2501753
- feat/water-2806
271319b
- Update ci.yml
fe3a776
11 November 2020
- Feat: User can only run 1 annual or TPT bill run per region, FY and season
#1219
- Feat: ensure that customers are not billed twice
#1210
- Round billing volumes to 6dp not 3dp
#1216
- Handle 4xx errors in charge module
#1214
- Travis has finished running but the API callback has failed. https://travis-ci.org/github/DEFRA/water-abstraction-service/builds/741351841
#1205
- Fixes issue in paper forms flow for returns with "null" values in abs period
#1212
- Fixes issue in paper forms flow for returns with "null" values in abs period
#1211
- Make paper forms batch notification send immediately.
#1204
- Feat/water 2885 charge version workflows
#1201
- Fix: Updates the use of Boom.unauthorized
#1200
- Feat/Water - 2793 -- supplementary bill run data for acceptance tests
#1197
- Bugfix/companies house api proxy failure
#1196
- Add licenceNumber property to CRM v2 document model
#1192
- Bugfix/charge version workflow scopes
#1194
- Hotfix/migrations failing 19 10 2020
#1191
- Feat: Get licences without charge versions
#1189
- Bugfix/refactor role enum in models
#1186
- Add legacyId to returnRequirement model and mapper
#1185
- Feat: Integrate Charge Information Flow
#1184
- Fix tests
9e8094e
- feat/water-2793
62053af
- Removing tests in progress... WIP.
5c5bee2
- Map service models to Notify address
60e6e15
- Additional tests
95d796a
- Handle unmatched documents
0bf9897
- Updates mappers to new mapper method
38dbe1c
- Linting!
4110077
- Breaks HTTP requests out into another file so that they can be mocked in test
05a96a2
- Handles HTTP client errors in CM and continues processing. Adds hasTransactionErrors flag to invoice/invoiceLicence models.
51819bd
- Add migration script to deal with change of label
3f22220
- Replace CRM helper with call to connector
5f7a58d
- Swaps out the companies house requestor
57b070b
- Add migrations
953726d
- Removes contact, company and address from the InvoiceLicence model
5cd90ba
- Fixes issue where role name for charge_version_workflow_reviewer didn't match IDM role name
e184696
- Bypass unnecessary error
033f21b
- Removes error throwing
14317a0
- Migration script change
bfb35e8
- Fixing tests to match 'review' instead of 'draft'
50461ff
- Swap out http for request-promise
c425eb8
- Additional tests
567a28a
- Removes unused 'uniqueId' value from the Invoice Licence model
f885fcf
- Reverts change to mapper helpers. Fixes tests.
42894a9
- Remove comopany, address and contact from mapper
60ba5cb
- Add licence number to Document service model and mapper
ac611af
- feat/water-2793
b0969ac
- FIx code quality issues
e1d6bb1
- Removes unused variables
8bbcfb9
- Remove company and licenceHolder from createInvoiceLicence method
5695f2b
- Modifies the controller to handle reviewer comments
c2bcd92
- Makes the change-reasons endpoint return and object instead of an array
dc712a8
- Fixing typos!
7f5c7f6
- Immutes existing object instead of creating a new one
f01c7c6
- Update charge-version-workflow.js
82cc9b3
- Update 20201012124428-scheduled-notification-primary-key-to-uuid-up.sql
ac90765
- Corrected SQL query affected by this change
3c299a1
- Update charge-version-workflow.js
5643456
- Change default charge_version_workflow status to 'review'
f3bbc54
- Modifies the unique identifier to only look at the licence number
0e4efe5
- Fixes a bug whereby return was kicking in before the service method gets a chance to respond (await)
1d47e2b
- Takes a more cautious approach to finding the startDate
9248f0b
- WIP
ff930c4
- Linting
2cc521e
- Update charge-version-workflows.js
87d7ea3
- Update charge-version-workflow.js
6b8ae01
- Allow null in charge-elements.annualQuantity
e4db163
- Allow licence_version_purposes.annualQuantity to be nullable positive or zero int
977b1c5
- Update charge-version-workflows.js
036eca5
- Allows destructuring when dateRange is undefined
cc959d0
- Update companies-house.js
fef57f8
- Sonar correction
319588a
- Amending start date - being extra cautious in case we forget to change it when we go live
3606126
- Correcting a syntax error
82a368d
- Fixes typo in change reason types
95864e6
- Adds missing required value
5cd3104
- Lint error
c9bc6b4
14 October 2020
- Feat: Paper return forms API
#1183
- Feat/water 2856 paper forms api
#1174
- Chore: Promote PDF generation code to the lib dir
#1175
- Feat/water 2777 end agreements
#1173
- Adds an endpoint to get the CRM v1 document by licence ID
#1161
- Updates mappers to use new object mapper
#1172
- End agreements tests
c429b84
- Updates mappers to use new object mapper.
db318d0
- Initial work for end agreements
d63d47b
- Updates unit tests failing on travis
7685eb8
- Fix linter issues
a9eba80
- Fixes broken test following merge
d560b49
2 October 2020
- Removed some unnecessary spaces and SQL terminators
#1169
- Feat: Handle non chargeable change reasons
#1144
- Fix bill run issues due to CM statuses
#1163
- Fix/add tests
02d918c
- Resolves an issue where bill run resolves to error page due to incomplete CM summary
f2ed21a
- Revert "Removed some unnecessary spaces and SQL terminators"
1932fa1
- Fix issue with non-existent addresses
93fb816
- Move charge module retry options to app config
3820768
1 October 2020
- Adds UNIQUE constraint on ALTER TABLE water.financial_agreement_types
#1165
- New route to get invoice account by Id
#1164
- Updates transaction processor to set correct flag in transaction
#1157
- Feat/water 2688 agreements api
#1148
- Fix issue with large (e.g. annual) bill run
#1140
- Feat: Stop deleting zero value transactions
#1155
- Creates integration tests for scenario SB2
#1141
- Water-2803 - move logic to identify abstraction period season to helpers
#1149
- Feat: Delete licence agreement
#1147
- Initial work to create charge version from workflow POST endpoint
#1131
- Fix tests
a27c7fc
- Initial work to create 'add licence agreement' endpoint
cc5c4a0
- Fix tests
47ce639
- Move logic for marking error'ed batches to handlers.
9075092
- Review comments
11c6381
- Additional tests
a8d20be
- Combine delete and create methods for agreements into single service
e8f39b9
- Additional tests
8c3fd3d
- Tests for licence agreements service
d00d513
- Additional tests
06c2e1c
- feat/water-2689
7cc6b8c
- Add migration to add guid primary ID to financial_agreement_types table
87cec49
- Fix tests for agreements routes to include scope
dd09dbb
- feat/water-2803
faa4a2e
- Updates mapping/repo code for updated schema for licence_agreements / financial_agreement_types
da4a6e5
- Fix CodeClimate issue with mapErrorResponse function
faa1e8c
- Add comments to internalCallingUser plugin
a0b09d9
- Additional test
01f0768
- Fixes issue where prepare-transactions-complete did not publish enough jobs
b12d882
- feat/water-2803
28d65f2
- Protects agreements routes using new IDM roles
44a3498
- feat/water-2689
db1f834
- Ensure unique constraint is added in water.licence_agreements
c0a1e9f
16 September 2020
- Adds Integration test AB2
#1132
- Refactors invoice and related mappers
#1135
- Feat: Change reason type
#1134
- WATER-2785 - Added GET /water/1.0/licences/licence-accounts
#1124
- WATER 2793 - Create charge test data for Acceptance tests
#1126
- Feat/water 2836 charge information 4 search existing companies
#1128
- Revert "Sets up AB2 scenario with tests."
db84005
- Sets up AB2 scenario with tests.
3993d9d
- Added GET /water/1.0/licences/licence-accounts
87ede48
- Added missing controller test
a8e96bd
- feat/water-2793
f4afded
- Added GET /water/1.0/companies/search
3199764
- Added a missing controller test + changed URL to plural syntax as suggested in PR review
30822d3
- feat/water-2793
09f3adf
- Added a missing test
d78d016
- Added service test
ebd4ff4
- Linting
43a599d
- Added a URL resolution test
bf08f65
- feat/water-2793
6536b83
- Added test for searchCompaniesByName route
a46da2f
- Linting + Added mapping
ffd4642
- feat/water-2793
992c5d7
- Added mapper
66981d3
- Lint
23af146
- Update controller.js
b1646d2
- feat/2793
5d60275
28 August 2020
- Feat: minimum charge
#1093
- Use return due dates from helpers for identifying returns in return batch notifications
#1122
- Add endpoints to patch and delete charge version workflows
#1115
- Feature/2743 charge information
#1101
- Fixes issue in charge version dbToModel mapper when licence is empty
#1118
- Fix KPI data issues
#1066
- Delete pending refreshTotals jobs from queue in integration tests
#1113
- Initial work to get and create charge version workflows
#1106
- Build(deps): Bump lodash from 4.17.19 to 4.17.20
#1094
- [Security] Bump codecov from 3.7.0 to 3.7.2
#1055
- Bump aws-sdk from 2.728.0 to 2.739.0
#1114
- Water-2821: Fixes some of the fails in the integration test suite
#1102
- Replica branch rebased against the release branch
#1112
- Migration script to set a default value for 'include_in_supplementary_billing'
#1110
- Feat/water 2799 tpt bill run changes
#1098
- Added table migration scripts
#1109
- Bugfix/2795 - Invoice Account Address Mapper fixed
#1108
- Makes requested changes from review.
e972a6e
- Moves logic for inclusion and creation of charge version years to JS code.
4460a76
- Add licence holder role to returned data
49283d3
- Add tests for new models
0f3131a
- Add repo tests
a2b2e6d
- Feat: Adds the licence model to the document summary
a74b2ce
- Add bookshelf models, service models, mappers and service to get return requirement versions for licence
6a1a4fb
- Add additional tests
008cc92
- Additional tests
96e21e9
- Tests for new mappers
af2ce0a
- Tests for ChargeVersionWorkflow model
25d5ce6
- Remove broken tests
ee8c75f
- Additional tests
d899f16
- Add test for ChargeVersionWorkflow mapper
b2ae4cc
- Tests for new routes
e61ee0d
- Add tests for charge element mapper and documents service
ecb1c7b
- Additional tests
85efb3b
- Tests for new bookshelf models
207968d
- Add tests for Document model
e3721fe
- Fixes mapper issue and adds missing test
48504d8
- Removes redundant code. Changes mapping when decorating transactions with CM data.
88f168a
- Additional test, fix code climate issue
372c057
- Additional tests for mappers
49a2804
- Additional tests
7899ec7
- Updates data fetching to try all sources
40c5334
- Add test
664cea6
- Additional repo tests
ed5ca21
- Additional tests
6c54d14
- Additional tests
57eadc7
- Additional tests
3ce4cc3
- Test for API mappers
9a8bdd0
- Additional test
ce1423f
- bugfix/return empty kpi data
d9845e3
- Fix broken tests
4564664
- bugfix/2795
e4f9c7d
- bugfix/2795
148fab6
- bugfix/2795
f9035fe
- Fix 404 handling, add @hapi/basic for testing
252086d
- Fix broken tests
4fd51af
- Pre-handler refactor
169240d
- Relocates the formatDate func to lib/dates
3c55647
- Feat: Charge Versions APIs
0c21b60
- Additional test
550fd30
- Ensure pending refreshTotals jobs are removed from the job queue in integration tests
2c70633
- bugfix/allow empty kpi sections
83d516c
- bugfix/kpi-data
4bf2beb
- Fix lint error
e95be16
- Don't delete non-existent CM batch in integration tests
0131401
- Fixes linter error
9ea6c36
- bugfix/kpi-reporting
2b93a04
21 August 2020
- Merge fix for WATER-2832 into develop branch
#1107
- bugfix/billing-volumes-tests-fix
#1105
- Feat: Charge Versions APIs
#1097
- Feat/water 2768 de minimis
#1087
- Feat/water 2799 - adds return requirements tables to water service
#1092
- Adds server caching to address search
#1091
- Update dependencies
#1084
- Feat/water 2774 integrate tpt changes
#1070
- Feat: Adds charge element maxAnnualQuantity to JSON
#1079
5 August 2020
- Fix issue where invoice could not be deleted from batch
#1078
- Fix issue with migrations when volume column already exists
#1077
- Feat: Add agreement and licence agreement endpoints
#1074
- Fix: Updates a migration that won't run on dev server
#1075
- Fix: Chucks documents query to prevent large query string
#1072
- Feat: Licence include in supplementary billing
#1069
- Fix issue with bill run due to address model changes
#1065
- Fix: Prevents transaction description being null
#1063
- Feat/billing volumes service 2
#1057
- Feat: Create invoice account with address, agent & contact roles.
#1027
- Bugfix: Don't throw error if no rows are deleted
#1058
- Adds endpoint to search for addresses by query string, e.g. postcode
#1049
- Feat: Adds a supplementary integration test
#1047
- Add API to search companies house
#1040
- KPI - reporting endpoint for UI
#1020
- Simplify charge version year creation with query
#1039
- Feat: set isTest flag to true for test returns data
#1043
- Fix issue where supplementary billing process did not create credits
#1044
- Initial work to create service models for returns, lines and versions
#1041
- Fix: Includes addition tables in previous migration
#1037
- Feat: Adds resource for company contacts
#1032
- Enforce not null constraint on water.licences.start_date column
#1034
- Revert "Feat/bull mq (#1022)"
#1033
- Consider time-limited dates when determining charge versions for TPT bill run
#1031
- Feat/bull mq
#1022
- Removes use of TPT_PURPOSE_USE_CODES
#1026
- Fix tests, add initial tests
4d7742d
- Tests for companies house API connector and pagination model
dd0eb56
- Additional tests
8f2ffbe
- Additional tests
1641c62
- Additional tests
57e8ced
- Makes .destroy() options to be dynamic for relevant repos
4eea6b8
- Bugfix: Don't throw error if no batch is deleted
82a52d3
- Additional test
26887f1
- Additional test
9836f5c
- Correct route description
73c7aff
3 July 2020
- Fix: Use charge period start and end date for charge element dates in matching algorithm
#1025
- Feat: Handle internal search error
#1024
- Consider winter/all year elements as a single group
#1023
- Fixes issue where wrong season was sent to billing volume service
#1021
- Feat: Transaction comparison in integration tests
#1016
- Permits transaction volume to go to max of charge element auth and billable quantities.
#1018
- Fix: Only use charge elements present in transactions
#1015
- Adds mapping of isTwoPartTariff flag for purposeUse
#1013
- Fix: Deleting billing volumes is not required
#1012
- Fixes issue where unsupported address_line_7 was being sent to Notify
#1003
- Fixes bug with totals in batch summary/invoice view
#1009
- Uses chargeVersion.elements to get billingVolumes. Fixes duplicate chargeElements issue
#1008
- Fix issues with billing volumes query and mapping
#1007
- Make supplementary billing process current and previous financial years
#1006
- Feature: TPT process update add billing volumes
#1001
- Feat: Charge data for licence versions
#1004
- Feat/water 2720 split invoices on fy
#998
- Feat: Backend Updates for billingVolumes in UI
#995
- Invoice account model changes
#996
- Feat: Delete billing volumes with related batch, account or licence
#984
- Feat: Update TPT Process
#979
- Revert "Revert "Feat: Decouple calculatedVolumes from Transaction (#932)""
0e86d58
- Remove twoPartTariffStatuses from Transaction model.
54a98cc
- Updates two part tariff service interface to match billing volumes service
aa6cf57
- Adds billing volumes mapper tests
163c2b2
- Updates two part tariff algorithm to work with billing volumes service.
98cba95
- Refactor charge-processor-service
5b36a7d
- Refactors billing volumes service
3df17a9
- Updates billingVolumes service to use ChargeVersion model
72cfbd4
- Fix linter error
1fa2872
22 June 2020
- Feat: Licence Versions endpoint
#989
- Fixes bulk returns upload issue with large volume of returns in CSV
#986
- Feature/2682 import licence versions
#977
- API to rename licence and create event for KPI data
#971
- feat/water-2644
2ffffc2
- feat/water-2644
55cfd49
- feat/water-2644
6cc96ac
- Trigger - travis build
13a4292
- feat/water-2644
07e3dba
- Trigger
13f94ad
- feat/water-2644
d8b08d6
- feat/water-2644
53d2fc9
10 June 2020
- Feat/water 2711 get licence by ID API
#965
- Include updated batch in response from TPT review API endpoint
#970
- Feat: Uses an UUID for the purpose table id column
#963
- FIx issue where licence could not be deleted in TPT run
#964
- FIx issue where licence could not be deleted in TPT run
#961
1 June 2020
- Add change reasons endpoint when creating new charge version
#958
- Allow transaction volume up to charge element auth volume
#956
- Chore: Move import to import module
#948
- Uses same parse options for validator and mapper stages of CSV returns upload
#955
- Renames batch property 'billRunId' to 'billRunNumber' following recent change in charge module
#954
- Tear down test licence agreements
#943
- Bugfix/returns upload sort
#945
- Bugfix/returns upload sort
#946
- Revert "Feat: Decouple calculatedVolumes from Transaction (#932)"
7164e0c
22 May 2020
- Include batch in response when creating billing batch
#934
- Fix: Prevents attempting to deal null batch ids
#942
- Feat/water 2641 single licence test
#937
- Feat: Decouple calculatedVolumes from Transaction
#932
- Feat/water 2659 rebuild charge processor
#928
- Add company_id and invoice_account_id fields to charge versions
#927
- Fix: Fixes a syntax issue with 7z on linux
#925
- task/config-nald-import-non-prod
#923
- Feat/water 2648
#907
- Fix: Fix final return line in leap year
#922
- Feat: Add connector code from CRM test data endpoints
#917
- Fixes issue where CRM v2 invoice accounts connector generated query strings that were too long
#914
24 April 2020
21 May 2020
- Include batch in response when creating billing batch
#934
- Fix: Prevents attempting to deal null batch ids
#942
- Feat/water 2641 single licence test
#937
- Feat: Decouple calculatedVolumes from Transaction
#932
- Feat/water 2659 rebuild charge processor
#928
- Add company_id and invoice_account_id fields to charge versions
#927
- Fix: Fixes a syntax issue with 7z on linux
#925
- task/config-nald-import-non-prod
#923
- Feat/water 2648
#907
- Fix: Fix final return line in leap year
#922
- Feat: Add connector code from CRM test data endpoints
#917
- Fixes issue where CRM v2 invoice accounts connector generated query strings that were too long
#914
- tweak water-service connection pool
#905
- Fixes snags in TPT flow following review.
#903
- Move licence import process to PG boss saga
#901
- Feat/water 2603 batch invoices water undertaker flag
#896
- Adds endpoint for updating tpt bill run to ready status.
#898
- Creates API for updating transaction volume
#889
- Include invoiceId in invoiceLicence model
#895
- Feat: Handles seasons with two part tariff
#894
14 April 2020
- Deletes an invoice licence by ID
#891
- Add twoPartTariffError flag to batch licences API
#886
- bugfix/transactions-dbToModel-Mapper
#885
- API for getting one invoice licence with transactions
#873
- Incorporate returns matching
#877
- Use updated CM batch API
#880
- Add eiucSource to chargeElement.toJSON()
#879
- Adds licenceAgreement repo
#872
- Remove fix to transaction mapper as already fixed by changing validation in model
5683214
- Merge branches 'bugfix/two-part-tariff-error-flag' and 'bugfix/two-part-tariff-error-flag' of https://github.com/DEFRA/water-abstraction-service into bugfix/two-part-tariff-error-flag
6257f2e
- Fix issue where null value in two_part_tariff_error field caused error in transaction mapper
5d4a0e2
27 March 2020
- Initial work on using hapi plugin for PG boss in returns module
#865
- Feat: Persist user errors in bulk upload
#856
- Empties onComplete queues when processing complete
#863
- Feat/water 2579 annual billing query
#857
- Feat: Adds batch licences api
#858
- Feat: Updates fields in billing_transactions
#853
- Feat: Filter two part tariff in charge processor
#841
- Feat: Adds verbose transaction descriptions
#850
16 March 2020
- Improve Returns import - filter by number of years from config.js
#837
- Feat: Include site desc and purpose to company returns
#848
- Delete zero transactions
#839
- Refresh net total / bill counts when customer is deleted from bill run
#846
- Fixes issue where bill totals were for whole batch, not individual customer
#845
- Update Return Reminder template names in service
#828
- Add more robust date checking for csv upload.
#824
- Feat: Adds new empty status for a batch
#835
- Bugfix/event id reference
#834
- Feat/water 2567 send notifications earlier
#829
- Enable send batch operation to be retried
#832
- Fix: Allow an account to be deleted from a batch
#825
- End point for CSV billing invoices transactions download
#818
- Fix: Loosen delete batch status validation
#822
- Fixes an issue where sending a billing batch
#819
- Feat: Graceful shutdown for pg boss and pg pool
#820
- Invoice detail API
#803
- Feat: Billing batch error handling
#815
28 February 2020
- Enhance CSV upload error handling
#812
- Select returns reminder template by invitation template used
#796
- Fix: Bill run confirmation fixes
#805
- Feat: Bookshelf implementation for Events
#773
- Feat: Add job handler for annual batches
#806
- Bug fix/reallocate connections
#810
- Fix: Allow missing serial number in returns xml
#799
- Fix: Update process for getting pending imports
7352b01
25 February 2020
25 February 2020
- Fix: Update process for getting pending imports
ba6ff06
21 February 2020
- Adds missing default gen_random_uuid() to column water.licence_agreements.licence_agreement_id
#804
- Use config.proxy for requests to charge module
#800
- Use proxy for cognito requests
#797
- Bugfix/water 2530 batch total
#793
- Fixes issue with status of water.billing_batch_charge_version_years
#789
- Feat/water 2511 bill run summary cm api
#782
- Feat: Updates batch creation for better 409 response
#786
- Chore: Update batch statuses
#785
- Identify correct charge versions for Two Part Tariff
#783
- Add start_date, expired_date, lapsed_date, revoked_date, suspend_from_billing
#779
- Fix: Correct notification names in config file
#780
- Feat: Adds batch approve, send and delete behaviour
#777
- Feat/water 2500 handle supplementary hashes
#765
- Randomise return invitation and reminder template
#772
- Feat: Adds display name to regions
#770
- Chore: Delete acceptance test batches
#768
- Feat: Create transaction key on save
#766
- Feat: Delete a batch
#753
- Feat: Add field for transaction key
#760
- Chore: Updates node version in .nvmrc
#756
- Feat/WATER-2448
#754
- Chore: Use bookshelf repo for regions endpoint
#758
- Add tests for billing batches repo
#759
- Feat/water 2474 orm
#750
- Feat/water 2475 agreements to cm
#741
- Feat/water 2486 cm authentication
#747
- Chore: Pre work for upgrading to Node v12
#746
- Add mapper to generate CM data from service models
#727
- Feat: Adds endpoint to get batches
#735
- Move all mapping code to 'mappers' directory
94ad680
- Removes unwanted package and update code climate
3b6a52c
- Fix tests in billing mappers/services
66ef5a9
- Create transactions in CM
dc42b71
- Experiment with Bookshelf.js models
8873d5c
- Experiment with Bookshelf.js models
b8cf2f8
- Add tests for create charge job
eb45836
- Additional tests
24649f6
- Use Bookshelf models to load transaction models
6a66d54
- Add test for transaction service
29076e9
- Updates the transaction hash to include is TPT
b242434
- Additional tests
f45eeef
- Additional tests for charge elements repo/service
3a20e88
- Add tests for licence service
e484fc7
- Additional bookshelf models
4e83dbd
- Additional bookshelf models
3dae78f
- Fix broken tests
ebaf159
- Add new notify templates to config.
399e84d
- Add tests for BillingTransactionRepository
5e43eb8
- Add test for BillingInvoiceLicenceRepository
a1246e4
- Fix remaining tests
4c3d8ae
- Add additional tests in transaction service
de7321c
- Add tests to invoice service
e694828
- Add tests for charge module connector
6d7741d
- Reduce function length of mapToChargeModuleTransaction for CodeClimate
b37e4c1
- Additional test for billing controller supplementary batch year range
433f837
- Add isCompensationCharge to transaction hash
4ca23ae
- Revert to not using public schema for uuid_generate_v4 - for travis migrations to run
128d18c
- Add randomisation of return letters
b16648b
- Alter codeclimate to allow more methods
6e8db1f
- Move npm from "dependencies" to "engines" in package.json
d2b0a8d
- Bugfix with transaction mapping
06b4888
21 January 2020
- Chore: Update connection pool distribution
#742
- Fix: Correct scheduling of next job
#739
- Feat: Remove customer from a bill run
#731
- Compensation charges
#722
- Fix: Removes old table name from query
#726
- Feat: Capture region data for licences
#724
- Feat/water 2438 map transactions to db row
#719
- Feat/water 2438 map charges to models
#710
- Feature/2436 graceful shutdown
#711
- Adding models
#707
- Use db.pool from water-abstraction-helpers
#703
- Create Role model. Add roles to InvoiceLicence model.
#704
- Remove db.query connector which swallowed errors
#700
- Feat: Adds transactions to the invoice API
#691
- Remove water.lookup table, scheduled job and API
#699
- Add licence-level agreements to charge processor
#688
- Bump aws-sdk from 2.589.0 to 2.590.0
#695
- Pre-digital service returns show incorrect return volumes in gallons
#690
- Update dependencies
#694
- Move all access to Notify client to single connector, and use whitelist key for email in non-production environments
#693
- Feat/water 2324
#680
- Feat/water 2437 write billing invoice licences v2
#684
- Feat/water 2417 write billing invoices
#675
- Fix: Returns notifications job completion
#681
- Fix: Ensures LIC_NO is used as index in import schema
#682
- Feat: Handle process charge version job completion
#669
- Fix: Improves performance of some queries
#678
- Add sample data. First tests with sample data
2802aa1
- Add final sample data. Further refactoring, remove redundant code.
b035bcc
- Add functionality to reallocate within charge element groups
351cf3b
- PR feedback
17601b0
- Use invoice account companies not contacts in response
472e912
- Add unit tests
20d2e9c
- Further refactoring based on James' review
e51c3d3
- Move all remaining model mapping in charge-processor to services directory
9d9a10c
- Stricter model validation. Write transactions to DB table
ff13b75
- Refactoring functions to reduce complexity
1c86843
- Add test for mapping transaction to DB row
b21de26
- Fixes issue where historic (NALD) returns were shown with incorrect units/conversion
47b03ec
- Move CRM address mapping to own service
cb570d0
- Change reshuffling approach. Change Decimal precision to 20.
665573c
- Maps and persists Transaction instance to DB row
56044be
- Refactor reshuffle-quantities
e367a66
- Moving company/contact mapper from charge-processor
efea23c
- Fix weekly return test data issue
d072c98
- Feat: More graceful shutdown
426fe4e
- Moving mappers to /services folder
c72e5b6
- Move map/persistence of Invoice to invoice-service.js
33d503d
- Add test for saving transaction row
bc0002d
- Updates dependencies
b13dee0
- Add test for creation of transactions in invoice licence
aad4b26
- Add additional test for service return with no version
e86fa3d
- Move two part tariff files into correct folder
1a5032a
- Move two-part-tariff files to billing module folder
5e5e5f0
- Further refactor checkForReturnsErrors function
3ee7884
- Suggested changes from code review
bbc7861
- Move licenceHolder role to role model file
e60d772
- Add transactions to InvoiceLicences in batch
edb09c9
- Fix issue with dummy licence data where licence had expired in 2020
0b24679
- Remove references to proRataBillableQuantity
72ab797
- Add test for role.contact is undefined
e743176
- Remove the region from the water.licences unique index
02f01d6
- Fix linter error
0c36dfe
- Fix linter error
d6c81dd
26 November 2019
- Chore: Correct pluralisation of job files
#667
- Feat: Populates charge version years
#659
- Feat: Find charge versions for supplementary billing
#648
- Fixes pg-boss 3.x issues in import
#654
- Reverts to using hapi plugin approach to register PG boss subscribers
#653
- Feature/2403 batch financial year range
#650
- Modify billing code to use new PG boss plugin
#652
- Adds PG boss to hapi as a plugin, upgrades PG boss to 3.x
#651
- Feat: Create APIs to surface batch data
#649
- Only create valid charge version years
fbf420b
- Makes formal use of end of financial year
d017596
- Removes redundant file
3ae56df
- Security updates
6a69ed6
- Remove handlebars
1fdde57
- Simplifies the status values
0a941f4
- Remove routes from codeclimate tests
4134e0e
13 November 2019
- Bugfix/water 2399
#641
- Feat: Adds resource to create a billing batch
#638
- Feat: Adds new tables for billing
#634
- Feat: Adds regions data to water service
#632
- Sets up database tables to hold licence agreements
#628
- bugfix/WATER-2399
8ad48d5
- Stop Slack/scheduled jobs running on Travis
47a1fcf
30 October 2019
- Chore: Allow creating of internal users for testing
#627
- Chore: Add some tests for test data generation
dd86fbc
- Chore: Add test agents for acceptance tests
d1d2e8e
15 October 2019
- Feat: Adds acceptance test setup and tear down resources
#622
7 October 2019
- Removes old returns reminder notification, adds one with same logic a…
#600
- Add isFinal flag to return metadata.
#601
- Remove scheduled renewal email notification
#602
- When sending returns invitations, only contact returns agent(s) via email if they exist
#595
- Add template IDs for return notifications
#591
- Add EIUC source to charge version API
#588
- Initial work on returns notification updates
#586
- Fix: Adds missing derogation clause
#582
- Fix: Only create contacts for non null version
#577
- Add endpoint to get company details by documentId
#576
- Add tests for createNotificationData
3f55978
- Additional tests
b27d5e5
- Add test for CRM contact list to water contact model list factory
2c39066
- Add tests for building list of contacts for returns notification
6f57e78
- Add tests for getRecipientList
a4496eb
- fix return invitation tests
fb9e78d
- Further tests
ad9ec92
- Fix linter error
62ffdcc
4 September 2019
- Feat: Return charge versions for expired licences
#572
- Feat: Unlink Licence
#569
- Add financial agreement types tables
#571
- Feat: Include purpose description in charge versions
#564
- Add disabled account user data when getting user status.
#562
- Initial work on charge version API
#559
- Add check for rowCount with conditional actions based on value.
d9e9c2b
- Remove unlinkLicence function from documents connector
80d3488
22 August 2019
- Update internal user check
#558
- Add routes for patch/delete internal user. Amend post user to handle…
#556
- Add charge agreements table
#552
- Create tables for charge versions/elements
#551
- Feat/water 2243 update email address
#542
- Feat: Adds add internal endpoint
#537
- Feat: Change email functionality
#521
- Chore/2169 add test for status endpoint
#527
- Update dependencies
6ef51d8
- Additional work on update email flow
e0f1237
- Refactor. Add tests.
12f009d
- Refactor. Add tests.
2f177ab
- Refactor. Add tests.
fedb5d4
- Add routes for patch/delete internal user. Amend post user to handle disabled user accounts
768c740
- Remove API calls from controller. Make return objects consistent.
10c7684
- Add tests for an existing but disabled user account
4491947
- Add tests for patch method
2846b7d
- Add tests for delete call
501ef1d
- Refactor. Add tests.
e1d2eb0
- Add IDM connector tests
97cdb36
- Fix tests.
2cfb450
- Make code and terminology consistent with IDM code.
0642ed4
- Chore: Adds test for /status endpoint
7d38ea5
- Fix issue with re-enabling disabled users. Only send new user email on account creation. Adjust PATCH endpoint to include user ID.
699c97a
- Update reference to service uri in idm connector tests.
8798bce
- Config tweak
9032af1
- Fix tests.
64b4428
- Updated internal user checks to use application in config
461388e
- Fixed sign in link url.
a1057df
- Remove redundant code, replace with existing method
d8f40d3
- Update internal user check in users controller.
0e02506
- Remove accidental test.only
4aa396d
- Fix issue with migrations
5e3d29c
- Merge tag 'charging-sprint-1' into develop
97ece94
- Fix Joi validation in routes
3bc3b11
- Fix test
c0bcc4d
- Fixed sign in link url.
8713047
- Fix test
18e9717
- Fixed sign in link url.
65f72b7
- Fix test
273b867
- Fixed sign in link url.
d608810
24 July 2019
- Feat: Adds service status endpoint
#495
- Fix: Loosens csv schema validation
#516
- Fix: Prevent email status check time getting to large
#514
- Fixes issue where IDM users client returned all users if externalIds …
#505
- Merge tag 'sprint-42' into develop
ab179fe
- Fix: Updates means of determining return frequency
f739e91
- Upgrade puppeteer to 1.18.1
cdc59c4
- Merge tag 'puppeteer-version' into develop
90d24d5
- Upgrade puppeteer to 1.18.1
e5472bf
9 July 2019
- Fix: Updates means of determining return frequency
#498
- Fixes issue where IDM users client returned all users if externalIds …
#505
- For getCurrentDueReturns service call, filter client side when licences are excluded
#500
- Merge tag 'internal-expired-licence' into develop
f833a48
- Merge tag 'returns-reminder-csv' into develop
b265550
11 July 2019
- Upgrade puppeteer to 1.18.1
e5472bf
4 July 2019
- Add includeExpired query param to documents routes to make them compatible with UI
7309801
3 July 2019
- Upgrade hapi-pg-rest-api to v5
6a3b236
2 July 2019
- For getCurrentDueReturns service call, filter client side when licences are excluded
#500
27 June 2019
- Bugfix/water 2157 scheduled renewal email
#484
- Bugfix/water 2157 scheduled renewal email
#482
- Bugfix/water 2157 scheduled renewal email
#484
- Bugfix/water 2157 scheduled renewal email
#482
- Feat/water 1795
#475
- Fix: Fixes issues with chunked void returns
#480
- Set end date in permit repo correctly on import to minimum of expired/lapsed/revoked date
#478
- Fix: Update next check dates for notify status checks
#477
- Consumes the void-returns using a PATCH
97d6802
12 June 2019
- Ignore empty returns in CSV
#474
- Adjust sessions API for catbox REST API interface
#462
- Chore: Moves the port from env to config
#459
29 May 2019
- Fix: Tidies up bad logger code
#456
- Fix: Makes the CSV validation less strict
#451
- Fix: Do not import licences without a version
#447
- Chore: Update logger to latest version
#445
- Feat: Import data into new schema when in progress
#437
- Fix: Prevent large void return requests
#434
- Chore: Updates eslint and adds ignore file
#432
15 May 2019
- Adds a query param to the company returns filter so that by default, only returns that can be entered via the digital service are returned.
#440
- Feat: Adds XML upload tests
#420
- Convert CSV and XML returns upload code to adapters
#430
- Add CSV to JSON mapper
#427
- Feat: Adds returns CSV validator
#426
- Add company returns API endpoint
#422
- Add return invitation notification to batch notifications
#416
- Remove old returns invitation code
c572d3f
- Tests for stringify-values, Contact.generateId, mapContactAddress
893a7b1
- Add tests for returns invite batch notification config
5e45288
- Add tests for markAsProcessed
5f818ca
- Remove old XML helpers, reduce complexity of XML return frequency mapper
861cf03
- Resolve issues with generated CSV passing validation
321bf59
- Remove commented code
dc80257
2 May 2019
- Returns reminder cover letter changes
#414
- Remove old code for Notify status checks
#409
- Update copy for returns reminder letter
#408
- Fixes return due dates for some split log scenarios to be 28 days aft…
#407
- Bugfix/water 2067
#395
23 April 2019
- Only log error level messages in production
#404
- Feat: Include expired licences in internal search
#394
- Merge tag 'public_beta_1.19_hotfix_1' into develop
d76d5b4
- Fix XML returns issue where monthly return mapping was incorrect if date in XML not start of month
9894ffa
- Merge tag 'public_beta_1.19_hotfix_1' into develop
afa0d65
- Fix issue with XML to JSON return upload mapping and validation
f9a629e
- Merge tag 'public_beta_1.19_hotfix_1' into develop
841496e
- Fixes issues with XML return upload mapping to JSON:
a5868a4
- Merge tag 'public_beta_1.19' into develop
682517c
9 April 2019
- Increase payload limit for uploading return XML
#392
- Include production months 45/46 in logic to display XML upload link
#387
- Fixes issue where nil return could not be uploaded via XML because re…
#384
- Add new fields to return model to support winter returns UI changes
#375
- Fixes issue where nil return could not be uploaded via XML because return frequency omitted from mapped JSON
ca99cd8
19 March 2019
- Fix: Fixes to the returns form
#372
- Feat: Updates paper forms with latest content
#364
- Tweaks to upload validation messaging
#361
- Feat: Update paper form issuing
#360
- Fixes an issue where the users API only returned the first 100 docume…
#358
- Fix issues with upload return submission
#356
- Fixes an issue with return upload preview where return ID was expected in query param instead of URL path
#355
- Fix issues with XML to JSON mapping
#354
- Feat: Updates the returns form with latest content
#348
- Feat: Adds a script to create/delete test returns
#338
- Upload XML issues
#349
- Add isUpload flag to return metadata
#350
- Feat: Adds more detailed error info to events
#336
- Feat: Use common return functions from helpers library
#334
- Feat/water 1929
#335
- Include company entity ID in users detail endpoint
#333
- Feature/1935 updated json to xml mapping
#331
- Feat: Adds bulk returns upload job
#325
- Adds bulk return submit endpoint. Rewrite lib/event.js to use plain …
#324
- Add schema validation and xml to json mapping functionality
#322
- Implements the latest version of the logger
#320
- Feat/water 1928
#319
- Bug fix/1864 null start date
#314
- Adds an API endpoint to review an uploaded returns JSON file
#313
- Adds a module to perform tests on bulk uploaded returns data
#309
- Feat: Adds returns upload PG Boss jobs
#307
- Feat: Upload return upload to S3
#299
- Build(deps): [Security] Bump extend from 3.0.1 to 3.0.2
#298
- Feat: Map XML to JSON using return model shape
9820f8e
- Use logger from water-abstraction-helpers module
d8837fd
- Code climate feedback
5ffe184
- Code climate recommendations
5c7fe31
- Incorporates new event factory
645ead9
-
- Fix issues with JSON to XML mapping when data not found.
d154869
- Fix issues with JSON to XML mapping when data not found.
- Code climate fixes
9a81f17
- Reduce complexity of validator
eb93925
- Fix: Handles empty abstraction reform licences
8ff1d9b
- getUserByUserName returns undefined when not found
fd23957
- More code climate feedback
42ce4bf
- Code climate feedback
1705b95
- Updates idm connector to target specific application
454afdf
- Fix comment
98d70da
7 February 2019
- Find all pages of document matches
#297
- fix: package.json & package-lock.json to reduce vulnerabilities
#288
7 February 2019
- Adds licence holder full name to document summary API endpoint
#296
- Only display quantities if there are a single set across all purposes
#295
- Fix: Filter communications by successful send
#294
- Remove null aggregate quantities from document summary API call
#293
- Feat: Adds additional data to communication responses
#292
- Feat: Adds a communication resource
#289
- Feat/water 1893 changes
#287
- Add gauging station data to licence summary endpoint
#286
- Feat: Handles internal users in user status endpoint
#280
- Add new endpoint for licence summary
#285
- Feat: Adds resource to get document users
#284
- Adds isSummer boolean flag to returns imported to return service
#283
- Implement internal search API in water service
#279
- Feat: Adds user status resource
#278
- Fix licence holder name field for documents in internal search API
27886c8
- Spelling correct and expose more verification data
a670f08
23 January 2019
- Formats recipient name correctly for returns invitation / final remin…
#276
- Add ability to send return final reminder
#274
- Fix: Updates format cycle end date calculation
#272
- Modifies import process to set status of invalid return cycles to void rather than deleting them
#271
- Resolves an issue where gauging stations retrieved from flood API were always considered inactive if they had no status, which is an optional field.
#263
- Resolve 'null value in column "status" violates not-null constraint' log error
#261
- Uses a unique id for points and conditions data
#248
- Feat: A document licence resource
#245
- Chore: Adds repository field to package.json
#244
- Adds /documents/{documentId}/licences/conditions
c5522b7
- Adds /documents/{documentId}/licences/conditions
e2651ab
- Codeclimate feedback
fa4d014
- Returns facade was using wrong date for comparison
a3130eb
12 December 2018
- Fix: Investigation of isNil validation error
#241
- Retry sending message on failure
#240
- Feat: Improves logging
#239
- Bugfix/water 1675
#236
- Use NPM module for hapi-pg-rest-api
#234
- Feat/water 1734
#231
- Bug fix/water 1724 task runner logging
#226
- Feat: Remove old NALD password from zip extract
#225
- Fixes an issue where errors thrown during PG boss subscribers were not being logged
#221
- Logs additional data if returns request fails validation check. Also…
#220
- Add return reminder template. Add QR code containing return ID to bo…
#214
- Bump hapi from 17.5.2 to 17.8.1
#218
- Bump code from 5.2.0 to 5.2.4
#216
- Feat: Consolidate env variables
#204
- Feat: Align with developer standards
#213
- Fix: Use Sun - Sat weeks for NALD
#210
- Feat: Adds under query flag to return model
#189
- Feat: Api connector logging improvement
#188
- Remove width from cover-content container which allowed content to overflow its flexbox container
#187
- Ensure logger is configured before use in import process
#186
- Feat: Adds proxy support for logging to Errbit
#185
- Fix: Move password from code to environment
#184
- Add return API endpoint to patch return - status / received date
#182
- Feature: Logging improvements
#183
- Add verbose mode to return messages from API call
#181
- Fix duplicate word in guidance on return form
#180
- Fix page count and address font size
#179
- Bugfix/water 1625
#178
- Feature: Adds dynamic returns form
#177
- Adjust Joi schema to allow meter details in abstractionVolumes flow
#176
- Update fields depend on return cycle
#174
- Enqueue messages sequentially rather than in parallel. Longer expiry time for queued messages. Prioritise email/SMS over letters for sending.
#173
- Fix: Update airbrake js
#172
- Hand off queuing of Notify messages to PG Boss
#171
- Fix: Handle null purposes aliases
#170
- Fetch licence contacts in batches
#169
- Fix: Adds the dueDate to the expected payload
#168
- Fix: Change due date to 28 days after end date
#167
- Tweaks to picklist data / API
#166
- Feat: Improved due returns messaging
#165
- Add picklist API in water service
#164
- Bugfix/spring clean
#161
- Feature: Add purpose alias to return metadata
#163
- Take format time-limited start/end date into account when calculating…
#160
- Feat/water 1407
#157
- Remove full URL from QR code
#159
- Show JSON in paper form for test purposes. Add additional data to pa…
#158
- Render PDF HTML content directly with Nunjucks rather than via URL request
#156
- Use internal URL for PDF generation
#155
- Feat: Handle meter readings in return model
#154
- Hopefully resolve proxy issues with PDF generation
#153
- Feat/water 1475
#152
- Fix allowed return statuses
#151
- Unit converters should pass through null value
#150
- Feat/water 1438
#149
- Feat/water 1438
#148
- Improve split log handling
#147
- Feat/water 1352
#145
- Calculate current version in permit repo. CRM IsCurrent flag determi…
#146
- Feat: Future licences are not deemed to be current
#144
- Add return format data to licence data imported to permit repo
#143
- Split returns into current / not current
#142
- Feat/calculate cycles 2
#141
- Feat/calculate cycles 2
#140
- Feat/return lines units
#139
- Include received date in upsert
#137
- Remove await from Slack posts
#136
- Feat/import returns date
#135
- Fix units
#134
- Import efficiency
#133
- Feat/water 1255
#132
- Add indexes to fields used in import
#131
- Fix issue with notification log. Also change poss interval timing
#130
- Post data to permit repo / CRM / import log in batches
#129
- Adds connection pool logging
#128
- Tweaks to expiry content
#126
- Add variables to notification configs
#125
- Changes the upsert to also update the subtype
#124
- Fix issue with loading licences in notifications by removing paginated results call
#123
- Import licences in batches
#122
- Use single connection pool
#121
- Feat/import tweaks
#120
- Only watch the file system in local dev
#119
- Use single job for download/extract CSV until we can do this in S3 bucket
#118
- Feat/water 1261 mk2
#117
- Disable errbit
#116
- Add VmL version back to permit repo packet
#115
- Migration to delete deprecated scheduled tasks for NALD import
#114
- Bugfix/import file path slash
#113
- Remove duplicate forward slash from file path
#112
- Fix status page
#111
- Feat/boss import poc
#109
- Feat/water 1179
#108
- Bugfix/convert flow units
#107
- Feat/notify failsafe
#105
- Convert ml/d to m3/s in river flow data
#106
- WATER-1151: Email titles.
#104
- WATER-1151 and WATER-1153
#103
- chore: Config and linting
#102
- Ensure 'error' in status column in counted as error in notification event log
#101
- Feat/pg boss
#99
- bugfix/WATER-1086: Plurals in notifications
#98
- Tolerate missing fields in API data
#94
- Include active status in data returned from river levels API
#93
- Create local cache of gauging stations, update list daily
#92
- Remove proxy:null when communicating with river levels API
#91
- Feat/water 1090
#90
- Fix migrations
#89
- Remove notify search criteria in update notify status task
#87
- Poll notify for message status for 3 days following message send
#86
- Switch back to original scheduler implementation
#85
- Add migrations for notify templates and scheduled task
#83
- Notification tasks DB migration
#82
- Stop slack error breaking S3 import
#81
- Run scheduled tasks in separate process
#80
- Set date and unique reference in rendered template
#79
- Fetch all pages of results from permit repo. Allow custom template t…
#78
- Contact dedupe case insensitive and remove null fields
#77
- Remove slack
#76
- Feat/notification event metadata
#75
- Remove output escaping from Nunjucks rendered markdown template output
#74
- Include subject personalisation for email notifications
#73
- Fix email recipient for notifications
#72
- Feat/water 938
#71
- Feat/water 937
#70
- Prioritise contacts for notifications in revised order
#69
- Add task config table/API endpoint for notifications
#68
- Feat/lookup data
#67
- Add error handling to NALD import
#66
- Allow scheduled tasks to be updated via API
#65
- Allow scheduled tasks to be updated via API
#64
- Add support for import concurrency env var, default to 1
#62
- Use area import email if available for notifications
#63
- Remove git+
#60
- Fix issue with document name endpoint removed from CRM in renewal ema…
#59
- Contact de-duplication for notification sending
#58
- fix inconsistency in primary key handling
#57
- endpoint for event log and changes to support additional notification…
#56
- Create new config option '$' for import task which imports registered…
#55
- Record last run start time
#54
- Feat/import multiple licence nos
#53
- Include expiry date in current licence query. Get latest version by …
#52
- Include IsCurrent flag in CRM metadata. current_version property nul…
#51
- Fix linter errors
#50
- daily s3 update
#48
- Only include gulp in dev deps
#46
- Bugfix/water 797
#47
- Feat/water 741
#45
- Feat/coverage path
#44
- Added ability to schedule update to existing records (currently only …
#42
- Feature/fix issue with contact methods causing multiple contacts
#41
- improve scheduler resiliency
#40
- Update .snyk file, update dependencies
#39
- always_used_scheduler_for_notify
#38
- update-hapi-pgi-rest-api
#36
- update unit tests
#35
- new endpoints for admin use
#33
- integrate cutom licence name with expiry notification
#32
- notify templates endpoint
#31
- Add endpoint for scheduled notifications
#30
- update import process so that the licence_start_dt and licence_end_dt…
#24
- add the notify templates
#29
- water-742
#28
- implement scheduled notifications
#26
- remove crm migrations
#23
- added current_version object to licence
#22
- Feat/water 600
#21
- Modify import to exclude missing licences and import in batches
#20
- Feat/import selected licences
#19
- fix issue with nald data import
#18
- quieter import
#17
- Ignore data files loaded from NALD
#12
- and point_source object to purpose points
#16
- Lookup point using point id not purpose id...
#15
- Feature/adjustments to nald import
#14
- Rework to not use the ABSTAT_WFD table (which turns out to be a view)
#13
- Adjust version.parties
#11
- Renamed purposes
#10
- Get previous licence versions
#9
- Tweaking scheduler API config
#8
- nald import scheduler
#7
- Notify service
#6
- Proxy-agent for s3 downloads
#5
- Update to latest hapi-pg-rest-api
#4
- Add proxy to knox
#3
- import nald data from s3 to import schema and extract individual lice…
#2
- Feat/water 648
#1
- Removes gulp
7eae680
- Render Nunjucks templates
1bf27f4
- bugfix/WATER-1086: Notifications updates
6e18ed7
- Send scheduled notifications with logging to events table and entities/licences/event data logged to scheduled notifications table
93d4c9f
- Adds changelog and versioning
9a912a2
- Updating vulnerable packages
a9ad557
- Update notification task configs for HOF resume, stop, and warning to include separate fields for contact name and email/tel
d59255f
- Feature: Further returns form content changes
2f4a7ff
- Fix unit test
667f609
- Include IsCurrent flag in CRM metadata. current_version property null if expired/revoked etc.
36b8abf
- Fix: Task runner logging
fe80e43
- Completed notification preview step
23e2100
- Organise notifications into module
b3a25d7
- Testing
89d2b39
- Remove notify keys from DB
850888a
- Log event
6a4f397
- Fix date issue in NALD unit test
5103931
- Create initial river levels API in water service
1402665
- Tidying notification creation into factory
32b511d
- endpoint for event log and changes to support additional notification fields
8973da6
- Add ability to import multiple licences with CSV in licence_ref field
316ffd8
- Add API for lookup data. Adds scheduled task to import NALD_REP_UNITS to lookup data table.
332a43d
- Added new task to update events log with number of sent/pending/errored messages in a notification batch
fe60dd9
- Fix issue with document name endpoint removed from CRM in renewal email scheduled task
99fadcd
- Add lookup data API
8569540
- Fix: Removes extra privacy page
4c1d146
- Paper forms content updates
ef45666
- Calculate return cycle split date based on mod log only if reason is SUCC
bf8d171
- Fetch all pages of results from permit repo. Allow custom template types with fallback to default
7a3c22a
- Further updates to returns paper forms
ed8d37e
- Move CRM call to connector code
fc26b55
- Reduce function length
b1c9671
- Create new config option '$' for import task which imports registered licences only
0ab09c3
- Rough implementation of sending notifications
ace2c61
- Provide a message with logger.error statements
8221a9e
- Reduce code complexity
863bcef
- Fix taskrunner linter errors
723965f
- Remove console.log
ee9cf7c
- Reduce function length
ca3ec9c
- Fix: Fixes an area with the due_date
1b70998
- Fix issue with async load of licence data
28d0bf0
- Fix linter error
c012523
- Fix linter error
2965543
- Use the latest code climate test reporter
d755029
- Reduce function length
3ab762d
- Tidy folder structure
c430983
- Tweak to river level API
c8ab5c9
- Alter send notification API to use single JSON payload
c44f75c
- Add CSV parse npm module
acb69e1
- Add event metadata
3fa6be0
- Ensure pending import correctly updated
13b4bef
- Updates HAPI PG Api to v4.0.1
c58c077
- Include expiry date in current licence query. Get latest version by issue/incr number.
6f78f31
- Include time in updated timestamp
1c924ad
- reinstate full licence load
7ce43c1
- MAke NALD temp dir if none exists
52fdafc
- Make AR analysis cron job hourly for QA
c0978db
- Merge tag 'public_beta_1.13' into develop
0f73ebb
- Updates har-validator version
7142bac
- Log notification JSON
9f9096b
- Decrease PG boss job check interval to default
2b1f062
- Linter tweaks
2ea10ba
- Remove test notify key from travis.yml
f08678b
- Move codeclimate reporter id to travis environment
db05f3e
- Merge tag 'public_beta_1.11' into develop
cde21a5
- Remove console.log
b43f92a
- Fix: Uses the due date for returns due date
b985b0e
- Merge tag 'public_beta_1.9' into develop
9655f2d
- Merge tag 'public_beta_1.8' into develop
80c2c41
- Merge tag 'public_beta_1.6' into develop
336c149
- breaking changes JWT + node 8
7890305
- More licences...
5b5a51f
- Work on dummy licence creator for testing
3e09697
- Tweak to lab config
dd16cff
- Initial travis integration
d740f9e
- Add unit test
07f73c8
- NALD structure
3c985fd
- Add migration to import all licences individually
306726a
- Fix lint errors
307a295
- Initial work on creating anonymised licence data
fb979f0
- Lint errors, add lint to travis CI
e63fa26
- Reduced test coverage due to not calling notify API immediately - TODO: call notify via testkey to verify payload..
d579f81
- Working dummy licence creator
3d96a2e
- Refactor data load so same code is used in test
1250a8b
- Create dummy CSV directory before write
2d5692c
- Fix merge conflicts
5346096
- Adding licence creator classes
1c6e8cb
- db migration
e7bf5d9
- initial
3c93f6d
- import nald data from s3 to import schema and extract individual licence by licence id
4ce5fb8
- Created sessions API
83d340f
- import scheduler
45dcc13
- use node cron to post login summary to slack
0f6cb77
- actually run the migration...
3ff1297
- Missed the additional notify template insert
84e85b3
- update import process so that the licence_start_dt and licence_end_dt fields are correctly populated
f9c3fb8
- Include FGAC_REGION_CODE
35899c1
- Added ability to schedule update to existing records (currently only reimports from import table. TODO, trigger S3 data reload too)
a6e3245
- Modifications to anonymous data export
819c450
- similar issue around purposes and points ignoring issue number and verison number
5df794b
- missing packages and additional console output for debug
28c2647
- Return contact methods (i.e. phone no, email) as an array in the main query rather than causing multiple rows duplicate contacts (see water-801)
69075e0
- Purge before load
af4174d
- additional templates & less debug info
a52cffd
- Adjust river level API to return both level/flow measures (still ignoring downstream stage)
2b232b3
- hotfix dbmigrate
43a4c05
- fix notification multiple send bug
250f237
- hotfix bug with send query
fc79fd2
- blipp and errbit
d1b1196
- status endpoint
66a017e
- blipp and errbit
cfc66e3
- Handle case where exportLicence returns no data
77b8e3e
- add point detail back in...
29f32cd
- remote safeties around sending test letters... careful...
b47e34a
- Log all view contexts to file when generating notification
146754d
- Tweak migrations
2d5fe97
- Fix global variable leaks
c4dfb1f
- fix migration issue
a5094c2
- Update 20180124085613-nald-import-scheduler-up.sql
1cd172a
- Add coverage path for lab tests in Travis
45615e4
- s3 config from env
4eab9d3
- Update nald.js
455be03
- Enables clustering in ecosystem file.
34d579e
- Reduce PGBoss load on DB
9e0d1e8
- Ignore 'payload' variable from global leak test until source found
0fe9b2e
- Add comment
10e5a90
- Change to using subject key from task config as message title in notifications
b7e5f62
- Simplify travis setup
95cf99e
- Adjust package files to remove git+ reference
d351f78
- Add codecov/istanbul to dev deps
75224dd
- Update README.MD
027cb82
- Log notification data
94aef7b
- Tweak test script for travis
16ef8ca
- Try removing istanbul
5908d7d
- Remove schema owner from migration script
d813d12
- add migrate npm script
2354120
- Increase pool size
6b7eb94
- Reduce pool size
ebdf2d9
- add test notify key to travis.yml
97b77ee
- Add build status badge
b52e95a
- Comment licence numbers import
a5f8d9f
- Delete all tasks before import
938933a
- adjust proxy settings
78a3c1e
- ID is numeric, fix validation
c8b6a99
- Only run cron on the hour, not every minute...
724d827
- Update README.MD
11a04b5
- Update README.MD
780e77a
- Update README.MD
1380011
- Update README.MD
2f0fe41
- Update README.MD
b814477
- Update README.MD
dfa1e58
- Update README.MD
e41f087
- Update README.MD
4755d3e
- Force change to test jenkins polling
e87a3f9
- remove role postgres from script
b9a5ac0
- Update package.json
ffcd926
- Remove console.log
3b4a203
- seeing if travis error is an env issue
4796e49
- Add notify key
3f35f34
- less logging
d6338a7
- Update 20180119122037-more-notify-templates-up.sql
70581ca
- Update 20180119122037-more-notify-templates-up.sql
70ee313