Commit graph

159 commits

Author SHA1 Message Date
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
Dana Lambert
de0b5abb7b Add zone filter on backend 2021-11-08 11:01:13 +13:00
Dana Lambert
98a679eaf3 Remove projects specifics step from stepper and summary (keeps code) 2021-11-08 11:01:13 +13:00
Dana Lambert
11042b029a Update summary content with habitat and zone data 2021-11-08 11:01:13 +13:00
Dana Lambert
01a3328ec2 Update habitat selector to reset image/zone on habitat change 2021-11-08 11:01:13 +13:00
Dana Lambert
f92bb7290c Create zone segment selection step 2021-11-08 11:01:13 +13:00
Dana Lambert
c79d287384 Add habitat image endpoint, view and serializer 2021-11-08 11:01:13 +13:00
Dana Lambert
29b9051773 Refactor get_zone_pk_mapping method 2021-11-08 10:53:38 +13:00
Dana Lambert
316df45784 Add habitat selection and habitat image selection 2021-11-05 14:18:05 +13:00
Dana Lambert
71b4118b4c Add SiteRepository for habitat/zone related requests 2021-11-05 11:18:53 +13:00
Dana Lambert
42bd5845fa Fix typo in PlantRepository 2021-11-05 11:17:47 +13:00
Dana Lambert
2d20c3b2d2 Fix soil selector default value 2021-11-05 11:17:23 +13:00
Dana Lambert
06e6f4322c Add /habitats endpoint and fix plants zone serializer 2021-11-05 11:16:53 +13:00
Dana Lambert
b5b39a5c18 Alter the habitat image model to use a related name images 2021-11-05 11:13:59 +13:00
Dana Lambert
2f165e4b38 Fix load site data command ingestion logic and update fixtures 2021-11-04 15:00:50 +13:00