Re: [Dhis2-devs] Using /api/dashboards to assign user groups to dashboards

2014-08-29 Thread Sandesh Sukumar Doolipeta
Hi morten , Thanks for the reply :) . Yes , I am okay with using two requests . Is there any documentation on the sharing api ? regarding its usage? On Fri, Aug 29, 2014 at 12:22 PM, Morten Olav Hansen wrote: > Hi > > Are you OK with using two requests for this? we have a sharing API at

Re: [Dhis2-devs] Using /api/dashboards to assign user groups to dashboards

2014-08-29 Thread Morten Olav Hansen
No, not really. But the API itself is quite simple, to get current sharing information, you just do: /api/sharing/type=dashboard&id=ID (GET request) and then to update, you can use (PUT/POST request): /api/sharing/type=dashboard&id=ID With your JSON payload It's probably easiest to just sniff o

[Dhis2-devs] [Branch ~dhis2-documenters/dhis2/dhis2-docbook-docs] Rev 1178: Web api, sharing resource

2014-08-29 Thread noreply
revno: 1178 committer: Lars Helge Overland branch nick: dhis2-docbook-docs timestamp: Fri 2014-08-29 09:48:12 +0200 message: Web api, sharing resource modified: src/docbkx/en/dhis2_user_man_web_api.xml -- lp:~dhis2-documenters/dhis

Re: [Dhis2-devs] Using /api/dashboards to assign user groups to dashboards

2014-08-29 Thread Sandesh Sukumar Doolipeta
Hi , Thanks for the quick replies :) . I just tried using the sharing api , and it works as required. @Lars , Thanks for the docs. :) On Fri, Aug 29, 2014 at 1:28 PM, Lars Helge Øverland wrote: > Hi, > > note there is a small typo above, it should be: > > /api/sharing?type=dashboard

Re: [Dhis2-devs] Using /api/dashboards to assign user groups to dashboards

2014-08-29 Thread Lars Helge Øverland
Hi, note there is a small typo above, it should be: /api/sharing?type=dashboard&id=ID I have written up some docs here: https://www.dhis2.org/doc/snapshot/en/user/html/ch32s37.html Lars On Fri, Aug 29, 2014 at 9:28 AM, Morten Olav Hansen wrote: > No, not really. But the API itself is qu

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 16559: Resource tables, clear zero values function. Respecting the zero-significant per data element set...

2014-08-29 Thread noreply
revno: 16559 committer: Lars Helge Overland branch nick: dhis2 timestamp: Fri 2014-08-29 10:45:54 +0200 message: Resource tables, clear zero values function. Respecting the zero-significant per data element setting. modified: dhis-

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 16561: Minor fix.

2014-08-29 Thread noreply
revno: 16561 committer: Tran Chau branch nick: dhis2 timestamp: Fri 2014-08-29 17:14:40 +0700 message: Minor fix. modified: dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-progra

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 16562: PT DV analysis display property, work in progress.

2014-08-29 Thread noreply
Merge authors: Jan Henrik Øverland (janhenrik-overland) revno: 16562 [merge] committer: Jan Henrik Overland branch nick: dhis2 timestamp: Fri 2014-08-29 12:40:31 +0200 message: PT DV analysis display property, work in progress. modif

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 16563: Fixed bug - Exception thrown when to click Details button in Aggregate query builder result form.

2014-08-29 Thread noreply
revno: 16563 committer: Tran Chau branch nick: dhis2 timestamp: Fri 2014-08-29 18:02:02 +0700 message: Fixed bug - Exception thrown when to click Details button in Aggregate query builder result form. modified: dhis-2/dhis-services/

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

2014-08-29 Thread noreply
revno: 16564 committer: Lars Helge Overland branch nick: dhis2 timestamp: Fri 2014-08-29 13:08:42 +0200 message: Minor modified: dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/css/login.css -- lp:dhis2

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

2014-08-29 Thread noreply
revno: 16565 committer: Lars Helge Overland branch nick: dhis2 timestamp: Fri 2014-08-29 13:13:12 +0200 message: Minor modified: dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/webapp/dhis-web-maintenanc

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

2014-08-29 Thread noreply
revno: 16566 committer: Lars Helge Overland branch nick: dhis2 timestamp: Fri 2014-08-29 13:15:14 +0200 message: Minor modified: dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/webapp/dhis-web-maintenanc

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 16567: Option set, fixed bug, crash when clicking cancel on add/edit option

2014-08-29 Thread noreply
revno: 16567 committer: Lars Helge Overland branch nick: dhis2 timestamp: Fri 2014-08-29 13:18:24 +0200 message: Option set, fixed bug, crash when clicking cancel on add/edit option modified: dhis-2/dhis-web/dhis-web-maintenance/dhi

[Dhis2-devs] Relative Periods in Pivot Tables & reports

2014-08-29 Thread Maheed Ramadan
Dear All, As I see in pivot tables and almost all reporting modules that if we need to use relative periods, the maximum months we can view backwards is 12 Months (relative to the reporting period). I have a requirement that I need to show monthly data for more than 12 months backwards. For ex

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 16568: Option set, fixed bug, ui returned name in use when code should be returned

2014-08-29 Thread noreply
revno: 16568 committer: Lars Helge Overland branch nick: dhis2 timestamp: Fri 2014-08-29 14:04:53 +0200 message: Option set, fixed bug, ui returned name in use when code should be returned modified: dhis-2/dhis-services/dhis-service

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 16569: tracker capture - reports WIP

2014-08-29 Thread noreply
revno: 16569 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Fri 2014-08-29 14:39:37 +0200 message: tracker capture - reports WIP removed: dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/componen

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

2014-08-29 Thread noreply
revno: 16570 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Fri 2014-08-29 14:40:08 +0200 message: minor modified: dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/report/program-summa

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 16572: Delete zero values, SQL fix for HSQL and H2

2014-08-29 Thread noreply
revno: 16572 committer: Lars Helge Overland branch nick: dhis2 timestamp: Fri 2014-08-29 14:49:10 +0200 message: Delete zero values, SQL fix for HSQL and H2 modified: dhis-2/dhis-support/dhis-support-jdbc/src/main/java/org/hisp/dhis

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 16571: Option. Made the option code property not unique. There might be similar values, like numeric ones.

2014-08-29 Thread noreply
revno: 16571 committer: Lars Helge Overland branch nick: dhis2 timestamp: Fri 2014-08-29 14:48:40 +0200 message: Option. Made the option code property not unique. There might be similar values, like numeric ones. modified: dhis-2/dh

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 16573: Refactored option store. The store that handled option sets was called option store.

2014-08-29 Thread noreply
revno: 16573 committer: Lars Helge Overland branch nick: dhis2 timestamp: Fri 2014-08-29 15:03:34 +0200 message: Refactored option store. The store that handled option sets was called option store. modified: dhis-2/dhis-api/src/main

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 16574: Option, removed minlength for code

2014-08-29 Thread noreply
revno: 16574 committer: Lars Helge Overland branch nick: dhis2 timestamp: Fri 2014-08-29 15:07:57 +0200 message: Option, removed minlength for code modified: dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/ma

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 16575: Option, removed minlength for code

2014-08-29 Thread noreply
revno: 16575 committer: Lars Helge Overland branch nick: dhis2 timestamp: Fri 2014-08-29 15:08:45 +0200 message: Option, removed minlength for code modified: dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/ma

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 16576: Agg data entry, supporting option sets

2014-08-29 Thread noreply
revno: 16576 committer: Lars Helge Overland branch nick: dhis2 timestamp: Fri 2014-08-29 16:07:04 +0200 message: Agg data entry, supporting option sets modified: dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 16577: tracker capture - reports WIP

2014-08-29 Thread noreply
revno: 16577 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Fri 2014-08-29 16:15:09 +0200 message: tracker capture - reports WIP modified: dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/compone

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 16578: Fixed bug in option set management form.

2014-08-29 Thread noreply
revno: 16578 committer: Tran Chau branch nick: dhis2 timestamp: Fri 2014-08-29 22:16:13 +0700 message: Fixed bug in option set management form. modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis/option/OptionService.java dhis-2

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 16579: Remove unsed methods in OptionService class.

2014-08-29 Thread noreply
revno: 16579 committer: Tran Chau branch nick: dhis2 timestamp: Fri 2014-08-29 22:27:58 +0700 message: Remove unsed methods in OptionService class. modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis/option/OptionService.java dhi

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 16580: introduce time/tz in dateUnit (finished), proper fix for dst gaps for jt conversions.

2014-08-29 Thread noreply
revno: 16580 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Fri 2014-08-29 21:30:21 +0545 message: introduce time/tz in dateUnit (finished), proper fix for dst gaps for jt conversions. modified: dhis-2/dhis-api/src/main

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

2014-08-29 Thread noreply
revno: 16581 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Fri 2014-08-29 21:33:13 +0545 message: Minor fix modified: dhis-2/dhis-api/src/test/java/org/hisp/dhis/calendar/DateTimeUnitTest.java -- lp:dhis2 https://code

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 16582: Data entry, option sets, using option set name as label and option set code as value to save

2014-08-29 Thread noreply
revno: 16582 committer: Lars Helge Overland branch nick: dhis2 timestamp: Fri 2014-08-29 17:50:39 +0200 message: Data entry, option sets, using option set name as label and option set code as value to save modified: dhis-2/dhis-web

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 16583: HibernateOptionStore, removed name.toLowerCase, inconsitent and nullpointer vulnerable

2014-08-29 Thread noreply
revno: 16583 committer: Lars Helge Overland branch nick: dhis2 timestamp: Fri 2014-08-29 17:54:19 +0200 message: HibernateOptionStore, removed name.toLowerCase, inconsitent and nullpointer vulnerable modified: dhis-2/dhis-services/

Re: [Dhis2-devs] Relative Periods in Pivot Tables & reports

2014-08-29 Thread Lars Helge Øverland
Hi Maheed, yes I think we can improve on this. A minor note, if you want data dynamically starting at month x, then is a relative period option "last x months" what you need to keep it dynamic? Wouldn't it rather be "months since x" ? What if we simply made a new relative period "last 24 months"

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 16584: minor fix, skip filter optimization if type is DataElementOperand

2014-08-29 Thread noreply
revno: 16584 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Fri 2014-08-29 23:08:39 +0700 message: minor fix, skip filter optimization if type is DataElementOperand modified: dhis-2/dhis-web/dhis-web-api/src/main/java/o

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 16585: Data entry, rendering section description under title for each section

2014-08-29 Thread noreply
revno: 16585 committer: Lars Helge Overland branch nick: dhis2 timestamp: Fri 2014-08-29 18:13:52 +0200 message: Data entry, rendering section description under title for each section modified: dhis-2/dhis-web/dhis-web-dataentry/src

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 16586: Data entry, styling of selects

2014-08-29 Thread noreply
revno: 16586 committer: Lars Helge Overland branch nick: dhis2 timestamp: Fri 2014-08-29 19:05:11 +0200 message: Data entry, styling of selects modified: dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/style/dh

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 16587: Improve function of showing the details of aggregate query builder result in Manual Aggregate.

2014-08-29 Thread noreply
revno: 16587 committer: Tran Chau branch nick: dhis2 timestamp: Sat 2014-08-30 01:08:10 +0700 message: Improve function of showing the details of aggregate query builder result in Manual Aggregate. modified: dhis-2/dhis-api/src/main

[Dhis2-devs] dhis2.16 SQLSyntax Error

2014-08-29 Thread Yemi Awe
Dear Developers, This error is on dhis2.16 *1. Program Stage Completeness* *Running Program stage completeness returns this error* Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server ver