[Dhis2-devs] [DHIS] Program gets unassigned to a user role during metadata export-import

2016-03-14 Thread Archana Chillala
Hi Morten, We have two instances of DHIS one of which has been setup with sample metadata which is imported into the other instance through export-import. On the first instance, we have created a program and assigned it to a user role. Then, metadata is exported from that instance and imported in

Re: [Dhis2-devs] [DHIS] Program gets unassigned to a user role during metadata export-import

2016-03-14 Thread Archana Chillala
Currently using DHIS version 2.23 on both instances. Archana Chillala Application Developer Email archa...@thoughtworks.com Telephone +91 9100960533 <+91+9100960533> [image: ThoughtWorks]

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 22285: Support username uniqueness checks, also adds uid/code/lastUpdated to usercredentials

2016-03-14 Thread noreply
revno: 22285 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Mon 2016-03-14 15:30:30 +0700 message: Support username uniqueness checks, also adds uid/code/lastUpdated to usercredentials modified: dhis-2/dhis-api/src/main

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 22286: Event, TEI, enrollment import. Catching JsonMappingException for detecting multiple/single objec...

2016-03-14 Thread noreply
revno: 22286 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2016-03-14 09:42:31 +0100 message: Event, TEI, enrollment import. Catching JsonMappingException for detecting multiple/single object instances to reduce hi

[Dhis2-devs] Free SSL with letsencrypt

2016-03-14 Thread David Huser
Dear all I recently tried to obtain a free SSL certificate with Let's Encrypt. It is still in public beta (although they have already issued their millionth certificate). I wrote a little guide for a simple single instance of DHIS here (including autorenewal): https:

[Dhis2-devs] [Bug 1556799] [NEW] [api] Translated property on /api/schemas

2016-03-14 Thread Mark Polak
Public bug reported: The `translated` property on the /api/schemas endpoint seems to have been removed (in trunk)? We're using this in `d2` to determine if an object can be translated. A bug serviced in trunk where the context menu does not display the translate option anymore because of this rem

[Dhis2-devs] [Bug 1556799] Re: [api] Translated property on /api/schemas

2016-03-14 Thread Mark Polak
Irrelevant as translated property is not the correct one to determine the translatability ** Changed in: dhis2 Status: New => Invalid -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1556799

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 22287: Minor fix, map users => userid in id populator

2016-03-14 Thread noreply
revno: 22287 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Mon 2016-03-14 15:58:11 +0700 message: Minor fix, map users => userid in id populator modified: dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/d

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 22288: Add web-api for userCredentials, allows db queries for username, lastUpdated etc etc.

2016-03-14 Thread noreply
revno: 22288 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Mon 2016-03-14 16:04:45 +0700 message: Add web-api for userCredentials, allows db queries for username, lastUpdated etc etc. added: dhis-2/dhis-web/dhis-web-a

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 22289: tracker-capture: show relative selection selection/adding menu only when relationship is selected

2016-03-14 Thread noreply
revno: 22289 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Mon 2016-03-14 10:08:02 +0100 message: tracker-capture: show relative selection selection/adding menu only when relationship is selected modified: dhis-2/dh

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

2016-03-14 Thread noreply
revno: 22290 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Mon 2016-03-14 10:20:54 +0100 message: minor modified: dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance

Re: [Dhis2-devs] Free SSL with letsencrypt

2016-03-14 Thread Knut Staring
Thanks, David - this certainly looks very interesting. Regards, Knut On Mon, Mar 14, 2016 at 9:45 AM, David Huser wrote: > Dear all > > I recently tried to obtain a free SSL certificate with Let's Encrypt. > It is still in public beta (although they have > already issu

Re: [Dhis2-devs] [Dhis2-users] [DHIS] Unable to delete a user

2016-03-14 Thread Archana Chillala
Thanks, Lars. Archana Chillala Application Developer Email archa...@thoughtworks.com Telephone +91 9100960533 <+91+9100960533> [image: ThoughtWorks] On Sun, Ma

[Dhis2-devs] Data elements not visible in program validation rules

2016-03-14 Thread Archana Chillala
Hi devs, I am using DHIS2 version 2.23. I have created a program and assigned a few data elements to it. Also, assigned the program to org. units and a user role as well. Then, I tried to add a validation rule for the program. But, in the expression window (Edit left side & Edit right side) of the

Re: [Dhis2-devs] Data elements not visible in program validation rules

2016-03-14 Thread Abyot Asalefew Gizaw
Hi Archana, Program Validation UI is something we are planning to phase out. You should be able to define validation expressions using Program Rules. --- Thank you, Abyot. On Mon, Mar 14, 2016 at 11:14 AM, Archana Chillala < archa...@thoughtworks.com> wrote: > Hi devs, > > I am using DHIS2 vers

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

2016-03-14 Thread noreply
revno: 22291 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Mon 2016-03-14 11:36:27 +0100 message: minor modified: dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/teiadd/tei-add-contr

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 22292: Lock exceptio, details, missing period name

2016-03-14 Thread noreply
revno: 22292 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2016-03-14 12:28:08 +0100 message: Lock exceptio, details, missing period name modified: dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadm

Re: [Dhis2-devs] Free SSL with letsencrypt

2016-03-14 Thread Steven Uggowitzer
Thanks David, For those of you looking for another (probably less secure) free option, there is also WoSign https://www.wosign.com/English/freeSSL.htm I've actually been using it a lot with good success. Best S On 14 March 2016 at 09:45, David Huser wrote: > Dear all > > I recently tried to

Re: [Dhis2-devs] [Dhis2-users] Free SSL with letsencrypt

2016-03-14 Thread Bob Jolliffe
And this Chinese supplier might well be the way around any issues arising from US sanctions :-) On 14 March 2016 at 12:30, Steven Uggowitzer wrote: > Thanks David, > > For those of you looking for another (probably less secure) free option, > there is also WoSign https://www.wosign.com/English/f

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 22293: Fixed codestyle

2016-03-14 Thread noreply
Merge authors: Stian Sandvold (stian-sandvold) revno: 22293 [merge] committer: Stian Sandvold branch nick: dhis2 timestamp: Mon 2016-03-14 13:12:07 +0100 message: Fixed codestyle modified: dhis-2/dhis-web/dhis-web-api/src/main/jav

Re: [Dhis2-devs] [Dhis2-users] outgoing SMS over local modem - anyone using it?

2016-03-14 Thread Lars Helge Øverland
Thanks Guy. We will have a developer reach out to you. Since nobody have reported to be using the local SMS gateway modem, we will remove it for version 2.23. regards, Lars On Thu, Mar 10, 2016 at 8:52 AM, Guy Ekani wrote: > Hello Lars, > > Thank's for information, > > We are trying to use S

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 22294: Code style

2016-03-14 Thread noreply
revno: 22294 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2016-03-14 13:18:09 +0100 message: Code style modified: dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/DataSetReportController

Re: [Dhis2-devs] Free SSL with letsencrypt

2016-03-14 Thread Bob Jolliffe
Thanks David. That's really useful. Removing credit card transactions from the process of getting certs signed is going to be very valuable. Note from here (https://community.letsencrypt.org/t/certificates-for-us-sanctioned-countries/1223) that there might still be some issues in some US sancti

Re: [Dhis2-devs] [Dhis2-users] Free SSL with letsencrypt

2016-03-14 Thread David Huser
Thanks Bob and Steven for the insight, I updated the gist with a remark on this potential political issue. Best David On 14.03.2016 13:01, Bob Jolliffe wrote: And this Chinese supplier might well be the way around any issues arising from US sanctions :-) On 14 March 2016 at 12:30, Steven Uggo

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

2016-03-14 Thread noreply
revno: 22295 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Mon 2016-03-14 13:46:34 +0100 message: minor modified: dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/scripts/services.js -- lp:dhi

Re: [Dhis2-devs] [Dhis2-users] outgoing SMS over local modem - anyone using it?

2016-03-14 Thread Zubair Asghar Raja
Hi Guy, I am responsible for SMS related stuff. Can you share the logs ? Regards Zubair On 14 Mar 2016 1:14 PM, at 1:14 PM, "Lars Helge Øverland" wrote: >Thanks Guy. We will have a developer reach out to you. > >Since nobody have reported to be using the local SMS gateway modem, we >will >

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 22296: Reimplemented fallback for userSettings in userSettingController, removing the previous problem w...

2016-03-14 Thread noreply
Merge authors: Stian Sandvold (stian-sandvold) revno: 22296 [merge] committer: Stian Sandvold branch nick: dhis2 timestamp: Mon 2016-03-14 14:47:53 +0100 message: Reimplemented fallback for userSettings in userSettingController, remo

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 22297: tracker-capture: moved rule effect processing function of attributes to service

2016-03-14 Thread noreply
revno: 22297 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Mon 2016-03-14 15:00:44 +0100 message: tracker-capture: moved rule effect processing function of attributes to service modified: dhis-2/dhis-web/dhis-web-ap

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 22298: tracker/event-capture: added missing plugin in audit service

2016-03-14 Thread noreply
revno: 22298 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Mon 2016-03-14 15:01:51 +0100 message: tracker/event-capture: added missing plugin in audit service modified: dhis-2/dhis-web/dhis-web-commons-resources/src/

Re: [Dhis2-devs] [Dhis2-users] outgoing SMS over local modem - anyone using it?

2016-03-14 Thread Guy Ekani
Hi Zubair, Here is the log when this problem appear the first time : * INFO  2016-02-02 19:59:59,649 Detected apps: [] (DefaultAppManager.java [http-apr-8080-exec-3])* INFO  2016-02-02 20:03:06,682 Detected apps: [] (DefaultAppManager.java [http-apr-8080-exec-7])* INFO  2016-02-02 20:03:48,867 D

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 22299: tracker-capture: when registration form is empty on submit, notify user through dialog window.

2016-03-14 Thread noreply
revno: 22299 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Mon 2016-03-14 15:35:45 +0100 message: tracker-capture: when registration form is empty on submit, notify user through dialog window. modified: dhis-2/dhis-

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 22300: Unused code

2016-03-14 Thread noreply
revno: 22300 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2016-03-14 15:46:23 +0100 message: Unused code modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis/preheat/Preheat.java dhis-2/dhis-services/dhis-serv

Re: [Dhis2-devs] [Dhis2-users] outgoing SMS over local modem - anyone using it?

2016-03-14 Thread Alex Tumwesigye
Dear Guy, You need to set a SMS command for the system to route the SMS to the right place. see http://dhis2.github.io/dhis2-docs/master/en/user/html/dhis2_user_manual_en_full.html#mobile_sms_command Alex On Mon, Mar 14, 2016 at 5:30 PM, Guy Ekani wrote: > Hi Zubair, > > Here is the log when

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 22301: SystemSettingManager. Declare transactions on individual methods. The get-methods do not have tra...

2016-03-14 Thread noreply
revno: 22301 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2016-03-14 16:55:25 +0100 message: SystemSettingManager. Declare transactions on individual methods. The get-methods do not have transactions declared, inst

Re: [Dhis2-devs] Performance issue with caching changes in DefaultCalendarService

2016-03-14 Thread Lars Helge Øverland
Hi David, that seems very reasonable. I suspect the problem is that SystemSettingManager is transactional, meaning that you get one new transaction per call to the get method. I have done a fix now in trunk (rev 22301) and 2.22 for SystemSettingManager where a transaction is only initiated wheneve

Re: [Dhis2-devs] [Dhis2-users] Aggregation query builder details

2016-03-14 Thread Lars Helge Øverland
Hi there, in fact, aggregation query builder is already scheduled to be removed in version 2.23 and will be replaced by program indicators. Admittedly there are a few cases where persisted aggregate event data could be useful, however we think that generating the aggregate values "on the fly" will

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 22302: Added hint for user org unit selection

2016-03-14 Thread noreply
revno: 22302 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2016-03-14 18:16:41 +0100 message: Added hint for user org unit selection modified: dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-user/src/mai

Re: [Dhis2-devs] Problem with org units and data aggregation on Event Reports

2016-03-14 Thread Lars Helge Øverland
Hi Sergio, like said above, by selecting org units, the system provides access to all units in their sub-hierarchy as well. We have seen this many times now so I have included a tip text in the add/edit user screen. Hope it is clearer now. [image: Inline image 2] regards, Lars On Fri

[Dhis2-devs] Apk

2016-03-14 Thread moses mwale
I downloaded an event capture android app after installing and trying to login I receive this error: Error .java.net.ssl.SSLprotocolExeception: SSL handshake aborted: ssl=0x6cfd6148: failure in SSL library, usually a protocol error Error: 140770FC:SSL routines: SSL23_GET_SERVER_HELLO: unknown prot

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

2016-03-14 Thread noreply
revno: 22303 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2016-03-14 18:47:20 +0100 message: Minor modified: dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/user/DefaultUserSettingService.java

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 22304: UserSettingService. Declare transactions on individual methods. The get-methods do not have trans...

2016-03-14 Thread noreply
revno: 22304 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2016-03-14 19:04:21 +0100 message: UserSettingService. Declare transactions on individual methods. The get-methods do not have transactions declared, instea

Re: [Dhis2-devs] Apk

2016-03-14 Thread Erling Fjeldstad
Hi Moses, Do your server have a self-signed SSL certificate? Does it work to log in if you remove the 's' from https in the url? Regards, Erling - DHIS2 Android Team On Mon, Mar 14, 2016 at 6:45 PM, moses mwale wrote: > I downloaded an event capture android app after installing and trying to >

[Dhis2-devs] [Bug 1557159] [NEW] Issues with export/import of UserRoles for Programs

2016-03-14 Thread Ken Haase
Public bug reported: This is DHIS2.21 (21037) on Ubuntu Linux 15.10. There seem to be several issues with import of Programs and their related data items. The general scenario is that I've developed a tracker form for DATIM which I want to be able to import to other machines. I do an export con

[Dhis2-devs] Reset to original org unit

2016-03-14 Thread moses mwale
I accidentally gave admin admin user, user by organisation specific districts removed it from parent org. How do i set it back to have parent org units? ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsub

Re: [Dhis2-devs] Reset to original org unit

2016-03-14 Thread Knut Staring
Try this: insert into usermembership select ou.organisationunitid,u.userid from organisationunit ou cross join users u where parentid is null and username='admin' On Mon, Mar 14, 2016 at 10:24 PM, moses mwale wrote: > I accidentally gave admin admin user, user by organisation specific > distri