[Dhis2-devs] Password Generation

2014-03-20 Thread Kenneth Børtveit
Hi. I am trying to generate passwords to almost 45,000 users in Rwanda. There is no problem in generating a random sequence of characters, the problem is storing it in a database. The password is stored as a hash, but I don't know which hash function to use. Could anybody assist? -Kenneth

Re: [Dhis2-devs] Password Generation

2014-03-20 Thread Jason Pickering
Hi Kenneth, You must look at the source code of DHIS2 and Spring in order to understand it. It is not a simple hash, but a salted hash depending on the username and password together. This has been previously discussed on this list, but it is most clear by analyzing the source code. Best

Re: [Dhis2-devs] Password Generation

2014-03-20 Thread Kenneth Børtveit
Allright, thx. 2014-03-20 7:42 GMT+01:00 Jason Pickering jason.p.picker...@gmail.com: Hi Kenneth, You must look at the source code of DHIS2 and Spring in order to understand it. It is not a simple hash, but a salted hash depending on the username and password together. This has been

Re: [Dhis2-devs] Password Generation

2014-03-20 Thread Knut Staring
Here are some documents that Randy Wilson shared on the list - though they state for Hashpassword: we have not yet found a quicker way to do this than to send the excel file to Bob Jolliffe or Knut Staring (HISP). There is a special algorithm they use to create the MD5 hash password, combining

[Dhis2-devs] Fwd: [Dhis2-users] User accounts import

2014-03-20 Thread Knut Staring
And an R script from Jason... -- Forwarded message -- From: Jason Pickering jason.p.picker...@gmail.com Date: Mon, Jan 21, 2013 at 11:26 AM Subject: Re: [Dhis2-users] User accounts import To: Morten Olav Hansen morte...@gmail.com Cc: dhis2-us...@lists.launchpad.net

Re: [Dhis2-devs] Password Generation

2014-03-20 Thread Jason Pickering
I think Bob is the best source for this. I have some R scripts but the generated password is not always correct due to peculiar methods which spring uses to encrypt the passwords which elude me. --Sent from my mobile On Mar 20, 2014 5:46 PM, Knut Staring knu...@gmail.com wrote: Here are some

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 14307: Fixed error when to build

2014-03-20 Thread noreply
revno: 14307 committer: Tran Chau tran.hispviet...@gmail.com branch nick: dhis2 timestamp: Thu 2014-03-20 14:14:38 +0700 message: Fixed error when to build modified:

Re: [Dhis2-devs] Error generating resource table

2014-03-20 Thread Morten Olav Hansen
Can you try and go to SERVER/dhis-web-maintenance-dataadmin/displayMaintenanceForm.action and click Update category option combinations then perform maintenance.. and see if it helps? (you can find it under maintenance - data administration - maintenance) -- Morten On Thu, Mar 20, 2014 at 9:09

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 14308: PT, gui fixes.

2014-03-20 Thread noreply
Merge authors: Jan Henrik Øverland (janhenrik-overland) revno: 14308 [merge] committer: Jan Henrik Overland janhenrik.overl...@gmail.com branch nick: dhis2 timestamp: Thu 2014-03-20 09:19:09 +0100 message: PT, gui fixes. modified:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 14309: Fixed bug - Exception thrown when to cselect an orgunit in Single event with registration.

2014-03-20 Thread noreply
revno: 14309 committer: Tran Chau tran.hispviet...@gmail.com branch nick: dhis2 timestamp: Thu 2014-03-20 17:17:37 +0700 message: Fixed bug - Exception thrown when to cselect an orgunit in Single event with registration. modified:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 14310: Rename datavalue.storedby created from aggregation process from DHIS-System to aggregated_from_tr...

2014-03-20 Thread noreply
revno: 14310 committer: Tran Chau tran.hispviet...@gmail.com branch nick: dhis2 timestamp: Thu 2014-03-20 17:38:01 +0700 message: Rename datavalue.storedby created from aggregation process from DHIS-System to aggregated_from_tracker

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 14311: minor fix

2014-03-20 Thread noreply
revno: 14311 committer: Tran Chau tran.hispviet...@gmail.com branch nick: dhis2 timestamp: Thu 2014-03-20 17:49:17 +0700 message: minor fix modified:

Re: [Dhis2-devs] Password Generation

2014-03-20 Thread Bob Jolliffe
OK you asked for it ... Ken the algorithm is contained in the attached Password.java file (its based on what I figured out from the spring source code). This little java program takes the username and password as parameters and outputs the username,password and hash as recognised by dhis2. So

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 14312: ER PT DV, gui fixes.

2014-03-20 Thread noreply
Merge authors: Jan Henrik Øverland (janhenrik-overland) revno: 14312 [merge] committer: Jan Henrik Overland janhenrik.overl...@gmail.com branch nick: dhis2 timestamp: Thu 2014-03-20 12:51:20 +0100 message: ER PT DV, gui fixes.

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 14313: minor fix

2014-03-20 Thread noreply
revno: 14313 committer: Morten Olav Hansen morte...@gmail.com branch nick: dhis2 timestamp: Thu 2014-03-20 13:18:15 +0100 message: minor fix modified:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 14314: enabled registration-multi-event-service tests again, flushes hibernate session so that sql to ge...

2014-03-20 Thread noreply
revno: 14314 committer: Morten Olav Hansen morte...@gmail.com branch nick: dhis2 timestamp: Thu 2014-03-20 14:46:11 +0100 message: enabled registration-multi-event-service tests again, flushes hibernate session so that sql to get

Re: [Dhis2-devs] Android GIS App to Update OrgUnits

2014-03-20 Thread wanjala pepela
That will be great   PEPELA WANJALA MINISTRY OF HEALTH HEADQUARTERS HEALTH SECTOR MONITORING EVALUATION AFYA HOUSE, LG 37 P.O BOX 30016, NAIROBI, KENYA TEL: +254 (020) 2717077 EXT 45097 CELL: +254 (0) 722375633  EMAIL: wanjal...@yahoo.com, wanjal...@gmail.com     h...@health.go.ke  

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 14315: send dhis2.de.event.dataValuesLoaded event when data values is loaded in aggregated data entry

2014-03-20 Thread noreply
revno: 14315 committer: Morten Olav Hansen morte...@gmail.com branch nick: dhis2 timestamp: Thu 2014-03-20 14:58:41 +0100 message: send dhis2.de.event.dataValuesLoaded event when data values is loaded in aggregated data entry

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 14316: minor

2014-03-20 Thread noreply
revno: 14316 committer: Morten Olav Hansen morte...@gmail.com branch nick: dhis2 timestamp: Thu 2014-03-20 14:59:53 +0100 message: minor modified:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 14317: minor change, getMandatory = isMandatory

2014-03-20 Thread noreply
revno: 14317 committer: Morten Olav Hansen morte...@gmail.com branch nick: dhis2 timestamp: Thu 2014-03-20 15:06:16 +0100 message: minor change, getMandatory = isMandatory modified:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 14318: minor fix

2014-03-20 Thread noreply
revno: 14318 committer: Morten Olav Hansen morte...@gmail.com branch nick: dhis2 timestamp: Thu 2014-03-20 15:11:07 +0100 message: minor fix modified:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 14319: PT, optimized requests + GIS, layer opacity.

2014-03-20 Thread noreply
Merge authors: Jan Henrik Øverland (janhenrik-overland) revno: 14319 [merge] committer: Jan Henrik Overland janhenrik.overl...@gmail.com branch nick: dhis2 timestamp: Thu 2014-03-20 15:17:59 +0100 message: PT, optimized requests +

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 14320: DV, user ou bug fixed.

2014-03-20 Thread noreply
Merge authors: Jan Henrik Øverland (janhenrik-overland) revno: 14320 [merge] committer: Jan Henrik Overland janhenrik.overl...@gmail.com branch nick: dhis2 timestamp: Thu 2014-03-20 15:30:45 +0100 message: DV, user ou bug fixed.

[Dhis2-devs] [Bug 1287670] Re: Trunk 2.15Tracker error when adding indicator to program stage

2014-03-20 Thread Adebusoye Anifalaje
Just tried to create a program indicator but there are no data elements available for selection. Details of version and build below: Version: 2.15-SNAPSHOT Build revision: 14311 -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS.

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 14321: Remove group-by property from TrackedEntityAttribute; Rename the property displayedInList to disp...

2014-03-20 Thread noreply
revno: 14321 committer: Tran Chau tran.hispviet...@gmail.com branch nick: dhis2 timestamp: Thu 2014-03-20 22:05:57 +0700 message: Remove group-by property from TrackedEntityAttribute; Rename the property displayedInList to

Re: [Dhis2-devs] [Dhis2-users] Fwd: Dhis2 versão de teste

2014-03-20 Thread Marcio Thome
Hi Bob and Lars We are still runing version 2.11 and being unable to upgrade to 2.14 with MySQL in Tomcat Appache, even after taking the steps you suggested. Questions: is there an 'upgrade' script for MySQL similar to the one available for download at DHIS2 site for Postgre? Is there any known

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 14322: Minor

2014-03-20 Thread noreply
Merge authors: Lars Helge Øverland (larshelge) revno: 14322 [merge] committer: Lars Helge Øverland larshe...@gmail.com branch nick: dhis2 timestamp: Thu 2014-03-20 19:48:06 +0100 message: Minor modified:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 14323: Tracker, temp fix for compilation error, should be fixed properly

2014-03-20 Thread noreply
revno: 14323 committer: Lars Helge Øverland larshe...@gmail.com branch nick: dhis2 timestamp: Thu 2014-03-20 23:10:08 +0100 message: Tracker, temp fix for compilation error, should be fixed properly modified:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 14324: refactored getMandatory = isMandatory again..

2014-03-20 Thread noreply
revno: 14324 committer: Morten Olav Hansen morte...@gmail.com branch nick: dhis2 timestamp: Thu 2014-03-20 23:27:27 +0100 message: refactored getMandatory = isMandatory again.. modified: