- Viewpoints are not removed when a city is deleted
- Create a city now correctly capitalize the label
- Change default active status to false for viewpoint
- Fix permissions for theme and city views
- Add categories to theme
- Add theme and city filter
- Fix related file upload
- Fix picture sort
- Add id to viewpiont sort
- Add filter for campaigns
- Add search for pictures
- Add ordering
- Override create model mixin to capitalize cities label (#68)
- Update translations
- Add change state signal for picture and campaign
- Add city to SimpleViewpoint Serializer
- Enhance viewpoint filters
- Add preview views for viewpoint pdf
- Fix all sheets permissions for now
- CampaignZipViewpointPdf: API View to retrieve all the viewpoints pdf of a given campaign
- Add vertical thumbnail
- Normalize case for cities (#62)
- Update translations
- Change picture identifier from integer to string
- Allowing viewpoint to be filter by pictures identifier
- Use constant state
- Add last_picture_date field
- Add picture data
- Add auto close feature
- Add stats
- Add campaign -> picture link
- Add active status to simpleviewpoint serializer
- Enhance campaign viewpoints
- Update readme with release procedure (#55)
- Add more concistency settings naming and documentation
- Add checks for TROPP_OBSERVATORY_ID
- Broken release
- Add active status and endpoint for active viewpoint only
- Add owner_id to picture to be to modify it
- Add business identifier for picture
- Add active status on viewpoint
- Add permissions generation on migrate
- Add translations
- Add permissions and check
- Update installation process
- Enhance command
!! WARNING : BREAKING CHANGES !!
- You need to adapt your project settings and requirements
- Use new django-terra-settings instead of django-terra-utils
- Some terra-utils functions are directly integrated
- Taking out city and themes from JSON properties, making it related objects on each viewpoint instance
- Improving related document serializer, it does not return the file as base64 anymore but only the access url
- Removing signals and doing all the logic in the related viewsets
- Add possibility to make your own url fetcher :
- Add TROPP_URL_FETCHER settings and instructions
- Fix factory boy version
- using django.db.models.JSONField instead of django.contrib.postgres.fields
-
Warning ! Breaking changes
- Due to uniformity of storage usages, you need to use file:// schema in your template to access pictures
- Deprecate defining observatory layer by name.
- Now you need to define layer pk instead -> TROPP_OBSERVATORY_LAYER_PK.
- Existing frontend applications should be fixed by TROPP_OBSERVATORY_LAYER_PK=1
-
fix picture property
-
fix prefetched data as list and not queryset
-
fix restframework not listed in setup requirements
-
Fix storage usage and make it working with weasyprint with default and custom storages
-
add correct dependencies to handle JPG
-
allow argument set layer name at creation
-
dont block if observatory layer pk not defined, to let ability to create it
-
block start without defined correct layer settings
-
add and improve configuration checking
-
add command to create point layer to used as observatory
-
set defined observatory layer by pk and provide info to frontend to avoid expecting hardcoded pk=1 layer for tiles
-
PK and corresponding endpoints are auto added to /api/settings to send dynamic configuration to frontend
-
Storage bucket is not required anymore.
- Fix default settings
- Support django 3.0
- add "as_versatile" filter for template usage
- Compatibility with python 3.8, django 3.0 and DRF 3.11
- Add flake8 for linting
- Fix MEDIA_URL may be empty, breaking url fetcher
- Remove remarks field on Picture
- Fix Manifest to include md files
First standalone release
- Extract from terra-common package to make it a standalone package