[Dhis2-devs] Single sign on (SSO) in DHIS2

2016-09-07 Thread Thái Chương
Dear all, Since we have function to allow user to register their own account with their email. And DHIS2 can integrate with more other systems. Is there any way to implement SSO in DHIS2? such as Google account. Thanks and best regards, ___ Mailing list:

Re: [Dhis2-devs] DHIS2 and Tableau

2016-02-01 Thread Thái Chương
Hello Nhan, I read through your connector source. Since you hard code for basic authentication, If you can modify to provide fields for url, username and password like the following sample connector, it will become a proper connector. https://tableau.github.io/webdataconnector/Examples/jsonConnecto

[Dhis2-devs] Problem with cross domain when try to get data in Javascript

2015-12-07 Thread Thái Chương
Dear devs, I'm writing a script to retry data in Javascript. http://code.jquery.com/jquery-1.11.3.min.js";> var username = "admin"; var password = "district"; function base_64_auth(user,password) { var tok = user + ':' + password; var hash = btoa(tok); return "Basic " +

[Dhis2-devs] Web API security

2015-10-17 Thread Thái Chương
Dear DHIS2 dev, We've have a check during writing an app. A user can get all the information of organisation unit which have not been assigned to him through web api. Is it possible that we can limit the access of user when he is accessing through web API base on interception on his DHIS2 role?

Re: [Dhis2-devs] Can tracker aggregation function aggregate the tracked data on specified period

2015-09-17 Thread Thái Chương
will aggregated as per your requirements. > > Thanks > > Fatema > > > On Fri, Sep 4, 2015 at 11:22 AM, Thái Chương > wrote: > >> Hi all, >> I have an issue on implementing DHIS2 with legacy tracked entities data. >> My data tracked the entity on Aug 2nd

[Dhis2-devs] Can tracker aggregation function aggregate the tracked data on specified period

2015-09-03 Thread Thái Chương
Hi all, I have an issue on implementing DHIS2 with legacy tracked entities data. My data tracked the entity on Aug 2nd 2014, means over a year. I'm going to build an aggregation rule to aggregate the tracked data for other level of data use. But could not see the option to specify the time period

Re: [Dhis2-devs] Help: dhis2 dataentry form shows only year 2013 periods

2014-09-05 Thread Thái Chương
future periods for daily > periods in this year (2014). Are you sure this is necessary? > > Regards, > Jason > > -- > Sent from my mobile > On Sep 5, 2014 12:33 PM, "Thái Chương" wrote: > >> Dear anh, >> You need to allow for future period

Re: [Dhis2-devs] Help: dhis2 dataentry form shows only year 2013 periods

2014-09-05 Thread Thái Chương
Dear anh, You need to allow for future period Regards, On Fri, Sep 5, 2014 at 4:18 PM, Ngoc Thanh Nguyen < thanh.hispviet...@gmail.com> wrote: > Hi all, > > After upgrading to 2.16, our data entry form shows only year 2013 periods > When clicking next year button, there is no period in the list

[Dhis2-devs] The table in dashboard has not been updated automatically

2014-07-08 Thread Thái Chương
Dear all, I've created some tables and add to dashboard to follow up the data in the provinces which we have trained. But even data is coming, the tables have not been updated automatically. I have to go to pivot table, click update to see the new data. What is the business logic of the tables on

Re: [Dhis2-devs] Could not translate category and category combination

2014-06-19 Thread Thái Chương
Hello everyone, Is there any help on this? I still need to translate these. Is it possible if I can post a bug? Thank you very much and best regards, On Thu, May 29, 2014 at 11:11 AM, Thái Chương wrote: > Dear DHIS2 devs, > We are trying to translate our system to Lao Language.

[Dhis2-devs] Is there dotted chart in DHIS2

2014-06-19 Thread Thái Chương
Hi dev, I'm going to create a dotted chart for Maternal mortality ratio in DHIS2 for annual data which came from different source (Because it came from different source so we don't need the line) Is there any way to have it? Thank you very much and best regards, -- Thai Chuong YM/Skype : thaich

Re: [Dhis2-devs] Speed up the " Data capture and maintenance organisation units"

2014-06-04 Thread Thái Chương
d, Jun 4, 2014 at 6:16 PM, Ola Hodne Titlestad > wrote: > >> >> On 4 June 2014 21:28, Thái Chương wrote: >> >>> Thank you Ola, >>> We have 4 levels and already set to the largest one. >>> >> Actually it works the other way around, so sett

Re: [Dhis2-devs] Speed up the " Data capture and maintenance organisation units"

2014-06-04 Thread Thái Chương
%C3%A5sen+68,+0687+Oslo,+&t=h&hnear=Eftas%C3%A5sen+68,+%C3%98stensj%C3%B8,+0687+Oslo,+Norway&z=16> > > > On 4 June 2014 08:51, Thái Chương wrote: > >> Hi Devs, >> In user management, I just feel the "Data capture and maintenance >> organisation units

Re: [Dhis2-devs] [Dhis2-users] Great video from Norad on DHIS 2 in Ghana

2014-06-04 Thread Thái Chương
Thanks. So nice, i will share it. On Wed, Jun 4, 2014 at 9:11 PM, greg.row...@gmail.com wrote: > Agreed! :-) > > Our staff in the HISP-SA office even want a link to it for our website... > > Sent from my HTC > > - Reply message - > From: "Jim Grace" > To: "Ola Hodne Titlestad" > Cc: "

[Dhis2-devs] Speed up the " Data capture and maintenance organisation units"

2014-06-03 Thread Thái Chương
Hi Devs, In user management, I just feel the "Data capture and maintenance organisation units" list is slower than "Data output and analysis organisation units" Is there any way to speed it up? It's causing issue in my slow internet connection. Thank you very much and best regards, -- Thai Chuon

[Dhis2-devs] Could not translate category and category combination

2014-05-28 Thread Thái Chương
Dear DHIS2 devs, We are trying to translate our system to Lao Language. The dataelement and dataset can be translated fine. But we are unable to translate category and category combination because the exception. * ERROR 2014-05-29 10:56:09,090 Error while executing action (ExceptionIntercept or.j

[Dhis2-devs] Could not delete app after install

2014-03-13 Thread Thái Chương
Dear Devs, I've tried to install an sample app on my server. But then could not remove it. I've tested on DHIS2 demo instance also. The same issue appeared. I don't know if it should be DHIS2 bug or any configuration needed? Regards, -- Thai Chuong HCMUT - Computer science and engineering Facu

[Dhis2-devs] Could not edit Data element in aggregation query builder

2014-03-05 Thread Thái Chương
Hi devs, I've created some aggregation queries to aggregate data from tracker. I was going to change data element (of data set) in the the queries, DHIS2 did not popup the list of data elements. I have to work around by selecting another dataset, then re-select the current dataset. I don't know if

Re: [Dhis2-devs] GSOC 14 "Android and HTML5 features"

2014-03-02 Thread Thái Chương
Hi Rahul, Thanks for your interesting. Please see some command 1. Admin/district is the default admin user for demo app. You can also setup your own instance of DHIS with the demo database has been share on web dhis2 website 2. You can define other user role 3. I think dhis2 web api will give you a

Re: [Dhis2-devs] Out of Memory Error

2014-02-10 Thread Thái Chương
Dear, can you share more information displayed in the console? 2014-02-10 2:19 GMT+07:00 Juma Lungo : > Hi > > i am restoring a database of 1.8GB using the command "psql -U$USERNAME > -d$DB_NAME -f $FILE_TO_RESTORE", however, i get "out of memory" error. > > Which PSQL variable do i need to look

Re: [Dhis2-devs] [Dhis2-users] OpenMRS to DHIS2

2014-01-27 Thread Thái Chương
Currently I don't think that we have a tool for mapping between openMRS report and DHIS2 report. But the module which awanth and Mohammad Ullah said can collect data from openMRS (by sql queries) and transfer to a dataset in DHIS2. And It's not automatic. It should give you some ideas 2014-01-28

Re: [Dhis2-devs] OpenMRS to DHIS2

2014-01-27 Thread Thái Chương
Hi Edwin, Which data are you going to transfer? I think you can make a automatic script to use DHIS2 webapi. It's strong! You can also reference the module as awanthika said. 2014-01-28 awanth sen > Hi Edwin, > > I dont know about a tool to automate. but there is a dhis connector module > in hi

Re: [Dhis2-devs] API for pulling Multilingual Labels?

2014-01-21 Thread Thái Chương
Dears, I haven't checked in DHIS 2.14 But on DHIS 2.13 the returned value is not an object, it is a string. So right now I need to build a json object with the returned value. I think if it's default to return as a json object. It should be better. 2014/1/20 Rodolfo Melia > thanks so much lars.

[Dhis2-devs] How to order attribute options of person attribute

2014-01-15 Thread Thái Chương
Dears, I created a person attribute (named client-type) and made a registration form to put it in. Client type attribute has 5 options: 4 By UHN, 2 By staff, 1 Walk-in, 5 Other, 3 By CM The order get change base on the name of attribute options. I used hard code javascript to order those options i

Re: [Dhis2-devs] Duplicated orgunit display in report table organisation unit selection area

2013-10-22 Thread Thái Chương
already have access to Bo through Sierra Leone. > > Lars > > > > > On Tue, Oct 22, 2013 at 11:50 AM, Thái Chương wrote: > >> Hi everybody, >> On demo instance of DHIS2, >> 1. create a user (for instance: NIPH) and asign to "Sierra Leone" and "

[Dhis2-devs] Duplicated orgunit display in report table organisation unit selection area

2013-10-22 Thread Thái Chương
Hi everybody, On demo instance of DHIS2, 1. create a user (for instance: NIPH) and asign to "Sierra Leone" and "Bo" 2. login with the new user (NIPH) 3. go to Services -> Reports -> report table, then Create a report. Result: Organisation unit selection area display: "Sierra Leone" and "Bo" as the

Re: [Dhis2-devs] Dùng tính năng lập danh sách làm việc để in các mẫu phiếu và in chứng chỉ

2013-02-20 Thread Thái Chương
Anh Thanh oi, Em chua ro lam ve chuong trinh cua minh dang thuc hien. Em dang o Hue. Nhung chieu nay em co mat o Da Nang. Neu em co the giup duoc gi anh hay goi cho em theo so 01222646203. Than men, Vào 04:43 Ngày 20 tháng 2 năm 2013, Ngoc Thanh Nguyen < thanh.hispviet...@gmail.com> đã viết: >

Re: [Dhis2-devs] Problem with Javascript on Data Entry page (linux)

2013-01-23 Thread Thái Chương
t; Lars > > > On Wed, Jan 23, 2013 at 11:29 AM, Thái Chương wrote: > >> Dear all, >> I built trunk code and run on Tomcat server. >> I can be able to deploy and run well dhis.war on Windows, >> >> But on linux >> There's an error

[Dhis2-devs] Problem with Javascript on Data Entry page (linux)

2013-01-23 Thread Thái Chương
Dear all, I built trunk code and run on Tomcat server. I can be able to deploy and run well dhis.war on Windows, But on linux There's an error on Javascripts as below (when I tried to access Data Entry page): ReferenceError: maintenanceModulesNo is not defined http://localhost:8080/dhis/main.js i

Re: [Dhis2-devs] dhis sms dependency

2012-05-29 Thread Thái Chương
Cannot accept. :D 2012/5/29 Tran Chau > Sorry all. I added missing files. > > Best regards, > > Châu Thu Trân > HISP Viet Nam > Email: tran.hispviet...@gmail.com > > > > On Tue, May 29, 2012 at 7:06 PM, Bob Jolliffe wrote: > >> Thanks Lars. I had

Re: [Dhis2-devs] how to bypass the dhis security for a feature?

2012-03-10 Thread Thái Chương
huong > > You should be able to remove security with something like (untested): > > > (in security.xml, found in dhis-web-commons) > > But do we really want to disable security for this wsdl file? I assume > the web services will require authentication? > > -- > Morte

[Dhis2-devs] how to bypass the dhis security for a feature?

2012-03-07 Thread Thái Chương
Dear team, I integrated a webservice to dhis, the uri of the webservice is http:localhost:8080/dhis-web-mobile/services/Data.wsdl. But i cannot bypass the dhis security to access this uri directly. I've tried some tutorials but not success. Maybe i don't clearly about dhis security. How can i do no