[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 4362: Added zimbabwe flag and updated malawi flag

2011-08-18 Thread noreply
revno: 4362 committer: Lars Helge Overland branch nick: dhis2 timestamp: Thu 2011-08-18 21:36:40 +0200 message: Added zimbabwe flag and updated malawi flag added: dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-c

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 4361: Made the notification about being online go away after an interval

2011-08-18 Thread noreply
revno: 4361 committer: Lars Helge Overland branch nick: dhis2 timestamp: Thu 2011-08-18 19:44:21 +0200 message: Made the notification about being online go away after an interval modified: dhis-2/dhis-web/dhis-web-commons-resources/

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 4360: Moved logic for displaying user messages from data entry to commons

2011-08-18 Thread noreply
revno: 4360 committer: Lars Helge Overland branch nick: dhis2 timestamp: Thu 2011-08-18 19:28:45 +0200 message: Moved logic for displaying user messages from data entry to commons modified: dhis-2/dhis-web/dhis-web-commons-resources

Re: [Dhis2-devs] Browser support in version 2.4

2011-08-18 Thread samuel cheburet
Thanks Lars for new development. Cheers 2011/8/18 Lars Helge Øverland > Hi, > > the upcoming DHIS 2.4 release is utilizing the "HTML 5 feature" web > storage (offline storage) which means that the following browsers are > supported: > > - Firefox 3.5 + > - Chrome 4 + > - Safari 4 + > - IE 8

[Dhis2-devs] [Bug 828793] Re: missing version table on startup

2011-08-18 Thread Bob Jolliffe
OK. strange I only got it with mysql. With the same properties file but with mysql lines commented and h2 lines un-commented everything was fine. Both share the same last line on the hibernate.hbm2ddl.auto. -- You received this bug notification because you are a member of DHIS 2 developers, wh

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 4359: Made headerMessage a bit wider and with bold text

2011-08-18 Thread noreply
revno: 4359 committer: Lars Helge Overland branch nick: dhis2 timestamp: Thu 2011-08-18 18:40:36 +0200 message: Made headerMessage a bit wider and with bold text modified: dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/d

Re: [Dhis2-devs] [Bug 828793] Re: missing version table on startup

2011-08-18 Thread Lars Helge Øverland
Not a DHIS bug. Probably the Hibernate hbm2dll tool which does not create the tables properly. Morten reported a similar problem which was due to some weird invisible character/end-of-line marker inserted by his text editor at the end of this line in hibernate.properties which confused hibernate:

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 4358: Added doc to methods in StorageManager and made method names a bit more consistent

2011-08-18 Thread noreply
revno: 4358 committer: Lars Helge Overland branch nick: dhis2 timestamp: Thu 2011-08-18 18:16:52 +0200 message: Added doc to methods in StorageManager and made method names a bit more consistent modified: dhis-2/dhis-web/dhis-web-d

Re: [Dhis2-devs] DHIS 2 Live

2011-08-18 Thread Knut Staring
On Thu, Aug 18, 2011 at 5:34 PM, Bob Jolliffe wrote: > On 18 August 2011 16:14, Knut Staring wrote: > > On Thu, Aug 18, 2011 at 4:25 PM, Bob Jolliffe > wrote: > >> > >> On 18 August 2011 14:40, Olav Poppe wrote: > >> I wonder about the merits of a stripping out the metadata maintenance > >> mo

[Dhis2-devs] [Bug 828793] Re: missing version table on startup

2011-08-18 Thread Bob Jolliffe
Confirmed there is no problem with H2 database. -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/828793 Title: missing version table on startup Status in DHIS 2 - District Health Information Softw

Re: [Dhis2-devs] DHIS 2 Live

2011-08-18 Thread Bob Jolliffe
On 18 August 2011 16:14, Knut Staring wrote: > On Thu, Aug 18, 2011 at 4:25 PM, Bob Jolliffe wrote: >> >> On 18 August 2011 14:40, Olav Poppe wrote: >> I wonder about the merits of a stripping out the metadata maintenance >> modules in a such a lite-lite install?  Not sure how crippling this >>

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 4357: Got rid of some of those mysterious and annoying OGNL errors.

2011-08-18 Thread noreply
revno: 4357 committer: Bob Jolliffe bobjolli...@gmail.com branch nick: dhis2 timestamp: Thu 2011-08-18 16:12:34 +0100 message: Got rid of some of those mysterious and annoying OGNL errors. Note that elements should have a name or

Re: [Dhis2-devs] DHIS 2 Live

2011-08-18 Thread Knut Staring
On Thu, Aug 18, 2011 at 4:25 PM, Bob Jolliffe wrote: > On 18 August 2011 14:40, Olav Poppe wrote: > I wonder about the merits of a stripping out the metadata maintenance > modules in a such a lite-lite install? Not sure how crippling this > would be. Metadata import being the only way to updat

Re: [Dhis2-devs] DHIS 2 Live

2011-08-18 Thread Olav Poppe
I see, thanks, will definitely keep it in mind as we work on this. Den 18. aug. 2011 kl. 14:52 skrev Jason Pickering: > The main benefit of an installer for us was > > 1) A pre-packaged database (straight DXF transmission will not carry > everything you need for a complete reserialization from

[Dhis2-devs] [Bug 828793] Re: missing version table on startup

2011-08-18 Thread Bob Jolliffe
>From further up the log file: * ERROR 15:44:33,558 Unsuccessful: create table Version (versionid integer not null auto_increment, key varchar(230) not null unique, value varchar(255), primary key (versionid)) (SchemaUpdate.java [Thread-2]) * ERROR 15:44:33,559 You have an error in your SQL synt

Re: [Dhis2-devs] DHIS 2 Live

2011-08-18 Thread Jason Pickering
The main benefit of an installer for us was 1) A pre-packaged database (straight DXF transmission will not carry everything you need for a complete reserialization from a master database) 2) Proper shortcut links to make DHIS2 "look" like a piece of software users are used to dealing with 3) Insta

Re: [Dhis2-devs] DHIS 2 Live

2011-08-18 Thread Olav Poppe
I guess this can be an interesting experiment then! Will do some testing with the live package to see how it performs with the current (meta)data at least. Den 18. aug. 2011 kl. 14:25 skrev Bob Jolliffe: > On 18 August 2011 14:40, Olav Poppe wrote: >> Thanks >> It seems the barrier for going of

Re: [Dhis2-devs] DHIS 2 Live

2011-08-18 Thread Olav Poppe
What would be the main benefits of this versus just using the H2 database in DHIS live, except the documentation? Den 18. aug. 2011 kl. 14:12 skrev Jason Pickering: > We have also created an H2 installer, which is considerably easier than the > Postgres installer. This would allow you to insta

[Dhis2-devs] [Bug 828793] [NEW] missing version table on startup

2011-08-18 Thread Bob Jolliffe
Public bug reported: When I start dhis2 with a new blank database I get the following: ... Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'dhis2test.Version' doesn't exist I guess this is the version table added by Morten for orgunits? ** Affects: dhis2 Import

Re: [Dhis2-devs] DHIS 2 Live

2011-08-18 Thread Bob Jolliffe
On 18 August 2011 14:40, Olav Poppe wrote: > Thanks > It seems the barrier for going offline should be quite high... Will have to > look more into exactly how bad the connections are in the worse areas, and > also into the offline data entry in 2.4. > As for those districts that are in fact offlin

Re: [Dhis2-devs] DHIS 2 Live

2011-08-18 Thread Jason Pickering
We have also created an H2 installer, which is considerably easier than the Postgres installer. This would allow you to install this on a users machine, with the documentation and a pre-populated H2 database, which may be something to consider. Let me know if this would fit your deployment plans, a

Re: [Dhis2-devs] DHIS 2 Live

2011-08-18 Thread Olav Poppe
Thanks, I will at least try to see how the default H2 performs. Olav Den 18. aug. 2011 kl. 13:50 skrev Knut Staring: > I agree with Bob that it is worth trying going with H2, as it does simplify > things considerably. It also provides a possibility for db backup (and > transmission) through th

Re: [Dhis2-devs] DHIS 2 Live

2011-08-18 Thread Knut Staring
I agree with Bob that it is worth trying going with H2, as it does simplify things considerably. It also provides a possibility for db backup (and transmission) through the copying (and sending) of the whole db file (though a monthly zipped incremental DXF export should be smaller). Knut On Thu,

Re: [Dhis2-devs] DHIS 2 Live

2011-08-18 Thread Olav Poppe
Thanks It seems the barrier for going offline should be quite high... Will have to look more into exactly how bad the connections are in the worse areas, and also into the offline data entry in 2.4. As for those districts that are in fact offline, is the live package with H2 sufficient? Keeping

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 4356: made availability methods work on IE9

2011-08-18 Thread noreply
revno: 4356 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Thu 2011-08-18 15:34:33 +0200 message: made availability methods work on IE9 modified: dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commo

Re: [Dhis2-devs] DHIS 2 Live

2011-08-18 Thread Jason Pickering
I agree with both Bob and Ola. We have tried not quite yet succeeded in getting DHIS2 installed with Tomcat/Postgres on Windows with a one-click installer, this my caveat about a "supervised" install. There are a lot of things which can happen on users machines and maintenance becomes a huge issue

Re: [Dhis2-devs] DHIS 2 Live

2011-08-18 Thread Ola Hodne Titlestad
Olav, How offline are these districts? Can they not get connected through mobile usb modems/dongles? There is so much to gain from online deployment that I would check out every alternative of connectivity before deciding to go completely offline. The mobile Internet solution is working very well

Re: [Dhis2-devs] DHIS 2 Live

2011-08-18 Thread Bob Jolliffe
Jason is right in that postgres is by far the most tested environment. But the dhis-live/h2 setup seems to work very well and was initially targeted at exactly the sort of setup you describe. For a low powered desktop it is considerably less memory intensive than tomcat + standalone rdbms. I hav

Re: [Dhis2-devs] DHIS 2 Live

2011-08-18 Thread Jason Pickering
One strong reason not to use it is the relative lack of testing. In theory, it should work, but just as with MySQL, much more testing has occurred with Postgres than with the other database systems. We have some beta-level Windows installers, which might be of interest to you, which work pretty we

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 4355: i18n fixes for ajax-login

2011-08-18 Thread noreply
revno: 4355 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Thu 2011-08-18 14:59:54 +0200 message: i18n fixes for ajax-login modified: dhis-2/dhis-web/dhis-web-dataentry/src/main/resources/org/hisp/dhis/de/i18n_module.pr

Re: [Dhis2-devs] Multiple DHIS2 instances on Windows

2011-08-18 Thread Bob Jolliffe
On 18 August 2011 13:56, Knut Staring wrote: > On 8/18/11, Knut Staring wrote: >> As Ola pointed out, the remaining and important issue is the automated >> startup after a power cut. > > In fact, this is really easy, just place shortcuts to the two > dhis2-live.exe files in the Windows Startup fo

Re: [Dhis2-devs] Multiple DHIS2 instances on Windows

2011-08-18 Thread Knut Staring
On 8/18/11, Knut Staring wrote: > As Ola pointed out, the remaining and important issue is the automated > startup after a power cut. In fact, this is really easy, just place shortcuts to the two dhis2-live.exe files in the Windows Startup folder: http://windows.microsoft.com/en-US/windows-vista/

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 4354: made ajax-login give correct feedback

2011-08-18 Thread noreply
revno: 4354 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Thu 2011-08-18 14:53:28 +0200 message: made ajax-login give correct feedback modified: dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commo

[Dhis2-devs] DHIS 2 Live

2011-08-18 Thread Olav Poppe
Hello, we're looking at what do to with offline installations for the implementation here in Ghana. Are there any reasons not to use DHIS Live? Can H2 be used (importing the metadata into an empty database), or should postgres be set up as well? There are 170 districts here, and about half of t

Re: [Dhis2-devs] Multiple DHIS2 instances on Windows

2011-08-18 Thread Bob Jolliffe
On 18 August 2011 13:20, Ime Asangansi wrote: > Thanks for these answers. > > Please, is there a way one can put the hibernate.properties in the war file > itself? > This used to workout in 2.0 by just putting into WEB-INF/classes but now it > just doesn't work > > I'm in a PaaS offering where I d

Re: [Dhis2-devs] Multiple DHIS2 instances on Windows

2011-08-18 Thread Ime Asangansi
Thanks for these answers. Please, is there a way one can put the hibernate.properties in the war file itself? This used to workout in 2.0 by just putting into WEB-INF/classes but now it just doesn't work I'm in a PaaS offering where I don't get access to the OS but just tomcat deploy. So, I'm

Re: [Dhis2-devs] [Dhis2-users] Browser support in version 2.4

2011-08-18 Thread wanjala pepela
thanks   PEPELA WANJALA MINISTRY OF HEALTH HEADQUARTERS HEALTH INFORMATION SYSTEM AFYA HOUSE, HIS LG 37 P.O BOX 30016, NAIROBI, KENYA TEL: +254 (020) 2717077 EXT 45097 CELL: +254 (0) 722375633 or 0202033363 EMAIL: wanjal...@yahoo.com     h...@health.go.ke   ___

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 4353: small changes to js

2011-08-18 Thread noreply
revno: 4353 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Thu 2011-08-18 14:04:09 +0200 message: small changes to js modified: dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/per

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 4352: minor changes to js

2011-08-18 Thread noreply
revno: 4352 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Thu 2011-08-18 14:01:44 +0200 message: minor changes to js modified: dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/com

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 4351: moved complete methods into storageManager, and fixed some bugs

2011-08-18 Thread noreply
revno: 4351 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Thu 2011-08-18 13:51:03 +0200 message: moved complete methods into storageManager, and fixed some bugs modified: dhis-2/dhis-web/dhis-web-dataentry/src/main/web

Re: [Dhis2-devs] Multiple DHIS2 instances on Windows

2011-08-18 Thread Knut Staring
Thanks guys, running multiple instances of DHIS2 Live is definitely the easiest to set up and teach. In fact, I think there may be quite few instances where Tomcat is needed on Windows. And I don't even think I need to worry about dhis2.home - since everything is confined to the folder where dhis2-

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 4350: Set doctypes

2011-08-18 Thread noreply
revno: 4350 committer: Lars Helge Overland branch nick: dhis2 timestamp: Thu 2011-08-18 13:24:10 +0200 message: Set doctypes modified: dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/accessDenied.vm dhis-2/dhis-web/dhis

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 4349: fixed some minor bugs

2011-08-18 Thread noreply
revno: 4349 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Thu 2011-08-18 12:30:26 +0200 message: fixed some minor bugs modified: dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 4348: minor changes

2011-08-18 Thread noreply
revno: 4348 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Thu 2011-08-18 12:12:25 +0200 message: minor changes modified: dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/ouwt.js dhis-2

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 4347: made uploadLocalData correctly chain ajax-calls

2011-08-18 Thread noreply
revno: 4347 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Thu 2011-08-18 12:02:32 +0200 message: made uploadLocalData correctly chain ajax-calls modified: dhis-2/dhis-web/dhis-web-dataentry/src/main/resources/org/hisp/

Re: [Dhis2-devs] Multiple DHIS2 instances on Windows

2011-08-18 Thread Bob Jolliffe
On 18 August 2011 10:29, Jason Pickering wrote: > In Nigeria, we have two completely separate instance of Tomcat with > two environment variables > > DHIS2_HOME="/var/lib/tomcat6/conf/dhis2_conf" > > DHIS2_HOME_NG="/var/lib/tomcat6/conf/dhis2_conf_ng" > > The reason for the separate instances was

Re: [Dhis2-devs] Multiple DHIS2 instances on Windows

2011-08-18 Thread Ola Hodne Titlestad
On 18 August 2011 11:29, Jason Pickering wrote: > In Nigeria, we have two completely separate instance of Tomcat with > two environment variables > > > > DHIS2_HOME="/var/lib/tomcat6/conf/dhis2_conf" > > DHIS2_HOME_NG="/var/lib/tomcat6/conf/dhis2_conf_ng" > > > If you are able to set DHIS2_HOME as

Re: [Dhis2-devs] Multiple DHIS2 instances on Windows

2011-08-18 Thread Jason Pickering
In Nigeria, we have two completely separate instance of Tomcat with two environment variables DHIS2_HOME="/var/lib/tomcat6/conf/dhis2_conf" DHIS2_HOME_NG="/var/lib/tomcat6/conf/dhis2_conf_ng" The reason for the separate instances was really just to be able to allocate more CPU resources to a

[Dhis2-devs] [Bug 706898] Re: Last element in the data element filter list for indicators does not show

2011-08-18 Thread Lars Helge Øverland
** Changed in: dhis2 Milestone: 2.4 => None -- You received this bug notification because you are a member of DHIS 2 developers, which is subscribed to DHIS. https://bugs.launchpad.net/bugs/706898 Title: Last element in the data element filter list for indicators does not show Status in

[Dhis2-devs] Multiple DHIS2 instances on Windows

2011-08-18 Thread Knut Staring
Hello all, It has been a while since I last ran multiple DHIS2 instances (each with its own database) on the same Windows server. Not sure if we have reached a consensus as to best practice on this (I actually think the best practice would be to run a Ubuntu server, but in many cases people find a

[Dhis2-devs] Browser support in version 2.4

2011-08-18 Thread Lars Helge Øverland
Hi, the upcoming DHIS 2.4 release is utilizing the "HTML 5 feature" web storage (offline storage) which means that the following browsers are supported: - Firefox 3.5 + - Chrome 4 + - Safari 4 + - IE 8 and 9 This means that IE7 is not supported anymore - sorry for that but we are hoping people s

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 4346: Renabled check for total form size during form download

2011-08-18 Thread noreply
revno: 4346 committer: Lars Helge Overland branch nick: dhis2 timestamp: Thu 2011-08-18 11:04:06 +0200 message: Renabled check for total form size during form download modified: dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhi

Re: [Dhis2-devs] Conversion of calculated data elements to indicators

2011-08-18 Thread Lars Helge Øverland
Hi Jason > 1) I suppose the CDE and indicator syntax is the same/compatible? Yes. The CDE expressions are a bit verbose but perfectly legal. > 2) What is the purpose of the "expression", "expressiondataelement" and > "expressioncategorycombo" objects? Does it in anyway relate to a CDE or > indic

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 4345: Fixed bug

2011-08-18 Thread noreply
revno: 4345 committer: Lars Helge Overland branch nick: dhis2 timestamp: Thu 2011-08-18 10:31:15 +0200 message: Fixed bug modified: dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js -- lp:dhi

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 4344: minor javascript fixes

2011-08-18 Thread noreply
revno: 4344 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Thu 2011-08-18 09:55:27 +0200 message: minor javascript fixes modified: dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/ouwt/ouwt.js

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 4343: fixes orgunittree versionOnly error

2011-08-18 Thread noreply
revno: 4343 committer: Morten Olav Hansen branch nick: dhis2 timestamp: Thu 2011-08-18 09:30:55 +0200 message: fixes orgunittree versionOnly error modified: dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons

[Dhis2-devs] Conversion of calculated data elements to indicators

2011-08-18 Thread Jason Pickering
Dear Devs, In one of the deployments in Nigeria, we have some 800 calculated data elements. I plan to upgrade this instance soon to either 2.3 or 2.4 (depending on the release schedule). I understand from Lars that the deprecated CDEs are not automatically converted when upgrading. I think it shoul

[Dhis2-devs] [Branch ~dhis2-devs-core/dhis2/trunk] Rev 4342: Data entry i18n

2011-08-18 Thread noreply
revno: 4342 committer: Lars Helge Overland branch nick: dhis2 timestamp: Thu 2011-08-18 09:04:26 +0200 message: Data entry i18n modified: dhis-2/dhis-web/dhis-web-dataentry/src/main/resources/org/hisp/dhis/de/i18n_module.properties