Commit Graph

1136 Commits

Author SHA1 Message Date
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
mz8i
e10e55fcac
Merge pull request #411 from mz8i/feature/342-bulk-extract
Feature 342: bulk extracts
2019-10-01 16:19:49 +01:00
dominic
70701526a7
Merge pull request #425 from tomalrussell/features/migrations_sustainability
Typo correction closes #413
2019-10-01 16:19:00 +01:00
dominic
b5e6b41270
Merge pull request #431 from tomalrussell/feature/migrations_type
Feature/migrations type
2019-10-01 16:18:35 +01:00
Maciej Ziarkowski
5f4a939a51 Add downloads link to header 2019-10-01 14:57:23 +01:00
Maciej Ziarkowski
bc4b4af2d6 Convert all columns to timestamptz in migration 2019-10-01 14:57:11 +01:00
Maciej Ziarkowski
6614cdfb4b Handle case of no extracts available 2019-10-01 14:46:28 +01:00
Maciej Ziarkowski
844bedc596 Move data extracts to new folder structure 2019-09-30 16:03:16 +01:00
Maciej Ziarkowski
6783a00e21 Merge branch 'develop' into feature/342-bulk-extract 2019-09-30 15:06:01 +01:00
mz8i
dafd43b64e
Merge pull request #428 from mz8i/feature/414-reorganise-categories
Feature 414: reorganise categories
2019-09-30 14:38:35 +01:00
mz8i
a83a027f14
Merge pull request #423 from mz8i/feature/tile-server-refactor
Tile server refactor, highlight colour, retina tiles
2019-09-30 14:29:21 +01:00
mz8i
0a5c14762e
Merge pull request #424 from mz8i/feature/286-validate-username
Feature 286: validate username
2019-09-30 12:43:36 +01:00
mz8i
8be81b3999
Merge pull request #426 from mz8i/feature/412-semantic-tags
Feature 412: semantic tags
2019-09-30 12:41:34 +01:00
mz8i
da4f998fb0
Merge pull request #417 from mz8i/feature/mobile-ui
UI/UX Improvements
2019-09-30 12:23:46 +01:00
mz8i
37278fd639
Merge pull request #418 from mz8i/feature/415-no-password-log
Prevent logging passwords in failed login attempts
2019-09-30 12:07:46 +01:00
Tom Russell
c055bea38b Add generic CSV upload script (rename load_data to load_shapefile) 2019-09-30 10:39:43 +01:00
Dominic H
f259429041 Ensure this file is on PR 2019-09-27 17:33:37 +01:00
Dominic H
83ce6423d1 WIP for #432
- Also noted agreed standard for file naming extensions to migrations 
file
2019-09-27 16:05:35 +01:00