Releases: hotosm/osm-fieldwork
Releases · hotosm/osm-fieldwork
v0.5.3
- 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.
- In validateMedia the
Full Changelog: 0.5.2...0.5.3
v0.5.2
- 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
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
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
- 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
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
- Fix error handling in ODK Central submission downloadThread contributed by @Sujanadh
v0.4.2
What's Changed
- Fix return types for OdkCentral submission methods by @spwoodcock in #223
- Remove HTTPBasicAuth, update QRCode generation by @spwoodcock in #225
Full Changelog: 0.4.1...0.4.2
0.4.1
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:
v0.4.0
Tidy up import pinning:
- Use minimum required versions.
- Use
>=
for future compatibility.