[00:22] Is there a simple tutorial for using the popover element? [00:41] iBelieve: ? [00:41] you needed that oauth right? [00:41] i think i got it, just need to implement [00:41] shouldnt be hard [00:49] All I need is a quick and dirty popup [00:49] Nothing fancy. Just text [00:51] a popup or a dialog? [00:51] normally there's a good example of both in the showcase [00:51] tryagain: ? [00:53] tryagain: http://pastebin.ubuntu.com/6015991/ === _salem is now known as salem_ [01:07] GuidoPallemans: the only examples I can find are just code snippets, with no indication of how to run them [01:07] do you have the ubuntu showcase? [01:08] you can run it as an app if you have the sdk [01:08] I don't think so [01:08] Oh the sdk? [01:08] just press start + showcase [01:08] How do I run it as an app then? [01:08] its also in the qycreator menu [01:08] its also in the qtcreator menu [01:08] ctrl shift s [01:08] or [01:08] start + showcase doesn't bring anything up [01:08] tools [01:08] try gallery in the dash [01:09] Oh snap [01:09] in qtcreator: ctrl shift s, or tools > ubuntu touch > ubuntu touch showcase gallery [01:09] if you open it in qtcreater it opens the code too, but thats the same code as i posted [01:10] tryagain: you didnt know about the gallery yet? [01:11] Oops, accidentally messed up the chat window somehow [01:11] Thank you GuidoPallemans [01:11] np [01:12] It really seems like there should be something similar to the javascript "alert" [01:14] there is [01:14] dialog [01:14] you will be blown away [01:15] tryagain_: i heard you can also put other content in there than just buttons and text, but I havent tried it yet [01:21] I'll take a look, thank you so much! [01:28] Actually, GuidoPallemans, the design guidelines for the Dialog widget say that it should be used when the user needs to make a decision [01:28] I'm just trying to present information [01:28] Whoops [02:07] How do I use OAuth from an Ubuntu Touch app? | http://askubuntu.com/q/336069 [02:14] What's the command in the SDK to upload my code up to launchpad? [02:16] Nevermind, found it. It's "push", but I had to specify the remote url as "lp:" [03:47] How to use Arguments in QML without getting qmlscene arguments | http://askubuntu.com/q/336083 === salem_ is now known as _salem [07:00] good morning [07:48] morning [07:48] can someone check why ci for sudoku isn't working [07:48] is jenkins still down? [08:40] hi === gusch is now known as gusch|brb [09:10] app news: Memories 0.1 released http://mefrio.wordpress.com/2013/08/23/memories-updates-first-pre-release-version/ let's test and report issues/suggestions :) [09:22] mefrio ping ping ping [09:22] randomcpp, pong pong pong === gusch|brb is now known as gusch === chriadam is now known as chriadam|away [10:23] iBelieve, hey, how are you? === gusch is now known as gusch|lunch [10:41] hrm that's a curious bug. would anyone here have an idea what this is about? https://bugs.launchpad.net/u1db-qt/+bug/1215831 [10:41] Launchpad bug 1215831 in U1DB Qt/ QML "No documentation that only one element on first level is supported" [Undecided,Incomplete] [10:42] there's definitely no assumption about what documents look like by design - I'm wondering why one would think so === rpadovani is now known as WebbyIT [11:05] Can anyone here make some recommendations on QML app code layout? [11:05] Specifically, I have an app that has three tabs that each have the same toolbar and display options, but show different data. What is the best way to structure the code to share said functionality? [11:13] Josh015: so by what you say, the UI is same with the only difference being the data that it displays? [11:14] Josh015: in that case I would recommend putting that whole UI stuff inside its own component in a new file. When you create a new tab, in that you can call the common component and ask them to display the unique data respective to that tab. [11:14] this way you define the UI code only once === MacSlow is now known as MacSlow|lunch [11:46] kalikiana: no idea what his "strange behavior" is, I have a lot more than 1 element at the first level [20-ish i think] [11:50] randomcpp: just saw your link towards the new c++ plugin. Nice work! I havent tried running them yet, but I rather wait for it to merge into master first before doing so [11:51] randomcpp: I guess now you can start on the online API to store images and other stuff in its directory === gusch|lunch is now known as gusch === MacSlow|lunch is now known as MacSlow === _salem is now known as salem_ [12:44] If I install a click package in 13.10 on the desktop, should it show up in the dash? Cause it doesn't for me. [13:14] labsin, in unity7 there's no click apps scope [13:15] tnkx, then i'll add debian packaging. [13:15] can I exclude specific files and folders when building click packages from the command? [13:21] iBelieve: ping [13:21] GuidoPallemans, pong [13:21] hey [13:21] i think i have got oath to work in an app [13:22] ill put it in a pastebin, and then ill tell the issues i still have [13:22] GuidoPallemans, great! [13:22] http://pastebin.ubuntu.com/6017705/ [13:22] so that is for a GitHub app I'm making [13:23] there's still a lot of logging obviously [13:23] GuidoPallemans, cool! I think I found another way also, using a JavaScript library. [13:23] but the main thing is that this page should be pushed to the pagestack, then you get to login on the server, which sends you back to the callback url [13:24] aha where? [13:24] GuidoPallemans, I asked on AskUbuntu and nik90 posted it on Google+ - https://plus.google.com/u/0/113051860352311525753/posts/bQ3pvA4wMgC?cfem=1 [13:25] but he says it can be done with only xmlhttprequest? [13:25] that's a bit weird [13:26] the user should see what resources this application needs from the specific server, and then push a button [13:26] then, the server sends the user to the callback url, with in a get statement the token [13:27] I don't think there's a way of doing that in pure js, you need some html, as the user needs to see these resources [13:29] iBelieve the issue I still have is that I can't log out for some reason [13:29] GuidoPallemans, yeah, that is interesting. For now I guess I'll try your method. [13:29] i signed in once, and now I can't test the flow anymore :D [13:29] GuidoPallemans, what do you mean log out? [13:30] or log in for that matter [13:30] i push the page in my pagestack, and then the server directly redirects me [13:30] but I keep getting new Oauth tokens, so I guess it's ok [13:31] btw, notify me if you find any other problems with my method, so I can correct them too :D [13:31] GuidoPallemans, oh, I will [13:31] thanks [13:31] Hi [13:32] hi [13:33] When I'm developing Qt app with Ubuntu as target OS, are there any hints available how to integrate my app with Ubuntu tightly? [13:40] a qml qt app? [13:40] or just qt? [13:48] iBelieve: that algorithm isn't complete yet [13:48] i forgot one step [13:48] (ping back pls) [13:54] iBelieve: ping [13:54] GuidoPallemans, pong [13:54] ah [13:54] you read the above? [13:54] GuidoPallemans, now I did :) [13:54] ah [13:55] so the webpage.token isnt really the oauth token [13:55] you still need to do one xmlhttprequest after that [13:55] but i'm stuck there [13:56] GuidoPallemans, well, I'm still trying to figure out how OAuth works in the first place :) [13:56] oh [13:56] i watched a really nice video on that yesterday [13:57] didnt know how it worked yesterday either [13:57] https://www.youtube.com/watch?v=YLHyeSuBspI [13:57] its an hour long, but you should only watch until (and including) the client-side part [13:58] about 17 mins [13:58] GuidoPallemans, thanks for the link [13:58] GuidoPallemans, so you said it isn't reallly the oauth token. Is it the code to get your oauth token and then you need to do a post? [13:58] GuidoPallemans, step 2 on the GitHub site? [13:59] you need to post that code [13:59] indeed [13:59] now im trying to make my callback uri the code page [13:59] i think its possible to do it all in one step [14:00] if i replace that zen page by ttps://github.com/login/oauth/access_token [14:00] GuidoPallemans, Try this to do the post: http://pastebin.ubuntu.com/6017833/ [14:00] hmm [14:01] but what should i put in the callback parameter? [14:02] GuidoPallemans, a function to call when the POST is completed [14:02] the post should be the last thing to do [14:02] GuidoPallemans, for example post("", function(response) {print(response)}) [14:03] ah yes now i see [14:03] that function makes the post [14:03] im gonna keep that open [14:03] but im gonna try my all-in-one step first [14:16] hi how can i use java in QT? [14:16] om26er: would you mind enabling autopilot on CI for lp:messaging-app? [14:17] boiko, sure [14:17] boiko, what about daily release? is the packaging already reviewed ? [14:17] om26er: nope, not yet, I have to review that [14:20] om26er: and again the autopilot failed for the calculator app, https://code.launchpad.net/~boiko/ubuntu-calculator-app/fix_autopilot_tests/+merge/181596 [14:20] iBelieve: ? [14:21] i get sent to https://api.github.com/zen?error=redirect_uri_mismatch [14:21] when i try to connect to https://github.com/login/oauth/authorize?client_id=5b8705dc0775845bd721&scope=user,repo,notifications,gist&redirect_uri=%22https://github.com/login/oauth/access_token?client_secret=1b5826605af32b20414a1f6909090b239ac3c3fb&redirect_uri=https://api.github.com/zen%22 [14:21] probably because I'm not correctly passing the first redirect url [14:21] uri* [14:21] %22https://github.com/login/oauth/access_token?client_secret=1b5826605af32b20414a1f6909090b239ac3c3fb&redirect_uri=https://api.github.com/zen%22 [14:22] boiko, right, a few hours ago when the mediumtests where failing I tried to run them on my laptop and they ran fine, so the problem is I believe in the jenkins setup [14:22] ah, need urlencode [14:23] om26er: can you help with that or is this something only fginther can solve? [14:24] boiko, yeah, this is fginther's thing. I already pinged him [14:24] om26er: thanks! [14:28] GuidoPallemans, yes? [14:28] ah no, i'm still having the last problem :D [14:31] nik90_: you around for calculator meeting? We're over-running a bit with RSS reader [14:34] dpm: joining the calculator design meeting? [14:37] boiko: I'll be there in a bit, still on rss call [14:37] boiko, I wasn't planning to today, but if popey can't make it, I can join [14:38] be there in ~5m [14:39] popey: thanks [14:40] nik90_: sorry, brain fart [14:53] iBelieve: I found a way to test the logging-in, just revoke the app, so that the user has to accept the authorization again [14:54] I'm now going to try your function, as I keep getting reffered to https://api.github.com/zen?error=redirect_uri_mismatch [14:55] GuidoPallemans, cool, glad you're figuring out how to do it. For now I'm skipping OAuth, and just using the form that opens and the user clicks accept and then has to copy a token back to my app. Not pretty, but a working temporary solution [14:56] yeah, I should do that too :D, but beware the rate limits [15:00] GuidoPallemans, don't know if Trello has rate limits. They don't seem to have docs about restrictions/legal stuff at all === WebbyIT is now known as op === op is now known as WebbyIT [15:28] iBelieve: I FUCKING HAVE IT! [15:32] GuidoPallemans, glad to here that you got it to work [15:32] ** hear [15:33] ill paste it [15:33] http://pastebin.ubuntu.com/6018190/ [15:34] GuidoPallemans, thanks [15:34] can you do something with that? [15:36] GuidoPallemans, don't know. The Trello docs mention three different URLs, a request, access, and authorize URL [15:36] the zen url can be anything === dholbach__ is now known as dholbach [15:37] but youll probably need the seperate authorize and access_token pages [15:50] hello everyone, I want to know something ubuntu sdk qml extensions library [15:52] create a sample project with ubuntu sdk qml extensions library, when run it ,it will a dialog popsup, how to use it [15:57] I want to use Ubuntu for developing my application - pl help | http://askubuntu.com/q/336306 [15:59] skyitachi: someone explained it pretty well in this blog post: http://rschroll.github.io/beru/2013/08/14/reading-files-with-a-c%2B%2B-plugin-in-qml.html [16:04] any ubuntu-calculator-app developer around ? === jounih_ is now known as jounih [18:09] Chocanto: ping [18:11] nik90: pong [18:12] Chocanto: I almost finished my read c++ plugin [18:12] Chocanto: how do I test it? [18:12] Chocanto: I did qmake and make and now have .so file [18:13] I copied that file into the clock-app folder [18:13] but when I run it, it says unable to find plugin [18:13] nik90: You can do a sudo make install :) [18:13] Chocanto: would that copy the .so file to the correct place? [18:13] or any other files? [18:13] yes, the .so [18:13] and the qmldir [18:14] do you know where it will copy it to? [18:14] in something like org/docviewer/file [18:14] ah [18:14] Chocanto: btw i replied to your MP [18:14] and also proposed my own [18:14] will test and see if it works [18:14] yes I saw :) I will test it ! Thank you [18:15] Chocanto: its still very basic, but it is a start :) [18:16] nik90_: Every project need a simple start ! :) [18:16] :) [18:17] nik90_: I read something about click package end reading files on g+ [18:17] nik90_: DO you think the new permissions system will be a problem ? [18:18] Chocanto: It depends. As long as it is in the same folder as the app, it should be fine [18:18] Chocanto: outside files however will be restricted [18:18] Chocanto: for the core apps it should not be an issue [18:18] Chocanto: if it is, then we can get them resolved [18:19] Chocanto: so I did sudo make install, and it copies them into the right directory. [18:19] Chocanto: on running I get "module "org.docviewer.file" plugin "DocviewerFile" not found" [18:19] Chocanto: i imported it using import org.docviewer.file 1.0 [18:20] nik90_: Hum... you moved the .so before doing make install ? [18:20] Chocanto: no, it moved it automatically [18:21] Chocanto: in that org/docviewer/file folder, I see the .so and qmldir files [18:22] nik90_: /usr/lib/i386-linux-gnu/qt5/qml/org/docviewer/file [18:22] ? [18:22] Chocanto: yes [18:22] nik90_: Wait, I'm checking how I used it [18:24] nik90_: How your .so is named ? [18:25] nik90_: And in which branch are you working ? [18:25] Chocanto: it is called libfilePlugin.so [18:25] Chocanto: the main branch lp:file-qml-plugin [18:25] nik90_: Only the one I proposed for merging work [18:25] are there any other branches [18:25] oh [18:26] nik90_: Yes, before modification it wasn't working [18:27] Chocanto: will copy your modification to my branch [18:28] nik90_: Do a simple merge with your branch, it should work fine [18:29] nik90_: And I was thinking about the name problem [18:30] Chocanto: why did you name it filePlugin in the qmldir? [18:30] nik90_: Maybe we can do something like a unique File object and in this object other objects like Metadata, Reader and Writer [18:30] I thought your class was file [18:30] or is that a convention [18:30] nik90_: The qmldir is looking for the .so name, not the class :) [18:31] nik90_: That's why you had the error that Qt could not find your module [18:31] ah [18:31] Chocanto: so it doesnt matter how many classes are there (metadata, filereader) [18:31] it still is called filePlugin [18:32] nik90_: You have one plugin, but many objects created by this plugin [18:32] Chocanto: ah yes. Nice I am beginning to get a hang of this :) [18:32] nik90_: I think you can created multiple modules in one plugin but I don't tried this [18:32] -d [18:33] create plugin with Qt is not easy ^^ [18:34] Chocanto: It works! And even better my read class also works :) [18:34] Chocanto: thnx man! [18:34] nik90_: Good ! :D [18:34] nik90_: I did the edit you ask for [18:34] * nik90_ is checking now [18:34] nik90_: I didn't send it, wait ^^ [18:35] let me know when you push it [18:35] nik90_: But I don't changed the name [18:35] nik90_: I get it temporary, I think it will be better to do like the Ubuntu SDK so [18:35] *do [18:35] How does the ubuntu sdk do it? [18:36] nik90_: A big object (File) and sub-object inside (Metadata, Reader, Writer) [18:36] In the file object you have the metadata object, is's more logic [18:36] Chocanto: oh okay [18:36] Chocanto: but right now we have 2 objects right? [18:36] nik90_: I don't really know how to implement it but.. anyway [18:37] nik90_: Yes :) [18:37] nik90_: We have File (I can rename in FileMetadata) and FileReader [18:37] Chocanto: In that case, let's merge our stuff after all the corrections and whatever, and then figure out how to do that :) === om26er is now known as om26er|afk [18:40] nik90_: Yes, I pushed :) [18:40] nik90_: I have to go, I will merge your stuff later if you want [18:40] me too..going for dinner [18:40] talk 2 u later [18:40] bye [18:41] nik90_: bye === om26er|afk is now known as om26er [21:34] Is there no way for a drop shadow on a rectangle to inherit the corner radius of the source rectangle? [21:39] nevermind. I suspect it is, but my container is cutting it off === salem_ is now known as _salem