- Nothing changed yet.
- Fix status_changes endpoint polling in 0.4.
- Fix trailing slash in Agency api v0.3
- Change French translation for Event Type Reason
- Fix polling the next hour in the status_changes endpoint.
- Hotfix: we broke 0.4 servers too strict on the MDS spec.
- Restore compatibility with 0.2 and flawed 0.3 providers.
- Add support for polling v0.4 Provider APIs. (0.2 support soon to be removed)
- Index events conforming to the spec per device.
- Translation change in french for Event Type
- Don't create register events on the fly in the poller.
- Add field 'extra' to compliance model
- Move enums to class syntax.
- Dropped obsolete frontend.
- Downgrade MDS server to a test project.
- Squashed migrations into a single initial one.
- Simpler enumeration of policy types.
- Changing the French translation for "Elsewhere".
- Allow field Application.allowed_users_scopes to be blank
- Add field allowed_users_scopes in Application's model to control scopes
- Also clean up the policy factories
- Only expose policy and rule fields known to the specification.
- Nothing changed yet.
- Existing published policies actually keep their geography UID.
- Aggregator field on the Application admin was wrongly required.
- Published policies now embed and serve their own geographies.
- Fix migraitons dependencies
- Add saved_at field on Compliance
- Change item access of Enum POLICY_RULE_TYPES in factories
- Add Geofence to POLICY_RULE_TYPES
- Add Enum POLICY_RULE_TYPES with corresponding translations
- Nothing changed yet.
- Unbound policies are active too.
- Add lag under which compliances were computed.
- Move custom policy fields to config field.
- Adding daily_penalty field on Policy models
- Remove inappropriate default values.
- Improvements for policy and compliance.
- [SMP-1097] Adding Fixed_price on Policy models
- Add the aggregator_for in the application and update Agency API
- [SMP-998] Model and API public for compliance (violation/pricing)
- Added model admins for Policy and Compliance.
- Upsert the event_type_reason when we push through the Agency API.
- Update Agency API ValidationError
- Return device_id for 404 when device doesn't not exist
- First implementation of the draft Policy API.
- Dropped private API not used in django-mds.
- Update Agency to Provider Mapping for service_end events.
- Add back the mapping EVENT_TYPE_TO_DEVICE_STATUS
- Add a migration to revert the migration 0040
- Upgrade API Agency to use event_type and event_type_reason.
- Fix provider API crash when there is no trip_id.
- Fix filtering of provider API events (e.g. there should be no register event)
- Improvements on the EventRecord factory to get more coherent Events
- Empty relase to fix buggy 0.5.36 one
- Allow to skip events in /status_changes endpoint .
- Allow providers polling to be overidden.
- Add polling providers with skip query parameters
- Fix admin crash for event records page
- Fix LADOT poller to poll on recorded when using start_recorded
- Resort to setting saved_at from the Python side.
- Add saved_at column on devices.
- Read-only event records endpoint.
- Forgot to filter operator providers in the endpoint.
- Fix migrating the initial operator value
- Fix new operator field unnecessarily required in serializer
- Reorder migrations to fix deployment.
- Filter providers by operator status in admin
- Lower the level of poller logs.
- New flag (device) "operator" on providers
- Support custom time field on polling
- Added "first_recorded" field for event aggregators.
- Fixes on (multi)polygons.
- Someone didn't fill this changelog...
- Support recorded & start_recorded
- Add Multipolygon support
- Fix compiled locales not shipped in the wheel.
- Remove device_category after deprecation.
- Fix private API optional trailing slash
- Fix migrations by reordering them.
- Deprecating Provider.device_category, will be removed in a future version.
- Added new field colors in provider model and serializer.
- Fix wheel packaging including tests but forgetting compiled locales.
- Push & pull are now labeled as "Agency API" and "Provider API".
- Fix upserting provider non-null fields.
- Fix stupid mistake in provider upsert.
- Make trailing slash optional for private API urls.
- Limit initial provider polling to a customizable number of days.
- Fix regression in the poller extracted from the management command.
- Add an aggregated "provider poll" endpoint (private and MDS 0.3.0 compliant).
- Fix admin on optional fields that were deemed required.
- Refactoring the poller for concurrent runs.
- Multiples fixes for the poller: persistent token and spec deviation robustness.
- Delete creation_date and deletion_date fields on Area and Polygon
- Fix slowness when listing vehicles on django admin
- Save a register event on device create.
- Add token authentication by specifying token in browser url
- Fix compiled translations not embedding in releases
- Events pushed by providers now take precedence over pulled ones.
- Move to an "upsert" pattern to write event pushing
- Embed compiled translations in releases
- Added new functionalities when listing on django admin site
- Fix device name bike -> bicycle for MDS compliancy
- Fix the slowness when retrieving a device via private vehicle API
- Fix with_latest_events query that is taking too much time, used in Agency API
- Fix saving in base with the wrong name for the battery field in device Telemetry
- Change wrong naming of device category, not consistent with MDS specs
- Fix polling when the batch does not contain any valid data.
- Invalid status changes no longer fail the whole polling.
- Work around coordinates swapping at a lower level and validate them.
- Help providers to fix longitude and latitude.
- Create separate RetrieveDeviceSerializer with areas methodField.
- Postponed another incompatible serializer change.
- Postponed RetrieveDeviceSerializer to the next release.
- Gracefully handle absence of status changes in
poll_providers
command. - Fix conversion of datetime objects to MDS timestamps in the APIs.
- Add provider_logo in RetrieveDeviceSerializer.
- Workaround for providers mistakenly swapping longitude and latitude in points.
- Don't fail should a provider send a 3D point.
- Almost rewritten the provider poller with support for MDS 0.3.
- Fix conversion of datetime objects to MDS timestamps in the APIs.
- Also take into account "battery_charged" event type from providers.
- Added indexes to polygon and area models, also added alphabetical ordering for polygon and area lists
- Update agency_api to MDS 0.3.0 specs.
- Move schema utils to their own module to avoid a circular import.
- Fix schema auto-generation for range filters
- Added denormalization of battery percentage in device.
- Rename provider to provider_name, add provider_id in prv_api/devices serializer
- Refactor scopes
- Ignore area creation date by setting it in the past.
- Add device_category field on serializer.
- Prototype of a "battery_ok" event type.
- Add battery in prv_api/devices
- Fix translating provider events to agency events.
- Add Agency authentication field on Provider
- prv_api: Fix filters on vehicle list
- Management command to poll provider status changes.
- Add
device_category
to theProvider
model
- Improve /service_areas endpoint
- Adjust EventRecord model
- Fix /prv/vehicles/ pagination
- Replace GeometryField by self documenting serializer.
- Add oauth2 endpoints.
- Add endpoint to generate long lived tokens.
- Use Python3 Enum for enums.
- Improve serializer for frontend.
- Bugfix: genfixture command now only imports factory when used as package is an extra.
- Adapt API to latest version of LADOT spec
- Split API into /mds and /prv
- Add schema auto-generation
- Store logo for providers.
- Refactoring Device queryset.
- Support JWT auth
- Add Provider Django model
- Add queryset filters on Device ID, type, provider, status and registration date
- Pagination on Device view
- Update Area model.
- Add Polygon Django model
- MDS agency API
- Swagger-style doc
- Area, Device and Telemetry Django models