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
Tom Russell
522fb8ec09
Verify address name/number/street (and open to editing)
2020-08-04 18:29:50 +01:00
Tom Russell
dc6eb74172
Verify attachment/configuration
2020-08-04 18:20:38 +01:00
Tom Russell
77a916134c
Verify land use group/s
2020-08-04 17:16:57 +01:00
Tom Russell
1b3014471c
Fix build - remove stray try block
2020-08-04 16:04:17 +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
2c9335c1eb
Merge pull request #617 from mz8i/feature/login-username-warn
...
Warn of wrong username on login screen
2020-07-01 01:12:51 +02:00
Maciej Ziarkowski
d913d30c34
Warn of wrong username on login screen
2020-07-01 00:02:53 +01:00
Tom Russell
c18dc837db
Move updateBuilding out of try-catch around authentication
2020-06-25 11:51:40 +01:00
Tom Russell
c4ffdf4db9
Tidy up initial basic leaderboard
2020-04-09 16:52:41 +01:00
Tom Russell
3649f92d4c
Fix compile errors by casting variables pulled from query strings
2020-04-09 15:44:11 +01:00
Tom Russell
97953db742
Merge branch 'master' into develop
2020-04-09 13:26:36 +01:00
Tom Russell
2696820ff5
Merge pull request #586 from colouring-london/feature/568-activate-construction
...
Feature/568 activate construction
2020-04-09 11:28:20 +01:00
Tom Russell
b782f36230
Merge pull request #535 from colouring-london/feature/initial_leaderboard
...
Implementation of basic leaderboard
2020-04-09 10:33:23 +01:00
MeldaS
e503ee4dcc
Modify files for adding construction attributes
2020-04-01 12:18:19 +01: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