Commit graph

140 commits

Author SHA1 Message Date
Dana Lambert
ba512c1f5a Update nginx domain for production 2021-12-17 19:10:44 +13:00
Dana Lambert
3913548fb8 Update dev backend environment variables 2021-12-17 19:10:13 +13:00
Dana Lambert
9ff26d1b21 Update sand dune zones 2021-12-17 19:09:59 +13:00
Dana Lambert
2eae995998 Add frontend support for zone tooltips 2021-12-13 11:57:11 +13:00
Dana Lambert
1d54abca6a Add backend support for zone tooltips 2021-12-13 11:56:14 +13:00
Dana Lambert
02b6f51435 Update redirects based on new spec document ElementsNamesDBColumns.xlsx 2021-12-13 11:20:04 +13:00
Dana Lambert
6933019eb8 Redirect http traffic to https 2021-12-13 10:00:07 +13:00
Dana Lambert
490d6fba80 Apply production fixes + docs
- Updates docker-compose database volume name
- Fixes CORS frontend URL issue in django settings
- Adds addtional docs to the production setup
2021-12-10 13:17:37 +13:00
Dana Lambert
23e05ce20e Fix fixture conflicts 2021-12-10 09:10:18 +13:00
Dana Lambert
29417ca4e8 Update maxheight field to be a string 2021-12-08 20:16:45 +00:00
Dana Lambert
ab48059387 Modify load site data to be an zone update script for spreadsheet changes 2021-12-09 07:48:19 +13:00
Dana Lambert
d88ec0d3b1 Updates to SVG mappings 2021-12-09 07:48:19 +13:00
Dana Lambert
75585d07f2 Update zones fixture with spreadsheet name changes 2021-12-09 07:48:19 +13:00
Dana Lambert
405b6dc68c Fix bug where user can proceed without selecting an image varition (when multiple) 2021-12-09 07:48:19 +13:00
Dana Lambert
1b09723463 Fix initial zone selection
- Also fixes useEffect console errors
2021-12-09 07:48:19 +13:00
Dana Lambert
a61f782ac4 Add habitat svgs and fixtures 2021-12-09 07:48:19 +13:00
Dana Lambert
75e834d8ab Add helper svg processing script
- Removes colons from inkcape svg export property names
2021-12-09 07:48:19 +13:00
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