Skip to content

Releases: Ecotrust/landmapper

Version 2.3

22 Nov 01:10
f05ee69
Compare
Choose a tag to compare

Commits

Commit f05ee69: Merged pull request #140 from Ecotrust/property2shp.
Commit d2f3758: Use grey for disabled buttons and add login link. Closes issues related to export functionality.
Commit 79f9ad0: Use property name for the zip file name. Closes an issue related to export file naming.

Pull Requests

Refinements for exporting shapefiles: Enhancements to user experience and functionality.

You can view more commits here and more closed pull requests here.

Version 2.2

15 Nov 20:42
cfeff39
Compare
Choose a tag to compare

Closes: Shapefile Exports.

What's Changed

This Release includes various changes to the landmapper project, mainly focusing on CSS updates, JavaScript improvements, template modifications, and the addition of new tests. The most important changes include enhancements to the export layer functionality, CSS updates for better styling, and new tests for exporting shapefiles.

Export Layer Functionality:

  • landmapper/app/js/report.js: Added functionality to disable the export button during the export process and re-enable it afterward to prevent multiple clicks. [1] [2]
  • landmapper/app/urls.py: Changed the URL parameter from property_id to property_pk for the export layer endpoint.
  • landmapper/app/views.py: Updated the export_layer function to use the primary key (property_pk) and added input sanitization for filenames. [1] [2]

CSS Updates:

  • landmapper/app/static/landmapper/css/base.css: Added RGB variables for primary colors and adjusted the margin for horizontal rules. [1] [2]
  • landmapper/app/static/landmapper/css/or.css and landmapper/app/static/landmapper/css/wa.css: Added RGB variables for primary colors for OR and WA themes. [1] [2]
  • landmapper/app/static/landmapper/css/report.css: Added styles for disabled buttons, anchor links, and action buttons. [1] [2] [3] [4]

Template Modifications:

  • landmapper/app/templates/landmapper/report/report-overview.html: Enhanced the export layer button logic and added new sections for downloading and sharing reports. [1] [2]
  • landmapper/app/templates/landmapper/report/report-share.html: Updated the share button to use the new action button styles and added accessibility attributes.

New Tests:

  • landmapper/app/tests/test_exportshp.py: Added comprehensive tests for the export layer functionality, including success, property not found, export error, unauthenticated user, and cleanup scenarios.

Full Changelog: v2.1...v2.2

Version 2.1

09 Nov 01:19
6fdac09
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0...v2.1

Version 2.0

13 May 22:10
Compare
Choose a tag to compare

Creating release v2.0, bc v1.0 is out of date.

Landmapper has no release schedule, and so these release are not a reliable indictor of code stability or usefulness.

To be safe don't rely on these releases for anything. If you want to use Landmapper clone or fork the main branch.

git clone https://github.com/Ecotrust/landmapper.git

initial release

27 Jul 17:44
Compare
Choose a tag to compare

Release using mp stack.
Changes/upgrades to mp stack include:

  • anonymous drawing
  • improved printing
  • increased decoupling from mp-visualize and other dependencies
  • simpler installation process
  • use of material design elements