Releases: Ecotrust/landmapper
Version 2.3
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
Closes: Shapefile Exports.
What's Changed
- Property2shp by @pollardld in #138
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 fromproperty_id
toproperty_pk
for the export layer endpoint.landmapper/app/views.py
: Updated theexport_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
andlandmapper/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
What's Changed
- Enable shape file exports of a users property by @pollardld in #137
Full Changelog: v2.0...v2.1
Version 2.0
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
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