Commit Graph

746 Commits

Author SHA1 Message Date
Maciej Ziarkowski
14b79ce891 Simplify tile stitching with sharp
The new method uses the composite() method of sharp
to reduce the number of times a PNG buffer is created.
The number could be further reduced from two to one,
if the issue #1908 from lovell/sharp is resolved so that
composite and resize can be chained without an
intermediate call to .png().toBuffer()
2019-10-07 16:21:36 +01:00
Maciej Ziarkowski
5417b5c8b6 Use functions instead of classes in tile rendering 2019-10-07 13:34:22 +01:00
Maciej Ziarkowski
dd7d66e5fc Add OS map data and UPRN licencing 2019-10-03 14:55:54 +01:00
Maciej Ziarkowski
2a395d5f2e Update Open Graph website description text 2019-10-03 13:24:48 +01:00
Maciej Ziarkowski
d3cc69fda6 Add square logo for social sharing image 2019-10-03 13:19:44 +01:00
Maciej Ziarkowski
0bf4edd2c8 Add sustainability and type fields to bulk extract 2019-10-03 06:29:26 +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
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
mz8i
e10e55fcac
Merge pull request #411 from mz8i/feature/342-bulk-extract
Feature 342: bulk extracts
2019-10-01 16:19:49 +01:00