[Dhis2-devs] Ruby client for DHIS2 API available

2016-10-06 Thread Martin Van Aken
a MIT licence. If anyone here is working with Ruby, I hope this can be useful to you and I encourage you to have a look. Feedback is much appreciated. Martin -- *Martin Van Aken - **Freelance Enthusiast Developer* Mobile : +32 486 899 652 Follow me on Twitter : @martinvanaken <http://twitter.c

[Dhis2-devs] (no subject)

2016-10-18 Thread Martin Van Aken
setting the async parameter to true, which is useful > for large metadata imports. > > Docs > <https://dhis2.github.io/dhis2-docs/master/en/developer/html/webapi_metadata_import.html> > > > Logical operators: You can now specify whether to use the AND or OR > log

[Dhis2-devs] DHIS2 API feedback

2016-10-18 Thread Martin Van Aken
Hi DHIS2 devs! We've been using your API for a while now, and if the experience has been mostly pleasant, there are some aspects which are making our work more difficult, so I wanted to let you know what would make our life easier: - *Return IDs of created items:* when we create a meta data (o

[Dhis2-devs] API changes with 2.25 release

2016-10-18 Thread Martin Van Aken
Thanks, Martin (sorry if double post, I'm not sure this passed the first time) -- *Martin Van Aken - **Freelance Enthusiast Developer* Mobile : +32 486 899 652 Follow me on Twitter : @martinvanaken <http://twitter.com/martinvanaken> Call me on Skype : vanakenm Hang out with

Re: [Dhis2-devs] DHIS2 API feedback

2016-10-24 Thread Martin Van Aken
gt;> >> _______ >> 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 >> >> &g

Re: [Dhis2-devs] Deployment Advice to Developers

2016-11-22 Thread Martin Van Aken
e’ Us on Facebook >>> <https://www.facebook.com/GATES.PMA2020> >>> >> >> >> >> -- >> Knut Staring >> Dept. of Informatics, University of Oslo >> Norway: +4791880522 >> Skype: knutstar >> http://dhis2.org >> > >

[Dhis2-devs] Org Units visible in API but not in UX

2017-02-06 Thread Martin Van Aken
nks, Martin -- *Martin Van Aken - **Freelance Enthusiast Developer* Mobile : +32 486 899 652 Follow me on Twitter : @martinvanaken <http://twitter.com/martinvanaken> Call me on Skype : vanakenm Hang out with me : mar...@joyouscoding.com Contact me on LinkedIn : http://www.linkedin.com/i

Re: [Dhis2-devs] Org Units visible in API but not in UX

2017-02-06 Thread Martin Van Aken
heir appropriate > place in the hierarchy by modifying the org unit parent element. > > Also, if you log in with a user with the ALL authority and go to the user > app -> create new user, you should be able to see those extra root org > units. > > regards, > > Lars

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

2017-08-28 Thread Martin Van Aken
too. Is this something someone encountered already? Anything we could do to avoid this ? Thanks, Martin -- *Martin Van Aken - **Freelance Enthusiast Developer* Mobile : +32 486 899 652 Follow me on Twitter : @martinvanaken <http://twitter.com/martinvanaken> Call me on Skype : vanaken

[Dhis2-devs] Embed chart - 2.24

2017-08-28 Thread Martin Van Aken
there is no JS package there for 2.24 - https://dhis2-cdn.org/ Is the JS code the same than for 2.25 or 2.22 (the two closest versions where there is something on the CDN?). Has anyone a running example of an embed on 2.24 ? Thanks, Martin -- *Martin Van Aken - **Freelance Enthusiast Developer*

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

2017-08-28 Thread Martin Van Aken
lso be helpful to figure out what is happening. > > Regards, > > Michael > > On 28 August 2017 at 10:04, Martin Van Aken > wrote: > >> Hi DHIS2 users & developers, >> We have a relatively large instance of DHIS2 (30 000 org units) where we >> have several gr

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

2017-08-28 Thread Martin Van Aken
> after 10pm, and it worked. > > But with 2.26 which has improved the analytic time and executions of > several queries, we do our updates even during the day. > > Regards. > > > Osborn > -- > *De :* Dhis2-devs lists.launchpad.net> de l

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

2017-08-28 Thread Martin Van Aken
t; University of Oslo > http://www.dhis2.org > > On Mon, Aug 28, 2017 at 10:14 PM, Martin Van Aken > wrote: > >> Hello Joseph, >> Thanks for the feedback. I'll try rh >> >> On Mon, Aug 28, 2017 at 5:13 PM, Joseph K. Osborn < >> osbornlegr...@hotmai

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

2017-08-28 Thread Martin Van Aken
> University of Oslo > http://www.dhis2.org > > On Tue, Aug 29, 2017 at 1:09 AM, Martin Van Aken > wrote: > >> Hi Morten, >> This is on 2.23 - I tried to manipulate big groups on the play demo >> instance and it goes well there. >> >> I'll

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

2017-08-29 Thread Martin Van Aken
r Engineer, DHIS 2 > University of Oslo > http://www.dhis2.org > > On Tue, Aug 29, 2017 at 2:07 AM, Martin Van Aken > wrote: > >> Agree on the upgrade but not every system we support is ours - ie >> decision not 100% in our hands. We manage with the API for now, but that's

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

2017-08-29 Thread Martin Van Aken
roved 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 PM, Martin Van Aken > wrote: > &g

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

2017-08-30 Thread Martin Van Aken
ebook > <https://www.facebook.com/carloscnksys> | Twitter > <https://twitter.com/Carlos_CNK> |* > > ___ > Mailing list: https://launchpad.net/~dhis2-devs > Post to : dhis2-devs@lists.launchpad.net > Unsubscribe : https://launchpad.net/~

Re: [Dhis2-devs] Embed chart - 2.24

2017-08-30 Thread Martin Van Aken
] } ], > rows : [{dimension : 'ou',items : x } ], > filters : [ {dimension : 'pe',items : [ {id : period} ]} ], > showData : true, > }); > > Regards > Pooben > > On Mon, Aug 28, 2017 at 4:32 PM, Martin Van Aken > wrote: > >> Hi, >> I

Re: [Dhis2-devs] Embed chart - 2.24

2017-08-30 Thread Martin Van Aken
e then you can access it >> from your dhis server in these location >> ../dhis-web-commons\javascripts\ext\ext-all.js >> ../dhis-web-commons\javascripts\plugin/chart.js >> ../dhis-web-commons\javascripts\ext\resources\css\ext-plugin-gray.css >> >> so something like >>

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

Re: [Dhis2-devs] [Dhis2-users] DHIS 2 to support PostgreSQL only?

2017-09-08 Thread Martin Van Aken
Helge Øverland > Lead developer, DHIS 2 > University of Oslo > Skype: larshelgeoverland > l...@dhis2.org > http://www.dhis2.org <https://www.dhis2.org/> > > > ___ > Mailing list: https://launchpad.net/~dhis2-users > Post to : dhis2-us...@lists.launchpad.net > Unsubscribe

[Dhis2-devs] Remove a full level from the pyramid

2017-09-18 Thread Martin Van Aken
vel 2) - Delete level 3 entities - Regenerate or update the level 4 to 3 I suppose this would be easier done in the DB than with the API. Anyone with experience or advice on a process like that ? Thanks, Martin -- *Martin Van Aken - **Freelance Enthusiast Developer* Mobile : +32 486 899 652 Foll

Re: [Dhis2-devs] Remove a full level from the pyramid

2017-09-18 Thread Martin Van Aken
ould need to loop through all of the levels to > remove of course. > 3) Clear the cache and rebuild the orgunit paths. > > Regards, > Jason > > > On Mon, Sep 18, 2017 at 1:22 PM, Martin Van Aken > wrote: > >> Hello, >> We have a DHIS2 instance we support th

Re: [Dhis2-devs] Remove a full level from the pyramid

2017-09-18 Thread Martin Van Aken
0I'); > delete_orgunit_with_data > -- > 1 > (1 row) > > > That SQL would need to be tweaked a bit I think, but maybe its a bit > clearer? > > Regards, > Jason > > > On Sep 18, 2017 15:10, "Martin Van Aken&qu

[Dhis2-devs] Inconsistency between schema and api ?

2018-01-06 Thread Martin Van Aken
his is a bug, let me know if I can fill a PR (with some direction from the team). Thanks, Martin -- *Martin Van Aken - **Freelance Enthusiast Developer* Mobile : +32 486 899 652 Follow me on Twitter : @martinvanaken <http://twitter.com/martinvanaken> Call me on Skype : vanakenm Hang o

Re: [Dhis2-devs] Inconsistency between schema and api ?

2018-01-07 Thread Martin Van Aken
; You can get the name of collections as they are actually rendered in the > API through the "collectionName" schema property in the mean time. You > could say that we should have a dedicated consistent schema property for > the "API field", we could perhaps work on that. > > be

Re: [Dhis2-devs] Inconsistency between schema and api ?

2018-01-07 Thread Martin Van Aken
BTW, I did the test with the collectionName & it works, thanks! On Sun, Jan 7, 2018 at 2:06 PM, Martin Van Aken wrote: > Hello, > Thanks for the clarification. So, I can rely on the fact that the schema > property "collectionName" will be consistent with the actual

Re: [Dhis2-devs] Program Indicator using data from multiple event stages to find TEA

2018-02-13 Thread Martin Van Aken
~dhis2-devs >>>> Post to : dhis2-devs@lists.launchpad.net >>>> Unsubscribe : https://launchpad.net/~dhis2-devs >>>> More help : https://help.launchpad.net/ListHelp >>>> >>>> >>> >>> >>> -- >>> Lars Helg

Re: [Dhis2-devs] Program Indicator using data from multiple event stages to find TEA

2018-02-14 Thread Martin Van Aken
s with parenthesis outside the > known issue above. > > Markus > > 14. feb. 2018 kl. 08:30 skrev Martin Van Aken : > > Hi everyone. > > Thanks Lars for the answer - we face problems with priorities (hence > needing parenthesis) there too. Glad to know this will be solved, bu

[Dhis2-devs] ProgramIndicators questions

2018-02-21 Thread Martin Van Aken
results (as the pivot table & browser are doing a lot of caching too) Thanks! Martin -- *Martin Van Aken - **Freelance Enthusiast Developer* Mobile : +32 486 899 652 Follow me on Twitter : @martinvanaken <http://twitter.com/martinvanaken> Call me on Skype : vanakenm Hang out with me

[Dhis2-devs] [d2 lib] - API call failing with "Server connection failed for API request"

2018-02-21 Thread Martin Van Aken
ation header is correct. Any clue what could go wrong there? Thanks! Martin -- *Martin Van Aken - **Freelance Enthusiast Developer* Mobile : +32 486 899 652 Follow me on Twitter : @martinvanaken <http://twitter.com/martinvanaken> Call me on Skype : vanakenm Hang out with me : mar...@joyous

Re: [Dhis2-devs] ProgramIndicators questions

2018-02-21 Thread Martin Van Aken
program > indicators, but program indicators can not be nested within each other > directly. > - Yes- program indicator values are always based on the data in the > analytics_* tables. > > Markus > > 21. feb. 2018 kl. 11:03 skrev Martin Van Aken : > > Hi DHIS2 dev team! >

Re: [Dhis2-devs] ProgramIndicators questions

2018-02-21 Thread Martin Van Aken
Ok - that's not what I wanted to hear but that's quite logical - so probably better in the end. Thanks, Martin On Wed, Feb 21, 2018 at 12:18 PM, Lars Helge Øverland wrote: > > > On 21 February 2018 at 12:12, Martin Van Aken > wrote: > >> Hi Markus & La

Re: [Dhis2-devs] [d2 lib] - API call failing with "Server connection failed for API request"

2018-02-22 Thread Martin Van Aken
AME' })); but this is not working. Any clues? Martin On Wed, Feb 21, 2018 at 2:40 PM, Edoardo Sabadelli wrote: > On Wed, Feb 21, 2018 at 11:31 AM, Martin Van Aken > wrote: > > Now I'm trying a event analytics query: > > > > return getInstance().then(d2

Re: [Dhis2-devs] [d2 lib] - API call failing with "Server connection failed for API request"

2018-02-23 Thread Martin Van Aken
much easier to build analytics requests with > d2.analytics. > > Support for analytics and geofeatures requests in d2 is out! > > d2@29.0.2 > > Check it out! > -- > Edoardo Sabadelli > DHIS 2 > University of Oslo > edoa...@dhis2.org > http://www.dhis2.org > --

Re: [Dhis2-devs] [d2 lib] - API call failing with "Server connection failed for API request"

2018-02-28 Thread Martin Van Aken
badelli wrote: > On Thu, Feb 22, 2018 at 10:14 AM, Edoardo Sabadelli > wrote: > > > Still it will be much easier to build analytics requests with > d2.analytics. > > Support for analytics and geofeatures requests in d2 is out! > > d2@29.0.2 > > Check it

Re: [Dhis2-devs] [d2 lib] - API call failing with "Server connection failed for API request"

2018-02-28 Thread Martin Van Aken
', 'sn3PEvqjGPp', 'jsZgVNf1fuR']) .addPeriodDimension([2016, 2017, 2018]) .addOrgUnitDimension(['UpjTv540YGw']); But this falls back to the same problem as before - getting a server error ("uncaught exception: Server connection failed for API request:") - de

Re: [Dhis2-devs] [d2 lib] - API call failing with "Server connection failed for API request"

2018-02-28 Thread Martin Van Aken
t;new" in the code you posted. > > It should be: > const req = new d2.analytics.request() ... > > -- > Edoardo Sabadelli > Software developer, DHIS 2 > University of Oslo > edoa...@dhis2.org > http://www.dhis2.org > > On Feb 28, 2018 3:21 PM, "Martin Van Ak

[Dhis2-devs] DHIS2 Dashboard Apps

2018-04-26 Thread Martin Van Aken
he form of webapps - much appreciated! Martin -- *Martin Van Aken - **Freelance Enthusiast Developer* Mobile : +32 486 899 652 Follow me on Twitter : @martinvanaken <http://twitter.com/martinvanaken> Call me on Skype : vanakenm Hang out with me : mar...@joyouscoding.com Contact me on

Re: [Dhis2-devs] DHIS2 Dashboard Apps

2018-04-26 Thread Martin Van Aken
d the small widget > box. > > I didn't work with widget apps, so hopefully someone in the community > who has done that can help. > > Cheers, > > On Thu, Apr 26, 2018 at 10:35 AM, Martin Van Aken > wrote: > > Hi! > > We've been working with DHIS2 Apps for

Re: [Dhis2-devs] DHIS2 Dashboard Apps

2018-04-27 Thread Martin Van Aken
47 AM, Edoardo Sabadelli wrote: > Not exactly, the content in the iframe is usable from within the box > in the dashboard. > There isn't a way of going full screen at the moment, but it can be > easily added. > > On Thu, Apr 26, 2018 at 5:21 PM, Martin Van Aken > wrote: &

Re: [Dhis2-devs] DHIS2 Dashboard Apps

2018-04-30 Thread Martin Van Aken
ompting install when absent(app id would > guarantee this) > > HISP Tanzania can help further brainstorming and potential solutions, let > me know if you're embarking on this. > > And Sorry for long paragraphs! > > John Francis Mukulu > Software Architect, HISPTZ > h

[Dhis2-devs] DHIS2 Apps - namespace & reload

2018-06-20 Thread Martin Van Aken
vice on those topics would be most appreciated! Martin -- *Martin Van Aken - **Freelance Enthusiast Developer* Mobile : +32 486 899 652 Follow me on Twitter : @martinvanaken <http://twitter.com/martinvanaken> Call me on Skype : vanakenm Hang out with me : mar...@joyouscodin

Re: [Dhis2-devs] DHIS2 Apps - namespace & reload

2018-06-21 Thread Martin Van Aken
least > it sheds some light... > Best, > > On Wed, Jun 20, 2018 at 8:41 AM, Martin Van Aken > wrote: > >> Hi DHIS2 devs! >> We are starting to deploy more and more DHIS2 apps for various needs. >> This is working really nicely, but we have two problems w

[Dhis2-devs] 2.29 (partial) translation to French

2018-09-19 Thread Martin Van Aken
Would this be of interest for you? If so, any advice for a PR here (ie: anything we should know before starting the work) ? We are still in discussion but in this case our plan would be to be able to release the work under the DHIS2 licence (so open source). Thanks, Martin -- *Martin Van