Skip to content

Releases: mapswipe/python-mapswipe-workers

Refactoring and New Project Types

05 Feb 16:28
ae33b71
Compare
Choose a tag to compare

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

01 Sep 05:35
9fcde1b
Compare
Choose a tag to compare

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

09 Aug 10:33
5a95c28
Compare
Choose a tag to compare

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

25 Jul 06:28
e7d3367
Compare
Choose a tag to compare

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

12 Jul 06:07
66b8838
Compare
Choose a tag to compare

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 and Sub-options
    • Add mobile preview of Options and Sub-options

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

26 Jun 10:09
4675071
Compare
Choose a tag to compare
  • Pre-calculate total geo are and time max limit for project groups
  • Fix footprint time threshold calculation logic

MapSwipe Maintenance and Bug fixes

01 Jun 09:10
1959557
Compare
Choose a tag to compare

Managers Dashboard

  • Use a different GeoJSON validator #662
  • Add a namespace for the file name in storage #668
  • Fix delete project not working #657

Community Dashboard

  • Fix the heatmap not moving when the user pans through world copies #655
  • Fix the time-series aggregation issue #669

Update Docs

25 Apr 15:03
128f03b
Compare
Choose a tag to compare
  • Update docs according to new project type
  • add option to use {-y} parameter in tileserver url

Building Footprint Project Type

15 Jan 14:11
712b676
Compare
Choose a tag to compare
  • rework building footprint project type creation
  • improve building footprint project tutorial

Github Actions, simplify firebase functions and improve python workers performance

12 Apr 11:57
1911294
Compare
Choose a tag to compare

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