Re: [Dhis2-devs] [Dhis2-users] Data Loss

2015-09-07 Thread Juan Manuel Alcantara Acosta
Hello Gerald Have you checked the sharing settings of those data elements? Ir your users are not allowed to use those data elements the system will allow the data entry storing the information offline. Regards, JM El 07/09/2015, a las 02:51, gerald thomas escribió: > Dear Juan, > Furthermore,

Re: [Dhis2-devs] [Dhis2-users] Data Loss

2015-09-07 Thread gerald thomas
Dear All, Any help with reference to the information i had provided? Please help me with ever necessary so that we could fixed this issue. Ola & Knut, If i want to remove all limitations (minimum and maximum) per data elements; what the procedures? Secondly, how can i disable dataset locked perman

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20033: Analytics, program indicator, applying filter for events with no values for expression

2015-09-07 Thread noreply
revno: 20033 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2015-09-07 22:02:22 +0200 message: Analytics, program indicator, applying filter for events with no values for expression modified: dhis-2/dhis-api/src/m

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20032: Analytics, program indicators. Ignoring missing event values by replacing with 0 in expressions.

2015-09-07 Thread noreply
revno: 20032 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2015-09-07 19:36:38 +0200 message: Analytics, program indicators. Ignoring missing event values by replacing with 0 in expressions. modified: dhis-2/dhis-

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20031: Upgrade fix

2015-09-07 Thread noreply
revno: 20031 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2015-09-07 19:32:39 +0200 message: Upgrade fix modified: dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/startup/InitTableAlteror.java

Re: [Dhis2-devs] (no subject)

2015-09-07 Thread Janielle Domingo
Hello Mr. Lars, THANK you very much for quick response and for answering my question. It's help me a lot. Janielle, On Sep 7, 2015 11:25 PM, "Lars Helge Øverland" wrote: > Hi Janielle, > > yes it is possible to create categories through the API. The DHIS 2 Web > API follows REST principles an

Re: [Dhis2-devs] Categories through the Web API

2015-09-07 Thread Janielle Domingo
Hi Mr. Knut, Thank you for quick response and very much appreciated. I will try this link. THANK You! :-) Janielle T. Domingo janielle.domi...@gmail.com Software Developer-NTHC Manila, Philippines On Sep 7, 2015 10:10 PM, "Knut Staring" wrote: > Hello Janielle, > > You can use the Web API: >

Re: [Dhis2-devs] (no subject)

2015-09-07 Thread Lars Helge Øverland
Hi Janielle, yes it is possible to create categories through the API. The DHIS 2 Web API follows REST principles and supports the POST, GET, UPDATE, DELETE and PATCH methods for all resources. Read more here: https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s09.html You can find an overv

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20030: Replaced custom user types with generic hibernate user type for enums

2015-09-07 Thread noreply
revno: 20030 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2015-09-07 17:18:49 +0200 message: Replaced custom user types with generic hibernate user type for enums removed: dhis-2/dhis-services/dhis-service-core/s

[Dhis2-devs] (no subject)

2015-09-07 Thread Janielle Domingo
Good day! I am Janielle Domingo, a developer from the National Telehealth Center based in Manila, Philippines. We developed an Electronic Medical Record (EMR) named Community Health Information Management System (CHITS), with OpenMRS on the back end, now deployed and operational in several primar

[Dhis2-devs] Categories through the Web API

2015-09-07 Thread Knut Staring
Hello Janielle, You can use the Web API: https://www.dhis2.org/doc/snapshot/en/developer/html/ch01.html The different endpoints: https://apps.dhis2.org/demo/api/resources.json Categories: https://apps.dhis2.org/demo/api/categories.json Regards, Knut On Mon, Sep 7, 2015 at 4:04 PM, Janielle Dom

Re: [Dhis2-devs] Web portal CORS/preflight problem

2015-09-07 Thread Jan Henrik Øverland
Ok, I will try to backport when I'm done. On Mon, Sep 7, 2015 at 3:02 PM, Hannan Khan wrote: > Dear Jan > > Thanks. Delight to know that; I am waiting. > We already upgraded to version 2.19. We are also upgrading tracker system > to 2.19. I will than do the portal and integration of servers and

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20029: Default avg for program indicators agg type

2015-09-07 Thread noreply
revno: 20029 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2015-09-07 15:13:33 +0200 message: Default avg for program indicators agg type modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis/user/UserAuthorityGrou

Re: [Dhis2-devs] Web portal CORS/preflight problem

2015-09-07 Thread Hannan Khan
Dear Jan Thanks. Delight to know that; I am waiting. We already upgraded to version 2.19. We are also upgrading tracker system to 2.19. I will than do the portal and integration of servers and synchronization of reporting server. I will be in touch. Best regards Hannan On Mon, Sep 7, 2015 at 5:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20028: event-capture: attribute category combination for program - WIP

2015-09-07 Thread noreply
revno: 20028 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Mon 2015-09-07 14:48:35 +0200 message: event-capture: attribute category combination for program - WIP modified: dhis-2/dhis-web/dhis-web-apps/src/main/webap

Re: [Dhis2-devs] Fwd: [Dhis2-users] Event capture Future date is not allowed problem

2015-09-07 Thread Abyot Gizaw
Hi Hannan / Fatema, The bug with future date is now fixed in trunk, 2.20 and 2.19. --- Thank you, Abyot. On Mon, Sep 7, 2015 at 11:02 AM, Hannan Khan wrote: > Dear Abyot and Markus > > Thank you for your suggestion. We cleared the cache and check the date > settings. The calendar setting ISO86

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

2015-09-07 Thread noreply
revno: 20027 committer: Jan Henrik Overland branch nick: dhis2 timestamp: Mon 2015-09-07 14:21:50 +0200 message: PT plugin fixes. added: dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/images/error_m.png modified: dhis-2

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20026: bug fix in date validation

2015-09-07 Thread noreply
revno: 20026 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Mon 2015-09-07 14:18:28 +0200 message: bug fix in date validation modified: dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javas

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20025: Removed unusued methods

2015-09-07 Thread noreply
revno: 20025 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2015-09-07 14:10:27 +0200 message: Removed unusued methods modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramIndicatorService.java d

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20024: Program indicators, simplification of regex

2015-09-07 Thread noreply
revno: 20024 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2015-09-07 13:47:06 +0200 message: Program indicators, simplification of regex modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis/program/ProgramIndicat

Re: [Dhis2-devs] Web portal CORS/preflight problem

2015-09-07 Thread Jan Henrik Øverland
Hi Hannan, I am working on a fix for this. Any chance you can upgrade from 2.17? On Sat, Aug 29, 2015 at 4:59 AM, Hannan Khan wrote: > Dear Jan > > I think cross domain problem is solved but more problem arise. I added the > jquery js script line but there is no chart. I think as i use > https:

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

2015-09-07 Thread noreply
revno: 20023 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2015-09-07 13:33:05 +0200 message: Minor modified: dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/program/ProgramIndicatorServiceTest.

Re: [Dhis2-devs] Can tracker aggregation function aggregate the tracked data on specified period

2015-09-07 Thread Uddin Fatema
Hi Chuong, Step of aggregation rule to aggregate the tracked data is bellow. 1. Create data element for legacy aggregated data. 2. Create dataset and here you can assign the time period, Do you want to aggregate your tracked data monthly, quarterly or yearly? 3. Assign dataset in organization u

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20022: Test update

2015-09-07 Thread noreply
revno: 20022 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2015-09-07 12:51:25 +0200 message: Test update modified: dhis-2/dhis-services/dhis-service-core/src/test/java/org/hisp/dhis/program/ProgramIndicatorServic

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20021: Program indicators. Fix to expressions regex. Removed unused code.

2015-09-07 Thread noreply
revno: 20021 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2015-09-07 12:45:45 +0200 message: Program indicators. Fix to expressions regex. Removed unused code. modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis

Re: [Dhis2-devs] error using curl command

2015-09-07 Thread Morten Olav Hansen
Hi Can you add -v and have a look at the Authorization header? see if its present / the same for both the GET and the POST query -- Morten On Mon, Sep 7, 2015 at 5:24 PM, channara rin wrote: > hi morten, > if i coding with PHP use CURL command. i still get the following error. > and my json in

Re: [Dhis2-devs] error using curl command

2015-09-07 Thread channara rin
hi morten, if i coding with PHP use CURL command. i still get the following error. and my json in attached file. By the way, i use apache v8 and DHIS2 v2.20 [image: Inline image 1] On Fri, Sep 4, 2015 at 3:58 PM, channara rin wrote: > If i tried use test with -u ... that is work fine. but if i

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20020: Program rule action, corrected name on foreign key to attribute

2015-09-07 Thread noreply
revno: 20020 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2015-09-07 11:28:35 +0200 message: Program rule action, corrected name on foreign key to attribute modified: dhis-2/dhis-services/dhis-service-core/src/ma

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20019: Using lowercase for unique constraint name for dataelementoperand

2015-09-07 Thread noreply
revno: 20019 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2015-09-07 11:26:11 +0200 message: Using lowercase for unique constraint name for dataelementoperand modified: dhis-2/dhis-services/dhis-service-core/src/

[Dhis2-devs] [Bug 1492967] [NEW] When registering an Event, current date service/event date is issuing warning as future date if date format is used as ‘dd-MM-yyyy’

2015-09-07 Thread Hannan Khan
Public bug reported: When registering an Event, current date service/event date is issuing warning as future date if date format is used as ‘dd-MM-’. But same date is ok if we use ‘-MM-dd’ format. Using version 2.19 build 19271 ** Affects: dhis2 Importance: Undecided Status

Re: [Dhis2-devs] Fwd: [Dhis2-users] Event capture Future date is not allowed problem

2015-09-07 Thread Abyot Gizaw
Hi Hannan, Sure we will fix it. Are you able to reproduce this in Demo server? --- Thank you, Abyot. On Mon, Sep 7, 2015 at 11:02 AM, Hannan Khan wrote: > Dear Abyot and Markus > > Thank you for your suggestion. We cleared the cache and check the date > settings. The calendar setting ISO8601

Re: [Dhis2-devs] Fwd: [Dhis2-users] Event capture Future date is not allowed problem

2015-09-07 Thread Hannan Khan
Dear Abyot and Markus Thank you for your suggestion. We cleared the cache and check the date settings. The calendar setting ISO8601 and the date format is dd-MM-. And the problem persists. But when I change the date settings to -MM-dd then it is working OK. So this is a bug associated wit

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20018: Fixed problem with constructor

2015-09-07 Thread noreply
revno: 20018 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2015-09-07 10:51:58 +0200 message: Fixed problem with constructor modified: dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/imp

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

2015-09-07 Thread noreply
revno: 20017 committer: Markus Bekken branch nick: dhis2 timestamp: Mon 2015-09-07 10:14:52 +0200 message: minor modified: dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/table-entry-form.

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

2015-09-07 Thread noreply
revno: 20016 committer: Markus Bekken branch nick: dhis2 timestamp: Mon 2015-09-07 10:12:50 +0200 message: minor modified: dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/table-entry-form.

Re: [Dhis2-devs] Fwd: [Dhis2-users] Event capture Future date is not allowed problem

2015-09-07 Thread Abyot Gizaw
Hi, Yes checking the date format is the first thing to do. Also make sure to have your browser cache properly cleared once you have made changes to your calendar setting. Also to note is: though we have future date support for data elements, we don't have support for execution date of events. -

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 20015: showing program rule errors and warnings in registration

2015-09-07 Thread noreply
revno: 20015 committer: Markus Bekken branch nick: dhis2 timestamp: Mon 2015-09-07 09:55:07 +0200 message: showing program rule errors and warnings in registration modified: dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tra

Re: [Dhis2-devs] [Dhis2-users] Data Loss

2015-09-07 Thread gerald thomas
Dear Juan, Furthermore, for another district "Bonthe" with organisation units (Bendu Cha, BMC, Bum Dema, Imperi, Jong, Kpanda Kemoh, Kwamabai Krim, Nongoba Bullum, Sittia, Sogbini, Yawbeko) From the query again, hmis=# SELECT period.startdate, period.enddate, organisationunit.name, count(datavalue

Re: [Dhis2-devs] Fwd: [Dhis2-users] Event capture Future date is not allowed problem

2015-09-07 Thread Markus Bekken
Dear Hanan, It looks like there is a mixup between 7/9 and 9/7 somewhere - possibly a bug. What is the date format in your calendar settings? (Apps->Settings->Calendar Settings) Markus > 7. sep. 2015 kl. 07.55 skrev Hannan Khan : > > Dear Experts > > Thank you for your continuous support. We