[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18224: tracker-capture: minor refactoring

2015-02-11 Thread noreply
revno: 18224 committer: Abyot Asalefew Gizaw aby...@gmail.com branch nick: dhis2 timestamp: Wed 2015-02-11 15:01:07 +0100 message: tracker-capture: minor refactoring added:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18226: Analysis, open reports in new tab with 1) mouse wheel/middle button click or 2) ctrl + left click.

2015-02-11 Thread noreply
Merge authors: Jan Henrik Øverland (janhenrik-overland) revno: 18226 [merge] committer: Jan Henrik Overland janhenrik.overl...@gmail.com branch nick: dhis2 timestamp: Wed 2015-02-11 18:07:21 +0100 message: Analysis, open reports in

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18225: Program indicator ui, minor fixes

2015-02-11 Thread noreply
revno: 18225 committer: Lars Helge Overland larshe...@gmail.com branch nick: dhis2 timestamp: Wed 2015-02-11 17:59:36 +0100 message: Program indicator ui, minor fixes modified:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18227: Web api, added support for getting validation rules related to a data set at /api/validationRules...

2015-02-11 Thread noreply
revno: 18227 committer: Lars Helge Overland larshe...@gmail.com branch nick: dhis2 timestamp: Wed 2015-02-11 20:41:55 +0100 message: Web api, added support for getting validation rules related to a data set at

Re: [Dhis2-devs] Is it possible to change the passwd of the users using the API??

2015-02-11 Thread Jason Pickering
That means that it worked, as the password you have sent is in clear text. It is just a warning, but if you see this, then try and login as the user with the new password and it should be fine. On Wed, Feb 11, 2015 at 3:57 PM, Jose Garcia Muñoz josem...@gmail.com wrote: Thanks Lars, now I

Re: [Dhis2-devs] Is it possible to change the passwd of the users using the API??

2015-02-11 Thread Jose Garcia Muñoz
Thanks Lars, now I am getting the following output in the tomcat log * WARN 2015-02-11 15:53:49,477 Encoded password does not look like BCrypt (BCry ptPasswordEncoder.java [http-apr-8080-exec-10]) and the same error in the curl output... On Wed, Feb 11, 2015 at 2:33 PM, Lars Helge Øverland

Re: [Dhis2-devs] Is it possible to change the passwd of the users using the API??

2015-02-11 Thread Jose Garcia Muñoz
Hi again, I tried in the Sierra Leone demo, with the following curl command: curl.exe -X PATCH -d @c:\file.json -u admin:district https://apps.dhis2.org/demo/api/users/OYLGMiazHtW/userCredentials; -H Content-Type: application/json with the following payload { userCredentials: {password:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18228: Sql view, basic impl of 'query' sql type, which means a SQL query not created as view. This type ...

2015-02-11 Thread noreply
revno: 18228 committer: Lars Helge Overland larshe...@gmail.com branch nick: dhis2 timestamp: Wed 2015-02-11 23:32:01 +0100 message: Sql view, basic impl of 'query' sql type, which means a SQL query not created as view. This type will

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18230: Sql view, cleanup

2015-02-11 Thread noreply
revno: 18230 committer: Lars Helge Overland larshe...@gmail.com branch nick: dhis2 timestamp: Wed 2015-02-11 23:54:43 +0100 message: Sql view, cleanup modified:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18229: Sql view, renamed strange method

2015-02-11 Thread noreply
revno: 18229 committer: Lars Helge Overland larshe...@gmail.com branch nick: dhis2 timestamp: Wed 2015-02-11 23:50:44 +0100 message: Sql view, renamed strange method modified:

Re: [Dhis2-devs] Is it possible to change the passwd of the users using the API??

2015-02-11 Thread Morten Olav Hansen
Hi Jose I've been looking at this for a while now, and its not related to PATCH at all, but there is something weird that is happening with userCredentials.. I will continue looking into it, and hopefully provide a fix today -- Morten On Thu, Feb 12, 2015 at 4:33 AM, Jose Garcia Muñoz

Re: [Dhis2-devs] [Dhis2-users] Problem in approve data

2015-02-11 Thread nsanzumuhire venuste
I have Also raised this issue three weeks ago,where we had approved data in dhis 2.16 then after upgrading to dhis2.17 all dataset became unlocked means users can modify the data what ever they want. Can some one help on this serious issue?   Regards Venuste. De : Salimone Domingos

Re: [Dhis2-devs] upgrade from 2.13 to 2.16

2015-02-11 Thread Lars Helge Øverland
Hi Charles, on the downloads page: https://www.dhis2.org/downloads there are links to upgrade scripts next to each WAR version. regards, Lars On Wed, Feb 11, 2015 at 5:31 AM, Uddin Fatema fatema...@gmail.com wrote: Hi, Here i attached a doc which is written all steps of converting

Re: [Dhis2-devs] Error on DHIS startup

2015-02-11 Thread Sandesh Sukumar Doolipeta
Hi lars dan , Looks like this was happening only on my machine. It was not reproducible in other machines. On Tue, Feb 10, 2015 at 9:59 PM, Dan Cocos d...@dancocos.com wrote: Could it be that in hibernate.properties hibernate.hbm2ddl.auto = update is set to something else? On Feb 10,

Re: [Dhis2-devs] Unable to create dashboards on latest revision of trunk.

2015-02-11 Thread Mansi Singhal
PFA the snapshot of dashboard table. On Wed, Feb 11, 2015 at 1:51 PM, Mansi Singhal msing...@thoughtworks.com wrote: Hey Morten, Dashboard table contains the UID column. This is something else. Can you please look into the issue. On Wed, Feb 11, 2015 at 1:05 PM, Morten Olav Hansen

Re: [Dhis2-devs] Unable to create dashboards on latest revision of trunk.

2015-02-11 Thread Morten Olav Hansen
Ok, I will have a look -- Morten On Wed, Feb 11, 2015 at 3:33 PM, Mansi Singhal msing...@thoughtworks.com wrote: Yeah Yeah. We didn't check on the UI. We have seen it only for web-api. And the issue is coming only if payload contains dashboardItems. On Wed, Feb 11, 2015 at 1:55 PM, Morten

Re: [Dhis2-devs] Is it possible to change the passwd of the users using the API??

2015-02-11 Thread Lars Helge Øverland
An example can be seen under user account invitations in web api docs: https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s27.html#d5e3604 ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe

Re: [Dhis2-devs] Unable to create dashboards on latest revision of trunk.

2015-02-11 Thread Mansi Singhal
Yeah Yeah. We didn't check on the UI. We have seen it only for web-api. And the issue is coming only if payload contains dashboardItems. On Wed, Feb 11, 2015 at 1:55 PM, Morten Olav Hansen morte...@gmail.com wrote: Is it only through the web-api you see the issue? I can create a new one

Re: [Dhis2-devs] Unable to create dashboards on latest revision of trunk.

2015-02-11 Thread Mansi Singhal
Hey Lars, dashboardItem table has uid column. PFA the snapshot for the same. On Wed, Feb 11, 2015 at 2:33 PM, Lars Helge Øverland larshe...@gmail.com wrote: Hi Mansi, can you also check whether table dashboarditem also contains a uid column? Lars -- Regards, Mansi Singhal

Re: [Dhis2-devs] Unable to create dashboards on latest revision of trunk.

2015-02-11 Thread Mansi Singhal
Hey Morten, Dashboard table contains the UID column. This is something else. Can you please look into the issue. On Wed, Feb 11, 2015 at 1:05 PM, Morten Olav Hansen morte...@gmail.com wrote: This is probably related to the other TW bug reported on this list? If dashboards don't have UIDs, it

Re: [Dhis2-devs] Unable to create dashboards on latest revision of trunk.

2015-02-11 Thread Morten Olav Hansen
Is it only through the web-api you see the issue? I can create a new one through the UI just fine in the latest revision (on a empty db). I will test it with the web-api soon. -- Morten On Wed, Feb 11, 2015 at 3:23 PM, Mansi Singhal msing...@thoughtworks.com wrote: PFA the snapshot of

Re: [Dhis2-devs] Error on DHIS startup

2015-02-11 Thread Lars Helge Øverland
Okay thanks. On Wed, Feb 11, 2015 at 9:22 AM, Sandesh Sukumar Doolipeta sande...@thoughtworks.com wrote: Hi lars dan , Looks like this was happening only on my machine. It was not reproducible in other machines. On Tue, Feb 10, 2015 at 9:59 PM, Dan Cocos d...@dancocos.com wrote:

Re: [Dhis2-devs] Unable to create dashboards on latest revision of trunk.

2015-02-11 Thread Lars Helge Øverland
Hi Mansi, can you also check whether table dashboarditem also contains a uid column? Lars ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help :

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18221: tracker-capture: apply openAfterEnrollment property of program stage; some refactoring of enrollm...

2015-02-11 Thread noreply
revno: 18221 committer: Abyot Asalefew Gizaw aby...@gmail.com branch nick: dhis2 timestamp: Wed 2015-02-11 12:52:21 +0100 message: tracker-capture: apply openAfterEnrollment property of program stage; some refactoring of enrollment

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18222: tracker-capture: fix from Markus

2015-02-11 Thread noreply
revno: 18222 committer: Abyot Asalefew Gizaw aby...@gmail.com branch nick: dhis2 timestamp: Wed 2015-02-11 13:05:49 +0100 message: tracker-capture: fix from Markus modified:

Re: [Dhis2-devs] Is it possible to change the passwd of the users using the API??

2015-02-11 Thread Jose Garcia Muñoz
Thanks Lars, Morten, Now the payload I am using is: { userCredentials: {password: new_passwd, id: AMuabF1Lrct, name: user_name, code: user_code, created: 2014-11-27T18:24:05.888+, (Do I need this?) lastUpdated: 2015-02-11T11:57:58.116+} (Do I need this?) } But still

Re: [Dhis2-devs] Is it possible to change the passwd of the users using the API??

2015-02-11 Thread Jose Garcia Muñoz
sure, curl.exe -X PATCH -d @c:\file.json -u myuser:mypasswd http://localhost:8080/dhis/api/users/zNdlm77vil8/userCredentials; On Wed, Feb 11, 2015 at 2:01 PM, Morten Olav Hansen morte...@gmail.com wrote: Can you give me the full cURL command you are using for this? including headers etc

Re: [Dhis2-devs] Is it possible to change the passwd of the users using the API??

2015-02-11 Thread Morten Olav Hansen
You need to include the content-type of what you are sending. -H Content-Type: application/json -- Morten On Wed, Feb 11, 2015 at 8:08 PM, Jose Garcia Muñoz josem...@gmail.com wrote: sure, curl.exe -X PATCH -d @c:\file.json -u myuser:mypasswd

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 18223: ER EV support for booleans.

2015-02-11 Thread noreply
Merge authors: Jan Henrik Øverland (janhenrik-overland) revno: 18223 [merge] committer: Jan Henrik Overland janhenrik.overl...@gmail.com branch nick: dhis2 timestamp: Wed 2015-02-11 14:21:56 +0100 message: ER EV support for booleans.

Re: [Dhis2-devs] Is it possible to change the passwd of the users using the API??

2015-02-11 Thread Morten Olav Hansen
Can you give me the full cURL command you are using for this? including headers etc -- Morten On Wed, Feb 11, 2015 at 7:07 PM, Jose Garcia Muñoz josem...@gmail.com wrote: Thanks Lars, Morten, Now the payload I am using is: { userCredentials: {password: new_passwd, id: AMuabF1Lrct,

Re: [Dhis2-devs] Is it possible to change the passwd of the users using the API??

2015-02-11 Thread Jose Garcia Muñoz
ups... :) You are right, I completely forgot the Content-Type, sorry. Almost there. The tomcat console gives me the following message: * INFO 2015-02-11 14:23:26,119 'devapp' update org.hisp.dhis.user.User, name: , uid: zNdlm77vil8 (AuditLogUtil.java [http-apr-8080-exec-9]) So everything

Re: [Dhis2-devs] Is it possible to change the passwd of the users using the API??

2015-02-11 Thread Lars Helge Øverland
Hi Jose, try specifying username instead of name property. Lars On Wed, Feb 11, 2015 at 2:32 PM, Jose Garcia Muñoz josem...@gmail.com wrote: ups... :) You are right, I completely forgot the Content-Type, sorry. Almost there. The tomcat console gives me the following message: * INFO