[OPEN] Web->WoW

Support and feedback for NetherPanel
AKA java UniUploader

[OPEN] Web->WoW

Postby Shylanna » Wed Sep 19, 2007 1:52 am

Hi,
my webhosting service doesn't accept "non-standard" request, i've changed jUniUploader to send a standard "User-Agent".

1) file res\Defaults.properties
change line 255 to
Code: Select all
conf.useragent=Mozilla/5.0


2) file com\lyndir\lhunath\juniuploader\domain\UniAdminRequest.java
add after line 116
Code: Select all
conn.setRequestProperty( "User-Agent", "Mozilla/5.0" );


3) file com\lyndir\lhunath\juniuploader\domain\Addon.java
add after line 220
Code: Select all
 conn.setRequestProperty( "User-Agent", "Mozilla/5.0" );


Compile, compress and work done.

Feature request:

Can jUniUploader in the future accept these sync settings?
DOWNLOADAFTERUPLOAD
DOWNLOADBEFOREUPLOAD
DOWNLOADBEFOREWOWL
RETRDATAFROMSITE
RETRDATAURL
WEBWOWSVFILE

Thanks in advance

Shy
Last edited by Shylanna on Tue Oct 09, 2007 4:34 pm, edited 4 times in total.
<img src="http://devnull.hyperphp.com/roster/addons/siggen/sig.php?name=Shylanna">
Shylanna
WR.net Apprentice
WR.net Apprentice
 
Posts: 7
Joined: Sun Sep 16, 2007 7:48 pm

jUniUploader user-agent settings

Postby lhunath » Sat Sep 29, 2007 12:34 am

In fact, the standard does not specify what "UserAgent" strings are acceptable. It merely describes that it should be a string that describes your client.

Feel free to make this patch but your webhost is horribly at fault here, you ought to shout murder at them for banning any user agent they did not take into considderation in their silly configuration from browsing their user's pages (think of Links, a text-based Linux browser).

Can you explain what you need the parameters implemented for? I can't really see much of a use for them. Once I understand your point of view I'll definately considder your suggestion.
"OK, so ten out of ten for style, but minus several million for good thinking, yeah?"
-- Zaphod Beeblebrox


= NetherPanel: home - launch - tickets =
User avatar
lhunath
UA/UU Developer
UA/UU Developer
 
Posts: 201
Joined: Sat Jul 22, 2006 12:32 pm

[AWAITING USER INPUT] jUniUploader user-agent settings

Postby Shylanna » Thu Oct 04, 2007 4:46 pm

hi Lhunath, sorry for the late answer (work duties eheheh).

You're right, the "fault" is my webhost, not your program :)

The parameters i've listed are used by the Shopping Roster Addon, you need it to synch your shop with the request that users made via web.

Ref: http://www.wowroster.net/Forums/viewtopic/t=670.html

Thank you

Shy
Last edited by Shylanna on Thu Oct 04, 2007 4:48 pm, edited 1 time in total.
<img src="http://devnull.hyperphp.com/roster/addons/siggen/sig.php?name=Shylanna">
Shylanna
WR.net Apprentice
WR.net Apprentice
 
Posts: 7
Joined: Sun Sep 16, 2007 7:48 pm

[AWAITING USER INPUT] jUniUploader user-agent settings

Postby lhunath » Thu Oct 04, 2007 4:56 pm

You're right; jUU does not implement Web->WoW data transfer. I could add that to my todo list. Most of those variables look like hacks implemented by Matt, though. But I'll have to look into it.

Seeing as I have a job now my time available for jUU has plumitted to an all-time low, sadly. Will see what I can do in the weekend.
"OK, so ten out of ten for style, but minus several million for good thinking, yeah?"
-- Zaphod Beeblebrox


= NetherPanel: home - launch - tickets =
User avatar
lhunath
UA/UU Developer
UA/UU Developer
 
Posts: 201
Joined: Sat Jul 22, 2006 12:32 pm

[AWAITING USER INPUT] jUniUploader user-agent settings

Postby Shylanna » Sat Oct 06, 2007 7:56 pm

Yep Lunath, many of them are implemented by Matt and you can handle it via UniAdmin :)
So, thank you for your efforts during your free time :)

Shy
<img src="http://devnull.hyperphp.com/roster/addons/siggen/sig.php?name=Shylanna">
Shylanna
WR.net Apprentice
WR.net Apprentice
 
Posts: 7
Joined: Sun Sep 16, 2007 7:48 pm


Return to NetherPanel

Who is online

Users browsing this forum: No registered users and 0 guests

cron