Tom Russell
4934e0757b
Drop ref_toid from updatable whitelist
2018-10-25 14:02:38 +01:00
Tom Russell
6cc6630196
Enable like button (drop restriction on 1-per-user)
...
[Closes #82 ]
2018-10-25 13:34:54 +01:00
Tom Russell
efd1d10908
Add source detail to whitelist
2018-10-21 20:47:59 +01:00
Tom Russell
1b3fe36e05
Fix GET building by toid/uprn
2018-10-20 14:51:39 +01:00
Tom Russell
f460aaeef6
Allow POST to edit building with ?api_key=...
2018-10-20 12:59:17 +01:00
Tom Russell
2b29d01a21
Relax revision-update check
2018-10-05 21:44:51 +01:00
Tom Russell
d8fb5aeaca
Reject empty changesets
2018-09-30 23:06:42 +01:00
Tom Russell
cf2ffd3cc8
Handle save-building errors
2018-09-30 22:23:13 +01:00
Tom Russell
d0755e61de
Sketch in building-like method
2018-09-30 19:48:42 +01:00
Tom Russell
1b191a1466
Use simpler shallow compare, drop fast-json-patch
2018-09-30 18:58:41 +01:00
Tom Russell
b6ef15949e
Rewrite building to log changes, use database columns
...
- Typically returning all columns from 'buildings', possibly using other
tables to join and filter.
- Using database types and constraints - let the db do validation and
consistency checking!
- Using transaction around updating a building record, adding log entry
- Using JSON patch to record forward and reverse patches (hope this will
give small data size compared to all-columns or before-and-after
strategy)
2018-09-30 16:25:53 +01:00
Tom Russell
3e4beb5423
Query buildings by location or reference
2018-09-29 19:09:48 +01:00
Tom Russell
9fb4fa052a
Handle building not found
2018-09-13 21:12:01 +01:00
Tom Russell
a2e995839e
Handle POST/GET building
2018-09-11 23:30:17 +01:00
Tom Russell
a005643746
Merge frontend/api into universal react app
2018-09-09 22:22:44 +01:00