python-mapswipe-workers
python-mapswipe-workers copied to clipboard
MapSwipe Back-End
Currently the team settings are not display for footprint projects.
Currently the app displays tasks for the footprint project type in the order they are stored in firebase. The first task in that list, gets displayed on the first screen,...
Tests
This issue serves as overview for test proposals and improvements: - [ ] Test Firebase connection more in depth (`mapswipe_workers/tests/unittests/test_firebase_connection.py`) - Test for specific error raised by firebase_admin module. -...
this will help us to improve the code and make use of typed python
When a projects status is set to `archive` the back end workers should also remove all user contributions for this project. The user contributions are either stored under: * `v2/users/{user_id}/contributions/{project_id}`...
Write a script to set up a bunch of projects for the dev version of the app. Projects: * [ ] "normal" project: build area with bing imagery * [...
We check if the reference path to Firebase is valid in several different functions. This could be factored out into a separate function. E.g. as here: https://github.com/mapswipe/python-mapswipe-workers/blob/13175d3ed4fc9274b87824ba8b2140a17f529fe1/mapswipe_workers/tests/integration/test_team_management.py#L49
so I'm looking at the CD tutorial, and adding the missing bits of code so that it works again. There are some weird "bugs" in the tutorial data on firebase....
for some reason the back end produced an empty geometry for the project `-MA1i92lz4PUAtpLYMXo`: {"group_id": 110}, "geometry": {"type": "Polygon", "coordinates": [[[0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [0.0, 0.0, 0.0], [0.0,...
To make sure backups are working they should be restored regulary. On the current dev server restore is possible by running the docker container `postgres_recovery` as mapswipe_backup user: ``` rm...