Commit graph

75 commits

Author SHA1 Message Date
Matthew Northcott
c980479d6c Small fixes and updates 2023-03-29 16:37:39 +13:00
Matthew Northcott
5990144005 Allow Stripe configuration via environment variables 2023-03-28 12:05:03 +13:00
Matthew Northcott
96ba5f1906 Fix export deletion 2023-03-28 12:03:13 +13:00
Matthew Northcott
959c41c21d [#41] Allow users to download the user/planting guide for a payment
- backend changes
2023-03-06 18:10:25 +13:00
Matthew Northcott
1b800ff8ef Bug fixes
- report Export progress correctly
- move Questionnaire ecological district display to admin.py
2023-03-02 12:04:01 +13:00
Matthew Northcott
3f9f816a7e [#40] Bulk PDF export
- backend changes
2023-02-22 15:08:30 +13:00
Matthew Northcott
ff197cc1a8 [#40] Address search backend 2023-02-08 14:48:24 +13:00
Matthew Northcott
c1796c22a6 Fixes and improvements 2023-02-08 14:24:48 +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
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
75585d07f2 Update zones fixture with spreadsheet name changes 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
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
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
687a256fff Add certificate config and docs 2021-11-29 10:16:24 +13: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
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
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
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
a99f63898f Update CORS url in django settings to use an env var 2021-11-10 17:20:26 +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
d5d029cd2f Review fixes
- Remove redundant print statements
- Update endpoint for csv download
2021-11-09 15:16:17 +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
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
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