[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20154: use aggregation type directly in DefaultQueryPlanner

2015-09-15 Thread noreply
revno: 20154 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Tue 2015-09-15 14:13:04 +0700 message: use aggregation type directly in DefaultQueryPlanner modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis/analytics/Aggr

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

2015-09-15 Thread noreply
revno: 20155 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Tue 2015-09-15 14:17:41 +0700 message: minor fix modified: dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/data/DefaultQueryP

Re: [Dhis2-devs] Issue with date varibales for Sql View of type allows for variables

2015-09-15 Thread Knut Staring
The dates should be like this: 20150101 and 20151231. Actually, the manual is confusing on this point, as it starts with dashes: https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s04.html On Tue, Sep 15, 2015 at 8:26 AM, Bharath wrote: > Hi, > > I have created a sample sql view which has

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20156: SQL view, fixed bug with validation

2015-09-15 Thread noreply
revno: 20156 committer: Lars Helge Overland branch nick: dhis2 timestamp: Tue 2015-09-15 09:52:33 +0200 message: SQL view, fixed bug with validation modified: dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/m

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20157: tracker-capture: pick right enrollment for the selected TEI

2015-09-15 Thread noreply
revno: 20157 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Tue 2015-09-15 10:10:51 +0200 message: tracker-capture: pick right enrollment for the selected TEI modified: dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dh

[Dhis2-devs] [Bug 1495868] [NEW] (Tracker) Non-repeating program stages vs. "ask user to create new event"

2015-09-15 Thread Markus Bekken
Public bug reported: When "Ask user to create new event when stage is complete" is turned on for a non-repeatable program stage in Tracker, the resulting behaviour seems unanticipated. After completing the program stage, the dialog for scheduling or creating a new instance of the same (non repeat

Re: [Dhis2-devs] Issue with date varibales for Sql View of type allows for variables

2015-09-15 Thread Bharath
Thanks Knut. without dashes I am able to get the data. On Tue, Sep 15, 2015 at 1:18 PM, Knut Staring wrote: > The dates should be like this: 20150101 and 20151231. Actually, the manual > is confusing on this point, as it starts with dashes: > > https://www.dhis2.org/doc/snapshot/en/developer/htm

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20158: Sql view. Allowing underscore and dash in variables. Proper feedback in response for invalid quer...

2015-09-15 Thread noreply
revno: 20158 committer: Lars Helge Overland branch nick: dhis2 timestamp: Tue 2015-09-15 11:43:39 +0200 message: Sql view. Allowing underscore and dash in variables. Proper feedback in response for invalid query values. added: dhis-

Re: [Dhis2-devs] Issue with date varibales for Sql View of type allows for variables

2015-09-15 Thread Lars Helge Øverland
Hi Bharath, sorry I know this is a bit unclear. For security purposes we have strict checks on the URL variables to prevent malicious values from being executed as SQL. We are currently only allowing alphanumeric values so it stopped your dates since they have dashes inside. I have made two change

[Dhis2-devs] Error: switching calendars seems buggy

2015-09-15 Thread Knut Staring
During the training I am currently running using 2.20, all users have been given admin access to the (initially empty) database. Someone then went ahead and changed to Ethiopian calendar. This seems to have tripped up both generation of resource tables and analytics. We ended up with two different

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20159: replace aggregationOperator with AggregationType, wip

2015-09-15 Thread noreply
revno: 20159 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Tue 2015-09-15 16:54:24 +0700 message: replace aggregationOperator with AggregationType, wip modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataelement/D

Re: [Dhis2-devs] Error: switching calendars seems buggy

2015-09-15 Thread Morten Olav Hansen
Hi Actually, there is only one point where you can switch the calendar, and that is at the very start of a fresh database. We should probably make this more obvious (maybe a big warning or something). -- Morten On Tue, Sep 15, 2015 at 4:55 PM, Knut Staring wrote: > During the training I am cur

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20160: DashboardItem, using enum for getType()

2015-09-15 Thread noreply
revno: 20160 committer: Lars Helge Overland branch nick: dhis2 timestamp: Tue 2015-09-15 12:15:00 +0200 message: DashboardItem, using enum for getType() added: dhis-2/dhis-api/src/main/java/org/hisp/dhis/dashboard/DashboardItemType.j

Re: [Dhis2-devs] Error: switching calendars seems buggy

2015-09-15 Thread Knut Staring
I thought so - and confirmed it the hard way. I guess it is not feasible to lock it? Because I dont know how to fix this database now...tried to delete the period, but then it complains about it not existing anymore... On Tue, Sep 15, 2015 at 12:11 PM, Morten Olav Hansen wrote: > Hi > > Actually

Re: [Dhis2-devs] Error: switching calendars seems buggy

2015-09-15 Thread Lars Helge Øverland
We can start with a warning label in the settings UI. LArs On Tue, Sep 15, 2015 at 12:18 PM, Knut Staring wrote: > I thought so - and confirmed it the hard way. I guess it is not feasible > to lock it? Because I dont know how to fix this database now...tried to > delete the period, but then it

Re: [Dhis2-devs] Issue with date varibales for Sql View of type allows for variables

2015-09-15 Thread Bharath
Thanks Lars, I am updating my local 2.20 copy, will test it. On Tue, Sep 15, 2015 at 3:15 PM, Lars Helge Øverland wrote: > Hi Bharath, > > sorry I know this is a bit unclear. For security purposes we have strict > checks on the URL variables to prevent malicious values from being executed > as S

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20161: DashboardItem. Using enum for shape.

2015-09-15 Thread noreply
revno: 20161 committer: Lars Helge Overland branch nick: dhis2 timestamp: Tue 2015-09-15 12:26:47 +0200 message: DashboardItem. Using enum for shape. added: dhis-2/dhis-api/src/main/java/org/hisp/dhis/dashboard/DashboardItemShape.jav

Re: [Dhis2-devs] Issue with date varibales for Sql View of type allows for variables

2015-09-15 Thread Lars Helge Øverland
Thanks. On Tue, Sep 15, 2015 at 12:26 PM, Bharath wrote: > Thanks Lars, I am updating my local 2.20 copy, will test it. > > On Tue, Sep 15, 2015 at 3:15 PM, Lars Helge Øverland > wrote: > >> Hi Bharath, >> >> sorry I know this is a bit unclear. For security purposes we have strict >> checks on

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20162: ReportTable, enums for displayDensity and fontSize

2015-09-15 Thread noreply
revno: 20162 committer: Lars Helge Overland branch nick: dhis2 timestamp: Tue 2015-09-15 12:40:23 +0200 message: ReportTable, enums for displayDensity and fontSize added: dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/DisplayDens

[Dhis2-devs] [Bug 1471118] Re: Filter/Search with data element details in Pivot tables

2015-09-15 Thread Timothy Harding
Here is the same exact pivot table with 'Totals' instead of 'Details'. This is what the table in the previous comment is expected to look like. Thanks and let me know if I should submit a new bug report for this one. -Timothy Harding ** Attachment added: "Screen Shot 2015-09-15 at 8.16.14 AM.png"

[Dhis2-devs] [Bug 1471118] Re: Filter/Search with data element details in Pivot tables

2015-09-15 Thread Timothy Harding
Hello Morten and Devs, I just made a pivot table on the SL demo site (2.20), used data element details, put data in the 'filter' position in the layout, and it returns zero results. Is this the same issue reported in this bug, or something new? I included a screenshot as an attachment. -Timothy H

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20163: Event report, enum for dataType

2015-09-15 Thread noreply
revno: 20163 committer: Lars Helge Overland branch nick: dhis2 timestamp: Tue 2015-09-15 13:02:35 +0200 message: Event report, enum for dataType modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis/eventreport/EventReport.java dh

[Dhis2-devs] Adding a dataset to an OrgUnit using the Web API (2.19)

2015-09-15 Thread Jose Garcia Muñoz
Hi Morten, I am trying to add a dataset to one org. unit using the Web API. So far, I am using the following API call: curl -X PATCH -d @c:\dataset.json -H "Content-Type: application/json" -u myuser:mypass http://localhost:8080/dhis/api/organisationUnits/Oe3de1oAjGV/dataSets The payload is: {"d

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20164: Event chart, chart, enum for type

2015-09-15 Thread noreply
revno: 20164 committer: Lars Helge Overland branch nick: dhis2 timestamp: Tue 2015-09-15 13:21:39 +0200 message: Event chart, chart, enum for type added: dhis-2/dhis-api/src/main/java/org/hisp/dhis/analytics/EventDataType.java dhis

Re: [Dhis2-devs] Adding a dataset to an OrgUnit using the Web API (2.19)

2015-09-15 Thread Mark Polak
Hey Jose, This has been made quite a bit easier (since a while ago) If you're just looking to add it to the collection https://www.dhis2.org/doc/snapshot/en/developer/html/dhis2_developer_manual_full.html#d5094e731 So a POST request to http://localhost:8080/dhis/api/organisationUnits/Oe3de1oAjGV

[Dhis2-devs] (no subject)

2015-09-15 Thread moses mwale
Hello Devs, when uploading data using a csv format which is shown below. how do I include a category combination e.g. gender name,uid,code,shortname,description,formname,domaintype,type,numbertype,texttype,aggregationoperator,categorycombo,url,zero "undergoing HIV testing",,"x3,"undergoing HIV tes

Re: [Dhis2-devs] (no subject)

2015-09-15 Thread Jason Pickering
Hi Moses, Just put the UID for the categorycombo "Gender" from your system in the correct column (third from the last). name,uid,code,shortname,description,formname,domaintype,type,numbertype, texttype,aggregationoperator,categorycombo,url,zero "undergoing HIV testing",,"x3,"undergoing HIV testi

Re: [Dhis2-devs] Adding a dataset to an OrgUnit using the Web API (2.19)

2015-09-15 Thread Jose Garcia Muñoz
ops! Yes, much more easier! (and it works too :) ). Thanks Mark! Regards Jose On Tue, Sep 15, 2015 at 1:23 PM, Mark Polak wrote: > Hey Jose, > > This has been made quite a bit easier (since a while ago) > > If you're just looking to add it to the collection > > https://www.dhis2.org/doc/snapsho

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20165: Data entry form, using enum for style

2015-09-15 Thread noreply
revno: 20165 committer: Lars Helge Overland branch nick: dhis2 timestamp: Tue 2015-09-15 13:43:48 +0200 message: Data entry form, using enum for style modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/DisplayDensity.java

Re: [Dhis2-devs] data set in the version 2.18

2015-09-15 Thread KOFFI Martial
Hello PapaYou had a solution in relation to your problem?because I meet the same problem Merci  Martial KOFFI Le Vendredi 10 juillet 2015 10h15, papa alioune Sokhna a écrit : How to associate a given organizational unit of 2.18. Since the update 2.18, when a user with a data entry

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20166: Test fix

2015-09-15 Thread noreply
revno: 20166 committer: Lars Helge Overland branch nick: dhis2 timestamp: Tue 2015-09-15 14:25:44 +0200 message: Test fix modified: dhis-2/dhis-services/dhis-service-reporting/src/test/java/org/hisp/dhis/dashboard/DashboardServiceTe

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20167: tracker-capture: minized filter usage, it helps in improving performance

2015-09-15 Thread noreply
revno: 20167 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Tue 2015-09-15 15:51:19 +0200 message: tracker-capture: minized filter usage, it helps in improving performance modified: dhis-2/dhis-web/dhis-web-apps/src/m

[Dhis2-devs] Pluriannual pivot table

2015-09-15 Thread Guy Ekani
Hello everyone, Please how can we build a pluriannual pivot table like the one below ? In DHIS 2.18 with a aggregated dataelement Sincerely, Dataelement | January | February    | March   |+++-+2015        |       1 |               2|  7

[Dhis2-devs] Data Collection App or Tool

2015-09-15 Thread gerald thomas
Dear All, In Sierra Leone, every district (13) has a DHMT who received aggregated data report from the facilities (PHUs). During my assessment i found a very big gap between data collection and data entry which i am sure is affecting the quality of data in Sierra Leone. Firstly, Stock out of Data

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20168: tracker-capture: more view filters replaced by controller side logic

2015-09-15 Thread noreply
revno: 20168 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Tue 2015-09-15 18:03:55 +0200 message: tracker-capture: more view filters replaced by controller side logic modified: dhis-2/dhis-web/dhis-web-apps/src/main/

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20169: Added info about last successful data monitoring task run

2015-09-15 Thread noreply
revno: 20169 committer: Lars Helge Overland branch nick: dhis2 timestamp: Tue 2015-09-15 18:57:32 +0200 message: Added info about last successful data monitoring task run modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis/setting/

[Dhis2-devs] A way to exclude current week

2015-09-15 Thread Raheel Ayaz
Dear all, In pivot table and data visualizer of DHIS2 when a table or a graph is generated for last four weeks then why current week is included in the table or graph. Is a way to exclude current week from the report to have the output data for last four weeks. Same query is applicable to monthly

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

2015-09-15 Thread noreply
revno: 20170 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Tue 2015-09-15 19:16:30 +0200 message: minor modified: dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dashboard/dashboard.

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20171: About, added info about last analytics table generation runtime

2015-09-15 Thread noreply
revno: 20171 committer: Lars Helge Overland branch nick: dhis2 timestamp: Tue 2015-09-15 19:28:41 +0200 message: About, added info about last analytics table generation runtime modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis/se

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20172: Analytics tables, logging

2015-09-15 Thread noreply
revno: 20172 committer: Lars Helge Overland branch nick: dhis2 timestamp: Tue 2015-09-15 20:37:01 +0200 message: Analytics tables, logging modified: dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/t

Re: [Dhis2-devs] DHIS 2 Documentation in French?

2015-09-15 Thread Lorill Crees
Hi Matthieu, Thanks for your response. We have recently rolled out a DHIS 2 instance in Mali where staff will be using a custom standalone application we have built to import survey (program and program stage) data, as well as aggregate data (datasets) into DHIS 2. They will then use DHIS 2 to do

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20173: Analytics tables, only vacuuming if aggregation levels for data elements exist

2015-09-15 Thread noreply
revno: 20173 committer: Lars Helge Overland branch nick: dhis2 timestamp: Tue 2015-09-15 21:13:33 +0200 message: Analytics tables, only vacuuming if aggregation levels for data elements exist modified: dhis-2/dhis-services/dhis-serv

Re: [Dhis2-devs] A way to exclude current week

2015-09-15 Thread Calle Hedberg
Raheel, The dev team is working on a more generic fix for this in 2.21 - it will be possible to specify an "anchor period/date" which will determine all the other relative reporting periods. Seems it will only be available in 2.21, not 2.20 or earlier. Regards Calle On 15 September 2015 at 20:0

Re: [Dhis2-devs] DHIS 2 Documentation in French?

2015-09-15 Thread Calle Hedberg
Lorill, That custom app seems interesting - are you willing to make it available via the app store (or just open source it)? Regards Calle On 15 September 2015 at 21:51, Lorill Crees wrote: > Hi Matthieu, > > Thanks for your response. We have recently rolled out a DHIS 2 instance in > Mali whe

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20174: PT enums.

2015-09-15 Thread noreply
revno: 20174 committer: Jan Henrik Overland branch nick: dhis2 timestamp: Tue 2015-09-15 21:42:00 +0200 message: PT enums. modified: dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-pivot/i18n/i18n_app.properties dhis-2/dhis

Re: [Dhis2-devs] DHIS 2 Documentation in French?

2015-09-15 Thread Lorill Crees
Hi Calle, Yes - we are working on making it available. It's a standalone Grails application that would require server installation and configuration, so we are currently investigating options that would be the easiest for others to make use of it. I'll definitely contact the dev list when it is a

[Dhis2-devs] Bulk Deletion of Data

2015-09-15 Thread Lorill Crees
Hi, I seem to remember a prior thread on this but I can't seem to find it. We want to be able to programatically bulk delete data values (both aggregate and program/program stage data) via the Web API. Is there a way to achieve this? We don't want to have to do this on a sql level directly via th

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20175: PT enums.

2015-09-15 Thread noreply
revno: 20175 committer: Jan Henrik Overland branch nick: dhis2 timestamp: Wed 2015-09-16 00:59:55 +0200 message: PT enums. modified: dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-pivot/plugin.html dhis-2/dhis-web/dhis-web-

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20176: Digit group separator upgrade in TableAlteror.

2015-09-15 Thread noreply
revno: 20176 committer: Jan Henrik Overland branch nick: dhis2 timestamp: Wed 2015-09-16 01:00:44 +0200 message: Digit group separator upgrade in TableAlteror. modified: dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20177: PT plugin updated.

2015-09-15 Thread noreply
revno: 20177 committer: Jan Henrik Overland branch nick: dhis2 timestamp: Wed 2015-09-16 01:16:55 +0200 message: PT plugin updated. modified: dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-pivot/scripts/table.js dhis-2/dhi

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20178: Digit group separator upgrade in TableAlteror.

2015-09-15 Thread noreply
revno: 20178 committer: Jan Henrik Overland branch nick: dhis2 timestamp: Wed 2015-09-16 01:17:42 +0200 message: Digit group separator upgrade in TableAlteror. modified: dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20179: DV plugin updated.

2015-09-15 Thread noreply
revno: 20179 committer: Jan Henrik Overland branch nick: dhis2 timestamp: Wed 2015-09-16 01:25:51 +0200 message: DV plugin updated. modified: dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-visualizer/plugin.html dhis-2/dhi

[Dhis2-devs] Is the Android app working right now?

2015-09-15 Thread Jeff R. Allen
Hello guys, I started playing with the Android app today, and couldn't get it to work. Briefly what I did was login to apps.dhis2.org as user "android" (I had to change the password to be able to do so). The Android app gave an error (the traceback from adb is below). I see that the last release