Commit graph

123 commits

Author SHA1 Message Date
Dana Lambert
2c2a362b9a Add frontend support for svg zone selection 2021-12-09 07:48:19 +13:00
Dana Lambert
0075e8b303 Add zone endpoint and modify zone/image/habitat serializers 2021-12-09 07:48:19 +13:00
Dana Lambert
c2328646f5 Update zone ingestion and fixtures 2021-12-09 07:47:54 +13:00
Dana Lambert
8575b7e1ab Modify models for new zone selection method 2021-12-09 07:47:54 +13:00
Dana Lambert
36746729ec Update ChristchurchZone model name to ChristchurchRegion 2021-12-08 03:35:11 +00:00
Dana Lambert
3f251e4c68 Add additional region infomation to output documents 2021-12-08 03:35:11 +00:00
Dana Lambert
f25c7bb7df Display additional region information on summary step 2021-12-08 03:35:11 +00:00
Dana Lambert
a22b1dfb38 Create endpoint to retrieve region containment info for chch and auck 2021-12-08 03:35:11 +00:00
Dana Lambert
8f63a917e0 Add Christchurch Zone model and shapefile ingestion 2021-12-08 03:35:11 +00:00
Dana Lambert
77135650cf Add results description 2021-12-01 10:12:55 +13:00
Dana Lambert
958d3af462 Add forest info tooltip 2021-12-01 10:12:55 +13:00
Dana Lambert
a050f0083e Fix development nginx setup
- Expose 3000 for hot reload
- Apply conditional for respository base URL
- Include static files for django admin
2021-12-01 09:39:45 +13:00
Dana Lambert
687a256fff Add certificate config and docs 2021-11-29 10:16:24 +13:00
Dana Lambert
2b1c6cd49f Refactor database name from right_tree to righttree 2021-11-25 20:00:02 +00:00
Dana Lambert
043d89bd04 Refactor how base API url is set on frontend 2021-11-25 20:00:02 +00:00
Dana Lambert
ecc6e9eabe Production config fixes
- Deletes redundant files
- Adds right-tree db env vars to default.env
- Updates port mapping for docker-compose.production.yaml
- Adjusts production methods in dev
2021-11-25 20:00:02 +00:00
Dana Lambert
e99cf44312 Slight refactor of redirect logic code 2021-11-24 21:40:57 +00:00
Dana Lambert
caedec0a16 Add migrations for plant ordering. 2021-11-24 21:40:57 +00:00
Dana Lambert
044f7c78ea Add redirect demo 2021-11-24 21:40:57 +00:00
Dana Lambert
f5629f1def Fix resource generation utils
- Fixes bug where property is not found
- Adds spaces to pdf so NaN is not shown
2021-11-23 14:16:52 +13:00
Dana Lambert
8c88f6ce6e Turn off soil order exclusion filter for Dune System, Coastal Banks & Bush 2021-11-18 14:12:39 +13:00
Dana Lambert
987852affc Update wkhtmltopdf version in Dockerfile 2021-11-18 14:11:43 +13:00
Dana Lambert
04b391ceb7 Connect download pdf endpoint to frontend 2021-11-18 11:43:18 +13:00
Dana Lambert
c63dbeae61 Generate planting guide pdf with appended filters and plant list
- Rename csv_utils to resource_generation_utils
- Rename utils to wms_utils
- Adds basic (no styles) pdf generation methods to resource generation
- Adds pdf download endpoint
2021-11-18 11:43:18 +13:00
Dana Lambert
4ab327c442 Add python pdf manipulation libraries 2021-11-18 11:43:18 +13:00
Dana Lambert
433a72a7a8 Add ordering to plant list 2021-11-18 11:27:16 +13:00
Dana Lambert
26d1f3ea09 Misc fixes
-  add remove orphans to start command
- ignore keys directory
- update default api url config to use /api
2021-11-18 11:21:18 +13:00
Dana Lambert
6c72b457e0 Fix csv property address display 2021-11-16 17:31:05 +13:00
Dana Lambert
65bed425cf Add production envrionmennt 2021-11-16 17:30:40 +13:00
Dana Lambert
627816a3cd Add sample habitat image and zone data
- Renames fixture scripts
2021-11-10 17:34:16 +13:00
Dana Lambert
1dcd42b6bc Add readme instructions for production build 2021-11-10 17:32:22 +13:00
Dana Lambert
2ff2329118 Add docker-compose production with dev command 2021-11-10 17:21:57 +13:00
Dana Lambert
0e377e1746 Add default.env file 2021-11-10 17:20:55 +13:00
Dana Lambert
a99f63898f Update CORS url in django settings to use an env var 2021-11-10 17:20:26 +13:00
Dana Lambert
d65f48a387 Add Dockerfile for frontend 2021-11-10 15:27:16 +13:00
Dana Lambert
b3c576a214 Apply ignore filter rules 2021-11-10 14:15:25 +13:00
Dana Lambert
6540fe640b Add filter ignore information to zone fixtures 2021-11-10 13:11:32 +13:00
Dana Lambert
841da813db Add filter ignore fields to zone model 2021-11-10 13:11:13 +13:00
Dana Lambert
41d61ce3c5 Add forest position data as part of the plant results 2021-11-10 10:33:34 +13:00
Dana Lambert
4745ed578a Fix habitat image dimensions not showing entire image 2021-11-10 10:21:46 +13:00
Dana Lambert
4ee50863d8 Adjust logo size 2021-11-09 15:29:34 +13:00
Dana Lambert
6711719908 Add provided step background images 2021-11-09 15:29:18 +13:00
Dana Lambert
d5d029cd2f Review fixes
- Remove redundant print statements
- Update endpoint for csv download
2021-11-09 15:16:17 +13:00
Dana Lambert
460fcb5c09 Fix console warnings
- remove unused project specifics step
- add dependents to habitat selector useEffect
- change == to === in zone selector
2021-11-08 17:12:06 +13:00
Dana Lambert
e2a627d758 Add Poppins as global font, fixes button centering issue 2021-11-08 17:10:50 +13:00
Dana Lambert
2cacd25c16 Add download button for csv and move plants request to results 2021-11-08 17:10:12 +13:00
Dana Lambert
35aa9cbe70 Create csv download endpoint 2021-11-08 17:00:04 +13:00
Dana Lambert
edd2054763 Create plant display fields on the backend 2021-11-08 15:51:05 +13:00
Dana Lambert
73e7fe88f8 Fix zone filter if no zone is specified in params 2021-11-08 11:01:13 +13:00
Dana Lambert
fe84079885 Add admin autocomplete, search fields and ordering to zone field in ZoneImageSegment 2021-11-08 11:01:13 +13:00