Commit Graph

705 Commits

Author SHA1 Message Date
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
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
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
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
Maciej Ziarkowski
9de8113e20 Add web app manifest and icons 2019-09-18 18:43:21 +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
Maciej Ziarkowski
3ba8cdd7a4 Merge branch 'feature/mobile-ui' into feature/tile-server-refactor 2019-09-18 12:38:52 +01:00
Maciej Ziarkowski
60ce7eea12 Change overflow from scroll to auto 2019-09-18 12:38:11 +01:00
Dominic H
13fbea77d9 Typo correction closes #413 2019-09-18 11:08:02 +01:00
Tom Russell
4ba7d99737
Merge pull request #403 from tomalrussell/feature/view_edit_refactor
Feature/view edit refactor

Leaves multi-edit and minor issues outstanding - to be resolved on develop branch.
2019-09-17 21:26:33 +01:00
Tom Russell
a022d90e59
Merge branch 'develop' into feature/view_edit_refactor 2019-09-17 21:25:50 +01:00
Maciej Ziarkowski
269e6ba989 Add tileset param validation in tile server 2019-09-17 18:35:05 +01:00
Maciej Ziarkowski
2b1b553a41 Enable highlight colour, retina tiles in frontend 2019-09-17 18:21:51 +01:00
Maciej Ziarkowski
0abff2e5c1 Define example highlight styles 2019-09-17 18:20:23 +01:00
Maciej Ziarkowski
fe3f02bd85 Allow missing base layer query param for highlight 2019-09-17 18:19:21 +01:00
Maciej Ziarkowski
9fd690c1ac Update cache invalidation mechanism 2019-09-17 18:12:18 +01:00
Maciej Ziarkowski
5adb8e6146 Use new renderers in tile server 2019-09-17 18:11:42 +01:00
Maciej Ziarkowski
ef4d46e36b Add asyncController 2019-09-17 18:05:05 +01:00
Maciej Ziarkowski
5995adeb88 Add data and rendering definition 2019-09-17 18:03:20 +01:00
Maciej Ziarkowski
ae0202d6da Add blank, branching renderers 2019-09-17 18:01:48 +01:00
Maciej Ziarkowski
472e91f275 Add cached renderer 2019-09-17 18:01:23 +01:00
Maciej Ziarkowski
70c05071a8 Add windowed renderer 2019-09-17 18:01:09 +01:00
Maciej Ziarkowski
4b0d51dd80 Add stitch renderer 2019-09-17 18:00:49 +01:00
Maciej Ziarkowski
bd467ceb3b Add data source renderer 2019-09-17 17:59:20 +01:00