Breaking changes
- Compatibility with new django-crispy-forms (2.0.0+)
- New explicit dependency to
crispy-bootstrap4
. - You should adapt configuration by adding
crispy_bootstrap4
in your INSTALLED_APPS and check your templates inheritance.
- New explicit dependency to
Improvements
- Due to new crispy forms, there is new login form
- Use HTML
button
tag for create/update forms - Prevent multiple submissions of create/update form
Bug fixes
- Fix storage usage to deals with django >= 4.2.14
Tests
- Fix tests useless warnings
Improvements
- Increase filters popup size, to display full select dropdowns
Features
- Add django 5.0 support
- Drop django 3.2 support
- Add python 3.12 support
Bug fixes
- Fix map in ODT / PDF documents by using absolute path in storage
- Fix converted document name (DOC and PDF)
Tests
- Fix flaky translations in tests
Improvements
- Add a get_columns method to change column list dynamically.
Hotfix
- Fix new internal user cache
Improvements
- Refactor storage usage with default_storage and staticfiles_storage
Tests
- Use temporary media folder for tests
- Make
MapentityTestCase
more consistent
CI
- Parallelize tests in CI
- Fix codecov
Bug fixes
- Form clearing not handling number fields
- Fix weasyprint html public view by converting file:// schemes with http://
- Revert fixing current object order in overlays menu (#292)
Bug fixes
- 'Others' color config to use with leaflet overlay (#290)
Feature
- Add current object in detail leaflet overlay (related to GeotrekCE/Geotrek-admin#1300)
- Fix of the widget
SelectMultipleWithPop
which did not add the newly created element in the related list (#1299) - Add
MAX_CHARACTERS_BY_FIELD
to control the max length of a rich text field. - Deprecate the
MAX_CHARACTERS
parameter
Bug fixes
- Support sub languages (see GeotrekCE/Geotrek-admin#3801)
Bug fixes
- Fix new authentication system
Feature
- Modify TinyMCE configuration to add browser spelling check for textAreas (related to GeotrekCE/Geotrek-admin#1189)
Maintenance
- Support django 4.2 and python 3.11
- Drop django 3.1 support
Documentation
- Ease quickstart for developers
Minor fixes
- Improve authentication mechanism for screamshotter and convertit
Bug fixes
- Fix Control Information error and revert code (#272)
DO NOT USE IT
Bug fixes
- Fix hidden base layer attributions (#271)
Improvments
- Move filter popover close button (related to GeotrekCE/Geotrek-admin#2968)
- Add a scroll bar into filter form
- Add a scroll bar into module list (elated to GeotrekCE/Geotrek-admin#2849)
- Support django 4.2 and python 3.11
Bug fixes
- Fix Attachment duplications
Bug fixes
- Fix default format from API should be datatables when not specified
Dependencies
- Drop python 3.6 support
Bug fixes
- Redirect on Paperclip form error (to include Paperclip error message on object detail page directly)
- Drop django 2.2 support
Bug fixes
- Fix tests derived from MapEntityTest
New Features
- Add blocks for actions buttons for every detail template (after / before other blocks)
- Add duplicate action
Bug fix
- Do not try to generate filters in list views for
GenericRelation
fields andFile
fields - Disable scroll propagation on layers list to avoid zoom changes on map (fix GeotrekCE/Geotrek-admin#2687)
New Features
- Support django 4.1
- Add block in detail template to allow overriding attachments navigation tab
Bug fix
- Fix SVG extra dependancy not needed (See issue /SmileyChris/easy-thumbnails#602)
New Features
- Add setting MAX_CHARACTERS for rich text fields
- Set map resizable
- Drop support for Django 2.2
Maintenance
- Fix lint errors after pycodestyle upgrade
- Add svg extra for easy-thumbnail
Bug fixes
- Refix Page number count on list pagination
Bug fixes
- Fix Log Entry GeoJSON with no geometry
- Fix log entry access by creating mapentity.read_logentry permission
- Hide log entry menu for users without permission.
- Hide "Show full history" from object for users without permission.
- Hide admin menu entry for users without permission.
- Fix message in default in 404 view
- Fix exception recursion in default error 500 view
Improvments
- New GeoJSON generation based on database
Warning
- You need to delete cache after this release upgrade.
Maintenance
- django-geojson is not required anymore
Bug fixes
- Fix download buttons on lists.
Breaking Changes
- MapentityJSONList is now generated in MapentityViewset. You should update your code to replace JSONList views with MapentityViewset views.
- Base filters have changed. to care of new design.
- MapEntityJSONList is now deprecated
New Features
- Server-side list pagination
- Configure which fields should be order-ableand searchable
Maintenance
- Update datatables to 1.11.5
New
- Support django 4.0
- Support python 3.10
Minor changes
- Reduce test execution time
New feature
- Add blocks after attachments detail views
New feature
- Use js for url with tab parameters
- Add blocks detail views (attachments and properties)
Breaking changes
- New django-tinymce 3+. You should update your project settings if you customize this (and dependencies). https://django-tinymce.readthedocs.io/en/latest/installation.html#configuration
Bug fixes
- Set default config for crispy form and messages tags to match with included bootstrap4
- Fix shapefile generation for GeometryCollection layers
Bug fixes
- Fix a template break in DEBUG False mode
Bug fixes
- Fix django dynamic formset multiple deletion elo80ka/django-dynamic-formset#180 (comment)
New feature
- Allow to choose regex which find attachments
Bug fixes
- Update JQuery formsets to fix item deletion
New feature
- Use map styles to configure colors in lists and detail views
Bug fixes
- Use a specific django-leaflet release instead of git+https to allow installation from pypi
New features
- Support django 2.2 to 3.2
- Support python 3.6 to 3.9
- Bootstrap 4
- Disable form field with settings
- Choose export columns from settings
Bug fixes
- Save sorted column by model rather than Django app
New features
- Add support of Django 2.0
Bug fixes
- Fix nav pills to choose language in forms
Minor changes
- Remove dependency on mock
Bug fixes
- Fix image size in ODT templates
Bug fixes
- Remove useless dependency django-shapes
- Fix autologin
- Fix XML attributes in ODT templates
- Fix logo and map size on ODT template
Bug fixes
- Fix dependency to appy (use Python 3 version)
Breaking changes
- Upgrade dependencies
New features
- Create new permission Update geom
- Drop support to Django 1.9 and 1.10 versions
- upgrade libraries
Performances
- Allow client side caching with systematic revalidation for Layer and JsonList views
- Remove validation of history bar
- Don't bringToFront() every single feature on map
Minor changes
- Change serve_attachments get all attachments using generic foreign key
- Load local file in list views
- Geojson float precision settings.
- Can use function style in leaflet
- Save column sort by module
Bug fixes
- Fix sort list
- Fix filters after get context
- Fix multi select filters
- Fix BadStatusLine exception
- Fix croped attachments
- Make sure that locateOnLine() tolerance is sufficient to pass Geotrek tests
- Fix points on narrow angles sublines (Leaflet.GeometryUtil)
- Fix tests csv : stringio and encode
- Fix permission paperclip (version 2.2.1)
- Snap better on lines splitted.
- Fix HTTP headers forwarded to convertit
- Fix test permission geom
- Fix crash in log entries view
- Fix makemigrations (disabling of modeltranslation)
Breaking changes
- Move to python 3
Bug fixes
- Fix/upgrade all requirements
Bug fixes
- Fix django version in setup.py
Bug fixes
- Fix (django-)weasyprint versions in setup.py
Minor changes
- Make MapEntityTest more extensible
Bug fixes
- Fix logo path/url
- Fix test_project settings
- Make sure mapentity settings are loaded before leaflet ones
New features
- Add weasyprint HTML markup view
New features
- add support of Django 1.11 (Django 1.9 and 1.10 are still supported)
Minor changes
- fix errors logged during tests
- create a map image (with an error message) when geom is null
- add a default logo-header.png
- use file transport instead of http one in weasyprint template
Bug fixes
- Fix registering of Mapentity based models when migrations are not done
Bug fixes
- Fix select multiple reset
New features
- add support of Django 1.10
- add an install.sh script
New features
- upgrade to django 1.9
Breaking changes
- replace
from mapentity import registry
byfrom mapentity.registry import registry
New features
- allow to specify print context on models for map captures
Bug fixes
- add missing support for polygon in shapefile exports
Bug fixes
- constant size numbers for POI enumeration
- change nav icons size depending on page height instead of width
- draw circle geometries if radius property exists
New features
- Serialize polygons to GPX
Bug fixes
- Fix POI enumeration if > 26 * 26
Bug fixes
- Fix UnicodeDecode Error
Bug fixes
- Fix GenericRelation
Bug fixes
- Fix AutoLogin middleware with django 1.8
Internal changes
- Prepare code to compatibility python2 / python3
- Use GenericRelation for Paperclip, to permit prefetch_related on them
- Upgrade requirements
New features
- new django-paperclip version, with external picture URLs
Bug fixes
- fix distribution version
Bug fixes
- GPX linestring export in track format, instead of route
Breaking change
- Require Django 1.8
- Upgrade several dependencies with some API changes
Bug fixes
- Remove initial migration
Bug fixes
- fix context size
Bug fixes
- Fix install
- Add initial migration
Bug fixes
- Fix map fitBounds() when size is constrained
Bug fixes
- Fix latlngbounds template tag for GEOSGemetries objects
Bug fixes
- Fix timezone bug in cache invalidation for map screenshots
Bug fixes
- Forgot to package leaflet plugins
New features
- Adjust size of map captures to entirely fill it with the geometry
Bug fixes
- Hide None in template if creator is not known
Bug fixes
- Set language to capture map images
New features
- Allow to override the css selector to wait to capture map image
Bug fixes
- Rework CSS to prevent overlaping controls in list view
Breaking changes
- Use translated verbose_name fields instead of column/property names in shapefiles export
Bug fixes
- Upgrade gpxpy (fix elevation 0 in GPX exports)
Bug fixes
- Readd missing dependencies
New features
- Add possibility to add custom menu entries
Bug fixes
- Don't crash when logging anonymous actions
Bug fixes
- Fix insertion of images with WeasyPrint
New features
- Use WeasyPrint PDF export system
New features
- Hide models in navbar when not allowed to read them
New features
- Auto cleanup of HTML markup when pasting into TinyMCE
New features
- Configurable Django Rest Framework API URL
Breaking changes
- Remove trailing slash from API URLs (/api/models.json instead of /api/models/)
Bug fixes
- Fix LastModifiedMixin to handle all dispatch() parameters
New features
- Allow to add links to Youtube or Soundcloud media as attachment
Bug fixes
- Workaround a bug in django test framework
Bug fixes
- Allow to delete a field in TranslatedModelForm.init()
New features
- Allow to disable html attributes in MapEntityDocument context
Bug fixes
- Fix formating of float and boolean values in CSV/Shapefile exports
Bug fixes
- Fix MapEntityLiveTest (mock screamshot)
New features
- Allow anonymous users to access map image attached to public objects
- Allow to configure X-Accel-Redirect/X-Sendfile HTTP header
New features
- Allow to specify headers to convertit_download() helper
Bug fixes
- Fix logging in management commands
New features
- Check read permission of related model when serving media (attachment, map)
- Allow anonymous users to access media attached to public objects
Bug fixes
- Allow serving media other than attachments if not having read_attachment perm
Bug fixes
- Fix tests derived from MapEntityTest
New features
- Add geojson with full properties support to REST API
Bug fixes
- Fix geojson caching that returns sometime "None" instead of valid json
Packaging fixes
- Fix missing ressources files in pypi release
Bug fixes
- Pick up the ViewSet only if its model matches
Bug fixes
- Fix zoom level for map captures (fixes #108)
- Don't try (and fail) to prepare map images when geom is absent
Internal changes
- Upgrade paperclip to 0.2.3
Bug fixes
- Fix TinyMCE config to keep colors
- Fix apparence of add buttons with popup
Bug fixes
- Fixes crash when a change on proxy model is stored (fixes #104)
- Prevent email to be sent twice on conversion error. Use info instead.
Breaking changes
- Got rid of Year filters.
Bug fixes
- Fix list filter restore (see GeotrekCE/Geotrek-admin#1236)
- Fix overlay layers being lost in grouped layers control
New features
- Ability to edit attachments directly in detail pages
Bug fixes
- Clearer action message in object history table
- Remove top messages only (fixes
a Geotrek bug <https://github.com/makinacorpus/Geotrek/issues/1225>
_)
Internal changes
- Upgraded Chosen from 0.9.12 to 1.2.0 (used in comboxboxes and multiselect forms fields)
Bug fixes
- Fix forms not passing extra fields (backport from PNR PACA hotfix in Geotrek 0.27)
Bug fixes
- Fix enumeration when no item in layer
- Fix highlight in list when geometries are multi-part
Bug fixes
- Do not crash when getting object creator with an inconsistent history
- Create tabs for translatable fields when crispy form layout is not specified
- Apply styles for translatable fields when there are not in a tab
- Fix save of form field falsy value
- Fix test_no_html_in_csv test with non-ascii field verbose names
Bug fixes
- Prevent error if only queryset is used for
LastModifiedMixin
Bug fixes
- Prevent colors to be cleaned from text fields
- Limit fit zoom on small objects (fixes #91).
Introduced new setting
MAP_FIT_MAX_ZOOM
, default to 18. - Add setting to control
date_update
field name (fixes #11)
Bug fixes
- Safety check for showing layer enumeration if layer has no item
New features
- Added Django Rest Framework REST views. Activated by default on every registered models
** Internal changes **
- Moved versions of dependencies from setup to
requirements.txt
- Refactor of URLs initialization
Bug fixes
- Fix list of values DOM error, preventing document attributes export and list vertical display
Bug fixes
- Fix export views when only queryset is specified in view class
Bug fixes
- Do not save last list in session if JSON or format list
- Support of
menu
option in MapEntity register
Breaking changes
registry.register()
takes a class instead of keyword-args for options
New features
- Ability to configure apparence of objets in print exports (fixes #86)
- GeoJSON layers can now be filtered as other list views
- New template tag to show a list of record as a table
- New events
entity:mouseout
andentity:mouseover
emitted when objects are hovered on maps and in detail pages - Interaction between maps and detail tables or lists of values
** Internal changes **
- Refactor of class inheritance for lists views
Breaking changes
-
Removed
fied_verbose_name
andtimesince
template tag librairies -
Now all grouped inside
mapentity_tags
-
Added parameters to view_cache_response_content decorator
-
Limit height of layer switcher on small screens
-
Get rid of next parameter when redirecting to login when permission missing
-
Removed history links for proxied models
-
Fix permission code name when model is proxied
-
Fix apparence of main menu when permissions are missing to view logbook and admin
-
Fix status code of ConvertIt being lost in Convert views
-
Display messages in login page too (useful for redirections)
-
Support edition of several fields on the same map, via django-leaflet new feature (fixes #53)
-
Show objects numbering on print detail maps (fixes #35)
Minor changes
- Ordered Log entries by date descending
- Fix tab "None" being shown in list view
New features
- Show small colored symbols for objects in layer switcher
Bug fixes
- Fix empty paragraphs in TinyMCE
- Fix missing translation of Load local layer
- Fix apparence of attachment form
- Adjust vertical alignment of checkboxes in layer switcher
- Fix object layer not being shown by default
- Fix multiple occurences of same author in detail view
- Fix missing translation of Load local layer
- Fix empty paragraphs in TinyMCE
- Fix translations not being packaged
** New features **
- Show object type in Document export (fixes #36)
- Nicer margins for translated pills form fields
- Close filters popup when clicking outside
- Show object type in document export (fixes #36)
- Better apparence of filters popup close button
- Command to update all map images
- Nicer layer switcher, with groups of layers (fixes #61)
** Bug fixes **
- Fix first value not coming from label for YearFilter
- Fix download buttons from list view
- Fix measure control appearing twice in forms
- Fix permission check on attachments
** Internal changes **
- Allow to override GPX serialization
- Prevent to use a cycle request/response to extract HTML attributes
- Allow to control scrollable aspect of left panel when subclassing
- Add test for never cache decorator of geojson views
- Split cache keys instead of splitting cached values
- Prevent to use a cycle request/response on HTML extraction for document
- Fix behaviour of flag
FrontEndTest
in User-Agent
- Fixed GDAL installation since UbuntuGIS stable major upgrade (sic)
- Fixed unicode conversion of title
- Remove flag
FrontEndTest
from User-Agent - Make sure
detailspanel
template block can be fully overriden
** New features **
- Add fullscreen button on maps
- Add all controls on detail map
- Add buttons to create records from anypage from within the drop down menu.
- Add a button to close filters
** Bug fixes **
- Drop down menu not disabled in list view
- Fix generic document view not being usable with querysets
** Internal changes **
- Split MapEntity init module
- Added a command to update MapEntity models permissions
- Pluggable filters
- Open ODT/DOC/PDF exports in a new tab
- Fix regression about conversion urls that are not absolute
- Do not override HOST HTTP header sent to convertit
- Fix regression on conversion headers
- Fix perms creation with south migrations
- Fix register when database is not yet synced
- Create perms at post_syncdb signal
- Flush caches before creating permissions
- Fix internal user not being given permission if inactive
- Include SVG files in package data
- Fix original headers not being transmitted to ConvertIt.
- Fix regression on permissions creation after using exists()
- Add missing .odt template file in package
** New features **
- Show number of attached files in tab (fixes #39)
- Define missing classes dynamically during register (fixes #17)
- Add a setting to serve media as attachment (default: True) (fixes #37)
** Bug fixes **
- Force browser's cache revalidation of geojson data (fixes #38)
- Fix action history (no link to deleted objects)
- Fix map views JS event attributes
** Breaking changes **
- No more
Meta
inMapEntityForm
(seecommit notes <https://github.com/makinacorpus/django-mapentity/commit/3362bfd834e3b538f1377e63f7935fb3128a63d1>
_)
** New features **
- Track objects creations, changes and deletions
- Rely on Django permissions to control access to detail, list and exports
- Got rid of inline JavaScript blocks, now rely on stupid-simple events
** Internal changes **
- Make API_SRID a constant hardcoded to 4326
- Make SRID an app setting so must appears in
MAPENTITY_CONFIG
in your project's settings
- Internal version of Geotrek < 0.23