[Dhis2-devs] Creation of bulk user.

2014-05-07 Thread Hannan Khan
Dear Experts

We are in a need of creating bulk users (8000) and org unit assignment. I
created script for testing but facing problem populating password and UUID.
Please advice how can I do that?

I try to update password using crypt function and gen_salt function but the
length of the password are different and doesn't working. Please advise.

Regards

*Hannan Khan*

--

Senior Technical Advisor - Health Information Systems

Health Sector

Deutsche Gesellschaft für Internationale Zusammenarbeit (GIZ) GmbH

House10/A, Road 90, Gulshan 2, Dhaka 1212, Bangladesh



T +880-2- 8816459, 8816412 ext 118
F +88 02 8813 875

M+88 01819 239 241

M+88 01534 312 066
E hannan.k...@giz.de

I   www.giz.de

S hannan.khan.dhaka

B hannan-tech.blogspot.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Creation of bulk user.

2014-05-07 Thread Jason Pickering
Hi Hannan,
This has been discussed (again) recently on this list.

http://dhis-developers-list.1563109.n2.nabble.com/Password-Generation-td7590749.html#a7590750

http://dhis-developers-list.1563109.n2.nabble.com/USERS-Password-td7591703.html#a7591704

There are a few more as well in the archives if you dig a bit.

Regards,
Jason



On Wed, May 7, 2014 at 8:10 AM, Hannan Khan hann...@gmail.com wrote:

 Dear Experts

 We are in a need of creating bulk users (8000) and org unit assignment. I
 created script for testing but facing problem populating password and UUID.
 Please advice how can I do that?

 I try to update password using crypt function and gen_salt function but
 the length of the password are different and doesn't working. Please advise.

 Regards

 *Hannan Khan*

 --

 Senior Technical Advisor - Health Information Systems

 Health Sector

 Deutsche Gesellschaft für Internationale Zusammenarbeit (GIZ) GmbH

 House10/A, Road 90, Gulshan 2, Dhaka 1212, Bangladesh



 T +880-2- 8816459, 8816412 ext 118
 F +88 02 8813 875

 M+88 01819 239 241

 M+88 01534 312 066
 E hannan.k...@giz.de

 I   www.giz.de

 S hannan.khan.dhaka

 B hannan-tech.blogspot.com

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


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


Re: [Dhis2-devs] [Dhis2-users] Creation of bulk user.

2014-05-07 Thread Brajesh Murari
Dear Mr. Khan

length of the password should not be an issue in creating bulk users in 

DHIS2,if and only if it does't violet any validation checks, like

1. Password should start with Capital letter.
2. Password should contains at least one neumaric character.
3. Password length should not be less than 8 alpha neumaric characters.
4. Password length should not be greater than . ! etc.

There might be n number of ways one can create user in DHIS2. 
But if you are using authentic user creation process, than that 

should not make any issue in bull users creation.


We are not that much sure, which approach you are following in 

creating more than one users in DHIS2 in your personal script. 

 
Regards
Brajesh Murari 


P please consider the environment before printing this email
On Wednesday, 7 May 2014 11:40 AM, Hannan Khan hann...@gmail.com wrote:
 
Dear Experts

We are in a need of creating bulk users (8000) and org unit assignment. I 
created script for testing but facing problem populating password and UUID. 
Please advice how can I do that?

I try to update password using crypt function and gen_salt function but the 
length of the password are different and doesn't working. Please advise.

Regards

Hannan Khan
--
Senior Technical
Advisor - Health Information Systems
Health Sector 
Deutsche Gesellschaft
für Internationale Zusammenarbeit (GIZ) GmbH 
House10/A, Road 90,
Gulshan 2, Dhaka 1212, Bangladesh
 
T
+880-2- 8816459, 8816412 ext 118
F +88 02 8813 875
M+88
01819 239 241
M+88
01534 312 066
E hannan.k...@giz.de
I   www.giz.de
S hannan.khan.dhaka
B hannan-tech.blogspot.com
___
Mailing list: https://launchpad.net/~dhis2-users
Post to     : dhis2-us...@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Creation of bulk user.

2014-05-07 Thread Hannan Khan
Thanks Jason. Password issues are there and we are trying with that but
what about the UUID?

Regards

Hannan


On Wed, May 7, 2014 at 12:14 PM, Jason Pickering 
jason.p.picker...@gmail.com wrote:

 Hi Hannan,
 This has been discussed (again) recently on this list.


 http://dhis-developers-list.1563109.n2.nabble.com/Password-Generation-td7590749.html#a7590750


 http://dhis-developers-list.1563109.n2.nabble.com/USERS-Password-td7591703.html#a7591704

 There are a few more as well in the archives if you dig a bit.

 Regards,
 Jason



 On Wed, May 7, 2014 at 8:10 AM, Hannan Khan hann...@gmail.com wrote:

 Dear Experts

 We are in a need of creating bulk users (8000) and org unit assignment. I
 created script for testing but facing problem populating password and UUID.
 Please advice how can I do that?

 I try to update password using crypt function and gen_salt function but
 the length of the password are different and doesn't working. Please advise.

 Regards

  *Hannan Khan*

 --

 Senior Technical Advisor - Health Information Systems

 Health Sector

 Deutsche Gesellschaft für Internationale Zusammenarbeit (GIZ) GmbH

 House10/A, Road 90, Gulshan 2, Dhaka 1212, Bangladesh



 T +880-2- 8816459, 8816412 ext 118
 F +88 02 8813 875

 M+88 01819 239 241

 M+88 01534 312 066
 E hannan.k...@giz.de

 I   www.giz.de

 S hannan.khan.dhaka

 B hannan-tech.blogspot.com

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



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


Re: [Dhis2-devs] [Dhis2-users] Creation of bulk user.

2014-05-07 Thread Hannan Khan
No. It seems that uuid is not automatically generated. Please suggest.

Regards

Hannan
On May 7, 2014 1:34 PM, Jason Pickering jason.p.picker...@gmail.com
wrote:

 The UUID will be generated automatically, so no need to worry about it.

 Regards,
 Jason



 On Wed, May 7, 2014 at 9:29 AM, Hannan Khan hann...@gmail.com wrote:

 Thanks Jason. Password issues are there and we are trying with that but
 what about the UUID?

 Regards

 Hannan


 On Wed, May 7, 2014 at 12:14 PM, Jason Pickering 
 jason.p.picker...@gmail.com wrote:

 Hi Hannan,
 This has been discussed (again) recently on this list.


 http://dhis-developers-list.1563109.n2.nabble.com/Password-Generation-td7590749.html#a7590750


 http://dhis-developers-list.1563109.n2.nabble.com/USERS-Password-td7591703.html#a7591704

 There are a few more as well in the archives if you dig a bit.

 Regards,
 Jason



  On Wed, May 7, 2014 at 8:10 AM, Hannan Khan hann...@gmail.com wrote:

  Dear Experts

 We are in a need of creating bulk users (8000) and org unit assignment.
 I created script for testing but facing problem populating password and
 UUID. Please advice how can I do that?

 I try to update password using crypt function and gen_salt function but
 the length of the password are different and doesn't working. Please 
 advise.

 Regards

  *Hannan Khan*

 --

 Senior Technical Advisor - Health Information Systems

 Health Sector

 Deutsche Gesellschaft für Internationale Zusammenarbeit (GIZ) GmbH

 House10/A, Road 90, Gulshan 2, Dhaka 1212, Bangladesh



 T +880-2- 8816459, 8816412 ext 118
 F +88 02 8813 875

 M+88 01819 239 241

 M+88 01534 312 066
 E hannan.k...@giz.de

 I   www.giz.de

 S hannan.khan.dhaka

 B hannan-tech.blogspot.com

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





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


Re: [Dhis2-devs] [Dhis2-users] Creation of bulk user.

2014-05-07 Thread Jason Pickering
If it is blank then the database will regenerate it automatically when you
restart (I think. This is what happens with other objects which have a
uuid). That is the easiest way.

If you are preparing SQL for injection of the users and you want to
pregenerate them, you can use which ever tool you are using to generate the
SQL to provide you UUIDs as well. Postgresql's uuid-ossp package, R's
uuid package, or the system command uuid on Linux are all ways of
getting them. I am sure they can be done easily in Java or other languages.
So, it really depends on which tools you are using to prepare the SQL for
inserting them into the DHIS2 database.

Regards,
Jason



On Wed, May 7, 2014 at 10:07 AM, Hannan Khan hann...@gmail.com wrote:

 No. It seems that uuid is not automatically generated. Please suggest.

 Regards

 Hannan
 On May 7, 2014 1:34 PM, Jason Pickering jason.p.picker...@gmail.com
 wrote:

 The UUID will be generated automatically, so no need to worry about it.

 Regards,
 Jason



 On Wed, May 7, 2014 at 9:29 AM, Hannan Khan hann...@gmail.com wrote:

 Thanks Jason. Password issues are there and we are trying with that but
 what about the UUID?

  Regards

 Hannan


 On Wed, May 7, 2014 at 12:14 PM, Jason Pickering 
 jason.p.picker...@gmail.com wrote:

 Hi Hannan,
 This has been discussed (again) recently on this list.


 http://dhis-developers-list.1563109.n2.nabble.com/Password-Generation-td7590749.html#a7590750


 http://dhis-developers-list.1563109.n2.nabble.com/USERS-Password-td7591703.html#a7591704

 There are a few more as well in the archives if you dig a bit.

 Regards,
 Jason



  On Wed, May 7, 2014 at 8:10 AM, Hannan Khan hann...@gmail.com wrote:

  Dear Experts

 We are in a need of creating bulk users (8000) and org unit
 assignment. I created script for testing but facing problem populating
 password and UUID. Please advice how can I do that?

 I try to update password using crypt function and gen_salt function
 but the length of the password are different and doesn't working. Please
 advise.

 Regards

  *Hannan Khan*

 --

 Senior Technical Advisor - Health Information Systems

 Health Sector

 Deutsche Gesellschaft für Internationale Zusammenarbeit (GIZ) GmbH

 House10/A, Road 90, Gulshan 2, Dhaka 1212, Bangladesh



 T +880-2- 8816459, 8816412 ext 118
 F +88 02 8813 875

 M+88 01819 239 241

 M+88 01534 312 066
 E hannan.k...@giz.de

 I   www.giz.de

 S hannan.khan.dhaka

 B hannan-tech.blogspot.com

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





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


Re: [Dhis2-devs] [Dhis2-users] Creation of bulk user.

2014-05-07 Thread Knut Staring
The easiest is to restart DHIS2 (Tomcat)


On Wed, May 7, 2014 at 10:14 AM, Jason Pickering 
jason.p.picker...@gmail.com wrote:

 If it is blank then the database will regenerate it automatically when you
 restart (I think. This is what happens with other objects which have a
 uuid). That is the easiest way.

 If you are preparing SQL for injection of the users and you want to
 pregenerate them, you can use which ever tool you are using to generate the
 SQL to provide you UUIDs as well. Postgresql's uuid-ossp package, R's
 uuid package, or the system command uuid on Linux are all ways of
 getting them. I am sure they can be done easily in Java or other languages.
 So, it really depends on which tools you are using to prepare the SQL for
 inserting them into the DHIS2 database.

 Regards,
 Jason



 On Wed, May 7, 2014 at 10:07 AM, Hannan Khan hann...@gmail.com wrote:

 No. It seems that uuid is not automatically generated. Please suggest.

 Regards

 Hannan
 On May 7, 2014 1:34 PM, Jason Pickering jason.p.picker...@gmail.com
 wrote:

 The UUID will be generated automatically, so no need to worry about it.

 Regards,
 Jason



 On Wed, May 7, 2014 at 9:29 AM, Hannan Khan hann...@gmail.com wrote:

 Thanks Jason. Password issues are there and we are trying with that but
 what about the UUID?

  Regards

 Hannan


 On Wed, May 7, 2014 at 12:14 PM, Jason Pickering 
 jason.p.picker...@gmail.com wrote:

 Hi Hannan,
 This has been discussed (again) recently on this list.


 http://dhis-developers-list.1563109.n2.nabble.com/Password-Generation-td7590749.html#a7590750


 http://dhis-developers-list.1563109.n2.nabble.com/USERS-Password-td7591703.html#a7591704

 There are a few more as well in the archives if you dig a bit.

 Regards,
 Jason



  On Wed, May 7, 2014 at 8:10 AM, Hannan Khan hann...@gmail.comwrote:

  Dear Experts

 We are in a need of creating bulk users (8000) and org unit
 assignment. I created script for testing but facing problem populating
 password and UUID. Please advice how can I do that?

 I try to update password using crypt function and gen_salt function
 but the length of the password are different and doesn't working. Please
 advise.

 Regards

  *Hannan Khan*

 --

 Senior Technical Advisor - Health Information Systems

 Health Sector

 Deutsche Gesellschaft für Internationale Zusammenarbeit (GIZ) GmbH

 House10/A, Road 90, Gulshan 2, Dhaka 1212, Bangladesh



 T +880-2- 8816459, 8816412 ext 118
 F +88 02 8813 875

 M+88 01819 239 241

 M+88 01534 312 066
 E hannan.k...@giz.de

 I   www.giz.de

 S hannan.khan.dhaka

 B hannan-tech.blogspot.com

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








-- 
Knut Staring
Dept. of Informatics, University of Oslo
+4791880522
http://dhis2.org
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Dhis2-users] Creation of bulk user.

2014-05-07 Thread Lars Helge Øverland
Hi,

it is correct that missing UIDs will be generated on system startup.

I think what is being referred to here is dhis UID and not an UUID. There
are ways to generate dhis UIDs through the web api but it's just much
simpler to restart tomcat.

regards,

Lars



On Wed, May 7, 2014 at 10:19 AM, Knut Staring knu...@gmail.com wrote:

 The easiest is to restart DHIS2 (Tomcat)


 On Wed, May 7, 2014 at 10:14 AM, Jason Pickering 
 jason.p.picker...@gmail.com wrote:

 If it is blank then the database will regenerate it automatically when
 you restart (I think. This is what happens with other objects which have a
 uuid). That is the easiest way.

 If you are preparing SQL for injection of the users and you want to
 pregenerate them, you can use which ever tool you are using to generate the
 SQL to provide you UUIDs as well. Postgresql's uuid-ossp package, R's
 uuid package, or the system command uuid on Linux are all ways of
 getting them. I am sure they can be done easily in Java or other languages.
 So, it really depends on which tools you are using to prepare the SQL for
 inserting them into the DHIS2 database.

 Regards,
 Jason



 On Wed, May 7, 2014 at 10:07 AM, Hannan Khan hann...@gmail.com wrote:

 No. It seems that uuid is not automatically generated. Please suggest.

 Regards

 Hannan
 On May 7, 2014 1:34 PM, Jason Pickering jason.p.picker...@gmail.com
 wrote:

 The UUID will be generated automatically, so no need to worry about it.

 Regards,
 Jason



 On Wed, May 7, 2014 at 9:29 AM, Hannan Khan hann...@gmail.com wrote:

 Thanks Jason. Password issues are there and we are trying with that
 but what about the UUID?

  Regards

 Hannan


 On Wed, May 7, 2014 at 12:14 PM, Jason Pickering 
 jason.p.picker...@gmail.com wrote:

 Hi Hannan,
 This has been discussed (again) recently on this list.


 http://dhis-developers-list.1563109.n2.nabble.com/Password-Generation-td7590749.html#a7590750


 http://dhis-developers-list.1563109.n2.nabble.com/USERS-Password-td7591703.html#a7591704

 There are a few more as well in the archives if you dig a bit.

 Regards,
 Jason



  On Wed, May 7, 2014 at 8:10 AM, Hannan Khan hann...@gmail.comwrote:

  Dear Experts

 We are in a need of creating bulk users (8000) and org unit
 assignment. I created script for testing but facing problem populating
 password and UUID. Please advice how can I do that?

 I try to update password using crypt function and gen_salt function
 but the length of the password are different and doesn't working. Please
 advise.

 Regards

  *Hannan Khan*

 --

 Senior Technical Advisor - Health Information Systems

 Health Sector

 Deutsche Gesellschaft für Internationale Zusammenarbeit (GIZ) GmbH

 House10/A, Road 90, Gulshan 2, Dhaka 1212, Bangladesh



 T +880-2- 8816459, 8816412 ext 118
 F +88 02 8813 875

 M+88 01819 239 241

 M+88 01534 312 066
 E hannan.k...@giz.de

 I   www.giz.de

 S hannan.khan.dhaka

 B hannan-tech.blogspot.com

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








 --
 Knut Staring
 Dept. of Informatics, University of Oslo
 +4791880522
 http://dhis2.org

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


Re: [Dhis2-devs] [Dhis2-users] Creation of bulk user.

2014-05-07 Thread Kenneth Børtveit
You can try using this .jar file.

It is not very prepared, but I think it can help you.

I used this to create users from a csv file.

It is not user friendly, so just let me know if you need any help.
​
 
user_importer.jarhttps://docs.google.com/file/d/0B-3Ir8CscLiLcFloWGpVeDJ1czQ/edit?usp=drive_web
​


2014-05-07 10:38 GMT+02:00 Lars Helge Øverland larshe...@gmail.com:

 Hi,

 it is correct that missing UIDs will be generated on system startup.

 I think what is being referred to here is dhis UID and not an UUID. There
 are ways to generate dhis UIDs through the web api but it's just much
 simpler to restart tomcat.

 regards,

 Lars



 On Wed, May 7, 2014 at 10:19 AM, Knut Staring knu...@gmail.com wrote:

 The easiest is to restart DHIS2 (Tomcat)


 On Wed, May 7, 2014 at 10:14 AM, Jason Pickering 
 jason.p.picker...@gmail.com wrote:

 If it is blank then the database will regenerate it automatically when
 you restart (I think. This is what happens with other objects which have a
 uuid). That is the easiest way.

 If you are preparing SQL for injection of the users and you want to
 pregenerate them, you can use which ever tool you are using to generate the
 SQL to provide you UUIDs as well. Postgresql's uuid-ossp package, R's
 uuid package, or the system command uuid on Linux are all ways of
 getting them. I am sure they can be done easily in Java or other languages.
 So, it really depends on which tools you are using to prepare the SQL for
 inserting them into the DHIS2 database.

 Regards,
 Jason



 On Wed, May 7, 2014 at 10:07 AM, Hannan Khan hann...@gmail.com wrote:

 No. It seems that uuid is not automatically generated. Please suggest.

 Regards

 Hannan
 On May 7, 2014 1:34 PM, Jason Pickering jason.p.picker...@gmail.com
 wrote:

 The UUID will be generated automatically, so no need to worry about
 it.

 Regards,
 Jason



 On Wed, May 7, 2014 at 9:29 AM, Hannan Khan hann...@gmail.com wrote:

 Thanks Jason. Password issues are there and we are trying with that
 but what about the UUID?

  Regards

 Hannan


 On Wed, May 7, 2014 at 12:14 PM, Jason Pickering 
 jason.p.picker...@gmail.com wrote:

 Hi Hannan,
 This has been discussed (again) recently on this list.


 http://dhis-developers-list.1563109.n2.nabble.com/Password-Generation-td7590749.html#a7590750


 http://dhis-developers-list.1563109.n2.nabble.com/USERS-Password-td7591703.html#a7591704

 There are a few more as well in the archives if you dig a bit.

 Regards,
 Jason



  On Wed, May 7, 2014 at 8:10 AM, Hannan Khan hann...@gmail.comwrote:

  Dear Experts

 We are in a need of creating bulk users (8000) and org unit
 assignment. I created script for testing but facing problem populating
 password and UUID. Please advice how can I do that?

 I try to update password using crypt function and gen_salt function
 but the length of the password are different and doesn't working. 
 Please
 advise.

 Regards

  *Hannan Khan*

 --

 Senior Technical Advisor - Health Information Systems

 Health Sector

 Deutsche Gesellschaft für Internationale Zusammenarbeit (GIZ) GmbH

 House10/A, Road 90, Gulshan 2, Dhaka 1212, Bangladesh



 T +880-2- 8816459, 8816412 ext 118
 F +88 02 8813 875

 M+88 01819 239 241

 M+88 01534 312 066
 E hannan.k...@giz.de

 I   www.giz.de

 S hannan.khan.dhaka

 B hannan-tech.blogspot.com

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








 --
 Knut Staring
 Dept. of Informatics, University of Oslo
 +4791880522
 http://dhis2.org



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


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


[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 15187: [mobile] temporarily disable old method while switching to new one

2014-05-07 Thread noreply

revno: 15187
committer: Long long.hispviet...@gmail.com
branch nick: trunk
timestamp: Wed 2014-05-07 15:42:57 +0700
message:
  [mobile] temporarily disable old method while switching to new one
modified:
  
dhis-2/dhis-services/dhis-service-mobile/src/main/java/org/hisp/dhis/mobile/service/ActivityReportingServiceImpl.java


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-services/dhis-service-mobile/src/main/java/org/hisp/dhis/mobile/service/ActivityReportingServiceImpl.java'
--- dhis-2/dhis-services/dhis-service-mobile/src/main/java/org/hisp/dhis/mobile/service/ActivityReportingServiceImpl.java	2014-05-05 10:16:05 +
+++ dhis-2/dhis-services/dhis-service-mobile/src/main/java/org/hisp/dhis/mobile/service/ActivityReportingServiceImpl.java	2014-05-07 08:42:57 +
@@ -1641,8 +1641,11 @@
 
 searchTextList.add( searchText );
 orgUnitList.add( organisationUnitService.getOrganisationUnit( orgUnitId ) );
-ListInteger stageInstanceIds = entityInstanceService.getProgramStageInstances( searchTextList, orgUnitList,
-followUp, ProgramInstance.STATUS_ACTIVE, null, null );
+
+ListInteger stageInstanceIds = new ArrayListInteger();
+
+//ListInteger stageInstanceIds = entityInstanceService.getProgramStageInstances( searchTextList, orgUnitList,
+//followUp, ProgramInstance.STATUS_ACTIVE, null, null );
 
 if ( stageInstanceIds.size() == 0 )
 {

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


[Dhis2-devs] Hibernate configuration loaded issue in dhis2.13

2014-05-07 Thread Brajesh Murari
Hello Devs,

From today morning, i am facing an issue not across but around hibernate 
configuration load before run-time start-up routine 

execution, when i am trying to build [dhis-web-maintainence-users] and running 
using jetty plugin. 


* INFO  2014-05-07 14:10:09,391 Hibernate configuration loaded, using dialect: 
org.hibernate.dialect.MySQLDialect (DefaultHibernateConfigurationProvider.java 
[main])


After this steep, start-up routine seems like getting paused for little extra 
time than usual. 

I am using dhis2.13 for this build process and hibernate dialect info is given 
below

hibernate.dialect = org.hibernate.dialect.MySQLDialect
#hibernate.dialect org.hibernate.dialect.MySQLInnoDBDialect
#hibernate.dialect = org.hibernate.dialect.MySQLMyISAMDialect


Can i know how can i make it work properly ! Advice provided is appreciated on 
this issue.

 
Regards
Brajesh Murari 


P please consider the environment before printing this email___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Hibernate configuration loaded issue in dhis2.13

2014-05-07 Thread Lars Helge Øverland
Hi Brajesh,

can you try to start one more time? It could be some startup routines
related to datavalue table which takes time and is run only once.

Lars



On Wed, May 7, 2014 at 10:49 AM, Brajesh Murari brajeshmur...@yahoo.inwrote:

 Hello Devs,

 From today morning, i am facing an issue not across but around hibernate
 configuration load before run-time start-up routine
 execution, when i am trying to build [dhis-web-maintainence-users] and
 running using jetty plugin.

 * INFO  2014-05-07 14:10:09,391 Hibernate configuration loaded, using
 dialect: org.hibernate.dialect.MySQLDialect
 (DefaultHibernateConfigurationProvider.java [main])

 After this steep, start-up routine seems like getting paused for little
 extra time than usual.
 I am using dhis2.13 for this build process and hibernate dialect info is
 given below

 hibernate.dialect = org.hibernate.dialect.MySQLDialect
 #hibernate.dialect org.hibernate.dialect.MySQLInnoDBDialect
 #hibernate.dialect = org.hibernate.dialect.MySQLMyISAMDialect

 Can i know how can i make it work properly ! Advice provided is
 appreciated on this issue.

 Regards
 Brajesh Murari


 P please consider the environment before printing this email

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


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


Re: [Dhis2-devs] Hibernate configuration loaded issue in dhis2.13

2014-05-07 Thread Lars Helge Øverland
OK the problem is likely wrong connection url, username or password which
prohibits dhis to connect properly to db.


On Wed, May 7, 2014 at 11:23 AM, Brajesh Murari brajeshmur...@yahoo.inwrote:

 Yes. but this issue comes before start-up routine execution. I have just
 restarted the system and than started one more time the build process but
 still posed and hanged round and round around

 * INFO  2014-05-07 14:43:12,360 Hibernate configuration loaded, using
 dialect: org.hibernate.dialect.MySQLDialect
 (DefaultHibernateConfigurationProvider.java [main])

 My jetty plugin seems does't allow me to let me go in further steeps to
 see start-up routine execution.
 This is very serious issue crossing me in normal star-up routine execution.

 Regards
 Brajesh Murari


 P please consider the environment before printing this email
   On Wednesday, 7 May 2014 2:39 PM, Lars Helge Øverland 
 larshe...@gmail.com wrote:
  Hi Brajesh,

 can you try to start one more time? It could be some startup routines
 related to datavalue table which takes time and is run only once.

 Lars



 On Wed, May 7, 2014 at 10:49 AM, Brajesh Murari brajeshmur...@yahoo.inwrote:

 Hello Devs,

 From today morning, i am facing an issue not across but around hibernate
 configuration load before run-time start-up routine
 execution, when i am trying to build [dhis-web-maintainence-users] and
 running using jetty plugin.

 * INFO  2014-05-07 14:10:09,391 Hibernate configuration loaded, using
 dialect: org.hibernate.dialect.MySQLDialect
 (DefaultHibernateConfigurationProvider.java [main])

 After this steep, start-up routine seems like getting paused for little
 extra time than usual.
 I am using dhis2.13 for this build process and hibernate dialect info is
 given below

 hibernate.dialect = org.hibernate.dialect.MySQLDialect
 #hibernate.dialect org.hibernate.dialect.MySQLInnoDBDialect
 #hibernate.dialect = org.hibernate.dialect.MySQLMyISAMDialect

 Can i know how can i make it work properly ! Advice provided is
 appreciated on this issue.

 Regards
 Brajesh Murari


 P please consider the environment before printing this email

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





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


[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 15189: Removed now unused methods in tracked entity instance store/service

2014-05-07 Thread noreply

revno: 15189
committer: Lars Helge Overland larshe...@gmail.com
branch nick: dhis2
timestamp: Wed 2014-05-07 11:33:33 +0200
message:
  Removed now unused methods in tracked entity instance store/service
modified:
  
dhis-2/dhis-api/src/main/java/org/hisp/dhis/trackedentity/TrackedEntityInstanceService.java
  
dhis-2/dhis-api/src/main/java/org/hisp/dhis/trackedentity/TrackedEntityInstanceStore.java
  
dhis-2/dhis-services/dhis-service-tracker/src/main/java/org/hisp/dhis/trackedentity/DefaultTrackedEntityInstanceService.java
  
dhis-2/dhis-services/dhis-service-tracker/src/main/java/org/hisp/dhis/trackedentity/hibernate/HibernateTrackedEntityInstanceStore.java
  
dhis-2/dhis-services/dhis-service-tracker/src/test/java/org/hisp/dhis/trackedentity/TrackedEntityInstanceServiceTest.java
  
dhis-2/dhis-services/dhis-service-tracker/src/test/java/org/hisp/dhis/trackedentity/TrackedEntityInstanceStoreTest.java
  
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-organisationunit/src/main/java/org/hisp/dhis/oum/action/organisationunit/AddOrganisationUnitAction.java
  
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-organisationunit/src/main/java/org/hisp/dhis/oum/action/organisationunit/UpdateOrganisationUnitAction.java
  
dhis-2/dhis-web/dhis-web-sms/src/main/java/org/hisp/dhis/sms/outcoming/SearchPatientAction.java


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/trackedentity/TrackedEntityInstanceService.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/trackedentity/TrackedEntityInstanceService.java	2014-05-07 09:03:42 +
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/trackedentity/TrackedEntityInstanceService.java	2014-05-07 09:33:33 +
@@ -154,7 +154,7 @@
  * @return a collection of all TrackedEntityInstance, or an empty collection
  * if there are no TrackedEntityInstances.
  */
-CollectionTrackedEntityInstance getAllTrackedEntityInstances();
+//CollectionTrackedEntityInstance getAllTrackedEntityInstances();
 
 /**
  * Retrieve entityInstances for mobile base on identifier value
@@ -184,7 +184,7 @@
  * @param program Program
  * @return TrackedEntityInstance list
  */
-CollectionTrackedEntityInstance getTrackedEntityInstances( Program program );
+//CollectionTrackedEntityInstance getTrackedEntityInstances( Program program );
 
 /**
  * Retrieve entityInstances registered in a orgunit and enrolled into a
@@ -194,7 +194,7 @@
  * @param program
  * @return
  */
-CollectionTrackedEntityInstance getTrackedEntityInstances( OrganisationUnit organisationUnit, Program program );
+//CollectionTrackedEntityInstance getTrackedEntityInstances( OrganisationUnit organisationUnit, Program program );
 
 /**
  * Retrieve entityInstances base on Attribute
@@ -225,8 +225,7 @@
  * @param attribute
  * @return TrackedEntityInstance List
  */
-CollectionTrackedEntityInstance sortTrackedEntityInstancesByAttribute(
-CollectionTrackedEntityInstance entityInstances, TrackedEntityAttribute attribute );
+//CollectionTrackedEntityInstance sortTrackedEntityInstancesByAttribute( CollectionTrackedEntityInstance entityInstances, TrackedEntityAttribute attribute );
 
 /**
  * Get entityInstances who has the same representative
@@ -273,7 +272,7 @@
  * 
  * @return The number of entityInstances
  */
-int countGetTrackedEntityInstancesByOrgUnit( OrganisationUnit organisationUnit );
+//int countGetTrackedEntityInstancesByOrgUnit( OrganisationUnit organisationUnit );
 
 /**
  * Get the number of entityInstances who registered into an organisation
@@ -284,7 +283,7 @@
  * 
  * @return The number of entityInstances
  */
-int countGetTrackedEntityInstancesByOrgUnitProgram( OrganisationUnit organisationUnit, Program program );
+//int countGetTrackedEntityInstancesByOrgUnitProgram( OrganisationUnit organisationUnit, Program program );
 
 /**
  * Cache value from String to the value type based on property
@@ -306,7 +305,7 @@
  * 
  * @return List of entityInstance
  */
-CollectionTrackedEntityInstance getTrackedEntityInstancesByPhone( String phoneNumber, Integer min, Integer max );
+//CollectionTrackedEntityInstance getTrackedEntityInstancesByPhone( String phoneNumber, Integer min, Integer max );
 
 /**
  * Validate entityInstance attributes and validation criteria by program
@@ -344,8 +343,7 @@
  * @return TrackedEntityInstance List
  */
 
-CollectionTrackedEntityInstance searchTrackedEntityInstancesForMobile( String searchText, int orgUnitId,
-int attributeId );
+

Re: [Dhis2-devs] Error Organunit 2.15

2014-05-07 Thread Lars Helge Øverland
Hi Riddy,

try clearing you browser cache completely (you can use this  options 
tick all)

https://chrome.google.com/webstore/detail/clear-cache/cppjkneekbjaeellbfkmgnhonkkjfpdn

Lars



On Wed, May 7, 2014 at 11:47 AM, riddy ndoma riddynd...@gmail.com wrote:

 Dear experts,
 I just added a unit of organization in the database. It worked well. it
 visible in the central page, by clicking on its parent organizational unit
 but not in the tree units of organizations.

 I'm using dhis2.15
 Cheers,

 --
 Riddy NDOMA
 Software Developer
 *Skype:* riddyndoma, *G+:* riddyndoma, *FB:* riddy ndoma
 *Twitter:* riddyndoma, *LinkedIn:* riddy ndoma
 *Blog:* http://riddyndoma.blogspot.com/

 Vous servir est mon désire (Serving you is my desire)

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


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


Re: [Dhis2-devs] Hibernate configuration loaded issue in dhis2.13

2014-05-07 Thread Brajesh Murari
Lars, url, username  password all are correct. It seems issue is some thing 
else and very comprehensive.
 
Regards
Brajesh Murari 


P please consider the environment before printing this email
On Wednesday, 7 May 2014 2:58 PM, Lars Helge Øverland larshe...@gmail.com 
wrote:
 
OK the problem is likely wrong connection url, username or password which 
prohibits dhis to connect properly to db.



On Wed, May 7, 2014 at 11:23 AM, Brajesh Murari brajeshmur...@yahoo.in wrote:

Yes. but this issue comes before start-up routine execution. I have just 
restarted the system and than started one more time the build process but still 
posed and hanged round and round around  

* INFO  2014-05-07 14:43:12,360 Hibernate configuration loaded, using dialect: 
org.hibernate.dialect.MySQLDialect (DefaultHibernateConfigurationProvider.java 
[main])


My jetty plugin seems does't allow me to let me go in further steeps to see 
start-up routine execution.
This is very serious issue crossing me in normal star-up routine execution.

 
Regards
Brajesh Murari 



P please consider the environment before printing this email
On Wednesday, 7 May 2014 2:39 PM, Lars Helge Øverland larshe...@gmail.com 
wrote:
 
Hi Brajesh,


can you try to start one more time? It could be some startup routines related 
to datavalue table which takes time and is run only once.


Lars





On Wed, May 7, 2014 at 10:49 AM, Brajesh Murari brajeshmur...@yahoo.in wrote:

Hello Devs,


From today morning, i am facing an issue not across but around hibernate 
configuration load before run-time start-up routine 

execution, when i am trying to build [dhis-web-maintainence-users] and 
running using jetty plugin. 



* INFO  2014-05-07 14:10:09,391 Hibernate configuration loaded, using 
dialect: org.hibernate.dialect.MySQLDialect 
(DefaultHibernateConfigurationProvider.java [main])



After this steep, start-up routine seems like getting paused for little extra 
time than usual. 

I am using dhis2.13 for this build process and hibernate dialect info is 
given below


hibernate.dialect = org.hibernate.dialect.MySQLDialect
#hibernate.dialect org.hibernate.dialect.MySQLInnoDBDialect
#hibernate.dialect = org.hibernate.dialect.MySQLMyISAMDialect



Can i know how can i make it work properly ! Advice provided is appreciated 
on this issue.

 
Regards
Brajesh Murari 



P please consider the environment before printing this email
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp




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


[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 15191: Style adjustments for searchable menu

2014-05-07 Thread noreply

revno: 15191
committer: Mark Polak mar...@ifi.uio.no
branch nick: dhis2
timestamp: Wed 2014-05-07 12:53:11 +0200
message:
  Style adjustments for searchable menu
modified:
  
dhis-2/dhis-services/dhis-service-i18n/src/main/resources/i18n_global.properties
  
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/menu.css
  
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.menu.js


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-services/dhis-service-i18n/src/main/resources/i18n_global.properties'
--- dhis-2/dhis-services/dhis-service-i18n/src/main/resources/i18n_global.properties	2014-05-06 09:20:18 +
+++ dhis-2/dhis-services/dhis-service-i18n/src/main/resources/i18n_global.properties	2014-05-07 10:53:11 +
@@ -829,7 +829,7 @@
 app_draggable_description=Items are draggable to change their order, so it's easy to customize your favorite apps.
 app_order_custom=My own order
 app_order_name_alpha=Alphabetical
-app_search_placeholder=Search in apps
+app_search_placeholder=Search apps
 
 #-- calendars --#
 

=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/menu.css'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/menu.css	2014-05-06 09:20:18 +
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/menu.css	2014-05-07 10:53:11 +
@@ -12,11 +12,16 @@
 }
 
 #apps-search {
-width: 330px;
+border: 1px solid #ccc;
+border-radius: 3px;
+outline: none;
 padding-right: 25px;
+padding-left: 5px;
+width: 328px;
 }
 
 .apps-search-wrap {
+padding-bottom: 10px;
 position: relative;
 width: 360px;
 }
@@ -31,7 +36,7 @@
 padding: 0;
 position: absolute;
 right: 5px;
-top: 24%;
+top: 18%;
 width: 20px;
 }
 
@@ -327,7 +332,7 @@
 {
 display: table;
 height: 34px;
-padding-top: 12px;
+padding-top: 8px;
 text-align: center;
 width: 360px;
 	margin-top: 5px;
@@ -375,15 +380,15 @@
 .menu-drop-down-wrap
 {
 overflow: hidden;
-height: 340px;
+height: 370px;
 }
 
 .menu-drop-down-scroll
 {
-height: 340px;
-width: 384px;
+height: 370px;
 overflow-y: auto;
 overflow-x: hidden;
+width: 384px;
 }
 
 #appsDropDown ul.menuDropDownBox {

=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.menu.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.menu.js	2014-05-06 09:20:18 +
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/dhis2/dhis2.menu.js	2014-05-07 10:53:11 +
@@ -629,7 +629,7 @@
 self.parent().css('width', '360px');
 self.parent().parent().css('width', '360px');
 } else {
-if (self.innerHeight() === 340 ) {
+if (self.innerHeight() === 370 ) {
 moreAppsElement.hide();
 self.parent().css('width', '384px');
 self.parent().parent().css('width', '384px');

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


Re: [Dhis2-devs] Error Organunit 2.15

2014-05-07 Thread Brajesh Murari
Hi Riddy,

What is difference between organization unit and organizational unit. I am 
getting little bit confused between these two words, 
even Google translator does't help me a lot. 


Regards
Brajesh Murari 


P please consider the environment before printing this email
On Wednesday, 7 May 2014 3:17 PM, riddy ndoma riddynd...@gmail.com wrote:
 
Dear experts, 
I just added a unit of organization in the database. It worked well. it visible 
in the central page, by clicking on its parent organizational unit but not in 
the tree units of organizations.

I'm using dhis2.15
Cheers,
-- 

Riddy NDOMA
Software Developer
Skype: riddyndoma, G+: riddyndoma, FB: riddy ndoma
Twitter: riddyndoma, LinkedIn: riddy ndoma
Blog: http://riddyndoma.blogspot.com/

Vous servir est mon désire (Serving you is my desire) 
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Error Organunit 2.15

2014-05-07 Thread Knut Staring
It is the same,  Brajesh. Both terms are fine.
Riddy, you really need to clear the cache the way Lars told you. Then
restart the browser. Also try incognito mode.
On 7 May 2014 13:32, Brajesh Murari brajeshmur...@yahoo.in wrote:

 Hi Riddy,

 What is difference between organization unit and organizational unit. I am
 getting little bit confused between these two words,
 even Google translator does't help me a lot.

 Regards
 Brajesh Murari


 P please consider the environment before printing this email
   On Wednesday, 7 May 2014 3:17 PM, riddy ndoma riddynd...@gmail.com
 wrote:
  Dear experts,
 I just added a unit of organization in the database. It worked well. it
 visible in the central page, by clicking on its parent organizational unit
 but not in the tree units of organizations.

 I'm using dhis2.15
 Cheers,

 --
 Riddy NDOMA
 Software Developer
 *Skype:* riddyndoma, *G+:* riddyndoma, *FB:* riddy ndoma
 *Twitter:* riddyndoma, *LinkedIn:* riddy ndoma
 *Blog:* http://riddyndoma.blogspot.com/

 Vous servir est mon désire (Serving you is my desire)

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



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


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


Re: [Dhis2-devs] Error Organunit 2.15

2014-05-07 Thread riddy ndoma
Thaks Lars, it work!!


2014-05-07 12:38 GMT+01:00 Knut Staring knu...@gmail.com:

 It is the same,  Brajesh. Both terms are fine.
 Riddy, you really need to clear the cache the way Lars told you. Then
 restart the browser. Also try incognito mode.
 On 7 May 2014 13:32, Brajesh Murari brajeshmur...@yahoo.in wrote:

 Hi Riddy,

 What is difference between organization unit and organizational unit. I
 am getting little bit confused between these two words,
 even Google translator does't help me a lot.

 Regards
 Brajesh Murari


 P please consider the environment before printing this email
On Wednesday, 7 May 2014 3:17 PM, riddy ndoma riddynd...@gmail.com
 wrote:
  Dear experts,
 I just added a unit of organization in the database. It worked well. it
 visible in the central page, by clicking on its parent organizational unit
 but not in the tree units of organizations.

 I'm using dhis2.15
 Cheers,

 --
 Riddy NDOMA
 Software Developer
 *Skype:* riddyndoma, *G+:* riddyndoma, *FB:* riddy ndoma
 *Twitter:* riddyndoma, *LinkedIn:* riddy ndoma
 *Blog:* http://riddyndoma.blogspot.com/

 Vous servir est mon désire (Serving you is my desire)

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



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




-- 
Riddy NDOMA
Software Developer
*Skype:* riddyndoma, *G+:* riddyndoma, *FB:* riddy ndoma
*Twitter:* riddyndoma, *LinkedIn:* riddy ndoma
*Blog:* http://riddyndoma.blogspot.com/

Vous servir est mon désire (Serving you is my desire)
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 15192: Style, configured font-face properly so that font-weight css property works as it should.

2014-05-07 Thread noreply

revno: 15192
committer: Lars Helge Overland larshe...@gmail.com
branch nick: dhis2
timestamp: Wed 2014-05-07 16:37:40 +0200
message:
  Style, configured font-face properly so that font-weight css property works 
as it should.
modified:
  
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/account.css
  
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/green/green.css
  
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/india/india.css
  
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/light_blue/light_blue.css
  
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/login.css
  
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/vietnam/vietnam.css
  
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/widgets.css


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/account.css'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/account.css	2013-12-30 13:12:08 +
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/account.css	2014-05-07 14:37:40 +
@@ -66,13 +66,28 @@
   color: #333;
 }
 
+/**/
+/* @font-face */
+/**/
+
 @font-face {
-font-family: 'LiberationSansRegular';
-src: url('../fonts/LiberationSans-Regular-webfont.eot');
-src: url('../fonts/LiberationSans-Regular-webfont.eot?#iefix') format('eot'),
- url('../fonts/LiberationSans-Regular-webfont.woff') format('woff'),
- url('../fonts/LiberationSans-Regular-webfont.ttf') format('truetype'),
- url('../fonts/LiberationSans-Regular-webfont.svg#webfontc8rbNdBe') format('svg');
+font-family: 'LiberationSans';
+src: url('../../fonts/LiberationSans-Regular-webfont.eot');
+src: url('../../fonts/LiberationSans-Regular-webfont.eot?#iefix') format('eot'),
+ url('../../fonts/LiberationSans-Regular-webfont.woff') format('woff'),
+ url('../../fonts/LiberationSans-Regular-webfont.ttf') format('truetype'),
+ url('../../fonts/LiberationSans-Regular-webfont.svg#webfontc8rbNdBe') format('svg');
 font-weight: normal;
 font-style: normal;
 }
+
+@font-face {
+font-family: 'LiberationSans';
+src: url('../../fonts/LiberationSans-Bold-webfont.eot');
+src: url('../../fonts/LiberationSans-Bold-webfont.eot?#iefix') format('eot'),
+ url('../../fonts/LiberationSans-Bold-webfont.woff') format('woff'),
+ url('../../fonts/LiberationSans-Bold-webfont.ttf') format('truetype'),
+ url('../../fonts/LiberationSans-Bold-webfont.svg#webfontHyWb8e07') format('svg');
+font-weight: bold;
+font-style: normal;
+}

=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/green/green.css'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/green/green.css	2014-04-29 12:49:25 +
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/green/green.css	2014-05-07 14:37:40 +
@@ -5,7 +5,7 @@
 
 * 
 {
-  font-family: LiberationSansRegular, arial, sans-serif;
+  font-family: LiberationSans, arial, sans-serif;
   line-height: 140%;
 }
 
@@ -76,7 +76,7 @@
   position: absolute;
   top: 12px;
   left: 175px;
-  font-family: LiberationSansBold, arial;
+  font-weight: bold;
   color: #fff;
   font-size: 16px;
 }
@@ -229,7 +229,7 @@
   margin: 16px 20px 1px 20px;
   padding: 8px 0 8px 0;
   font-weight: normal;
-  font-family: LiberationSansBold, arial;
+  font-family: LiberationSan, arial;
 }
 
 #leftBarContents ul
@@ -321,9 +321,8 @@
   text-align: left;
   color: #39547d;
   padding: 3px 0 3px 1px;
-  font-family: LiberationSansBold, arial;
   font-size: 13px;
-  font-weight: normal;
+  font-weight: bold;
   border-collapse: collapse;
   border-bottom: 1px solid #cad5e5;
   min-height: 28px;
@@ -388,12 +387,12 @@
 
 .bold, .bold td
 {
-  font-family: LiberationSansBold, arial, sans-serif;
+  font-weight: bold;
 }
 
 .normal
 {
-  font-family: LiberationSansRegular, arial, sans-serif;
+  font-weight: normal;
 }
 
 /**/
@@ -453,7 +452,7 @@
 
 .introItemHeader
 {
-  font-family: LiberationSansBold, arial;
+  font-weight: bold;
   color: #3F693F;
   font-size: 13px;
 }
@@ -468,7 

Re: [Dhis2-devs] Impact: Removed single event without registration feature from dhis-web-caseentry module. Replaced by event capture app

2014-05-07 Thread Adebusoye Anifalaje
Thanks Lars,

This was a bit confusing because it seemed the upgrade script had been run
but there is still a Patientdatavalue table with data in it. What happens
if the database had been upgraded to 2.15 and used extensively before the
upgrade script is run. I just tried to run the upgrade script again and get
the message: ERROR: table patientaggregatereportmembers does not exist.

Suggestions?

Thanks.

Busoye



On 7 May 2014 15:46, Lars Helge Øverland larshe...@gmail.com wrote:

 Hi Busyoe,

 what happened here is simply that we have removed the web user interface
 in individual records module for capturing single events with
 registration. You will find the same functionality with a simpler and
 better user interface in the new event capture app.

 The database (or dhis service layer) does not change at all due to this,
 and is not related to aggregation queries.

 For upgrading between 2.14 and 2.15 you must run the upgrade script which
 you can find next to the war file on dhis2.org/downloads, direct link:


 http://www.dhis2.org/download/resources/sql/rename-patient-to-trackedentity.sql

 This will rename the tables from patient* to trackedentity*



 cheers

 Lars






 On Wed, May 7, 2014 at 4:25 PM, Adebusoye Anifalaje bus...@hisp.orgwrote:

 Does this change mean that data entered for single event without
 registration will be stored in the trackedentitydatavalue table instead of
 patientdatavalue table. I am working on a single event without registration
 program. Aggregation does not work at all for all the aggregation queries.
 I copied the data from the patientdatavalue table to the
 trackedentitydatavalue table and this works (crooked way to go about it but
 experimenting). It would be useful to know which table the event capture
 app stores data and how this might help my case.

 Can anyone advise? I have already logged an entry on the user list about
 the requirements.

 Thanks.

 Regards,

 Busoye

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



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


Re: [Dhis2-devs] Impact: Removed single event without registration feature from dhis-web-caseentry module. Replaced by event capture app

2014-05-07 Thread Lars Helge Øverland
On Wed, May 7, 2014 at 5:39 PM, Adebusoye Anifalaje bus...@hisp.org wrote:

 Thanks Lars,

 This was a bit confusing because it seemed the upgrade script had been run
 but there is still a Patientdatavalue table with data in it. What happens
 if the database had been upgraded to 2.15 and used extensively before the
 upgrade script is run.


That is a bit bad. See below.


 I just tried to run the upgrade script again and get the message: ERROR:
 table patientaggregatereportmembers does not exist.


It is not a problem that certain statements in the script fail. That simply
means that the table has been removed or renamed earlier. Just make sure
that all statements in the script are executed, failing or succeeding.

Ideally you should run the upgrade script before deploying 2.15. If not,
some manual execution of the upgrade script statements must be done.
Starting DHIS 2.15 on a blank database and comparing that with your db is a
good tip.

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


[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 15193: [mobile] Rewrite lost to follow up method using query param

2014-05-07 Thread noreply

revno: 15193
committer: Long long.hispviet...@gmail.com
branch nick: trunk
timestamp: Thu 2014-05-08 11:49:26 +0700
message:
  [mobile] Rewrite lost to follow up method using query param
modified:
  
dhis-2/dhis-services/dhis-service-mobile/src/main/java/org/hisp/dhis/mobile/service/ActivityReportingServiceImpl.java
  
dhis-2/dhis-web/dhis-web-sms/src/main/java/org/hisp/dhis/sms/outcoming/SearchPatientAction.java


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-services/dhis-service-mobile/src/main/java/org/hisp/dhis/mobile/service/ActivityReportingServiceImpl.java'
--- dhis-2/dhis-services/dhis-service-mobile/src/main/java/org/hisp/dhis/mobile/service/ActivityReportingServiceImpl.java	2014-05-07 08:42:57 +
+++ dhis-2/dhis-services/dhis-service-mobile/src/main/java/org/hisp/dhis/mobile/service/ActivityReportingServiceImpl.java	2014-05-08 04:49:26 +
@@ -59,8 +59,10 @@
 import org.hisp.dhis.api.mobile.model.LWUITmodel.Notification;
 import org.hisp.dhis.api.mobile.model.LWUITmodel.Section;
 import org.hisp.dhis.api.mobile.model.comparator.ActivityComparator;
+import org.hisp.dhis.common.Grid;
 import org.hisp.dhis.dataelement.DataElement;
 import org.hisp.dhis.dataelement.DataElementService;
+import org.hisp.dhis.event.EventStatus;
 import org.hisp.dhis.message.Message;
 import org.hisp.dhis.message.MessageConversation;
 import org.hisp.dhis.message.MessageService;
@@ -88,6 +90,7 @@
 import org.hisp.dhis.trackedentity.TrackedEntityAttribute;
 import org.hisp.dhis.trackedentity.TrackedEntityAttributeService;
 import org.hisp.dhis.trackedentity.TrackedEntityInstance;
+import org.hisp.dhis.trackedentity.TrackedEntityInstanceQueryParams;
 import org.hisp.dhis.trackedentity.TrackedEntityInstanceService;
 import org.hisp.dhis.trackedentity.TrackedEntityMobileSetting;
 import org.hisp.dhis.trackedentityattributevalue.TrackedEntityAttributeValue;
@@ -1552,24 +1555,25 @@
 }
 
 SetTrackedEntity trackedentities = new HashSetTrackedEntity();
-for ( TrackedEntityInstance patient : patients)
+for ( TrackedEntityInstance patient : patients )
 {
-if (patient.getTrackedEntity() != null)
+if ( patient.getTrackedEntity() != null )
 {
 trackedentities.add( patient.getTrackedEntity() );
 }
 }
-
+
 String resultSet = ;
 
 CollectionTrackedEntityAttribute displayAttributes = attributeService
 .getTrackedEntityAttributesDisplayInList( true );
-for ( TrackedEntity trackedentity : trackedentities)
+for ( TrackedEntity trackedentity : trackedentities )
 {
 resultSet += trackedentity.getDisplayName() + $;
 for ( TrackedEntityInstance patient : patients )
 {
-if(patient.getTrackedEntity()!=null  patient.getTrackedEntity().getId()==trackedentity.getId()) {
+if ( patient.getTrackedEntity() != null  patient.getTrackedEntity().getId() == trackedentity.getId() )
+{
 resultSet += patient.getId() + /;
 String attText = ;
 for ( TrackedEntityAttribute displayAttribute : displayAttributes )
@@ -1641,26 +1645,30 @@
 
 searchTextList.add( searchText );
 orgUnitList.add( organisationUnitService.getOrganisationUnit( orgUnitId ) );
-
-ListInteger stageInstanceIds = new ArrayListInteger();
-
-//ListInteger stageInstanceIds = entityInstanceService.getProgramStageInstances( searchTextList, orgUnitList,
-//followUp, ProgramInstance.STATUS_ACTIVE, null, null );
-
-if ( stageInstanceIds.size() == 0 )
+
+TrackedEntityInstanceQueryParams param = new TrackedEntityInstanceQueryParams();
+param.setOrganisationUnits( new HashSetOrganisationUnit( orgUnitList ) );
+param.setEventStatus( EventStatus.ACTIVE );
+
+Grid programStageInstanceGrid = entityInstanceService.getTrackedEntityInstances( param );
+ListListObject listOfListProgramStageInstance = programStageInstanceGrid.getRows();
+
+if ( listOfListProgramStageInstance.size() == 0 )
 {
 throw NotAllowedException.NO_EVENT_FOUND;
 }
-else if ( stageInstanceIds.size()  0 )
+else if ( listOfListProgramStageInstance.size()  0 )
 {
-for ( Integer stageInstanceId : stageInstanceIds )
+for ( ListObject listProgramStageInstance : listOfListProgramStageInstance )
 {
-ProgramStageInstance programStageInstance = programStageInstanceService
-.getProgramStageInstance( stageInstanceId );