WordRider Home
Welcome! Log In Create A New Profile

Advanced

Idea: Common plugin for XFileSharing

Posted by ntoskrnl 
Re: Idea: Common plugin for XFileSharing
June 03, 2012 03:59PM
How about checking for "This direct link will be "? smiling smiley

Also, is the login referer really important (RyuShare uses different one), or can we use the ".html" version for all sites? It's just a referer after all.



Edited 1 time(s). Last edit at 06/03/2012 03:59PM by ntoskrnl.
Re: Idea: Common plugin for XFileSharing
June 03, 2012 04:20PM
That's just an example. What if the server output slightly different ? smiling smiley

I've tested cosmobox, ryushare. I set login referer with : [www.cosmobox.org] and [www.ryushare.com]. They run just fine.

But in ryushare I got this :
WARNING: SimpleHttpConnectionManager being used incorrectly. Be sure that HttpMethod.releaseConnection() is always called and that only one thread and/or method is using this connection manager at a time.

It seems we should set "redirect" parameter in login form (ex : [www.ryushare.com]) to get rid this error.
Re: Idea: Common plugin for XFileSharing
June 03, 2012 04:33PM
tong2shot Wrote:
-------------------------------------------------------
> That's just an example. What if the server output
> slightly different ? smiling smiley

I guess we can add the getter methods back if we come across sites that need them. They make the code a bit harder to read IMO. smiling smiley And with plugin updates like we have, it's not an issue if we want to add features later on.


> But in ryushare I got this :
> WARNING: SimpleHttpConnectionManager being used
> incorrectly. Be sure that
> HttpMethod.releaseConnection() is always called
> and that only one thread and/or method is using
> this connection manager at a time.

That's a very old issue, and nobody knows what causes it. Vity, do you know what it is?
Re: Idea: Common plugin for XFileSharing
June 03, 2012 04:39PM
Ok I've commited the code, I've removed login referer and set redirect param. It seems okay for the rest, they login just fine.



Edited 1 time(s). Last edit at 06/03/2012 04:44PM by tong2shot.
Re: Idea: Common plugin for XFileSharing
June 03, 2012 04:47PM
I've also added "This direct link will be active for your IP".
Re: Idea: Common plugin for XFileSharing
June 03, 2012 04:51PM
I merged registered and unregistered handling so that the code is cleaner. We were working on the same things at the same time again. tongue sticking out smiley
Re: Idea: Common plugin for XFileSharing
June 03, 2012 04:54PM
It's getting late here, I need to have a rest smiling smiley Is there any other issue ?
Re: Idea: Common plugin for XFileSharing
June 03, 2012 04:55PM
Hahaha.. I'll see the code.
Re: Idea: Common plugin for XFileSharing
June 03, 2012 05:01PM
I'm pretty sure that's all for today. There might be some tuning left but it's getting pretty close for release. But that's not for today... smileys with beer
Re: Idea: Common plugin for XFileSharing
June 03, 2012 05:06PM
Excluding captcha and getter methods, that's pretty much like my first attempt. smiling smiley

Ok then we'll continue some other day smileys with beer



Edited 1 time(s). Last edit at 06/03/2012 05:08PM by tong2shot.
Sorry, only registered users may post in this forum.

Click here to login