- Fix fgases sync [dianaboiangiu]
- Add PATCH_AUDITOR_USERS to handle contact persons patching separately [dianaboiangiu]
- Add PATCH_AUDITORS option
- Block assignation on /undertaking/[domain]/[company_id]/auditor/[auditor_uid]/assign/ if an auditor already has an active assignation
- Add /auditors/verification_envelopes/?reporting_envelope_url=/reporting/envelope/url endpoint
- Add /user/companies/v2?username=[username]&ecas_id=[ecas_id] endpoint
- Use section references in Readme API [dianaboiangiu]
- Fetch more information on auditors
- Add endpoints for checking/assigning and unassigning an auditor to a company [dianaboiangiu]
- Save ecas_id separately from the username [dianaboiangiu]
- Add sync for auditors [dianaboiangiu]
- Remove breakpoint [dianaboiangiu]
- Add new endpoint user/companies to include ecas_id [dianaboiangiu]
- Log companies affected by the latest changes [dianaboiangiu]
- Update types and business profiles for FGAS [dianaboiangiu]
- Fix fgas sync [dianaboiangiu]
- Add ENV var STOCKS_INCLUDE_TESTDATA [dianaboiangiu]
- Fix response decode [dianaboiangiu]
- Return users with email in Users endpoint [dianaboiangiu]
- Improve stocks script to update entries already created [dianaboiangiu]
- Fix sync stocks [dianaboiangiu]
- Make HEAD calls to bdr before making full calls [dianaboiangiu]
- Fix Sqlalchemy error [dianaboiangiu]
- Set a smaller range for updated_since [dianaboiangiu]
- Fix Dockerfile [dianaboiangiu]
- Allow calls to BDR only on check passed True [dianaboiangiu]
- Use GET method for Zope request (Zope2 HEAD requests treated like DAV issue) [dianaboiangiu]
- Fetch test stocks from API [dianaboiangiu]
- Fetch stocks from API [dianaboiangiu]
- Use old company id when necessary when checking if company folder exists [dianaboiangiu]
- Improve format
- Improve bdr company folder creation [dianaboiangiu]
- Fix sync issue on ODS/FGAS [dianaboiangiu]
- Relax call bdr conditions [dianaboiangiu]
- Fix ODS/FGAS companies have the same ID [dianaboiangiu]
- Add env variable for checks exception [dianaboiangiu]
- Add eori number to FGAS companies [dianaboiangiu]
- Add eori number field to Undertaking [dianaboiangiu]
- Fix types/business profile issue
- Limit calls to bdr [dianaboiangiu]
- Set vat number label on FGAS companies [dianaboiangiu]
- Make country conversion field longer [dianaboiangiu]
- Change substance quantity postgres type [dianaboiangiu]
- Add use_kind as unique field for license aggregation [dianaboiangiu]
- Update country codes for licences
- Set eori number column in export companies [dianaboiangiu]
- Accept fgas type without prefix
- Surpress scientific notation in quantity values
- FGAS GB companies should not report without OR
- Add new values for use kind import
- Use decimals for licences with laboratory uses desc [dianaboiangiu]
- Add separate API url for FGAS/ODS [dianaboiangiu]
- Fix representative data parsing [dianaboiangiu]
- Fix representative data parsing [dianaboiangiu]
- Add logging for company changes in synchronization [dianaboiangiu]
- Fix match mail link to company details [dianaboiangiu]
- Allow call bdr for all companies with check passed True [dianaboiangiu]
- Fix call bdr command [dianaboiangiu]
- Upgrade packages to latest version
- Upgrade python from 3.6 to 3.8
- And black and flake8 format [dianaboiangiu]
- Add endpoint for all years licences listing [dianaboiangiu]
- Management of old companyID and new companyID
- Fix error in stocks for FGAS companies [dianaboiangiu]
- Add patch for allowing old GB OR to be used for reporting [dianaboiangiu]
- Fix sync error [dianaboiangiu]
- Fix country history on GB [dianaboiangiu]
- Fix error [dianaboiangiu]
- Fix endpoint in case address contains null values [dianaboiangiu]
- Fix manufacturer restriction [dianaboiangiu]
- Add manufacturer of equipment restriction on fgases [dianaboiangiu]
- Fix pulling one company in sync script [dianaboiangiu]
- Set default value on commands [dianaboiangiu]
- Allow GB to report without representative [dianaboiangiu]
- Change endpoint to show representative history only once [dianaboiangiu]
- Set correct representative folder for UK code [dianaboiangiu]
- Fix GB representative folder [dianaboiangiu]
- Show all years in pau endpoint [dianaboiangiu]
- Fix import/export quantities on licences aggregation [dianaboiangiu]
- Fix substances quantity integer on aggregation [dianaboiangiu]
- Modify aggregation for licences [dianaboiangiu]
- Fix UK repr in FGAS check [dianaboiangiu]
- Add command for creating collection for NI companies [dianaboiangiu]
- Add patching for licences aggregated endpoint [dianaboiangiu]
- Add country history to user companies [dianaboiangiu]
- Split UK into separate entities for ODS
- Split UK into two separate for FGAS
- Rearange migrations [dianaboiangiu]
- Fix display for UK GB companies [dianaboiangiu]
- Add fixes to stocks [dianaboiangiu]
- Add type primary key to stock [dianaboiangiu]
- Fix stocks import [dianaboiangiu]
- Add stocks [dianaboiangiu]
- Fix substance column country name [dianaboiangiu]
- Add substance country name to substance [dianaboiangiu]
- Switch to header token authorization for fetching BDR API data [dianaboiangiu]
- Fix URL to application in email template [dianaboiangiu]
- Fix healthcheck for syncs
- Add certificates path for https in environment [dianaboiangiu]
- Update accepted types for ODS [dianaboiangiu]
- Update accepted types for ODS [dianaboiangiu]
- Fix undertaking remove script [dianaboiangiu]
- Add script command for removing undertakings [dianaboiangiu]
- Remove hash table
- Implement use updated_since for sync with licences [dianaboiangiu]
- Fix sync fgases on missing highLevelUses [dianaboiangiu]
- Fix BDR call for companies collection - missing oldcompany parameter [dianaboiangiu]
- Add check_passed field on Excel export [dianaboiangiu]
- Remove no representative exception for FGAS
- Optimize check passed command
- Fix undertaking domain on licences command [dianaboiangiu]
- Add check_passed field on Excel export [dianaboiangiu]
- Fix undertaking domain match on licences sync [dianaboiangiu]
- Add syncronization and storage for ODS licences
- Add aggregation for those licences into substances
- Add endpoints for exposing those substances, per year delivered [dianaboiangiu]
- Add date_created, date_updated from ecr for undertakings [dianaboiangiu]
- Allow only ODS companies with check_passed = True in the application [dianaboiangiu]
- Keep reporters for non reporting companies [dianaboiangiu]
- Call bdr on check_passed changed [dianaboiangiu]
- Upgraded deprecated packages with security issues [dianaboiangiu]
- Upgraded deprecated packages with security issues
- Docker/README fixes [dianaboiangiu]
- Return normal response for check sync [dianaboiangiu]
- Remove header for check sync [dianaboiangiu]
- Fix naive/aware time on check sync [dianaboiangiu]
- Add endpoint for healthcheck of sync [dianaboiangiu]
- Add check_passed field on Undertaking for checking if the company can report or not
- Add script for filling the new check_passed field [catalinjitea]
- Add timeout to gunicorn [dianaboiangiu]
- Fix typo [dianaboiangiu]
- Patch users even if the company has no reporting obligation [dianaboiangiu]
1.19.0 - (2019-04-11)
- Add back legal representative history [dianaboiangiu]
- Set log execution time default [dianaboiangiu]
- Fix typo [dianaboiangiu]
- Set timezone for logs [dianaboiangiu]
- Remove contact persons if company is rejected [dianaboiangiu]
- Update rejected company if exists [dianaboiangiu]
- Implement pagination for sync
- Accept Revision companies [dianaboiangiu]
- Fix get_country_code Undertaking model [dianaboiangiu]
1.18.14 - (2019-03-13)
- Update bdr collection if representative has changed
- Remove legal representative history for now [dianaboiangiu]
- Add legal representative history [dianaboiangiu]
- Set double checks logging levels to warning [dianaboiangiu]
- Stop accepting companies with status DISABLED [dianaboiangiu]
- Set country_code 'NON-EU' for non-eu companies with no representative [dianaboiangiu]
- Fix NON-EU slug [dianaboiangiu]
- Set separate collection folder for NON-EU companies with no represent [dianaboiangiu]
- Fix FGAS syncronization double checks [dianaboiangiu]
- Fix ODS syncronization double checks [dianaboiangiu]
- Add representative field in user companies endpoint [dianaboiangiu]
- Fix country_code for MANUFACTURERS [dianaboiangiu]
- Fix missing country in match [dianaboiangiu]
- Fix fgases sync obligation check [dianaboiangiu]
- Fix legal representatives checks for FGAS [dianaboiangiu]
- Fix missing FGAS businessprofiles [dianaboiangiu]
- Match companies agains the EORI number [nico4]
- allow empty high level uses for certain undertakings [dianaboiangiu]
- Handle case of empty list of high level uses [arielpontes]
- Add warning message for companies in the businessprofile exceptions [arielpontes]
- Add businessprofile exceptions to reporting [arielpontes]
- Configure matching settings [dianaboiangiu]
- Add date updated in candidate listing endpoint [dianaboiangiu]
- Fix verify none [dianaboiangiu]
- Fixed indentation issue
- Allow NONEU equirement manufactures that have a representative to report [olimpiurob]
- Fix status update
- Remove automatically approve message [catalinjitea]
- Add localsetting for patching companies and users [dianaboiangiu]
- Add verify/none endpoint [dianaboiangiu]
- Fix matching companies domains [dianaboiangiu]
- Equipment manufacturers missing from BDR
- added API method to print a list with all NON EU companies without a legal representative [chiridra refs #80976]
- BDR registry integration of invitations and reminders:
middleware and email sending
- added API method export all users in JSON format [chiridra refs #84119]
- Added support for pulling ODS companies into the cache registry [dianaboiangiu]
- Task: use logspout cu send logs to graylog
- used gunicorn instead of waitress-serve to start app [chiridra refs #80762]
- HG zip codes
- zipcode field increased up to 64 characters
- upgrade revision for alembic generated [chiridra refs #80654]
- Delete organisation matching from the Fgas Cache Registry
- removed all the code related with bdr matching
- removed unnecessary ENV variables
- updated api accordingly
- dropped unneeded tables: old_company and old_company_link
- all synced companies are automatically approved
- added new alembic revision
- removed oldcompany_id field [chiridra refs #78691]
- Initial release [chiridra refs #78691]