Page 2 of 5

Re: Hosting site for oxz files

Posted: Mon Jan 20, 2014 11:48 pm
by Diziet Sma
cim wrote:
A minor point: it's not strictly required, but it's better to change the download_url for every version of the OXZ file if you're using the automatic downloader: the reason is that if you don't, someone can download version 1.7 but Oolite (with an old index) thinks it's downloading 1.6, so the download will complete and then say "failed". You'd want to make sure you were always using the permanent URL for that file version as the download_url if possible.
If the version number is made part of the filename, the download URL will automatically be different every time.

<quickly checks the QBD.. yes! it already has the version number in the name> 8) :D

Re: Hosting site for oxz files

Posted: Wed Jan 22, 2014 12:02 am
by maik
I updated the sandbox wiki to allow .oxz file uploads and added this extension to mime type application/zip. I didn't touch the max upload size yet, so it is set to the default of 2MB.

For demonstration purposes I uploaded an Aegidian's Specials oxz file (just the renamed zip file, not following any format). On the OXP wiki page you can also see how to link to it, on the file's wiki page you can see how you can add new versions or delete a version (same as for images).

Note that the sandbox wiki is a snapshot from April 2012, upgraded to MediaWiki 1.19

@cim: let me know if this tests ok and what other changes you would need.

Re: Hosting site for oxz files

Posted: Wed Jan 22, 2014 7:01 am
by cim
maik wrote:
@cim: let me know if this tests ok and what other changes you would need.
That looks like it'll work fine.

Re: Hosting site for oxz files

Posted: Wed Jan 22, 2014 10:25 am
by Norby
maik wrote:
I like the "accessed x times" counter at bottom which reload-proof. Small problem when the proof get timeout (I do not know when) then my next visit to check the counter will increase it also. I can stay away and check say once in a month, but I think sooner or later somebody will ask for a solution to exclude checkings.

Re: Hosting site for oxz files

Posted: Sat Jan 25, 2014 5:17 am
by Cmd. Cheyd
I will open my site to most anyone to host OXP's and OXZ's on. Private FTP sections. I think I can have up to 50 accounts, and I have unlimited bandwidth.

Since I'm not on the forums regularly due to work, just drop me an email or PM.

Re: Hosting site for oxz files

Posted: Wed Feb 05, 2014 9:10 pm
by Norby
Are there any news about oxz hosting in wiki?

Thanks to Cheyd, the hosting of my planet textures is solved, I can recommend his excellent service. :)
But I would like to count the downloads of smaller files so I wait for the wiki.

Re: Hosting site for oxz files

Posted: Thu Feb 06, 2014 11:47 am
by maik
Norby wrote:
Are there any news about oxz hosting in wiki?

Thanks to Cheyd, the hosting of my planet textures is solved, I can recommend his excellent service. :)
But I would like to count the downloads of smaller files so I wait for the wiki.
There nothing that would block us from doing that, except I haven't enabled the upload on the real wiki yet--is there some sort of consensus that this is what oxz authors want?

Re: Hosting site for oxz files

Posted: Thu Feb 06, 2014 12:34 pm
by Smivs
maik wrote:
...is there some sort of consensus that this is what oxz authors want?
Sounds good to me :)

Re: Hosting site for oxz files

Posted: Thu Feb 06, 2014 2:13 pm
by Diziet Sma
Works for me.. 8)

Re: Hosting site for oxz files

Posted: Fri Feb 07, 2014 5:46 pm
by Switeck
Sounds good to me too.

Re: Hosting site for oxz files

Posted: Wed Feb 12, 2014 10:03 pm
by Norby
I think there is a full consensus here. :)

Re: Hosting site for oxz files

Posted: Mon Feb 17, 2014 8:33 am
by maik
I plan to enable wiki uploads for OXZ files this week.

Re: Hosting site for oxz files

Posted: Mon Feb 17, 2014 9:00 am
by Smivs
maik wrote:
I plan to enable wiki uploads for OXZ files this week.
Excellent. Thanks, Maik. :)

Re: Hosting site for oxz files

Posted: Fri Feb 21, 2014 2:14 pm
by maik
OXZ uploads are enabled now. The size is still limited to 2MB but I need Dylan to change it and asked him to kindly do so.

Re: Hosting site for oxz files

Posted: Fri Feb 21, 2014 3:31 pm
by Norby
maik wrote:
OXZ uploads are enabled now.
Thank you, it is working! :)

The download link contain a random part (I got images/f/f3 now), which we must insert into the manifest.plist within the oxz so an instant update is needed after every upload. It is possible to modify the wiki code to save oxzs into a specific directory to avoid this? Not a problem if not, just an idea.