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
Maciej Ziarkowski
786389a50b
Fix land use group autofill
2020-03-20 01:05:23 +00:00
Maciej Ziarkowski
f6b71c7fc7
Improve land use group autofill
2020-03-19 18:17:56 +00:00
Maciej Ziarkowski
ff027cb64b
Remove current land use class from frontend
2020-03-19 14:41:44 +00:00
Maciej Ziarkowski
914d7e56d4
Rewrite landuse domain logic without landuse class
2020-03-19 13:45:35 +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
aa43ab7711
Merge branch 'develop' into feature/history-paging
2020-02-02 16:40:17 +00:00
Maciej Ziarkowski
fac4c8b35b
Split errors into api and general
2020-01-31 18:02:24 +00:00
Maciej Ziarkowski
72cc7e62d2
Add param parsing to edit history controller
2020-01-31 15:45:12 +00:00
Maciej Ziarkowski
753c84acb7
Update edit history tests and implementation
2020-01-31 15:39:47 +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