[Dhis2-devs] Problem when installing dhis2.12 on Linux server with Postgres database and embeded hibernate properties in jar

2013-08-23 Thread Ngoc Thanh Nguyen
Hi all We recently move dhis2 to Hibernate (CentOS & Ubuntu) but we both faced the problem of not being able to start dhis if the hibernate is embeded in dhis-support-hibernate.jar We also noticed that no white space allowed after every line in the config file. In Windows, it is fine. I guess it

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 11787: add external db property to report and document

2013-08-23 Thread noreply
revno: 11787 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Fri 2013-08-23 22:59:09 +0200 message: add external db property to report and document modified: dhis-2/dhis-services/dhis-service-reporting/src/main/resources

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 11786: Added external access ability for Report and Document

2013-08-23 Thread noreply
revno: 11786 committer: Lars Helge Øverland branch nick: dhis2 timestamp: Fri 2013-08-23 19:19:21 +0200 message: Added external access ability for Report and Document modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/Shari

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 11785: Sharing, styling

2013-08-23 Thread noreply
revno: 11785 committer: Lars Helge Øverland branch nick: dhis2 timestamp: Fri 2013-08-23 19:03:06 +0200 message: Sharing, styling modified: dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/macros.vm -- lp:dhis2 https://co

[Dhis2-devs] [Bug 1216015] Re: Line breaks in indicator expressions causing data entry crash

2013-08-23 Thread Lars Helge Øverland
** Changed in: dhis2 Assignee: (unassigned) => Morten Olav Hansen (mortenoh) ** Description changed: - If you get a line break inside an indicator numerator and denominator it - breaks the JSON representation. This leads, among others things, to the + If you get a line break inside an indica

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 11784: Dashboard, light grey color for disabled links

2013-08-23 Thread noreply
revno: 11784 committer: Lars Helge Øverland branch nick: dhis2 timestamp: Fri 2013-08-23 18:37:06 +0200 message: Dashboard, light grey color for disabled links modified: dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp

[Dhis2-devs] [Bug 1216015] [NEW] Line breaks in indicator expressions causing data entry crash

2013-08-23 Thread Lars Helge Øverland
Public bug reported: If you get a line break inside an indicator numerator and denominator it breaks the JSON representation. This leads, among others things, to the data entry module not to work properly since the meta-data payload cannot be parsed. Should be investigated for validation rules as

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 11783: update cacheManifests

2013-08-23 Thread noreply
revno: 11783 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Fri 2013-08-23 18:12:16 +0200 message: update cacheManifests modified: dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/cacheManifest.vm

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 11782: update license of javascript files (the ones that have copyright)

2013-08-23 Thread noreply
revno: 11782 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Fri 2013-08-23 18:11:13 +0200 message: update license of javascript files (the ones that have copyright) modified: dhis-2/dhis-services/dhis-service-integratio

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 11779: update copyright to 2004-2013

2013-08-23 Thread noreply
revno: 11779 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Fri 2013-08-23 17:56:19 +0200 message: update copyright to 2004-2013 modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis/aggregation/AggregatedDataValue.java

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 11778: minor updates to JacksonUtilsTest

2013-08-23 Thread noreply
revno: 11778 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Fri 2013-08-23 16:04:23 +0200 message: minor updates to JacksonUtilsTest modified: dhis-2/dhis-services/dhis-service-dxf2/src/test/java/org/hisp/dhis/dxf/metad

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 11777: added simple test that will make sure that no jackson annotations overlap (same name, etc).

2013-08-23 Thread noreply
revno: 11777 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Fri 2013-08-23 15:58:10 +0200 message: added simple test that will make sure that no jackson annotations overlap (same name, etc). added: dhis-2/dhis-services

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 11776: minor css fix in dashboard

2013-08-23 Thread noreply
revno: 11776 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Fri 2013-08-23 15:11:56 +0200 message: minor css fix in dashboard modified: dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-i

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 11775: renamed xml element reportTable to reportTableItem (only in reportTables list) in dashboardItem

2013-08-23 Thread noreply
revno: 11775 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Fri 2013-08-23 15:06:53 +0200 message: renamed xml element reportTable to reportTableItem (only in reportTables list) in dashboardItem modified: dhis-2/dhis-ap

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 11773: rename sharing to share

2013-08-23 Thread noreply
revno: 11773 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Fri 2013-08-23 14:52:24 +0200 message: rename sharing to share modified: dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-inte

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 11774: support sync/async import of meta-data through /api/metaData?async=true/false (true by default)

2013-08-23 Thread noreply
revno: 11774 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Fri 2013-08-23 14:56:46 +0200 message: support sync/async import of meta-data through /api/metaData?async=true/false (true by default) modified: dhis-2/dhis-s

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 11772: Changed field type for datavalue.lastupdated (timestamp) from date to timestamp.

2013-08-23 Thread noreply
revno: 11772 committer: Lars Helge Øverland branch nick: dhis2 timestamp: Fri 2013-08-23 14:47:51 +0200 message: Changed field type for datavalue.lastupdated (timestamp) from date to timestamp. modified: dhis-2/dhis-services/dhis-s

Re: [Dhis2-devs] Alteration of datavalue:lastupdate to timestamp

2013-08-23 Thread Lars Helge Øverland
Hi Jason, agree with you, it will also be consistent with the lastupdated property for the meta-data tables. Its been fixed it in r 11772. Lars On Fri, Aug 23, 2013 at 1:49 PM, Saptarshi Purkayastha wrote: > +1 for it to be TIMESTAMP > > --- > Regards, > Saptarshi PURKAYASTHA > My Tech Blog:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 11771: (GIS) Download bug fixed.

2013-08-23 Thread noreply
revno: 11771 committer: Jan Henrik Overland branch nick: dhis2 timestamp: Fri 2013-08-23 14:16:04 +0200 message: (GIS) Download bug fixed. modified: dhis-2/dhis-web/dhis-web-pivot/src/main/webapp/dhis-web-pivot/app/scripts/app.js

Re: [Dhis2-devs] some nullpointerexception error

2013-08-23 Thread Lars Helge Øverland
Hi, can you please tell us which dhis version / build? This is likely to be caused by invalid indicator expressions. Can you please run the integrity checks (in data administration -> integrity checks) and look for invalid numerators and denominators? regards, Lars _

Re: [Dhis2-devs] Alteration of datavalue:lastupdate to timestamp

2013-08-23 Thread Saptarshi Purkayastha
+1 for it to be TIMESTAMP --- Regards, Saptarshi PURKAYASTHA My Tech Blog: http://sunnytalkstech.blogspot.com You Live by CHOICE, Not by CHANCE On 23 August 2013 10:04, Jason Pickering wrote: > Hi Devs, > I would like to know what the feeling is about upgrading the "lastupdated" > proprerty of

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 11770: minor css fix for add dashboard dialog

2013-08-23 Thread noreply
revno: 11770 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Fri 2013-08-23 13:42:41 +0200 message: minor css fix for add dashboard dialog modified: dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web

Re: [Dhis2-devs] what's mean of daysxvalue in analytics table?

2013-08-23 Thread Lars Helge Øverland
Hi, the daysxvalue is the number of days in the period for the data value multiplied with the value. Its used by the analytics engine to calculate averages. You are not really supposed to be using the analytics db tables directly, rather go through the API. If you need more options there please l

Re: [Dhis2-devs] what's mean of daysxvalue in analytics table?

2013-08-23 Thread Lars Helge Øverland
Docs here: http://www.dhis2.org/doc/snapshot/en/user/html/ch25s19.html On Fri, Aug 23, 2013 at 1:27 PM, Lars Helge Øverland wrote: > Hi, > > the daysxvalue is the number of days in the period for the data value > multiplied with the value. Its used by the analytics engine to calculate > average

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 11769: add link for sharing dashboards, disable if user can't manage current dashboard

2013-08-23 Thread noreply
revno: 11769 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Fri 2013-08-23 13:12:24 +0200 message: add link for sharing dashboards, disable if user can't manage current dashboard modified: dhis-2/dhis-web/dhis-web-dash

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 11768: Applied patch from James Chang. Adds description to custom form input fields.

2013-08-23 Thread noreply
Merge authors: James Chang (jamesbchang) revno: 11768 [merge] committer: Lars Helge Øverland branch nick: dhis2 timestamp: Fri 2013-08-23 13:07:06 +0200 message: Applied patch from James Chang. Adds description to custom form input f

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 11767: Fixed bug, wrong relative period mapped to last week

2013-08-23 Thread noreply
revno: 11767 committer: Lars Helge Øverland branch nick: dhis2 timestamp: Fri 2013-08-23 12:34:46 +0200 message: Fixed bug, wrong relative period mapped to last week modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis/period/Relati

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 11766: Analytics, increasing max result to 50k

2013-08-23 Thread noreply
revno: 11766 committer: Lars Helge Øverland branch nick: dhis2 timestamp: Fri 2013-08-23 12:32:17 +0200 message: Analytics, increasing max result to 50k modified: dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dh

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 11765: Dashboard, minor

2013-08-23 Thread noreply
revno: 11765 committer: Lars Helge Øverland branch nick: dhis2 timestamp: Fri 2013-08-23 12:02:34 +0200 message: Dashboard, minor modified: dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integratio

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 11764: dashboard-search: don't display 'add' if the user can't manage current dashboard

2013-08-23 Thread noreply
revno: 11764 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Fri 2013-08-23 11:37:52 +0200 message: dashboard-search: don't display 'add' if the user can't manage current dashboard modified: dhis-2/dhis-web/dhis-web-das

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 11763: minor fix, render manage link before update based on manage property (fixes jumpy behavior)

2013-08-23 Thread noreply
revno: 11763 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Fri 2013-08-23 10:47:12 +0200 message: minor fix, render manage link before update based on manage property (fixes jumpy behavior) modified: dhis-2/dhis-web/d

Re: [Dhis2-devs] 2.12 warnings

2013-08-23 Thread Lars Helge Øverland
On Fri, Aug 23, 2013 at 9:51 AM, Jason Pickering < jason.p.picker...@gmail.com> wrote: > Thanks. Weird you cannot reproduce it. Maybe something else in my setup > then. > > We get TONS of these messages on the Zambia production server. Seems they > happen all over the place, but particularly with

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

2013-08-23 Thread noreply
revno: 11762 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Fri 2013-08-23 10:39:16 +0200 message: minor css fix modified: dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/ja

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 11761: wip, ui for sharing in dashboard, remove/add link to manage dashboard depending on dashboard.acce...

2013-08-23 Thread noreply
revno: 11761 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Fri 2013-08-23 10:36:56 +0200 message: wip, ui for sharing in dashboard, remove/add link to manage dashboard depending on dashboard.access.manage property modifi

[Dhis2-devs] Column name should improved in reporttable.

2013-08-23 Thread easy
The first column name should use the catagory group name? 'J5jldMd8OHv' is unreadable? -- 此致 easy 莫愁前路无知己,天下谁人不识君。<>___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpa

Re: [Dhis2-devs] System turn to offline when run the script

2013-08-23 Thread Knut Staring
Hi Barnali , would be good if you used some comments in your code to explain what you are aiming to achieve. Den 23. aug. 2013 09:52 skrev "Barnali Bhaduri" følgende: > Hi Sir, >I have been written following java script in custom form > dhis2 dataset, when I try to entering th

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

2013-08-23 Thread noreply
revno: 11760 committer: Lars Helge Øverland branch nick: dhis2 timestamp: Fri 2013-08-23 10:07:31 +0200 message: Minor modified: dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/event/data/DefaultEve

[Dhis2-devs] Alteration of datavalue:lastupdate to timestamp

2013-08-23 Thread Jason Pickering
Hi Devs, I would like to know what the feeling is about upgrading the "lastupdated" proprerty of "datavalues" to a timestamp instead of a data. The requirement I have in mind is related to data auditing, and having a time stamp as opposed to a date is useful for this purpose. It would seem this sho

[Dhis2-devs] [Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 790: Added a few more terms to the glossary.

2013-08-23 Thread noreply
revno: 790 committer: Jason P. Pickering branch nick: dhis2-docbook-docs timestamp: Fri 2013-08-23 09:57:27 +0200 message: Added a few more terms to the glossary. modified: src/docbkx/en/glossary_en.xml -- lp:~dhis2-documenters/dhi

Re: [Dhis2-devs] 2.12 warnings

2013-08-23 Thread Jason Pickering
Thanks. Weird you cannot reproduce it. Maybe something else in my setup then. We get TONS of these messages on the Zambia production server. Seems they happen all over the place, but particularly with the DV, GIS and data entry (anything related to the OU tree). Will give it a try. Did you backp

[Dhis2-devs] System turn to offline when run the script

2013-08-23 Thread Barnali Bhaduri
Hi Sir,                I have been written following java script in custom form dhis2 dataset, when I try to entering the data  in the form ,system have turn to offline .Please check the my script and give  me my suggestion.     var ctvsa="Wuin0SXuPNj-Y8qBmhmsqyj-val"; var ema="QWNLn

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 11759: Hibernate proxy log level

2013-08-23 Thread noreply
revno: 11759 committer: Lars Helge Øverland branch nick: dhis2 timestamp: Fri 2013-08-23 09:43:51 +0200 message: Hibernate proxy log level modified: dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/WEB-INF/classes/log4j.pr

Re: [Dhis2-devs] 2.12 warnings

2013-08-23 Thread Lars Helge Øverland
Hi Jason, I have set the log level for hibernate proxies to ERROR in . Should work according to these posts - but I haven't been able to reproduce it so cannot confirm it. Could you tell me which operation in dhis that causes this, and if warnings are gone after this fix? https://forum.hibernate.

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 11758: Reverted r 11756

2013-08-23 Thread noreply
revno: 11758 committer: Lars Helge Øverland branch nick: dhis2 timestamp: Fri 2013-08-23 09:17:00 +0200 message: Reverted r 11756 modified: dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/event/data

Re: [Dhis2-devs] how to order in chart module?

2013-08-23 Thread Lars Helge Øverland
Okay that makes sense to me. I have written up a blueprint here: https://blueprints.launchpad.net/dhis2/+spec/visualizer-chart-sort Will try to get it in for 2.13 (2.14 if not). Lars On Sat, Aug 17, 2013 at 2:06 AM, easy wrote: > Hi,sir, > Thanks, >for example, I want make a chart ab