Commit Graph

1353 Commits

Author SHA1 Message Date
Maciej Ziarkowski
0bf4edd2c8 Add sustainability and type fields to bulk extract 2019-10-03 06:29:26 +01:00
Tom Russell
860bb0b237 Enable copying dates 2019-10-02 22:35:57 +01:00
Tom Russell
173d5128ef Update multi-edit style
Drop unused code paths which relied on shared
config data structure.

Present simplified key/value data entries

Use category colour in header
2019-10-02 22:33:42 +01:00
Tom Russell
7899588f87 Fix multi-edit shouldn't deselect building
If a user is in multi-edit mode and clicks where there is no building,
this should be a no-op.

Previous behaviour would clear the building and incidentally the
URL query string, losing selected attributes to copy, and triggering
URL-parsing error (caught as of fa785a7).
2019-10-02 22:17:37 +01:00
Tom Russell
fa785a726c Add JSON.parse error-handling when parsing from URL 2019-10-02 22:13:34 +01:00
Tom Russell
72d839ecdc
Merge pull request #454 from tomalrussell/all-contributors/add-mz8i
docs: add mz8i as a contributor
2019-10-02 21:57:02 +01:00
allcontributors[bot]
c486f0d3fa
docs: update .all-contributorsrc 2019-10-02 20:55:57 +00:00
allcontributors[bot]
36e852ae5d
docs: update README.md 2019-10-02 20:55:56 +00:00
Maciej Ziarkowski
40891cd4ce Add Sustainability DEC description to legend 2019-10-02 19:41:53 +01:00
Maciej Ziarkowski
564640d94b Add data accuracy agreement 2019-10-02 19:26:18 +01:00
Maciej Ziarkowski
2eddd8ac3d Amend login/signup format, add email notice 2019-10-02 19:17:25 +01:00
Maciej Ziarkowski
8eb0923098 Move Save button to top of edit view 2019-10-02 19:16:55 +01:00
Maciej Ziarkowski
d408978165 Move download links towards end of header 2019-10-02 19:16:05 +01:00
Maciej Ziarkowski
c1b7cfa644 Amend welcome text 2019-10-02 18:40:42 +01:00
Maciej Ziarkowski
1f5abba409 Add Contact page 2019-10-02 18:38:12 +01:00
mz8i
64dc5bb334
Merge pull request #448 from tomalrussell/fix/minor-text
Fix/minor text
2019-10-02 16:51:40 +01:00
mz8i
4cc7b59027
Merge pull request #447 from tomalrussell/feature/extract_readme
Extract data update
2019-10-02 16:49:15 +01:00
mz8i
13495ab495
Fix/map update (#450)
* Move building deselect logic from map-app to mapp

* Use building_id instead of ref_toid in handleClick
2019-10-02 16:47:45 +01:00
mz8i
14bc6e0d91
Fix/category default values (#451)
* Amend sustainability and type migrations

* Add DROP TYPE to down migrations
2019-10-02 16:47:17 +01:00
Dominic H
9943bdd9a5 Test load to staging
- Copy of main load_csv.py with edit to get round ssh error
2019-10-02 16:35:56 +01:00
mz8i
e7b7e3fe67
Feature/misc ui fixes (#449)
* Re-style category links, remove More button

* Fix colour, order and text of categories

* Increase legend max height
2019-10-02 16:28:11 +01:00
Tom Russell
d6a6bf4fb0 Update privacy policy with password reset emails 2019-10-02 15:28:18 +01:00
Tom Russell
c43651830a Remove 'draft' note from privacy policy 2019-10-02 15:27:55 +01:00
Tom Russell
48fa3fc3ad Remove 'draft' note from contributor agreement 2019-10-02 15:27:21 +01:00
Tom Russell
bc53605f3f Handle inactive/no-building view/edit combinations 2019-10-02 15:15:13 +01:00
Tom Russell
b1941ae358 Drop colouring-may-be-slow message 2019-10-02 15:14:47 +01:00
Tom Russell
91a29affb3 Add text around GItHub link 2019-10-02 15:07:12 +01:00
Tom Russell
fb9952b2a6 Fix typo 2019-10-02 15:06:55 +01:00
Tom Russell
7dc286bdbe Disable Height to eaves (re-enable after db field) 2019-10-02 15:06:10 +01:00
Tom Russell
53f3f230fd Add README for data extracts 2019-10-02 15:04:15 +01:00
Tom Russell
0a86566821 Use Postgres COPY to extract data
- COPY typically runs faster than going via Python
- properly formatted JSON in edit history patches
- assumes postgres and maintenance user both have
  access to /tmp
2019-10-02 15:03:54 +01:00
mz8i
606a36ce6c
Activate type category and colour map (#446) 2019-10-02 14:34:44 +01:00
mz8i
fa089f10e1
Feature/435 activate sustainability (#445)
* Add colour scale definition for sustainability DEC

* Add sustainability DEC data render definition

* Activate sustainability category
2019-10-02 13:32:00 +01:00
Tom Russell
0954f5aa36
Merge pull request #444 from tomalrussell/fix/selectbox
Fix SelectDataEntry
2019-10-02 12:32:37 +01:00
Tom Russell
903208f059
Merge pull request #443 from tomalrussell/fix/like
Fix/like
2019-10-02 12:32:25 +01:00
Tom Russell
2bb0bde3eb
Merge pull request #441 from tomalrussell/fix/etl_load_csv
Fix load_csv script
2019-10-02 12:32:03 +01:00
Tom Russell
34fb8a62c7 Fix propTypes name for onChange in MultiDataEntry 2019-10-02 12:28:35 +01:00
Tom Russell
1043d0e7a9 Fix onChange handler for select data entry
E.g. in Age > Source of Information, allows selecting
data.
2019-10-02 12:28:19 +01:00
Tom Russell
9ba928b5e1 Run onLike when checking/unchecking like building 2019-10-02 12:19:42 +01:00
Tom Russell
b755b99040 Name building_like consistently in Like container 2019-10-02 12:18:22 +01:00
Tom Russell
1612b66062 Pass building_like down to data components 2019-10-02 12:18:02 +01:00
Tom Russell
46ac6c7a40 Fix load_csv script - tested against localhost 2019-10-02 09:43:12 +01:00
Maciej Ziarkowski
01f82ea18e Add EXTRACTS_DIRECTORY to ecosystem template 2019-10-01 17:50:52 +01:00
Maciej Ziarkowski
31454e8299 Delete orig_building_use from 012.type migration
Remove syntax error from migration and remove unneeded column
2019-10-01 17:44:04 +01:00
Maciej Ziarkowski
fb0358e5b1 Merge branch 'develop' 2019-10-01 17:12:55 +01:00
Maciej Ziarkowski
f47e4560d3 Reorder bulk extract migration 012->013 2019-10-01 17:11:35 +01:00
Maciej Ziarkowski
6fcbfc1104 Merge branch 'master' into develop 2019-10-01 17:09:57 +01:00
mz8i
ecc928b910
Use tile scale cache suffix for scale above 1 only (#440)
The tile params formatting is used for caching.
Don't add the @1x suffix for scale 1, in order to
re-use old cache from before retina tiles were enabled
2019-10-01 17:03:08 +01:00
Dominic H
ea150250a3 File naming consistency
Sequential numbering for migrations
- Also removed sustainability-up-extras as original sustainbility file had not been run
2019-10-01 16:30:15 +01:00
Dominic H
de927faf7c Delete 011.sustainability-extra.up.sql
Duplicate file house keeping  remove sustainability-extra
2019-10-01 16:23:58 +01:00