/srv/irclogs.ubuntu.com/2013/08/28/#ubuntu-uds-appdev-2.txt

=== udsbotu changed the topic of #ubuntu-uds-appdev-2 to: Currently no events are active in this room - http://summit.ubuntu.com/uds-1308/appdev-2/ - http://irclogs.ubuntu.com/2013/08/28/%23ubuntu-uds-appdev-2.html
=== fecub is now known as [fecub]
=== _salem is now known as salem_
=== johnny is now known as Guest72203
=== udsbotu changed the topic of #ubuntu-uds-appdev-2 to: Track: App Development | User Agent String selection for Ubuntu Browser | Url: http://summit.ubuntu.com/uds-1308/meeting/21862/appdev-1308-browser-user-agent/
dpmhttp://pad.ubuntu.com/uds-1308-appdev-1308-browser-user-agent14:07
dpmto contribute to the notes ^14:07
dpmTo join the hangout:14:07
dpmhttps://plus.google.com/hangouts/_/d8167589cab8d28cde7de9fdfbd8fc301d66207214:07
rickspencer3QUESTION: can you please use facebook as an example of how the problem will be fixed?14:11
rickspencer3dpm, maybe I can join to ask some questions?14:12
dpmrickspencer3, sure -> https://plus.google.com/hangouts/_/d8167589cab8d28cde7de9fdfbd8fc301d66207214:12
bfillerrickspencer3: Mozilla/5.0 (Ubuntu; $formFactor) WebKit/$webkitVersion14:14
bfillerrickspencer3: Mozilla/5.0 (Ubuntu; Mobile) WebKit/537.2114:15
bfillerrickspencer3: for reference, here is the iPhone string we were using "Mozilla/5.0 (iPhone; CPU iPhone OS 5_0 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A334 Safari/7534.48.314:16
bfillerhere is the file on the phone where overrides can be added: /usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Extras/Browser/ua-overrides.js14:20
bfillerrickspencer3: ^^14:20
alex_abreubfiller, except that it's going to be blink underneath ... which departted from webkit14:41
bfilleralex_abreu: right, good point14:42
dpmAny questions on IRC?14:55
=== udsbotu changed the topic of #ubuntu-uds-appdev-2 to: Track: App Development | Music app streaming | Url: http://summit.ubuntu.com/uds-1308/meeting/21913/appdev-1308-music-app-streaming/
popey\o/15:01
dpmhttp://pad.ubuntu.com/uds-1308-appdev-1308-music-app-streaming15:05
* karni will soon join discussion on IRC (still in a meeting, sry)15:06
dpmhttp://pad.ubuntu.com/uds-1308-appdev-1308-music-app-streaming15:08
karniHi all. Lil bit late to the party.15:09
dobeywell, for 6 months15:12
karniQUESTION: Do we still use phone creds to stream, or has OAuth been implemented for the stream endpoint already?15:13
karniQUESTION: If I recall correctly, there was another problem with the API, playlists did not persist order. Unless we've fixed that, we can expect developers start complaining :)15:14
karniOther than that, v2 music API is fantastic.15:14
dobeykarni: i think it will have to support oauth, if it doesn't already. i think that's a question for beuno to answer/fix15:14
karniIt's been a while I worked on that. Maybe we even enabled oauth sining, but had some CSRF problem there.15:15
karni(for the stream endpoint)15:15
dobeywell, not exactly that15:16
karniFor those Java inclined, looking for API v2 usage (it is _not_ a complete app), bzr branch lp:ubuntuone-android-music/v215:17
dobeyralsina no aqui!15:17
karnidobey: What do you mean by not exactly that? You poked the stream endpoint?15:18
dobeykarni: i mean, not exactly online-accounts API for doing the auth15:18
dobeywe have a qml component that makes it much easier to use u1 than using the online-accounts and doing everything yourself15:18
karnisweet15:19
dobeybut some of that may change in the future15:19
dobeyralsina: you can use *our* qml component to get the token and sign th url15:20
dobeydpm: ^^15:20
dobeywe don't have a component for music streaming15:20
dobeyjust for credentials15:20
dobeydpm: that was for credentials15:20
mmccit should be usable but we need to test it after the UOA changes15:21
dobeyyes15:21
karniNow that I think of it, I *think* oauth may have been already enabled for the stream endpoint. In fact, the v2 app version for Android does stream (and I doubt I ever implemented phone creds there)15:21
dobeywe don't need to do it in JS15:22
karnidpm: ralsina: This? https://one.ubuntu.com/developer/music/stream_music/cloud15:22
dpmthanks dobey15:23
dpmdobey, if you want to join https://plus.google.com/hangouts/_/c119a99cc72b3dc2594059f5d841fe232b4744a315:24
dpm(or anyone else)15:24
mmccthe ubuntuone-credentials library uses UOA.15:27
mmccand the ubuntuone-credentials library provides a convenience function to sign urls, so app devs shouldn't have to do the oauth signing logic themselves. (that's the part that hasn't been tested yet)15:28
dobeywell, google+ is broken or something, so i can't join15:28
karnimmcc: neat15:28
dobeydpm: friends15:30
dobeythe twitter/facebook/google oauth stuff is a bit different than how u1 works though15:30
dobeyyeah, there are service-type descriptions in online-accounts15:32
ralsinadobey: what are the packages that will integrate it into UOA?15:32
dpmdobey, which packages do developers need to install?15:32
dobeyaccount-plugin-ubuntuone will be the package name15:33
dobeyit's already in ppa:ubuntuone/nightlies15:33
dobeyit's for any service on ubuntuone15:35
dobeyit's for buying apps, music streaming, file sync, etc15:35
dobeythis is *only* for credentials/authentication15:36
dobeyAPI access is per-application15:36
dobeywe could theoretically make qml components for different API endpoints, but we have no plans to do so15:36
dobeyi think file upload/download would be higher on that list, as it would be more useful across more applications, though15:37
dobeywe'll just have caching as we do on the ios/android music apps15:38
karniseeking is application side feature. server does support range requests IIRC.15:41
dobeythe lag with vuds can be annoying sometimes :)15:41
karniyes15:42
dobeydpm: the component we currently have doesn't do anything related to any u1 services. it is only for authentication15:42
dobeydpm: if we have components for the u1 services, they will be different components15:42
karni-ish , yeah :D!15:42
mmccthe app could "just" use the REST file APIs, but it runs into a lot of work15:43
dpmdobey, I mean the U1 SDK component15:43
dpmthe one kalikiana is developing15:43
dobeydpm: you mean the u1db component?15:43
dpmsorry, yeah15:43
dobeythat is only u1db :)15:43
dobeywhich is separate from file sync or music streaming15:43
dobeyand i don't know if the u1db component does syncing to the u1 server yet (given that we've only just got the credentials stuff really working for touch)15:44
kalikianadpm: I'm available if you give me a url to join15:46
karniQuestion is - is playlist order persisted. That was a long standing bug that we had in v2.15:47
ralsinadpm indeed playlists are some sort of json-formatted thing15:47
dobeyi think playlists are just json15:47
karniYes, JSON. The API is neat, but with the bug I mentioned..15:47
dobeykarni: yes yes, there may be bugs15:48
ralsinakarni: I don't know if that's fixed, but agreed that always-shuffle playlists are broken ;-)15:48
karnidobey: Not that many, I found v2 to be really good.15:48
dobeykarni: but bugs are irrelevant if you can't get the playlists in the app to see them :)15:48
karniralsina: hahah15:48
dpmkalikiana, oh, thanks, we just wrapped up the session. I didn't have a clear understanding between what the u1db componend did and the u1 online accounts plugin, but dobey clarified. What's the status of syncing in the u1db component?15:48
karnidobey: I think *playlists* are irrelevant if they don't persist order :D15:48
dobeykarni: write an app and see if they do :)15:48
karnidobey: I already did, and they didn't. That's why I didn't implement them in v2 music android app in the first place.15:49
karniI'm rather sure the bug is filed, lemme find it.15:49
dobeykarni: but complaining about it here isn't helpful to the rest of the session i think :)15:49
dobeythough the session is done now i guess15:49
karnidobey: I thought we're discussing, no intention of "complaining". Talk to my manager, and I'll happily fix it myself haha ;D15:49
kalikianadpm: ah, okay. Sync is working - except for authentication, so in practise it can only used with a server that doesn't require a login right now15:50
dobeykarni: :)15:50
dpmdobey, so could kalikiana's u1db component use the u1 online accounts to do authentication? ^15:50
dpmu1 online accounts *plugin, I meant15:51
karnidobey: You see? The positive outcome is that I didn't find the bug. Maybe the team wasn't even aware :)15:51
karnimmcc: Have you tried v2 playlists API?15:51
karnimmcc: I mean, v2 music API playlists part15:51
dobeydpm: yes15:51
dpmkalikiana, there you go, authentication solved ;) ^15:51
mmcckarni: not really. I skimmed the code to use it when Paul left, but that was months ago.15:52
dobeydpm: though, i think it's probably best to have that be a per-app thing, rather than part of the u1db component directly (depending on how it's done015:52
karnimmcc: ack15:52
dobeydpm, kalikiana: for example, the python and C implementations of u1db just have the application pass in the oauth credentials to the sync API, rather than always grabbing the u1 token. so it can easily sync with any server15:53
kalikianadobey: dpm I've been talking to mmcc actually about this not long ago. at the time the QML API was in-progress. I don't actually know what's the current state there - we need to follow up on this15:57
=== udsbotu changed the topic of #ubuntu-uds-appdev-2 to: Track: App Development | Music app designs showcase | Url: http://summit.ubuntu.com/uds-1308/meeting/21922/appdev-1308-design-review-music/
dobeykalikiana: ok16:01
GuidoPallemansvideo isnt up yet16:04
dpmhttps://plus.google.com/hangouts/_/298ba620199845622ee30f255874d6ae8939d46716:09
dpmhttp://pad.ubuntu.com/uds-1308-appdev-1308-design-review-music16:09
mihirsonihey16:12
dpmany questions on IRC?16:18
GuidoPallemansyeah, what will this all look like on a tablet, or on desktop - convergence?16:18
dobeyi think that's still to be fully designed, and phone is priority for the designs at the moment16:19
dpmany other questions on IRC?16:22
micah2Question: I saw something about working with different streaming services in the music-app (like U1), is the vision to include services like Rdio and Pandora in the music app?16:22
micah2I'm currently working on a Pandora client FYI, and would be willing to get Pandora support built into the music app16:23
dpmmicah2, cool, feel free to contact me if you'd like to participate :)16:25
micah2I've been in touch with the guys doing the music app :)16:25
dobeyis the session wrapped up?16:29
micah2yes, they finished early16:33
dobeyah. youtube just went to an error thing for me. :-/16:36
dobeyah well16:36
=== alex_abreu is now known as alex-abreu
=== magicluriv is now known as luriv
=== udsbotu changed the topic of #ubuntu-uds-appdev-2 to: Currently no events are active in this room - http://summit.ubuntu.com/uds-1308/appdev-2/ - http://irclogs.ubuntu.com/2013/08/28/%23ubuntu-uds-appdev-2.html
=== bfiller is now known as bfiller_
=== bfiller_ is now known as bfiller
=== udsbotu changed the topic of #ubuntu-uds-appdev-2 to: Track: App Development | MMS support in Ubuntu Touch | Url: http://summit.ubuntu.com/uds-1308/meeting/21863/appdev-1308-telephony-mms/
dpmhttps://plus.google.com/hangouts/_/a9cef40354cee3425eb0ff2336dbf01443e38be918:07
salem_https://wiki.ubuntu.com/Touch/Specs/MMSInfrastructure18:08
dpmAnd to contribute to the notes: http://pad.ubuntu.com/uds-1308-appdev-1308-telephony-mms18:08
=== udsbotu changed the topic of #ubuntu-uds-appdev-2 to: Track: App Development | Opening up Ubuntu.Components.Extras to community contributions | Url: http://summit.ubuntu.com/uds-1308/meeting/21918/appdev-1308-ubuntu-components-extras-community-contributions/
dpmhttps://plus.google.com/hangouts/_/b8103f0be0f574ca249d170d006068de612c8aa219:02
GuidoPallemansits up19:02
dpmhttp://pad.ubuntu.com/uds-1308-appdev-1308-ubuntu-components-extras-community-contributions19:02
=== Leon is now known as Guest12344
GuidoPallemanshttps://github.com/iBeliever/ubuntu-ui-extras/ dont know if you've seen it, the sidebar is in there and everybody uses it19:08
mojo706that explanation on github was pretty good. I didn't quite understand how to use the etras19:19
GuidoPallemansI haven't used the install steps though19:22
GuidoPallemansyup19:26
GuidoPallemansive used the sidebar too19:26
GuidoPallemansand I've found a JSONListModel19:26
GuidoPallemanswhich I extended a bit too19:26
GuidoPallemansQt only gives an xml listmodel, but most apis are JSON19:27
GuidoPallemansand maybe an ubuntu flipable?19:27
GuidoPallemansand maybe a Page that only has a webview in it19:28
GuidoPallemansill post the link of where i found the listmodel, then il make a gist of what I have19:30
GuidoPallemansthere is a Flipable component in the qt api19:31
GuidoPallemansit has a front side and a back side19:31
GuidoPallemansyou put some rectangles in that19:31
GuidoPallemansthe actual code for making such an element is pretty big, but I believe it's worth it to make it a seperate component19:32
kalikianayou're talking about http://qt-project.org/doc/qt-5.0/qtquick/qml-qtquick2-flipable.html right?19:32
GuidoPallemanswhich then also has a ubuntunumberanimation as speed19:32
GuidoPallemansyup19:33
GuidoPallemansoh yeah you have to specify the axis on which it turns19:33
GuidoPallemansan x y z vector19:33
GuidoPallemanshttp://pastebin.ubuntu.com/6037781/19:35
GuidoPallemanshttps://github.com/kromain/qml-utils19:36
GuidoPallemansand I added this function to the qml file:19:37
GuidoPallemanshttp://pastebin.ubuntu.com/6037787/19:38
GuidoPallemanssure, ill let you know19:41
dpmany other questions or comments on IRC?19:41
GuidoPallemansI think im the only one19:42
GuidoPallemanslagg seems to be down19:42
mojo706your not19:42
mojo706I'm just listening19:42
GuidoPallemansI believe you skipped a link19:42
GuidoPallemanshttps://github.com/kromain/qml-utils19:42
GuidoPallemansthat one is the jsonlistmode19:43
GuidoPallemansl19:43
GuidoPallemansyeah the delay goes down19:43
GuidoPallemansah no, it's in there :d19:43
dpmthanks kalikiana, GuidoPallemans, that was a good session19:44
GuidoPallemanscheers19:44
mojo706good bye19:44
=== udsbotu changed the topic of #ubuntu-uds-appdev-2 to: Currently no events are active in this room - http://summit.ubuntu.com/uds-1308/appdev-2/ - http://irclogs.ubuntu.com/2013/08/28/%23ubuntu-uds-appdev-2.html
=== salem_ is now known as _salem

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