[go: up one dir, main page]

Skip to content

main-vjan-2024

Compare
Choose a tag to compare
@github-actions github-actions released this 31 Jan 21:42
· 9 commits to master since this release
9abbaff
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>