Ed Chalstrey
fff8a1bc92
remove backend verification field change
2022-05-27 14:51:31 +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
Mateusz Konieczny
2e43ee2118
Fix some typos
2021-11-08 09:48:24 +01: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
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
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
Tom Russell
dc6eb74172
Verify attachment/configuration
2020-08-04 18:20:38 +01:00
Tom Russell
b30e882669
Add backend service to GET/POST user verifications, and include verification counts in building data
2020-08-04 15:54:12 +01:00
Maciej Ziarkowski
07cdae8899
Only detect deletions where attribute set to null
...
For fields where an empty value is represented by null,
it is easy to detect deletions. For other fields e.g. arrays,
more complex logic needs to be developed later
2020-07-17 16:27:40 +02:00
Maciej Ziarkowski
63268ebca4
Allow filtering deletions on edit history page
2020-07-17 16:08:44 +02:00
Maciej Ziarkowski
d6beb03065
Verify correct land use group parameters
2020-03-22 19:18:07 +00:00
Maciej Ziarkowski
aebf7c7135
Improve errors and data access for building update
2020-03-22 19:03:05 +00:00
Maciej Ziarkowski
4bda0f0aa6
Add unfinished land use class,group,order impl
2020-03-17 16:29:59 +00:00
Maciej Ziarkowski
af64c4ca58
Merge branch 'develop' into feature/513-activate-land-use
2020-03-08 16:05:55 +00:00
Maciej Ziarkowski
fac4c8b35b
Split errors into api and general
2020-01-31 18:02:24 +00:00
Maciej Ziarkowski
928eed6671
Clarify param parser handling positive integers
2020-01-31 15:35:34 +00:00
Maciej Ziarkowski
297f7ccf5f
Update edit history service tests and implementation
2020-01-30 18:23:59 +00:00
Maciej Ziarkowski
60d087c424
Fix mock edit history data access
2020-01-30 15:27:48 +00:00
Maciej Ziarkowski
2d4682685b
Fix edit history data access queries/usage
2020-01-29 17:24:44 +00:00
Maciej Ziarkowski
e682cfa074
Add edit history data access mock
2020-01-27 01:06:58 +00:00
Maciej Ziarkowski
52ad759c4d
Add edit history data access
2020-01-27 00:57:14 +00:00
Maciej Ziarkowski
d2a1469b72
Separate out land use data access layer
2020-01-14 22:53:22 +00:00