Skip to content

Releases: bcgov/tfrs

v2.18.0

30 Apr 21:33
f5cecab
Compare
Choose a tag to compare

Release Notes:

  • fix: remove duplicate BCeID user account #1636

  • fix: updated org service calculation for max credit offset to account for credit earning order over time (#2870)

  • Fix: Supp report logic - 2867 (#2874)

  • fix: updated org service calculation for max credit offset to account for credit earning order over time

  • fix: pending deductions calc change

  • Fix: Summary Null Check (#2875)

  • fix: updated org service calculation for max credit offset to account for credit earning order over time

  • fix: pending deductions calc change

  • fix: None check on summary obj

  • Fix: Credit Offset Exclude Reserved (#2876)

  • fix: updated org service calculation for max credit offset to account for credit earning order over time

  • fix: pending deductions calc change

  • fix: None check on summary obj

  • fix: added back exclude reserved

  • Fix: supp report logic 2867 (#2877)

  • fix: updated org service calculation for max credit offset to account for credit earning order over time

  • fix: pending deductions calc change

  • fix: None check on summary obj

  • fix: added back exclude reserved

  • fix: test for ignoring pending supplemental deductions

v2.17.0

22 Mar 17:41
73f9402
Compare
Choose a tag to compare

Release Notes:
fix: added type check for exclusion report on snapshot

v2.16.0

04 Mar 22:34
8abf653
Compare
Choose a tag to compare

Release Notes:

v2.15.0

20 Feb 21:58
620006b
Compare
Choose a tag to compare

fix: resolve error saving on compliance report acceptance

v2.14.0 - Jan 2024 Release

31 Jan 21:51
e8ee15f
Compare
Choose a tag to compare

Release Notes:

TBD

revert-2750-main-vjan-2024

31 Jan 21:48
71ddbce
Compare
Choose a tag to compare

Reverts #2750

The release-2.14.0 has been deployed on prod at Jan 31 but this pr was merge instead of PR#2737. So revert it.

main-vjan-2024

31 Jan 21:42
9abbaff
Compare
Choose a tag to compare
Tracking pull request to merge main-release-jan-2024 to master (#2750)

* chore: updated django backend image to newwer version to fix archive dependancy

* fix: adjust credit transfer agreement date error message (#2469)

Improve the error message shown when a user tries to propose a credit transfer with an empty Agreement Date field.

Previous message: 'Error! Date has wrong format. Use one of these formats instead: YYYY-MM-DD.'
New message: 'Error! Please enter a valid date in the Agreement Date field: YYYY-MM-DD.'

* fix: adjust column widths in xls transactions sheet

Reduce the width of the 'Effective Date' column and widen the 'Comments' column in Excel export for better data readability.

Due to the previously added 'Category' column, adjust the numbers of all columns after column 7 by increasing them by one. (Column numbers start from 0)

* fix: removed 2023 option from compliance report dropdown

* fix: remove dropdown options 2023 and later

* fix: remove 2023 >= option on dropdown

* fix: revert org status label changes on edit organization page

This commit reverts unintended label changes on the 'Edit Organization' page to their original state, ensuring UI consistency for IDIR users.

Closes #2704

* Bump django from 3.2.20 to 3.2.23 in /backend

Bumps [django](https://github.com/django/django) from 3.2.20 to 3.2.23.
- [Commits](https://github.com/django/django/compare/3.2.20...3.2.23)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Compliance Report slow loading time fix

Compliance Report Model changes to include latest_report and root_report information
To migrate the data to these new columns
Using select_related and prefetch_related wherever necessary
Making use of the new columns in data retrieval

* review comments fixes

* remove cache logic

Since cache wasn't showing the updated details. have removed it for now.

* Exclusion Report not visible to IDIR users fix

- Added cache for Compliance Report & Organizations
- changes to ComplianceReport Query to retrieve latest reports

* feat: updated maxCredits service method to account for reserved credits

* fix: updated cache_key to sanitize spaces

* bug and failed test cases fix

* revert unintended squash change

* WIP

* Unit test in progress

* compliance units update

* Compliance Unit changes to compliance report spreadsheet

* add pr build template

* update

* add new pipeline

* trigger build

* update to use env

* update parameters

* add brancj build

* get branch name

* pass branch name

* add frontend build

* correct frontend build

* add test

* update version

* Build frontend and backend for Jan pipeline (#2421)

* Update from 2.7.0 to 3.0.0

* Update Jan pipeline (#2433)

* Update frontend route.yaml

* update frontend host

* update frontend host remove dep

* update frontend host name

* open build

* open deploy dep

* Replace Credits and Debits with Compliance Units in Compliance Report Summary View

* add for supplemental reports

* added backend changes

* code enhancement

* january 2024 label updates, lint fixes, snapshot updates

* director acceptance

* initial

* permission changes with migration

* director acceptance

* spreadsheet changes to compliance report as per new act

* remove print lines

* remove print lines

* remove unwanted changes

* Add pull request build for Jan release (#2463)

* fix defects

* update readme

* WIP

* adding schedule B row add fix

* removing consol.log statment

* Bug fix for the draft compliance unit

* Place compliance units in reserve when submitting a 2023 compliance report with a negative net balance

* updating check for a year

* Part 2 Summary not populating values from Schedule B/C fixes to 2507

Part 2 Summary not populating values from Schedule B/C fixes to 2507

* Update ScheduleSummaryContainer

* System converts credits to compliance units when accepting a complicance report prior to 2023

* Revert "System converts credits to compliance units when accepting a complicance report prior to 2023"

This reverts commit f78af66ea51c69a39d42b7e85eb3a74368c383fe.

* feat: only show active orgs in credit transfer selection

* Compliance unit bug fixes and test cases

* minor fixes

* Line 28 comments fix

* calculation error fix

* test scenarios

* adding test cases for compliance units

* feat: updated organization label column for status to registered

* labels for organization edit, details, and create views

* feat: added more flexible filtering to org registered column

* Prevent Inactive organization from transferring credits buy or sell

* System converting credits to compliance units for 2023 prior compliance reports

* feat: new credit transaction type added to system administrative adjustment

* fix: unit test updates

* fixed migration order

* fix: missing id

* fix: negative frontend validation

* rebase fix

* UI changes

* delta changes fix

* minor UI fixes

* Compliance Report Spreadsheet fix for date in summary section

* Compliance Unit Edge test cases for backend

* comment change

* include migration for test cases

* name conventions fix

* supplemntal bug fix for compliance units reporting

* chore: merged migrations from rebase

* fix: get summary test fix

* Remove Actions and Last Transaction column from Organizations table (#2580)

* Remove Actions and Last Transaction column from Organizations table

* backend change to include/exclude actin from xls

* Report History section grouping status changes incorrectly -fix (#2582)

Co-authored-by: Prashanth Venkateshappa <54526153+protonater@users.noreply.github.com>

* Feat: Label updates for Part 3 Awards, File Submissions - 2491 2492 (#2587)

* feat: updated labels and nomenclature for part3 awards and file submissions

* chore: linting, snapshots, unit test fixes

---------

Co-authored-by: Your Name <you@example.com>

* fix: refactored get summary method and fixed scenario

* Bug for reserve compliance units when submitted.

* connect to crunchydb (#2608)

* fix for Summary section of compliance units to show changes

* minor fix

* fix

* code optimization

* comments for reference

* code optimize

* optimize

* minor fixes

* penalty miscalculation fix

* status fix revert

* adding fix for routing issue of credit/debit

* File Submission tab label changes

* fix: added missing get_deltas method to update compliance report method

* chore: linting, snapshots, test updates

* Compliance Unit changes bug fixes for all the scenarios covered.

* scenario 17 fix

* remove redundant code

* fix for TFRS - Scenario 10 not showing the correct math for calculating the penalty amount#2607

* scenario 8 fix

* code optimize

* TFRS new act label revisions - removing referenes to credits 2583

* fix for Analyst recommend transfer approval buttons not appearing in Jan release

* feat: unit test for zero scenario 3

* fix for Inaccurate compliant non-compliant determination in the assessment section for 2023 reporting

* Remove/hide balance change in Assessment Section

* feat: updated tooltip for compliance units

* feat: check for zero balance on director acceptance

* fix: unit test update

* Feat: Part 3 Award Label updates 2603

* feat: lables updated according to spec

* chore: linting fixes and snapshots

* Feat: Dashboard Label updates 2474

* Adminstrative Adjustment changes 2431 2583

* chore: updated snapshots and linting

* chore: snapshots updated

* bug fix for non compliance penalty issue

* code optimize

* minor fixes

* minor fix

* fix: formatting fix on react-markdown

* New Act Label Changes - Transactions view page using HDE - time based#2602

* TFRS - Summary & Declaration page not loading for 2022 and prior compliance reports#2647

* chore: fixed unit tests for older cases

* Updates and fixes for bugs found during testing

* label updates

* fix: updated logic to prevent zero transactions

* New Act labels - transaction status change based on time

* TFRS - Time-based transaction label changes for the new Act#2601

* New act label changes - Transactions Page 2495

* fix: label updates for varied views

* TFRS - Separate comment disclosure notice based on feature and comment type#2652

* Update langEnUs.js

* TFRS - New Act Label Changes - Transactions view page using HDE - time based#2602

* fix: logic fix on less than zero transactions

* TFRS - Remove credit market link from BCeID and IDIR dashboards in January release#2661

* fix: label fixes on new initiative agreement, linting, unit tests

* fixing wrong comment

* Fix: Filtering issues fix for Credit transactions and Compliance Reports

* TFRS - File submission filtering from dashboard link not working - IDIR only #2664

* fix: updated transfer labels for BCeID users according to new Act

This commit makes the following updates to the New Transfer page for BCeID users, ensuring alignment with the new Act:

- Change the dropdown label from 'Select a Fuel Supplier' to 'Select an Organization'.

- The signing authority declaration statement is now updated to: 'I confirm that records evidencing each matter reported under section 17 of the Low Carbon Fuel (General) Regulation are available on request.'

Additionally, a database migration is added to apply the signing authority declaration statement label change within the existing record.

Closes #2690

* refactor: changed error logging to warning and added raise in migration

* add jan release test deploy

* specify branch name for jab test deploy

* add test deploy

* add runs-on

* add runs-on

* add branches for workflow_dispatch

* add new value files for jan dry run

* deploy jan release to test

* split test approval and deploy

* fix: rearranged migration order to sync with main release branch

* fix: rearranged migration order to match master

* fix: updated migration order to match master for upcoming merge (#2742)

* update pipeline merge install and upgrade

* add notification sever

* update notification server

* update notification serverimage name

* update notification certs url

* add keycloak url and adjust resource

* update knps for jan release

* update existing network policy

* fix: update labels and remove old features on add/edit organization

* chore: reverted year limit on compliance report

* refactor: lint fix, removed semicolons, switched to single quotes

* refactor: lint fix, removed extra commas

* fix: renamed label name following linting adjustments

* fix: updated organization add/edit form test snapshot

* fix: updated labels

* fix: fixed non status related loading for file submissions page

* fix: revise error message for insufficient compliance units

* fix: fix wrong labels in transfer confirmation modal

* fix: fix broken file submission link on BCeID dashboard

* fix: TFRS - Update Notification descriptions to align with new Act labels #2765

* fix: hide lcfs email on org details page for idir users

* add jab release drawino and upgrade autoscaling apiVersion

* update char number

* test workflow

* disable auto scaling for dev

* update autoscaling version

* update teh workflow to fast deployment

* open the test and linting

* feat: TFRS - Adjust 'Part 3 Award' label for transaction type in the Historical Data Entry feature #2773

* fix: fix incorrect labels in initiative agreement issuance transaction

* fix: update labels in notifications settings as per new act

* fix: update bceid and idir guide links to external urls

* fix: correct labels in transfer confirmation modal

* fix: correct effective date of transfer 2095

* HDE Transactions efective date fix in spreadsheet

* fix: fixes on label and compliance years

* fix: add a reverse noop to avoid downgrade issues

* fix part 3 label in the historical data entry table

* fix: update two notification lables

* fix: update modal confirmLabel logic to handle different transaction types

* fix: fix compliance period year of transfer 2095

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Your Name <you@example.com>
Co-authored-by: Alex Zorkin <47334977+AlexZorkin@users.noreply.github.com>
Co-authored-by: Hamed Valiollahi Bayeki <hamedv90@gmail.com>
Co-authored-by: Kevin Hashimoto <kevin.hashimoto@gov.bc.ca>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Prashanth Venkateshappa <54526153+protonater@users.noreply.github.com>
Co-authored-by: Prashanth <protonater@live.com>
Co-authored-by: jig-patel <122304104+jig-patel@users.noreply.github.com>
Co-authored-by: Prashanth <130073308+prv-proton@users.noreply.github.com>

v2.13.0

17 Nov 22:39
6f4ddae
Compare
Choose a tag to compare

TFRS Release Notes v2.13.0

Enhancements and Bug Fixes

1. Revert Label Changes on 'Edit Organization' Page (TFRS#2704)

  • Issue: Recent updates mistakenly applied label changes intended for a future release.
  • Resolution: Restored the original labels on the 'Edit Organization' page accessible via IDIR. This reversion aligns the page with the intended design for the main release.

2. Visibility of Agreement Date and Categorization for BCeID Users (TFRS#2558)

  • Enhancement: BCeID users, as parties to a credit transfer, can now view additional information in the Transaction History section.
  • Details: The update includes the visibility of the date of the written agreement and both potential and final categorization categories.

3. Bug Fix: Roles Page Error for BCeID Users (TFRS#197)

  • Issue: An error was encountered by BCeID users on the Roles page.
  • Resolution: Fixed the error to ensure smooth access and functionality for BCeID users on the Roles page.

4. Simplifying Credit Transfer Declarations (TFRS#2599)

  • Task: Streamlined the transfer proposal interface for BCeID users.
  • Outcome: Removed two declaration statements from the Signing Authority process during the initiation of new transfers to alternative suppliers.

5. Migration for Compliance Report History (TFRS#2605)

  • Purpose: Address the oversight where rescinded compliance reports lacked corresponding history records.
  • Action: Implemented a migration to verify and ensure that each rescinded compliance report in the database has an associated compliance report history record. This change maintains the accuracy and transparency of transaction histories in compliance reports.

Notes

  • These updates in v2.13.0 aim to enhance user experience, improve data visibility, and ensure system integrity. We appreciate your feedback and collaboration in continually improving TFRS.

v2.12.0

03 Nov 20:14
5406b60
Compare
Choose a tag to compare

Release Notes for TFRS v2.12.0

Enhancements:

  1. Prevention of 2023 Draft Compliance Reports Creation

    • To align with the new Act that applies compliance units to the 2023 compliance period, we've removed the ability for BCeID users to create draft compliance reports for 2023. This ensures that users don't create reports based on the old credits/debits system, providing more accurate and up-to-date reporting.
    • Ticket: #2553
  2. Adjustments to Transactions Sheet Column Widths

    • We've made refinements to the default column widths in the (Credit) Transactions excel spreadsheet. This includes narrowing the 'Effective Date' column and widening the 'Comments' column for a better data viewing experience.
    • Ticket: #2684
  3. Updated Credit Transfer Agreement Date Error Message

    • We've improved the error messaging for the agreement date field within a draft credit transfer. Users will now see a clearer and more descriptive message when the date format is incorrect.
    • Ticket: #2469

Bug Fixes:

  1. Correction to Supplemental Report Line 26 Penalty

    • Resolved an issue where suppliers submitting multiple supplemental compliance reports for 2021 encountered erroneous penalties and an incorrect Line 26 value.
    • Ticket: #2679
  2. Fixed Error Pop-up on Saving and Submitting Supplemental Reports

    • Addressed an intermittent issue in the dev environment where users received an "error saving" pop-up when trying to save or submit a supplemental report. Users should now experience a smoother workflow with appropriate success messages.
    • Ticket: #2680

v2.12.0

03 Nov 20:06
5e22530
Compare
Choose a tag to compare
Merge pull request #2715 from bcgov/dependabot/pip/backend/django-3.2.23

Bump django from 3.2.20 to 3.2.23 in /backend