Is it possible to upload and store scripts as tar.bz2 files to the WIKI add-ons? I can't find the procedure to do this. Pretty much all contributors to the add-ons have their own dedicated http site to host their scripts, but I seem to remember once that you could store add-ons directly on the WIKI site somehow.
I see that there is an 'Upload file' link under the toolbox on the left-hand side of the screen, but it only allows image uploads.
Is it possible to upload and store scripts as tar.bz2 files to the
WIKI add-ons? I can't find the procedure to do this. Pretty much all
contributors to the add-ons have their own dedicated http site to host
their scripts, but I seem to remember once that you could store
add-ons directly on the WIKI site somehow.
I see that there is an 'Upload file' link under the toolbox on the
left-hand side of the screen, but it only allows image uploads.
it is a serious problem, as often people's personal www space goes away
after a few years and the script is lost.
hopefully we can set up an upload area at http://wald.intevation.org/projects/grass/
?
(this would require an admin to ok the upload before making it public,
but I think we can handle that)
Is it possible to upload and store scripts as tar.bz2 files to the WIKI add-ons? I can't find the procedure to do this. Pretty much all contributors to the add-ons have their own dedicated http site to host their scripts, but I seem to remember once that you could store add-ons directly on the WIKI site somehow.
I see that there is an 'Upload file' link under the toolbox on the left-hand side of the screen, but it only allows image uploads.
Eric,
(cc Stephan Holl)
unfortunately I recently became also de-facto admin of the GRASS Wiki. I
think that
script upload was disabled on purpose (security) but maybe Stephan has
more insights.
If not, I would like to know how to enable it.
Eric wrote:
> Is it possible to upload and store scripts as tar.bz2 files to the
> WIKI add-ons? I can't find the procedure to do this. Pretty much all
> contributors to the add-ons have their own dedicated http site to
> host their scripts, but I seem to remember once that you could store
> add-ons directly on the WIKI site somehow.
>
> I see that there is an 'Upload file' link under the toolbox on the
> left-hand side of the screen, but it only allows image uploads.
Markus:
..
I think that script upload was disabled on purpose (security) but
maybe Stephan has more insights.
If not, I would like to know how to enable it.
can it be limited to files < 100kb, and non-binary files unless .gz or
.zip extension containing source code? what we don't want is free
webspace for video game crackers and someone posting a sounds-useful
trojan horse.
keeping these in a tracker on the gforge site will be easier to
administer.
On Fri, 17 Nov 2006 16:58:29 +0100 Markus Neteler <neteler@itc.it>
wrote:
Patton, Eric wrote on 11/16/2006 03:37 PM:
> Hi,
>
> Is it possible to upload and store scripts as tar.bz2 files to the
> WIKI add-ons? I can't find the procedure to do this. Pretty much
> all contributors to the add-ons have their own dedicated http site
> to host their scripts, but I seem to remember once that you could
> store add-ons directly on the WIKI site somehow.
>
> I see that there is an 'Upload file' link under the toolbox on the
> left-hand side of the screen, but it only allows image uploads.
Eric,
(cc Stephan Holl)
unfortunately I recently became also de-facto admin of the GRASS
Wiki. I think that
script upload was disabled on purpose (security) but maybe Stephan has
more insights.
Yes, it was disabled due to security reasons. By default it is only
possible to add pictures through the upload-interface of media-wiki.
If not, I would like to know how to enable it.
There is a config-option somewhere in the basic config-script (which is
very well documented). After enabling the upload you need to add
suffixes to an array which are allowed to be uploaded.
Best
Stephan
--
Stephan Holl : www.intevation.de/~stephan | GISpatcher:
www.gispatcher.de Intevation GmbH: www.intevation.de | GAV
e.V.: www.grass-verein.de Georgstr.4 : 49074 Osnabrück |
> I think that script upload was disabled on purpose (security) but
> maybe Stephan has more insights.
Stephan:
Yes, it was disabled due to security reasons. By default it is only
possible to add pictures through the upload-interface of media-wiki.
> If not, I would like to know how to enable it.
There is a config-option somewhere in the basic config-script (which
is very well documented). After enabling the upload you need to add
suffixes to an array which are allowed to be uploaded.
is it possible to limit by file size as well as extension?
requiring all grass scripts to have a ".sh" extension (or whatever)
would be a pain.. (for source code .zip, .gz, .?)