Re: [Dhis2-devs] Problem creating a data export in 2.30

2018-10-14 Thread Morten Olav Hansen
Please remember that on the play servers, the admin user is not actually a superuser (it does not have ALL). So normal sharing rules applies. -- Morten Olav Hansen Senior Engineer, DHIS 2 Team Integration Lead University of Oslo http://www.dhis2.org On Fri, Oct 12, 2018 at 12:58 AM Viet Nguyen

Re: [Dhis2-devs] Metadata import not working v2.30

2018-10-05 Thread Morten Olav Hansen
Hi As a possible workaround, you can also use the command line... curl -X POST -d @filename.xml -H "Content-Type: application/xml" -u username:password http://server/api/metadata That should give you the full error report -- Morten Olav Hansen Senior Engineer, DHIS 2 Team Integr

Re: [Dhis2-devs] Metadata Import not Working for 2.29

2018-09-23 Thread Morten Olav Hansen
Yes, if you look at the error message it says java.lang.IllegalArgumentException: No enum constant org.hisp.dhis.common.ValueType.Sum So there is something wrong in the metadata you sent... -- Morten Olav Hansen Senior Engineer, DHIS 2 Team Integration Lead University of Oslo http://www.dhis2

Re: [Dhis2-devs] Metadata Import not Working for 2.29

2018-09-21 Thread Morten Olav Hansen
Hi There is no ValueType called SUM, maybe you are thinking about AggregationType column? -- Morten Olav Hansen Senior Engineer, DHIS 2 Team Integration Lead University of Oslo http://www.dhis2.org On Fri, Sep 21, 2018 at 11:59 PM Ifeanyi Okoye wrote: > Dear All, > > We are DHIS 2

Re: [Dhis2-devs] ver 2.29 , can't import metadata.

2018-09-09 Thread Morten Olav Hansen
Hi it seems something is wrong with your attribute references. Do they already exist in the system? or are you importing them as part of the metadata file? Assuming they are part of the same file, this would clearly be a bug. Would you mind filing a bug at jira.dhis2.org ? -- Morten Olav

Re: [Dhis2-devs] CVE-2018-11776 struts exploit | impact to DHIS 2?

2018-09-09 Thread Morten Olav Hansen
config property). That said we have patched all versions from 2.28 and later and you can fetch the new builds from dhis2.org/downloads. """ -- Morten Olav Hansen Senior Engineer, DHIS 2 Team Integration Lead University of Oslo http://www.dhis2.org On Sat, Sep 8, 2018 at 3:19 AM St

Re: [Dhis2-devs] Query around OAuth implicit grant

2018-09-09 Thread Morten Olav Hansen
maybe..) -- Morten Olav Hansen Senior Engineer, DHIS 2 Team Integration Lead University of Oslo http://www.dhis2.org On Fri, Sep 7, 2018 at 5:54 AM Lorill Crees wrote: > Hi Morten, > > 1. What is the timeline for the DHIS 2 upgrade to the latest OAuth 2 > Spring libraries and the im

Re: [Dhis2-devs] Updating multiple events via the WebAPI

2018-08-28 Thread Morten Olav Hansen
Hi Farai No, this is not possible (with PUT). What you can do, is to just do a POST, but set strategy=CREATE_AND_UPDATE and that should give you what you want (strategy=UPDATE if you are sure its all updates only) -- Morten Olav Hansen Senior Engineer, DHIS 2 Team Integration Lead University

Re: [Dhis2-devs] DHIS2 tables of unknown origin/purpose

2018-08-27 Thread Morten Olav Hansen
tables, metadatafilter is not in use anymore, the rest like importobject... I'm not sure if i have ever seen actually.. -- Morten Olav Hansen Senior Engineer, DHIS 2 Team Integration Lead University of Oslo http://www.dhis2.org On Mon, Aug 27, 2018 at 6:29 PM Calle Hedberg wrote: > Mor

Re: [Dhis2-devs] DHIS2 tables of unknown origin/purpose

2018-08-27 Thread Morten Olav Hansen
Hi Calle I'm not going to start digging down in the HBM history we have... but if you see tables not relevant anymore, you can just delete them.. most of this is not relevant anymore I'm sure -- Morten Olav Hansen Senior Engineer, DHIS 2 Team Integration Lead University of Oslo http://www.dhis2

Re: [Dhis2-devs] [Dhis2-users] User roles un-assigned some authorities after restarting the server

2018-08-23 Thread Morten Olav Hansen
Ok, so it might be a different issue... we had an issue sneak in a few days ago that didn't properly save the authority changes.. maybe Viet can comment -- Morten Olav Hansen Senior Engineer, DHIS 2 Team Integration Lead University of Oslo http://www.dhis2.org On Thu, Aug 23, 2018 at 3:17 PM

Re: [Dhis2-devs] [Dhis2-users] User roles un-assigned some authorities after restarting the server

2018-08-23 Thread Morten Olav Hansen
Hi Em, please try and see if you can reproduce on our play servers https://play.dhis2.org/2.29/ https://play.dhis2.org/2.30/ Also adding in Viet, who made some fixes I think might be relevant to this.. -- Morten Olav Hansen Senior Engineer, DHIS 2 Team Integration Lead University of Oslo http

Re: [Dhis2-devs] [Dhis2-users] HOW TO DOWNLOAD TEI'S FROM 2.29 TRACKER CAPTURE

2018-08-22 Thread Morten Olav Hansen
Hansen Senior Engineer, DHIS 2 Team Integration Lead University of Oslo http://www.dhis2.org On Wed, Aug 22, 2018 at 2:42 PM Stanley Kalyati wrote: > Dear Morten, > > Yes it is 2.29. > > > > On Wed, Aug 22, 2018 at 9:29 AM Morten Olav Hansen > wrote: > >> Hi

Re: [Dhis2-devs] [Dhis2-users] HOW TO DOWNLOAD TEI'S FROM 2.29 TRACKER CAPTURE

2018-08-22 Thread Morten Olav Hansen
Hi Is your war file named 2.29? if not the start of that path is wrong (we have 2.29 2.28 etc on your play server to be able to have multiple instances..) -- Morten Olav Hansen Senior Engineer, DHIS 2 Team Integration Lead University of Oslo http://www.dhis2.org On Wed, Aug 22, 2018 at 2:13

Re: [Dhis2-devs] Need help to identify proper authorities to make API calls in DHIS

2018-08-16 Thread Morten Olav Hansen
Hi This sounds like a bug to me (seems we are not properly filtering the paging component of the result). Would you mind filing a issue at jira.dhis2.org ? (if you have already, please let me know the issue number) -- Morten Olav Hansen Senior Engineer, DHIS 2 Team Integration Lead University

Re: [Dhis2-devs] User PUT issue

2018-08-14 Thread Morten Olav Hansen
ll payload required (an example full payload can be found in the docs) -- Morten Olav Hansen Senior Engineer, DHIS 2 Team Integration Lead University of Oslo http://www.dhis2.org On Tue, Aug 14, 2018 at 11:30 PM Vladimer Shioshvili wrote: > Hey Greg, > > The section of the documentati

Re: [Dhis2-devs] [Dhis2-users] Delete Validation Rules

2018-08-07 Thread Morten Olav Hansen
So you need to find that validation rule in the "validationrule" table, and use that "validationruleid" to delete the correct rows from the "validationresult" table. "DELETE FROM validationresult WHERE validationruleid=??" This does sound like a bug though, so ple

Re: [Dhis2-devs] No option to select format in 2.30 metadata import

2018-08-06 Thread Morten Olav Hansen
Hi Nick This is being worked on, hopefully it should be OK soon. -- Morten Olav Hansen Senior Engineer, DHIS 2 Team Integration Lead University of Oslo http://www.dhis2.org On Tue, Aug 7, 2018 at 4:43 AM, Shurajit Dutta wrote: > Hi > > There is currently no option to select the fi

Re: [Dhis2-devs] Query around OAuth implicit grant

2018-08-03 Thread Morten Olav Hansen
your purposes well? yes I know the implicit grant is a bit simpler to setup, but I think the authorization code approach should work fine for you also. -- Morten Olav Hansen Senior Engineer, DHIS 2 Team Integration Lead University of Oslo http://www.dhis2.org On Fri, Aug 3, 2018 at 5:07 PM, Rajes

Re: [Dhis2-devs] [Urgent] Unable to use highchart plugin on customapps

2018-07-31 Thread Morten Olav Hansen
.org/dev/dhis-web-maps/map.js https://play.dhis2.org/dev/dhis-web-event-visualizer/eventchart.js https://play.dhis2.org/dev/dhis-web-event-reports/eventreport.js (I copied these from our play server, but you would of course need to change the URL to your own server) -- Morten Olav Hansen Senior

Re: [Dhis2-devs] [Dhis2-users] dhis version 2.30 is released

2018-07-16 Thread Morten Olav Hansen
If anyone played around with Kafka, or gain any kind of experience with it... I'm very eager to know :) just reply to me directly (any issues, or whatever) -- Morten Olav Hansen Senior Engineer, DHIS 2 Team Integration Lead University of Oslo http://www.dhis2.org On Fri, Jul 13, 2018 at 2:56 AM

Re: [Dhis2-devs] [Dhis2-users] Display front page list not working

2018-07-16 Thread Morten Olav Hansen
Hi As its summer holidays in Norway replies might be slow, would you mind filing an issue with JIRA? jira.dhis2.org just so that it doesn't get lost when people are back again (we have a good staff the redirects these issues to the relevant person) -- Morten Olav Hansen Senior Engineer, DHIS 2

Re: [Dhis2-devs] Post on Geofeatures API end point

2018-07-16 Thread Morten Olav Hansen
Hi Barnabas I don't know these APIs very well, but from looking at the code it seems these are READ only (so any update have to go through the /api/organisationUnits endpoint) Maybe Lars of Bjørn can clarify -- Morten Olav Hansen Senior Engineer, DHIS 2 Team Integration Lead University of Oslo

Re: [Dhis2-devs] License information for HighCharts

2018-07-16 Thread Morten Olav Hansen
Hi there We were lucky enough to get a OEM license for HighCharts, how this relates to third party apps.. I don't know, only Lars or Jan knows the details of that. From my understanding though, as long as its hosted inside of DHIS2 (and using the same files) you are good to go. -- Morten Olav

Re: [Dhis2-devs] 2.29/2.30 WARNING - do not use Maintenance->ClearAnalyticsTables & parameter "-T analytics*" for database dumps

2018-07-12 Thread Morten Olav Hansen
tables analytics* anymore. -- Morten Olav Hansen Senior Engineer, DHIS 2 Team Integration Lead University of Oslo http://www.dhis2.org On Thu, Jul 12, 2018 at 6:33 PM, Calle Hedberg wrote: > Hi > > I'm glad it's being addressed - but I am less happy to hear you are aware > of it but

Re: [Dhis2-devs] 2.29/2.30 WARNING - do not use Maintenance->ClearAnalyticsTables & parameter "-T analytics*" for database dumps

2018-07-12 Thread Morten Olav Hansen
Ok, thanks Stian (no need to work on this then Viet) (knut, using pg_dump we normally filter away analytic* which means no period boundaries..) -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Thu, Jul 12, 2018 at 6:14 PM, Stian Sandvold wrote: >

Re: [Dhis2-devs] 2.29/2.30 WARNING - do not use Maintenance->ClearAnalyticsTables & parameter "-T analytics*" for database dumps

2018-07-12 Thread Morten Olav Hansen
Hi Knut I mean the main issue the thread was about... using maintenance => clear analytic tables, it will delete analytics* which includes the analytical boundaries. -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Thu, Jul 12, 2018 at 5:11 PM, K

Re: [Dhis2-devs] 2.29/2.30 WARNING - do not use Maintenance->ClearAnalyticsTables & parameter "-T analytics*" for database dumps

2018-07-12 Thread Morten Olav Hansen
potential issues with your backups...) -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Thu, Jul 12, 2018 at 3:58 PM, Calle Hedberg wrote: > Bob, > > No response/action on the JIRA bug report yet - I guess most developers > are on leave (wonderful

Re: [Dhis2-devs] Scripts for import of TEI and events

2018-06-13 Thread Morten Olav Hansen
Hi I'm not aware of any ready scripts for this, but this should be a rather small task using nodejs + xlsx module. Do you have any developers on board? We can provide some guidance. -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Wed, Jun 13, 2018 at 3

Re: [Dhis2-devs] Missing orderby clause in TrackedEntityInstance Ids query

2018-06-07 Thread Morten Olav Hansen
Hi Postgres should return the results in row-order if no order by clause is specified, so it should be OK. You can always specify additional ordering if you need it. -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Thu, Jun 7, 2018 at 8:54 AM, Rajeswari

Re: [Dhis2-devs] Add/Update Public resources permission

2018-06-01 Thread Morten Olav Hansen
Hm, it is correct that for most metadata you would need to have the authorities also, but this does not really make sense for favorites, please make a JIRA issue for it, and we will have a look. -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Wed, May 30

Re: [Dhis2-devs] Authorities for dragging and droping Dashboard Items

2018-05-23 Thread Morten Olav Hansen
Hi Eric This is a bug we are aware of, and it has been fixed in master (what will be 2.30). I'm not sure if it has been backported yet. Viet? -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Wed, May 23, 2018 at 10:41 PM, Eric Barreda Prades < ericba

Re: [Dhis2-devs] Unable to install app

2018-05-16 Thread Morten Olav Hansen
Ok ;) good it works now -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Wed, May 16, 2018 at 3:01 PM, Pooben Dass <poo...@hisp.org> wrote: > Hi Morton > > Please don't bother with this issue ... I found the error of my ways :) >

Re: [Dhis2-devs] Unable to install app

2018-05-15 Thread Morten Olav Hansen
Haven't seen that before, are you sure the zip file is OK (not damaged) ? are you uploading through the UI? -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Tue, May 15, 2018 at 6:31 PM, Pooben Dass <poo...@hisp.org> wrote: > Hi Devs

Re: [Dhis2-devs] How do I filter for authorities

2018-05-01 Thread Morten Olav Hansen
troublesome.. as it can't be implemented without breaking the current functionality -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Mon, Apr 30, 2018 at 6:57 PM, Timothy Harding <thard...@baosystems.com> wrote: > Hello! > > I'm attempting to f

Re: [Dhis2-devs] List of protected tables in DHIS2

2018-04-24 Thread Morten Olav Hansen
Hi Up to date list of protected tables can be found here: https://github.com/dhis2/dhis2-core/blob/master/dhis-2/dhis-api/src/main/java/org/hisp/dhis/sqlview/SqlView.java#L60 -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Wed, Apr 25, 2018 at 12:08 AM

Re: [Dhis2-devs] API not showing 401 Unauthorized error

2018-04-24 Thread Morten Olav Hansen
I think maybe its related to openldap, there was some issues with our ldap configuration a while back Please file a jira issue for it, and I will have Viet have a look at it (at least we can confirm the reason) -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2

Re: [Dhis2-devs] API not showing 401 Unauthorized error

2018-04-23 Thread Morten Olav Hansen
In what version did this return a 401? because that sounds like a bug to me.. if you give me the version number, I can have a look -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Tue, Apr 24, 2018 at 9:38 AM, Morten Olav Hansen <mor...@dhis2.org>

Re: [Dhis2-devs] API not showing 401 Unauthorized error

2018-04-23 Thread Morten Olav Hansen
tells DHIS2 that this request is done by XHR (and not a browser), we can't change the default to 401 as it would break things badly. -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Mon, Apr 23, 2018 at 7:17 PM, Jason Pickering < jason.p.picker...@gmail.

Re: [Dhis2-devs] API not showing 401 Unauthorized error

2018-04-22 Thread Morten Olav Hansen
Try and set the header "X-Requested-With" to "XMLHttpRequest" -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Sat, Apr 21, 2018 at 8:19 PM, Rangarirai Matavire <matavi...@gmail.com> wrote: > Thanks Jason, > > In a

Re: [Dhis2-devs] API not showing 401 Unauthorized error

2018-04-20 Thread Morten Olav Hansen
It should be district, not distric... but also people keep changing our internal passwords (our database resets every 24 hour) -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Fri, Apr 20, 2018 at 12:09 PM, Rangarirai Matavire <matavi...@gmail.com>

Re: [Dhis2-devs] Update User Password Via Web API

2018-03-26 Thread Morten Olav Hansen
What you provide here is just the summary report... To change a password, you need to add "password" field to the "userCredentials" part of the payload... are you doing that? -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Mon, Mar

Re: [Dhis2-devs] table for Category Options

2018-02-13 Thread Morten Olav Hansen
dataelementcategoryoption -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Tue, Feb 13, 2018 at 4:38 PM, Calle Hedberg <calle.hedb...@gmail.com> wrote: > Hi > > Quick question: I have just added two CATEGORY OPTIONS to an instance - >

Re: [Dhis2-devs] Web api authorization not working

2018-02-07 Thread Morten Olav Hansen
Did you whitelist your domain in CORS settings? -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Thu, Feb 8, 2018 at 2:37 AM, Knut Staring <knu...@gmail.com> wrote: > Forwarding to the dev list. > > On Feb 7, 2018 8:31 PM, "Teren

Re: [Dhis2-devs] [Dhis2-users] Unknown error when importing events

2018-01-23 Thread Morten Olav Hansen
Hi Kelly Would you mind filing an issue for this in JIRA? (jira.dhis2.org). We need to know your DHIS2 version, how did you export the events (or did you create them externally). -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Tue, Jan 23, 2018 at 10:42

Re: [Dhis2-devs] DHIS2 Live / Jetty v.3 / CORS

2017-12-20 Thread Morten Olav Hansen
Ok, so are you successful or not? :) Adding in frontend team just in case.. -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Tue, Dec 19, 2017 at 10:44 PM, Freeman, Chase <chase.free...@msi-inc.com> wrote: > Awesome! Thanks Jason. I wa

Re: [Dhis2-devs] DHIS2 Live / Jetty v.3 / CORS

2017-12-18 Thread Morten Olav Hansen
DHIS2 instance. Please be aware that the live package has some issues with analytics (unless you have mapped it to use a local postgres service), another approach could be to use dhis2-docker [1]. [1] https://github.com/dhis2/dhis2-docker -- Morten Olav Hansen Senior Engineer, DHIS 2 University

Re: [Dhis2-devs] Pivot table not updated

2017-12-12 Thread Morten Olav Hansen
Hi Sunakshi There must be something in the web console or in the tomcat console? did you create a JIRA issue for it? (2.25 is a bit old now, but maybe Jan can have a look at it) -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Wed, Dec 13, 2017 at 1:21

Re: [Dhis2-devs] getting list of datasets

2017-12-11 Thread Morten Olav Hansen
]]] -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Mon, Dec 11, 2017 at 11:08 PM, Ramón José Jiménez Pomareta < dh...@pomareta.ch> wrote: > Hello Dave, > > Thank you for your prompt answer. Unfortunately, this time, this is not > the ca

Re: [Dhis2-devs] Unable to update password using API in 2.28

2017-12-05 Thread Morten Olav Hansen
Hi Victor A fix is now available in 227, 228 and master. Please give our servers 1 hour to build and deploy latest versions. -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Tue, Dec 5, 2017 at 10:22 AM, Morten Olav Hansen <mor...@dhis2.org> wrote:

Re: [Dhis2-devs] Unable to update password using API in 2.28

2017-12-04 Thread Morten Olav Hansen
Hi Victor The syntax seems OK, I will have a look at it -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Mon, Dec 4, 2017 at 9:53 PM, Victor Garcia <vgarcia...@gmail.com> wrote: > Hi all, > > I am having troubles trying to update users' p

Re: [Dhis2-devs] [Dhis2-users] National DHIS2 and R Integration

2017-11-30 Thread Morten Olav Hansen
Hi You don't say exactly which part you want to improve, but having a look at Jasons github repo might be a good start [1]. At least it shows some examples of working with the API using R. [1] https://github.com/jason-p-pickering/dhis2-data-munging -- Morten Olav Hansen Senior Engineer, DHIS 2

Re: [Dhis2-devs] DHIS-2 API: Partial Update of organisation objects (extra attributes)

2017-11-26 Thread Morten Olav Hansen
Hi That syntax does not work anymore, please try without the /name part at the end -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Fri, Nov 24, 2017 at 7:19 PM, Omer Butt <omerbutt2...@gmail.com> wrote: > Hi, > > Dhis-2 Developer Guide:

Re: [Dhis2-devs] DHIS-2 API's : Updating the attributes values of a specific org Unit

2017-11-26 Thread Morten Olav Hansen
Hi Omer Instead of doing "orgUnit": "YOUR-ID", it should just be "id": "YOUR-ID" -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Fri, Nov 24, 2017 at 5:31 PM, Omer Butt <omerbutt2...@gmail.com> wrote:

Re: [Dhis2-devs] Issues with Upgrade from DHIS 2.26 to DHIS 2.27

2017-11-23 Thread Morten Olav Hansen
Please try again with latest 227 -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Thu, Nov 23, 2017 at 11:00 AM, Morten Olav Hansen <mor...@dhis2.org> wrote: > > Legends are now directly contained in the object where they are used, s

Re: [Dhis2-devs] [Dhis2-users] External access (Without Login) Not Working for Resources.

2017-11-22 Thread Morten Olav Hansen
Hi Can you give our servers about 1 hour to build, then try again with latest version (I have made a fix available down to 2.27) -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Thu, Nov 23, 2017 at 12:40 PM, Sourabh Bhardwaj <bsourabh...@gmail.

Re: [Dhis2-devs] Issues with Upgrade from DHIS 2.26 to DHIS 2.27

2017-11-22 Thread Morten Olav Hansen
ve > been renamed to lastUpdatedAtClient and createdAtClient. If this is the > case, we think that the data in lastUpdated and created must be migrated > to lastUpdatedAtClient and createdAtClient. If yes, could you point us to > any such migration script? > > Thanks, > Madhoolika/J

Re: [Dhis2-devs] DHIS-2 API For setting attributes values of organisation unit.

2017-11-21 Thread Morten Olav Hansen
Hi Omer Just use the normal OU payload, and add the attributes: { ... normal OU payload, "attributes": [ { "attribute": {"id": "UID OF ATTRIBUTE"}, "value": "value1"}, { "attribute": {"id": "

Re: [Dhis2-devs] Issues with Upgrade from DHIS 2.26 to DHIS 2.27

2017-11-21 Thread Morten Olav Hansen
Hi Jhansi Legends are now directly contained in the object where they are used, so no need to reference by UIDs anymore, translations should also be put directly in the legend payload. created/lastUpdated should not be gone, I think thats a bug, I will look into it. -- Morten Olav Hansen

Re: [Dhis2-devs] [Dhis2-users] External access (Without Login) Not Working for Resources.

2017-11-21 Thread Morten Olav Hansen
Hi Could you please include the server log? it should include a stack trace of what is going on -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Mon, Nov 20, 2017 at 6:19 PM, Sourabh Bhardwaj <bsourabh...@gmail.com> wrote: > Hi All, > >

Re: [Dhis2-devs] Questions in TrackedEntityInstance and Enrollment Web API

2017-11-16 Thread Morten Olav Hansen
Yes, these are free to be used -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Fri, Nov 17, 2017 at 12:25 PM, Jhansi Reddy Karee < jhans...@thoughtworks.com> wrote: > Hello Team, > > We have few questions regarding enrollments and tracked

Re: [Dhis2-devs] Issue with Enrollments API Pagination - Not returning pager details

2017-11-08 Thread Morten Olav Hansen
Ok, I have put the task on Viet -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Wed, Nov 8, 2017 at 11:53 AM, Jhansi Reddy Karee < jhans...@thoughtworks.com> wrote: > Thanks @Stian for creating the bug. > > Yes @Morten, we tried paginati

Re: [Dhis2-devs] Issue with Enrollments API Pagination - Not returning pager details

2017-11-07 Thread Morten Olav Hansen
Hi Did you have a look at the enrollment API docs? please try out totalPages=true and see if it does what you want. https://docs.dhis2.org/master/en/developer/html/webapi_enrollment_instance_query.html -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org

Re: [Dhis2-devs] Appstore googlability?

2017-11-01 Thread Morten Olav Hansen
Hi Knut I have submitted a "request to index" to Google, let's see if it helps or not... I guess for it to be indexed to start with, it needs to be linked from somewhere. -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Wed, Nov 1, 2017 at 4:2

Re: [Dhis2-devs] [Dhis2-users] Populating data from Excel to DHIS2 Data Entry Web Form with Internet Explorer

2017-10-26 Thread Morten Olav Hansen
Hi there To make sure that the data values are saved, you need to trigger the "change" event on each field. https://github.com/dhis2/dhis2-core/blob/master/dhis-2/ dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web- dataentry/javascript/form.js#L538 -- Morten Olav Hansen Senio

Re: [Dhis2-devs] [Dhis2-users] Tracker associate question

2017-10-23 Thread Morten Olav Hansen
Hi Georgi Could you please file JIRA issues for this? jira.dhis2.org (new feature, as its not currently supported) -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Mon, Oct 23, 2017 at 4:30 PM, Georgi Chakarov <geo...@logicaloutcomes.net >

Re: [Dhis2-devs] [Dhis2-users] Import of a new event (not from another instance)

2017-10-11 Thread Morten Olav Hansen
ww.npmjs.com/package/dhis2-cli https://www.npmjs.com/package/dhis2-uid -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Wed, Oct 11, 2017 at 1:21 PM, Terence Scott < terence.sc...@rabiesalliance.org> wrote: > Dear All > > We have collected ani

Re: [Dhis2-devs] [DHIS2-2172] Metadata import was failing to sync user groups

2017-09-19 Thread Morten Olav Hansen
Hi Srikanth My thoughts on that is that we are soon releasing 2.28, so our focus is on that release, I will have a look after the release, or you are welcome to contribute with a patch if you can. -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Tue, Sep

Re: [Dhis2-devs] DHIS-2 API

2017-09-10 Thread Morten Olav Hansen
Hi Omer Please have a look at our data set completeness APIs https://docs.dhis2.org/master/en/developer/html/webapi_complete_data_set_registrations.html -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Mon, Sep 11, 2017 at 11:08 AM, Omer Butt <omerbu

Re: [Dhis2-devs] Error in password reset and new user creation

2017-08-29 Thread Morten Olav Hansen
to the value you had it at -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Wed, Aug 30, 2017 at 3:32 AM, Mike Johnson <mjohn...@pih.org> wrote: > Hi, > > > > A few weeks ago, we noticed that changes to our user roles were not being > saved

Re: [Dhis2-devs] [Dhis2-users] Timeout when updating large organisation unit group in large instance (2.23)

2017-08-29 Thread Morten Olav Hansen
Sorry, but the metadata importer was quite slow before ;-) it has been greatly improved in 224 and going forward... Did you try and enable the preheat parameter? preheatCache=true -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Tue, Aug 29, 2017 at 2:00

Re: [Dhis2-devs] [Dhis2-users] Timeout when updating large organisation unit group in large instance (2.23)

2017-08-28 Thread Morten Olav Hansen
Sure, but if you are on 2.23... dot dot dot... some concessions has to be made -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Tue, Aug 29, 2017 at 2:07 AM, Martin Van Aken <mar...@joyouscoding.com> wrote: > Agree on the upgrade but not every

Re: [Dhis2-devs] [Dhis2-users] Timeout when updating large organisation unit group in large instance (2.23)

2017-08-28 Thread Morten Olav Hansen
If you are willing to do manual import (using the command line), in 223 you can use /api/23/metadata I think... it will use the "new" importer.. which should be quicker, please be aware that 223 is not supported anymore, so please update ASAP if you can.. -- Morten Olav Hansen Senio

Re: [Dhis2-devs] [Dhis2-users] Timeout when updating large organisation unit group in large instance (2.23)

2017-08-28 Thread Morten Olav Hansen
Hi Martin What version of DHIS2 are you on? if you are on 227 there is currently a bug that has lowered performance in 227 vs the older versions (226, 225, etc..) If you are not, if you could.. please file a JIRA issue and either attach the org units, or email me directly -- Morten Olav Hansen

Re: [Dhis2-devs] Unable to open settings app.

2017-08-28 Thread Morten Olav Hansen
Hi Looking at the stack trace, it looks like this is related to attributes on users.. would you mind filing a JIRA issue for it? -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Mon, Aug 28, 2017 at 1:11 PM, Pooben Dass <poo...@hisp.org> wrote:

Re: [Dhis2-devs] metadata import in 2.27 much slower than in 2.26

2017-08-25 Thread Morten Olav Hansen
Hi Vlad No, it should not be like that. Would you mind filing a JIRA issue? and share the payload (either in JIRA, or directly to me) -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Thu, Aug 24, 2017 at 10:13 PM, Vladimer Shioshvili <vshio

Re: [Dhis2-devs] async metadata import in 2.27

2017-08-22 Thread Morten Olav Hansen
Hi Vlad Yes, this is on the list of todo ;) hopefully should have time this week (or it will have to wait for next week) -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Tue, Aug 22, 2017 at 12:53 PM, Vladimer Shioshvili <vshioshv...@gmail.com >

Re: [Dhis2-devs] DHIS-2 Developer API -Login Through DHIS2-API from other Website

2017-08-22 Thread Morten Olav Hansen
/en/user/html/system_access_settings.html -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Tue, Aug 22, 2017 at 6:56 AM, Omer Butt <omerbutt2...@gmail.com> wrote: > Sir, > Please Provide me a guideline of using API to login from other Websit

Re: [Dhis2-devs] DHIS 2 -Developer Guide Api's

2017-08-17 Thread Morten Olav Hansen
Have a look at the /api/me endpoint https://docs.dhis2.org/master/en/developer/html/webapi_current_user_information.html -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Thu, Aug 17, 2017 at 1:30 PM, Omer Butt <omerbutt2...@gmail.com> wrote: >

Re: [Dhis2-devs] CSV Event upload failed: "latitude" not a valid Double value

2017-08-06 Thread Morten Olav Hansen
Hi there I'm not sure about this issue, but there have been some fixes to CSV import lately, would you mind getting the latest 227 and retry? if it's still present, could you write up a JIRA issue for? and we will have a look jira.dhis2.org -- Morten Olav Hansen Senior Engineer, DHIS 2

Re: [Dhis2-devs] [Dhis2-users] Error running Analytics

2017-08-06 Thread Morten Olav Hansen
Hi I'm not sure how well analytics currently works on H2. Would you mind writing a JIRA issue for? jira.dhis2.org -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Thu, Aug 3, 2017 at 8:42 PM, ThankGod Anazodo <anazodothank...@yahoo.com> wrote:

Re: [Dhis2-devs] async metadata import in 2.27

2017-08-06 Thread Morten Olav Hansen
Hi It should work like that. Would you mind writing a JIRA issue? jira.dhis2.org -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Thu, Aug 3, 2017 at 12:03 PM, Vladimer Shioshvili <vshioshv...@gmail.com> wrote: > Hi everyone, > > I am t

Re: [Dhis2-devs] Fwd: [Dhis2-users] API calls using Node.js examples

2017-07-27 Thread Morten Olav Hansen
.then( res => { console.log( res.dataElements.length ); } ) .catch( err => console.error( err ) ); If you would want to use an OAuth2 bearer token instead you would change the Authorization header. -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://w

Re: [Dhis2-devs] [Dhis2-users] WebAPI Bugs when filtering by level and ancestor

2017-07-26 Thread Morten Olav Hansen
Hi Mamadou Could you please report a bug to JIRA? jira.dhis2.org -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Wed, Jul 26, 2017 at 11:52 PM, Mamadou Diao Diallo < diao_dia...@gn.jsi.com> wrote: > Hi Devs, > > I'm currently using dhis2

Re: [Dhis2-devs] WebAPI : New way to assign an orgUnit to an orgUnitGroup?

2017-07-24 Thread Morten Olav Hansen
Hi Have you had a look at our collection API? https://docs.dhis2.org/master/en/developer/html/webapi_ metadata_crud.html#webapi_adding_removing_objects_collections -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Fri, Jul 21, 2017 at 12:23 AM, Farai

Re: [Dhis2-devs] Data Elements With Assigned Category Combo Shows as Default On data Entry Screen

2017-07-13 Thread Morten Olav Hansen
Yeah, btw.. this is confirmed fixed in 226/227... so if you can look into upgrading, that would be nice.. (or at least test, and confirm it works in those versions) -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Fri, Jul 14, 2017 at 1:35 AM, David

Re: [Dhis2-devs] Right scrolling arrow on dashboard disappear on spanish translation

2017-07-13 Thread Morten Olav Hansen
Hi Sergio This is new for us, can you please create a new issue at jira.dhis2.org ? -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Thu, Jul 13, 2017 at 1:11 AM, Sergio Valenzuela < sergio.valenzu...@ehas.org> wrote: > Hello Team, > > W

Re: [Dhis2-devs] Data Elements With Assigned Category Combo Shows as Default On data Entry Screen

2017-07-13 Thread Morten Olav Hansen
We are aware of this and will hopefully provide you a fix in 2-3 weeks. -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Wed, Jul 12, 2017 at 3:54 AM, David Muturi <dnmut...@gmail.com> wrote: > Hi Team, > I am currently using DHIS2 2.25 b

Re: [Dhis2-devs] [Dhis2-users] 2.27 password constraints enforced

2017-07-13 Thread Morten Olav Hansen
Hi Elmarie... Yes its true that shortest might be 90 days, but if you have db access... set the expiry to 2014 or something like that, and everyone have to change their password (obviously... test locally first) -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2

Re: [Dhis2-devs] [Dhis2-users] Recursive filters not working in the DHIS2 web API

2017-07-06 Thread Morten Olav Hansen
?filter=dataElements.id:eq:ID1=dataElements.id:eq:ID2=OR https://docs.dhis2.org/master/en/developer/html/webapi_metadata_object_filter.html https://docs.dhis2.org/master/en/developer/html/webapi_metadata_object_filter.html#webapi_metadata_logical_operator -- Morten Olav Hansen Senior Engineer, DHIS 2

Re: [Dhis2-devs] Import of Events is extremely slow - any plans to improve it?

2017-07-04 Thread Morten Olav Hansen
it a lot, but this required a complete rewrite, and to have the same gains in event import we might have to do the same (which means it will have to wait a while). Feel free to write a issue for it. -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Sat, Jul 1

Re: [Dhis2-devs] Error when updating data set expiry days

2017-07-04 Thread Morten Olav Hansen
Hi Jason Did you create a issue for this? -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Mon, Jul 3, 2017 at 9:25 PM, JM Alcantara <jmalcanta...@gmail.com> wrote: > It seems this also affects the setup of grey fields in sections. > >

Re: [Dhis2-devs] [Dhis2-users] Unable to save favorites on version 2.25

2017-06-29 Thread Morten Olav Hansen
Post to : dhis2-us...@lists.launchpad.net > Unsubscribe : https://launchpad.net/~dhis2-users > More help : https://help.launchpad.net/ListHelp > -- -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org ___

Re: [Dhis2-devs] Generating 2.5 mill UIDs and saving them to a file

2017-06-25 Thread Morten Olav Hansen
Hi Calle Just use something like this (you need to have the uid() function installed first) copy (select uid() as uid from generate_series(1,10)) to '/tmp/test.csv'; and replace 10 with whatever number you want -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2

Re: [Dhis2-devs] [Dhis2-users] Any open source GIS/map database tools other than DHIS2

2017-06-21 Thread Morten Olav Hansen
While we don't support data extraction using GeoJson yet, we do support export of points/polygon at /api/organisationUnits.geojson?level=2=3 (and have had it since 2.20 or something) (couldn't load up dhis2.org now for some reason, but there should be docs for it) -- Morten Olav Hansen Senior

Re: [Dhis2-devs] [Dhis2-users] Export & Import of a single Data Set

2017-06-21 Thread Morten Olav Hansen
Great :) -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Wed, Jun 21, 2017 at 5:10 AM, gerald thomas <gerald17...@gmail.com> wrote: > Dear Morten, > I was trying to update the corrupted data set rather than creating a > new one that was

Re: [Dhis2-devs] Multiple active program instances exists for program--What does this mean?

2017-06-21 Thread Morten Olav Hansen
Is aLafAMWpq59 a no registration program? if so, only one program instance should ever be linked to this program, it could be a issue in your database. -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Tue, Jun 20, 2017 at 9:05 PM, Jason Pickering

Re: [Dhis2-devs] Problem with creating indicators

2017-06-21 Thread Morten Olav Hansen
Hi Jason Could you create a jira issue, and assign it to me? also include the full stack trace... -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Tue, Jun 20, 2017 at 8:41 PM, Jason Pickering < jason.p.picker...@gmail.com> wrote: > Hi Devs,

Re: [Dhis2-devs] Export & Import of a single Data Set

2017-06-19 Thread Morten Olav Hansen
Hi Gerald What version of DHIS2 are you on? if you are on a recent version (I think 2.25+) you can go to import-export module, then select metadata dependency export, and then the data set you want exported. This data set can then be imported into your other instance. -- Morten On Tue, Jun 20,

Re: [Dhis2-devs] java.lang.IllegalStateException: getOutputStream() has already been called for this response

2017-06-18 Thread Morten Olav Hansen
Hi When did this happen? and what version of DHIS2? normally this is something you can disregard, maybe connection issues or something similar. Did DHIS2 continue to work normal after? -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Sun, Jun 18, 2017

  1   2   3   4   5   6   7   8   9   10   >