[Dhis2-devs] Web-API Related Authorities

2014-12-15 Thread Farai Mutero
Hi Guys Which user security authority or combination or authorities can one use to create a User Role that gives associated users access to the Web API only and nothing else. Regards -- Farai Mutero ___ Mailing list: https://launchpad.net/~dhis2-devs

[Dhis2-devs] [Bug 1402532] [NEW] weekly-data-sets-missing-some-years

2014-12-15 Thread jason.p.pickering
Public bug reported: To reproduce this on the demo server, create a weekly dataset, and assign a few data elements and assign to an orgunit. Go to the data entry screen. Weeks for 2011 do not appear correctly. Weeks for 2010 do not appear correctly. Other more recent years appear to be OK. Af

[Dhis2-devs] [Bug 1402539] [NEW] Meta data import UI shows success even if import fails

2014-12-15 Thread Lars Helge Øverland
Public bug reported: In meta-data import, when importing a file that fails, e.g. because of invalid XML syntax, the UI still indicates import success, even if the process actually fails. Try import the attached XML file for constants. ** Affects: dhis2 Importance: High Assignee: Morten

[Dhis2-devs] [Bug 1402279] Re: Program Stage Sections not working in Tracker Capture

2014-12-15 Thread Abyot Asalefew Gizaw
** Changed in: dhis2 Assignee: (unassigned) => Abyot Asalefew Gizaw (abyot) -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1402279 Title: Program Stage Sections not working in Tracker Captur

[Dhis2-devs] [Bug 1402278] Re: Attribute Groups not working with Tracker Capture

2014-12-15 Thread Abyot Asalefew Gizaw
** Changed in: dhis2 Assignee: (unassigned) => Abyot Asalefew Gizaw (abyot) -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1402278 Title: Attribute Groups not working with Tracker Capture S

[Dhis2-devs] [Bug 1402276] Re: Radio buttons don't work on Programme Attributes

2014-12-15 Thread Abyot Asalefew Gizaw
** Changed in: dhis2 Assignee: (unassigned) => Abyot Asalefew Gizaw (abyot) -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1402276 Title: Radio buttons don't work on Programme Attributes St

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 17699: Org units, adding roots in list of org units when selected to make it possible to edit/delete

2014-12-15 Thread noreply
revno: 17699 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2014-12-15 11:57:23 +0100 message: Org units, adding roots in list of org units when selected to make it possible to edit/delete modified: dhis-2/dhis-ap

[Dhis2-devs] [Bug 1402629] [NEW] Data import summary reports incorrect results

2014-12-15 Thread Bob Jolliffe
Public bug reported: When I import 5000 datavalues using rest api the import summary indicates 5000 datavalues successfully imported. But the log indicates warnings about duplicates (which I believe are incorrect but that is a different bug). Looking directly at the datavalue table shows that on

[Dhis2-devs] [Bug 1402638] [NEW] Incorrect and inconsistent identification of duplicates in datavalue import

2014-12-15 Thread Bob Jolliffe
Public bug reported: When I import 5000 datavalues as a json datavalueset (confirmed no duplicates) into an empty database the import summary indicates 5000 successful imported datavalues even though 3400 were actually imported (see https://bugs.launchpad.net/dhis2/+bug/1402629). The logfile indi

[Dhis2-devs] [Bug 1401952] Re: Analytics API: metadata.names[period] null when displayProperty=SHORTNAME

2014-12-15 Thread Morten Olav Hansen
Should be fixed in latest trunk / 2.17. Please try it out and report back. ** Changed in: dhis2 Assignee: (unassigned) => Morten Olav Hansen (mortenoh) ** Changed in: dhis2 Importance: Undecided => Medium ** Changed in: dhis2 Status: New => Fix Committed ** Changed in: dhis2

Re: [Dhis2-devs] [Bug 1401952] Analytics API: metadata.names[period] null when displayProperty=SHORTNAME

2014-12-15 Thread Olav P
It is possibly fixed. If the period in ISO format count as a name it is fixed, if it is supposed to give the period name as when using displayProperty=NAME it is not fixed. Name: «201411»: «November 2014" Shortname: «201411»: «201411» > 15. des. 2014 kl. 13.32 skrev Morten Olav Hansen <1401...@

Re: [Dhis2-devs] [Bug 1401952] Analytics API: metadata.names[period] null when displayProperty=SHORTNAME

2014-12-15 Thread Morten Olav Hansen
Yeah, it makes sense no? since its short-name? or would you expect the full name for periods as before? -- Morten On Mon, Dec 15, 2014 at 1:50 PM, Olav Poppe wrote: > > It is possibly fixed. If the period in ISO format count as a name it is > fixed, if it is supposed to give the period name as w

[Dhis2-devs] WebAPI getting all orgunits with hierarchy info

2014-12-15 Thread Simen Skogly Russnes
Dear all, can someone give me a suggestion on how to retrieve all orgunits through the WebAPI, including parent-child relationships of orgunits, so that an orgunit view can be created similarly to the view in Data Entry and Individual Records in DHIS 2? Perhaps it's possible to pass a parameter

Re: [Dhis2-devs] WebAPI getting all orgunits with hierarchy info

2014-12-15 Thread Jan Henrik Øverland
You can do this by using the *fields* param. Go e.g. to https://apps.dhis2.org/dev/dhis-web-pivot -> orgunit tab and have a look at the network console when you expand nodes. On Mon, Dec 15, 2014 at 2:34 PM, Simen Skogly Russnes < simen_russ...@hotmail.com> wrote: > > Dear all, > > can someone

Re: [Dhis2-devs] WebAPI getting all orgunits with hierarchy info

2014-12-15 Thread Greg Rowles
Hi Simen We had a similar discussion in South Africa a few hours ago. If you have your top level orgunit UID (e.g. 'JLA7wl59oN3') you can drill using API calls such as: api/organisationUnits?filter=level:eq:2&filter=parent.id:eq:JLA7wl59oN3 If you don't know your top level UID: api/organisationUn

Re: [Dhis2-devs] WebAPI getting all orgunits with hierarchy info

2014-12-15 Thread Mark Polak
Hey Simen, Depending on how many organisation units you have you can do something like this. https://apps.dhis2.org/dev/api/organisationUnits.json?fields=id,name,level,parent[id]&paging=false That will get you all the org units and you could re-create the which are children of what org unit by

Re: [Dhis2-devs] WebAPI getting all orgunits with hierarchy info

2014-12-15 Thread Simen Skogly Russnes
Thanks all, I think what you suggest Mark is probably the best solution in this case. Having to do only 3-4 requests is ok for dividing into levels. I was more worried I'd have to do something like one request per org unit with children. Subject: Re: [Dhis2-devs] WebAPI getting all orgunits wit

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 17700: app for clearing dhis2 related browser cache

2014-12-15 Thread noreply
revno: 17700 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Mon 2014-12-15 15:00:00 +0100 message: app for clearing dhis2 related browser cache modified: dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-

Re: [Dhis2-devs] [Bug 1401952] Analytics API: metadata.names[period] null when displayProperty=SHORTNAME

2014-12-15 Thread Olav P
The ideal would perhaps be to actually have short period names (Jan 14 for January 2014 etc), but if not I guess ISO format is okay. > 15. des. 2014 kl. 13.52 skrev Morten Olav Hansen <1401...@bugs.launchpad.net>: > > Yeah, it makes sense no? since its short-name? or would you expect the full >

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

2014-12-15 Thread noreply
revno: 17702 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Mon 2014-12-15 16:24:52 +0100 message: minor modified: dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-cache-cleaner/i18n/i18n_app.properties dhis-

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 17703: Analytics table, using inner join with organisationunits instead of _orgunitstructure. Protects a...

2014-12-15 Thread noreply
revno: 17703 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2014-12-15 19:08:16 +0100 message: Analytics table, using inner join with organisationunits instead of _orgunitstructure. Protects against situations where

Re: [Dhis2-devs] Invalid coordinates GIS

2014-12-15 Thread Calle Hedberg
sorry, addon: the Excel file has three sheets: Sheet 1 is what you sent Sheet 2 has the facility column, LON, LAT (note: DHIS2 requires LON then LAT) - I rounded to 4 decimals at the same time. NOTE also that I checked all the rows, and highlighted illegal/absurd coordinates in red. Sheet 3 is a c

[Dhis2-devs] Org Unit Groups

2014-12-15 Thread Adebusoye Anifalaje
Hi devs, Has the rules changed on org units groups in multiple groups? I have org units groups in multiple group sets. None of the org units violate exclusive groups set. However I see that is is no longer possible to have org units available after they have been assigned to org unit groups set

Re: [Dhis2-devs] Org Unit Groups not allowed in Multiple Group Sets

2014-12-15 Thread Adebusoye Anifalaje
Sorry that email was sent mistakenly before it was ready: Problem is this: - It used to be possible to reuse org unit groups and assign them to multiple group sets as long as this does not violate the exclusive org unit groups set rule. - Now from 2.17, it seems that a one-to-one relationship

[Dhis2-devs] add more category into existing category combination

2014-12-15 Thread rin.channara
Hi all, Do you know it will be lost data or not? if I am have one datalement with three categoryoption and already have datavalue in each categoryoption in that dataelement, So now can I add a new more categoryoption? Thank you CHANNARA___ Mailin