Skip to main content

Generic CRUD with maps

Project description

MapEntity

MapEntity is a CRUD interface for geospatial entities built with Django, that powers Geotrek.

https://pypip.in/v/mapentity/badge.png https://pypip.in/d/mapentity/badge.png https://travis-ci.org/makinacorpus/django-mapentity.png?branch=develop https://coveralls.io/repos/makinacorpus/django-mapentity/badge.png?branch=develop

See the full documentation.

INSTALL

( under development )

pip install -e git+https://github.com/makinacorpus/django-mapentity.git@develop#egg=django-mapentity

Install GDAL with its development files. For example, on Ubuntu/Debian:

$ sudo apt-get install libgdal-dev

Then install the Python packages:

$ pip install -r requirements.txt
$ python setup.py install

Yes we need to do both because requirements.txt lists dependencies that are not yet on PyPI.

AUTHORS

makinacom

LICENSE

  • BSD New

CHANGELOG

1.8.0 (2014-09-08)

Bug fixes

  • Prevent colors to be cleaned from text fields

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

1.7.3 (2014-08-21)

Bug fixes

  • Fix list of values DOM error, preventing document attributes export and list vertical display

1.7.2 (2014-08-21)

Bug fixes

  • Fix export views when only queryset is specified in view class

1.7.1 (2014-08-21)

Bug fixes

  • Do not save last list in session if JSON or format list

  • Support of menu option in MapEntity register

1.7.0 (2014-08-21)

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 and entity: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

1.6.0 (2014-08-01)

Breaking changes

  • Removed fied_verbose_name and timesince 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)

1.5.1 (2014-06-26)

Minor changes

  • Ordered Log entries by date descending

  • Fix tab “None” being shown in list view

1.5.0 (2014-06-23)

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

1.4.2 (2014-06-19)

  • Fix missing translation of Load local layer

  • Fix empty paragraphs in TinyMCE

  • Fix translations not being packaged

1.4.0 (2014-06-13)

** 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

1.3.2 (2014-06-04)

  • Fixed GDAL installation since UbuntuGIS stable major upgrade (sic)

  • Fixed unicode conversion of title

1.3.1 (2014-05-26)

  • Remove flag FrontEndTest from User-Agent

  • Make sure detailspanel template block can be fully overriden

1.3.0 (2014-05-22)

** 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

1.2.8 (2014-05-19)

  • Pluggable filters

  • Open ODT/DOC/PDF exports in a new tab

1.2.7 (2014-05-16)

  • Fix regression about conversion urls that are not absolute

1.2.6 (2014-05-15)

  • Do not override HOST HTTP header sent to convertit

1.2.5 (2014-05-15)

  • Fix regression on conversion headers

1.2.4 (2014-05-14)

  • Fix perms creation with south migrations

  • Fix register when database is not yet synced

1.2.3 (2014-05-13)

  • Create perms at post_syncdb signal

1.2.2 (2014-05-12)

  • Flush caches before creating permissions

1.2.1 (2014-05-07)

  • Fix internal user not being given permission if inactive

1.2.0 (2014-05-06)

  • Include SVG files in package data

  • Fix original headers not being transmitted to ConvertIt.

1.1.2 (2014-05-06)

  • Fix regression on permissions creation after using exists()

1.1.1 (2014-05-06)

  • Add missing .odt template file in package

1.1.0 (2014-05-06)

** 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 **

1.0.0 (2014-04-26)

** 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

0.1.0 (unreleased)

  • Internal version of Geotrek < 0.23

Project details


Release history Release notifications | RSS feed

This version

1.8.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mapentity-1.8.0.tar.gz (1.2 MB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page