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

Upgrade KoBoCat to Python3 and Django 2 #602

Closed
11 of 18 tasks
noliveleger opened this issue Mar 18, 2020 · 2 comments
Closed
11 of 18 tasks

Upgrade KoBoCat to Python3 and Django 2 #602

noliveleger opened this issue Mar 18, 2020 · 2 comments
Assignees

Comments

@noliveleger
Copy link
Contributor

noliveleger commented Mar 18, 2020

Step 0 - #677

  • Remove edit/delete/update features from old django view.
  • Remove obsolete django views.
  • Reviewed

Tests pass, current container still runs

Step 1 - #678

  • Upgrade to Python 3
  • Upgrade to Django 1.11
  • Reviewed

Tests do not pass, current container does not run

Step 2 - #679

  • Bulk remove __future__ imports
  • Reviewed

Tests do not pass, current container does not run

Step 3 - #680

  • Bulk remove redundant object inheritance
  • Reviewed

Tests do not pass, current container does not run

Step 4 - #682

  • Upgrade to Django 2.2
  • Reviewed

Tests pass, current container does not run

Step 5 - #681

  • Use new image (same as KPI, Python 3.8&NodeJs 10)
  • Use non-root user to start container
  • Reviewed

Tests pass, new container runs

Step 6 - #683

  • Refactor settings files
  • Use sentry new client
  • Reviewed

Tests pass, new container runs

Closes #397, closes #399

@noliveleger
Copy link
Contributor Author

noliveleger commented Mar 18, 2020

Notes

Since commit 3c0e17d0b6041ae96b06c3ef4d2f78a2d0739cbc, pyxform.survey's name is changed to id_string (instead using filename)
So nodes ref in the generated xml by pyxform look like /{id_string}/a/b.

To be compliant with this behaviour, uuid in xml now uses this pattern too.

XForm clone endpoint has been removed.

public endpoints have been removed:

  • /api/v1/forms/public
  • /api/v1/data/public

@Kalyan-Lama
Copy link

Kalyan-Lama commented Aug 26, 2020

Checked and ensured the following:

Download data

  • Download data (XLS)
  • Download data (CSV)
    While downloading i am seeing {} under _validation_status (please see image below)
    Image 1
  • Download data (ZIP)
  • Download data (KML)

Photos

  • View gallery
  • Download all photos

GPS Points

  • Download GPS points

Additional: from KC UI

  • Forms: It takes you back to the KPI dashboard
  • Question Library: It takes you back to the KPI Library
  • Projects: It lists out all the projects in the KC UI
  • Sign out: It logs you out but you get this message (please see image below)

Image 2

Additional:

(KPI UI that is linked with KC UI)

  • deploying/redeploying projects in the KPI UI deploys/redeploys a project in the KC UI
  • collected data synced with the KoBoToolbox server as seen in the KPI UI is also updated (synced) in the KC UI
  • data when deleted in the KoBoToolbox server as seen in the KPI UI is also updated (synced) in the KC UI
  • deleting project in the KPI UI deletes a project in the KC UI
  • archiving/unarchiving projects in the KPI UI archivs/unarchivs a project in the KC UI
  • sharing projects in the KPI UI makes the username visible in the KC UI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants