Re: [Dhis2-devs] openID

2015-11-05 Thread Morten Olav Hansen
can't login with OpenID, after i added OpenID > Provider is:https://www.google.com/accounts/o8/id and added gmailID into > user management in field: OpenID already. > > by the way, if new version support LDAP server, it is great. :-) > > On Fri, Nov 6, 2015 at 2:24 PM, Morten O

Re: [Dhis2-devs] Build fail on trunk

2015-10-19 Thread Morten Olav Hansen
Hi Long Are you sure you have updated to Java 8 locally? it should build fine now.. -- Morten On Mon, Oct 19, 2015 at 1:57 PM, Long Ngo Thanh wrote: > Hi team, > > I got error while trying to compile the code on trunk rev 20753 > > [ERROR] Failed to execute goal >

Re: [Dhis2-devs] Build fail on trunk

2015-10-19 Thread Morten Olav Hansen
computer and my JAVA_HOME is pointing to jdk 1.8.0. > Let me try to clean the maven repo on my computer and build it again. > > > > On Mon, Oct 19, 2015 at 2:19 PM Morten Olav Hansen <morte...@gmail.com> > wrote: > >> Hi Long >> >> Are you sure you

Re: [Dhis2-devs] Import TrackedEntityInstances through api

2015-10-15 Thread Morten Olav Hansen
Hi One of the attributes you are sending in is using scope = program, which means it needs to know which program this belongs to.. since you are just creating a TEI without doing enrollment etc.. maybe its a misconfiguration? probably the scope is wrong? -- Morten On Thu, Oct 15, 2015 at 4:29

Re: [Dhis2-devs] Updating the password of one user using PATCH in the Web API (2.20)

2015-10-13 Thread Morten Olav Hansen
Hi Jose When it comes to user credentials, it needs to be treated a bit differently. What you probably have to do, is to basically include the full payload of the old usercredentials with the new password. It does not support matching on anything else than "user": { "id": "..." } which is

Re: [Dhis2-devs] [Bug 1483215] Re: Exception while Importing Meta Data

2015-10-07 Thread Morten Olav Hansen
Hi This is not an ideal solution, but could you take your XML file and find all category/options with name "default" and remove them? hopefully it should work after that, we did fix a bug similar to this a few weeks ago.. but I'm hearing some people still have issues with it, so I will have

Re: [Dhis2-devs] CORS whitelist

2015-10-08 Thread Morten Olav Hansen
Hi Looking at your URL, I think you are enabling CORS in the wrong end. The server you are requesting from is not DHIS2? You need that server to support CORS, not the server you are making the request from. -- Morten On Wed, Oct 7, 2015 at 12:26 PM, Sourabh Bhardwaj

Re: [Dhis2-devs] Cors Whitelist.

2015-10-08 Thread Morten Olav Hansen
Hi can you give the full error? if its related to CORS, usually it would say "cross origin requests are not allowed" etc -- Morten On Thu, Oct 8, 2015 at 2:39 PM, Sourabh Bhardwaj wrote: > Hi, > > I want to pull data from third party and I have added the domain to CORS

[Dhis2-devs-core] Email flood

2015-10-20 Thread Morten Olav Hansen
Sorry for the email flooding people, we were just hit by a launchpad bug when I was doing the branching for 2.21, they have confirmed it and are working on it.. at least they have purged the email queue, so it should have stopped now -- Morten -- Mailing list:

Re: [Dhis2-devs] XML Import of Org Unit Attribute

2015-10-14 Thread Morten Olav Hansen
Hi Laura The simplest way to get to know what is required for a import is to go to /api/schemas, in your case you should have a look at /api/schemas/organisationUnit. We do not support any kind of patching when it comes to multiple imports, so you have to include the full object. If you are only

Re: [Dhis2-devs] [Bug 1506317] [NEW] 'paging=false' not being understood by event api

2015-10-14 Thread Morten Olav Hansen
Hi For events API, you must use skipPaging=true -- Morten On Thu, Oct 15, 2015 at 12:17 PM, Graham Smith wrote: > Public bug reported: > > Hello, > > I am trying to turn off the automatic page limit default for viewing > events in the api (e.g. server/api/events). The default

Re: [Dhis2-devs] Imporing orgunits through Web API with JSON

2015-10-11 Thread Morten Olav Hansen
Hi David As Lars said, you should have the coordinates in a string, you can see the spec of GeoJSON at [1], basically what is inside OU.coordinates is the same as what is inside geometry.coordinates in GeoJSON. You should also add "featureType": "POINT" (since you are adding a point), there is

[Dhis2-devs] [Bug 1458708] Re: timezone-issues-with-resource-table

2015-07-08 Thread Morten Olav Hansen
** Changed in: dhis2 Status: Confirmed = Fix Committed -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/1458708 Title: timezone-issues-with-resource-table Status in DHIS 2: Fix Committed

Re: [Dhis2-devs-core] Changed response payload in web-api

2015-07-09 Thread Morten Olav Hansen
This change have now been applied to all of the web-api, please if you see any weird { message: ... } error messages, report back to me. If you see it in your own apps, just to JSON.parse(responseText).message. -- Morten On Wed, Jul 8, 2015 at 12:07 PM, Morten Olav Hansen morte...@gmail.com

Re: [Dhis2-devs] Internationalization of Web API response info / conflicts?

2015-07-07 Thread Morten Olav Hansen
difficult. Knowing the changes you have planned will be helpful as it could potentially break the way we're currently parsing the results. By the way, we're working off 2.20 snapshot. Thanks, Lorill On Tue, Jun 16, 2015 at 7:39 PM, Morten Olav Hansen morte...@gmail.com wrote: Hi

[Dhis2-devs-core] Changed response payload in web-api

2015-07-07 Thread Morten Olav Hansen
Hi everyone As part of the continued change to WebMessage based responses in the web-api, I have now more or less removed all old text based responses.. there might be a few more, but I will go through it today and remove all of it. If you have any code that assumes a text based payload, you will

Re: [Dhis2-devs] Internationalization of Web API response info / conflicts?

2015-07-09 Thread Morten Olav Hansen
version/build this was fixed in? I am still seeing the issue in 2.20-SNAPSHOT build #19473 Kind regards Alan On Tue, Jul 7, 2015 at 9:35 PM, Morten Olav Hansen morte...@gmail.com wrote: Hi Most of this should now be fixed, please note that also our import summary(ies) are now wrapped

Re: [Dhis2-devs] stian sandvold joins as developer

2015-08-28 Thread Morten Olav Hansen
Welcome to the team! -- Morten On Sat, Aug 29, 2015 at 2:16 AM, Jim Grace jimgr...@gmail.com wrote: Welcome, Stian! On Fri, Aug 28, 2015 at 1:50 PM, Abyot Gizaw aby...@gmail.com wrote: Warm Welcome ! - Thank you, Abyot. (sent from mobile) Hi all, Stian Sandvold has joined the

Re: [Dhis2-devs] nicolay ramm joins as developer

2015-08-28 Thread Morten Olav Hansen
Welcome to the team! -- Morten On Sat, Aug 29, 2015 at 2:12 AM, Jim Grace jimgr...@gmail.com wrote: Welcome, Nicolay! On Fri, Aug 28, 2015 at 12:39 PM, Halvdan Grelland halvda...@gmail.com wrote: Welcome to the team! 2015-08-28 17:49 GMT+02:00 Lars Helge Øverland larshe...@gmail.com:

Re: [Dhis2-devs] Web portal CORS/preflight problem

2015-08-27 Thread Morten Olav Hansen
Hi Hannan I haven't used the portal plugins (maybe Jan can help there), but what I did when I implemented CORS for DHIS 2, was to simply test using this: $.ajax({ url: 'some-web-api-url.json', headers: { Authorization: btoa('admin:district' } }).done(...); Also remember that there must be a

Re: [Dhis2-devs] Web portal CORS/preflight problem

2015-08-27 Thread Morten Olav Hansen
On Thu, Aug 27, 2015 at 3:47 PM, Morten Olav Hansen morte...@gmail.com wrote: headers: { Authorization: btoa('admin:district' } That should be headers: { Authorization: 'Basic ' + btoa('admin:district' } -- Morten ___ Mailing list: https

Re: [Dhis2-devs] Problem log-in

2015-09-01 Thread Morten Olav Hansen
Hi That error message just means wrong password.. bad credentials -- Morten On Tue, Sep 1, 2015 at 2:51 PM, channara rin wrote: > Hi all dhis2, > Can you help me what is problem login page, i can't log in with admin > account. What should i do? > [image: Inline image

Re: [Dhis2-devs] [Web API] Is there a way to do AND with filters?

2015-09-04 Thread Morten Olav Hansen
er=validationCriteria.value:gt:4 > *? And the type of validationCriteria.value is string... > > Can I achieve this somehow from the API?...comparing a string as though it > was an integer through the gt,lt...operators? > > regards > harsh > > On 4 September 2015 at 13:32, Morten Olav Hansen <

Re: [Dhis2-devs] error using curl command

2015-09-07 Thread Morten Olav Hansen
ike: >>> -u "admin:x" >>> or >>> -u 'admin:x' >>> >>> >>> On 4 September 2015 at 09:46, channara rin <rin.chann...@gmail.com> >>> wrote: >>> >>>> Hi Morten, >>>> Hi tried test

Re: [Dhis2-devs] error using curl command

2015-09-03 Thread Morten Olav Hansen
I have also seen weird issues on window versions of cURL where -u user:pass is required to be FIRST (mac/linux should be fine) -- Morten On Thu, Sep 3, 2015 at 5:07 PM, Bob Jolliffe wrote: > Hi Channara > > The man page for curl indicates that the format of the command

Re: [Dhis2-devs] Weird cache issue

2015-09-02 Thread Morten Olav Hansen
gt; > Regards > Calle > > On 2 September 2015 at 13:27, Morten Olav Hansen <morte...@gmail.com> > wrote: > >> Try and add this to your hibernate.properties file >> >> hibernate.show_sql = true >> hibernate.format_sql = true >> >> -- >&

Re: [Dhis2-devs] error using curl command

2015-09-03 Thread Morten Olav Hansen
p 3, 2015 at 12:08 PM, Morten Olav Hansen <morte...@gmail.com> > wrote: > >> I have also seen weird issues on window versions of cURL where -u >> user:pass is required to be FIRST (mac/linux should be fine) >> >> -- >> Morten >> >> On Thu, Sep 3

Re: [Dhis2-devs] [Web API] Is there a way to do AND with filters?

2015-09-04 Thread Morten Olav Hansen
Hi, Sorry, seems the docs are a bit out of date. It was sent out on the mailing list a while that this actually changed, all operators are now AND, it is not possible to do any kind of OR operation (but you can use :in:[]) -- Morten On Fri, Sep 4, 2015 at 2:58 PM, Harsh Atal

Re: [Dhis2-devs] error using curl command

2015-09-04 Thread Morten Olav Hansen
..@gmail.com> > wrote: > >> yes, it work too. >> >> >> On Thu, Sep 3, 2015 at 6:45 PM, Morten Olav Hansen <morte...@gmail.com> >> wrote: >> >>> Try to test with something simpler >>> >>> curl -u user:pass http://server/api/da

Re: [Dhis2-devs] Deactivatimg Lock Exception (Data Loss)

2015-09-10 Thread Morten Olav Hansen
Hi As I said, all you have to do is to edit your data set, and set expiry days to 0. That will make sure that the data set never expires. I assume you mean deactivate data set locks, not exceptions. -- Morten On Fri, Sep 11, 2015 at 9:21 AM, gerald thomas wrote: > Dear

Re: [Dhis2-devs] very important

2015-09-11 Thread Morten Olav Hansen
If you have bzr installed, you can simply do "bzr branch lp:dhis2" in the terminal -- Morten On Fri, Sep 11, 2015 at 3:01 PM, ahmad alelewi wrote: > hi > im web developer i tried to get DHIS2 source code but i couldn't Even > though me downloaded bzr but i dont know

Re: [Dhis2-devs] Deactivatimg Lock Exception (Data Loss)

2015-09-11 Thread Morten Olav Hansen
, gerald thomas < >> gerald17...@gmail.com> >> >> > wrote: >> >> > >> >> >> Dear Morten, >> >> >> Sierra Leone is experience a rear situation. >> >> >> There is a lock exception which was activated for the

Re: [Dhis2-devs-core] release preparations

2015-09-14 Thread Morten Olav Hansen
And please be aware that we have updated many constant strings to become enums, and will continue this work for at least one more week. If you see any strange issues, it might be because of this. The big one is the removal of data element type/number type/text type, which was replaced by a value

Re: [Dhis2-devs] Error: switching calendars seems buggy

2015-09-15 Thread Morten Olav Hansen
Hi Actually, there is only one point where you can switch the calendar, and that is at the very start of a fresh database. We should probably make this more obvious (maybe a big warning or something). -- Morten On Tue, Sep 15, 2015 at 4:55 PM, Knut Staring wrote: > During

Re: [Dhis2-devs] [Dhis2-users] login issue

2015-09-16 Thread Morten Olav Hansen
e whether way I had tried it > saying "wrong URL" > > Regards, > Gerald > On Sep 17, 2015 2:30 AM, "Morten Olav Hansen" <morte...@gmail.com> wrote: > >> Hi Faraz >> >> I think we need a bit more information here. Are you tryin

Re: [Dhis2-devs] Error 415 UNSUPPORTED_MEDIA_TYPE

2015-09-14 Thread Morten Olav Hansen
Hi I will let Lars give you the definitive answer.. but I think its currently only possible to import CSV metadata through the UI, could you please try that out and see if it works for you? -- Morten On Mon, Sep 14, 2015 at 1:19 PM, moses mwale wrote: > Am trying to

[Dhis2-devs-core] Small change in user/userCredentials API

2015-10-05 Thread Morten Olav Hansen
Hi everyone Just wanted to let you know that UserCredentials.user has been renamed to UserCredentials.userInfo (this is also reflected in JSON/XML payloads). UserCredentials.user will from now on be used to tell who created the UserCredentials (User) as it is elsewhere in the system -- Morten

Re: [Dhis2-devs] Not Able to Run Portal using mvn Jetty:run

2015-09-27 Thread Morten Olav Hansen
Hi To run the portal you need to use mvn jetty:run-war -- Morten On Sun, Sep 27, 2015 at 4:41 PM, haider iqbal wrote: > Hi, > > I am facing a issue that i am unable to run the portal using "mvn > jetty:run" command. This command was run in dhis-web-portal directory. >

Re: [Dhis2-devs] [Bug 1498505] [NEW] Adding orgunit allows multiple duplicates

2015-09-22 Thread Morten Olav Hansen
I agree this is not good. Mark will fix this in his new apps in a generic way. I think this should be marked no fix. On Tuesday, 22 September 2015, Bob Jolliffe wrote: > Public bug reported: > > When you create a new orgunit and press the "Add" button multiple times >

Re: [Dhis2-devs] JS Errors in data entry

2015-09-25 Thread Morten Olav Hansen
Try to manually run the getMedaData.action in data-entry, and then take that output to jsonlint.com Unexpected token u, means something was undefined.. -- Morten On Fri, Sep 25, 2015 at 4:49 PM, Jason Pickering < jason.p.picker...@gmail.com> wrote: > We are seeing an error in data entry, which

Re: [Dhis2-devs] JS Errors in data entry

2015-09-25 Thread Morten Olav Hansen
ecting 'STRING', got ','] > > On Fri, Sep 25, 2015 at 11:53 AM, Morten Olav Hansen <morte...@gmail.com> > wrote: > >> Try to manually run the getMedaData.action in data-entry, and then take >> that output to jsonlint.com >> >> Unexpected token u, means som

Re: [Dhis2-devs] [Bug 1523879] [NEW] Generating system identifiers using the api limits itself to one (1)

2015-12-08 Thread Morten Olav Hansen
Hi This parameter name has changed, its now limit. Will update docs later. -- Morten On Tue, Dec 8, 2015 at 6:12 PM, Alex Tumwesigye wrote: > Public bug reported: > > Generating system identifiers using the api limits itself to one (1) > when the api/system resource is

Re: [Dhis2-devs-core] Audits Web-API

2015-12-03 Thread Morten Olav Hansen
in terms of > using this api for doing incremental data backups? > > On 1 December 2015 at 08:21, Morten Olav Hansen <morte...@gmail.com> > wrote: > > http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s21.html > > > > Basic docs are now available here.

Re: [Dhis2-devs] DHIS 2 Internal Server Error when updating program via web api v 2.22

2015-12-04 Thread Morten Olav Hansen
Hi Could you please try again with rev 21328. -- Morten On Fri, Dec 4, 2015 at 7:24 AM, Lorill Crees wrote: > Hi, > > I'm testing out upgrading our app to DHIS 2 v 2.22 (r21273) and am getting > an internal server error due to an underlying hibernate issue when using > the

Re: [Dhis2-devs] Attribute value CRUD through web api

2015-12-01 Thread Morten Olav Hansen
Hi Partial update of attribute values are currently not supported. You must get the full payload (?fields=:owner), make the modifications, then send the whole payload back (PUT /api/organisationUnits/ID) -- Morten On Tue, Dec 1, 2015 at 10:20 PM, Nicolas Germeau wrote:

Re: [Dhis2-devs] DHIS 2 Internal Server Error when updating program via web api v 2.22

2015-12-07 Thread Morten Olav Hansen
0) > > org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344) > > org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261) > > org.springframework.web.filter.ShallowEtagHeaderFilter

[Dhis2-devs] [Bug 1523879] Re: Generating system identifiers using the api limits itself to one (1)

2015-12-12 Thread Morten Olav Hansen
** Changed in: dhis2 Milestone: None => 2.22 ** Changed in: dhis2 Assignee: (unassigned) => Morten Olav Hansen (mortenoh) ** Changed in: dhis2 Importance: Undecided => Low ** Changed in: dhis2 Status: New => Incomplete ** Changed in: dhis2 Status: Incom

[Dhis2-devs] [Bug 1526402] Re: multi organisation unit form - form name doesn't render

2015-12-17 Thread Morten Olav Hansen
Please try again with DHIS 2.21 rev 20969. ** Changed in: dhis2 Status: New => Fix Committed ** Changed in: dhis2 Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS.

Re: [Dhis2-devs-core] Default view of idObjects in field filter

2015-12-18 Thread Morten Olav Hansen
we should have in the first place) > > PS: Breaking change for when you're not using field filtering ;) > > Regards, > > Mark > > On Fri, Dec 18, 2015 at 10:31 AM, Morten Olav Hansen <morte...@gmail.com> > wrote: > >> Hi everyone >> >> As you probably

Re: [Dhis2-devs] DHIS2 OAuth Grant type authorized_code

2016-01-07 Thread Morten Olav Hansen
ch brings DHIS2 to a truly integration > platform. > > Will try that > > Thanh > > On Fri, Jan 8, 2016 at 1:10 PM, Morten Olav Hansen <morte...@gmail.com> > wrote: > >> No, that is not possible. The only way to externally authenticate a DHIS >> 2 instance

Re: [Dhis2-devs] Meta data export import

2016-01-07 Thread Morten Olav Hansen
Hi Hannan Are both server using the exact same version/revision of DHIS2? There have been quite a bit of changes to the web-api payloads in 2.19/2.20/2.21, so I'm not sure how compatible they would be. That said, it seems that there is also an issue with this: org.hibernate.HibernateException:

Re: [Dhis2-devs] Problems with GeoJSON uploads

2016-01-07 Thread Morten Olav Hansen
Hi Jason Do we actually support anything other than MultiPolygons and Points? For my GeoJson exporter, I default to MultiPolygon unless its a Point. I have been able to successfully render all geojson using http://geojson.io What is supported by GIS, I don't know, Jan would have to explain

Re: [Dhis2-devs] Tracker Capture reactivate completed enrollment

2016-01-07 Thread Morten Olav Hansen
Hi Pamod Yes, this is the current standing of how enrollments work. There have been some discussions internally about this, maybe Abyot can explain what the ending result was. -- Morten On Sat, Jan 2, 2016 at 10:59 PM, Pamod Amarakoon wrote: > Dear All, > > I'd like to wish

Re: [Dhis2-devs] DHIS2 OAuth Grant type authorized_code

2016-01-07 Thread Morten Olav Hansen
Hi Thanh I'm not really sure what you want. DHIS 2 can only act as a authentication provider, it does not support authentication against another oauth2 provider. The main reason for adding oauth2 was to support third party clients connecting with it without having to collect username/passwords

Re: [Dhis2-devs] Dataset report download issues

2016-01-07 Thread Morten Olav Hansen
Hi Could you please tell us what your issues are in more detail? also what version/revision are you running. -- Morten On Mon, Dec 14, 2015 at 11:32 PM, Oliver Munyao wrote: > Hi all, > Is there a version this is addressed?? kindly inform > > -- > Kind Regards, > Munyao

Re: [Dhis2-devs] DHIS2 OAuth Grant type authorized_code

2016-01-07 Thread Morten Olav Hansen
I have 3 dhis2 instances running on 3 server namely A, > B, C. All user accounts (and passwords) are stored in C. > > When I access A or B, it will redirect to C for sign in. After signing in > successfully, I can use A or B. > > Is that possible? > > Thanh > > > On Fri, Ja

Re: [Dhis2-devs-core] Default view of idObjects in field filter

2015-12-18 Thread Morten Olav Hansen
use name. > > > --- > Thank you, > Abyot. > > On Fri, Dec 18, 2015 at 10:31 AM, Morten Olav Hansen <morte...@gmail.com> > wrote: > >> Hi everyone >> >> As you probably, if you do something like >> /api/organisationUnits.json?fields=* >> &g

[Dhis2-devs] [Bug 1527640] Re: Multilingual analytics - DE Group Sets panels show in English

2015-12-18 Thread Morten Olav Hansen
** Changed in: dhis2 Milestone: None => 2.22 ** Changed in: dhis2 Status: New => Confirmed ** Changed in: dhis2 Importance: Undecided => Low ** Changed in: dhis2 Assignee: (unassigned) => Jan Henrik Øverland (janhenrik-overland) -- You received this bug notification because

Re: [Dhis2-devs] Setting up Email

2015-12-28 Thread Morten Olav Hansen
ava:157) >>> at >>> org.springframework.aop.interceptor.AsyncExecutionInterceptor$1.call(AsyncExecutionInterceptor.java:110) >>> at java.util.concurrent.FutureTask.run(FutureTask.java:266) >>> at java.lang.Thread.run(Thre

Re: [Dhis2-devs] Setting up Email

2015-12-28 Thread Morten Olav Hansen
Ok, could be a bug in the settings app. -- Morten On Mon, Dec 28, 2015 at 12:43 PM, Pamod Amarakoon <pam...@gmail.com> wrote: > Yes, when trying to send out test email after entering the email settings. > > On Mon, Dec 28, 2015 at 5:12 PM, Morten Olav Hansen <morte...@

Re: [Dhis2-devs] Setting up Email

2015-12-28 Thread Morten Olav Hansen
Hi Could it be that its the wrong port? it seems like TLS requires port 587 [1] ? [1] http://email.about.com/od/accessinggmail/f/Gmail_SMTP_Settings.htm -- Morten On Mon, Dec 28, 2015 at 11:44 AM, Pamod Amarakoon wrote: > Dear All, > > I tried setting up email on an

Re: [Dhis2-devs] Setting up Email

2015-12-28 Thread Morten Olav Hansen
. -- Morten On Mon, Dec 28, 2015 at 12:33 PM, Pamod Amarakoon <pam...@gmail.com> wrote: > Hi, > > It's "0" > > On Mon, Dec 28, 2015 at 5:00 PM, Morten Olav Hansen <morte...@gmail.com> > wrote: > >> Could you give me the output of: >> >>

Re: [Dhis2-devs] Setting up Email

2015-12-28 Thread Morten Olav Hansen
While not ideal, you could null it out with: delete from systemsetting where name='keyEmailPort'; And then it should default to TLS port. -- Morten On Mon, Dec 28, 2015 at 12:35 PM, Morten Olav Hansen <morte...@gmail.com> wrote: > Right. That's what i suspected, that setting is wrong

Re: [Dhis2-devs] Setting up Email

2015-12-28 Thread Morten Olav Hansen
p.interceptor.AsyncExecutionInterceptor$1.call(AsyncExecutionInterceptor.java:110) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at java.lang.Thread.run(Thread.java:745) > (EmailMessageSender.java [SimpleAsyncTaskExecutor-24]) > > On Mon, Dec 28, 2015

Re: [Dhis2-devs] Setting up Email

2015-12-28 Thread Morten Olav Hansen
net.SocketTimeoutException: connect timed out >> " >> I'll try the method you suggested. >> >> On Mon, Dec 28, 2015 at 5:07 PM, Morten Olav Hansen <morte...@gmail.com> >> wrote: >> >>> While not ideal, you could null it out with: >>> del

Re: [Dhis2-devs-core] Default view of idObjects in field filter

2015-12-22 Thread Morten Olav Hansen
This is now implemented. I tested most of the apps, and they seem to function as they should. If you see any issues in your apps, either select fields explicitly or just use the :identifiable preset. -- Morten On Fri, Dec 18, 2015 at 3:10 PM, Morten Olav Hansen <morte...@gmail.com>

Re: [Dhis2-devs] Multilingual analytics - DE and IND filter does not use translations

2015-12-22 Thread Morten Olav Hansen
Hi I'm including Jan who has been working on updating the reporting tools for translation. All that is required is to change name:like:XYZ to displayName:like:XYZ. -- Morten On Tue, Dec 22, 2015 at 3:45 PM, Victor Garcia wrote: > Hi all, > > in analytics apps, we have

Re: [Dhis2-devs] [Bug 1515621] Re: standard reports default to data.pdf link

2015-11-29 Thread Morten Olav Hansen
Hi I can confirm that this bug existed on 2.21 (not trunk). I have made a fix available in 2.21 rev 20926. Please try it out. -- Morten On Fri, Nov 27, 2015 at 4:34 PM, Ismail Yusuf wrote: > Hi, > > I can also confirm this, from v2.21 Rev: 20901 running a different >

Re: [Dhis2-devs-core] Audits Web-API

2015-11-29 Thread Morten Olav Hansen
On Mon, Nov 30, 2015 at 12:16 PM, Abyot Gizaw wrote: > nice. and per tracked entity instance for trackedEntityDatavalueAudit. > Sure. -- Morten -- Mailing list: https://launchpad.net/~dhis2-devs-core Post to : dhis2-devs-core@lists.launchpad.net Unsubscribe :

Re: [Dhis2-devs] Fixes for dxf2 importer (category* defaults) - will they be merged into 2.21?

2015-11-27 Thread Morten Olav Hansen
Hi Did you try with the latest version of 2.21? AFAIK (and I'm the one who did it...) it was backported to 2.20 and 2.21 If you have other issues, please let me know -- Morten On Fri, Nov 27, 2015 at 4:24 PM, David Siang Fong Oh wrote: > Hi, > > The metadata import

Re: [Dhis2-devs] novice DHIS2 dev setup question

2015-11-18 Thread Morten Olav Hansen
Hi To run individual modules, you can use mvn jetty:run as you do, but for the portal you must use mvn jetty:run-war -- Morten On Thu, Nov 19, 2015 at 9:34 AM, Kenneth Haase wrote: > I'm trying to get DHIS2 running on my Ubuntu 14.04 desktop using the > directions at

Re: [Dhis2-devs] [Dhis2-users] New DHIS 2 developer joins HISP US

2015-11-19 Thread Morten Olav Hansen
Welcome Ken! -- Morten On Fri, Nov 20, 2015 at 4:52 AM, Pepe Ken Mvulu wrote: > Welcome Ken ! > > Thank you > > Pepe Ken Mvulu > > 2015-11-19 22:18 GMT+01:00 Ese Egerega : > > Welcome Ken! > > > > On Nov 19, 2015 9:56 PM, "Jim Grace"

Re: [Dhis2-devs] Duplicated 'default'' category with metada export/import

2015-11-19 Thread Morten Olav Hansen
Hi Jose Could you try again with the latest version of 2.20 (or 2.21 / trunk), give our servers 40-45 min to compile it, then download and try again. If you already have duplicates in your database, you might want to check and delete the old ones select * from categoryoptioncombo coc inner join

Re: [Dhis2-devs] Parsing the json output from the API

2015-11-22 Thread Morten Olav Hansen
Personally I wouldn't create the map based on names, since they could potentially change, better to use the ID. Simplest way of doing this I can think of is using lodash (which you probably use anyways) and do: const groupedById = _.groupBy(o.attributes, "id"); -- Morten On Sun, Nov 22, 2015

Re: [Dhis2-devs] Parsing the json output from the API

2015-11-22 Thread Morten Olav Hansen
On Sun, Nov 22, 2015 at 7:21 PM, Mark Polak wrote: > The ID might not be the same across instances? So if it needs to work > across instances that won't work? > Sure, but you don't have any guarantee about anything like that, not name, age, etc.. nothing is created for

Re: [Dhis2-devs] Multilingual analytics - DE and IND filter does not use translations

2016-01-12 Thread Morten Olav Hansen
cia...@gmail.com >> <javascript:_e(%7B%7D,'cvml','vgarcia...@gmail.com');>> wrote: >> >>> Thanks Morten, >>> >>> any update on this issue? Could it be easily solved? >>> >>> Regards! >>> >>> Víctor >>>

Re: [Dhis2-devs] Multilingual analytics - DE and IND filter does not use translations

2016-01-12 Thread Morten Olav Hansen
12 January 2016 at 15:05, Jan Henrik Øverland < >> janhenrik.overl...@gmail.com >> <javascript:_e(%7B%7D,'cvml','janhenrik.overl...@gmail.com');>> wrote: >> >>> Happy hour in Ho Chi Minh? >>> >>> >>> >>> On Tue, Jan 12, 2016 at 2:

Re: [Dhis2-devs] Multilingual analytics - DE and IND filter does not use translations

2016-01-12 Thread Morten Olav Hansen
ik.overl...@gmail.com > <javascript:_e(%7B%7D,'cvml','janhenrik.overl...@gmail.com');>> wrote: > >> Happy hour in Ho Chi Minh? >> >> >> >> On Tue, Jan 12, 2016 at 2:57 PM, Morten Olav Hansen <morte...@gmail.com >> <javascript

Re: [Dhis2-devs] ouwt Tree

2016-06-02 Thread Morten Olav Hansen
Hi Eric Have you had a look at our d2-ui library? the ouwt widget is kinda flaky, and should probably not be used in new applications if you don't have to.. We have a new tree widget from 2.23 I believe it is, Mark can fill you in on the details -- Morten Olav Hansen Senior Engineer, DHIS 2

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

2016-06-02 Thread Morten Olav Hansen
Hi Mike I'm adding in the dev list, and Halvdan (who knows about file resource API). I will have a look at the start as app functionality. -- Morten On Thu, Jun 2, 2016 at 5:00 PM, Mike Nelushi wrote: > Hi Calle, > > Apologies, forgot to add you on this thread. > >

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

2016-06-02 Thread Morten Olav Hansen
Hi Yes, there is an issue with start page as app, I have notified the developers of the settings app -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Fri, Jun 3, 2016 at 9:58 AM, Morten Olav Hansen <mor...@dhis2.org> wrote: > Hi Mike >

Re: [Dhis2-devs] Issue with import using the /api/24/metadata (trunk)

2016-06-09 Thread Morten Olav Hansen
to be 100% import compatible (a lot of stuff is now being validated on import, which does not have constraints in the database) -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Thu, Jun 9, 2016 at 6:03 PM, Vanya Seth <van...@thoughtworks.com> wrote: >

[Dhis2-devs] [Bug 1589539] Re: Importing program tracked entity attributes fails on dimensionItem

2016-06-07 Thread Morten Olav Hansen
Fixed in trunk and 2.23 ** Changed in: dhis2 Status: New => Fix Committed ** Changed in: dhis2 Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS.

Re: [Dhis2-devs] Error importing new user accounts

2016-06-06 Thread Morten Olav Hansen
Hi Juan Yes, both XML and JSON should be supported (if you are using a recent 2.23). If it's not working, please send me the payload.. and I will create a unit test for it (our new importer is fully tested, including many many tests for user imports) -- Morten Olav Hansen Senior Engineer, DHIS

Re: [Dhis2-devs] Error importing new user accounts

2016-06-06 Thread Morten Olav Hansen
't work. > Best regards, > JM > > On Mon, 6 Jun 2016, 09:36 Morten Olav Hansen, <mor...@dhis2.org > <javascript:_e(%7B%7D,'cvml','mor...@dhis2.org');>> wrote: > >> Hi Juan >> >> Yes, both XML and JSON should be supported (if you are using a recent &g

Re: [Dhis2-devs] Generating a word document in dhis

2016-06-06 Thread Morten Olav Hansen
lly be supporting `iReport` like reports, just with `.docx` as output instead of `.pdf` ? (so that would include, charts, text, etc) -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Mon, Jun 6, 2016 at 12:54 PM, Vanya Seth <van...@thoughtworks.com> wrote:

Re: [Dhis2-devs] [Dhis2-users] Creation of CategoryOptionCombinations

2016-06-07 Thread Morten Olav Hansen
more info about it in the release notes. And no, the UI is not switched to new importer yet (in 2.24), not 100% it will... > > Thanks for your replies at this time of the day :-) > > Regards, Uwe > > --- > > > > Morten Olav Hansen <mor...@dhis2.org

Re: [Dhis2-devs] Unique tracked entity attributes are now compulsory?

2016-06-08 Thread Morten Olav Hansen
Hi Sorry for late reply, but I have been looking into this, and from the backend this is not required. I'm adding in Abyot, hopefully he can answer why it is required in the UI part (I see it's marked with red star, and it will not allow it without a value) -- Morten Olav Hansen Senior Engineer

Re: [Dhis2-devs] [Dhis2-users] Creation of CategoryOptionCombinations

2016-06-07 Thread Morten Olav Hansen
; > I'd be very happy about comments. > > Thanks in advance, > > Uwe > > _______ > Mailing list: https://launchpad.net/~dhis2-users > Post to : dhis2-us...@lists.launchpad.net <javascript:;> > Unsubscribe : https://launchpad.net/

Re: [Dhis2-devs] [Dhis2-users] Creation of CategoryOptionCombinations

2016-06-07 Thread Morten Olav Hansen
, or another utility.. the import part would be the same, but the UI in 2.23 can not be used, as it's hardcoded to legacy importer. -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Tue, Jun 7, 2016 at 11:25 PM, Uwe Wahser <u...@wahser.de> wrote: >

Re: [Dhis2-devs-core] ApiVersioning redux

2016-06-12 Thread Morten Olav Hansen
in this case -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Fri, Jun 10, 2016 at 9:24 AM, Morten Olav Hansen <mor...@dhis2.org> wrote: > Regarding 404 vs 405, that's up to Spring MVC, if there is at least one > method mapped at the endpoint, it will us

Re: [Dhis2-devs-core] ApiVersioning redux

2016-06-09 Thread Morten Olav Hansen
Regarding 404 vs 405, that's up to Spring MVC, if there is at least one method mapped at the endpoint, it will usually return 405, if not 404.. I'm looking into this, and adding a few new use-cases to the testing suite -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http

Re: [Dhis2-devs] Issue with import using the /api/24/metadata (trunk)

2016-06-09 Thread Morten Olav Hansen
it though? -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Thu, Jun 9, 2016 at 6:12 PM, Vanya Seth <van...@thoughtworks.com> wrote: > Hi Morten > > Thanks for the response. But would it be possible to share some other DB > that DHI

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 Morten Olav Hansen
them manually... -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Fri, Jun 3, 2016 at 6:24 PM, Mike Nelushi <mikeevolut...@gmail.com> wrote: > Hi Morten, > > The messageConversations web-api is still a big issue because we need to > send

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 <calle.hedb...@gmail.com> wrote: > Morten, > > Sorry if my b

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 <calle.hedb...@gmail.com&

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 <mikeevo

Re: [Dhis2-devs] Export Metadata - Error with Content-Type header

2016-06-13 Thread Morten Olav Hansen
Hi Paulo Is there any reason you are doing this request? I assume you want XML back? you dont need to set input content-type as you are not sending anything, and some of our internal gets a bit confused because of this... removing content-type makes it work -- Morten Olav Hansen Senior Engineer

Re: [Dhis2-devs] Export Metadata - Error with Content-Type header

2016-06-13 Thread Morten Olav Hansen
No, that won't work right now, that endpoint is anyways getting deprecated (replaced by /api/23/metadata and /api/24/metadata) -- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Mon, Jun 13, 2016 at 4:11 PM, Paulo Grácio <paulogra...@gmail.com> wrote:

<    2   3   4   5   6   7   8   9   10   11   >