Commit Graph

164 Commits

Author SHA1 Message Date
Ed Chalstrey
a01a5673af make is_extension editable 2022-06-06 14:04:00 +01:00
Ed Chalstrey
0cf4660952 add is_extension to dataFields 2022-06-06 14:03:02 +01:00
Ed Chalstrey
0dcad9d36f Revert "restore exception validation logic with proper operator"
This reverts commit 40fbc1d223.
2022-06-06 14:02:11 +01:00
Ed Chalstrey
40fbc1d223 restore exception validation logic with proper operator 2022-06-06 13:32:31 +01:00
Ed Chalstrey
7dae80e73a remove breaking logic 2022-06-06 13:27:33 +01:00
Ed Chalstrey
87e93cd193 update dataFields 2022-06-06 13:16:53 +01:00
Ed Chalstrey
631bcc78aa add exception to validation in right place 2022-06-06 12:04:31 +01:00
Ed Chalstrey
ff283f2ea1 Revert "add exception to validation"
This reverts commit be00d24bfa.
2022-06-06 12:03:54 +01:00
Ed Chalstrey
be00d24bfa add exception to validation 2022-06-06 12:01:20 +01:00
Ed Chalstrey
fff8a1bc92 remove backend verification field change 2022-05-27 14:51:31 +01:00
Ed Chalstrey
14129abb92 allow current_landuse_verified 2022-05-27 14:41:04 +01:00
Ed Chalstrey
31d2df911e Revert "verify planning_live_application"
This reverts commit d1d02b7c73.
2022-05-26 15:04:26 +01:00
Ed Chalstrey
d1d02b7c73 verify planning_live_application 2022-05-26 14:59:03 +01:00
Ed Chalstrey
ee6a7681a2 add verification for date_link 2022-05-26 14:50:04 +01:00
Ed Chalstrey
89932d404b add verification facade_year 2022-05-26 14:45:22 +01:00
Ed Chalstrey
b5804c1f1c Revert "attempt ignoring error"
This reverts commit fb319cd2f1.
2022-05-23 10:45:52 +01:00
Ed Chalstrey
fb319cd2f1 attempt ignoring error 2022-05-23 10:36:37 +01:00
Ed Chalstrey
df9766aebb verify community_public_ownership_sources 2022-05-19 13:14:08 +01:00
Ed Chalstrey
3ba9d0b5ef add verification buttons construction 2022-05-19 13:04:53 +01:00
Ed Chalstrey
7ac1ab66a8 add more verification buttons 2022-05-19 12:58:54 +01:00
Ed Chalstrey
c7ff672e3b add verify button ref_osm_id 2022-05-19 12:56:31 +01:00
Ed Chalstrey
9febf6a21e add veriification current_landuse_link 2022-05-19 11:37:06 +01:00
Ed Chalstrey
bf8800930d verify current_landuse_source 2022-05-19 11:18:17 +01:00
Ed Chalstrey
66c08a0da2 allow verify dates 2022-05-19 10:44:48 +01:00
Ed Chalstrey
a6bd0917fb verify date source 2022-05-19 09:55:58 +01:00
Ed Chalstrey
adb4bfa904 update current_landuse_group before return in removeBuildingUserVerifiedAttribute 2022-05-05 15:29:48 +01:00
Ed Chalstrey
66085bf67e remove rogue quote 2022-05-05 14:11:17 +01:00
Ed Chalstrey
7a0228bed1 un-verify in buildings table too 2022-05-05 13:23:49 +01:00
Ed Chalstrey
63c190c981 set buildings table to current_landuse_group = True when verify clicked 2022-05-05 13:22:05 +01:00
Ed Chalstrey
5d5f4c71df update dataFields with new current use fields 2022-04-29 14:34:11 +01:00
Ed Chalstrey
0220547d53 modify buildings query to ignore demolished 2022-04-22 13:54:21 +01:00
Mateusz Konieczny
6a386ed465 Final resolve of duplication
that is why PR reviews are nice
2022-02-23 09:51:01 +01:00
Mateusz Konieczny
e3a6a3e40a prevent some self-contradictions 2022-02-23 00:44:42 +01:00
Mateusz Konieczny
abc3ea3cc5 Ask about community activities in building
fixes #774
2022-02-23 00:22:22 +01:00
Mateusz Konieczny
2e43ee2118 Fix some typos 2021-11-08 09:48:24 +01:00
Maciej Ziarkowski
22cac99675 Change public ownership sources field to array 2021-10-08 13:19:48 +01:00
Maciej Ziarkowski
75f0044b3b Add community fields about public ownership 2021-09-27 13:47:27 +03:00
Maciej Ziarkowski
522eff2031 Correct API error on unknown field edit 2021-09-24 20:32:05 +03:00
Maciej Ziarkowski
8c8a6a8094 Add user opinion fields to community section 2021-09-24 20:31:03 +03:00
Maciej Ziarkowski
29ed25f36c Replace likes with generic building-user attribs 2021-08-23 02:26:58 +01:00
Maciej Ziarkowski
c1679a0c35 Handle likes database count as integer 2021-08-12 21:11:52 +01:00
Maciej Ziarkowski
2118d6ba7c Add likes_total data definition in API 2021-08-12 21:11:36 +01:00
Maciej Ziarkowski
9722c173d8 Allow non-editable fields to be auto-derived
Some fields shouldn't be editable through the API
but can still be modified, because they are derived
from another field which is editable.
This change fixes a bug where a derived field
wouldn't be updated, because it was not on the
editable fields whitelist.
2021-08-12 01:29:37 +01:00
Maciej Ziarkowski
ac3a9ad45a Update/install explicitly lodash 2021-04-26 23:53:56 +01:00
Maciej Ziarkowski
4aa35b94dd Add logical toggle for demolished buildings 2021-03-18 19:44:16 +00:00
Maciej Ziarkowski
28bad44220 Add simple dynamics API support 2021-03-11 19:15:58 +00:00
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
58bc11be04 Allow for more API data configuration
This puts the data configuration in a dedicated file,
and allows for separately allowing/disallowing editing and verification
for each field, as well as specifying PSQL types to cast to on inserting
2021-03-11 18:33:04 +00:00
Maciej Ziarkowski
79eff831b2 Refactor API building service into multiple files 2021-01-21 02:27:14 +00:00
Maciej Ziarkowski
5001ab7426 Disable location free-text field editing 2021-01-15 18:40:24 +00:00