0.5.4 released [url]http://cl.ly/899c9075fd9b34a8c4c4[/url]
Should work a lot more smoothly than previous versions, i.e. no windows acting up when you're selecting something, no broken behaviour when you click Show Desktop, blah
[QUOTE=ShaRose_;24313121]Unhandled exceptions.[/QUOTE]
Have a look [url=http://msdn.microsoft.com/en-us/library/system.windows.forms.application.threadexception.aspx]here[/url]; do you mean this snippet of code?
[cpp] // Add the event handler for handling non-UI thread exceptions to the event.
AppDomain.CurrentDomain.UnhandledException +=
new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
[/cpp]
[QUOTE=ShaRose_;24313121]Again security. I meant to say that instead of storing the password 'encrypted' with the RIP BILLY MAYS thing, you could just store an md5 of the username, the domain name, and the password, and then just use your own implementation of digest auth.[/QUOTE]
Except I couldn't figure out digest authentication in the first place when I began work on the CloudApp API wrapper.
[QUOTE=ShaRose_;24313121]Not a clue on how to fix that, since the stack traces don't even show where it hits your code. I'd suggest a log spam version of the program.[/QUOTE]
Well actually, the exceptions are being thrown by a library I'm using, which I plan to open source soon.
[QUOTE=Mattk50;24319131]is this link one thats supposed to be used in forums and such, or just to show to people. image tagging the links doesnt seem to work for me.
well thats fucking stupid, you have to add /content to the end in order to hotlink.
is there a way to change fluffy to do it for you?[/QUOTE]
Not yet. Funnily enough, the answer is "no" as well for the official OS X client.
[QUOTE=Jrock455;24331449]Is there a way to upload more files at once instead of just one file per upload?[/QUOTE]
If you're referring to Fluffy, not yet. When I get the time I'll see how the OS X client does it because Fluffy is meant to basically be a clone.
[QUOTE=ShaRose_;24328431]Looking into it, seems cloudapp uses cookies to keep sessions up. So all you would have to do is the authentication part, keep the cookies, then add them to your webclient. At least from what I can see from wireshark, that is. It just seems to send _cloudapp_session and user_credentials.[/QUOTE]
I actually already have cookie saving built into Fluffy's WebClient. Something you missed when reflecting, eh? :v: If I didn't, CloudApp would send back a 401 (or a 503, don't remember) when I attempt to follow the redirect, after making a request to f.cl.ly.
Well, the cookie functionality isn't used for saving across sessions yet, but I suppose it would be a good idea to do so. Though I haven't looked into how (or whether it's possible) to store cookies from a WebClient in a persistent manner.
[QUOTE=a2h;24332436]Have a look [url=http://msdn.microsoft.com/en-us/library/system.windows.forms.application.threadexception.aspx]here[/url]; do you mean this snippet of code?
[cpp] // Add the event handler for handling non-UI thread exceptions to the event.
AppDomain.CurrentDomain.UnhandledException +=
new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
[/cpp][/QUOTE]
Yes, that's what I meant.
[QUOTE=a2h;24332436]Except I couldn't figure out digest authentication in the first place when I began work on the CloudApp API wrapper.[/QUOTE]
Actually, I'm looking into that. Seems I can use system.net.authenticationmanager.register and System.Net..::.IAuthenticationModule to add my own implementation of Digest auth, that supports using HA1. It will even automatically override the default. If I get it working, I'll post it. You won't have to do much different: All you will have to do is add a line somewhere before you do any auth requests, and of course save HA1.
[QUOTE=a2h;24332436]I actually already have cookie saving built into Fluffy's WebClient. Something you missed when reflecting, eh? :v: If I didn't, CloudApp would send back a 401 (or a 503, don't remember) when I attempt to follow the redirect, after making a request to f.cl.ly.
Well, the cookie functionality isn't used for saving across sessions yet, but I suppose it would be a good idea to do so. Though I haven't looked into how (or whether it's possible) to store cookies from a WebClient in a persistent manner.[/QUOTE]
I didn't look into that, I just saw where you were keeping a single webclient between all uploads and whatnot. Not really a big deal, if I get HA1 working it will still be fast.
Oh, and one thing: Lowercase the username / email. I found I could not log in at first either, I tried lowercase, it worked. So.
[QUOTE=ShaRose_;24328431]At least from what I can see from wireshark, that is. It just seems to send _cloudapp_session and user_credentials.[/QUOTE]
Just a friendly fyi, [url=http://fiddler2.com]Fiddler[/url] is much nicer to use if you're just sniffing HTTP traffic rather than all traffic.
[QUOTE=a2h;24332436]Not yet. Funnily enough, the answer is "no" as well for the official OS X client.
[/QUOTE]
well, then you have a clear way to make fluffyapp better than the original!
I could kiss you right now.
Downloading ASAP.
EDIT: It's hosted on CloudApp as well. Nice.
I've released 0.7.0 with auto screenshot uploading and automatic updates. [url]http://cl.ly/9eaae8c260479a23f05e[/url]
For feature parity, mainly just have Raindrops (extensions) left and maybe some other minor stuff. :woop:
Nice piece of software I have to say.
Only one problem, it crashes almost every time after I upload something. Using W7 64bit.
Oh and is there a way just to screenshot the current window?
Instantly closes when I rollover the cloud icon. Windows 7 32 Bit.
sorry if this is counted as spam,but
[img]http://cl.ly/104e24b932d1564044f1/content[/img]
testing
[QUOTE=PieClock;24400612]Instantly closes when I rollover the cloud icon. Windows 7 32 Bit.[/QUOTE]
It crashed and did not set notifyicon.visible to false.
Also, in more important news, I managed to get my Digest access authentication implementation working! Here's how to use it, and it's stupid simple:
[cpp]AuthenticationManager.Register(new DigestAuth()); // Add this in main, or the constructor for the form or whatever.
//Here's my test login with username and password
private void button1_Click(object sender, EventArgs e)
{
CloudAppSharpWebClient client = new CloudAppSharpWebClient(); // stole it, cry
client.Credentials = new DigestCredentials(textBox1.Text.ToLower(), textBox2.Text, false); // false means it's a password, not HA1 hash, so it's Username, Password here
client.Headers.Add("User-Agent", "CloudAppSharp/0.8 CloudAppSharp/0.8.0.0"); // again stole
try
{
Stream openRead = client.OpenRead("http://my.cl.ly/items/new");
string output = new StreamReader(openRead).ReadToEnd(); // testing
textBox3.Text = ((DigestCredentials) client.Credentials).HA1; // store YOUR HA1 hash for future use
textBox4.Text = output;
}
catch
{ // exception swallowing is fun
}
}
// now test 2! logging in with a hash
private void button2_Click(object sender, EventArgs e)
{
CloudAppSharpWebClient client = new CloudAppSharpWebClient();
client.Credentials = new DigestCredentials(textBox1.Text.ToLower(), textBox3.Text, true); // this is pretty much the only difference: it's true, and it's coming from textbox3 (which is my hash). So now it's Username, HA1
client.Headers.Add("User-Agent", "CloudAppSharp/0.8 CloudAppSharp/0.8.0.0");
try
{
Stream openRead = client.OpenRead("http://my.cl.ly/items/new");
string output = new StreamReader(openRead).ReadToEnd(); // no point in saving a HA1 we have
textBox4.Text = output;
}
catch
{ // more swallowing
}
}[/cpp]
My tests seem to pass fine. Which is just logging in both ways. Just going to work on code quality some more, and it's done!
And I should probably test preauth (Which is where you were logged in but the server wants you to re-authenticate), but it should be fine since I've never seen it attempt to do so since it uses cookies.
0.7.2 out
[QUOTE=ShaRose;24403476]It crashed and did not set notifyicon.visible to false.
Also, in more important news, I managed to get my Digest access authentication implementation working! Here's how to use it, and it's stupid simple:
-snip-
My tests seem to pass fine. Which is just logging in both ways. Just going to work on code quality some more, and it's done!
And I should probably test preauth (Which is where you were logged in but the server wants you to re-authenticate), but it should be fine since I've never seen it attempt to do so since it uses cookies.[/QUOTE]
So persistent cookies isn't that good of a solution? Or..?
[QUOTE=a2h;24429686]0.7.2 out
So persistent cookies isn't that good of a solution? Or..?[/QUOTE]
They can time out, this can't. Keep the cookies, but hey. If you can do it right, just as well. And I'm not sure how long the cookies last.
Oh, and minor thing, this lasts between IP changes.
[editline]06:19AM[/editline]
Oh, and do you have a website, or a project on sourceforge or something for this?
Looks awesome, I'll try it out.
Why is it, that I can see people dropping the file on the FluffyApp icon, yet when I try it, nothing happens?
Can anyone on Windows 7 having nothing happen when dragging onto the cloud icon try [url]http://cl.ly/2D2D[/url] and report back? That includes Jrock455 et al
[QUOTE=a2h;24511873]Can anyone on Windows 7 having nothing happen when dragging onto the cloud icon try [url]http://cl.ly/2D2D[/url] and report back? That includes Jrock455 et al[/QUOTE]
Seems to work fine for me.
[QUOTE=ShaRose;24512590]Seems to work fine for me.[/QUOTE]
As in it works after trying that or it worked before?
Because I'm trying to get Fluffy's drag thing to work for people reporting that it's not working. And I belong in the group of people who have it working.
The confirmation email landed in my gmail spambox. Dunno why.
Also I can't log in. Check credentials etc, even though it works on the website.
[QUOTE=Maurice;24513572]The confirmation email landed in my gmail spambox. Dunno why.
Also I can't log in. Check credentials etc, even though it works on the website.[/QUOTE]
Make sure the email is lowercase.
[editline]10:15AM[/editline]
And make it open source. I want to add stuff, but I can't be assed to inject classes with reflexil. It takes far too much time, and fuck doing it with mono.cecil manually.
[editline]10:15AM[/editline]
And I don't want to decompile then recompile, that's messy as well.
[QUOTE=ShaRose;24513908]Make sure the email is lowercase.[/QUOTE]
Well that's silly. Thanks.
[QUOTE=Maurice;24514194]Well that's silly. Thanks.[/QUOTE]
I include string.lower in my implementation.
It needs it since the email is hashed lowercase.
[QUOTE=Maurice;24514194]Well that's silly. Thanks.[/QUOTE]
Very silly. See this comment; [url]http://support.getcloudapp.com/discussions/help/212-unable-to-loign#comment_2678161[/url]
[QUOTE=ShaRose;24513908]And make it open source. I want to add stuff, but I can't be assed to inject classes with reflexil. It takes far too much time, and fuck doing it with mono.cecil manually.[/QUOTE]
I'm starting with [URL="http://github.com/a2h/Spifftastic.NotifyIconLoc"]Spifftastic.NotifyIconLoc[/URL].
[QUOTE=Lazor;24253944]i can't drag anything onto the icon, my mouse turns into a circle with a slash through it when i try[/QUOTE]
same here I think that it's because i changed my theme to soft 7 but i'm not sure.
[QUOTE=Goodthief;24537156]same here I think that it's because i changed my theme to soft 7 but i'm not sure.[/QUOTE]
See:
[QUOTE=a2h;24511873]Can anyone on Windows 7 having nothing happen when dragging onto the cloud icon try [url]http://cl.ly/2D2D[/url] and report back? That includes Jrock455 et al[/QUOTE]
[QUOTE=ShaRose;24513908]I want to add stuff, but I can't be assed to inject classes with reflexil. It takes far too much time, and fuck doing it with mono.cecil manually.[/QUOTE]
Use nulloader style runtime fuckery.
[QUOTE=a2h;24537223]See:[/QUOTE]
sorry still not working
I am using windows 7 32 bit by the way, however screenshots still work so i can at least use those. I would also like to applaud you on making the perfect app you seriously need to win an award for this, because i cannot recall the number of times i have ignored an image request because i was too lazy to upload to photobucket.
[QUOTE=a2h;24512686]As in it works after trying that or it worked before?
Because I'm trying to get Fluffy's drag thing to work for people reporting that it's not working. And I belong in the group of people who have it working.[/QUOTE]
i found some problems with it. one way to make it not work is to press the "show desktop" bar and then try to use fluffyapp.
also, i had to restart my computer before it started working the first time.
[QUOTE=Mattk50;24539706]i found some problems with it. one way to make it not work is to press the "show desktop" bar and then try to use fluffyapp.[/QUOTE]
I thought I fixed that ages ago.
[editline]09:34PM[/editline]
Looks like the bug's risen back from the grave...
Sorry, you need to Log In to post a reply to this thread.