Commit Graph

2275 Commits

Author SHA1 Message Date
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
dominic
b4cbe77ea2
Update 011.sustainability.up.sql 2019-09-27 15:03:20 +01:00
Dominic H
8e6e94e23b Readies #363 for launch 2019-09-27 14:51:41 +01:00
Dominic H
97d47d54ac Readies #363 for launch 2019-09-27 14:47:16 +01:00
dominic
6b52f2c573 Merge branch 'features/migrations_landuse'
of https://github.com/tomalrussell/colouring-london into 
features/migrations_landuse
2019-09-19 07:53:10 +01:00
dominic
16810db016 Stashing changes 2019-09-19 07:50:23 +01:00
Maciej Ziarkowski
9de8113e20 Add web app manifest and icons 2019-09-18 18:43:21 +01:00
Dominic H
68a9fd1b80 WIP for #358
- Switched from ENUM to table 
- Final steps to complete
2019-09-18 15:59:06 +01:00
Maciej Ziarkowski
6f113282ad Add html form validation to sign up form 2019-09-18 15:20:56 +01:00
Maciej Ziarkowski
e2e37d88b8 Set max pass length to 128
OWASP Authentication cheatsheet says 128 is typical max password length
It suggests to not set it too low to let users use complex passwords
2019-09-18 15:17:22 +01:00
Maciej Ziarkowski
8d28d1be66 Reposition legend expand button 2019-09-18 14:52:21 +01:00
Maciej Ziarkowski
33dc30612b Collapse header when clicking on link 2019-09-18 14:33:23 +01:00