Bubbamon

Good ideas? Share with us!
Post Reply
Puma
Posts: 228
Joined: 29 Sep 2008, 06:30

Bubbamon

Post by Puma » 05 Dec 2011, 17:54

Excito,

Will you please take underneath change of the stat.php in the next update 2.4 ??
This to get bubbamon working as normal, now we have to do that manually every time we update :cry:

Open /usr/share/web-admin/admin/controllers/stat.php in your preferred editor.

function stat(){
parent::Controller();

require_once(APPPATH."/legacy/defines.php");
require_once(ADMINFUNCS);

if(!($this->uri->segment(2) == 'index' && $this->uri->segment(3) == 'json'))

{
$this->Auth_model->enforce_policy('web_admin','administer', 'admin');
$this->Auth_model->EnforceAuth('web_admin');
}

load_lang("bubba",THEME.'/i18n/'.LANGUAGE);

Thanks in advance,

puma
Last edited by Puma on 11 Dec 2011, 08:51, edited 1 time in total.
Linux is like a wigwam - no windows, no gates, apache inside!

johannes
Posts: 1470
Joined: 31 Dec 2006, 07:12
Location: Sweden
Contact:

Re: Bubbamon

Post by johannes » 06 Dec 2011, 02:55

Hmm, I didn't know this (or perhaps I just don't recognize it). What issue does this fix? For 2.4 we have done some other stuff 6feet5 have asked for but I didn't know about this. 6feet5, can you comment?
/Johannes (Excito co-founder a long time ago, but now I'm just Johannes)

Binkem
Posts: 388
Joined: 10 Jul 2008, 02:26

Re: Bubbamon

Post by Binkem » 06 Dec 2011, 04:33

This should prevent Bubbamon form reconnecting to the server every second. We now change it manually, but every time there's a new software version we need to do this again. This gets annoying after four of five updates ;)

6feet5
Posts: 269
Joined: 13 Apr 2007, 17:32
Location: Gnesta, Sweden
Contact:

Re: Bubbamon

Post by 6feet5 » 06 Dec 2011, 11:55

Hi Johannes,

This is the work around for the authorization problem I mentioned in our conversation. The code sample you showed me should correct this issue.

/Johan

johannes
Posts: 1470
Joined: 31 Dec 2006, 07:12
Location: Sweden
Contact:

Re: Bubbamon

Post by johannes » 06 Dec 2011, 16:54

Understood, then @Puma, this is already solved and will be in the 2.4 release. :)
/Johannes (Excito co-founder a long time ago, but now I'm just Johannes)

Puma
Posts: 228
Joined: 29 Sep 2008, 06:30

Re: Bubbamon

Post by Puma » 10 Dec 2011, 15:45

Hi Johannes,

Thanks, this is very appreciated!

Puma
Linux is like a wigwam - no windows, no gates, apache inside!

Ubi
Posts: 1547
Joined: 17 Jul 2007, 09:01

Re: Bubbamon

Post by Ubi » 11 Dec 2011, 03:51

I hope you did not actually put the dutch comment line in there as well? :D

Puma
Posts: 228
Joined: 29 Sep 2008, 06:30

Re: Bubbamon

Post by Puma » 11 Dec 2011, 08:52

Hello Ubi,

Thanks for your ''comments'' my dutch comments are now deleted.... :D

Puma
Linux is like a wigwam - no windows, no gates, apache inside!

Puma
Posts: 228
Joined: 29 Sep 2008, 06:30

Re: Bubbamon

Post by Puma » 28 Jan 2012, 14:45

Hi Johannes,

Thanks, for the 2.4 Release it is working faster then the last one!

But I still had to change my

/usr/share/web-admin/admin/controllers/stat.php

Maybe in next bugfix? :wink:

Puma
Linux is like a wigwam - no windows, no gates, apache inside!

johannes
Posts: 1470
Joined: 31 Dec 2006, 07:12
Location: Sweden
Contact:

Re: Bubbamon

Post by johannes » 29 Jan 2012, 16:16

Hmm, now it's possible that I don't understand things right since I wasn't very involved in this code, but the fix is done in B3, but needs updating from Johan as well in bubbamon to use it though. Judging on the normal development speed of bubbamon I would think it's just minutes away. :D
/Johannes (Excito co-founder a long time ago, but now I'm just Johannes)

6feet5
Posts: 269
Joined: 13 Apr 2007, 17:32
Location: Gnesta, Sweden
Contact:

Re: Bubbamon

Post by 6feet5 » 01 Feb 2012, 14:16

I've started to work on the new version but discovered some problems with the interface between bubbamon and the server. Use the old fix until it's been solved.

/Johan

johannes
Posts: 1470
Joined: 31 Dec 2006, 07:12
Location: Sweden
Contact:

Re: Bubbamon

Post by johannes » 02 Feb 2012, 02:59

Yes, we forgot some infromation, will be added in 2.4.1 soon!
/Johannes (Excito co-founder a long time ago, but now I'm just Johannes)

Post Reply