Re: [Dhis2-devs] Having Issues in Aggregation Query for Tracker Capture.

2015-06-10 Thread Neeraj Gupta
Thanks All, I got the solution. On Fri, Jun 5, 2015 at 10:44 AM, Neeraj Gupta wrote: > Hello Devs, > > Could anyone get chance to look into this? > > On Thu, Jun 4, 2015 at 12:09 PM, Neeraj Gupta > wrote: > >> Hi Devs, >> >> I am having some issues with Aggregation in Tracker Capture with build

[Dhis2-devs] HTML Reports - HTML to PDF

2015-06-10 Thread Harsh Atal
Hi All We have got a requirement for downloading HTML Reports as PDF. Our HTML Report is not complicated but it is also not basic. It has got colorful text, tables, images, images inside tables etc. It is not possible currently in DHIS to download HTML Report as PDF(Although there is a workaround

[Dhis2-devs] Problem with "Get as image" option in Dashboard for Data Visualizer

2015-06-10 Thread Neeraj Gupta
Hi, In Data Visualizer when we are generating charts, we can hide empty category items and same can be used in Dashboard but on Dashboard if we are clicking on *'Get as image'* option then in image it displays Empty categories as well. Is there a solution for this so that in image also we will no

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19352: added importer for oauth2client

2015-06-10 Thread noreply
revno: 19352 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Thu 2015-06-11 11:51:25 +0700 message: added importer for oauth2client modified: dhis-2/dhis-services/dhis-service-dxf2/src/main/resources/META-INF/dhis/beans.

[Dhis2-devs] DataEntry forms to handle multiple entities at once

2015-06-10 Thread Muhammad Tahir
Hi, I have now got some idea, how to create programs, register entities then enroll into the program. Is there any option to perform these operations at mass level, because we are using mostly paper forms and these are then entered into the system at a central office. Once we receive a form pr

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

2015-06-10 Thread noreply
revno: 19351 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Thu 2015-06-11 11:19:07 +0700 message: minor modified: dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/oauth2.hibernate/OAuth2Client.hb

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

2015-06-10 Thread noreply
revno: 19350 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Thu 2015-06-11 11:02:28 +0700 message: minor fix modified: dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/oauth2.hibernate/OAuth2Clien

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19349: Convert AccessDeniedException (and sub-classes) to WebMessage, and output in CrudControllerAdvice

2015-06-10 Thread noreply
revno: 19349 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Thu 2015-06-11 09:55:55 +0700 message: Convert AccessDeniedException (and sub-classes) to WebMessage, and output in CrudControllerAdvice modified: dhis-2/dhis

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19348: Support AuthorityType.READ in AbstractCrudController, if this is not present, it will function as...

2015-06-10 Thread noreply
revno: 19348 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Thu 2015-06-11 09:45:21 +0700 message: Support AuthorityType.READ in AbstractCrudController, if this is not present, it will function as before (used in OAuth2Cl

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19347: Data set. Replaced the allowFuturePeriods property with int openFuturePeriods. Allows specifying ...

2015-06-10 Thread noreply
revno: 19347 committer: Lars Helge Overland branch nick: dhis2 timestamp: Wed 2015-06-10 22:22:17 +0200 message: Data set. Replaced the allowFuturePeriods property with int openFuturePeriods. Allows specifying the number of periods to

[Dhis2-devs] Embedding Pivot Table in web page

2015-06-10 Thread Guy Ekani
Hello community, please I have three (03) questions concerning embedding pivot table in a web portal : 1. In Online sample what's the profil of the user portal/Portal123 ? 2. How can i be sure that the domain I registered in Remote access/CORS-Whilelist is well registered? 3. Please can u tell me

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19346: Using type-safe intersection method

2015-06-10 Thread noreply
revno: 19346 committer: Lars Helge Overland branch nick: dhis2 timestamp: Wed 2015-06-10 17:56:53 +0200 message: Using type-safe intersection method modified: dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/organi

Re: [Dhis2-devs] [Dhis2-users] List of permission in DHIS2

2015-06-10 Thread Elmarie Claasen
Hi all, Thanks a lot for all your help and input. Much appreciated! Regards, Elmarie Claasen Hisp logo Project Manager Health Information Systems Program Tel: 041-367 1027 Cell: 082 374 2209 E-mail: elma...@hisp.org Skype: elmarie.claasen52

[Dhis2-devs] 2.18 Analytics takes time to complete and once complete Pivot table no value found

2015-06-10 Thread Emmanuel Willer CHARLES
Hi all, can i please have your support on the following? Just upgrade from DHIS 2.16 to 2.17 and everything was OK (Analytics) then I upgrade from DHIS 2.17 to 2.18 and also everything looks OK but it took me 3 days to have Analytics completed (Which i judge too long), once Analytics is compl

Re: [Dhis2-devs] [Dhis2-users] List of permission in DHIS2

2015-06-10 Thread Abyot Gizaw
great - thanks Jason. I have also started working on this https://docs.google.com/document/d/1_btaR9M0uCmyyBY754Wt8nn7jwpGyQGN1PXh0e78k8k/edit see if it is something you can use? On Wed, Jun 10, 2015 at 3:09 PM Jason Pickering wrote: > Hi Elmarie. > > I have just committed a new appendix to

Re: [Dhis2-devs] [Dhis2-users] List of permission in DHIS2

2015-06-10 Thread Jason Pickering
Hi Elmarie. I have just committed a new appendix to the main user manual with all authorities which I could find. It is a bit raw at the moment, but we will work to improve the layout and information which is available there. An updated version should be available shortly from here

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19345: Upgraded hibernate to 4.2.19

2015-06-10 Thread noreply
revno: 19345 committer: Lars Helge Overland branch nick: dhis2 timestamp: Wed 2015-06-10 14:42:45 +0200 message: Upgraded hibernate to 4.2.19 modified: dhis-2/pom.xml -- lp:dhis2 https://code.launchpad.net/~dhis2-devs-core/dhis2/tr

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

2015-06-10 Thread noreply
revno: 19344 committer: Lars Helge Overland branch nick: dhis2 timestamp: Wed 2015-06-10 14:41:58 +0200 message: Minor modified: dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/dataapproval/DefaultDataApprovalLeve

[Dhis2-devs] Value not showing in Data Visualizer

2015-06-10 Thread Harsh Atal
Hi All Forwarding this issue reported by Gitika from HISP India Delhi Office :- * I am using 2.20 snapshot and have created one data element 'Population' with aggregation operator as 'Average (sum in orgunit hierarchy)' which is used for annual data entry.Similarly have created an indicator us

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19343: Added method to AclService, canRead() for Class, used in cases where READ authority is set in ...

2015-06-10 Thread noreply
revno: 19343 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Wed 2015-06-10 19:26:55 +0700 message: Added method to AclService, canRead() for Class, used in cases where READ authority is set in SchemaDescriptor, will be us

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19342: Add SchemaDescriptor and Controller for OAuth2Client

2015-06-10 Thread noreply
revno: 19342 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Wed 2015-06-10 19:17:45 +0700 message: Add SchemaDescriptor and Controller for OAuth2Client added: dhis-2/dhis-api/src/main/java/org/hisp/dhis/schema/descripto

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19341: event-capture: some style change

2015-06-10 Thread noreply
revno: 19341 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Wed 2015-06-10 13:58:22 +0200 message: event-capture: some style change modified: dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-capture/styles

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19340: browser-cache-cleaner: upgrade to latest translate plugin

2015-06-10 Thread noreply
revno: 19340 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Wed 2015-06-10 13:57:37 +0200 message: browser-cache-cleaner: upgrade to latest translate plugin modified: dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis

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

2015-06-10 Thread noreply
revno: 19339 committer: Lars Helge Overland branch nick: dhis2 timestamp: Wed 2015-06-10 13:56:45 +0200 message: Minor modified: dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/user/CurrentUserController.j

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19338: minor: added null check

2015-06-10 Thread noreply
revno: 19338 committer: Markus Bekken branch nick: dhis2 timestamp: Wed 2015-06-10 13:54:34 +0200 message: minor: added null check modified: dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19337: Add uuid generator

2015-06-10 Thread noreply
revno: 19337 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Wed 2015-06-10 18:00:04 +0700 message: Add uuid generator modified: dhis-2/dhis-web/dhis-web-api/src/main/java/org/hisp/dhis/webapi/controller/SystemController

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19336: Add basic ClientDetailsServer provider based on OAuth2Clients

2015-06-10 Thread noreply
revno: 19336 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Wed 2015-06-10 17:50:31 +0700 message: Add basic ClientDetailsServer provider based on OAuth2Clients added: dhis-2/dhis-web/dhis-web-commons/src/main/java/org/h

Re: [Dhis2-devs] [Dhis2-users] List of permission in DHIS2

2015-06-10 Thread Carlos Nyembwe
Hi Elmarie can you try to execute this SQL request on your Postgres? SELECT userroleauthorities.userroleid, name, authority FROM userroleauthorities, userrole WHERE userrole.userroleid = userroleauthorities.userroleid; On Tue, Jun 9, 2015 at 7:19 PM, Elmarie Claasen wrote: > [image: Boxbe]

Re: [Dhis2-devs] [Dhis2-users] List of permission in DHIS2

2015-06-10 Thread Morten Olav Hansen
/api/schemas is also a good source of metadata authorities (especially those linked to the web-api). -- Morten On Wed, Jun 10, 2015 at 5:27 PM, Abyot Gizaw wrote: > Yes, I have a very rough document. I was hoping for us to clean it first > as there are lots of roles which are not in use current

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19335: Trim all strings to null for all object in program maintenance web module

2015-06-10 Thread noreply
revno: 19335 committer: Tran Chau branch nick: dhis2 timestamp: Wed 2015-06-10 17:20:38 +0700 message: Trim all strings to null for all object in program maintenance web module modified: dhis-2/dhis-web/dhis-web-maintenance/dhis-web-

Re: [Dhis2-devs] [Dhis2-users] List of permission in DHIS2

2015-06-10 Thread Abyot Gizaw
Yes, I have a very rough document. I was hoping for us to clean it first as there are lots of roles which are not in use currently. Probably better to put it 'as is' somewhere - as appendix in the documentation? On Wed, Jun 10, 2015 at 12:11 PM Lars Helge Øverland wrote: > Hi, > > this is almos

Re: [Dhis2-devs] [Dhis2-users] List of permission in DHIS2

2015-06-10 Thread Lars Helge Øverland
Hi, this is almost correct ;) The userroleauthorities table is a link table between userrole and authorities. So it will contain all available authorities only if you assume that all possible authorities have been assigned to one or more user roles. So a hack is to create a new user role in the s

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19334: crashing file refence fixed

2015-06-10 Thread noreply
revno: 19334 committer: Markus Bekken branch nick: dhis2 timestamp: Wed 2015-06-10 11:20:12 +0200 message: crashing file refence fixed modified: dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-cache-cleaner/index.html -- lp

Re: [Dhis2-devs] DHIS2 Standard Reports: API ~ CORS

2015-06-10 Thread Lars Helge Øverland
Hi Greg, I would recommend handling this on your side (styling, formatting, etc). The "generateHtmlReport.action" part comes from struts and is internal to DHIS 2 and is not documented or guaranteed to remain stable. regards, Lars On Wed, Jun 10, 2015 at 10:37 AM, Morten Olav Hansen wrote: >

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19333: Tracker id populator, added tables

2015-06-10 Thread noreply
revno: 19333 committer: Lars Helge Overland branch nick: dhis2 timestamp: Wed 2015-06-10 10:45:29 +0200 message: Tracker id populator, added tables modified: dhis-2/dhis-services/dhis-service-tracker/src/main/resources/META-INF/dhis

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19332: Rename Template reminder message to Reminder message templates in program module UI

2015-06-10 Thread noreply
revno: 19332 committer: Tran Chau branch nick: dhis2 timestamp: Wed 2015-06-10 15:33:22 +0700 message: Rename Template reminder message to Reminder message templates in program module UI modified: dhis-2/dhis-web/dhis-web-maintenanc

Re: [Dhis2-devs] DHIS2 Standard Reports: API ~ CORS

2015-06-10 Thread Morten Olav Hansen
Hi Greg So you want to get the html, then rendering it in a external app? the problem I see with that, is that the queries inside that HTML report will not have CORS enabled, will they? if it was just html, there should be no problems.. but I assume you are using some kind of XHR to fetch the data

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19331: Add domain class OAuth2Client (+ store/service/test), used to store oauth2 client information

2015-06-10 Thread noreply
revno: 19331 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Wed 2015-06-10 15:13:05 +0700 message: Add domain class OAuth2Client (+ store/service/test), used to store oauth2 client information added: dhis-2/dhis-api/src

Re: [Dhis2-devs] DHIS2 Code Build and Deploy

2015-06-10 Thread Morten Olav Hansen
Hi The VN modules have not been updated for a long time, and should not be in use anymore. -- Morten On Wed, Jun 10, 2015 at 2:55 PM, Muhammad Tahir wrote: > Hi Morten, > > Import "Existing Maven Project" worked for me. > > However, I am getting a few errors, one of them is > > In* dhis-servic

Re: [Dhis2-devs] DHIS2 Code Build and Deploy

2015-06-10 Thread Muhammad Tahir
Hi Morten, Import "Existing Maven Project" worked for me. However, I am getting a few errors, one of them is In* dhis-service-vn*, the pom file shows the following error. org.hisp.dhis dhis-local-vn 2.12-SNAPSHOT dhis-service-vn DHIS VN Service ja