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

Kpi 2.0 #27

Merged
merged 736 commits into from
Jan 27, 2021
Merged

Kpi 2.0 #27

merged 736 commits into from
Jan 27, 2021

Conversation

WinnyTroy
Copy link

@WinnyTroy WinnyTroy commented Sep 17, 2020

Changes Implemented

Rebased ona-custom-changes with remote Kobotoolbox KPI two-databases branch

Partly resolves #26

noliveleger and others added 30 commits September 17, 2020 15:53
and use the KoBoCAT response `text` (a `str`) instead of the `content`,
which is `bytes`
since it's no longer possible for KPI and KoBoCAT to share a database
…when running two-database migration checks
WinnyTroy and others added 6 commits September 17, 2020 16:14
Rename vars from ONA_TITLE to WEB_PAGE_TITLE
Show successful update message when non-survey assets have been successfully updated

Signed-off-by: Mark Ekisa <mark.ekisa@gmail.com>
Signed-off-by: Mark Ekisa <mark.ekisa@gmail.com>
@WinnyTroy WinnyTroy marked this pull request as ready for review September 17, 2020 13:18
@WinnyTroy WinnyTroy mentioned this pull request Sep 17, 2020
13 tasks
@WinnyTroy WinnyTroy force-pushed the kpi_2.0 branch 7 times, most recently from 9943bf2 to 499e4bc Compare September 24, 2020 11:40
WinnyTroy and others added 2 commits October 7, 2020 09:35
* Get authentication model from kobocat db
Use Token object to retrieve Onadata user associated with Token. Fetch username for Onadata User
Get or Create KPI User from Ondata user username and email var

* Grant permissions when creating user object.

* Return tuple with new KPI user and token

* Handle Token.DoesNotExist error

* Return namespace in urls, instead have this present in the permission endpoint
ivermac and others added 3 commits November 10, 2020 10:12
Signed-off-by: Mark Ekisa <mark.ekisa@gmail.com>
* Authenticate user from Onadata db when making requests to import the form url into KPI and also when fetching form information from Onadata.

* code cleanup
@WinnyTroy WinnyTroy requested a review from ivermac January 27, 2021 09:20
Copy link

@ivermac ivermac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Please create an issue for this PR before merging. The issue should have a general description of what this PR is fixing/adding

@WinnyTroy WinnyTroy merged commit f2765af into ona-custom-changes Jan 27, 2021
@WinnyTroy WinnyTroy deleted the kpi_2.0 branch August 13, 2021 12:38
@DavisRayM DavisRayM restored the kpi_2.0 branch October 26, 2022 12:12
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.

9 participants