Re: [Dhis2-devs] BUG - 2.27 - Logged as different user

2017-09-01 Thread Ramón José Jiménez Pomareta
Hello, Thank you both for the answers :

Knut:
1. SJ has not been logged in my computer at all. This is the frightening
part of the issue.
2. Clearing browser cache does not resolve the issue. Sometimes when going
to account and doing Ctrl+F5 that works but creates the problem for the
others. (this time with my name RJ instead SJ).

Bob:
1. Thank you for your suggestion. We are going to analyze with the system
administrators.
2. I've tryied to disable apache cache but nothing changed.

I've found an interesting thing:

DHIS2 retrieves the correct user information through these four paths:
/api/me?fields=%3Aall%2CorganisationUnits%5Bid%5D%2CuserGroups%5Bid%5D%2CuserCredentials%5B%3Aall%2C!user%2CuserRoles%5Bid%5D
/api/me
/api/me/user-account.json?_=1504260368320
/api/23/me/user-account.json


at the same time (I mean, *in the same page load*) DHIS2 retrieves the
other user information through these two urls:

/api/me?fields=:all,organisationUnits%5Bid%5D,userGroups%5Bid%5D,userCredentials%5B:all,!user,userRoles%5Bid%5D
/api/26/me.json (4 times)
but

Thank you ! I'm updating the JIRa ticket.

2017-08-28 17:24 GMT+02:00 Bob Jolliffe :

> If you are getting remnants of SJ's session appearing on your computer
> it might mean some stuff is being (incorrectly) cached on the server
> side.  Do you have nginx or apache cache enabled.  If so try disabling
> that.
>
> On 28 August 2017 at 10:51, Ramón José Jiménez Pomareta
>  wrote:
> > I think that can be useful:
> > Usually SJ is an user has been recently or is currently logged on another
> > computer.
> >
> >
> > 2017-08-28 11:44 GMT+02:00 Ramón José Jiménez Pomareta <
> dh...@pomareta.ch>:
> >>
> >> Hello,
> >>
> >>
> >> When I log with my credentials (ramon), DHIS2 shows SJ and the name of
> >> another user on the top right corner instead of mine (RJ and Ramon
> Jimenez).
> >> The apps I can see are the apps allowed for SJ. I am not able to see
> mines.
> >> On the server log, I am logged correctly and there's no trace about SJ.
> >>
> >> When I go to Account I see my real username and if I do Control+F5 all
> >> becomes OK.
> >>
> >> I can live with that bug, but not all the non-IT users using the
> platform:
> >> that's very confusing for them, and very risky if they could use other
> apps
> >> they should not use.
> >>
> >>
> >> I've open a ticket on JIRA
> >> https://jira.dhis2.org/browse/DHIS2-2102
> >>
> >> Thank you !
> >
> >
> >
> > ___
> > Mailing list: https://launchpad.net/~dhis2-devs
> > Post to : dhis2-devs@lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~dhis2-devs
> > More help   : https://help.launchpad.net/ListHelp
> >
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Interoperability of ODK & DHIS2

2017-09-01 Thread Martin Van Aken
Interesting, thanks!

Martin

On Fri, Sep 1, 2017 at 10:23 AM, Knut Staring  wrote:

> Hi Carlos,
>
> You can also have a look here:
> https://github.com/hispindia/dhis-odk-integration
>
> Knut
>
> On Wed, Aug 30, 2017 at 11:47 AM, Martin Van Aken  > wrote:
>
>> Hi Carlos,
>> We (bluesquarehub.com) have been doing this for several of our customers
>> as part as a (commercial) product. While I can't share the code, I'll be
>> happy to discuss about the lessons learned, and to better understand your
>> needs to see if our cases are similar.
>>
>> Don't hesitate to contact me if interested.
>>
>> Regards,
>>
>> Martin
>>
>> On Tue, Aug 29, 2017 at 3:24 PM, Carlos Nyembwe 
>> wrote:
>>
>>> Hello All
>>>
>>> I'm starting to do that, now I need a help about the main points what I
>>> must set up before using this
>>>
>>> Regards
>>>
>>> --
>>> *Carlos Nyembwe*
>>> *I'm just a Computer Scientist*
>>>
>>> *Skype: carloscnk1*
>>> *Cell: (+243)813166381 <+243%20813%20166%20381>*
>>> *Find me in: | Google Plus  | 
>>> **Linkedin
>>>  | Facebook
>>>  | Twitter
>>>  |*
>>>
>>> ___
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to : dhis2-devs@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>>
>> --
>> *Martin Van Aken - **Freelance Enthusiast Developer*
>>
>> Mobile : +32 486 899 652
>>
>> Follow me on Twitter : @martinvanaken 
>> Call me on Skype : vanakenm
>> Hang out with me : mar...@joyouscoding.com
>> Contact me on LinkedIn : http://www.linkedin.com/in/martinvanaken
>> Company website : www.joyouscoding.com
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Knut Staring
> Dept. of Informatics, University of Oslo
> Norway: +4791880522 <+47%20918%2080%20522>
> Skype: knutstar
> http://dhis2.org
>



-- 
*Martin Van Aken - **Freelance Enthusiast Developer*

Mobile : +32 486 899 652

Follow me on Twitter : @martinvanaken 
Call me on Skype : vanakenm
Hang out with me : mar...@joyouscoding.com
Contact me on LinkedIn : http://www.linkedin.com/in/martinvanaken
Company website : www.joyouscoding.com
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] Interoperability of ODK & DHIS2

2017-09-01 Thread Knut Staring
Hi Carlos,

You can also have a look here:
https://github.com/hispindia/dhis-odk-integration

Knut

On Wed, Aug 30, 2017 at 11:47 AM, Martin Van Aken 
wrote:

> Hi Carlos,
> We (bluesquarehub.com) have been doing this for several of our customers
> as part as a (commercial) product. While I can't share the code, I'll be
> happy to discuss about the lessons learned, and to better understand your
> needs to see if our cases are similar.
>
> Don't hesitate to contact me if interested.
>
> Regards,
>
> Martin
>
> On Tue, Aug 29, 2017 at 3:24 PM, Carlos Nyembwe  wrote:
>
>> Hello All
>>
>> I'm starting to do that, now I need a help about the main points what I
>> must set up before using this
>>
>> Regards
>>
>> --
>> *Carlos Nyembwe*
>> *I'm just a Computer Scientist*
>>
>> *Skype: carloscnk1*
>> *Cell: (+243)813166381 <+243%20813%20166%20381>*
>> *Find me in: | Google Plus  | 
>> **Linkedin
>>  | Facebook
>>  | Twitter
>>  |*
>>
>> ___
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to : dhis2-devs@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> *Martin Van Aken - **Freelance Enthusiast Developer*
>
> Mobile : +32 486 899 652
>
> Follow me on Twitter : @martinvanaken 
> Call me on Skype : vanakenm
> Hang out with me : mar...@joyouscoding.com
> Contact me on LinkedIn : http://www.linkedin.com/in/martinvanaken
> Company website : www.joyouscoding.com
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp