Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add version information to form list #676

Merged
merged 3 commits into from
May 20, 2021

Conversation

JacquelineMorrissette
Copy link
Contributor

@JacquelineMorrissette JacquelineMorrissette commented Mar 4, 2021

  1. [N/A] If you've added code that should be tested, add tests
  2. [N/A] If you've changed APIs, update (or create!) the documentation
  3. Ensure the tests pass
  4. Make sure that your code lints and that you've followed our coding style
  5. Write a description of your work suitable for publishing on our forum
  6. Mention any related issues in this repository (as #ISSUE) and in other repositories (as kobotoolbox/other#ISSUE)

Description

The <version> tag in the formList will now show the version information based on what was sent to KoBoCat from KPI at the time the form was created or updated. What is returned will depend on when the form was last updated. The possible items that can be returned include the UID, the version number and date, or it may return nothing.

To update this field:

  • Login to KPI
  • Go to the form you wish to display the version number and date
  • Edit the form - Note: it is not required to change anything within the form
  • Press save
  • Redeploy the form

Related issues

Fixes #674
Related to kobotoolbox/kpi#3046

@noliveleger
Copy link
Contributor

noliveleger commented Mar 5, 2021

KoBoCAT in Python 2 is frozen. We won't make anymore change to this version. Let's do the work on KoBoCAT 2.0

@noliveleger noliveleger closed this Mar 5, 2021
@JacquelineMorrissette
Copy link
Contributor Author

Reopening so it can be merged into master for the next release
No need to make any changes to the base branch since it is even with master

@JacquelineMorrissette JacquelineMorrissette marked this pull request as ready for review May 19, 2021 16:02
@noliveleger noliveleger changed the title 674 add version information to form list Add version information to form list May 19, 2021
@jnm
Copy link
Member

jnm commented May 20, 2021

For reference, #685 is the KoBoCAT 2.0 PR

@jnm jnm merged commit ed214c2 into master May 20, 2021
@jnm jnm deleted the 674-add-version-information-to-formList branch May 20, 2021 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add version information to formList
3 participants