Skip to content

Latest commit

 

History

History
2046 lines (1525 loc) · 202 KB

CHANGELOG.md

File metadata and controls

2046 lines (1525 loc) · 202 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.23.5 (2024-08-01)

2.23.4 (2024-02-23)

Bug Fixes

  • add storage limits to tf pod to satisfy sonarcloud (dbe0d37)
  • remove comment and double quote (008b2cd)

2.23.3 (2023-12-11)

2.23.2 (2023-11-22)

2.23.1 (2023-10-17)

2.23.0 (2023-09-06)

Features

  • update baseline charges with more accurate values (c9966c1)

2.22.4 (2023-08-25)

2.22.3 (2023-07-14)

Bug Fixes

  • add function to correct incorrectly initialized GWP values (11bc8b9)
  • notify reporter when application submitted (6b006ff)

2.22.2 (2023-06-13)

Bug Fixes

  • do not allow empty string in fuel quantity field (e39b4a2)

2.22.1 (2023-06-06)

Bug Fixes

  • allow multiple business bceids associated to one user email (23dbd36)

2.22.0 (2023-05-29)

Features

  • add AR5 GWP values to database (08286d0)

2.21.2 (2023-05-16)

2.21.1 (2023-05-15)

Bug Fixes

  • increase file upload max size in nginx via helm (877ead0)

2.21.0 (2023-05-11)

Features

  • add table to manage BCeID user access (6604e9e)
  • added verification statement alert (deffe89)
  • download verification statement (9badee3)
  • enabling bceid login (a4b9df5)
  • filter fuels by emission categry (69055c5)
  • show BCeId business name associated with user on org requests page (b638f07)

Bug Fixes

  • derive product_name from product table in view (0ee2035)
  • move logout button outside profile dropdown (231e9ee)

2.20.0 (2023-02-24)

Features

  • middleware that verifies a logged in user is allowed to access the system (063525e)

Bug Fixes

  • change close time to 23:59:59 (e1e5ace)
  • parse comments from json array (11de1b8)
  • removing notify admin on new submissions (cdbee4f)

2.19.2 (2023-01-28)

Bug Fixes

  • ciip user organisation policy doesnt depend on equal operator (8d8a417)
  • review comment policy doesnt depend on equal operator (8e227b1)
  • rls policy to pull the right comments (ed59b7c)

2.19.1 (2023-01-19)

2.19.0 (2023-01-19)

Features

  • Keycloak Gold integration (aef6348)

Bug Fixes

  • session idled message is not displayed when user tries to login (f94bc6d)

2.18.6 (2022-11-22)

2.18.5 (2022-11-21)

2.18.4 (2022-11-04)

2.18.3 (2022-07-20)

2.18.2 (2022-07-18)

2.18.1 (2022-05-04)

Bug Fixes

  • prod-test-restore missing ggircs_parameters schema (a2260d2)

2.18.0 (2022-05-03)

Features

  • replace lastSwrsReportingYear with hasSwrsReport boolean (b881ba4)
  • total co2 emissions on the summary page (7f2e005)
  • total on swrs onsite emissions (c0cc2d7)

Bug Fixes

  • disable mutation batching (6b7a126)

2.17.0 (2022-04-05)

Features

  • ggircs link on the admin dashboard (ee79185)
  • Sold Electricity product units is in GWh (8dedd87)

2.16.3 (2022-02-23)

2.16.2 (2022-02-15)

Bug Fixes

  • include new ggircs_parameters schema in cron-swrs-import (fa7da72)

2.16.1 (2022-02-14)

Bug Fixes

  • get_swrs_facility_data() does not rely on deprecated view (c1edc1c)
  • remove old reference to deprecated view (0331363)

2.16.0 (2022-02-02)

Features

  • round incentive ratio to 4 decimal places during calculation (9ca1552)

Bug Fixes

  • redirect unauthorized idir users to /analyst/pending (7401964)

2.15.0 (2022-01-13)

Features

  • add incremental_fuel_charge_baseline table (0cb0397)
  • round incentive ratio to 2 decimal places (44c97de)

2.14.3 (2021-12-09)

2.14.2 (2021-11-24)

Bug Fixes

  • session timeout now doesn't refresh the session automatically (1c8eb38)
  • updating non-impacting CVE ignore codes (cd64992)

2.14.1 (2021-11-10)

Bug Fixes

  • removing the environment variable form the deploy (f283a50)

2.14.0 (2021-11-09)

Features

  • component to handle login expiry modal (2bbbe36)
  • refresh-session endpoint for server (17bb6d1)
  • start session refresh (8ff0cf3)
  • update validation function to ignore non carbon-taxed fuels (24d8d22)
  • updating validation logic on un-required products (1435b6e)

Bug Fixes

  • adding manual dag trigger to init container (0ab5a66)
  • app submit button should not crash when reporting year is closed (23be1a0)
  • do not create extraneous review steps for older applications (9b50a1d)
  • invalidating old cpan package cache (3eac737)
  • reload nginx containers (a4950a4)
  • update acme cronjobs in DAGs (618df42)
  • updating circleci machine image (5e9b0b5)

2.13.2 (2021-10-05)

Bug Fixes

  • app submit button should not crash when reporting year is closed (23be1a0)
  • update acme cronjobs in DAGs (618df42)

2.13.1 (2021-09-28)

2.13.0 (2021-09-28)

Features

  • adding cronjobs and a deployment add-on (1f10edb)
  • create application chart instead that create openshift artifacts (3110966)
  • express trusts proxies (4c70bea)
  • library helm chart for nginx sidecar templates (2c1304e)
  • using the sidecar library to add nginx container in the deployment (8ddb569)

Bug Fixes

  • acme issue dag is only triggered on insecure deploy (e6577e9)
  • lint step tests all 3 sets of values (bdabac5)
  • show submit button for older applications with version > 1 (6a51b51)

2.12.1 (2021-09-15)

Bug Fixes

  • ensure proper emission_intensity for products with no emissions (688fc8d)
  • properly retrieve comments in ciip_production view (4196b90)

2.12.0 (2021-08-25)

Features

  • emissions from eios unit change to GWh (192e5d8)

2.11.4 (2021-08-06)

Bug Fixes

  • add migration to resync swrs_report_id (166ecb0)
  • check namespace suffix for env (23e1b76)
  • refresh_swrs_version_data does not update the swrs_report_id (c129559)

2.11.3 (2021-08-05)

Bug Fixes

  • ensure graceful server shutdown with Lightship (8f779ad)
  • lightship uses port 9000 in k8s, and a random unused port locally (9a702b8)
  • readiness/liveness probes are always with http scheme (the default) (97049ab)

2.11.2 (2021-07-27)

Bug Fixes

  • add carbon_taxed column to emission_category table (e3c1e48), closes #1933
  • application list should retrieve the latest submitted status (ee2507c)

2.11.1 (2021-07-21)

Bug Fixes

  • application list should retrieve the latest submitted status (ee2507c)

2.11.0 (2021-07-20)

Features

  • add ciip_incentive_per_product view (d68a94c)
  • pg_restore uses the single transaction flag (0b833dd)

Bug Fixes

  • add enum operators for metabase (2cc827e)

2.10.0 (2021-07-07)

Features

  • button wrapper with loading text (1d23df7)
  • checking that there is data in the body (5a4ceb3)
  • circleci job for smoke test (5354d73)
  • HOC that sets a loading state (3c3c112)
  • k6 script to test mutations (5bc3e08)
  • mutations test setup script (82f7815)
  • per vu iteration for spike testing (3afceaf)
  • reporter smoke test (142d35a)
  • templating the k6 file to generate it with options (0ec2e60)
  • view to calculate incentives for all submitted applications (6836d73)

Bug Fixes

  • add validation to user registration form (a75b95a)
  • archived Vented Natural Gas fuel should be mapped to Natural Gas (66a315f)
  • clicking on the icon sends the right status (b366634)
  • incorrect usergroup selected with multi role (bb498d2)
  • mandatory products function ignores deleted product-naics relations (af411eb)
  • only fire mandatory products validation on published products (f6c4f5a)
  • retrieve bcghgid from facility table (0fe532c)
  • shipit.yml indentation (76685d0)
  • unset debouncedMutation singleton when it is called (5ab323b)
  • use sort -u instead of sort | uniq (930d359)
  • use swrs_facility_id & reporting_year instead of swrs_report_id (8ce6299)

2.9.0 (2021-06-24)

Features

  • button wrapper with loading text (1d23df7)
  • checking that there is data in the body (5a4ceb3)
  • circleci job for smoke test (5354d73)
  • HOC that sets a loading state (3c3c112)
  • k6 script to test mutations (5bc3e08)
  • mutations test setup script (82f7815)
  • per vu iteration for spike testing (3afceaf)
  • reporter smoke test (142d35a)
  • templating the k6 file to generate it with options (0ec2e60)
  • view to calculate incentives for all submitted applications (6836d73)

Bug Fixes

  • add validation to user registration form (a75b95a)
  • archived Vented Natural Gas fuel should be mapped to Natural Gas (66a315f)
  • clicking on the icon sends the right status (b366634)
  • incorrect usergroup selected with multi role (bb498d2)
  • mandatory products function ignores deleted product-naics relations (af411eb)
  • only fire mandatory products validation on published products (f6c4f5a)
  • retrieve bcghgid from facility table (0fe532c)
  • shipit.yml indentation (76685d0)
  • unset debouncedMutation singleton when it is called (5ab323b)
  • use sort -u instead of sort | uniq (930d359)

2.8.1 (2021-06-14)

Bug Fixes

  • mandatory products function ignores deleted product-naics relations (af411eb)
  • only fire mandatory products validation on published products (f6c4f5a)

2.8.0 (2021-06-10)

Features

  • add @sentry/nextjs support (db3cef2)
  • send server-side errors to sentry (ea3858e)

Bug Fixes

  • add missing product fields to mandatory update mutation (521662b)
  • form width matches page regardless of content (7a8b8cd)
  • hide benchmark setting option if isCiipProduct=false (4dee245)
  • mandatory products only populate on non-deleted associations (1c7823e)
  • provide SUPPORT_EMAIL at compile time for 500 page prerendering (ad0a00d)

2.7.0 (2021-06-03)

Features

  • label the link for mandatory products in admin dash (a5444db)

Bug Fixes

  • analyst-facing 'organisation' refs --> 'operation' (b28f4f1)
  • coalesce null fuel amounts to 0 & get units from ciip fuel table (67139e3)
  • deleted naics code products dont show up on the form (cdceb85)
  • do not fire trigger on submission of version 0 (1ef9305)
  • facilities applications are ordered by operator and facility name (8d067e7)
  • only fire trigger on change from draft to submitted (3a4f140)
  • remove erroneously created review steps for legacy applications (6b1b8c9)
  • uncomment admin and analyst a11y tests (0a0e4e9)

2.6.0 (2021-05-27)

Features

  • add isMandatory to product schema (c70f5bc)
  • add mandatory product label (d617399)
  • change names of ciip application tab titles (da0e162)
  • custom field initializes formResult with mandatory products (b53f86f)
  • custom ProductsArrayField overrides and renders ArrayField (2561f0e)
  • link to program website on homepage and remove links to factsheet (e9a79e8)
  • product selection for mandatory products is read-only (86ca822)
  • scrollable pre-submission application disclaimer with updated text (fee4ab6)
  • update interstitial consent text for new applications (994aae8)
  • update text on dashboard GGIRCS-2304 (e296dba)
  • updated email templates and subject lines (ac33582)
  • use temp property on formData for template to hide remove button (e39cb58)

Bug Fixes

  • allow searching by facility type (via enum) (ed355bd)
  • createProductMutation uses the product fragment (684f75d)
  • don't use custom field for naics code in 2019 applicaions (65f0c3a)
  • ensure product units are part of the initialized mandatory products (d24bc58)
  • excluding fuels reporting a zero quantity from validation (af1a153)
  • fix broken links on footer copyright page (5cc0f8d)
  • fix typo on application review page incentive formula GGIRCS-2209 (f5853dc)
  • fixing double-margin around flex table cell (503e030)
  • link to regulation from missing swrs warning should open in new tab (aa9279b)
  • onComplete retrieves the form data properly (b5b5e7e)
  • only allow CORS for the Analytics script (e306b86)
  • perform home page redirection on server to prevent content flashing (5dedf9d)
  • prevent flash of Resume Latest Draft on Revise click (b2033ed)
  • productsByNaicsCode may be undefined (e7dd429)
  • re-activate deadline above login/register button (c45fbde)
  • re-add https links after they went missing in conflict resolution (08150e5)
  • remove link to defunct PDF from README (8c00945)
  • reset form state when changing form id (3721ef8)
  • return organisationId on request access to filter the list (fc9f9e1)
  • show (correct) version number when viewing apps with later drafts (79a14fa)
  • the display only filter doesn't render a search box (80cab71)
  • typo in error toast message (e672553)
  • update prod data file for ciip_application_wizard (40079db)
  • use clearer language for secondary contact label GGIRCS-2450 (e0ee923)
  • use correct condition to fix 2457 (b407468)

2.5.0 (2021-05-21)

Features

  • add isMandatory to product schema (c70f5bc)
  • add mandatory product label (d617399)
  • change names of ciip application tab titles (da0e162)
  • custom field initializes formResult with mandatory products (b53f86f)
  • custom ProductsArrayField overrides and renders ArrayField (2561f0e)
  • link to program website on homepage and remove links to factsheet (e9a79e8)
  • product selection for mandatory products is read-only (86ca822)
  • scrollable pre-submission application disclaimer with updated text (fee4ab6)
  • update interstitial consent text for new applications (994aae8)
  • update text on dashboard GGIRCS-2304 (e296dba)
  • updated email templates and subject lines (ac33582)
  • use temp property on formData for template to hide remove button (e39cb58)

Bug Fixes

  • ensure product units are part of the initialized mandatory products (d24bc58)
  • fix typo on application review page incentive formula GGIRCS-2209 (f5853dc)
  • productsByNaicsCode may be undefined (e7dd429)
  • re-add https links after they went missing in conflict resolution (08150e5)
  • update prod data file for ciip_application_wizard (40079db)
  • use clearer language for secondary contact label GGIRCS-2450 (e0ee923)

2.4.0 (2021-05-12)

Features

  • add emission_category_missing_fuel validation function (2790155)
  • add no_reported_ciip_product validation function (7787655)
  • add primary and secondary contacts to admin form (23ea331)
  • aggregate values for Facility Total row (c4b855a)
  • basic modal to make a decision, request changes + shared modal CSS (f31364d)
  • Calculated & Maximum incentive columns use CAD currency format (1bd5e24)
  • ciip-swrs comparing function ignores venting and flaring (1b83829)
  • complete page links to application summary if query param (07e8ff7)
  • computed column returning true if a fuel is carbon taxed (6a2b187)
  • create admin-2020 form schema (12854a0)
  • create an index for all fkeys currently missing an index (562f27b)
  • creating validation frontend component (af4405f)
  • decision button appears activated once review steps are complete (981435b)
  • decision modal supports reverting the decision (6ace21b)
  • Incentive ratio on right of Payment Allocation (1da2508)
  • remove bc ghg id from admin-2020 form (38bb187)
  • remove LFO and EIO from available facility types (994e965)
  • show BCGHG ID, and version number when revised at top (2f8498d)
  • Threshold chart column is removed (f3845c1)
  • update ciip_carbon_tax_calculation view to use new ct calculation (46dd65b)
  • use difference with march 2018 fuel charge to get CIIP CT (07d13a2)
  • use query params for application review page (709f6dd)
  • validation function for mandatory products (97e92b1)
  • validation function testing if reported fuels match swrs (e92b932)
  • validaton on swrs emissions sqitch files (95ee82b)

Bug Fixes

  • escape unsafe html in email templates (52fabc6)
  • remove validation function when reverting (5f4bb0d)

2.3.1 (2021-04-29)

Bug Fixes

  • reset swrs_report_version to 1 (8fcc221)
  • update swrs_report_version on update of version 0 (17ee5be)

2.3.0 (2021-04-28)

Features

  • add commputed column to retrieve production data (2388a54)
  • add computed column to retrieve emission data (d3ef5bc)
  • add computed column to retrieve fuel data (0218d8d)

Bug Fixes

  • only check application window is open for version 1 of application (b25c02a)

2.2.0 (2021-04-28)

Features

  • add computed column for total ciip emissions (06c14ab)
  • add is_ciip_emission column to gas table (7b7fd54)
  • add review comment modal saves new comments (b848074)
  • adding new component for the progress indicator (986cba5)
  • basic review step selector opens that step in sidebar (0016571)
  • confirm marking step complete when there are unresolved comments (09abe5b)
  • enable admins to change decision, preserving current functionality (3596c7e)
  • enable HelpButton for reporters (a0383c8)
  • ensure decision cannot be changed if a newer draft exists (b0cfa27)
  • finalize modification of review once decision has been made (5ee53aa)
  • import facility bc ghg id from facility table (d13496e)
  • migration removing orgs and facilities with no swrs equivalent (cb6e11a)
  • progress step indicator formatting and coloring (dfd5d0c)
  • progress step indicator has a title and a light badge style (9d6aae8)
  • remove Feedback from the footer (eb41d65)
  • rename "report a problem" field to "add a comment" (31f0485)
  • render comment icon in selector if step is incomplete (6e4710c)
  • reorder admin form to allow quicker viewing of facility info (44a1bf4)
  • show completed status of review steps in selector (c105ad7)
  • show decision status on 'make decision or request changes' button (11c72fb)
  • step indicator on reporter facilities page (f8d10b9)
  • update review_step name from 'other' to 'application' (90ce2f5)

Bug Fixes

  • a11y contrast issue on -info buttons and badges (7653ca0)
  • add missing getInitialProps on organisation-request page (941b1aa)
  • add SUPPORT_EMAIL env var to circleCI (a817d45)
  • admin env var email is just email (ba47bbf)
  • allow ISearchOptionSettings to be passed to EnumFilter (dcc092c)
  • facilityBcghgid includes and enum sort false (518cf12)
  • link to contact us page (115cc31)
  • restore rendering of fields with disableRenderingIfEmpty ui option (94db02e)
  • update admin subject line (4873bf8)
  • update circleci env vars (88a849f)
  • update contact us page email locations (9dfd397)
  • update refresh_swrs_version_data function to key on swrs_report_id (2043f52)
  • update sender name (057dae7)
  • update snapshot (64d0b82)
  • update snapshots (9085339)
  • update snapshots (0b9f754)
  • use admin email env var (d4a56d2)
  • use correct column name when sorting products by date (8252e09)
  • use email env variables (cfa9d77)

2.1.0 (2021-04-21)

Features

  • add and update snapshots (610608a)
  • add aria-label to dropdown (cac246b)
  • add computed column to retrive naics code (7376d92)
  • add user icon dropdown button desktop (a50b8c3)
  • adjust icon (2e175a7)
  • application disclaimer page redirects to 404 if data is missing (123bdcb)
  • change desktop icon appearance (bc9bb18)
  • dropdown check (9e1f308)
  • emission category shows a text-only element when deleted_by is set (95ea889)
  • facilities page defaults to the current reporting year (c866ef9)
  • filter Form product dropdown by naics code (cef66a7)
  • filtered product fragment (e54e0c4)
  • improve tests (01a16f5)
  • keycode api update (a4857cf)
  • mobile button fix (99d2d36)
  • mobile icon style (6e3de09)
  • mobile styles looking ok (6895df7)
  • new application disclaimer uses nextjs dynamic routes (fde2a56)
  • not logged in mobile view (8447f2f)
  • refactor logged in header menu to container (3a110c5)
  • remove outdated media query (848f259)
  • reorganise css (62cb82f)
  • review updates (f3cc819)
  • setting a deleted_at value for the 'other' emission category (3e3e7ca)
  • show correct data if the application is in review (4c41876)
  • show warning if product not in naics code (44f0bdf)
  • style update (2654b8f)
  • update cypress command (9336940)
  • update Header snapshot (343df49)
  • update Header snapshot (ab8a95a)
  • update snapshots (2344f49)
  • update styles (2df49a6)
  • update test check (dd1ec8b)
  • use updated application disclaimer route in ApplyButtonContainer (f8b1e74)

Bug Fixes

  • improve email validation message (b2b4272)
  • input focus bug (use formContext) (7403ab1)
  • undo debugging (2ebca87)
  • update cypress selector (e63fc50)

2.0.0 (2021-04-14)

Features

  • add -r (refreshSwrsVersions) flag to deploy-data cronjob (cc60de7)
  • add / update comments in refresh function (85dc622)
  • add a capitalization text transform and tests for these utilities (ce0194c)
  • add application and facility info to application page (d7e9c11)
  • add ciip_sector column to naics_code table (0d42c8e)
  • add computed columns for product search/sort (cf821c1)
  • add computed columns needed for application filtering (a1b049e)
  • add create mutation (e5f128b)
  • add custom create_fuel_naics_mutation (6fced1c)
  • add custom upsert mutation (ad267ad)
  • add default_form_result column to form_json table (3d7ef7c)
  • add delete confirmation modal (9037c49)
  • add enum type review_step_name (daa9d89)
  • add extraFilters for FilterableTableLayout (7129bfe)
  • add filterable search UI components (5927c83)
  • add fuel-naics through-table (7409443)
  • add iterative validation function (8b788f3)
  • add max_results selection dropdown (57d4005)
  • add naics table & custom mutation (f8b713f)
  • add NaicsCodeTableRow fragment container (fb89d68)
  • add optional fixed header to default layout (47a9c17)
  • add pagination component (00b1cb0)
  • add postgraphile filter plugin (7941a03)
  • add product_naics relationship table (4fe4942)
  • add redirect from view-application to new application...view url (32375ea)
  • add refres_swrs_version_data db function (83e1785)
  • add refreshSwrsVersion target to shell script (179c40a)
  • add review comments to application summary page (09ac44f)
  • add review_step table (c1170c4)
  • add RLS policies for review_step_name table (71c3cd9)
  • add skeleton naics code pages (a9ea206)
  • add trigger_function to create/refresh review_step (9fa2c21)
  • add validation Alert to summary page (ee172e3)
  • add validation function table (28d4b1c)
  • add validation result type (8757a67)
  • adding a comments column to the fuel table (0c6f474)
  • adding form configuration dashboard card (ebecd02)
  • adding navigation links (8c8c173)
  • adding pagination query items to organisations (bd9acc8)
  • adding pagination to the organisation request table (a3b9ab2)
  • administration form displays a dropdown list of NAICS codes (349b679)
  • alert similar to products if the existing naics code is not found (1cc5c6d)
  • allow 'delete' on naics codes (4b5b310)
  • allowed products list (fe11950)
  • allowing mailhog pod to get connections in (dde051f)
  • analyst review sidebar layout (a66cf66)
  • application policies doesnt add certifier policy (5442a91)
  • ApplicationStatusSearchOption supports application not started (e817889)
  • apply trigger to application_revision_status (d5207b6)
  • button to return to top of page when reviewing applications (db487b9)
  • connect new review comments layout with real comments (8b8f127)
  • connection needed filters (74fe1ce)
  • create reusable function lib/safeJsonParse (8a88ab1)
  • create v0 form_results (and other v0 entities) if not exists (65c2c88)
  • delete function for naics code product association (41276c2)
  • delete modal (8c05617)
  • delete product naics code is functional (4974a55)
  • diff visualization supports deletion of top-level array elements (704f72a)
  • drop form_result_status RLS function (d886ca9)
  • dropping cc application_revision_certification_signature_is_valid (7d855e8)
  • dropping cc application_revision_certification_url (955807d)
  • dropping cc certification_url_has_matches (b001e60)
  • dropping cc ciip_user_has_certification_requests (5314107)
  • dropping RLS for certifier on form_result table (59a24c8)
  • dropping signature_md5 trigger function (b0dddf2)
  • dropping the search organisation function (1ae0f4a)
  • ensure resolved comments are hidden when toggled off (c8df91f)
  • fuel diff supports array (ab3a863)
  • fuel field is disabled and shows an alert when archived (2c8712c)
  • function to verify that a policy is absent (246089d)
  • function to verify that a type doesn't exist (57ddb3c)
  • helper to verify that a function is not present (471ead1)
  • icon displays properly when the product is mandatory (daa56cd)
  • implement pagination for productListContainer (2f13779)
  • improve template for cases where a newer revision exists (96e0369)
  • interactive list of naics codes (4142d21)
  • json schema form product typeahead (1878783)
  • linux dbd dependency for CI tools (1161eb3)
  • loading prop is propagated to application components (5a106c3)
  • mocking date on e2e tests (817071c)
  • mutation lives in the add component (cba05da)
  • mutation to create products naics association (9779ad0)
  • mutation to update applicationReviewStep when marking it completed (062694a)
  • naics field renders no matter what (063e54a)
  • nextjs links should pass the href to child if it is a Button (60b5546)
  • only render pagination bar if there are > 1 pages (1b54fd8)
  • organisation request page updated with search function (9745493)
  • paginate by first/offset, move activePage to querystring (1f145d5)
  • pagination with numbered pages (510f7a6)
  • product search sorts products by name (155660c)
  • redirect users from the old to the new application url (d2872bf)
  • reenabling necessary RLS policies for certification url (1be2f64)
  • refactor fragments / remove unused props (e6ac6af)
  • refactoring relay vars parser to a class (3ec3322)
  • remove all uses of formResultStatus (c6ab634)
  • remove deprecated type (9aec3e7)
  • remove form_result_status insert from trigger (701c338)
  • remove form_result_status inserts from mutation (215a516)
  • remove form_result_statuses computed column (90acff4)
  • remove obsolete facilities search (4991f5c)
  • remove old search_application_list function from schema (afad8da)
  • remove SelectReportingYearDropdown (afd4365)
  • remove table form_result_status (1a8406e)
  • removing application revision status RLS for certifier (ce80d19)
  • removing AS_CERTIFIER flag for development (76f0577)
  • removing certification email and md5 triggers on certification_url (d3a74fc)
  • removing certification url policies (91cb8bd)
  • removing certifier jobs from graphile worker (34369e7)
  • removing certifier policy on application_revision table (55782b3)
  • removing certifier RLS on facility table (eaa9902)
  • removing cetrification case from set_user_id trigger (d0841ec)
  • removing private function for certifier (fbc3c37)
  • removing search_certification_requests function (52f3c5b)
  • removing tests for the certifier computed columns (efee42c)
  • removing tests for the certifier search function (15e3ac3)
  • removing type search_certification_url_result (b946f30)
  • removing verification of existing certifier policies (a98f9bc)
  • resolve and delete review comments (25ff6c5)
  • restricts only to mailhog port (01ebcd4)
  • RLS for review_step table (5b88a72)
  • RLS policies for naics table (20bd777)
  • safely parse JSON in _app (04e4f05)
  • schema and graphql queries updated (6446c8f)
  • schema migrations for organisation computed columns (6c26abf)
  • scrollable naics list (7190466)
  • search field resets when product is added (8bffa3b)
  • search products component retrieves naics from query (302b41c)
  • seed data script ignores certification triggers (e240db9)
  • show/hide resolved comments (5c0b882)
  • skeleton for the page and the queries (14809ed)
  • sorting the allowed products by name (14994c3)
  • split create functionality into modal component (fc9dde9)
  • style search buttons (d419971)
  • table filters are submitted when pressing the Enter key (7f8c954)
  • the application view page redirects to 404 if no application (28d531c)
  • update application page url (5120bd8)
  • update facilities application search to use filter plugin (b9a815f)
  • update immutable_form_result trigger to ignore version 0 (fc98859)
  • update mutation to no longer create statuses (076db4c)
  • update reporter view of decision on submitted application page (c02d0a5)
  • update review comments on application page when revising (d933d65)
  • update search fragments (4f3028f)
  • update view-application page to use next dynamic routes (3dc8c1d)
  • updating application tables tests (0fc6518)
  • updating schema definition (3a9654a)
  • updating schema graphql and json files after rebase (26e345c)
  • updating tools-version to postgres 12.6 (85aa497)
  • use friendly status display (4604105)
  • useJsonSchemaDiff recursively lists object properties (1fd3dc1)
  • vented and flared natural gas are archived (aaae969)

Bug Fixes

  • (ally) add aria-label to filter inputs (9f392c6)
  • a11y on application submit step (49b2f77)
  • accessibility violation on naics code list (da8946f)
  • account for potential header offset caused by SiteNoticeBanner (2c83f63)
  • acme-challenge should be served even when using https (d0c0039)
  • add empty column to manage products table to fix layout bug (c23cc08)
  • add missing column description (5c6ab16)
  • add missing comments, fix schema (9144056)
  • add uindex on fuel_id & naics_id for on conflict clause (d0b605e)
  • ally contrast violation on outline-danger button (ad6546d)
  • application open/close overlap issue (d17a0ff)
  • benchmark/product mutations update rendered results (05ad907)
  • breaking migration if function already exists (e770b85)
  • broken sqitch plan after rebase (6203f67)
  • capitalization (f8d13d9)
  • certification for dev data deploy (7196c69)
  • comment copy/paste error (83a4569)
  • console error in productRowItemContainer test (1a62db1)
  • default layout top padding should only be 60px (84b8ab7)
  • don't drop ciip_portal user during revert (b6e4905)
  • e2e email test URL (38b41e0)
  • e2e speed (8c6dfe3)
  • facility_application_by_reporting_year orders results (df2487b)
  • filter row "clear" button clears "application not started" (c367cbe)
  • fix sqitch plan after rebase (ef54624)
  • join order changed with postgres 12 (a056f59)
  • libdbd-pg-perl on CI vm (891b5f2)
  • live render changes, remove console.logs (de27616)
  • mailhog race condition in e2e (3328523)
  • make default resultsPerPage = 10 (932ed02)
  • make the 'Resume application' button a real anchor link (fb96c64)
  • move DB datepicker to footer to avoid layout conflicts (a4acd53)
  • mutation now hardcodes the delete logic (5c9b63c)
  • naics code mutation handles ciip_sector column (8e145ad)
  • naics_code should be varchar (563e1bb)
  • omit default create & delete mutations with smart comments (50d6c47)
  • performance and small ui improvements (0411fb0)
  • properly apply default_form_result column in function (3ab3100)
  • rebase created duplicate entry in sqitch plan (3487bdf)
  • remove environment from PageRedirectHandler useEffect conditions (f47a82f)
  • remove revert/verify file check from shell script (cead6aa)
  • removing console log (afd0583)
  • removing useless relay vars custom parser (7524a1b)
  • removing variable shadowing (ca1fb98)
  • rename & fix return value for create_naics_code_mutation (4353a6c)
  • renaming naics selection component (b366a20)
  • reordering migrations to make function available (38f9848)
  • replace default create_fuel_naics_code mutation (7772139)
  • replace default create_product_naics_code mutation (9f70ea1)
  • reporter ally e2e test (805809c)
  • reporter subheader highlighting uses route instead of asPath (0668042)
  • reset offset when applying new search filters (6737d1e)
  • return enum from application_status comp column (7646ac9)
  • revert function missing a replace (c2f6997)
  • revert on certification url policies (0bd67c4)
  • reverting confusion between app version and chart version (ff9e098)
  • safely parse JSON (0564621)
  • state is not an array (834072c)
  • styles are local when possible (1eb9567)
  • submit application button should not be a link (6af1a39)
  • trigger function needs security definer (7c670aa)
  • typo in FilterableTablePagination - use key, not ref (517872f)
  • security: do not trust user input when redirecting (695a318)
  • update import (60d33e6)
  • update link to metabase (bd2f31b)
  • update pgTap plan() for application_revision_status_test (771b49a)
  • update the reporting year passed to the FacilitiesRowItemContainer (6e4d1a8)
  • update_timestamps trigger does not set deleted_at/by on null input (c1ce2ec)
  • use typescript primitive types (9349929)
  • use v4.0.1 instead of latest to avoid incompatibility warning (04fe723)
  • using database function to verify that the policy is not present (cfc17e3)
  • y18n advisory (4defff8)

1.18.0 (2021-02-25)

Features

  • default layout expands to the bottom of the viewport (24ca839)
  • fixed help button for admins/analysts (5874dc7)
  • intra release KNP for release and k8s name (72f413b)
  • re-order products table, merge all product config into settings (9a702b7)
  • removing data redeploy on certifier url tests (4f725de)
  • rename Flared Natural Gas CH4 to "Flared Natural Gas" (312a4b5)
  • rewriting NSPs into KNPs (bef4802)

Bug Fixes

  • cypress time mock and syntax (927e19d)
  • deploy mocks schema in test openshift environment (4c0e917)
  • linting needs default values for KNP generation (7b89964)
  • no need for string interpolation (7cb8caf)
  • onBlur validation support @rjsf/core v2 (8aa156f)
  • user-friendly application status labels and spell things out (8c72466)
  • yaml dashes (151e69f)

1.17.0 (2021-02-18)

Features

  • default layout expands to the bottom of the viewport (24ca839)
  • re-order products table, merge all product config into settings (9a702b7)
  • removing data redeploy on certifier url tests (4f725de)
  • rename Flared Natural Gas CH4 to "Flared Natural Gas" (312a4b5)

Bug Fixes

  • cypress time mock and syntax (927e19d)
  • deploy mocks schema in test openshift environment (4c0e917)
  • no need for string interpolation (7cb8caf)
  • user-friendly application status labels and spell things out (8c72466)

1.16.0 (2021-02-03)

Features

  • add a /health endpoint & use in readiness probe (ef7c66c)
  • add a column for reporter comments to all views (ab86124)
  • add data-migrate helm chart (64195fa)
  • add is_active column to ciip_application_wizard table (167a559)
  • add link to report a problem in dashboard (bdf2d7f)
  • add missing column descriptions in views (c13289e)
  • add new support email as a variable; use temporarily for reports (a4f2fe6)
  • add test for ciip_fuel view (bdb0a96)
  • cypress flag added to circleci (7e31add)
  • e2e test that actually tests the logins (8fd9a31)
  • fixture to override jwt auth for analyst role (6e5028e)
  • ignore inactive ciip_application_wizard rows (f0b1d8c)
  • mock login takes the same code path as AS_XXX (e9a4fcd)
  • re-group dashboard links navigation and simplify language (9010908)
  • refactoring e2e tests to use mock login (31b19de)
  • remove uniqueness constraint on form_position (0d1a57a)
  • set new column to default true (bc59e32)
  • update ciip URLs to be *.gov.bc.ca (1bfc6ac)
  • update ciip_admin view to handle 2018 data (3673564)
  • update ciip_emission view to handle ciip 2018 data (c2e31f7)
  • update ciip_fuel view to handle 2018 data (b93f622)
  • update ciip_production view to handle ciip_2018 data (eb248b9)
  • update schema (bb974f5)
  • use create or replace when creating views (62e9d26)

Bug Fixes

  • ACME http challenge should only be accessible on port 80 (0361186)
  • add nsp in ciip-portal ns for metabase->ciip-db (4056428)
  • as_cypress doesn't bypass the login page (4d7b8db)
  • assert that mock login cookie has been set (8b158d8)
  • ciip_fuel cannot drop columns in revert file (40a66eb)
  • drop portal_app user & create ciip_portal user if not exists (f2b2943)
  • existing page access spec tests the real login (4f50dc7)
  • one more missing column description (52ffad1)
  • pass href all the way down to anchor tag for accurate links (1818edc)
  • redirect spec only deploys data once (cf8e581)
  • require serviceUrl prop for Report a Problem link component (434449a)
  • source/destination swap (da52563)
  • syntax error (e11ce99)
  • update schema (e540db0)
  • upgrade nodejs to 12.20.1 (a660288)
  • use create or replace in ciip_fuel revert (e17fd50)
  • verify file properly verifies exist/not exist of roles (578be0c)

1.15.0 (2021-02-01)

Features

  • add a /health endpoint & use in readiness probe (ef7c66c)
  • add data-migrate helm chart (64195fa)
  • add is_active column to ciip_application_wizard table (167a559)
  • cypress flag added to circleci (7e31add)
  • e2e test that actually tests the logins (8fd9a31)
  • fixture to override jwt auth for analyst role (6e5028e)
  • ignore inactive ciip_application_wizard rows (f0b1d8c)
  • mock login takes the same code path as AS_XXX (e9a4fcd)
  • refactoring e2e tests to use mock login (31b19de)
  • remove uniqueness constraint on form_position (0d1a57a)
  • set new column to default true (bc59e32)
  • update ciip URLs to be *.gov.bc.ca (1bfc6ac)
  • update schema (bb974f5)

Bug Fixes

  • add nsp in ciip-portal ns for metabase->ciip-db (4056428)
  • as_cypress doesn't bypass the login page (4d7b8db)
  • assert that mock login cookie has been set (8b158d8)
  • existing page access spec tests the real login (4f50dc7)
  • redirect spec only deploys data once (cf8e581)
  • source/destination swap (da52563)
  • update schema (e540db0)
  • upgrade nodejs to 12.20.1 (a660288)

1.14.0 (2021-01-05)

Features

  • correcting namespaces (1ad5243)
  • correcting namespaces (5e9dfa1)
  • function to mock the time inside a transaction (c711fb6)
  • nsps and values for ocp4-dev (699e700)
  • remove values files for old namespaces (0d209cf)
  • time travel supports fractional epochs (e6f6b6b)
  • update mailhog chart version and image repository (ee056a6)
  • update routes with temporary host names (4eb98ba)
  • updating graphql schema (dcf0de9)
  • updating graphql schema (d4a3bc3)
  • values files for test and prod (861a56e)

Bug Fixes

  • cpan installs the dependencies for all schemas (5e80404)
  • don't attempt to delete prod-restore PVC (7c4ead0)
  • fix NSP and update makefile to support generic environment names (a61efc7)
  • hardcode default reporting year in table to 2019 (402ca2e)
  • linting on OCP4 (95cda7a)
  • mocks schema needs to be deployed to deploy dev data (f765d16)
  • remove duplicate deployment of mock schema (aefac80)
  • remove ie from happo config targets (b6353cb)
  • schema deploying order and dev data dependency (29a7af2)
  • schema Docker container directory structure needs to match repo (cdbeba7)
  • sqitch plan reordering (671a0a7)
  • sql syntax (92bd664)
  • typo in developer guide documentation (4de5ba3)
  • update axios to fix security advisory (6a057da)
  • update dockerfile workdir (b4eb9da)

1.13.1 (2020-12-07)

Bug Fixes

  • 'revise application' btn --> 'resume latest draft' if newer draft (0834e1f)
  • 'revise'-->view most recent submission if viewing older submission (04c91d2)
  • add computed column application_revision_is_immutable (c893b4d)
  • add immutable_form_result trigger function (bfde612)
  • add trigger to form_result table (3eb2a1b)
  • applicationRevisionByStringVersionNumber returns correct app (3bc9e17)
  • fix wrong return value in function (620ac76)
  • logic fix (9427f68)
  • minor syntax/logic fixes (b490bd0)
  • pg_restore in test should ignore errors (272d876)
  • prod-backup-pvc should not be deleted after install (d276b3c)
  • prod-test-restore creates roles as they do not exist on install (6a3ef38)
  • redirect the reporter when trying to access immutable application (b0f7208)
  • revert sqitch.plan bug introduced in 1b5542 (151021a)
  • run CI nightly job at midnight PST (UTC-8) (b03af0b)
  • useState for mutation-altered props that shouldn't cause rerender (0be7bc3)

1.13.0 (2020-11-30)

Features

  • add date range trigger to reporting_year table (28544c6)
  • add function to protect date ranges in reporting_year table (1b5542a)
  • admin form validation ensures non-overlapping application windows (c867285)
  • also validate non-overlapping reporting periods in admin (df28b90)
  • default layout supports user controls in title banner (45610ea)
  • don't validate reporting start/end when editing application dates (eb908bc)
  • remove validation enforcing edited applicationClose to not be past (95f5832)
  • show edit button only for the most recently closed year+ (115ff32)
  • update function to include 'contains range' edge case (64099c4)

Bug Fixes

  • ensure errors are returned to continue built-in validation (508b903)
  • labels for accessibility, style with local CSS (0047155)
  • moving the create product button down and left (7473ea3)
  • only validate past application dates if non-empty (2c52762)
  • replace quinary expression with a variable re-assignment (cbac6f8)
  • reporting period dropdown alignment on bootstrap md width (7ab2001)
  • tweak vertical positioning of 'create new' reporting year button (97c06b1)

1.12.0 (2020-11-16)

Features

  • add missing /auth back into the url (18b9a44)
  • add print-pdf route (c4d45e5)
  • adding comment rendering in the fuels section of the PDF (fa4fd97)
  • adding deployment of mocks schema in helm template (a036fbc)
  • adding env variable for mocked date without UI (06cef93)
  • adding front-end component to set the mocked date (3c115e2)
  • basic UI control to set the mocked date in the database (3bfe714)
  • creating schema for mocked database functions (a64d9a6)
  • Creating schema for mocks, adding mock now() method (e7e009c)
  • datepicker allows user to pick year and month (ec9ce5b)
  • docker image supports puppeteer (0556516)
  • Ensure PDF download opens in new tab (75cabf5)
  • helm values to only set the ENABLE_DB_MOCKS in dev and test (37cfc40)
  • keep browser alive and properly await commands (606d839)
  • rendering the comment field on the production items on the PDF (cd1cfb2)
  • reworking ggircs_portal.current_timestamp() to use now() instead (672dd02)
  • update keycloak url for dev-test-prod (f5674eb)
  • updating permissions on the mocks schema (56f36af)
  • updating the ui_schema: rendering of the empty fields (8a19216)

Bug Fixes

  • Accuracy and more readable aria-label for expand/collapse comments (253da10)
  • add copy command in dockerfile for mocks schema (918f5d7)
  • add quotes to relative pushd path (fe37366)
  • correcting path to helm template value (39e14f5)
  • end of file (6e8eb7a)
  • fixing reference to env Value (a8fe220)
  • formatting of the comment field on the application summary and PDF (f4d0220)
  • linter issues (abdc682)
  • puppeteer should download its bundled browser when installing (0012510)
  • remove puppeteer & chrome from dockerfile (2f60ad6)
  • removing forgotten console.log call (e6526aa)
  • update cronjob with new path (b072176)
  • update name of test reporter username for test env in banner (dc0ede4)
  • wrong function call in the database mocking options (5c8f227)

1.11.0 (2020-10-22)

Features

  • add missing /auth back into the url (1b73e50)
  • update keycloak url for dev-test-prod (0caa3c8)

Bug Fixes

  • remove all instances of the NO_PDF flag & update docs (d365dfb)
  • remove all pdf-related files (130209f)
  • remove react-pdf packages (6cc5f7f)

1.10.1 (2020-10-15)

Bug Fixes

  • parse fuelRowId & emissionCatetoryRowId integers to named values (db41e01)
  • remove debugging console log (6dfa7a7)
  • subtract generated heat/elec in incentive function (9367b05)

1.10.0 (2020-10-07)

Features

  • Add Bowser to project for browser detection (4d4ef68)
  • Backwards-compatible browser info page (4d4f770)
  • PageRedirectHandler redirects user when session idles (372ba33)
  • Render static info page for unsupported browsers (f60e055)

Bug Fixes

  • Capitalize 'CIIP Benchmarked' table header (9cfe03a)
  • Correct unsupported browsers (78fb442)
  • keycloak access token is refreshed when needed (a43c618)
  • session-idle-remaining-time route should handle dev flags (af4965b)

1.9.1 (2020-09-23)

Bug Fixes

  • remove escape characters from bash function call (bd63065)

1.9.0 (2020-09-23)

Features

  • add re-usable functions for date manipulation (bb3208c)
  • align comment date format with rest of application (6015391)
  • convert UTC dates to readable format (e9e236d)
  • remove instances of moment & replace with new functions (except AltDateInput.tsx) (8b7200d)
  • remove unused onStepBack function/props (0523547)
  • update form button styles (feabebb)

Bug Fixes

  • add quotes to PORTAL_READONLY_USER paramter in cmd line sql function call (aa53429)
  • escape quotes in bash command (14fe1ee)
  • Status indicators should appear as a pill badge (dfbb19c)

1.8.1 (2020-09-16)

Bug Fixes

  • define width/height of uploaded signature file (7172c7b)
  • Hide gases button shouldn't overlap 'saving' indicator (94dfec3)
  • search/sort by application id instead of id of search return row (87c5b82)
  • update draft status notification to reflect current certification status (34af518)

1.8.0 (2020-09-08)

Features

  • Don't show application close time on front page (e966e91)

Bug Fixes

  • increase cores for prod patroni (4486d2c)

1.7.1 (2020-09-08)

Bug Fixes

  • Always show reviewer comments regardless of revision status (373776c)

1.7.0 (2020-09-02)

Features

  • add UI for selecting a reporting year (26515c7)
  • ApplyButton is disabled for new applis when viewing past years (5fe787d)
  • ApplyButton is not shown when the reporting window is closed (09e1292)
  • Heading landmark accessibility on certification redirect page (00ebf3d)
  • Input label accessibility for batch certification checkbox inputs (64aba20)
  • Input label accessibility for signature image upload (9861335)
  • revise application and apply button allow revisions after deadline (2c0032b)
  • db: allow creation of new application revisions when window closed (d994824)
  • rework function to allow for filtering on reporting year (67ca5b9)
  • update relay query variables (943d32f)

Bug Fixes

  • ApplyButtonContainer should not crash if application is not draft (f280c3d)
  • FacilitiesRowItemContainer key should include the selected year (fca6986)
  • RegistrationLoginButtons + KeyDates handle closed reporting period (b24b7ed)
  • render an empty div instead of no apply button to preserve column (45defac)

1.6.1 (2020-08-28)

Bug Fixes

  • make application_policies case insensitive (c3b369d)
  • make certification_url_policies case insensitive (6b1259d)
  • make ciip_user_has_certifiation_requests case insensitive (29c1ee0)
  • Make facility_policies case insensitive (71b0b59)
  • make get_valid_applications_for_certifier case insensitive (731ee02)
  • make search_certification_requests case insensitive (23fdf3a)

1.6.0 (2020-08-26)

Features

  • add 'pending certification' to a draft application's status if a certification request has been sent (fdd58ac)
  • Add instruction text just above digital signature pad (7275627)
  • add saving indicator to application forms (b4a3e6f)
  • Color contrast accessiblity, reporter scope (5a5618c)
  • create common function & show explicit error messages for format errors (782fd61)
  • Form input (label) accessibility (de947e9)
  • Form label accessibility for SearchBox (12624aa)
  • Headings accessibility, reporter scope (6302e29)
  • implement debounce without clientMutationIds (f50dc6a)
  • List accessibility in PaginationBar (67ebb7f)
  • mutation debounce middleware short-circuits the debounced mutation (12100ac)
  • Nav landmark accessibility (429d1c1)
  • set default debounce timeout to 250ms (284ee1d)
  • show a message in search tables if there are no results (6647662)
  • update confirmation message in ApplicationWizardConfirmation (2189ad1)
  • Update program website URL to (hopefully) permanent content URL (9699b33)
  • update snowplow analytics script to vE.2.14.0 (cb6376d)
  • use a debounceKey and call dispose() on debounced mutations (32fef24)

Bug Fixes

  • add a role & label to title div (fixes missing landmark violation) (61710c6)
  • add alt text for all images (fixes no-alt violation) & increase h tag sizes (fixes header-order violation) (e56a7ae)
  • change contrast for contact/copyright pages (fixes color-contrast violation) (8fc1078)
  • change contrast in privacy page (fixes color contrast violation) (d0e6980)
  • ids should be unique on page for comments (view) fields (d093dd0)
  • increase contrast for a tags (fixes contrast violation) (4f988c6)
  • increase size of first h tag to h1 (fixes no-header violation) (80ea16e)
  • Input label accessibility for application certifier email (1dd72a3)
  • make subheader & sitewide notice children of Header (67467dc)
  • remove extra html tag (3024b8e)
  • sort out some sizing issues after changing heading sizes (5853ee1)
  • sqitch-check-immutable-files does not fail when a tag is added (9181c67)
  • sqitch-check-immutable-files has to be run from the repo root (bd4e476)
  • wrap page-content container in a div with role=main (satisfies 'Main Landmark' violation) (2f553f6)

1.5.0 (2020-08-12)

Features

Bug Fixes

  • Correct @storybook/addon-info version (a8cedcd)
  • Ensure serialize-javascript pkg resolves to secured version (31e5158)
  • handle edge case all products in an application have 0 emissions (e99bb84)
  • undo change to immutable file & replace with sqitch-rework (7e35a13)
  • Update Storybook to next major version to fix npm audit (ca7ad59)

1.4.1 (2020-08-06)

Bug Fixes

  • coalesce null energy product values with 0 (f80148a)
  • prod hardcoded data should be deployed in *-test environment (9ab8ee0)
  • remove raised exceptions from incentive function (adb737b)

1.4.0 (2020-08-06)

Features

  • add override column to application_revision table (2f13ed0)
  • add override notification component (931d08e)
  • add override notification to certifier view (51af3bb)
  • add override notification to top of reviewer page (f650253)
  • create add/remove functionality with mutations for override justification (13193a0)
  • UI component to "override and justify" application errors (42251f5)
  • update override ui / messages (7c79da0)

Bug Fixes

  • add a state check if ApplicationDetailsContainer has rendered or not & use that to balance state problem with hasErrors (da8d74d)
  • add computed column to application to display user's edit permission (91b23a3)
  • add function that applies select true RLS policies to a user on all ggircs_portal tables (c3875a0)
  • add missing return in OverrideNotificationCard (2f583d3)
  • add read_only_user_policies function call to app-users cronjob (1f23c5e)
  • application_revision_ciip_incentive shouldn't throw with amount=0 (1b11548)
  • delete override justification if exists & application has no errors (4ca7f0a)
  • hide override justification box if hasErrors is false (644c6de)
  • implement redirect in ApplicationWizard for users with no edit permission (certifier) (3251091)
  • increment chart version (24188cf)
  • no null textarea (9751878)
  • production amount and emissions allocated should be allowed to be 0 (5f1f86b)
  • remove old placeholder error message from ApplicationWizard & redirect to 404 page from application if no application is present (bb314d7)
  • remove signature component from certify page & replace with 'certified' alert if signature is valid (92b797e)
  • set hasErrors useState default to null, use explicit hasErrors===false for condition check (68943d5)
  • update certification messages at bottom of summary page (cb5a16e)
  • update rls to only hide 'internal' comments from industry user role (f45ae7d)

1.3.0 (2020-07-29)

Features

  • add explanatory text, filter out 'DRAFT' and current status from dropdown, add confirmation modal for status change (7b6b3ed)
  • add new row for status change message to better match design (b0eadfe)
  • redirect user to a more friendly page if keycloak auth fails (e947938)

Bug Fixes

  • Require certifier email before submitting for certification (0a1d7be)
  • acme-renewal: name of cron job and container should be acme-renewal (9b72fbc)
  • add ggircs_portal schema to portal_read_only user's privileges (18a4114)
  • disable apply button on click (80d5fb6)

1.2.0 (2020-07-27)

Features

  • add cron job template to renew https certificate (b2b9efa)
  • add http request logging with morgan (71c690e)
  • add onBlur support to all custom widgets and fields (4688b32)
  • application form fields are validated on blur (aebadc2)
  • disable graphile worker signal handling and add SIGTERM listeners (25f7be1)
  • improve rendering of summary emission form (4775c25)
  • prevent toastify from creating too many toasts (b19c463)
  • read-only form fields should not be marked as required (a188335)
  • use recommended postgraphile options in development and production (0569dbb)

Bug Fixes

  • do not set padding on svg elements and remove list-style on errors (9f5581b)
  • subheader active link changes depending on the route (eef241f)

1.1.0 (2020-07-22)

Features

  • fix grammar (024d8bb)
  • loading table shows loading animation in its center (842c9b5)
  • paginated tables make cells invisible when loading new page (4530bd2)
  • update form UX to be more clear about how/when data is saved (c6fe797)

Bug Fixes

  • Correct legal typos (71932d9)
  • Correct typos and update application disclaimer text (dba1425)
  • Immediately remove requested org from access dropdown (4f1ceef)
  • request_for_organisation_access doesn't need to query facilities (287aa8c)
  • Update text on certification redirect page (e24b3ea)

1.0.3 (2020-07-20)

Bug Fixes

  • Only list orgs in dropdown to which the user hasn't requested or been given access (c69d165)
  • search_products function returns the correct values for add options (e1748d2)

1.0.2 (2020-07-16)

Bug Fixes

  • Error on Safari in header (cf615af)

1.0.1 (2020-07-16)

Bug Fixes

  • fix redirection loop when redirected to analyst/pending (da063e5)

1.0.0 (2020-07-16)

Features

  • Add documentation for reporters (52b0077)
  • add PageRedirectHandler HOC (9154469)

Bug Fixes

  • PageRedirectHandler should always checkSessionAndGroups (ca417dc)
  • unauthenticated graphql requests should use the ciip_guest role (555957e)

1.0.0-rc.12 (2020-07-15)

Features

  • "Exported heat/electricity" --> "Sold heat/electricity" (1d33735)
  • add conditional PVC and update values files (a9bac46)
  • Favicons and <title> for appearance in tabs + search (f18804c)
  • only deploy cron if restoreFromProd.enable is true (94c000d)
  • remove recovery_target from command (appears to be default set somewhere) (07c0ff9)
  • restore prod data all the way to the last backup (dae917b)
  • Sitewide notice banner for dev and test (configurable for prod as well) (0652514)

Bug Fixes

  • ApplyButtonContainer should handle null openedReportingYear (82a51bb)
  • default-layout should redirect to landing route before registration (c31f3c4)
  • Ensure landing page login button submits (afadb57)
  • pending analysts should not be allowed on user/profile page (dc9ab4a)
  • Responsive layout for site header (c7b3f46)

1.0.0-rc.11 (2020-07-13)

Features

  • 404 page (e170f65)
  • add comments field to every form, rendered by ProblemReportField (8658189)
  • add report_id column to application table (e351d83)
  • creating an application adds the report id the application table (00077d9)
  • enable analytics in prod namespace (d7b0e78)
  • error-boundary doesn't render the stack trace in prod builds (cfd3e9a)
  • move test data to dev (f5a5b25)
  • relay errors are thrown and rendered by error-boundary (94a6ca4)
  • test deployment uses prod keycloak namespace (92fc271)
  • triggered airflow dag name is defined in values.yaml (1bf64e6)
  • update graphql schema (5fa0bcf)
  • update ProblemReportField text and cancel button behavior (3cb1b1f)

Bug Fixes

  • only load graphiql when in local environment (0c9fd24)
  • use NODE_ENV to decide whether to run graphiql (0a027e0)

1.0.0-rc.10 (2020-07-07)

Features

  • Register button leads directly to SSO registration (cdb53cc)
  • Update snowplow collector to prod origin (94f20dd)

Bug Fixes

  • hide jsonschema titles with css (c83342f)

1.0.0-rc.9 (2020-07-06)

Features

  • 'Industry'/'Admin' header link --> 'Dashboard' (3bf2a8b)
  • add a success toast on signed cert request & redirect to requests list (1138aa0)
  • add cypress axe tests for certifier & guest (1d90b96)
  • Add pages from DevHub for footer links (dd8bfef)
  • create accessibility cypress tests for reporter, analyst, admin (a81b9be)
  • Ensure test analytics module only present in test env (6ab9b25)
  • initial install deploys with insecure route first to issue cert (5a65085)
  • Install test analytics module (1a1dd2e)
  • Set robots directives in header for non-prod environments (7482c96)
  • Updated factsheet for 2020 on landing page (ff72c03)
  • updated keycloak realm exports (ec5c0ec)
  • use happo instead of Percy for e2e snapshots (a244a00)

Bug Fixes

  • add swrs_facility_id value to unnamed facilities in dropdown (270ee51)
  • add uindex to application (fixes multiple 'apply' button clicks bug) (c6ecdee)
  • await searchField state change before setting searchValue state (b38adc1)
  • Capitalize SWRS acronym (5ced885)
  • Certifier clipboard URL should have protocol (1449a0e)
  • Ensure certification redirect page diverts through login (87ff2ec)
  • Ensure login redirects processed before non-permissible redirects (79f6268)
  • Ensure redirect URL encoded to preserve all query params (6998fb6)
  • handle null facility names in search dropdown (f87c79d)
  • helm status should be run on the correct namespace (5abf5ac)
  • parse zeroes as data rather than falsey when populating diff table (336e955)
  • set searchField & searchValue state at the same time (fc858e4)
  • static assets should not use relative url (9b3c683)
  • update CO2 gas types to match SWRS data and update gas descriptions (6e5c241)
  • update logic with nullish coalescing (71de797)
  • update typescript definitions for handleEvent (4214670)
  • User Profile header link should be nextjs Link (e5a4cec)

1.0.0-rc.8 (2020-06-26)

Features

  • 'CIIP' should appear early in all email subject lines (ef12328)
  • 'Draft application started' email (19b4bc5)
  • Add 'union' merge strategy for sqitch.plan (e1cf92a)
  • add duplicate data warning (7d3e3ad)
  • add mailhog helm chart (2ce1cef)
  • add migration changes to graphile_worker_job_definer() (fbcfbef)
  • add missin report modal that allows continue or cancel with consequences in text (ba0d142)
  • add page / component for analyst to add an operator (363fd27)
  • add proper user/fsgroup for test instance (741fd9f)
  • add rls to private graphile_worker_timestamp table (fdbe15c)
  • add route template for mailhog (aef6a5e)
  • add swrs_report_id column to org/facility display (89f0c31)
  • add table for timestamped tracking of calls to graphile_worker.addjob() (bf1c224)
  • allow analyst to create new facilities (1095c51)
  • define resource limits, fix smtp string (1063ab7)
  • Email notifying admin of submitted applications (35bc0b3)
  • Email to notify admin of org access requests (ab2c649)
  • Finalize application status change email (62fba12)
  • Finalize certification notification email (a95e838)
  • Finalize certification request email (fd36579)
  • Finalize recertification request email (6c2739c)
  • Finalize welcome email message (5ca8374)
  • finish splitting add org/facilities modal & remove old add facility code from FacilitiesListContainer (998e09b)
  • host/route updates from PR review (ed089f1)
  • More actionable links for emails (a6ca3ce)
  • nuke the siteminder session cookie on logout (59773d7)
  • Organisation access approved email (36b2a2c)
  • Organisation access requested email (48692e2)
  • remove appHost from values files (2e12bf1)
  • remove local mailhog chart & try using chart directly from helm hub (738a5f5)
  • Reply contact address specified in body of all emails (f31e365)
  • rewrite has_swrs_report function to check current reporting year instead of taking it as a param (3022cd4)
  • Send separate emails for approved, rejected, changes requested (5a4bc6f)
  • update developer-guide with sqitch / incremental db changes documentation (9bc4f6e)
  • update function logic (1b264ea)
  • update mailhog host/port values (64b5c6f)
  • update reporter organisations page with a contact cas option if they can't find their operator (3b6e10b)
  • update schema (094df43)
  • update smtp route (f259928)
  • use https in all environments (dccc1f7)
  • use secure cookie session backed by connect-pg-simple (fa1de35)
  • use sqitch rework to add sqitch plan change to graphile_worker_job_definer() (249c285)
  • yarn start uses --unhandled-rejections=strict option (3659db8)

Bug Fixes

  • add drop index to revert files (2049677)
  • add missing uindex to facility table (816142f)
  • add unique index to organisation table (88820b6)
  • adds guard if clauses to protect against null data (9332e8f)
  • canonical list of reserved words (3756e6f)
  • change dropdb call to psql -c... call (7e00215)
  • change target port to string (58cd79b)
  • ciip user needs to be dropped on dev (3f2ff43)
  • Clean up landing page, icons, image swap for GCPE (53fb4a5)
  • Correct some typos on Add facility page (7ac892e)
  • Correct wording of draftApplicationStarted email (a9547d2)
  • Email env vars should be in long format (46a3855)
  • fix borked rebase (0145ff7)
  • fix borked rebase (376c8fe)
  • Fix broken certifierUrl missing protocol in href (750db9f)
  • in dev, preInitDb should kill active connections to the db (3f44890)
  • include private schema in table test search path (046e05e)
  • misnamed import (52a1de1)
  • multiline string values should be using the indent function (3cea5b5)
  • remove extra slash from mailhog.host (0427785)
  • remove helper function from schema (c29eeee)
  • require org-request approved for applications (2cdffec)
  • rework org/facility import function with new on conflict keys (d247720)
  • session was a reserved word in SQL-92; worth avoiding (bd512e6)
  • sqitch-check-immutable-files was silently failing (32cd893)
  • syntax error (cacc23c)
  • update facility_policies to check org request is approved (6e325a3)
  • use fully qualified name for drop index statements (827f34d)
  • when dropping the ciip db, all roles should be dropped (29df7bd)
  • sqitch-ci: ignore changes created by sqitch rework (8e125e3)
  • sqitch-ci: uniq should be applied on sorted text (18e7347)

1.0.0-rc.7 (2020-06-18)

Features

  • helm hook for first cert provision (2ddee1b)

Bug Fixes

  • liveness needs to be checked using https (ea9749c)

1.0.0-rc.6 (2020-06-17)

Bug Fixes

1.0.0-rc.5 (2020-06-17)

Features

  • use acme.sh to provision ssl certificates (52235b3)

Bug Fixes

  • add missing key in cron-init-db template (37963fb)
  • cron charts should be pre-install/upgrade hooks (f178f9e)
  • deploy-data script always deploys the latest sqitch changes (115ce1c)
  • Fix block layout of site header on Safari (2740b62)
  • grant access to swrs schema to ciip user roles on every deploy (f12ab4e)
  • ignore non-equivalent eslint rules (66d81b2)
  • increase acme challenge PVC size to be above 20Mi min (eb74d22)

1.0.0-rc.4 (2020-06-15)

Features

  • add a computed column to retrieve linked products (04e5837)
  • add dummy data for product_link table (e725d90)
  • add is_deleted column to product_link table, order computed column results by product_link table id (e995bdb)
  • add new column for linking products (d5910d8)
  • add placeholder modal for linking products (1fcd156)
  • add policies file for product_link table (f22487e)
  • add product_link table (0134f42)
  • add remove product link mutation (fc69a9e)
  • can create links between products (ef6d452)
  • clean-up ui functions, close modal on save (18476aa)
  • dev and test routes are subdomains of ciip.gov.bc.ca (5a7cb50)
  • filter energy products out of link choices (ea46cc5)
  • prod deployment temporarily creates an insecure route (d0bff35)
  • prod route is https://ciip.gov.bc.ca (b1ceba6)
  • remove link by rowId wip (a381e7d)
  • render modalButtons (e99433b)
  • show warning in production tab if linked products are missing (b2b0671)
  • style the product link modal (ff06627)
  • update schema (2969ace)
  • update schema after rebase (324bb0a)
  • use passthrough termination for router (b2ec81a)

Bug Fixes

  • airflow dag trigger should not be a hook during install (30d7aa3)
  • airflow-dag-trigger job should be a hook to allow upgrade (ecde3fc)
  • Fix landing page copy and logo for GCPE (bd68181)
  • fix some typos (88efc6a)
  • helm values namespace was -dev instead of -test (280ae79)
  • routes must conform to DNS 952 form (354dc1f)
  • trigger-airflow-dag.sh handles failed state (913617c)

1.0.0-rc.3 (2020-06-12)

Bug Fixes

  • airflow-dag-trigger job should be a hook to allow upgrade (ecde3fc)
  • helm values namespace was -dev instead of -test (280ae79)

1.0.0-rc.2 (2020-06-12)

⚠ BREAKING CHANGES

  • portal schema does not support s2i builds

Features

  • "Select All" --> controlled input (9b22557)
  • /admin/user-list --> /admin/users (39cf005)
  • /reporter/ciip-application --> /reporter/application (18319e1)
  • /reporter/ciip-application-legal-disclaimer --> /reporter/new-application-disclaimer (ea51257)
  • /reporter/ciip-application-swrs-import --> /reporter/application-swrs-import (1749d7c)
  • /reporter/facilities-list --> /reporter/facilities (2c1e78e)
  • /reporter/user-dashboard --> /reporter (e2690cd)
  • /user-profile --> /user/profile (8ff1640)
  • add comment to energy_product.sql prod deploy file (69de869)
  • add hydrofluorocarbons to industrial process emissions (ba9f973)
  • add jq to schema image (0bb6254)
  • Add localhost shortcut to login as certifier (a29d2b5)
  • airflow-dag-trigger job waits for the dag to complete (14f18c4)
  • airflow-dag-trigger shouldn't be a hook (28c2908)
  • build app docker image (a9a5d54)
  • build app docker image on circle (999ec52)
  • build schema docker image on CircleCI and push to gcp-gcr (56af560)
  • deploy ciip portal with helm chart (75f8bad)
  • enable wal-g in ciip patroni db (899684b)
  • Only certifiable requests can be selected (6ccfe0d)
  • remove schema/.s2i (47588d4)
  • Reusable component for signature disclaimer (acd13e9)
  • schema image uses docker-entrypoint.sh (b530194)
  • Select all certification requests in list (ffb6c94)
  • Selections are updated on query change (8e644d3)
  • throw validation errors if required energy products are not reported (d2b4275)
  • update cron-deploy-data and add airflow-dag-trigger (403c778)
  • Update link to application disclaimer on certify page (67bdd2b)
  • Update table rows after certifying (6ef447f)
  • Update URL for application disclaimer text (95d7f11)

Bug Fixes

  • add deploy-data script in schema docker image (292e8af)
  • app dockerfile works with any uid (28bb4d2)
  • expose port in app docker image (16aded1)
  • fix app dockerfile files ownership (2b861b4)
  • fix app dockerfile typo and try to create ciip group (6d9e426)
  • Fix cert request sorting by certifier surname (ed41a33)
  • fix credentials in cron jobs (182e57b)
  • fix deploy-data cronjob name (9a96e19)
  • fix helm templates config (884eab0)
  • fix issues in circleci config (c112bd6)
  • fix make install command (0407107)
  • fix makefile install command (30b7c37)
  • fix-permissions should be done by root user (899d87d)
  • increase deployment timeout to 40m (797089e)
  • remove hardcoded 'limit' value in search functions (4a5173e)
  • shipit timeout should be a number of seconds (4a55f0e)
  • update dockerfile multiline command (45ca090)

1.0.0-rc.1 (2020-06-05)

⚠ BREAKING CHANGES

  • product: make necessary column name changes to all references to ggircs_portal.product in other files
  • product: create enum for product_state & update product table

Features

  • (wip) update computed column to be searchable (546d1b4)
  • add a foreign key to the search_certification_result type on application_id (674cea8)
  • add a function to validate existence of energy products if required (0081256)
  • add computed column has_certification_requests to return boolean true if certification requests exist for user (d179b3e)
  • add email trigger for 'create application' & fix trigger not to send an email when version = 0 (3d78c12)
  • add missing return in PaginationBar (f9e581b)
  • add more columns to the incentive calculator (a6513f6)
  • add pagination to certifier requests page (4e078b5)
  • add return type for search function (790c79b)
  • Add swrs_deadline column to reporting_year (1b3df5c)
  • add trigger for org access request email (481d8b8)
  • add trigger for organisation access approved email (796c8ee)
  • create common component for pagination (8b551e7)
  • create new requestsContainer for search function (1732c47)
  • create standalone search function for certificaiton requests (cda877b)
  • Diff URLs for application & site disclaimers (a97c882)
  • Finalize copy on application summary page (d6ceb9d)
  • Finalize copy on certifier redirect page (0178915)
  • Finalize copy on reporter dashboard (5aadd83)
  • Finalize copy on the certification page (bf56840)
  • Finalize landing page copy (dfb347b)
  • Finalize legal disclaimer, 1-step consent (da6376b)
  • fix syntax errors / relay naming bugs (82b2903)
  • Link to batch certify page from dash + email (4e9c250)
  • Mock current_timestamp reflects this year (edd7245)
  • Remove disclaimer checklist before signature (2a2e876)
  • Remove operator DUNS from application form (17d8937)
  • Remove unecessary facility info from form (9a662ab)
  • Update additional date in reg/login prompt (e1050b2)
  • update certification_requests computed column to be searchable (9743e15)
  • update schema (d163d08)
  • update triggers to also notify analyst/admin on org request / app submission (67250d8)
  • use common PaginationBar component in FacilitiesList (45f9d5b)
  • benchmark: add past benchmarks to modal as a table (f24ef43)
  • benchmark: update graphql schema (fd29022)
  • benchmark: update schema & sqitch plan (e8f54d0)
  • certification: update submit certification request UI (a6525f3)
  • emission: add emission category 'Other, non-carbontaxed' & make sure it is not selected in init_application_emission_form_result.sql (145859b)
  • emission: ignore fuels with non-carbontaxed emission category in the carbon tax calculation (5f07be7)
  • emission: update join to ignore fuels that fall into the non carbon-taxed category (36d8087)
  • fuel-form: add fuel emission category and import from SWRS (48bacc3)
  • keycloak: add conditional for null project (local) (785d4e4)
  • keycloak: add export files for test/prod & add explicit filename for dev export (ffeda7f)
  • keycloak: dynamic auth-server-url by namespace (108fcc7)
  • keycloak: ignore export files in 'detect secrets' step (0868704)
  • keycloak: update pre-commit excludes with proper pattern (7ef7e30)
  • Update key dates for landing page (919d38f)
  • organisation requests: add row level security permissions for ciip_analyst on ciip_user_organisation table (40038c5)
  • organisation requests: allow analyst group access via front-end to organisations-request page (7628656)
  • product: Add a reminder to check guidance on emission allocation if any product in the form requires emission allocation (ada8690)
  • product: add is_read_only boolean column to product table & update protect_read_only trigger function to raise an exception if true (026a26a)
  • product: add partial index on product table where product_state=published (d906c31)
  • product: add tooltips on hover to edit benchmark/product icons (652f9e4)
  • product: add trigger function to protect read-only product rows/columns (0f0deec)
  • product: allow benchmark editing for read-only products, split state=archived from read-only (18bbdc6)
  • product: create enum for product_state & update product table (95ba5f5)
  • product: fix enum comparison (capitalize) (a37844d)
  • product: only check if the allocation reminder should show when on the production form (e14565b)
  • product: remove future benchmarks (848720f)
  • product: remove unnecessary boolean check (archived state is always read-only) (c2628a7)
  • product: rename name -> productName in json schema, close modal on save & use updateProductCount hack to ensure data refresh (36d0ad0)
  • product: split deploy_data files for product: energy products stay in prod/ all other products moved to test/ (d5f3388)
  • product: update edit/view icons & disable form in modal based on productState (ec6da7f)
  • product: update modal fields to be disabled if isReadOnly=true & update search function to include new column (b51b4a3)
  • product: update product data & set all energy products to read_only=true (4c72b25)
  • product: update protect_read_only_products trigger to automatically set is_read_only to true if state changes to archived (903a0fa)
  • add toast messages on mutation success/failure (1764a3a)
  • Admin view + edit reporting period details (0d49207)
  • Certifier page lists certification requests (d594323)
  • import dev data to eccc_xml_file table (6c575e9)
  • Query user certification requests by email (301585f)
  • product: update logic in trigger function & misnamed schema in product table (6c743b3)
  • product: update product/benchmark modals & add custom widget (17ad580)
  • product: update search_products.sql to align with new benchmark creation strategy (ecb9cd8)
  • product: update table headers (38c52b2)
  • product: update the retrieval of current/past benchmarks for a product (b24b122)
  • product: use moment.js to convert modified column to a more readable format (4e02607)
  • facility table displays type, ghg id and last swrs report year (67815d6)

Bug Fixes

  • add AS_CERTIFIER flag to index (6438131)

  • add column 'is_energy_product' to product table (3750784)

  • add comment on security definer function (9108056)

  • add fkey to search_certification_requests return type (847facb)

  • add guard clause to return null if there are no certificationUrls to display (6421898)

  • add missing comma (syntax error) (0a52160)

  • Add omitted word from reporter dash copy (91204e3)

  • add security definer to certifier access to facilities function (744862e)

  • add validation error for conflicting products where requires_emission_allocation = false (089b327)

  • allow industry users to view details of other users (58500c8)

  • Correct DST timezone offset for seed dates (122db24)

  • Fix application ID in cert. redirect URL (6e1352f)

  • Fix user foreign key ref on certification_url (121dd8c)

  • incentive payment uses incremental portion of CT (a2f5ab9)

  • remove a hardcoded value (c22d0a8)

  • remove extra select/end (b278db6)

  • roll back markdown-to-jsx version in resolutions (60d1e2d)

  • show max possible incentive for product, update incentive segment (f2b21e1)

  • throw exception in application_revision_ciip_incentive if incorrect number of products are reported (0f4b994)

  • typescript was angry at the rowId key, pass it the id of the certificationUrl instead (eabb5dd)

  • use asdf-node "import-relase-keyring" in tools docker image (ca03f80)

  • use asdf-node "import-release-keyring" (6fc6251)

  • certifier: fix 'uncheckable' checkbox in optional email for certifier (3aa2657)

  • facility: remove extra join condition on created_at column (4c2ae00)

  • product: add 'hidden-title' style to productCreatorContainer to hide jsonschemaform titles like in the ProductRowItemContainer (075629e)

  • search tables: fixed cut off table headers for button columns / bad ordering in user-organisation table header (b2862c3)

  • product: make necessary column name changes to all references to ggircs_portal.product in other files (a8c2c69)

1.0.0-alpha.2 (2020-05-01)

Features

  • admin-form: remove fax number from admin form (c6f1f4c)
  • set HOST env variable when deploying the app (c0a724f)
  • email: add support for HOST env variable (#587) (056f2d6)
  • error boundary shows a useful error message (a398042)
  • fuel-form: fuel units is a read-only field (4a8e9be)
  • fuel-form: remove methodology from fuel form (0b68551)
  • keycloak: remove bceid identity provider (1cc40c6)
  • product: add EIO emissions as a product (8d22f60)
  • product: add optional chaining for state-check (9bd005b)
  • product: do not allow selection of inactive products from dropdown (ad1ecff)
  • product: ensure that although we now fetch all products regardless of state, that inactive products cannot be selected (d43479d)
  • product: show warning for deprecated/archived products & don't show them as options from the product dropdown (29549e9)
  • product: update schema (5c227b4)
  • 1-step form validation (48318d1)
  • Validate BC Corporate Registry Number format (d6a1afd)

Bug Fixes

  • use 0 for undefined values (d8a3542)
  • use decimal.js-light library to fix inaccurate javascript decimal issue (b981f2b)
  • ci: fix misnamed ci job (c9fc187)
  • dependency: add missing dependency for pg-8.0.2 -> graphile-build-pg (2c3dcb7)
  • emissions-form: fix typo in N2O gas name (was N20) (0d20aec)
  • facility: pagination bar cannot go past last page (11f3a94)
  • facility: provide organisationRowId as a variable to the search facilities function (d787828)
  • facility: update search function to filter facilities by organisationRowId if organisationRowId is not null (b30251d)
  • revision status: add a boolean value to application revision to indicate if it is the current version (63ce822)
  • revision status: add a version_number_input variable to computed column for application revision status (cc97e4b)
  • revision status: add version number inputs to other queries that pull the revision status (ef1f3e7)
  • revision status: conditionally render a dropdown or disabled button depending on if the revision being viewed is the current version (f5bd524)
  • revision status: create trigger to disallow changing the status of a non-current version of the application (8662301)
  • revision status: fix search all facilities logic when retrieving application revision status (bd733de)
  • revision status: Fix the search facilities function to return the proper revision status (b61c2cb)
  • revision status: remove unnecessary select (c8f3def)
  • revision status: update mutation to accept a version input & pass version from mutation call inside review container (86a0063)
  • revision status: use versionNumberInput variable when querying the status from a review (ensures proper status is shown for version being reviewed) (5412c6b)
  • Add missing dependency required for Storybook (429c877)
  • create portal_app database user with sqitch (2d95365)
  • NAICS code should be converted to a string when imported from swrs (2c4f8e3)
  • Remove unused older version of Bootstrap (248b366)
  • server: default db user should not be portal_app if NO_AUTH is used (50eaa6f)

1.0.0-alpha.1 (2020-04-17)

⚠ BREAKING CHANGES

  • SWRS data is now loaded in the application creation mutation chain. Removed the swrs_* queries in the Application object
  • JSON fields should not be parsed or stringified anymore

Features

  • admin: all products options are displayed when creating a product (a5c5ddd)
  • admin: set default values and update titles in products creation (530acc4)
  • emissions: set default value for emission amounts to 0 (fbb541b)
  • git-cz: make this ugly-ass monorepo commitizen-friendly (15c20dc)
  • schema: swrs schema is created by sqitch if not exists (25714bd)
  • NumberField renders as text if readonly is true (83d5e7b)

Bug Fixes

  • accepting cpan defaults blindly fails on openshift (6126a3c)
  • Add isomorphic-fetch as a dependency (66528c8)
  • add selective dependency resolution to fix vulnerability (1f5313c)
  • benchmark numbers should be numeric instead of real (76092c9)
  • cpanm should use -l extlib option (e00f9a4)
  • do not import LFOs and EIOs from swrs + dedup facilities (448139c)
  • do not pull swrs emissions where category is null (74bca7c)
  • do not render ApplicationFormNavbar before setting formResultId (234a228)
  • drop policies before re-creating them (20e07a4)
  • enable rsjf's safeRenderCompletion hack to prevent cursor jumps (950c7e1)
  • fail revert job properly and increase activedeadlineseconds (ee01fb3)
  • https://www.npmjs.com/advisories/1488 (18fcc91)
  • increase memory request to build app on pathfinder (b260785)
  • json objects in postgres should be created with jsonb_build_object (e764d29)
  • make install_perl_tools should call submake (d0bc48c)
  • NumberField should follow the "disabled" prop (1018b7e)
  • NumberField sould always return a number (62f86ba)
  • paths in deploy-test-data should not use __dirname (f89a44e)
  • remove isomorphic-unfetch (673df8d)
  • schema-deploy job name was not updated aver prefix rename (ebeea52)
  • server/index.js should use commonjs imports (00bfa7a)
  • skip tests when installing cpanm (e7c1131)
  • sqitch needs the SQITCH_TARGET and PGHOST variables (73bec71)
  • start url with https (6a410d3)
  • update case of energy products names (02968cf)
  • use next getConfig instead of process.env to get FEEDBACK_SITE_URL (d4dc5cb)
  • authentication: ensure malformed sessions are recoverable by logout (26736e8)
  • ci: pull the version of the submodules defined in the repo (3888c3c)
  • circleci: pathfinder build should wait for next.js compilation (b6b51e3)
  • config: minified files are ignored by default (c329a0a)
  • deploy-test-data: form_result data should be deployed after gases (4034c56)
  • deploy-test-data: sqitch operations are done on the correct db (4383b55)
  • form: EmissionGasFields now converts emission amount to number (ba1a062)
  • next.config.js: rename ts file to js so it isn't ignored by next (3397428)
  • security: ensure marked is >= 0.7.0 (0c05117)
  • security: ensure terser-webpack-plugin is ^1.4.2 (f67820c)
  • security: mem 1.1.0 is vulnerable to DoS attack; use mem >= 4.0.0 (ffd475a)
  • security: patch arbitrary code execution exploit (98354c5)
  • snapshots: snapshot drift caused by rebase (b9a02dc)
  • style: avoid abusing typescript (76558b6)
  • style: implement review feedback (b4d19e2)
  • style: linter acts differently on CI; just write decent types (b4b33b9)
  • style: linter teh fings (b96575e)
  • style: remove useless comments (99e5ef0)
  • typescript: exclude unnecessary folders (28777d0)
  • typescript: mock next/router should be the right type (788ca40)

feature

  • remove application_swrs_* functions (7453a9c)
  • Use postgraphile's dynamicJson option. (bf2e831)

1.0.0-alpha.0

(2020-04-15)