Page 1 of 1

SPARTACUS firewall checks

Posted: Fri Dec 08, 2006 8:43 pm
by judebert
I just committed a change to SPARTACUS that allows it to attempt CURL downloads and check for firewalls.

The check is rudimentary: if it has trouble connecting to the repository, it attempts to contact Google. If it can't contact Google, it tells the user that his provider's firewall won't allow SPARTACUS to download plugins. It also provides the IP address for the repository, so users can talk more directly with their admins to open outgoing connections.

Of course, all the strings are pulled out into language constants, but as I'm a lamer who only speaks English, they'll need translation.

This has been tested on politicallyoutspoken.com thanks to DragonFly. More testing would be helpful, though.

Garvin, I know you said only bugfixes would go into the next 1.1 release. Unfortunately, I didn't know how to commit this to the 1.2 branch, since it doesn't appear in my SVN repository. If you want to move it to 1.2, I won't be offended. I merely hope it's useful to you and our users.

Posted: Fri Dec 08, 2006 9:25 pm
by jhermanns
cool!

Re: SPARTACUS firewall checks

Posted: Mon Dec 11, 2006 10:00 am
by garvinhicking
Hi Judebert!

Awesome, your code looks very good. I've not had the ability to test it right now, but I believe it will aid a lot in the future!

You actually committed it to the 1.2 SVN trunk, so all is well. I'D really like to hold this off the 1.1 release, to be able to have more reports from users.

I just committed the german translations. :)

Best regards,
Garvin