Commit Graph

388 Commits

Author SHA1 Message Date
Tom Russell
831bde542f
Merge pull request #224 from tomalrussell/feature/reduce_log_noise
Feature/reduce log noise
2019-03-18 20:04:24 +00:00
Tom Russell
d523e2b8a2 Fix return value of /building/<id>/like.json
- update to fix log noise meant this was always returning true
2019-03-18 19:51:55 +00:00
Martin-dJ
29f3bff0d5 Revised fix for issue #216 Reduce log noise (my previous attempt was incorrect). Switched to db.oneOrNone 2019-03-14 17:02:26 +00:00
Martin-dJ
c83f2bc0c2 Attempt to fix issue #216-Reduce log noise 2019-03-14 12:32:49 +00:00
Tom Russell
d692db6c19 Sketch in vagrant provision script
Known problem with npm install step: this will likely fail when run
from a Windows host, when npm tries to create symlinks in the synced
folder. Workaround may be to run `vagrant up` from within a shell
with admin rights on the host machine (Windows security policy may
disallow creation of symlinks otherwise).
2019-03-05 10:04:24 +00:00
Tom Russell
5392ad0606 Render empty tiles outside of area of interest 2019-02-24 20:07:22 +00:00
Tom Russell
2d8b62fb84 Lint spacing 2019-02-24 19:28:11 +00:00
Tom Russell
4fc4d314fd Rewrite tileserver to use cache, stitch low-zoom tiles progressively 2019-02-24 19:23:59 +00:00
Tom Russell
65fd7c5f22 Improve cache logging, update ruleset 2019-02-24 19:23:21 +00:00
Tom Russell
a8485643e0 Add xyz method to tile 2019-02-24 19:23:00 +00:00
Tom Russell
669f8ceadb Simplify highlight style (geom only) 2019-02-24 19:22:18 +00:00
Tom Russell
38599cae9f Add sharp for image composite/resize 2019-02-24 19:20:47 +00:00
Tom Russell
77849531a6 Use node-fs package to patch fs.mkdir 2019-02-24 15:30:37 +00:00
Tom Russell
c5ebcd2df8 Sketch in cache 2019-02-24 15:15:52 +00:00
Tom Russell
af46067018 Push image encoding down to tile render, and do async 2019-02-24 13:49:16 +00:00
Tom Russell
228530cb88 Fix class/className in search-box 2019-02-24 13:34:57 +00:00
Tom Russell
de5ba78d3f Better split of responsibilities for tile routing/rendering 2019-02-24 13:34:40 +00:00
Tom Russell
961441c5c0 Move api/tiles modules to subfolders 2019-02-24 12:17:59 +00:00
Tom Russell
8214e56022 Add Travis badge to README 2019-02-23 15:36:49 +00:00
Tom Russell
65d907d177 Use npm ci to match package-lock.json 2019-02-23 15:34:29 +00:00
Tom Russell
fb2390b2cd Try fixing path for Travis 2019-02-23 15:31:48 +00:00
Tom Russell
18ed14f776 Enable Travis CI 2019-02-23 15:27:15 +00:00
Tom Russell
43d71ecf21 Link to who's involved page from README 2019-02-23 15:09:18 +00:00
Tom Russell
6b5d68d21b Order contributors, acknowledge in copyright line 2019-02-23 14:58:00 +00:00
Tom Russell
aa9de619fc
Merge pull request #205 from tomalrussell/all-contributors/add-duncan2001
docs: add duncan2001 as a contributor
2019-02-23 14:49:00 +00:00
allcontributors[bot]
e0d10d2b46 docs: update .all-contributorsrc 2019-02-23 14:48:38 +00:00
allcontributors[bot]
9193cb1fbb docs: update README.md 2019-02-23 14:48:36 +00:00
Tom Russell
6a4fb26d55
Merge pull request #204 from tomalrussell/all-contributors/add-adamdennett
docs: add adamdennett as a contributor
2019-02-23 14:48:06 +00:00
allcontributors[bot]
927db34e9e docs: update .all-contributorsrc 2019-02-23 14:47:17 +00:00
allcontributors[bot]
75e8ea84ad docs: update README.md 2019-02-23 14:47:16 +00:00
Tom Russell
eb4ad0149d
Merge pull request #203 from tomalrussell/all-contributors/add-tomalrussell
docs: add tomalrussell as a contributor
2019-02-23 14:45:24 +00:00
allcontributors[bot]
64785ac61d docs: update .all-contributorsrc 2019-02-23 14:44:59 +00:00
allcontributors[bot]
50c0772fb1 docs: update README.md 2019-02-23 14:44:58 +00:00
Tom Russell
2ba94db329
Merge pull request #202 from tomalrussell/all-contributors/add-polly64
docs: add polly64 as a contributor
2019-02-23 14:40:10 +00:00
allcontributors[bot]
c716ef1998 docs: update .all-contributorsrc 2019-02-23 14:39:14 +00:00
allcontributors[bot]
cc4c678ae5 docs: update README.md 2019-02-23 14:39:13 +00:00
Tom Russell
fc820730fc
Merge pull request #201 from tomalrussell/all-contributors/add-dominijk
docs: add dominijk as a contributor
2019-02-23 14:37:17 +00:00
allcontributors[bot]
29ccc5b853 docs: create .all-contributorsrc 2019-02-23 14:32:16 +00:00
allcontributors[bot]
961f1a75b7 docs: update README.md 2019-02-23 14:32:15 +00:00
Tom Russell
0249a50d8d Update npm packages 2019-02-23 11:37:53 +00:00
Tom Russell
bfe8b6e35e Grant search table permissions 2019-02-11 09:30:22 +00:00
Tom Russell
482ab5060c Set postcode zoom and class 2019-02-11 09:07:26 +00:00
Tom Russell
f05fe3dba5 Add postcode search box 2019-02-11 09:04:19 +00:00
Tom Russell
2a676103ba Top-level docstring for app.js 2019-02-05 21:41:31 +00:00
Tom Russell
47381b959c Lint server.js 2019-02-05 21:41:15 +00:00
Tom Russell
6b07ebc181 Update GIN/GIST index note
With a little explain/analyze testing and both gin and gist indexes,
it looks like using the <-> operator in combination with a low limit
will use the GIST index and work well for basic search-string matching.
2019-02-05 21:15:48 +00:00
Tom Russell
af810a0b85 Location search endpoint 2019-02-05 13:37:44 +00:00
Tom Russell
8724ccd93b Use GIST index on search terms 2019-02-05 13:37:32 +00:00
Tom Russell
731f299a18 Load open postcode data 2019-02-05 13:36:43 +00:00
Tom Russell
b7cbb5d55f Draft search box db table 2019-01-22 22:38:00 +00:00