[00:03] Is there a Oauth framework for U1 in the works? [00:03] or some such? [00:14] sid__: you might wanna lookup ubuntuone-java-storageprotocol [00:15] wait, even not that. in general, it's there. [00:15] or I didn't get your question. [00:15] you can oauthorize against U1 servers [00:16] Oauth for any app to get my files [00:16] as in its a good way [00:16] without giving our paswords [00:16] we can access files [00:16] well.. I'm just playing around with java source that does that [00:17] also, U1 client written in python is open source [00:17] sid__: it actually works that way [00:17] you use the browser to log in. you never enter your password in any app. [00:18] Browser yeah.. But like write a java App for say my android... [00:18] standalone? [00:18] cause thats what Oauth really does [00:19] Liek I have a dropbox app for my android [00:19] Its contacting Dropbox via oauth... no browseer [00:19] sid__: you might not know.. I'm writing U1 client for Android right now. [00:19] Hmm cool! [00:19] it uses REST i presume?> [00:20] sid__: no, actually, you had to give your username/pass in the application. howcome then it be oauth. [00:20] Hmm [00:20] And after you give the p/w its all via HTTP GET and POSTS? [00:21] Or what is the protocol? [00:21] Actually let me explain I was writing a pure javascript client for dropbox... [00:21] It uses Oauth and REST [00:21] it is ubuntuone-storageprotocol [00:22] let me check it out thanks... [00:22] u1 uses it's own protocol based on google's protocol buffers [00:22] Hmmmm [00:22] sid__: see ubuntuone-storageprotocol and experimental ubuntuone-java-storageprotocol [00:22] I see, cool [00:23] Since its all abstracted was wondering if itd work for Ubuntu one too :) [00:23] dropbox would conform 100% to oauth if they executed a browser, instead of showing 2 input fields for username and password [00:23] I don't think so.. [00:23] they have their own protocol [00:23] based on protobuf [00:24] Well the username and p/w is not given to the app... the U/N and P/W is just to verify the authorzation tokens and let the app do stuff on your storage... [00:24] Technically [00:24] I would also go the easy way, but I was instructed to stick to that. so the AndroidU1 will show one.ubuntu.com to log-in to the application itself [00:25] Hmm [00:25] sid__: well.. I think I remember entering the username and pass into my dropbox app. am I wrong? [00:25] :) [00:26] oauth bases on the trust established to a particular webservice. you see https, you see the lock, you feel safe. there you enter the credentials. [00:26] so I think dropbox took a little shortcut there :) [00:26] not that I don't like it [00:26] but in theory, that Dropbox app could have also been a huge scam you know ;) [00:26] I also have it on my HTC, anyway. [00:27] Well the whole idea of oauth is not to give u/n p/w to the app.. So teh oauth dance step 2 is when Dropbox asks you "This app is asking me for and access token... What dropbox accout do you ant to give access to?" [00:27] so that will be your account [00:27] wait.. I'll check that out right now :) I don't remember [00:27] Hmm [00:27] :) [00:28] Well I am neck deep in this so dont think i got that wrong :) [00:29] ok, when you click "I have a dropbox account" you see email and password. that may be the app, that may be an embedded browser. anyhow, this is wrong. I don't feel safe entering my user/pass here. and you wrote "Well the whole idea of oauth is not to give u/n p/w to the app" - so why should I [00:29] you get my point? [00:29] :) [00:29] that may be an embedded browser, but I don't know about that. where's https, wheres the lock :) [00:29] You are sceptic [00:30] I use a clear definition of oauth. why would you call me that :) ? [00:30] Well under the hood the app does a RESTful HTTPS (and it *should*) [00:30] http://code.google.com/apis/accounts/images/accessrequestpage.jpg [00:30] this is how that page looks [00:31] see how this guy is logged in already [00:31] so it asks for just granting access [00:31] wait dude.. what Android version do you use? [00:31] Older [00:31] i think 1.6 [00:32] I use 1.5 . what dropbox version? [00:32] let me see [00:33] by the way, why would you show me a google-related website if we're talking about u1/dropbox? [00:33] check the dropbox version, and let me lookup one line [00:33] 0.9.7 [00:34] yep. same here. ok, let me say two things [00:34] 1. you may be more proficient in the topic we're talking about right now [00:35] 2. let me show you one site my mentor suggested reading [00:35] http://fireeagle.yahoo.net/developer/documentation/oauth_best_practice [00:35] which says: [00:35] "we insist that you must not use embedded rendering controls to present the OAuth process " [00:35] how about that? [00:36] what did I get wrong about dropbox then? [00:36] one sec [00:36] * mkarnicki has a headache [00:36] ok, no prob [00:38] let me hear what you think when you're ready [00:38] Hmm taht day [00:38] I d/l [00:39] a CLI python client [00:39] to connect to drop box [00:39] aha? [00:39] Now here is how it worked [00:39] i fired it up without my user name and password [00:39] well, it's cli, so it won't jump to a browser :D [00:39] It fails at the 2nd step [00:39] No actauallu [00:39] actually [00:39] Python imports a mechanize.browser module [00:39] it will do a REsTful https request, right? [00:40] uu :) [00:40] that parses the emaila and p/w [00:40] aha :) ? [00:40] * mkarnicki interested [00:40] and that is your browser page [00:40] technically [00:40] I see [00:40] neat [00:41] Well see the idea is that the keys themselves are given to one app that expire in some time [00:41] what email and password does it parse? [00:41] and only 1 connection is allowed with that key [00:41] (you wrote about parsing) [00:41] My email and p/w [00:41] as in i give that [00:41] AHA [00:41] but [00:41] aha [00:41] ;) [00:41] the page is being [00:41] served [00:41] from the dropbox server [00:41] not any third party [00:42] so you entered that *on* a webpage, right? [00:42] or some such [00:42] Yeah [00:42] technically [00:42] so what's the point, that's what I was saying :) [00:42] you have that trust context to dropbox [00:43] which you use to ensure you're in a safe environment, not some 3rd party app, didn't you? [00:43] Well I have the trust context in the app whose source i know.. [00:43] oh well, you're right here [00:43] yeah that is a problem.. The 3rd party... [00:43] thingy [00:43] but not everybody that uses my app will d/l the source to read it ;) [00:43] So [00:43] so you're saying, if I have an opensource app, I could somewhat jump that browser step? [00:44] like the dropbox app does? [00:44] (which by the way is not OS, so it shouldn't do that ;d ) [00:44] (or is it OS ? o_O ) [00:44] Well the you need to atleast tell dropbox that hey i am really mkarnicki and i have this app [00:44] other wise anyone will just enter your email and all [00:45] But at no point does a *legit* app try to send your p/w [00:45] to theboogey man [00:45] but on Android I could do that in the browser. you know it can fire a browser intent for you and give you the result back [00:46] yes well, my app will be OS. how do I know the dropbox app doesn't send my pass to theboogey man? (and yes, I did provide it at least twice) [00:47] yeah same thing if dropbox could know the MAC of your Android and say yeah its trusted or a cookie perhaps that it can read off then its ok... [00:47] didn't then they get it wrong? instead of fireing a browser, using an embedded one (or doing a RESTful https request themselve?) [00:47] I'm talking about authorizing user against the server, not the other way :) [00:48] ok, so.. what's you're aiming at? [00:48] what's the conclusion? [00:49] because I lost the motive of our (constructive) talk in the meantime :) [00:49] Hmm... Well i think they screen apps they say are legit and all... I dont know about the hosting and stuff weather its Opensource I am guessing its not... [00:49] sorry, my head aches [00:49] Who screens apps :) For Android Market, you sign it yourself. [00:49] well dropbox made an app themselves [00:49] yep, I also guess it's not. [00:49] for android [00:50] well, yes. we know that, because they had huge publicity :) [00:50] oauth is also for printing services and all i guess which access picasa or some such.. [00:50] but if it was my gogole credentials to input on that app (let's forget about those neat google-credential features of the app), I woulnd't type it in ;) [00:50] technically [00:50] I didn't know that :) [00:51] it should always open a browser [00:51] clearly showing [00:51] the URL [00:51] that's what I read, yes [00:51] hmm internally this mechanize.browser thing is hiding but again that was a CLI app [00:51] just to experiment [00:51] I was using its architechture to make a ropbix client in JS [00:51] right, I get it [00:52] you use dropbox app written by the dropbox people right? [00:52] there is a bunch in there [00:52] you should stay up to date to see if I don't f**k things up with AndroidU1 hehe [00:52] well, actually I got it only to "research the market" [00:53] Well this U1 protocole [00:53] is it propritary? [00:53] as in looks like not HTTP [00:53] umm.. well, if you can download the implementation, then I don't think so :D I don't know about the rest of the protocol [00:54] but hey, oauth is oauth, don't mix it with storageprotocol [00:54] it's based on OS protobuf [00:54] but it's not me who you should be asking, I'm quite new here :) [00:54] hmm [00:54] thanks [00:55] umm.. my pleasure :) [00:55] thanks for constructive talk [00:55] I hope your 'thanks' wasn't just dismissive ;) [00:56] Nope [00:56] :) [00:56] ok, I gotta go know.. it's 2AM, and I should have played a bit with the code ;) [00:56] till next time === cpg is now known as cpg|away === cpg|away is now known as cpg [03:20] had some success with storageprotocol fun :) (http://android-u1.blogspot.com). 4:20AM, time for bed. nite all [06:11] hello [06:11] how r u [06:11] ? [06:43] hey all, i'm putting together a webapp for Google App Engine that would make it possible to create/edit Tomboy/UbuntuOne notes on the iPad through its web browser - including a dynamic-resizing textarea, saving local edits to HTML5 offline storage, etc. if anyone is interested in such an application let me know~ [07:13] wjordan: It would be great if you could add it to the 3rdparty projects page so others that are interested can find out about it :) [07:13] https://wiki.ubuntu.com/UbuntuOne/ThirdPartyProjects [07:18] kermiac: thanks for the link! i will add an entry there as soon as i set up a Google Code repository. [07:18] wjordan: np. thanks for lettings us know of the app you're working on :) === cpg is now known as cpg|away [10:30] I'm getting: There was a problem completing the download. Try downloading again [10:30] but clicking on the link doesn't resolve the issue [10:30] where do I go to report the problem so I get the files I have paid for? [10:40] hello everybody. I am having a problem with my ubuntu one client on Ubuntu 10.04: i cannot synchronize any file outside the ~/UbuntuOne folder (i click on synchronize to ubuntu one and nothing happens). If I move what i want syncronized in the ~/UbuntuOne folder, everything is very very slow. It took 30 minutes to (only) create 3 folders and it didn't upload any files. Any idea, please? [11:54] hi all. can you plz tell me how to install ubuntu-one client on kubuntu? [12:30] What command do I issue to get UbuntuOne to do a complete rescan/download of files? I just got a message on this system saying that synchronization was complete.. And it still has an empty UbuntuOne directory (95mb on the server). [13:09] Is there an U1 extension to sync bookmarks for chromium? [14:33] duffydack: hmm, I don't think so (yet). but you might want want to try syncing ~/.config/google-chrome/Default/Bookmarks (I don't even know if it has any chance of working ^ ^) [14:33] duffydack: you can also check out http://delicious.com [14:35] Emry: make sure to check out the links from the channel topic. if you won't find an answer there, ask your question here again tomorrow. on sunday, developers are kind of having some rest :) [14:36] mkarnicki, there must be a plan for one at some point if chromium is to become a default inn ubuntu [14:37] duffydack: no worries :) chromium is open source. integrating that with couchDB shouldn't be a problem [14:38] duffydack: by the way, where do you know from it is to become a default in ubuntu? [14:39] its not set in stone but..http://www.omgubuntu.co.uk/2010/05/chromium-to-be-default-browser-in.html [14:40] ok in netbook, but u1 is for netbooks too [14:41] sweet. there are printing issues on chromium? [14:53] duffydack: cool site, that omg ubuntu :) [15:10] yup :0 [16:05] Hi @ all [18:09] hello guys my ubuntu one doest sync, it's keeps going on and on.. no sync [18:12] marcosroriz: Hi :) I feel like an automated machine. They could use a bot here. It's Sunday evening, come back tomorrow and ask your question :) [18:12] sure :D [18:12] รณ/ [18:12] I can tell you [18:13] that they are working on it. [18:13] but as you can see, I have no more details. they're about to scale-up the system. [18:13] cool ^_^ [18:13] I'm liking u1 more and more [18:14] I'm thinking on helping out (after the gsoc) with syncing apps [18:14] you're taking part in gsoc too :D ? [18:14] it's really cool, and we could use this feature (like syncing xchat (which is just the .folder)) [18:14] :) [18:15] i'm writing U1 client for Android during gsoc ;D [18:16] cool ;) [18:16] I'm working for the gnu classpath (gsoc) [18:17] cool =) [18:17] refactoring escher (Impl of a java x11 client) which is used to render graphics and by decoupling with other backends (like directfb) [18:17] ;) [18:17] sounds cool ;) [18:18] it's hard [18:18] :'( [18:18] but cool [18:18] yours too [18:18] I'm learning alot about x11 (which was so ahead of it's time) [18:18] IMO [18:18] it was really? [18:19] yep [18:19] very scalable [18:19] I had tons of docs to read. now I'm about to dig my mind and convert that into code [18:19] well-design architecture [18:19] great =) [18:19] :) /me same [18:19] br [18:19] *brb [18:38] Anybody else have issues downloading from Ubuntu 1 through rhythmbox? === cpg|away is now known as cpg [18:55] any hints where I can find Ubuntu (cloud version) icon, svg prefferably ? [18:55] wait.. i didn't check on my PC xD [18:58] didn't find a suitable svg.. [18:58] nvm, it's not very important. [18:58] Anybody have a work-around for the sync problem when purchasing new music through rhythmbox? [19:02] trevjs: such issues are often dealt on one-by-one basis. you might wanna ask that question tomorrow (it's sunday evening ;) ) [19:02] trevjs: not that I know the answer. guys might just see that tomorrow :) [19:07] mkarnicki: ok [20:47] are the servers bogged down again ? its very slow to do anything. Im waiting more than 5mins for a public url for a file. [20:51] whom should one be talking to about implemenation of u1 music store into amarok? [20:52] duffydack, yeah, some of the database servers started acting up last week, we're working out what configs they like to eat [21:06] one of my clients is having an issue with the ubuntu one music store. she gets an error about the gnome keyring. is this a known issue? [21:09] maccam94, it is not [21:20] here is the error she sent me: http://pastebin.com/uSSHnpK6 [21:20] it looks like there's a problem with ubuntu one accessing the gnome keyring [21:42] I still can't delete folders from u1 :\... u1sdtool --delete-folder= just sits there and doesn't effect anything [21:47] just received this error when viewing a public shared url http://pastebin.org/272250 [21:51] duffydack, wow, please file a bug about that [21:51] beuno, it took like 5-7 mins to get the url as well but thats the servers I guess [21:53] I`m not very good at filing bug reports.. whats the link? [22:03] Firefox can't establish a connection to the server at localhost:51151 [22:04] I suppose this means I disabled a daemon somewhere... [22:04] any ideas? [22:04] (I get this while trying to sign into ubuntu one) [22:17] 'Connecting you to the Ubuntu One Music Store...' sits there forever. no 'back' button either. sigh. [22:19] yeah, me too [22:19] im trying to support ubuntu and at the same time save $1 from the amazon mp3 store :) [22:20] have you got an ubuntu one account? [22:21] yup [22:22] rebooted rhythmbox, and the purchase step is working now [22:23] 2010-05-23 17:22:35,850 - ubuntuone.SyncDaemon.sync - INFO - -:-:- - ['-'::'-'] ''/home/matthew/.config/gpodder/database.sqlite-journal'' | Called delete_on_server (In: T:NONE:F) [22:23] ah, you got it? [22:23] Why do I keep getting that over and over and over and over in my syncdaemon log? [22:23] select payment says to use paypal to avoid the fee of a US card buying from a UK merchant, but paypal is not a listed option. === cpg is now known as cpg|brb === n is now known as Guest93095 [23:19] hey guys [23:19] so the ubuntu one is down right? [23:27] anybody here to know the oauth u1 authorize URL? is it one.ubuntu.com? or one.ubuntu.com/auth ? (.com/auth/login ? ) [23:30] mkarnicki, https://one.ubuntu.com/account/ ? [23:31] rotten777: you know what I'm asking about, right? :) I mean, if you're just guessing you rather got it wrong. [23:31] it doesn't look like oauth url ;) [23:33] https://login.ubuntu.com/+login [23:35] rotten777: really :D ? how did you know that!? :) [23:35] ouu.. wait [23:36] rotten777: I think it's still not the address I'm looking for. I suspect https://one.ubuntu.com/auth or https://one.ubuntu.com/auth/login [23:36] I'll check that out, when I have the functionality implemented. [23:36] what are you looking for [23:36] if it's wrong, I'll pop the question again [23:36] the machine adding url? [23:36] rotten777: you know what is OAuth, right? [23:36] rotten777: no ;) [23:37] yes no clue haha [23:37] I'm looking for a URL to make a RESTful HTTPs request to authorize against U1 server with OAuth ;) [23:37] :) [23:38] I'm guessing it may be one.ubuntu.com/auth . we'll see. it won't work, if I'll get it wrong :D [23:38] gl [23:38] rotten777: I'm looking for a ubuntuone URL similar to the twitter one (which isn't visibile here anyway), but that's the example: http://www.youtube.com/watch?v=25o0b2aEw0E [23:38] rotten777: thanks :) === cpg|brb is now known as cpg