Skip to content

Releases: hotosm/osm-fieldwork

v0.5.3

05 Mar 16:42
Compare
Choose a tag to compare
  • Fix passing bbox via basemapper CLI.
  • Fix cases where the form name with .strip() causes too many chars to be removed in upload media filenames.
    • In validateMedia the .strip() was replaced with removing a specific number of characters from the XForm media field.

Full Changelog: 0.5.2...0.5.3

v0.5.2

04 Mar 16:37
Compare
Choose a tag to compare
  • Bugfix for OdkForm.uploadMedia, incorrectly populated with dummy data, instead of actual upload media.

Full Changelog: 0.5.1...0.5.2

v0.5.1

29 Feb 12:02
Compare
Choose a tag to compare

What's Changed

  • Rename form_fields --> formFields and handle all http errors by @spwoodcock in #230

NOTE: OdkForm.uploadMedia is not working in this release.

Full Changelog: 0.5.0...0.5.1

v0.5.0

28 Feb 08:29
Compare
Choose a tag to compare

What's Changed

  • Allow passing BytesIO objects for OdkForm config & uploadMedia by @spwoodcock in #229
  • Fixed header usage in OdkCentral.py (merged for all requests).
  • Fix upload media naming for uploadMedia (must be present in XForm, else fails silently).
  • Correctly set draft & published state on OdkForm.

Full Changelog: 0.4.4...0.5.0

0.4.4

26 Feb 23:29
Compare
Choose a tag to compare
  • Update logic for OdkCentral.py to not index xform filename for xformId in URLs, i.e. pass the full xformId to the functions unambiguously.

Full Changelog: 0.4.3...0.4.4

v0.4.3

26 Feb 17:36
Compare
Choose a tag to compare

What's Changed

  • Error handling in downloadThread by @Sujanadh in #227
  • More flexible parsing of xform name in OdkForm.uploadMedia.

Full Changelog: 0.4.2...0.4.3

v0.4.3 Release Candidate 0

13 Feb 12:08
Compare
Choose a tag to compare
Pre-release
  • Fix error handling in ODK Central submission downloadThread contributed by @Sujanadh

v0.4.2

30 Jan 09:31
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.4.1...0.4.2

0.4.1

18 Jan 13:25
Compare
Choose a tag to compare

Release Note - Version 0.4.1

In this release, we have added a new function in ODKCentral program that allows users to retrieve form fields directly from the XForm in the ODK Central.

Changes

Added a new function that returns the form fields from the XForm in the ODK Central.
Users can now easily access and retrieve specific form fields programmatically.

How to Use:

from osm_fieldwork.OdkCentral import OdkForm
form = OdkForm(url, user, pw) 
form_fields = form.form_fields(project_id, form_id)

Example response for this function:

293147369-2e11255c-63e3-4af6-9326-1d224037d28d

v0.4.0

05 Dec 10:11
Compare
Choose a tag to compare

Tidy up import pinning:

  • Use minimum required versions.
  • Use >= for future compatibility.