Skip to content

Releases: bcgov/tfrs

v0.3.1.3 Credit trade signing history and commenting for fuel suppliers

04 Jul 00:05
Compare
Choose a tag to compare

This minor release includes

PR #413 Credit Trade Signing History

We should now have a section in the Credit Trade where it shows who signed the proposal and who reviewed the proposal.

  • Added CreditTradeSigningHistory component
  • Added signatures and reviewed property in the Credit Trade
  • Restored the single quotes in CreditTradeHistory (was getting into an infinite loop if I try to import CreditTradeHistory into CreditTrade)
  • Removed Propose Trade permission from Government Director

PR #414 Add commenting for fuel suppliers

This pull request introduces the commenting feature for fuel suppliers.

  • Added natural key lookups for User, Role, Permission, Credit Trade Status, and Type to ease test fixture creation
  • Exhaustive testing suite to validate permissions are applied as specified by business logic
  • Created a new test fixture with more production-like government roles to test finer-grained permissions
  • Refactored commenting permissions to allow client and server to share the same logic (the server passes allowable commenting actions as part of a credit trade API response)
  • Tooltips/disabled statuses for action buttons when commenting mode is active

Data Migration and Fixture

The following migrations are included:

  • 0016_rename_comment.py
  • 0017_auto_20180628_2024.py
  • 0018_auto_20180703_1718.py

The fixture loaded is

  • roles_permissions.json (notes: one record is removed from this file, this is the reason why this file is listed here. The record has been removed from Test database manually.)

Implemented Trello Cards

Technical information

This release is deployed on Dev at June 29, 2018(PR#413 only) and July 03, 2018, deployed on test at July 03, 2018.

v0.3.1.2 - Buy Sell Validation

28 Jun 20:54
Compare
Choose a tag to compare

This minor release includes

  • Added a check when trying to sell more than the available credits for your organization. Buying should be unrestricted still, but accepting a proposal that will reduce your credits to less than what's available will also be declined
    • Can no longer save a draft or propose to sell with quantity more than available credits
    • Can no longer accept a buy proposal that will reduce credits more than available
    • Created BaseTestClass
    • Moved some tests into tests folder

Data Migration and Fixture

The following migrations are included:

  • 0015_auto_20180625_1543.py

The fixture loaded is

N/A

Implemented Trello Cards

Technical information

This release is deployed on test at Jun 28, 2018.

v0.3.1.1 - release number update

27 Jun 17:18
Compare
Choose a tag to compare

Update release number to 0.3.1

Deployed on Test at Jun 26, 2018.

v0.3.1 - Credit Transfers (Buy and Sell)

26 Jun 18:30
Compare
Choose a tag to compare

This release includes both v0.3.0 and v0.3.1 features:

v0.3.0:

  • Credit Trader Role can Save a Draft
  • Credit Trader Role can Edit/Delete a Draft
  • Branch Analyst Role can Recommend a Transfer
  • Branch Director Role can Approve a Transfer
  • Signing Authority Role can Sign a Proposed/Accepted Transfer

v0.3.1

  • Initiator or Respondent CT can Rescind
  • Gov Roles can Decline a Transfer
  • Credit Trader Role can Reject/Refuse a Transfer

Data Migration and Fixtures

The following migrations are included:

  • 0011_auto_20180613_1848
  • 0012_credittradecomment
  • 0013_auto_20180619_2053
  • 0014_credittradecomment

The fixtures loaded include:

  • credit_trade_statuses_refused.json
  • permissions.json
  • roles.json
  • roles_permissions.json
  • roles_permissions_v0.3.0.json
  • signing_authority_assertions.json
  • users_roles.json

Implemented Trello Cards

Trello-323 Credit Transfer | Respondent can Refuse a Credit Transfer Proposal
Trello-336 Authorization | Approve Recommended Credit Transfer Proposals
Trello-338 Credit Transfer | Government Analyst Recommend Approval
Trello-345 UX Refactor | Hide unfinished tabs for IDIR users
Trello-350 Credit Transfer | Add 'Refused' status
Trello-383 Confirmation Alerts | Refuse a Credit Transfer Proposal
Trello-384 Confirmation Alerts | Rescind a Credit Transfer Proposal
Trello-385 Confirmation Alerts | Recommend Approval of a Credit Transfer Proposal
Trello-451 Authorization | Decline to Approve Recommended Credit Transfer Proposals
Trello-594 Credit Transfer | Add 'Rescinded' Status
Trello-624 UX Refactor Fuel Suppliers | By default sort List alphabetically by fuel supplier name
Trello-625 UX Refactor | redit Transactions | Hide elements for IDIR users
Trello-626 Fuel Suppliers | Add link to fuel suppliers list under Fuel Suppliers tab for BCeID users
Trello-635 Roles | Create Credit Trading role
Trello-636 Roles | Create Signing Authority role
Trello-650 UX Refactor Credit Balance | Display the total credits in the market
Trello-652 Authorization | Change Status
Trello-659 Breadcrumbs | Change Recommended breadcrumb to Reviewed
Trello-672 Credit Transfer | Add "Credit Market" tab that links to Credit Market Report
Trello-680 Credit Transfer | Create Information text boxes for non-clickable Sign 1/2 and Sign 2/2 buttons
Trello-681 Breadcrumbs | Reverse breadcrumb color scheme
Trello-683 Navigation | Move Log Out to the user's name heading
Trello-686 Authorization | List of fuel suppliers PDF is available to all fuel supplier users

Technical information

The release is deployed on Test at Jun 26, 2018.

Backup - Tagging master before merging v0.3.0 changes in develop

14 Jun 20:40
Compare
Choose a tag to compare
Merge pull request #377 from bcgov/contributing-links

Added links to publicized work for collaborators

v0.2.0.4

08 Jun 21:30
Compare
Choose a tag to compare

This minor release includes:

  • Revert the effective dates that were overwritten by the approval process
  • Frontend text changes for consistency

Data Migration and Fixture

The following migrations are included:

N/A

The fixture loaded is

N/A

Implemented Trello Cards

Trello 653 - Defect | Update Effective Dates
Trello 649 - UX Refactor | Text Changes
Trello 648 - Responsive Design | fix column width class
Trello 622 - UX Refactor | Update Breadcrumb appearance

Technical information

The release is deployed on Test at Jun 08, 2018, on Prod at Jun 13, 2018.

V0.2.0.3

31 May 23:26
Compare
Choose a tag to compare

This minor release includes:

  • Added two more confirmation before prod deployment
  • Revised changes to animation of icons
  • Fixed pluralization for credits when it's over 999
  • Added a StatusInterceptor on a more generic level
  • Filter credit transaction table by fuel supplier
  • Added 2 test fuel suppliers and 2 test users

Data Migration and Fixture

The following migrations are included:

N/A

The fixture loaded is

  • test_organization_for_basic_bceid.json
  • test_users_basic_bceid.json

Implemented Trello Cards

Technical information

  • This minor release is deployed on Test at May 31, 2018. Deployed on Prod Jun 5, 2018.
  • Refreshing SchemaSpy function has been added to pipeline in order to keep database mode document up-to-date.

Add migration and fix frontend defect for previous release.

29 May 21:47
Compare
Choose a tag to compare

Implemented Trello Cards

N/A

Data Migrations

  • 0010_auto_20180529_2003.py

The fixtures loaded

N/A

Technical information

  • This release fixes a missed migration and a frontend defect for previous release.
  • This minor release is deployed on Test at May 29, 2018.
  • The pull request merges from release-v0.2.0 branch to master is:
    PR 319 Release v0.2.0.2

v0.2.0.1

29 May 19:21
Compare
Choose a tag to compare

Implemented Trello Cards are:

Data Migration and Fixture

N/A

The fixture loaded is

N/A

Technical information

  • This minor release is deployed on Test at May 29, 2018. No prod deployment was executed.
  • The pull request merges from release-v0.2.0 branch to master is:
    PR 315 Release v0.2.0.1
  • There is a missed migration identified during the deployment. Also a defect found for frontend. Release v0.2.0.2 was immediately created to fix these errors.

v0.2.0

25 May 23:11
Compare
Choose a tag to compare

User Features

Features Scheduled
A company can view the list of their transactions June 2018
A company can view the transaction details June 2018
A company can view their low carbon fuel credit balance June 2018

Data Migrations

  • 0008_auto_20180507_1734.py
  • 0009_signingauthorityassertion_signingauthorityconfirmation.py

Technical Changes

  • Openshift resource optimization