Re: [Dhis2-users] Entering data using Mobile (Smartphone) module

2017-08-07 Thread Em Le Hong
Hi,

I think it's just assigning setup.
On Android and Web browser on smartphone (Smartphone app), you have assign
a user to specific orgUnit which also has dataSet assigned to.

For example:
Your dataSet is assign to level 3, then you also need to assign the user to
level 3. On web version, if you assign user to level 1, you can do data
entry for level 2,3,4, but on Smartphone app and Android app, you can't.

Some experiences, hope it can help you!

On Tue, Aug 8, 2017 at 4:25 AM, Mike Johnson  wrote:

> Is anyone able to help me troubleshoot a problem with the browser-based
> mobile client (smartphone) in Chrome and Firefox.
>
>
>
> When entering data using the URL: /*dhis/mobile/data-entry*, I am
> receiving this error: "No organisation units available for data entry." The
> server is logging a java.lang.NullPointerException
>
> If I try to enter data in a dataset at Level 1 or Level 2, there is no
> error. If the dataset is at Level 3 or 4 in the hierarchy, the error is
> flagged. In an Incognito Browser window, the browser redirects to /
> *dhis/mobile/index* automatically and the error disappears.
>
> I have tested this with multiple users, brand new users, and different
> user roles, including superuser role. If a superuser has access to datasets
> for Org Units at Level 1 and Level 2, then other users who sign in on the
> same browser will also have access to enter data at these levels until the
> cache is cleared. Then the error message about organization units will be
> shown.
>
>
>
> I entered a bug report (https://jira.dhis2.org/browse/DHIS2-2013 ) in
> case this is something others are experiencing.
>
>
>
> Thank you for your assistance!
>
>
>
> *Mike Johnson, MSc*
>
> Senior Analyst | Monitoring, Evaluation, and Quality Improvement
>
> Partners In Health
>
> Skype: mjohn...@pih.org | Phone: 857.206.5246
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
*Em Le Hong*
DHIS2 Implementation| *HISP Vietnam *
em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] Entering data using Mobile (Smartphone) module

2017-08-07 Thread Mike Johnson
Is anyone able to help me troubleshoot a problem with the browser-based mobile 
client (smartphone) in Chrome and Firefox.



When entering data using the URL: /dhis/mobile/data-entry, I am receiving this 
error: "No organisation units available for data entry." The server is logging 
a java.lang.NullPointerException

If I try to enter data in a dataset at Level 1 or Level 2, there is no error. 
If the dataset is at Level 3 or 4 in the hierarchy, the error is flagged. In an 
Incognito Browser window, the browser redirects to /dhis/mobile/index 
automatically and the error disappears.

I have tested this with multiple users, brand new users, and different user 
roles, including superuser role. If a superuser has access to datasets for Org 
Units at Level 1 and Level 2, then other users who sign in on the same browser 
will also have access to enter data at these levels until the cache is cleared. 
Then the error message about organization units will be shown.



I entered a bug report (https://jira.dhis2.org/browse/DHIS2-2013 ) in case this 
is something others are experiencing.

Thank you for your assistance!

Mike Johnson, MSc
Senior Analyst | Monitoring, Evaluation, and Quality Improvement
Partners In Health
Skype: mjohn...@pih.org | Phone: 857.206.5246

___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Defining Compulsory Data Element Unsuccessfull

2017-08-07 Thread Raminosoa Rabemanantsoa, Tantely
You're right! This is the quickest way.

Thank you Barnabas. I could work with this method.

Regards!

Tantely.



On Mon, Aug 7, 2017 at 9:11 PM, Barnabas Akumba 
wrote:

> Yes. That should be possible if you have access to the DB and you know the
> element ID, categoryoptioncombo and attributeoptioncombo of both the old
> and new DEs.
> The easiest work around for me would be to export the data to CSV and
> import into the new DE.
>
> Regards
>
> On Aug 7, 2017 7:03 PM, "Raminosoa Rabemanantsoa, Tantely" <
> tramino...@mikolo.org> wrote:
>
> Hi Barnabas,
>
> Thank you for this straightforward workaround. Would it then possible via
> SQL view (or another way?) to transfer the existing data of the old DE to
> the new one? By doing so, we can also set the empty value to an hypothetic
> one, so that the new DE won't contain any null value.
>
> Regards,
>
> Tantely.
>
> On Mon, Aug 7, 2017 at 8:47 PM, Barnabas Akumba 
> wrote:
>
>> Hello Raminosoa,
>>
>> The issue is because the Data Element has already been used for data
>> entry and changing the property of the DE at this time will bring about
>> some violations.
>>
>> The solution is to create another DE with the compulsory attribute and
>> remove the previous one from the Dataset.
>> But you might need to trade with the data that was previously entered
>> using the DE.
>>
>> Regards
>>
>> On Aug 7, 2017 6:32 PM, "Raminosoa Rabemanantsoa, Tantely" <
>> tramino...@mikolo.org> wrote:
>>
>> Dear Users,
>>
>> I would like to report the following issue when changing some data
>> elements to be compulsory for the data entry. This DE was already used for
>> a dataset. Please find attached 2 screenshots during the data compulsory
>> edition and the associated unsuccessful message. I am wondering if this is
>> due to the fact that there is already some existing empty values in the
>> data element, or is this issue linked with other consideration?
>>
>> I am using DHIS2 2.25.
>>
>> Regards,
>>
>> Tantely.
>>
>> *This message and its attachments are confidential and solely for the
>> intended recipients. If received in error, please delete them and notify
>> the sender via reply e-mail immediately.*
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-d...@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
> *This message and its attachments are confidential and solely for the
> intended recipients. If received in error, please delete them and notify
> the sender via reply e-mail immediately.*
>
>

-- 
*This message and its attachments are confidential and solely for the 
intended recipients. If received in error, please delete them and notify 
the sender via reply e-mail immediately.*
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Defining Compulsory Data Element Unsuccessfull

2017-08-07 Thread Barnabas Akumba
Yes. That should be possible if you have access to the DB and you know the
element ID, categoryoptioncombo and attributeoptioncombo of both the old
and new DEs.
The easiest work around for me would be to export the data to CSV and
import into the new DE.

Regards

On Aug 7, 2017 7:03 PM, "Raminosoa Rabemanantsoa, Tantely" <
tramino...@mikolo.org> wrote:

Hi Barnabas,

Thank you for this straightforward workaround. Would it then possible via
SQL view (or another way?) to transfer the existing data of the old DE to
the new one? By doing so, we can also set the empty value to an hypothetic
one, so that the new DE won't contain any null value.

Regards,

Tantely.

On Mon, Aug 7, 2017 at 8:47 PM, Barnabas Akumba 
wrote:

> Hello Raminosoa,
>
> The issue is because the Data Element has already been used for data entry
> and changing the property of the DE at this time will bring about some
> violations.
>
> The solution is to create another DE with the compulsory attribute and
> remove the previous one from the Dataset.
> But you might need to trade with the data that was previously entered
> using the DE.
>
> Regards
>
> On Aug 7, 2017 6:32 PM, "Raminosoa Rabemanantsoa, Tantely" <
> tramino...@mikolo.org> wrote:
>
> Dear Users,
>
> I would like to report the following issue when changing some data
> elements to be compulsory for the data entry. This DE was already used for
> a dataset. Please find attached 2 screenshots during the data compulsory
> edition and the associated unsuccessful message. I am wondering if this is
> due to the fact that there is already some existing empty values in the
> data element, or is this issue linked with other consideration?
>
> I am using DHIS2 2.25.
>
> Regards,
>
> Tantely.
>
> *This message and its attachments are confidential and solely for the
> intended recipients. If received in error, please delete them and notify
> the sender via reply e-mail immediately.*
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>
*This message and its attachments are confidential and solely for the
intended recipients. If received in error, please delete them and notify
the sender via reply e-mail immediately.*
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Defining Compulsory Data Element Unsuccessfull

2017-08-07 Thread Raminosoa Rabemanantsoa, Tantely
Hi Barnabas,

Thank you for this straightforward workaround. Would it then possible via
SQL view (or another way?) to transfer the existing data of the old DE to
the new one? By doing so, we can also set the empty value to an hypothetic
one, so that the new DE won't contain any null value.

Regards,

Tantely.

On Mon, Aug 7, 2017 at 8:47 PM, Barnabas Akumba 
wrote:

> Hello Raminosoa,
>
> The issue is because the Data Element has already been used for data entry
> and changing the property of the DE at this time will bring about some
> violations.
>
> The solution is to create another DE with the compulsory attribute and
> remove the previous one from the Dataset.
> But you might need to trade with the data that was previously entered
> using the DE.
>
> Regards
>
> On Aug 7, 2017 6:32 PM, "Raminosoa Rabemanantsoa, Tantely" <
> tramino...@mikolo.org> wrote:
>
> Dear Users,
>
> I would like to report the following issue when changing some data
> elements to be compulsory for the data entry. This DE was already used for
> a dataset. Please find attached 2 screenshots during the data compulsory
> edition and the associated unsuccessful message. I am wondering if this is
> due to the fact that there is already some existing empty values in the
> data element, or is this issue linked with other consideration?
>
> I am using DHIS2 2.25.
>
> Regards,
>
> Tantely.
>
> *This message and its attachments are confidential and solely for the
> intended recipients. If received in error, please delete them and notify
> the sender via reply e-mail immediately.*
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-d...@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>

-- 
*This message and its attachments are confidential and solely for the 
intended recipients. If received in error, please delete them and notify 
the sender via reply e-mail immediately.*
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] [Dhis2-devs] Defining Compulsory Data Element Unsuccessfull

2017-08-07 Thread Barnabas Akumba
Hello Raminosoa,

The issue is because the Data Element has already been used for data entry
and changing the property of the DE at this time will bring about some
violations.

The solution is to create another DE with the compulsory attribute and
remove the previous one from the Dataset.
But you might need to trade with the data that was previously entered using
the DE.

Regards

On Aug 7, 2017 6:32 PM, "Raminosoa Rabemanantsoa, Tantely" <
tramino...@mikolo.org> wrote:

Dear Users,

I would like to report the following issue when changing some data elements
to be compulsory for the data entry. This DE was already used for a
dataset. Please find attached 2 screenshots during the data compulsory
edition and the associated unsuccessful message. I am wondering if this is
due to the fact that there is already some existing empty values in the
data element, or is this issue linked with other consideration?

I am using DHIS2 2.25.

Regards,

Tantely.

*This message and its attachments are confidential and solely for the
intended recipients. If received in error, please delete them and notify
the sender via reply e-mail immediately.*
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-d...@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] OAuth & Single-Sign-on / CAS with DHIS2

2017-08-07 Thread Jason Phillips
Thanks!  Will look into those URLs.

Kind regards,
Jason Phillips
HISP SA Infrastructure

(Sent from my mobile, so please excuse any typos)

On 7 Aug 2017 15:52, "Edward Robinson"  wrote:

> Just adding my 5c – OpenID has been superseded by OpenID connect
> 
>
> These may be interesting reading too:
>
> http://lightstep.com/blog/everything-I-wish-I-knew-about-enterprise-sso/
>
> https://developers.google.com/identity/protocols/OpenIDConnect
>
>
>
>
>
> Cheers
>
> Ed
>
>
>
> *From:* Dhis2-users [mailto:dhis2-users-bounces+erobinson=
> projectbalance@lists.launchpad.net] *On Behalf Of *Jason Phillips
> *Sent:* Monday, 07 August 2017 11:57 AM
> *To:* Morten Olav Hansen 
> *Cc:* DHIS 2 Users list 
> *Subject:* Re: [Dhis2-users] OAuth & Single-Sign-on / CAS with DHIS2
>
>
>
> Hi Morten,
>
>
>
> Thanks for your reply.
>
>
>
> We did consider LDAP – and it’s certainly still on the table – but were
> definitely, based on your response, heading in the wrong direction; I have
> been investigating a number of OpenID server entities instead, so I am
> grateful for your advice.
>
> We’ll experiment with LDAP instead, and see where we wind up!  One day
> soon, we hope to begin documenting and sharing with the community all our
> “solutions”, so will eventually revert with our end-game…
>
>
>
> Kind Regards,
>
> *Jason Phillips*
>
> [image: hisp]
> *Information Systems / Infrastructure*
>
> * Health Information Systems Program *
>
> This message and any attachments are subject to a disclaimer published at
> http://www.hisp.org/policies.html#comms_disclaimer.  Please read the
> disclaimer before opening any attachment or taking any other action in
> terms of this electronic transmission.  If you cannot access the
> disclaimer, kindly send an email to disclai...@hisp.org and a copy will
> be provided to you. By replying to this e-mail or opening any attachment
> you agree to be bound by the provisions of the disclaimer.
>
>
>
>
>
> *From:* Morten Olav Hansen [mailto:mor...@dhis2.org]
> *Sent:* Sunday, 06 August 2017 7:49 PM
> *To:* Jason Phillips 
> *Cc:* DHIS 2 Users list 
> *Subject:* Re: [Dhis2-users] OAuth & Single-Sign-on / CAS with DHIS2
>
>
>
> Hi Jason
>
>
>
> Have you considered using LDAP? we have had support for that a few
> releases. OpenID is basically deprecated, and I suggest not going that
> route. OAuth2 does not itself contain any authentication protocols (we are
> using basic or form based to get the bearer token).
>
>
>
> We have a issue for adding OpenID connect support (OpenID 2 + OAuth2) but
> that's not something that is coming soon.
>
>
> --
>
> Morten Olav Hansen
>
> Senior Engineer, DHIS 2
>
> University of Oslo
>
> http://www.dhis2.org
>
>
>
> On Fri, Aug 4, 2017 at 10:38 AM, Jason Phillips  wrote:
>
> Greetings, community!
>
>
>
> HISP SA is looking at ways to implement a single-sign-on solution within
> our hosted DHIS2 instances, potentially using OAuth and a self-hosted
> central OpenID/OpenAuth server entity (or even a dhis2 instance?) for
> authentication.
>
> Has anyone got any experience with implementing such a solution, and/or
> any advice about what the best practice could/would be to do so?
> The aim would be to try and get all dhis2 instances to share a single
> user’s password across the board, and ideally be able to revoke, manage and
> control access to all instances in a single location.
>
>
>
> Any advice, comments, suggestions or guidance would be most welcome.
>
>
>
> Kind Regards,
>
> *Jason Phillips*
>
> [image: hisp]
> *Information Systems / Infrastructure*
>
> * Health Information Systems Program *
>
> eMail:   ja...@hisp.org
> Tel/Fax:+27 21 712 0170 <+27%2021%20712%200170>
> Cell: +27 72 973 7250 <+27%2072%20973%207250>
> Skype: jason.n.phillips
>
> This message and any attachments are subject to a disclaimer published at
> http://www.hisp.org/policies.html#comms_disclaimer.  Please read the
> disclaimer before opening any attachment or taking any other action in
> terms of this electronic transmission.  If you cannot access the
> disclaimer, kindly send an email to disclai...@hisp.org and a copy will
> be provided to you. By replying to this e-mail or opening any attachment
> you agree to be bound by the provisions of the disclaimer.
>
>
>
> [image: cid:image002.jpg@01D2F4CE.CFC9B9B0]
>
> See the conference website  for more
> information!
>
>
>
>
>
>
>
> *This message and any attachments are subject to a disclaimer published at
> http://www.hisp.org/policies.html#comms_disclaimer
> .  Please read the
> disclaimer before opening any attachment or taking any other action in
> terms of 

Re: [Dhis2-users] [Dhis2-devs] CSV Event upload failed: "latitude" not a valid Double value

2017-08-07 Thread Jesus Solano-Roman
Hi Morten.I have updated to the lastest version available in Docker:Version:2.27Build revision:068f643Build date:2017-08-05 11:20Unfortunately this has made things worse apparently. Trying to upload -any- rows in CSV is now not working. For instance, when trying to upload this csv:tHF7qDZVeoT,ACTIVE,iMQ9InaUU5m,Wn7LAv17lfS,,kJq2mPyFEHo,2014-05-25T00:00:00.000,2017-07-12T19:11:19.801,0,0,oZg33kd9taw,Male,,Usingcurl -d @programKenemaTest.csv "http://localhost:8085/api/events" -H "Content-Type:text/csv" -u admin:district -vI get the error:"httpStatusCode":500,"status":"ERROR","message":"could not execute statement"Same error when I use the import event app in DHIS2.I converted that row into XML and the import was successful. So before I create the issue in JIRA, I would prefer if you take a look at the format of my CSV. If it seems fine to you, then there must be an error in the CSV import functions.Thanks for the help. Antonio Solano-Roman
 
Data Visualization & User Experience Design
Sabeti Lab - Broad Institute
  

On Aug 6 2017, at 1:51 pm, Morten Olav Hansen  wrote:


  Hi thereI'm not sure about this issue, but there have been some fixes to CSV import lately, would you mind getting the latest 227 and retry? if it's still present, could you write up a JIRA issue for? and we will have a lookjira.dhis2.org-- Morten Olav HansenSenior Engineer, DHIS 2University of Oslohttp://www.dhis2.org
On Fri, Aug 4, 2017 at 10:06 PM, Jesus Solano-Roman  wrote:SECOND UPDATE: Sorry to keep updating this but I cannot edit the original post.I realized that the header had to be removed and also that the last two columns should be left empty (storedBy, ProvidedElsewhere).I believe this has fixed the issue. However, one last question:Upload was successful for 8/9 entries the DE F3ogKBuviRA is a coordinate data element, and I've tried using two formats: "[-11.94,8.84]" and "-11.94,8.84". (not using quotation marks). These both fail on import. What is wrong with the format of my coordinates? The Documentation says:Coordinate: A point coordinate specified as longitude/latitude in decimal degrees. All coordinate should be specified in the format "-19.23 , 56.42" with a comma separating the longitude and latitude. (Since v2.21).My system isVersion:2.27Build revision:b531614Thanks again and apologies for the constant updates.On Fri, Aug 4, 2017 at 3:41 PM, Jesus Solano-Roman  wrote:UPDATE: I noticed that the csv file I downloaded from DHIS2 with a sample of the Event data does not contain quotations so I did the same on the exported file from R write.csv(data, file = "data.csv", row.names = F, fileEncoding = 'UTF-8', quote = F)But the upload still fails. Also If I upload manually using the import function inside DHIS2, the dry run shows the following conflicts:eventData element not found or not accessibletHF7qDZVeoTData element not found or not accessibleand all elements are ignored.Thanks again.On Fri, Aug 4, 2017 at 3:27 PM, Jesus Solano-Roman  wrote:Hello all.I've constructed a csv file to bulk import Events to a local instance of DHIS2 as per guidelines from the documentation . My curl command to upload is the following:curl --data-binary @programKenemaTest.csv "http://localhost:8085/api/events" -H "Content-Type:application/csv" -u admin:district -vhowever, when uploading from terminal I get the following error message:







{"httpStatus":"Internal Server Error","httpStatusCode":500,"status":"ERROR","message":"Can not construct instance of java.lang.Double from String value (\"latitude\"): not a valid Double value\nat [Source: com.fasterxml.jackson.dataformat.csv.impl.UTF8Reader@47005012; line: 1, column: 88] (through reference chain: org.hisp.dhis.dxf2.events.event.csv.CsvEventDataValue[\"latitude\"])"}(Rest of response from server can be seen here: https://codeshare.io/5QmLvJ)The value for latitude (and longitude) in this particular dataset is 0. I generated this dataset and the CSV file using R. The type of value for those two columns evaluates to "double", and I have exported the CSV using UTF-8 encoding:write.csv(data, file = "data.csv", row.names = F, fileEncoding = 'UTF-8')Any ideas why this file cannot be parsed correctly? Entries created inside DHIS2 using the Event Capture app have latitude and longitude values of 0 without a problem. I've attached the csv file if it's of any help.Thanks for your time,Antonio Solano.


___
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-d...@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp



  

___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : 

Re: [Dhis2-users] OAuth & Single-Sign-on / CAS with DHIS2

2017-08-07 Thread Edward Robinson
This is old (2014) but still an interesting slide deck on OpenID Connect
http://wiki.openid.net/w/file/fetch/80030063/OpenID_Connect_Overview_May_5_2014.pdf

Ed

From: Dhis2-users 
[mailto:dhis2-users-bounces+erobinson=projectbalance@lists.launchpad.net] 
On Behalf Of Edward Robinson
Sent: Monday, 07 August 2017 3:53 PM
To: Jason Phillips ; Morten Olav Hansen 
Cc: DHIS 2 Users list 
Subject: Re: [Dhis2-users] OAuth & Single-Sign-on / CAS with DHIS2

Just adding my 5c – OpenID has been superseded by OpenID 
connect
These may be interesting reading too:
http://lightstep.com/blog/everything-I-wish-I-knew-about-enterprise-sso/
https://developers.google.com/identity/protocols/OpenIDConnect


Cheers
Ed

From: Dhis2-users 
[mailto:dhis2-users-bounces+erobinson=projectbalance@lists.launchpad.net] 
On Behalf Of Jason Phillips
Sent: Monday, 07 August 2017 11:57 AM
To: Morten Olav Hansen 
Cc: DHIS 2 Users list 
Subject: Re: [Dhis2-users] OAuth & Single-Sign-on / CAS with DHIS2

Hi Morten,

Thanks for your reply.

We did consider LDAP – and it’s certainly still on the table – but were 
definitely, based on your response, heading in the wrong direction; I have been 
investigating a number of OpenID server entities instead, so I am grateful for 
your advice.
We’ll experiment with LDAP instead, and see where we wind up!  One day soon, we 
hope to begin documenting and sharing with the community all our “solutions”, 
so will eventually revert with our end-game…

Kind Regards,
Jason Phillips
[hisp]
Information Systems / Infrastructure
Health Information Systems Program

This message and any attachments are subject to a disclaimer published at 
http://www.hisp.org/policies.html#comms_disclaimer.  Please read the disclaimer 
before opening any attachment or taking any other action in terms of this 
electronic transmission.  If you cannot access the disclaimer, kindly send an 
email to disclai...@hisp.org and a copy will be 
provided to you. By replying to this e-mail or opening any attachment you agree 
to be bound by the provisions of the disclaimer.


From: Morten Olav Hansen [mailto:mor...@dhis2.org]
Sent: Sunday, 06 August 2017 7:49 PM
To: Jason Phillips >
Cc: DHIS 2 Users list 
>
Subject: Re: [Dhis2-users] OAuth & Single-Sign-on / CAS with DHIS2

Hi Jason

Have you considered using LDAP? we have had support for that a few releases. 
OpenID is basically deprecated, and I suggest not going that route. OAuth2 does 
not itself contain any authentication protocols (we are using basic or form 
based to get the bearer token).

We have a issue for adding OpenID connect support (OpenID 2 + OAuth2) but 
that's not something that is coming soon.

--
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
http://www.dhis2.org

On Fri, Aug 4, 2017 at 10:38 AM, Jason Phillips 
> wrote:
Greetings, community!

HISP SA is looking at ways to implement a single-sign-on solution within our 
hosted DHIS2 instances, potentially using OAuth and a self-hosted central 
OpenID/OpenAuth server entity (or even a dhis2 instance?) for authentication.
Has anyone got any experience with implementing such a solution, and/or any 
advice about what the best practice could/would be to do so?
The aim would be to try and get all dhis2 instances to share a single user’s 
password across the board, and ideally be able to revoke, manage and control 
access to all instances in a single location.

Any advice, comments, suggestions or guidance would be most welcome.

Kind Regards,
Jason Phillips
[hisp]
Information Systems / Infrastructure
Health Information Systems Program

eMail:   ja...@hisp.org
Tel/Fax:+27 21 712 0170
Cell: +27 72 973 7250
Skype: jason.n.phillips
This message and any attachments are subject to a disclaimer published at 
http://www.hisp.org/policies.html#comms_disclaimer.  Please read the disclaimer 
before opening any attachment or taking any other action in terms of this 
electronic transmission.  If you cannot access the disclaimer, kindly send an 
email to disclai...@hisp.org and a copy will be 
provided to you. By replying to this e-mail or opening any attachment you agree 
to be bound by the provisions of the disclaimer.

[cid:image002.jpg@01D2F4CE.CFC9B9B0]
See the conference website for more information!




This message and any attachments are subject to a disclaimer published at 

Re: [Dhis2-users] OAuth & Single-Sign-on / CAS with DHIS2

2017-08-07 Thread Edward Robinson
Just adding my 5c – OpenID has been superseded by OpenID 
connect
These may be interesting reading too:
http://lightstep.com/blog/everything-I-wish-I-knew-about-enterprise-sso/
https://developers.google.com/identity/protocols/OpenIDConnect


Cheers
Ed

From: Dhis2-users 
[mailto:dhis2-users-bounces+erobinson=projectbalance@lists.launchpad.net] 
On Behalf Of Jason Phillips
Sent: Monday, 07 August 2017 11:57 AM
To: Morten Olav Hansen 
Cc: DHIS 2 Users list 
Subject: Re: [Dhis2-users] OAuth & Single-Sign-on / CAS with DHIS2

Hi Morten,

Thanks for your reply.

We did consider LDAP – and it’s certainly still on the table – but were 
definitely, based on your response, heading in the wrong direction; I have been 
investigating a number of OpenID server entities instead, so I am grateful for 
your advice.
We’ll experiment with LDAP instead, and see where we wind up!  One day soon, we 
hope to begin documenting and sharing with the community all our “solutions”, 
so will eventually revert with our end-game…

Kind Regards,
Jason Phillips
[hisp]
Information Systems / Infrastructure
Health Information Systems Program

This message and any attachments are subject to a disclaimer published at 
http://www.hisp.org/policies.html#comms_disclaimer.  Please read the disclaimer 
before opening any attachment or taking any other action in terms of this 
electronic transmission.  If you cannot access the disclaimer, kindly send an 
email to disclai...@hisp.org and a copy will be 
provided to you. By replying to this e-mail or opening any attachment you agree 
to be bound by the provisions of the disclaimer.


From: Morten Olav Hansen [mailto:mor...@dhis2.org]
Sent: Sunday, 06 August 2017 7:49 PM
To: Jason Phillips >
Cc: DHIS 2 Users list 
>
Subject: Re: [Dhis2-users] OAuth & Single-Sign-on / CAS with DHIS2

Hi Jason

Have you considered using LDAP? we have had support for that a few releases. 
OpenID is basically deprecated, and I suggest not going that route. OAuth2 does 
not itself contain any authentication protocols (we are using basic or form 
based to get the bearer token).

We have a issue for adding OpenID connect support (OpenID 2 + OAuth2) but 
that's not something that is coming soon.

--
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
http://www.dhis2.org

On Fri, Aug 4, 2017 at 10:38 AM, Jason Phillips 
> wrote:
Greetings, community!

HISP SA is looking at ways to implement a single-sign-on solution within our 
hosted DHIS2 instances, potentially using OAuth and a self-hosted central 
OpenID/OpenAuth server entity (or even a dhis2 instance?) for authentication.
Has anyone got any experience with implementing such a solution, and/or any 
advice about what the best practice could/would be to do so?
The aim would be to try and get all dhis2 instances to share a single user’s 
password across the board, and ideally be able to revoke, manage and control 
access to all instances in a single location.

Any advice, comments, suggestions or guidance would be most welcome.

Kind Regards,
Jason Phillips
[hisp]
Information Systems / Infrastructure
Health Information Systems Program

eMail:   ja...@hisp.org
Tel/Fax:+27 21 712 0170
Cell: +27 72 973 7250
Skype: jason.n.phillips
This message and any attachments are subject to a disclaimer published at 
http://www.hisp.org/policies.html#comms_disclaimer.  Please read the disclaimer 
before opening any attachment or taking any other action in terms of this 
electronic transmission.  If you cannot access the disclaimer, kindly send an 
email to disclai...@hisp.org and a copy will be 
provided to you. By replying to this e-mail or opening any attachment you agree 
to be bound by the provisions of the disclaimer.

[cid:image002.jpg@01D2F4CE.CFC9B9B0]
See the conference website for more information!




This message and any attachments are subject to a disclaimer published at 
http://www.hisp.org/policies.html#comms_disclaimer.  Please read the disclaimer 
before opening any attachment or taking any other action in terms of this 
electronic transmission.  If you cannot access the disclaimer, kindly send an 
email to disclai...@hisp.org and a copy will be 
provided to you. By replying to this e-mail or opening any attachment you agree 
to be bound by the provisions of the disclaimer.

___
Mailing list: https://launchpad.net/~dhis2-users
Post to : 

Re: [Dhis2-users] Upgrading from 2.16

2017-08-07 Thread Edward Robinson
You are a lifesaver, thank you!
I would love to buy you that beer / coffee – direct mail sent! 
Cheers!
Ed

From: Em Le Hong [mailto:em.hispviet...@gmail.com]
Sent: Monday, 07 August 2017 8:59 AM
To: Edward Robinson 
Cc: dhis2-users 
Subject: Re: [Dhis2-users] Upgrading from 2.16

Hi,

If you still need the old war files from 2.17 to 2.20, you can get it from the 
link below:

https://drive.google.com/drive/folders/0B-tlJrv190f5Nm9PakE1b2JqTms?usp=sharing

On Thu, Aug 3, 2017 at 7:10 PM, Edward Robinson 
> wrote:
Excellent, that’s a great help,  Thank you!
If nobody gets back to me on the .wars for 2.17->2.21 then I’ll indeed setup 
the environment and compile though I’d like to avoid that route for time sake.
There’s a coffee or couple of beers (in mBTC) for anyone who can source those 
.wars 

Thanks!

From: Em Le Hong 
[mailto:em.hispviet...@gmail.com]
Sent: Thursday, 03 August 2017 1:51 PM
To: Edward Robinson 
>
Cc: dhis2-users 
>
Subject: Re: [Dhis2-users] Upgrading from 2.16

You can read the upgrade notes from the links below:

https://www.dhis2.org/217-upgrade
https://www.dhis2.org/218-upgrade
https://www.dhis2.org/219-upgrade
...

On Thu, Aug 3, 2017 at 6:48 PM, Em Le Hong 
> wrote:
Hi,

Someone was asking similar question recently, I think you can check out the old 
code and build it yourself.

https://code.launchpad.net/dhis2

On Thu, Aug 3, 2017 at 6:43 PM, Edward Robinson 
> wrote:
I need to upgrade two reasonably large 2.16 instances to at least 2.26 and am 
needing the following:

  *   All .war files from 2.17 up (at least those required for the upgrade)
  *   Instructions specific to each incremental upgrade until 2.26 (if there 
are specific tasks to perform such as running SQL scripts, etc.)

Does this information / these files exist somewhere on the web?
I have googled but can’t find a .war for anything lower than 2.22 in the 
regular places at this point (e.g. 
https://www.dhis2.org/download/releases/2.17/dhis.war)
Can I skip some versions in this incremental update?

Thanks all!

___
Mailing list: https://launchpad.net/~dhis2-users
Post to : 
dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp



--
Em Le Hong
DHIS2 Implementation| HISP Vietnam
em.hispviet...@gmail.com | Skype: 
em.hispviet...@gmail.com

[https://drive.google.com/uc?id=0B-tlJrv190f5dmR1Y0t2NERvcVU=download]






--
Em Le Hong
DHIS2 Implementation| HISP Vietnam
em.hispviet...@gmail.com | Skype: 
em.hispviet...@gmail.com

[https://drive.google.com/uc?id=0B-tlJrv190f5dmR1Y0t2NERvcVU=download]






--
Em Le Hong
DHIS2 Implementation| HISP Vietnam
em.hispviet...@gmail.com | Skype: 
em.hispviet...@gmail.com

[https://drive.google.com/uc?id=0B-tlJrv190f5dmR1Y0t2NERvcVU=download]



___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] OAuth & Single-Sign-on / CAS with DHIS2

2017-08-07 Thread Morten Olav Hansen
Sure, feel free to keep us posted with updated :)

-- 
Morten Olav Hansen
Senior Engineer, DHIS 2
University of Oslo
http://www.dhis2.org

On Mon, Aug 7, 2017 at 11:57 AM, Jason Phillips  wrote:

> Hi Morten,
>
>
>
> Thanks for your reply.
>
>
>
> We did consider LDAP – and it’s certainly still on the table – but were
> definitely, based on your response, heading in the wrong direction; I have
> been investigating a number of OpenID server entities instead, so I am
> grateful for your advice.
>
> We’ll experiment with LDAP instead, and see where we wind up!  One day
> soon, we hope to begin documenting and sharing with the community all our
> “solutions”, so will eventually revert with our end-game…
>
>
>
> Kind Regards,
>
> *Jason Phillips*
>
> [image: hisp]
> *Information Systems / Infrastructure*
>
> *Health Information Systems Program*
>
> This message and any attachments are subject to a disclaimer published at
> http://www.hisp.org/policies.html#comms_disclaimer.  Please read the
> disclaimer before opening any attachment or taking any other action in
> terms of this electronic transmission.  If you cannot access the
> disclaimer, kindly send an email to disclai...@hisp.org and a copy will
> be provided to you. By replying to this e-mail or opening any attachment
> you agree to be bound by the provisions of the disclaimer.
>
>
>
>
>
> *From:* Morten Olav Hansen [mailto:mor...@dhis2.org]
> *Sent:* Sunday, 06 August 2017 7:49 PM
> *To:* Jason Phillips 
> *Cc:* DHIS 2 Users list 
> *Subject:* Re: [Dhis2-users] OAuth & Single-Sign-on / CAS with DHIS2
>
>
>
> Hi Jason
>
>
>
> Have you considered using LDAP? we have had support for that a few
> releases. OpenID is basically deprecated, and I suggest not going that
> route. OAuth2 does not itself contain any authentication protocols (we are
> using basic or form based to get the bearer token).
>
>
>
> We have a issue for adding OpenID connect support (OpenID 2 + OAuth2) but
> that's not something that is coming soon.
>
>
> --
>
> Morten Olav Hansen
>
> Senior Engineer, DHIS 2
>
> University of Oslo
>
> http://www.dhis2.org
>
>
>
> On Fri, Aug 4, 2017 at 10:38 AM, Jason Phillips  wrote:
>
> Greetings, community!
>
>
>
> HISP SA is looking at ways to implement a single-sign-on solution within
> our hosted DHIS2 instances, potentially using OAuth and a self-hosted
> central OpenID/OpenAuth server entity (or even a dhis2 instance?) for
> authentication.
>
> Has anyone got any experience with implementing such a solution, and/or
> any advice about what the best practice could/would be to do so?
> The aim would be to try and get all dhis2 instances to share a single
> user’s password across the board, and ideally be able to revoke, manage and
> control access to all instances in a single location.
>
>
>
> Any advice, comments, suggestions or guidance would be most welcome.
>
>
>
> Kind Regards,
>
> *Jason Phillips*
>
> [image: hisp]
> *Information Systems / Infrastructure*
>
> *Health Information Systems Program*
>
> eMail:   ja...@hisp.org
> Tel/Fax:+27 21 712 0170 <+27%2021%20712%200170>
> Cell: +27 72 973 7250 <+27%2072%20973%207250>
> Skype: jason.n.phillips
>
> This message and any attachments are subject to a disclaimer published at
> http://www.hisp.org/policies.html#comms_disclaimer.  Please read the
> disclaimer before opening any attachment or taking any other action in
> terms of this electronic transmission.  If you cannot access the
> disclaimer, kindly send an email to disclai...@hisp.org and a copy will
> be provided to you. By replying to this e-mail or opening any attachment
> you agree to be bound by the provisions of the disclaimer.
>
>
>
> [image: cid:image002.jpg@01D2F4CE.CFC9B9B0]
>
> See the conference website  for more
> information!
>
>
>
>
>
>
>
> *This message and any attachments are subject to a disclaimer published at
> http://www.hisp.org/policies.html#comms_disclaimer
> .  Please read the
> disclaimer before opening any attachment or taking any other action in
> terms of this electronic transmission.  If you cannot access the
> disclaimer, kindly send an email to disclai...@hisp.org
>  and a copy will be provided to you. By replying to
> this e-mail or opening any attachment you agree to be bound by the
> provisions of the disclaimer.*
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
>
> *This message and any attachments are subject to a disclaimer published at
> http://www.hisp.org/policies.html#comms_disclaimer
> 

Re: [Dhis2-users] OAuth & Single-Sign-on / CAS with DHIS2

2017-08-07 Thread Jason Phillips
Hi Morten,



Thanks for your reply.



We did consider LDAP – and it’s certainly still on the table – but were
definitely, based on your response, heading in the wrong direction; I have
been investigating a number of OpenID server entities instead, so I am
grateful for your advice.

We’ll experiment with LDAP instead, and see where we wind up!  One day
soon, we hope to begin documenting and sharing with the community all our
“solutions”, so will eventually revert with our end-game…



Kind Regards,

*Jason Phillips*

[image: hisp]
*Information Systems / Infrastructure*

*Health Information Systems Program*

This message and any attachments are subject to a disclaimer published at
http://www.hisp.org/policies.html#comms_disclaimer.  Please read the
disclaimer before opening any attachment or taking any other action in
terms of this electronic transmission.  If you cannot access the
disclaimer, kindly send an email to disclai...@hisp.org and a copy will be
provided to you. By replying to this e-mail or opening any attachment you
agree to be bound by the provisions of the disclaimer.





*From:* Morten Olav Hansen [mailto:mor...@dhis2.org]
*Sent:* Sunday, 06 August 2017 7:49 PM
*To:* Jason Phillips 
*Cc:* DHIS 2 Users list 
*Subject:* Re: [Dhis2-users] OAuth & Single-Sign-on / CAS with DHIS2



Hi Jason



Have you considered using LDAP? we have had support for that a few
releases. OpenID is basically deprecated, and I suggest not going that
route. OAuth2 does not itself contain any authentication protocols (we are
using basic or form based to get the bearer token).



We have a issue for adding OpenID connect support (OpenID 2 + OAuth2) but
that's not something that is coming soon.


-- 

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org



On Fri, Aug 4, 2017 at 10:38 AM, Jason Phillips  wrote:

Greetings, community!



HISP SA is looking at ways to implement a single-sign-on solution within
our hosted DHIS2 instances, potentially using OAuth and a self-hosted
central OpenID/OpenAuth server entity (or even a dhis2 instance?) for
authentication.

Has anyone got any experience with implementing such a solution, and/or any
advice about what the best practice could/would be to do so?
The aim would be to try and get all dhis2 instances to share a single
user’s password across the board, and ideally be able to revoke, manage and
control access to all instances in a single location.



Any advice, comments, suggestions or guidance would be most welcome.



Kind Regards,

*Jason Phillips*

[image: hisp]
*Information Systems / Infrastructure*

*Health Information Systems Program*

eMail:   ja...@hisp.org
Tel/Fax:+27 21 712 0170 <+27%2021%20712%200170>
Cell: +27 72 973 7250 <+27%2072%20973%207250>
Skype: jason.n.phillips

This message and any attachments are subject to a disclaimer published at
http://www.hisp.org/policies.html#comms_disclaimer.  Please read the
disclaimer before opening any attachment or taking any other action in
terms of this electronic transmission.  If you cannot access the
disclaimer, kindly send an email to disclai...@hisp.org and a copy will be
provided to you. By replying to this e-mail or opening any attachment you
agree to be bound by the provisions of the disclaimer.



[image: cid:image002.jpg@01D2F4CE.CFC9B9B0]

See the conference website  for more
information!







*This message and any attachments are subject to a disclaimer published at
http://www.hisp.org/policies.html#comms_disclaimer
.  Please read the
disclaimer before opening any attachment or taking any other action in
terms of this electronic transmission.  If you cannot access the
disclaimer, kindly send an email to disclai...@hisp.org
 and a copy will be provided to you. By replying to
this e-mail or opening any attachment you agree to be bound by the
provisions of the disclaimer.*


___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp

-- 


*This message and any attachments are subject to a disclaimer published at 
http://www.hisp.org/policies.html#comms_disclaimer 
.  Please read the 
disclaimer before opening any attachment or taking any other action in 
terms of this electronic transmission.  If you cannot access the 
disclaimer, kindly send an email to disclai...@hisp.org 
 and a copy will be provided to you. By replying to 
this e-mail or opening any attachment you agree to be bound by the 
provisions of the disclaimer.*

Re: [Dhis2-users] Upgrading from 2.16

2017-08-07 Thread Em Le Hong
Hi,

If you still need the old war files from 2.17 to 2.20, you can get it from
the link below:

https://drive.google.com/drive/folders/0B-tlJrv190f5Nm9PakE1b2JqTms?usp=sharing

On Thu, Aug 3, 2017 at 7:10 PM, Edward Robinson <
erobin...@projectbalance.com> wrote:

> Excellent, that’s a great help,  Thank you!
>
> If nobody gets back to me on the .wars for 2.17->2.21 then I’ll indeed
> setup the environment and compile though I’d like to avoid that route for
> time sake.
>
> There’s a coffee or couple of beers (in mBTC) for anyone who can source
> those .wars 
>
>
>
> Thanks!
>
>
>
> *From:* Em Le Hong [mailto:em.hispviet...@gmail.com]
> *Sent:* Thursday, 03 August 2017 1:51 PM
> *To:* Edward Robinson 
> *Cc:* dhis2-users 
> *Subject:* Re: [Dhis2-users] Upgrading from 2.16
>
>
>
> You can read the upgrade notes from the links below:
>
>
>
> https://www.dhis2.org/217-upgrade
>
> https://www.dhis2.org/218-upgrade
>
> https://www.dhis2.org/219-upgrade
>
> ...
>
>
>
> On Thu, Aug 3, 2017 at 6:48 PM, Em Le Hong 
> wrote:
>
> Hi,
>
>
>
> Someone was asking similar question recently, I think you can check out
> the old code and build it yourself.
>
>
>
> https://code.launchpad.net/dhis2
>
>
>
> On Thu, Aug 3, 2017 at 6:43 PM, Edward Robinson <
> erobin...@projectbalance.com> wrote:
>
> I need to upgrade two reasonably large 2.16 instances to at least 2.26 and
> am needing the following:
>
>- All .war files from 2.17 up (at least those required for the upgrade)
>- Instructions specific to each incremental upgrade until 2.26 (if
>there are specific tasks to perform such as running SQL scripts, etc.)
>
>
>
> Does this information / these files exist somewhere on the web?
>
> I have googled but can’t find a .war for anything lower than 2.22 in the
> regular places at this point (e.g. https://www.dhis2.org/
> download/releases/2.17/dhis.war)
>
> Can I skip some versions in this incremental update?
>
>
>
> Thanks all!
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>
>
>
>
> --
>
> *Em Le Hong*
>
> DHIS2 Implementation| *HISP Vietnam *
>
> em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
>
>
>
>
>
>
>
>
>
>
>
>
>
> --
>
> *Em Le Hong*
>
> DHIS2 Implementation| *HISP Vietnam *
>
> em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
>
>
>
>
>
>
>
>
>



-- 
*Em Le Hong*
DHIS2 Implementation| *HISP Vietnam *
em.hispviet...@gmail.com | *Skype:* em.hispviet...@gmail.com
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp