[Dhis2-devs] Default locale after upgrade

2014-12-22 Thread Jason Pickering
Hi Devs, We recently upgraded one of our instances to 2.17 from 2.15. A number of users had some issues with the language when they logged in, with the UI appearing in Arabic. It would seem that maybe the first language in the list of locales is chosen. It might be best to have "English" as the de

Re: [Dhis2-devs] About expired password in DHIS2

2014-12-22 Thread Halvdan Grelland
Hi, A fix was submitted for this very bug in September. Please update your instance to the latest revision of 2.15. You could also consider upgrading to a more recent major version, we are currently on 2.17. You can download the latest version of DHIS2 here Let

Re: [Dhis2-devs] About expired password in DHIS2

2014-12-22 Thread Seide, Germine
Hello Halvdan, Thank you for your feedback. I am using Google chrome and DHIS 2.15. I am working on a test server. I attached to the email the errors that come up when I try to change the password Germine. [cid:image002.jpg@01D01E20.31ECE5A0] [cid:image006.jpg@01D01E20.31ECE5A0] De : Halvdan Gr

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 17779: Implemented blueprint 'future-data-check': check if future period is allowed on data value save.

2014-12-22 Thread noreply
revno: 17779 committer: Halvdan Hoem Grelland branch nick: dhis2 timestamp: Mon 2014-12-22 22:47:45 +0100 message: Implemented blueprint 'future-data-check': check if future period is allowed on data value save. modified: dhis-2/dhi

Re: [Dhis2-devs] About expired password in DHIS2

2014-12-22 Thread Halvdan Grelland
Hi Germine, In order to diagnose the issue we're going to need some more information. First and foremost: what browser are you using and what version of DHIS2 are you running? Please do the following: Try to log into DHIS2 so that the screen which you've attached a screenshot of appears. Then op

[Dhis2-devs] About expired password in DHIS2

2014-12-22 Thread Seide, Germine
Hello, I activated the option to reset password in 3 months and each time I log in to DHIS2, the system is asking to change my password. When I type my credentials nothing happens. Can somebody help me fix that issue. [cid:image002.jpg@01D01DF8.62618EC0] Germine _

Re: [Dhis2-devs] This object will be created with public edit and view rights

2014-12-22 Thread Lars Helge Øverland
Hi Anne, when you have rights to create public objects (like data elements) it will be created with public read/write access. After you have created the data element, you can easily find it in the list, click and select sharing, and set public access to read-only. regards, Lars ___

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 17778: Move data set section to context menu.

2014-12-22 Thread noreply
revno: 17778 committer: Tran Chau branch nick: dhis2 timestamp: Mon 2014-12-22 23:00:36 +0700 message: Move data set section to context menu. modified: dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/java/o

Re: [Dhis2-devs] [Dhis2-users] On dhis2 as a terminology server ...

2014-12-22 Thread Bob Jolliffe
Jim the uid was meant as the key back to the object (dataelement, categoryoption, orgunit or whatever it might be). Not an extra uid :-) Besides authority I think its useful to have a code type - this could allow regex validation and possibly even injection of generators (eg for uuids, patient id

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 17777: minor fixes to ValidationViolation

2014-12-22 Thread noreply
revno: 1 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Mon 2014-12-22 16:37:24 +0100 message: minor fixes to ValidationViolation modified: dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/sch

Re: [Dhis2-devs] [Dhis2-users] On dhis2 as a terminology server ...

2014-12-22 Thread Jim Grace
Hi Bob, Regarding point 1, I was picturing a conceptual code table with two fields: authority and code. The code itself could be as you say be SNOMED code, ICD10 code, WHO GHO code, HL7 OID, etc. Or it could be a UID if we're trying to map to UIDs in another DHIS 2 system. I was not picturing the

Re: [Dhis2-devs] [Dhis2-users] On dhis2 as a terminology server ...

2014-12-22 Thread Bob Jolliffe
No. But the first point is to have the data model able. From there SVS and others are easily supportable. On 22 December 2014 at 13:13, Carl Leitner wrote: > > Hi Bob, > Have you all discussed what standard you will be using? SVS? FHIR DSTU > v2? Something else? > > Cheers, > -carl > On Dec 2

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 17776: minor logic change, needed because property nullable was required

2014-12-22 Thread noreply
revno: 17776 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Mon 2014-12-22 15:39:58 +0100 message: minor logic change, needed because property nullable was required modified: dhis-2/dhis-services/dhis-service-dxf2/src/m

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 17775: rename nullable => required in schema/property, allow POST/PUT to /api/schemas/type to validate o...

2014-12-22 Thread noreply
revno: 17775 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Mon 2014-12-22 14:52:51 +0100 message: rename nullable => required in schema/property, allow POST/PUT to /api/schemas/type to validate object, wip modified: dh

Re: [Dhis2-devs] DHIS2 Portal Demo Page broken

2014-12-22 Thread Halvdan Grelland
FYI this seems to be a permissions issue. Giving the superuser role the ALL permission fixes it. 2014-12-22 13:35 GMT+01:00 Jan Henrik Øverland : > Hi Farai, will look at it as soon as I have the time. > > Jan > > On Thu, Dec 18, 2014 at 7:36 AM, Farai Mutero wrote: > >> Hi Guys >> >> It seems l

[Dhis2-devs] [Bug 1404691] Re: Organisation Unit Merge Fails due to bad SQL Syntax

2014-12-22 Thread Halvdan Hoem Grelland
Thanks for your bug report. This is now fixed in 2.16, 2.17 and 2.18 (trunk). Please report back if you are still experiencing any related issues. ** Changed in: dhis2 Status: New => Fix Committed ** Changed in: dhis2 Status: Fix Committed => Fix Released ** Changed in: dhis2

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 17774: Fix bug 1404691: wrongly named audit table in orgunit merge query causes merge to fail.

2014-12-22 Thread noreply
revno: 17774 committer: Halvdan Hoem Grelland branch nick: dhis2 timestamp: Mon 2014-12-22 14:02:42 +0100 message: Fix bug 1404691: wrongly named audit table in orgunit merge query causes merge to fail. modified: dhis-2/dhis-servic

Re: [Dhis2-devs] DHIS2 Portal Demo Page broken

2014-12-22 Thread Jan Henrik Øverland
Hi Farai, will look at it as soon as I have the time. Jan On Thu, Dec 18, 2014 at 7:36 AM, Farai Mutero wrote: > Hi Guys > > It seems like DHIS2 Portal page is broken (charts, tables and maps not > rendering). Could you kindly assist? > > https://apps.dhis2.org/portal/ > > > Regards > > -- > Fa

Re: [Dhis2-devs] POST 'created', 'lastUpdated' in /api/metadata

2014-12-22 Thread Jason Pickering
+1 for no updates to this through the WebAPI. With globally distributed systems, it makes little sense to update these fields with stuff from clients who are on different time zones, and who have unsynchronized clocks, much less to say if they just send bogus information. Same should go for lastU

Re: [Dhis2-devs] POST 'created', 'lastUpdated' in /api/metadata

2014-12-22 Thread Bob Jolliffe
For a bundle of reasons it would be much better for the lastUpdated field to be updated as a default value on the database rather than explicitly through the api. I would rather discourage its use through the api rather than enforce it. On 22 December 2014 at 11:16, Morten Olav Hansen wrote: > >

Re: [Dhis2-devs] This object will be created with public edit and view rights

2014-12-22 Thread Jason Pickering
You should change the sharing settings of the object to "Public" -> "Read only". Regards, Jason On Mon, Dec 22, 2014 at 11:57 AM, anne grace wrote: > Dear All, > > I am getting this message while creating new data element, > Please help me to know how make edit right exclusive to admin only. >

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 17773: User settings, cleanup. Moved all methods related to user settings from UserService to UserSettin...

2014-12-22 Thread noreply
revno: 17773 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2014-12-22 12:16:13 +0100 message: User settings, cleanup. Moved all methods related to user settings from UserService to UserSettingService. modified: dh

Re: [Dhis2-devs] POST 'created', 'lastUpdated' in /api/metadata

2014-12-22 Thread Morten Olav Hansen
Hi Mahendra One issue we are seeing quite often is that people don't update the lastUpdated field, they simply get the payload, do their updates, and send it back (without updateing lastUpdated) Would it be ok to check for both null AND to see if the new lastUpdated is > old lastUpdated, we do wa

[Dhis2-devs] This object will be created with public edit and view rights

2014-12-22 Thread anne grace
Dear All, I am getting this message while creating new data element, Please help me to know how make edit right exclusive to admin only. Thanks ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 17772: User controller. Improved logic for invites. Made it possible to add users to groups to which you...

2014-12-22 Thread noreply
revno: 17772 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2014-12-22 11:31:50 +0100 message: User controller. Improved logic for invites. Made it possible to add users to groups to which you have read-only access t

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 17771: set PropertyType.IDENTIFIER on code field (override in Option, since they don't have unique codes)

2014-12-22 Thread noreply
revno: 17771 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Mon 2014-12-22 11:28:42 +0100 message: set PropertyType.IDENTIFIER on code field (override in Option, since they don't have unique codes) modified: dhis-2/dhis

[Dhis2-devs] On dhis2 as a terminology server ...

2014-12-22 Thread Bob Jolliffe
Just a brief note to capture some points of discussion between Jim Grace and myself last week lest they are forgotten forever. Three relatively minor enhancements to our model which would allow dhis2 to operate as a reasonable terminology service: 1. Extend the hard wired single "code" attribute

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 17770: minor fix, use char array instead of byte array for hex digit validation

2014-12-22 Thread noreply
revno: 17770 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Mon 2014-12-22 10:56:13 +0100 message: minor fix, use char array instead of byte array for hex digit validation modified: dhis-2/dhis-support/dhis-support-syst

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 17769: validation of colors (hex) in SchemaValidator

2014-12-22 Thread noreply
revno: 17769 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Mon 2014-12-22 10:52:13 +0100 message: validation of colors (hex) in SchemaValidator modified: dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dh

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

2014-12-22 Thread noreply
revno: 17767 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Mon 2014-12-22 10:30:50 +0100 message: minor fix modified: dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/schema/DefaultSchemaValidato

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 17768: change ValidationUtils.passwordIsValid to check for range [8, 35], this aligns it with PropertyTyp...

2014-12-22 Thread noreply
revno: 17768 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Mon 2014-12-22 10:33:56 +0100 message: change ValidationUtils.passwordIsValid to check for range [8,35], this aligns it with PropertyType.PASSWORD and Validation

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 17766: Centralized can manage check

2014-12-22 Thread noreply
revno: 17766 committer: Lars Helge Overland branch nick: dhis2 timestamp: Mon 2014-12-22 10:30:23 +0100 message: Centralized can manage check modified: dhis-2/dhis-api/src/main/java/org/hisp/dhis/user/User.java dhis-2/dhis-api/src/

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 17765: supports more validation types in SchemaValidator, wip

2014-12-22 Thread noreply
revno: 17765 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Mon 2014-12-22 10:29:06 +0100 message: supports more validation types in SchemaValidator, wip modified: dhis-2/dhis-services/dhis-service-dxf2/src/main/java/or

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 17764: minor refactor of SchemaValidation, allow validation of non-persisted properties, return list of ...

2014-12-22 Thread noreply
revno: 17764 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Mon 2014-12-22 09:04:25 +0100 message: minor refactor of SchemaValidation, allow validation of non-persisted properties, return list of violations instead of Web