SPARTACUS firewall checks
Posted: Fri Dec 08, 2006 8:43 pm
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.
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.