/srv/irclogs.ubuntu.com/2010/05/23/#ubuntuone.txt

sid__Is there a Oauth framework for U1 in the works?00:03
sid__or some such?00:03
mkarnickisid__: you might wanna lookup ubuntuone-java-storageprotocol00:14
mkarnickiwait, even not that. in general, it's there.00:15
mkarnickior I didn't get your question.00:15
mkarnickiyou can oauthorize against U1 servers00:15
sid__Oauth for any app to get my files00:16
sid__as in its a good way00:16
sid__without giving our paswords00:16
sid__we can access files00:16
mkarnickiwell.. I'm just playing around with java source that does that00:16
mkarnickialso, U1 client written in python is open source00:17
mkarnickisid__: it actually works that way00:17
mkarnickiyou use the browser to log in. you never enter your password in any app.00:17
sid__Browser yeah.. But like write a java App for say my android...00:18
sid__standalone?00:18
sid__cause thats what Oauth really does00:18
sid__Liek I have a dropbox app for my android00:19
sid__Its contacting Dropbox via oauth... no browseer00:19
mkarnickisid__: you might not know.. I'm writing U1 client for Android right now.00:19
sid__Hmm cool!00:19
sid__it uses REST i presume?>00:19
mkarnickisid__: no, actually, you had to give your username/pass in the application. howcome then it be oauth.00:20
sid__Hmm00:20
sid__And after you give the p/w its all via HTTP GET and POSTS?00:20
sid__Or what is the protocol?00:21
sid__Actually let me explain I was writing a pure javascript client for dropbox...00:21
sid__It uses Oauth and REST00:21
mkarnickiit is ubuntuone-storageprotocol00:21
sid__let me check it out thanks...00:22
mkarnickiu1 uses it's own protocol based on google's protocol buffers00:22
sid__Hmmmm00:22
mkarnickisid__: see ubuntuone-storageprotocol and experimental ubuntuone-java-storageprotocol00:22
mkarnickiI see, cool00:22
sid__Since its all abstracted was wondering if itd work for Ubuntu one too :)00:23
mkarnickidropbox would conform 100% to oauth if they executed a browser, instead of showing 2 input fields for username and password00:23
mkarnickiI don't think so..00:23
mkarnickithey have their own protocol00:23
mkarnickibased on protobuf00:23
sid__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
sid__Technically00:24
mkarnickiI 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 itself00:24
sid__Hmm00:25
mkarnickisid__: well.. I think I remember entering the username and pass into my dropbox app. am I wrong?00:25
mkarnicki:)00:25
mkarnickioauth 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
mkarnickiso I think dropbox took a little shortcut there :)00:26
mkarnickinot that I don't like it00:26
mkarnickibut in theory, that Dropbox app could have also been a huge scam you know ;)00:26
mkarnickiI also have it on my HTC, anyway.00:26
sid__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
sid__so that will be your account00:27
mkarnickiwait.. I'll check that out right now :) I don't remember00:27
sid__Hmm00:27
sid__:)00:27
sid__Well I am neck deep in this so dont think i got that wrong :)00:28
mkarnickiok, 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 I00:29
mkarnickiyou get my point?00:29
sid__:)00:29
mkarnickithat may be an embedded browser, but I don't know about that. where's https, wheres the lock :)00:29
sid__You are sceptic00:29
mkarnickiI use a clear definition of oauth. why would you call me that :) ?00:30
sid__Well under the hood the app does a RESTful HTTPS (and it *should*)00:30
sid__http://code.google.com/apis/accounts/images/accessrequestpage.jpg00:30
sid__this is how that page looks00:30
sid__see how this guy is logged in already00:31
sid__so it asks for just granting access00:31
mkarnickiwait dude.. what Android version do you use?00:31
sid__Older00:31
sid__i think 1.600:31
mkarnickiI use 1.5 . what dropbox version?00:32
sid__let me see00:32
mkarnickiby the way, why would you show me a google-related website if we're talking about u1/dropbox?00:33
mkarnickicheck the dropbox version, and let me lookup one line00:33
sid__0.9.700:33
mkarnickiyep. same here. ok, let me say two things00:34
mkarnicki1. you may be more proficient in the topic we're talking about right now00:34
mkarnicki2. let me show you one site my mentor suggested reading00:35
mkarnickihttp://fireeagle.yahoo.net/developer/documentation/oauth_best_practice00:35
mkarnickiwhich says:00:35
mkarnicki"we insist that you must not use embedded rendering controls to present the OAuth process "00:35
mkarnickihow about that?00:35
mkarnickiwhat did I get wrong about dropbox then?00:36
sid__one sec00:36
* mkarnicki has a headache00:36
mkarnickiok, no prob00:36
mkarnickilet me hear what you think when you're ready00:38
sid__Hmm taht day00:38
sid__I d/l00:38
sid__a CLI python client00:39
sid__to connect to drop box00:39
mkarnickiaha?00:39
sid__Now here is how it worked00:39
sid__i fired it up without my user name and password00:39
mkarnickiwell, it's cli, so it won't jump to a browser :D00:39
sid__It fails at the 2nd step00:39
sid__No actauallu00:39
sid__actually00:39
sid__Python imports a mechanize.browser module00:39
mkarnickiit will do a REsTful https request, right?00:39
mkarnickiuu :)00:40
sid__that parses the emaila and p/w00:40
mkarnickiaha :) ?00:40
* mkarnicki interested00:40
sid__and that is your browser page00:40
sid__technically00:40
mkarnickiI see00:40
mkarnickineat00:40
sid__Well see the idea is that the keys themselves are given to one app that expire in some time00:41
mkarnickiwhat email and password does it parse?00:41
sid__and only 1 connection is allowed with that key00:41
mkarnicki(you wrote about parsing)00:41
sid__My email and p/w00:41
sid__as in i give that00:41
sid__AHA00:41
sid__but00:41
mkarnickiaha00:41
mkarnicki;)00:41
sid__the page is being00:41
sid__served00:41
sid__from the dropbox server00:41
sid__not any third party00:41
mkarnickiso you entered that *on* a webpage, right?00:42
sid__or some such00:42
sid__Yeah00:42
sid__technically00:42
mkarnickiso what's the point, that's what I was saying :)00:42
mkarnickiyou have that trust context to dropbox00:42
mkarnickiwhich you use to ensure you're in a safe environment, not some 3rd party app, didn't you?00:43
sid__Well I have the trust context in the app whose source i know..00:43
mkarnickioh well, you're right here00:43
sid__yeah that is a problem.. The 3rd party...00:43
sid__thingy00:43
mkarnickibut not everybody that uses my app will d/l the source to read it ;)00:43
sid__So00:43
mkarnickiso you're saying, if I have an opensource app, I could somewhat jump that browser step?00:43
mkarnickilike the dropbox app does?00:44
mkarnicki(which by the way is not OS, so it shouldn't do that ;d )00:44
mkarnicki(or is it OS ? o_O )00:44
sid__Well the you need to atleast tell dropbox that hey i am really mkarnicki and i have this app00:44
sid__other wise anyone will just enter your email and all00:44
sid__But at no point does a *legit* app try to send your p/w00:45
sid__to theboogey man00:45
mkarnickibut on Android I could do that in the browser. you know it can fire a browser intent for you and give you the result back00:45
mkarnickiyes 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:46
sid__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
mkarnickididn't then they get it wrong? instead of fireing a browser, using an embedded one (or doing a RESTful https request themselve?)00:47
mkarnickiI'm talking about authorizing user against the server, not the other way :)00:47
mkarnickiok, so.. what's you're aiming at?00:48
mkarnickiwhat's the conclusion?00:48
mkarnickibecause I lost the motive of our (constructive) talk in the meantime :)00:49
sid__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
mkarnickisorry, my head aches00:49
mkarnickiWho screens apps :) For Android Market, you sign it yourself.00:49
sid__well dropbox made an app themselves00:49
mkarnickiyep, I also guess it's not.00:49
sid__for android00:49
mkarnickiwell, yes. we know that, because they had huge publicity :)00:50
sid__oauth is also for printing services and all i guess which access picasa or some such..00:50
mkarnickibut 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
sid__technically00:50
mkarnickiI didn't know that :)00:50
sid__it should always open a browser00:51
sid__clearly showing00:51
sid__the URL00:51
mkarnickithat's what I read, yes00:51
sid__hmm internally this mechanize.browser thing is hiding but again that was a CLI app00:51
sid__just to experiment00:51
sid__I was using its architechture to make a ropbix client in JS00:51
mkarnickiright, I get it00:51
sid__you use dropbox app written by the dropbox people right?00:52
sid__there is a bunch in there00:52
mkarnickiyou should stay up to date to see if I don't f**k things up with AndroidU1 hehe00:52
mkarnickiwell, actually I got it only to "research the market"00:52
sid__Well this U1 protocole00:53
sid__is it propritary?00:53
sid__as in looks like not HTTP00:53
mkarnickiumm.. well, if you can download the implementation, then I don't think so :D I don't know about the rest of the protocol00:53
mkarnickibut hey, oauth is oauth, don't mix it with storageprotocol00:54
mkarnickiit's based on OS protobuf00:54
mkarnickibut it's not me who you should be asking, I'm quite new here :)00:54
sid__hmm00:54
sid__thanks00:54
mkarnickiumm.. my pleasure :)00:55
mkarnickithanks for constructive talk00:55
mkarnickiI hope your 'thanks' wasn't just dismissive ;)00:55
sid__Nope00:56
mkarnicki:)00:56
mkarnickiok, I gotta go know.. it's 2AM, and I should have played a bit with the code ;)00:56
mkarnickitill next time00:56
=== cpg is now known as cpg|away
=== cpg|away is now known as cpg
mkarnickihad some success with storageprotocol fun :) (http://android-u1.blogspot.com). 4:20AM, time for bed. nite all03:20
Exequihellhello06:11
Exequihellhow r u06:11
Exequihell?06:11
wjordanhey 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~06:43
kermiacwjordan: 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
kermiachttps://wiki.ubuntu.com/UbuntuOne/ThirdPartyProjects07:13
wjordankermiac: thanks for the link! i will add an entry there as soon as i set up a Google Code repository.07:18
kermiacwjordan: np. thanks for lettings us know of the app you're working on :)07:18
=== cpg is now known as cpg|away
PrebenRI'm getting: There was a problem completing the download. Try downloading again10:30
PrebenRbut clicking on the link doesn't resolve the issue10:30
PrebenRwhere do I go to report the problem so I get the files I have paid for?10:30
kiohello 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?10:40
errorhi all. can you plz tell me how to install ubuntu-one client on kubuntu?11:54
EmryWhat 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).12:30
duffydackIs there an U1 extension to sync bookmarks for chromium?13:09
mkarnickiduffydack: 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
mkarnickiduffydack: you can also check out http://delicious.com14:33
mkarnickiEmry: 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:35
duffydackmkarnicki, there must be a plan for one at some point if chromium is to become a default inn ubuntu14:36
mkarnickiduffydack: no worries :) chromium is open source. integrating that with couchDB shouldn't be a problem14:37
mkarnickiduffydack: by the way, where do you know from it is to become a default in ubuntu?14:38
duffydackits not set in stone but..http://www.omgubuntu.co.uk/2010/05/chromium-to-be-default-browser-in.html14:39
duffydackok in netbook, but u1 is for netbooks too14:40
mkarnickisweet. there are printing issues on chromium?14:41
mkarnickiduffydack: cool site, that omg ubuntu :)14:53
duffydackyup :015:10
ZeroEnnaHi @ all16:05
marcosrorizhello guys my ubuntu one doest sync, it's keeps going on and on.. no sync18:09
mkarnickimarcosroriz: 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
marcosrorizsure :D18:12
marcosrorizรณ/18:12
mkarnickiI can tell you18:12
mkarnickithat they are working on it.18:13
mkarnickibut as you can see, I have no more details. they're about to scale-up the system.18:13
marcosrorizcool ^_^18:13
marcosrorizI'm liking u1 more and more18:13
marcosrorizI'm thinking on helping out (after the gsoc) with syncing apps18:14
mkarnickiyou're taking part in gsoc too :D ?18:14
marcosrorizit's really cool, and we could use this feature (like syncing xchat (which is just the .folder))18:14
marcosroriz:)18:14
mkarnickii'm writing U1 client for Android during gsoc ;D18:15
marcosrorizcool ;)18:16
marcosrorizI'm working for the gnu classpath (gsoc)18:16
mkarnickicool =)18:17
marcosrorizrefactoring escher (Impl of a java x11 client) which is used to render graphics and by decoupling with other backends (like directfb)18:17
marcosroriz;)18:17
mkarnickisounds cool ;)18:17
marcosrorizit's hard18:18
marcosroriz:'(18:18
marcosrorizbut cool18:18
marcosrorizyours too18:18
marcosrorizI'm learning alot about x11 (which was so ahead of it's time)18:18
marcosrorizIMO18:18
mkarnickiit was really?18:18
marcosrorizyep18:19
marcosrorizvery scalable18:19
mkarnickiI had tons of docs to read. now I'm about to dig my mind and convert that into code18:19
marcosrorizwell-design architecture18:19
mkarnickigreat =)18:19
marcosroriz:) /me same18:19
marcosrorizbr18:19
marcosroriz*brb18:19
trev_Anybody else have issues downloading from Ubuntu 1 through rhythmbox?18:38
=== cpg|away is now known as cpg
mkarnickiany hints where I can find Ubuntu (cloud version) icon, svg prefferably ?18:55
mkarnickiwait.. i didn't check on my PC xD18:55
mkarnickididn't find a suitable svg..18:58
mkarnickinvm, it's not very important.18:58
trevjsAnybody have a work-around for the sync problem when purchasing new music through rhythmbox?18:58
mkarnickitrevjs: such issues are often dealt on one-by-one basis. you might wanna ask that question tomorrow (it's sunday evening ;) )19:02
mkarnickitrevjs: not that I know the answer. guys might just see that tomorrow :)19:02
trevjsmkarnicki: ok19:07
duffydackare the servers bogged down again ?  its very slow to do anything.  Im waiting more than 5mins for a public url for a file.20:47
apacheloggerwhom should one be talking to about implemenation of u1 music store into amarok?20:51
beunoduffydack, yeah, some of the database servers started acting up last week, we're working out what configs they like to eat20:52
maccam94one 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:06
beunomaccam94, it is not21:09
maccam94here is the error she sent me: http://pastebin.com/uSSHnpK621:20
maccam94it looks like there's a problem with ubuntu one accessing the gnome keyring21:20
rotten777I still can't delete folders from u1 :\... u1sdtool --delete-folder=<id> just sits there and doesn't effect anything21:42
duffydackjust received this error when viewing a public shared url http://pastebin.org/27225021:47
beunoduffydack, wow, please file a bug about that21:51
duffydackbeuno, it took like 5-7 mins to get the url as well but thats the servers I guess21:51
duffydackI`m not very good at filing bug reports..  whats the link?21:53
clausenFirefox can't establish a connection to the server at localhost:5115122:03
clausenI suppose this means I disabled a daemon somewhere...22:04
clausenany ideas?22:04
clausen(I get this while trying to sign into ubuntu one)22:04
donpdonp 'Connecting you to the Ubuntu One Music Store...'  sits there forever. no 'back' button either. sigh.22:17
clausenyeah, me too22:19
donpdonpim trying to support ubuntu and at the same time save $1 from the amazon mp3 store :)22:19
clausenhave you got an ubuntu one account?22:20
donpdonpyup22:21
donpdonprebooted rhythmbox, and the purchase step is working now22:22
rotten7772010-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
clausenah, you got it?22:23
rotten777Why do I keep getting that over and over and over and over in my syncdaemon log?22:23
donpdonpselect 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.22:23
=== cpg is now known as cpg|brb
=== n is now known as Guest93095
qhdevon43hey guys23:19
qhdevon43so the ubuntu one is down right?23:19
mkarnickianybody here to know the oauth u1 authorize URL? is it one.ubuntu.com? or one.ubuntu.com/auth ? (.com/auth/login ? )23:27
rotten777mkarnicki, https://one.ubuntu.com/account/ ?23:30
mkarnickirotten777: you know what I'm asking about, right? :) I mean, if you're just guessing you rather got it wrong.23:31
mkarnickiit doesn't look like oauth url ;)23:31
rotten777https://login.ubuntu.com/+login23:33
mkarnickirotten777: really :D ? how did you know that!? :)23:35
mkarnickiouu.. wait23:35
mkarnickirotten777: 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/login23:36
mkarnickiI'll check that out, when I have the functionality implemented.23:36
rotten777what are you looking for23:36
mkarnickiif it's wrong, I'll pop the question again23:36
rotten777the machine adding url?23:36
mkarnickirotten777: you know what is OAuth, right?23:36
mkarnickirotten777: no ;)23:36
rotten777yes no clue haha23:37
mkarnickiI'm looking for a URL to make a RESTful HTTPs request to authorize against U1 server with OAuth ;)23:37
mkarnicki:)23:37
mkarnickiI'm guessing it may be one.ubuntu.com/auth . we'll see. it won't work, if I'll get it wrong :D23:38
rotten777gl23:38
mkarnickirotten777: 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=25o0b2aEw0E23:38
mkarnickirotten777: thanks :)23:38
=== cpg|brb is now known as cpg

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!