Commit Graph

45 Commits

Author SHA1 Message Date
Maciej Ziarkowski
3726a0b81c Enable jsonb fields with json schema
This adds the ability to verify JSON/JSONB fields using
json-schema, and adds a simple edit history JSON formatting.
2021-03-11 18:40:01 +00:00
Maciej Ziarkowski
edde1fc1c7 Add mapnik XML directory to build output
Enables deploying the whole app by simply copying the build folder
2021-02-15 18:27:31 +00:00
Tom Russell
718c3c762a Update packages, add canvas-confetti for fun 2020-08-04 15:53:05 +01:00
Tom Russell
d1aaf2ccbb Add babel-runtime explicitly to deps
Was failing to build with:

Cannot find module 'babel-runtime/helpers/extends'
Require stack:
- /app/node_modules/react-leaflet-universal/dist/decorator.js
- /app/node_modules/react-leaflet-universal/dist/index.js
- /app/build/server.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:966:15)
    at Function.Module._load (internal/modules/cjs/loader.js:842:27)
    at Module.require (internal/modules/cjs/loader.js:1026:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (/home/tom/projects/colouring-london/colouring-london/app/node_modules/react-leaflet-universal/dist/decorator.js:7:17)
    at Module._compile (internal/modules/cjs/loader.js:1138:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
    at Module.load (internal/modules/cjs/loader.js:986:32)
    at Function.Module._load (internal/modules/cjs/loader.js:879:14)
    at Module.require (internal/modules/cjs/loader.js:1026:19)
2020-06-18 11:39:02 +01:00
Tom Russell
1731969f87 Bump node packages 2020-06-18 11:10:10 +01:00
Tom Russell
ab3f0c4ce2 Move linting to use eslint (drop deprecated tslint) 2020-04-09 14:32:58 +01:00
Tom Russell
fa527f0f95 Bump npm packages 2020-04-09 14:08:18 +01:00
Maciej Ziarkowski
af64c4ca58 Merge branch 'develop' into feature/513-activate-land-use 2020-03-08 16:05:55 +00:00
Maciej Ziarkowski
e3be0a2869 Remove prop types generation, babel from build 2020-01-31 18:34:27 +00:00
Maciej Ziarkowski
de855f08fe Update node to v12.14.1 2020-01-24 15:44:19 +00:00
Maciej Ziarkowski
c07937baee Use npm package for throttle hook 2020-01-09 13:07:50 +00:00
Maciej Ziarkowski
fa31ffc198 Check in frontend for unsaved array edits 2020-01-07 18:14:51 +00:00
Tom Russell
5c1f6c0239 Update npm packages 2019-12-10 11:50:47 +00:00
Maciej Ziarkowski
5170dc7971 Improve land use processing backend 2019-12-03 17:30:51 +00:00
Maciej Ziarkowski
daf36c9750 Add propTypes generation, remove manual propTypes 2019-11-05 20:13:10 +00: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
da4f998fb0
Merge pull request #417 from mz8i/feature/mobile-ui
UI/UX Improvements
2019-09-30 12:23:46 +01:00
Maciej Ziarkowski
6a009873dd Update packages, add types 2019-09-17 17:53:58 +01:00
Maciej Ziarkowski
456514ec51 Upgrade react-router-dom and fix map path 2019-09-10 15:07:27 +01:00
Maciej Ziarkowski
ceec91670d Add types for react-leaflet-universal 2019-09-04 15:05:41 +01:00
dependabot[bot]
ac233dced1
Bump connect-pg-simple from 5.0.0 to 6.0.1 in /app
Bumps [connect-pg-simple](https://github.com/voxpelli/node-connect-pg-simple) from 5.0.0 to 6.0.1.
- [Release notes](https://github.com/voxpelli/node-connect-pg-simple/releases)
- [Changelog](https://github.com/voxpelli/node-connect-pg-simple/blob/master/CHANGELOG.md)
- [Commits](https://github.com/voxpelli/node-connect-pg-simple/compare/v5.0.0...v6.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2019-08-27 09:55:24 +00:00
Maciej Ziarkowski
4259778224 Add email service and config template 2019-08-21 14:42:27 +01:00
Tom Russell
6cfd12e638 Minor updates to npm packages 2019-08-12 21:57:44 +01:00
Maciej Ziarkowski
fb70b2bf64 Configure Jest for TS 2019-08-12 10:24:08 +01:00
Maciej Ziarkowski
4421930942 Squash TypeScript errors and fix bugs
Most errors highglighted by TS were due to a lack of type definitions
and were ignored by settings types to `any`.
Some minor bugs were resolved where the fix was obvious.
TODO marks left where `any` needs to be later removed or bugfix verified
2019-08-09 18:49:43 +01:00
Maciej Ziarkowski
c92c4cded3 Setup TS build (failing), rename files to .ts/.tsx
The TypeScript build currently runs but fails for a number of files.
This commit only contains rename operations on the source files.
2019-08-09 15:44:11 +01:00
Tom Russell
79b43680e1 Bump npm packages 2019-07-07 19:42:49 +01:00
Tom Russell
f34c31a0e8 Add query-string for URL ?a=b parsing 2019-05-27 19:54:14 +01:00
Tom Russell
9b96872922 Lint prop-types, camelCase 2019-05-27 18:26:29 +01:00
Tom Russell
907afa29f0 Lint single quotes 2019-05-27 16:31:48 +01:00
Tom Russell
495663f164 Upgrade npm packages (razzle to 3.0.0) 2019-05-27 16:12:48 +01: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
0249a50d8d Update npm packages 2019-02-23 11:37:53 +00:00
Tom Russell
544f929fcd Drop unused react-transitions 2019-01-22 18:39:14 +00:00
Tom Russell
5067027dd8 Update node packages 2018-11-20 20:24:49 +00:00
Tom Russell
002b6a4a80 Add query-string to package.json 2018-10-04 22:43:28 +01:00
Tom Russell
86e30b1012 Add font-awesome icons 2018-10-01 15:20:45 +01:00
Tom Russell
1b191a1466 Use simpler shallow compare, drop fast-json-patch 2018-09-30 18:58:41 +01:00
Tom Russell
fb43998f86 Add pg-promise and fast-json-patch, npm upgrade/allow minor upgrades 2018-09-30 16:16:26 +01:00
Tom Russell
4c2aecd73d Welcome/sidebar transitions 2018-09-13 22:13:53 +01:00
Tom Russell
6c0c1b51c0 Stricter int parsing 2018-09-13 20:36:14 +01:00
Tom Russell
6a150ba6f9 Parse building id server-side 2018-09-10 23:32:56 +01:00
Tom Russell
4422be4440 Pull tileserver into app 2018-09-10 10:44:32 +01:00
Tom Russell
a005643746 Merge frontend/api into universal react app 2018-09-09 22:22:44 +01:00