by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
Divya Sodha
@Divya-Sodha
userIssueChecklist.PNG
userIssueCheckList2.PNG
Arjun Khandelwal
@arjunk

hi Divya, yes this is a bug already logged in the product. avniproject/avni-webapp#432. We are yet to prioritise it.

Do you have a real usecase where this is required? Is there a separate group of users who are supposed to look after vaccinations?
Also curious why did you model Vaccination as a separate program? Will a specific set of children be enrolled into this program?

Divya Sodha
@Divya-Sodha

Hi Arjun, actually we have "Child Health and Nutrition" and "Child Development" programs for children. And in case, we have to note down vaccination data without enrolling in these program, we have created a separate program for Vaccination.

Now, regarding bug, what my understanding is that admin has overall permissions from generating forms, creating users, monitoring data from web dashboards, etc. And in case of Setco, data entry part is done by Health Workers, who shouldn't get all this permissions. Now, I am a bit confused at what is the difference between "All Privileges" button activation and separately providing permissions to a group. Since, this is a new feature, Avni might be handling this before as well. So, it would be good if you guide us on that and please correct me wherever I am going wrong.

Also, we need to provide special access for Pahel program to CDA users, which is part of Child Module. They shouldn't get access for other programs. So, that's where I started trying all this.
Arjun Khandelwal
@arjunk

Everyone group - a group where everyone is part of (no user can be removed from this group)
All permissions - no restrictions (this is specifically related to data entry app and not admin app. we don't yet have permission framework for admin related part)
If all permissions is given to everyone group it means effectively access control feature is not getting used. most implementation currently go with this option.

If a permissions are required that "All permission" is removed from "Everyone" group, specific groups are to be created giving specific permissions.

Divya Sodha
@Divya-Sodha
Thanks for the information Arjun. I will also go through the documentation once again. We can discuss this in the call if required.
Arjun Khandelwal
@arjunk

hi Divya, yes this is a bug already logged in the product. avniproject/avni-webapp#432. We are yet to prioritise it.

Do you have a real usecase where this is required? Is there a separate group of users who are supposed to look after vaccinations?
Also curious why did you model Vaccination as a separate program? Will a specific set of children be enrolled into this program?

@Divya-Sodha this is fixed now.

Divya Sodha
@Divya-Sodha

hi Divya, yes this is a bug already logged in the product. avniproject/avni-webapp#432. We are yet to prioritise it.

Do you have a real usecase where this is required? Is there a separate group of users who are supposed to look after vaccinations?
Also curious why did you model Vaccination as a separate program? Will a specific set of children be enrolled into this program?

@Divya-Sodha this is fixed now.

@arjunk Yes. Thanks Arjun. That works. One more thing though. Actually, while giving permissions, I don't get any options for access control of the "Vaccination" Program. For other programs it's there. Is it possible to do something on this?

Shubhangi
@ashubhu123
Hi all.... I want to download or view the image captured during data collection.
how can I do that? Also when I try to view the image using the link provided in the report ... I get this error(image below)...... How to resolve this...please let ne know... Thank You
Screenshot from 2020-07-09 13-46-30.png
vindeolal
@vindeolal

how can I do that? Also when I try to view the image using the link provided in the report ... I get this error(image below)...... How to resolve this...please let ne know... Thank You

Hi, can you try now. You should be able to see the images now.

Shubhangi
@ashubhu123
@vindeolal ....Thank You .... Yes its working now....
Shubhangi
@ashubhu123
@arjunk .... I am unable to access 'https://app.avniproject.org/#/'
can you please check...
Arjun Khandelwal
@arjunk
hi, we are doing some maintenance because of the issue you were facing
Shubhangi
@ashubhu123
@arjunk ....ok... Thank you...
Arjun Khandelwal
@arjunk
our suspicion is the issue was mainly because lot of data was modified from the backend recently when Amar updated the encounters. we are vaccuming the database. should get done in a few more mins.
will update here when system is back up.
Arjun Khandelwal
@arjunk
its back up now
Shubhangi
@ashubhu123
@arjunk .... Yes...Thank you.
Shubhangi
@ashubhu123
@arjunk ...... I am trying to connect to the avni api but unable to get the token. can you please share some sample code to get the token to authenticate my user..... Thank You
vindeolal
@vindeolal

@arjunk ...... I am trying to connect to the avni api but unable to get the token. can you please share some sample code to get the token to authenticate my user..... Thank You

You can clone openchs-client repo run make deps to install dependencies and then run make get-token-prod username=yourUsername password=yourpassword Or you can use this script https://github.com/avniproject/openchs-idi/blob/master/token.js and pass serverURL, username and password.

Arjun Khandelwal
@arjunk
@amarkamthe you have been using Avni API for quite some time. how have you been doing it?
Shubhangi
@ashubhu123
@vindeolal , @petmongrels ..... Thank you for the information.
Shubhangi
@ashubhu123
Hi.... There is some problem with photo upload.... some of the photos are failing to upload while trying to sync..... Also in report and data entry app... only the photo id is available... no link to photo.... How to confirm if the photos are uploaded on server or not ?
Screenshot from 2020-07-10 15-02-22.png
Divya Sodha
@Divya-Sodha
Hello, We need to know about jasper for reporting stuff. We got to know that Avni has started working on jasper from some time. Could anyone help us on that if possible like what to use - server, studio or only libraries and do we need any setup, kind of. Just want to know how Avni uses it.
Arjun Khandelwal
@arjunk
yes, will dm you the details.
Divya Sodha
@Divya-Sodha
Okay.. Thanks..!
Amar
@amarkamthe

https://avni.readme.io/docs/api-guide#authentication

Using the link https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/cognito-idp.html#CognitoIdentityProvider.Client.initiate_auth from the above document. I have passed the parameters like
ClientId = "1d6rgvitjsfoonlkbm07uivgmg",
UserPoolId="ap-south-1_DU27AHJvZ",
AuthFlow="USER_PASSWORD_AUTH"
AuthParameters has the username and password of the shelter avni production
After passing these parameters to initiate_auth i am getting the error "NoCredentialsError: Unable to locate credentials". It seems I need to send the Auth_secret? Where can I find this?

vindeolal
@vindeolal
New update 3.7.10 of the Avni app is available on Playstore.
Vivek Singh
@petmongrels
Documentation of tables which one may need to understand to write reports has been done. This is the starting point - https://avni.readme.io/docs/database-guide
The schema documentation is available here - https://dbdocs.io/avni-project/main-database
Divya Sodha
@Divya-Sodha
Hello, is there any work going on staging website or on Metabase?
Hiren Thacker
@hithacker
Why ?
Divya Sodha
@Divya-Sodha
Actually display on staging website is a bit different and is slow.
Hiren Thacker
@hithacker
What are you using staging website for ? I thought you folks moved to app.avniproject.org ?
Divya Sodha
@Divya-Sodha
Also Metabase is also not working as quick as it used to.
We are working on staging as we had got to know that production is still having issues.
Hiren Thacker
@hithacker
Staging db seems slow. Checking that.
Divya Sodha
@Divya-Sodha
Okay. Thanks..!
vindeolal
@vindeolal
@Divya-Sodha
There are some Metabase queries by setco-trial user that is slowing down the staging DB. Can you please check these queries, one problem that we found is query has lots of cross joins,
join concept c1 on true
join concept c2 on true
join concept c3 on true
join concept c4 on true
JOIN jsonb_each_text(e.observations) d ON true
Divya Sodha
@Divya-Sodha
Okay.. Will do that.
Hiren Thacker
@hithacker
Staging website UI is quite broken right now. I am working on fixing it. It was caused by some version upgrades we did of material-ui related npm packages we were using.
Hiren Thacker
@hithacker

Staging website UI is quite broken right now. I am working on fixing it. It was caused by some version upgrades we did of material-ui related npm packages we were using.

Fixed

Arjun Khandelwal
@arjunk
forward or backward?
Hiren Thacker
@hithacker
We reverted to the original version
We had to revert because it did not just cause issues that a normal upgrade will cause but it also caused issues of generated css getting mixed up and random style effects showing up.
vindeolal
@vindeolal
We have upgraded Metabase to the latest version 0.36.2. You can checkout the new features https://www.metabase.com/blog/v36-release-announcement/index.html