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

2015-08-26 Thread Mark Polak
Hello Hanna, Did you add http:// (or https:// if you use a secure line) in front of the IP address? On the demo instance this is a bit confusing as the examples do not show that but it is required for it to work correctly. Regards, Mark From: Dhis2-d

Re: [Dhis2-devs] [Dhis2-users] data mart deprecation - 2.21

2015-08-26 Thread Hannan Khan
In Bangladesh we are not using Data Mart; instead we are using paralytics. So no problem from our end. Regards Hannan Khan HISP Bangladesh On Wed, Aug 26, 2015 at 5:27 PM, Lars Helge Øverland wrote: > Hi, > > we are thinking of removing the data mart functionality in DHIS 2. This > refers to

[Dhis2-devs] Web portal CORS/preflight problem

2015-08-26 Thread Hannan Khan
Dear Experts I am facing problem to creating Web Portal, facing problem CORS. First I try portal from 103.247.238.68 not working and then put this address in the white list of the dhis2 server at 103.247.238.68:8080. But but still having the same problem the error message is 'which is disallowed

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19865: minor fixes, use lambdas for periodcache

2015-08-26 Thread noreply
revno: 19865 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Thu 2015-08-27 10:25:46 +0700 message: minor fixes, use lambdas for periodcache modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis/period/PeriodType.java d

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19856: Analaytics, implementd query parameter relativePeriodDate which will be used as basis for relativ...

2015-08-26 Thread Calle Hedberg
Hi, excellent - only in 2.21, or will you add this to 2.20 and earlier versions too? Regards Calle On 26 August 2015 at 14:08, Lars Helge Øverland wrote: > > Hi Calle, > > On Wed, Aug 26, 2015 at 12:45 PM, Calle Hedberg > wrote: > >> Lars, >> >> Will this work as an "anchor date" which will d

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19864: trackedEntityAttribute now picked up in programRuleActions in client

2015-08-26 Thread noreply
revno: 19864 committer: Markus Bekken branch nick: dhis2 timestamp: Wed 2015-08-26 21:49:09 +0200 message: trackedEntityAttribute now picked up in programRuleActions in client modified: dhis-2/dhis-web/dhis-web-apps/src/main/webapp/

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19863: Added trackedEntityAttribute to programRuleAction

2015-08-26 Thread noreply
revno: 19863 committer: Markus Bekken branch nick: dhis2 timestamp: Wed 2015-08-26 20:14:12 +0200 message: Added trackedEntityAttribute to programRuleAction modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis/programrule/ProgramRul

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19862: Registration now makes calls to the program rules engine

2015-08-26 Thread noreply
revno: 19862 committer: Markus Bekken branch nick: dhis2 timestamp: Wed 2015-08-26 14:29:22 +0200 message: Registration now makes calls to the program rules engine modified: dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tra

Re: [Dhis2-devs] [Dhis2-users] data mart deprecation - 2.21

2015-08-26 Thread Muhire Andrew
Thanks Lars, Now pivot table is good enough to serve users. But for some specific program requests, we use sqlviews. I support the idea, in our settings we don't use Datamart. On Wednesday, August 26, 2015 1:27 PM, Lars Helge Øverland wrote: Hi, we are thinking of removing the data

Re: [Dhis2-devs] data mart deprecation - 2.21

2015-08-26 Thread Alex Tumwesigye
Thanks Lars. I was the biggest user of the datamart until last year and I agree to your suggestion of using the webapi. The webapi is better in performance and ideally it can do almost everything with addition of a few SQLviews in case of too specific requirements. Thanks for the great work Dev t

[Dhis2-devs] [Bug 1488898] Re: WepAPI crashes 500 when sending value exceeding n varchar(n)

2015-08-26 Thread Lars Helge Øverland
Made a fix to set "storedby" for trackedentitydatavalue and datavalue to 255 characters to match the length of users.username in trunk and 2.20. -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/148889

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19861: Set storedby column to 255 chars for trackedentitydatavalue and datavalue

2015-08-26 Thread noreply
revno: 19861 committer: Lars Helge Overland branch nick: dhis2 timestamp: Wed 2015-08-26 13:37:24 +0200 message: Set storedby column to 255 chars for trackedentitydatavalue and datavalue modified: dhis-2/dhis-services/dhis-service-c

[Dhis2-devs] data mart deprecation - 2.21

2015-08-26 Thread Lars Helge Øverland
Hi, we are thinking of removing the data mart functionality in DHIS 2. This refers to the ability to populate the "aggregateddatavalue" and "aggregatedindicatorvalue" tables with pre-aggregated data. The data mart is no longer in use by DHIS 2. There might be third-party report tools out there th

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19856: Analaytics, implementd query parameter relativePeriodDate which will be used as basis for relativ...

2015-08-26 Thread Lars Helge Øverland
Hi Calle, On Wed, Aug 26, 2015 at 12:45 PM, Calle Hedberg wrote: > Lars, > > Will this work as an "anchor date" which will determine other relative > periods? So that if you last month of usable data is July-2015, then > setting this anchor data to some date in July will result in "last 6 > mont

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19857: Upgraded hibernate to 4.2.20 and hibernate-validator to 4.3.2

2015-08-26 Thread noreply
revno: 19857 committer: Lars Helge Overland branch nick: dhis2 timestamp: Wed 2015-08-26 12:20:41 +0200 message: Upgraded hibernate to 4.2.20 and hibernate-validator to 4.3.2 modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis/pro

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19856: Analaytics, implementd query parameter relativePeriodDate which will be used as basis for relativ...

2015-08-26 Thread Calle Hedberg
Lars, Will this work as an "anchor date" which will determine other relative periods? So that if you last month of usable data is July-2015, then setting this anchor data to some date in July will result in "last 6 months" being Feb-Jul 2015 and "last 6 months previous year" (if existing) being Fe

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19860: tracker-capture: in tei grid mark inactive ones with a different color

2015-08-26 Thread noreply
revno: 19860 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Wed 2015-08-26 12:41:01 +0200 message: tracker-capture: in tei grid mark inactive ones with a different color modified: dhis-2/dhis-web/dhis-web-apps/src/mai

[Dhis2-devs] [Bug 1488898] Re: WepAPI crashes 500 when sending value exceeding n varchar(n)

2015-08-26 Thread Simen Skogly Russnes
** Description changed: From the stacktrace returned it seems that the wepapi crashes if it is - attempted to send data to a text data element with limited text size. In - this particular I can read in the stacktrace: "root cause: + attempted to send data to a text field with limited text size.

Re: [Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19856: Analaytics, implementd query parameter relativePeriodDate which will be used as basis for relativ...

2015-08-26 Thread Calle Hedberg
Lars, Will this work as a sort of On 26 August 2015 at 12:43, wrote: > > revno: 19856 > committer: Lars Helge Overland > branch nick: dhis2 > timestamp: Wed 2015-08-26 11:42:00 +0200 > message: > Analaytics, implementd query parame

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19859: tracker-capture: when a tei is set to inactive, only read operations are allowed

2015-08-26 Thread noreply
revno: 19859 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Wed 2015-08-26 12:26:31 +0200 message: tracker-capture: when a tei is set to inactive, only read operations are allowed modified: dhis-2/dhis-services/dhis-

Re: [Dhis2-devs] Webapi result with orgunit type along with orgunit

2015-08-26 Thread Bharath
any guidance is much appreciated. On Tue, Aug 25, 2015 at 1:07 PM, Bharath wrote: > > Hi All, > > In India, one of the state is having multiple applications in which DHIS2. > Now they are trying to pull and push data into these applications. One of > the requirement is they want to pull data fro

[Dhis2-devs] [Bug 1488898] Re: WepAPI crashes 500 when sending value exceeding n varchar(n)

2015-08-26 Thread Simen Skogly Russnes
It might be possible that this is due to the username being too long for storing in storedby field, suggested by busoye. -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1488898 Title: WepAPI crash

[Dhis2-devs] [Bug 1488898] [NEW] WepAPI crashes 500 when sending value exceeding n varchar(n)

2015-08-26 Thread Simen Skogly Russnes
Public bug reported: >From the stacktrace returned it seems that the wepapi crashes if it is attempted to send data to a text data element with limited text size. In this particular I can read in the stacktrace: "root cause: org.postgresql.util.PSQLException: ERROR: value too long for type charact

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

2015-08-26 Thread noreply
revno: 19858 committer: Lars Helge Overland branch nick: dhis2 timestamp: Wed 2015-08-26 12:23:31 +0200 message: Minor modified: dhis-2/pom.xml -- lp:dhis2 https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk Your team DHIS 2 d

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19856: Analaytics, implementd query parameter relativePeriodDate which will be used as basis for relativ...

2015-08-26 Thread noreply
revno: 19856 committer: Lars Helge Overland branch nick: dhis2 timestamp: Wed 2015-08-26 11:42:00 +0200 message: Analaytics, implementd query parameter relativePeriodDate which will be used as basis for relative periods in response mo

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19855: proper isoStartOfYear for Ethiopean calendar

2015-08-26 Thread noreply
revno: 19855 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Wed 2015-08-26 15:16:18 +0700 message: proper isoStartOfYear for Ethiopean calendar modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis/calendar/impl/Ethiopi

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19854: rewrote plus/minus days calculation in Ethiopean calendar, and uses this for month/year calculati...

2015-08-26 Thread noreply
revno: 19854 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Wed 2015-08-26 14:25:42 +0700 message: rewrote plus/minus days calculation in Ethiopean calendar, and uses this for month/year calculation also modified: dhis

Re: [Dhis2-devs] [Dhis2-users] Save button not functioning in Data entry form management

2015-08-26 Thread Lars Helge Øverland
Hi Rae, you are right, this bug was fixed on August 10 in 2.18 in rev 18454: http://bazaar.launchpad.net/~dhis2-devs-core/dhis2/2.18/revision/18454 Please upgrade to the latest 2.18: https://www.dhis2.org/downloads regards, Lars On Wed, Aug 26, 2015 at 3:36 AM, Rae Li wrote: > Hello DHI

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19853: DataSetService, removed unused code

2015-08-26 Thread noreply
Merge authors: Lars Helge Øverland (larshelge) revno: 19853 [merge] committer: Lars Helge Overland branch nick: dhis2 timestamp: Wed 2015-08-26 09:04:42 +0200 message: DataSetService, removed unused code removed: dhis-2/dhis-servi