All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.3.0 - 2020-12-16
- Add
CoverageArea
model and coverage area foreign key relations inTrafficSignReal
andAdditionalSignReal
- Add a management command to import parking areas as coverage areas from Helsinki City WFS
- Update
Plan
modelplan_number
help_text and changedecision_maker
from ForeignKey to CharField - Assign
device_type
based onlegacy_code
toAdditionalSignContentReal
andAdditionalSignContentPlan
instances - Add
source_name
andsource_id
toAdditionalSignContentReal
andAdditionalSignContentPlan
and update importers accordingly - Improve fields naming in Plan API endpoint to make it more understandable
- Remove
decision_date
anddecision_id
from traffic control plan models - Improve admin map view feature info window to include more fields
- Set
Plan
linked_objects
as read-only - Improve feature info window to include more details and add localization to it
- Add CoverageAreaCategory and CoverageArea to django admin
- Use icon select widget for AdditionalSignContentPlan/Real inlines
- Convert all 2d geometry fields to 3d
- Add traffic control operation models and include operations in admin and REST API
- Add direction indicator to traffic signs
- Add management command to generate traffic sign plan icons
- Add icon, value, unit and size fields to TrafficControlDeviceType model
- Use device type value for traffic sign and signpost value field if not provided
- Add API-root and API-documentation links to Admin UI front page
- Change TrafficSign and Signpost value field from IntegerField to DecimalField
- Extract numeric values from text column when importing blom kartta traffic signs
- Force 3d geometries when importing coverage areas and operational areas from HKI WFS
- Fix the styling of traffic sign icon widget so that the icon and select are in the same row
1.2.0 - 2020-09-29
- Add
source_name
andsource_id
to all TrafficControl models Owner
model and foreign key relation to it for all TrafficControl models- Add management command to import operational areas (contract areas) from Helsinki WFS
- Show traffic sign icon next to
device_type
inTrafficSignPlan
andTrafficSignReal
admin - Add traffic control device types filtering by target model
- Open attachments in new tab in admin
- The
content
attribute ofAdditionalSignPlan
andAdditionalSignReal
models are no longer read only in the API. - Move general information to be the first fieldset in admin views
- Traffic control model admin performance issues caused by multiple foreign key choices
1.1.0 - 2020-09-01
- Permissions based on operational area
traffic_sign_type
property forTrafficControlDeviceType
- Added tests for Katajanokka importer
- Add traffic sign type list filter to
TrafficControlDeviceTypeAdmin
- Allow users to authenticate to the REST API with Token
- Add a layer model and a map view to visualize data on the map
- Add REST API endpoint for
OperationalArea
- Show admin links when clicking features on map view
- Turn map view into a React app with Material UI
- Admin UI usability improvements
- Add
description_fi
field forMountType
- Improved the plan geometry generation
- Application root URL is changed to
/city-infra
- Remove
color
attribute fromTrafficSignPlan
andTrafficSignReal
- Fixed a bug that creating
TrafficControlDeviceType
crashes when target model is specified
1.0.0 - 2020-07-07
First release of the City Infrastructure Platform API.
Provides an API for handling and storing common Traffic Control entities, such as TrafficSigns and RoadMarkings.
- Traffic Control REST API
- Traffic Control models:
TrafficSignPlan
andTrafficSignReal
AdditionalSignPlan
andAdditionalSignReal
TrafficLightPlan
andTrafficLightReal
RoadMarkingPlan
andRoadMarkingReal
SignpostPlan
andSignpostReal
BarrierPlan
andBarrierReal
MountPlan
andMountReal
Plan
- SSO-login with TokenAuthentication