[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21530: minor import fix

2015-12-28 Thread noreply
revno: 21530 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Mon 2015-12-28 09:27:27 +0100 message: minor import fix modified:

[Dhis2-devs] Setting up Email

2015-12-28 Thread Pamod Amarakoon
Dear All, I tried setting up email on an instance with SMTP using Google Apps settings. Following are the settings I used. hostname: smtp.gmail.com port: 465 username: x...@xxx.net password: Email sender: x...@xxx.net TLS enabled But, testing email is never received at my emaiil account.

Re: [Dhis2-devs] Setting up Email

2015-12-28 Thread Pamod Amarakoon
Thanx Morten. By bad, wrong port. But when I selected port 587, it throws out following error. * WARN 2015-12-28 16:22:00,067 Error while sending email: Cannot connect to a port number that is less than 1 ( 0 ), java.lang.IllegalArgumentException: Cannot connect to a port number that is less

Re: [Dhis2-devs] Setting up Email

2015-12-28 Thread Pamod Amarakoon
Thanx Morten, it's Version:2.21Build revision:20850Build date:2015-10-26 01:19 On Mon, Dec 28, 2015 at 4:48 PM, Morten Olav Hansen wrote: > Ok > > What version of DHIS 2? I'm adding in Lars, I think he has set it up for > gmail before (I haven't). > > -- > Morten > > On

Re: [Dhis2-devs] Setting up Email

2015-12-28 Thread Morten Olav Hansen
Could you give me the output of: SERVER/api/systemSettings/keyEmailPort -- Morten On Mon, Dec 28, 2015 at 12:20 PM, Pamod Amarakoon wrote: > Thanx Morten, > > it's > Version:2.21Build revision:20850Build date:2015-10-26 01:19 > > On Mon, Dec 28, 2015 at 4:48 PM, Morten Olav

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 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 > wrote: > >>

Re: [Dhis2-devs] [Dhis2-users] Setting up Email

2015-12-28 Thread Pamod Amarakoon
Thanx Lars. Will do :) On Mon, Dec 28, 2015 at 5:24 PM, Lars Helge Øverland wrote: > Hi Pamod, > > this was a bug with the settings app which has been fixed. Try upgrading > to latest 2.21 from dhis2.org/downloads. > > regards, > > Lars > > > On Mon, Dec 28, 2015 at 12:45

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
Right. That's what i suspected, that setting is wrong. Did you use the new setting app to set it? could you try and change between the different ports and see if the output changes for you? It could be a bug in the settings app, but I'm not sure. 0 is never a valid value for that setting. --

Re: [Dhis2-devs] Setting up Email

2015-12-28 Thread Pamod Amarakoon
Dear Morten, Deleting keyEmailPort from systemsetting table solved the problem. Thanx a lot ! On Mon, Dec 28, 2015 at 5:15 PM, Morten Olav Hansen wrote: > Ok, could be a bug in the settings app. > > -- > Morten > > On Mon, Dec 28, 2015 at 12:43 PM, Pamod Amarakoon

Re: [Dhis2-devs] [Dhis2-users] Setting up Email

2015-12-28 Thread Lars Helge Øverland
Hi Pamod, this was a bug with the settings app which has been fixed. Try upgrading to latest 2.21 from dhis2.org/downloads. regards, Lars On Mon, Dec 28, 2015 at 12:45 PM, Morten Olav Hansen wrote: > Ok, could be a bug in the settings app. > > -- > Morten > > On Mon, Dec

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 wrote: > Right. That's what i suspected, that setting is wrong. Did you

Re: [Dhis2-devs] Setting up Email

2015-12-28 Thread Morten Olav Hansen
Ok What version of DHIS 2? I'm adding in Lars, I think he has set it up for gmail before (I haven't). -- Morten On Mon, Dec 28, 2015 at 11:54 AM, Pamod Amarakoon wrote: > Thanx Morten. By bad, wrong port. > > But when I selected port 587, it throws out following error. > > *

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21531: Data value import, fixed bug with check for open future periods

2015-12-28 Thread noreply
revno: 21531 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2015-12-28 12:17:59 +0100 message: Data value import, fixed bug with check for open future periods modified:

[Dhis2-devs] Favourites with Multiple Analysis Org Units

2015-12-28 Thread Pamod Amarakoon
Dear All, Is it possible to create favorites (pivot table, event visualizer) for users who are assigned to multiple data analysis org units, when the option "User org unit" is selected at pivot table/event visualizer. I tried this on demo server by assigning the user "test1" to both Bo and

Re: [Dhis2-devs] Setting up Email

2015-12-28 Thread Pamod Amarakoon
Dear Morten, I toggled between the remaining ports 25 and 465. Both throws out "Caused by: javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 2; nested exception is: java.net.SocketTimeoutException: connect timed out " I'll try the method you

Re: [Dhis2-devs] Setting up Email

2015-12-28 Thread Pamod Amarakoon
Hi, It's "0" On Mon, Dec 28, 2015 at 5:00 PM, Morten Olav Hansen wrote: > Could you give me the output of: > > SERVER/api/systemSettings/keyEmailPort > > > -- > Morten > > On Mon, Dec 28, 2015 at 12:20 PM, Pamod Amarakoon > wrote: > >> Thanx Morten, >> >>

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21532: added missing function

2015-12-28 Thread noreply
revno: 21532 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Mon 2015-12-28 13:24:24 +0100 message: added missing function modified:

Re: [Dhis2-devs] Setting up Email

2015-12-28 Thread Morten Olav Hansen
Ok, so is this happening when you are sending out the test email? -- Morten On Mon, Dec 28, 2015 at 12:40 PM, Pamod Amarakoon wrote: > and yes, it's the new settings app I used > > On Mon, Dec 28, 2015 at 5:10 PM, Pamod Amarakoon wrote: > >> Dear Morten, >>

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21535: tracker/event-capture: printing custom and default forms

2015-12-28 Thread noreply
revno: 21535 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Mon 2015-12-28 15:53:48 +0100 message: tracker/event-capture: printing custom and default forms removed:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21536: add mergeWith to DataApprovalWorkflow

2015-12-28 Thread noreply
revno: 21536 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Mon 2015-12-28 15:54:00 +0100 message: add mergeWith to DataApprovalWorkflow modified:

Re: [Dhis2-devs] Setting up Email

2015-12-28 Thread Pamod Amarakoon
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 wrote: > Ok, so is this happening when you are sending out the test email? > > -- > Morten > > On Mon, Dec 28, 2015 at 12:40 PM, Pamod Amarakoon

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21534: TEI query, including organisation unit name in response

2015-12-28 Thread noreply
revno: 21534 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2015-12-28 14:08:12 +0100 message: TEI query, including organisation unit name in response modified:

Re: [Dhis2-devs] Setting up Email

2015-12-28 Thread Pamod Amarakoon
and yes, it's the new settings app I used On Mon, Dec 28, 2015 at 5:10 PM, Pamod Amarakoon wrote: > Dear Morten, > > I toggled between the remaining ports 25 and 465. Both throws out > > "Caused by: javax.mail.MessagingException: Could not connect to SMTP host: >

Re: [Dhis2-devs] Information about Metadata Sync

2015-12-28 Thread Lars Helge Øverland
Hi Vanya, thanks for reaching out on this. We do not have a near-term plan for implementing that feature so if you would like to take it on then it will be appreciated. We can do a call and discuss the approach. Just suggest a time. best regards, Lars On Mon, Dec 21, 2015 at 9:50 AM, Vanya

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21533: TC, css

2015-12-28 Thread noreply
revno: 21533 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2015-12-28 13:37:51 +0100 message: TC, css modified:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21537: rename ou.parents => ou.ancestors in web-api

2015-12-28 Thread noreply
revno: 21537 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Mon 2015-12-28 16:37:23 +0100 message: rename ou.parents => ou.ancestors in web-api modified:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21538: tracker-capture: display orgunit name in tei list; make sure those teis from the data capture org...

2015-12-28 Thread noreply
revno: 21538 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Mon 2015-12-28 21:34:02 +0100 message: tracker-capture: display orgunit name in tei list; make sure those teis from the data capture orgunit

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 21539: tracker-capture: clip long program stage and org unit names in event box under data entry widget

2015-12-28 Thread noreply
revno: 21539 committer: Abyot Asalefew Gizaw branch nick: dhis2 timestamp: Mon 2015-12-28 21:44:17 +0100 message: tracker-capture: clip long program stage and org unit names in event box under data entry widget

[Dhis2-devs] 'View Only' access to User Groups lets them 'Edit' as well.

2015-12-28 Thread Archana Chillala
Hi, I am from ThoughtWorks India, working for MSF (OCA). We are using the DHIS code on *trunk* locked at revision 21496. We have been working on Dashboards, their shareability and Synch to different DHIS instances. However, we have observed a couple of issues with that. 1. When we share a