Commit Graph

26 Commits

Author SHA1 Message Date
Tom Russell
af810a0b85 Location search endpoint 2019-02-05 13:37:44 +00:00
Tom Russell
d3907f7362 Unlike buildings 2019-01-22 17:52:32 +00:00
Tom Russell
efe05d4483 Like once only 2019-01-22 17:34:46 +00:00
Tom Russell
f6ccd51393 Include if current user likes building in view 2019-01-22 17:21:44 +00:00
Tom Russell
4f4d81ce65 GET liked status 2019-01-22 17:02:03 +00:00
Tom Russell
13bc222561 Fix is_building/not found logic 2018-11-30 15:54:11 +00:00
Tom Russell
7b8b4226c9 Show UPRNs in building view
- add /building/id/uprns.json endpoint
- hide children behind details

[Closes #83]
2018-10-25 14:36:52 +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
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
ab2db30bc4 Allow requesting user API key 2018-10-20 12:21:11 +01:00
Tom Russell
8c0452920d Typo contex(t) 2018-10-04 22:44:04 +01:00
Tom Russell
a9b3a394de Only logged-in edits (plus record user with edit) 2018-09-30 22:30:00 +01:00
Tom Russell
cf2ffd3cc8 Handle save-building errors 2018-09-30 22:23:13 +01:00
Tom Russell
e98d589683 Catch-all server-side HTML route errors 2018-09-30 21:53:41 +01:00
Tom Russell
c8b320e48d Module heading comments 2018-09-30 19:50:09 +01:00
Tom Russell
9b5e85a9ff Use pg-promise in express-session 2018-09-30 16:18:57 +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
6c0c1b51c0 Stricter int parsing 2018-09-13 20:36:14 +01:00
Tom Russell
cf7128c66f Import (not require) 2018-09-13 19:54:16 +01:00
Tom Russell
1ea6b0b75b Handle and show login/signup errors 2018-09-13 16:58:05 +01:00
Tom Russell
a2e995839e Handle POST/GET building 2018-09-11 23:30:17 +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