Re: [Dhis2-devs] Analyzing Yes/No values GIS

2016-06-03 Thread Pamod Amarakoon
Okay, Thank you Bjørn. On Sat, Jun 4, 2016 at 1:10 AM, Bjørn Sandvik wrote: > Hi Pamod, > > This seems to be a current limitation of the system that we'll try to fix > for the 2.24 release. > > https://github.com/dhis2/dhis2-gis/issues/128 > > Bjørn > > -- > Bjørn Sandvik >

Re: [Dhis2-devs] Analyzing Yes/No values GIS

2016-06-03 Thread Bjørn Sandvik
Hi Pamod, This seems to be a current limitation of the system that we'll try to fix for the 2.24 release. https://github.com/dhis2/dhis2-gis/issues/128 Bjørn -- Bjørn Sandvik GIS developer, DHIS 2 University of Oslo www.dhis2.org On Fri, Jun 3, 2016 at 2:52 PM, Pamod Amarakoon

Re: [Dhis2-devs] WebApi failing Email, FileResources and

2016-06-03 Thread Mike Nelushi
Hi Halvdan, Thanks. We'll do. Regards, Mike On Fri, Jun 3, 2016 at 4:05 PM, Halvdan Hoem Grelland wrote: > Mike: > > You would save the file on the api/fileResource endpoint, get the UID > back, then save the uid as of a dataValue on the event. Example: > > POST to

Re: [Dhis2-devs] WebApi failing Email, FileResources and

2016-06-03 Thread Halvdan Hoem Grelland
Mike: You would save the file on the api/fileResource endpoint, get the UID back, then save the uid as of a dataValue on the event. Example: POST to api/fileResources, get id: “a1” back. PUT the event as usual: { "event" : "", "dataValues" : [ { "value" : "a1",

[Dhis2-devs] [Bug 1588757] Re: Missing authorities for deleting program indicators and editing program rules

2016-06-03 Thread Juan Manuel Alcantara
Hi Markus Lets also add F_PROGRAMRULEACTION_ADD F_PROGRAMRULEACTION_DELETE Thanks! JM -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1588757 Title: Missing authorities for deleting program

Re: [Dhis2-devs] ouwt Tree

2016-06-03 Thread Mark Polak
Hey Alex, Please have a look at [1]. When you clone the repository and run `npm install` followed by `npm start` the examples page should run. For the org unit tree examples it expects your local dhis2 instance to be located at `localhost:8080/dhis`. But you can change this by putting a

Re: [Dhis2-devs] WebApi failing Email, FileResources and

2016-06-03 Thread Mike Nelushi
Hi Morten, We'll be moving to d2 after this first release(next week). Regards, Mike On Fri, Jun 3, 2016 at 3:25 PM, Morten Olav Hansen wrote: > Hm ok, just trying to understand the workflow... to get to a d2 custom > app.. they need to 1) login 2) enter pin ? is that right?

Re: [Dhis2-devs] WebApi failing Email, FileResources and

2016-06-03 Thread Morten Olav Hansen
Hm ok, just trying to understand the workflow... to get to a d2 custom app.. they need to 1) login 2) enter pin ? is that right? so its double? all d2 apps are now covered by spring sec interceptors... -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Fri,

Re: [Dhis2-devs] WebApi failing Email, FileResources and

2016-06-03 Thread Calle Hedberg
Morten, Custom App is not Android - it's a DHIS2 app. We did have some teething problems with users accessing the instance via the browser on their smartphones, but I think that's been sorted. In any case, our recommendation to all users is to rather access the instance via a laptop or computer -

Re: [Dhis2-devs] Getting a "Series/Categories items not selected" message in Data Visualizer when dataelements details are in the favourite

2016-06-03 Thread Jose Garcia Muñoz
Hi Jan, I am reopining this thread (sorry :) ), because although the chart is being properly shown now in the data visualizer app, it is still not being rendered in the dashboards (where we just got the message "No Series/Categories items selected"). Would it be possible to have a look at it?

Re: [Dhis2-devs] WebApi failing Email, FileResources and

2016-06-03 Thread Halvdan Hoem Grelland
Yes, this is correct. Is this what you are already doing? To give some background: the fileResource functionality is at this point only supported as a backend for File dataValues, and not really as a generic storage mechanism for files. The reason for the two-stage process is that the server

Re: [Dhis2-devs] WebApi failing Email, FileResources and

2016-06-03 Thread Morten Olav Hansen
Ok, Calle, thanks for the info :) so when you say custom app.. I guess it's Android? -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Fri, Jun 3, 2016 at 7:52 PM, Calle Hedberg wrote: > Morten, > > Sorry if my brief wasn't 100%

Re: [Dhis2-devs] WebApi failing Email, FileResources and

2016-06-03 Thread Calle Hedberg
Morten, Sorry if my brief wasn't 100% clear on that - the DHIS user reg is a separate thing. All users logging in will be able to view (but not change) the general routine stuff around positions available etc. The pin-code is used in the custom app to ensure that all applicant users can only view

Re: [Dhis2-devs] Analyzing Yes/No values GIS

2016-06-03 Thread Pamod Amarakoon
And this is in version 2.23 On Tue, May 31, 2016 at 11:55 PM, Pamod Amarakoon wrote: > Dear All, > > When using GIS module to analyze yes/no data elements it asks to select a > values from a numerical scale with a logical parameter (equal, greater > than, less than etc). > > >

Re: [Dhis2-devs] WebApi failing Email, FileResources and

2016-06-03 Thread Mike Nelushi
Yes, its a custom app. Thanks. On Fri, Jun 3, 2016 at 2:21 PM, Morten Olav Hansen wrote: > Ok, I just saw `Login using PIN-code for account`, maybe you are using a > custom apps for this.. > > I saw you bug report, we will have a look at it > > -- > Morten Olav Hansen > Senior

Re: [Dhis2-devs] WebApi failing Email, FileResources and

2016-06-03 Thread Morten Olav Hansen
Ok, I just saw `Login using PIN-code for account`, maybe you are using a custom apps for this.. I saw you bug report, we will have a look at it -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Fri, Jun 3, 2016 at 7:18 PM, Mike Nelushi

Re: [Dhis2-devs] WebApi failing Email, FileResources and

2016-06-03 Thread Mike Nelushi
Hi Morten, The pinCode is not the the DHIS2-Account it is for specific program that they registered for. But the main thing is to be able to send emails and later sms because there will be a lot of notification/alerts to each user(e.g if they sent a wrong file). Regards, Mike On Fri, Jun 3,

[Dhis2-devs] [Bug 1588757] Re: Missing authorities for deleting program indicators and editing program rules

2016-06-03 Thread Markus Bekken
** Changed in: dhis2 Assignee: (unassigned) => Markus Bekken (markus-bekken) -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1588757 Title: Missing authorities for deleting program

Re: [Dhis2-devs] WebApi failing Email, FileResources and

2016-06-03 Thread Morten Olav Hansen
Hi Calle Out of curiosity... how can they login with this "PIN-code" is it simply the set password for their account? -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Fri, Jun 3, 2016 at 6:52 PM, Calle Hedberg wrote: > Hi, > >

[Dhis2-devs] [Bug 1588797] [NEW] messageConversations api not sending email per user

2016-06-03 Thread Mike Nelushi
Public bug reported: Hi All, The messageConversations web-api is still a big issue because we need to send each user specific information to their e-mails. 1. Using {"subject": subject, "text": message, "users": user} json object, the mail gets stored on DHIS2 mail and does not send it to the

Re: [Dhis2-devs] WebApi failing Email, FileResources and

2016-06-03 Thread Calle Hedberg
Hi, Since this instance is innovative and handling a somewhat unusual scenario, it might be helpful to understand the background and conceptual design: 1. South Africa requires around 10,000 new health graduates (doctors, nurses, physiotherapists and other professions allied to medicine) to do

Re: [Dhis2-devs] WebApi failing Email, FileResources and

2016-06-03 Thread Morten Olav Hansen
Before Lars answers Mike, can you provide us with a detailed bug report on launchpad? it will help us track this bug, I can have a look on Monday -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Fri, Jun 3, 2016 at 6:26 PM, Morten Olav Hansen

Re: [Dhis2-devs] WebApi failing Email, FileResources and

2016-06-03 Thread Calle Hedberg
Hi The exact version is 2.23 version 22977, build date 26th May 2016 regards Calle On 3 June 2016 at 13:24, Mike Nelushi wrote: > Hi Morten, > > The messageConversations web-api is still a big issue because we need to > send each user specific information to their

Re: [Dhis2-devs] WebApi failing Email, FileResources and

2016-06-03 Thread Morten Olav Hansen
Hi Mike I'm adding in Lars.. It's been a while since i looked at it.. but I don't think that is how it was designed, if you select an org unit.. it will send to EVERYBODY connected to that (kinda like when you assign an OU to a user), if you want to send to individual users.. you need to select

Re: [Dhis2-devs] WebApi failing Email, FileResources and

2016-06-03 Thread Mike Nelushi
Hi Morten, The messageConversations web-api is still a big issue because we need to send each user specific information to their e-mails. 1. Using {"subject": subject, "text": message, "users": user} json object, the mail gets stored on DHIS2 mail and does not send it to the user e-mail.

Re: [Dhis2-devs] WebApi failing Email, FileResources and

2016-06-03 Thread Mike Nelushi
Hi Halvdan, We are using version 2.23. The application uses a tracker program and its suppose to store documents for each user. I can store the file using fileResources api, and the response storageStatus=PENDING with no errors thrown. So from the response object I have to create a

[Dhis2-devs] [Bug 1588757] [NEW] Missing authorities for deleting program indicators and editing program rules

2016-06-03 Thread Juan Manuel Alcantara
Public bug reported: The interface to edit user roles is missing the following authorities: F_PROGRAM_INDICATOR_DELETE F_PROGRAMRULE_ADD F_PROGRAMRULE_DELETE F_PROGRAMRULEVARIABLE_ADD F_PROGRAMRULEVARIABLE_DELETE This affects versions 2.22 build 22059 and 2.23 build 22983 JM ** Affects:

Re: [Dhis2-devs] WebApi failing Email, FileResources and

2016-06-03 Thread Nicolay Ramm
I've now fixed this bug in the settings app and backported to 2.23 and 2.22. Nicolay Ramm Front end developer, DHIS 2 University of Oslo https://www.dhis2.org On Fri, Jun 3, 2016 at 11:05 AM, Halvdan Hoem Grelland wrote: > Hi Mike, > > In relation to api/fileResources I'm

Re: [Dhis2-devs] WebApi failing Email, FileResources and

2016-06-03 Thread Halvdan Hoem Grelland
Hi Mike, In relation to api/fileResources I'm going to need more details: which version are you on, exactly what are you trying to do, etc. A full list of typically needed details can be found here , but specifically I'll

Re: [Dhis2-devs] ouwt Tree

2016-06-03 Thread Alex Tumwesigye
Dear Morten, Thanks for giving us a pointer to the d2-ui library. I have been facing the same challenge while doing the scorecard application. idsr custom apps. Thanks. Alex On Fri, Jun 3, 2016 at 6:50 AM, Morten Olav Hansen wrote: > Hi Eric > > Have you had a look at our