Releases: mapswipe/python-mapswipe-workers
Releases · mapswipe/python-mapswipe-workers
Refactoring and New Project Types
What's Changed
This refactoring introduces a new structure for project type classes:
- All project type classes inherit from BaseProject
- Classification, Completeness and Change Detection project types inherit from TileMapServiceBaseProject.
- Task and group classes are reduced to dataclasses and are attributes of project type classes. Logic for creating those are defined as functions in project type classes.
- Implement new inheritance and composition structure for all tutorials (tutorials.py)
- Introduces Digitisation (as subclass of arbitrary geometry) and MediaClassification project types. These project types are currently not supported in the MapSwipe app, but will be relevant in the future and on the upcoming web-client.
- Added tests and updated fixtures
HOT export issue fix
Backend workers, MapSwipe website
- Fix filter issue in the export of HOT
*Note: The fix has been deployed. But incase if you see any irregularity in the HOT export, please let us know and we will fix it.
Community Dashboard maintenance
Community Dashboard
- Fix Privacy page's link
- Remove Cookie page's link
- Navigate to MapSwipe website from Community Dashboard by clicking MapSwipe logo in top-left
Bugs fixes: Improvements to Footprint Validation Project
Managers Dashboard
- Add padding on Footprint GeoJSON preview
- Increase max characters for tutorial texts
- Remove note on Footprint tutorial
- Send RGB color instead of names
Improvements to Footprint Validation Project
MapSwipe App
This release introduces the following changes:
- Upgrade React Native to v0.71.3
- Fix an issue where User Group stats was empty on first load
- Add support for custom options in footprint projects
- Add support for dynamic information pages in tutorial
Managers Dashboard
This deployment of Managers Dashboard introduces the following changes:
- Improve tutorial creation
- Add customizable Information Pages and Scenario Pages, along with their mobile previews
- Remove the need to upload a JSON file while creating tutorials
- Change the layout of tutorial creation forms making them match with the order of screens in the MapSwipe app
- Improve Footprint mission
- Add
Options
andSub-options
- Add mobile preview of
Options
andSub-options
- Add
Firebase Function
- Add a check to discard results from old app to new footprint projects
Python Worker
- Store/forward custom options
- Add fallback custom options for existing project
- Update data aggregation for:
- Footprint project (custom options) #854
- New MapSwipe website
MapSwipe Maintenance and Bug fixes
- Pre-calculate total geo are and time max limit for project groups
- Fix footprint time threshold calculation logic
MapSwipe Maintenance and Bug fixes
Update Docs
- Update docs according to new project type
- add option to use
{-y}
parameter in tileserver url
Building Footprint Project Type
- rework building footprint project type creation
- improve building footprint project tutorial
Github Actions, simplify firebase functions and improve python workers performance
Firebase functions
- calculate project progress and project contributorCount in python backend and not with Firebase functions #449
- don't put timestamps in user profile for user contributions
python workers performance
- add logic to generate stats only for recently worked on projects #461
- split backend processing into 3 docker containers for
a) creation of projects and tutorials
b) transfer data between firebase and postgres
c) generate stats and files - for each docker container the time interval can be set for which jobs should be scheduled
- change logic in update_project_data function to avoid downloading all project information from firebase #459
- using threading in queries for firebase in update_project_data and update_user_data functions #459 #462
Project Creation
- tasks are not uploaded to firebase for build_area, completeness and change detection projects #344
Continuous Integration
- use Github Actions instead of Travis