0.7.0
Added
PRIVATE_JWT_SIGNING_KEYenvironment variable/secret added to FlowAuth, which should be a PEM encoded RSA private key, optionally base64 encoded if supplied as an environment variable.PUBLIC_JWT_SIGNING_KEYenvironment variable/secret added to FlowAPI, which should be a PEM encoded RSA public key, optionally base64 encoded if supplied as an environment variable.- The dev provisioning Ansible playbook now automatically generates an SSH key pair for the
flowkituser. #892 - Added new classes to represent spatial units in FlowMachine.
- Added a
Geographyquery class, to get geography data for a spatial unit. - FlowAPI's 'joined_spatial_aggregate' endpoint now exposes unique location counts.#949
- FlowAPI's 'joined_spatial_aggregate' endpoint now exposes subscriber degree.#969
- Flowdb now contains an auxiliary table to record outcomes of queries that can be run as part of the regular ETL process #988
Changed
- The quick-start script now only pulls the docker images for the services that are actually started up. #898
- FlowAuth and FlowAPI are now linked using an RSA keypair, instead of per-server shared secrets. #89
- Location-related FlowMachine queries now take a
spatial_unitparameter instead oflevel. - The quick-start script now uses the environment variable
GIT_REVISIONto control the version to be deployed. - Create token page permission and spatial aggregation checkboxes are now hidden by default.#834
- The flowetl mounted directories
archive, dump, ingest, quarantinewere replaced with a singlefilesdirectory and files are no longer moved. #946 - FlowDB's postgresql has been updated to 11.4, which addresses several bugs and one major vulnerability.
Fixed
- When creating a new token in FlowAuth, the expiry now always shows the year, seconds till expiry, and timezone. #260
- Distances in
Displacementare now calculated with longitude and latitude the corrcet way around. #913 - The quick-start script now works correctly with branches. #902
- Fixed
location_event_countsfailing to work when specifying a subset of event types #1015 - FlowAPI will now show the correct version in the API spec, flowmachine and flowclient will show the correct versions in the worked examples. #818
Removed
-
Removed
cell_mappings.py,get_columns_for_levelandBadLevelError. -
JWT_SECRET_KEYhas been removed in favour of RSA keys. -
The FlowDB tables
infrastructure.countriesandinfrastructure.operatorshave been removed. #958