/srv/irclogs.ubuntu.com/2013/08/26/#ubuntu-app-devel.txt

danielholmGuidoPallemans: nope, it doesnt. it instead gives me: decrypt(encrypt("testMessage", "testpass"), "testpass")00:00
danielholmdarn00:00
GuidoPallemanshuh?00:00
danielholm746573744d65737361676500:00
GuidoPallemansshow me a ubuntu paste of what you have00:00
danielholmpushing source to Launchpad00:02
danielholmright now00:02
danielholmGuidoPallemans: https://code.launchpad.net/~danielholm/+junk/passwordstorage00:03
danielholmyou are the first one to see it ;)00:03
GuidoPallemanshuh, did launchpad update its css?00:04
GuidoPallemansbtw : check out my app at gihub.com/brambram/githubclient ! :D00:04
danielholmGuidoPallemans: https://bazaar.launchpad.net/~danielholm/+junk/passwordstorage/view/head:/passwordstorage.qml#L5600:04
GuidoPallemansgithub*00:04
danielholmGuidoPallemans: ah, is that you. I actually took a look at that earlier today! looks promising!00:05
GuidoPallemansthanks :D00:05
danielholm:)00:05
GuidoPallemanshttps://bazaar.launchpad.net/~danielholm/+junk/passwordstorage/view/head:/aes-3.1.2.js ouch00:06
danielholmGuidoPallemans: you think thats the issue? :P I just gave up trying to look trhough that one00:07
GuidoPallemansno00:07
GuidoPallemansyou just copied the line I pasted00:07
GuidoPallemansit should have been AES.decrypt(AES.encrypt(".......00:07
danielholmyepp. but I got a function for that00:07
GuidoPallemanshuh00:08
danielholmhttps://bazaar.launchpad.net/~danielholm/+junk/passwordstorage/view/head:/passwordstorage.qml#L9500:08
danielholmand https://bazaar.launchpad.net/~danielholm/+junk/passwordstorage/view/head:/passwordstorage.qml#L10100:08
GuidoPallemansah ok00:09
GuidoPallemansand have you tried logging what encrypted is?00:10
danielholmGuidoPallemans: what?00:11
GuidoPallemansjust run it a couple of times and log what encrypt produces00:11
GuidoPallemanswith the same parameters00:11
danielholmah00:11
danielholmtrying00:11
GuidoPallemansif these differ, youre a step closer00:11
danielholmthey dont seem to differ00:11
GuidoPallemansand then you can replace the first var of decrypt by a string literal, and log that00:11
GuidoPallemansk00:12
GuidoPallemansand that string literal would be the result you just got more than once00:12
danielholmGuidoPallemans: actually they do!00:12
GuidoPallemanscan you give me the output?00:12
GuidoPallemanshttp://paste.ubuntu.com/00:13
danielholmhttp://paste.ubuntu.com/6026961/00:13
danielholmor http://paste.ubuntu.com/6026964/00:15
danielholmGuidoPallemans: wierd. sometimes nothing at all is printed00:15
GuidoPallemansim just gonna set up a qml project real quick00:15
danielholmGuidoPallemans: my battery is dying and I really have to go to sleep. I'm really thankful for your help, though00:16
GuidoPallemansk00:16
GuidoPallemansping me tomorrow if you like00:16
danielholmGuidoPallemans: thanks mate! take care00:16
danielholm:)00:17
GuidoPallemanscheers00:17
=== chriadam|away is now known as chriadam
dholbachgood morning07:05
Mirvraring (PPA) just received multiple little updates that I unlocked there, please report any anomalies (I've tested dist-upgrade + QtC basic usage, plus the diffs aren't big)07:38
nerochiarogusch: morning. do you know if any of the apps you manage are already using the new actions API ?08:37
guschnerochiaro: I don't think gallery uses any new action API08:39
nerochiarogusch: ok08:39
nerochiarogusch: i think https://code.launchpad.net/~amanzi-team/gallery-app/gallery-app-share-component is ready for review now that ubuntu-ui-extras is the daily image. i posted a few more commits to update it to the latest changes, should be good to go09:29
guschnerochiaro: ok - I have a look09:30
nerochiarogusch: same goes for https://code.launchpad.net/~amanzi-team/mediaplayer-app/mediaplayer-app-ubuntu-ui-extras-share/+merge/181271 but i guess that's not on your plate09:31
guschnerochiaro: I guess it's on no ones plate, so I'll just do it as well09:33
nerochiarogusch: thank you09:34
mihir_Good Morning :)09:36
=== chriadam is now known as chriadam|away
nerochiarotimp: Wellark: is there any documentation more updated than this one ? http://developer.ubuntu.com/api/devel/ubuntu-13.10/qml/ui-toolkit/qml-ubuntu-components0-action.html09:53
nerochiarofor actions09:54
nerochiaroWellark:  timp: (this one is from the conversation we had last week, but seems out of date09:54
nerochiaroWellark:  timp: also with the latest image i'm having problems with the hud, it shows no actions at all. is that a known problem ? it was like that even last week09:55
guschnerochiaro: added a comment for gallery10:18
nerochiarogusch: looking10:18
mihir__dpm: Hi :)10:25
nerochiaroWellark: timp: ping10:38
randomcppany regexp expert here?10:59
randomcppjust have few question..11:00
GuidoPallemansnerochiaro: do you know a way to set up a mail in an app, like pressing a mailto: link?11:17
nerochiaroGuidoPallemans: i don't think we have anything set up for doing that, but I might be wrong11:18
GuidoPallemansi feel like this should be in the friends api, but kenvandine hasn't been online for some days now11:19
guschnerochiaro: I approved the media-app11:40
nerochiarogusch: excellent, thanks11:40
guschnerochiaro: waiting for jenkins to complete the last run, and see if the autopilot errors are "gone"11:43
nerochiarook11:43
nerochiarogusch: hmm, jenkins seems to be still unhappy11:55
guschnerochiaro: ok - looking into the test - there seems to be a problem ...11:58
guschnerochiaro: I guess I found it (although it's weired) - checking and running the tests ...12:01
wellsbIs there a bug where if I set the audio of one qtmultimedia audio item, other items might inherit that volume?  I'm not sure under what conditions this happens, but I have observed it12:08
guschnerochiaro: https://pastebin.canonical.com/96347/ that fixes the test (it seems autopilot changed it's behaviour?)12:11
nerochiarogusch: ok, do you want me to add that fix in the MR or do you want to do that in trunk and then i'll merge it ?12:31
guschnerochiaro: please go ahead12:35
nerochiarogusch: ok12:36
Josh015QUESTION: Going forward, are we supposed to be using Ubuntu's online account management system for all account info across services?13:16
Josh015QUESTION: Is there already a way to access said info in QML apps?13:17
dpmJosh015, yes and yes13:22
dpmmardy, do you think you could give Josh015 some pointers on using Online Accounts via QML apps? ^13:22
GuidoPallemansdholbach: will the weekly ubuntu update tomorrow be about the showdown, or will that be next week, or the week after that?13:23
dholbachGuidoPallemans, we should definitely have somebody who can talk a bit about the showdown :)13:24
GuidoPallemansokay13:24
GuidoPallemansI'm currently watching the previous one13:25
GuidoPallemansit's just that I go on vacation this friday, and I wondered if I could make everything for my showdown applications ready by then13:25
GuidoPallemansare the click packages ready to use?13:28
Alfawhi13:33
dpmGuidoPallemans, they're ready for testing, but I'd recommend to wait a bit until we announce the app store, which will happen very soon13:38
GuidoPallemansthis week still?13:38
dpmwe're just making sure we've got all the bits in place. Most probably, yes13:38
GuidoPallemansit kinda sucks the showdown ends while I'm away, is there anything I should bear in mind before leaving friday?13:39
mardyJosh015: hi! Sorry, was away13:45
mardyJosh015: yes, we have an API to access online accounts via QML, and that's the preferred way of accessing online services13:45
mardyJosh015: let me find the link...13:45
mardyJosh015: here's the reference documentation: http://developer.ubuntu.com/api/ubuntu-12.10/qml/online-accounts/qmlmodule-ubuntu-onlineaccounts0-ubuntu-onlineaccounts-0-1.html13:46
mardyJosh015: and a few examples: http://bazaar.launchpad.net/~online-accounts/accounts-qml-module/trunk/files/head:/examples/13:47
xqwztsGuidoPallemans: I'm off on vacation starting Thursday :P13:54
dpmthanks mardy13:55
xqwztsjust going to make a list of my incomplete features and known bugs, and click package it up13:55
dholbachGuidoPallemans, sorry - I just noticed - there won't be a weekly ubuntu update tomorrow - it's UDS time!14:19
dholbachnext week then14:19
dholbachsee the schedule for UDS: http://summit.ubuntu.com/uds-1308/14:19
dholbachand more info here: http://uds.ubuntu.com/14:19
=== marcoceppi__ is now known as marcoceppi
=== _salem is now known as salem_
mefriois there anybody who know how to fix this warning? http://pastebin.ubuntu.com/6029043/15:27
randomcppmefrio, have you tried turning off and turning on the pc again?15:33
mefriorandomcpp, sure15:33
randomcppmefrio, is the power adapter correctly plugged?15:34
mefriorandomcpp, are you kidding? xD15:34
randomcpplol15:34
=== iBeliever is now known as iBelieve
iBelievenik90, ping15:51
mefrioiBelieve, hi :)15:53
iBelievemefrio, hi15:53
mefrioiBelieve, any progresses on including the sidebar in ubuntu-toolkit-ui??15:53
iBelievemefrio, no, the bug I filed hasn't been looked at yet15:54
mefrioiBelieve, I think I will copy the file directly in my source tree so or I won't be able to build a package....15:55
=== boiko_ is now known as boiko
iBelievemefrio, the sidebar component is stable enough now so that will work fine, I don't plan on making any changes to it15:57
mefrioiBelieve, ok great15:57
nerochiarogusch: i fixed the autopilot tests in the gallery MR and also submitted two new ones. I think you might be the only one around who can take them: https://code.launchpad.net/~amanzi-team/notes-app/notes-app-new-actions-api/+merge/182133 and https://code.launchpad.net/~amanzi-team/mediaplayer-app/mediaplayer-app-new-actions-api/+merge/18214816:06
nerochiarogusch: this last one for mediaplayer will probably somehow conflict with the other MR to add share component support to mediaplayer16:06
guschnerochiaro: might take a bit, but I will look at them today16:07
nerochiarogusch: thanks16:07
nerochiarogusch: tomorrow is perfectly ok too16:07
GuidoPallemansiBelieve: what sidebar?16:08
nerochiarono big rush. the share component ones are the most important16:08
iBelieveGuidoPallemans, I wrote a sidebar component for use in convergent/adaptive layouts16:08
iBelieveGuidoPallemans, here it is: https://github.com/iBeliever/ubuntu-ui-extras/blob/master/Sidebar.qml16:09
GuidoPallemanswhoa, is it useable?16:09
iBelieveGuidoPallemans, yes, I'm hosting it in https://github.com/iBeliever/ubuntu-ui-extras/. It is licensed under the GPLv316:09
iBelieveGuidoPallemans, just copy the Sidebar.qml file into your own project. It is somewhat documented on how to use16:10
GuidoPallemansokay, thanks, I'll check it out16:10
iBelieveGuidoPallemans, it's the same sidebar used in the File Manager core app16:10
GuidoPallemanshuh16:10
GuidoPallemansk16:10
GuidoPallemansbut here's a tip:16:10
GuidoPallemansif you make a plugin, you better make a video with some example useages16:11
iBelieveGuidoPallemans, thanks, that would be a good idea.16:12
GuidoPallemanshow's your app going btw? what are you making?16:12
iBelieveGuidoPallemans, I'm making Ubuntu Tasks. It's coming along nicely, I finished local/Ubuntu One projects, now I'm working on Trello integration16:13
GuidoPallemansah, yes16:13
GuidoPallemansI should do some U1 integration too16:13
iBelieveGuidoPallemans, by the way, you might be interested in http://askubuntu.com/a/337346/109543 for GitHub login16:14
GuidoPallemansI got github login working, don't worry :D16:14
iBelieveGuidoPallemans, that's great. I was only suggesting trying that because it would be better integrated with Ubuntu and follow the way other apps handle login16:15
GuidoPallemansyeah, I'm reading it and thinking the same thing16:15
GuidoPallemansgot a lot of work to do16:16
GuidoPallemansI'm leaving on vacation friday16:16
iBelieveGuidoPallemans, I'm really looking forward to a nice GitHub app!16:17
GuidoPallemansthanks16:17
GuidoPallemansiBelieve: love your source code header :D16:35
iBelieveGuidoPallemans, thanks :)16:36
GuidoPallemansdoes anyone here know the height of a nexus 7 in units.gu() ?16:37
iBelieveGuidoPallemans, you don't need to manually set it. It will automatically be set.16:39
mefriowhat are the differences between deb packages and click packages?16:39
GuidoPallemansiBelieve: I was wondering if that sidebar would open on a nexus 7 in portrait mode16:40
iBelieveGuidoPallemans, ah, I don't know.16:40
hakermaniaIs there any way to get the default folder's name in Ubuntu?16:48
hakermaniaFor example, I can get the home directory path16:48
hakermaniaBut I want to also take the ~/Pictures folder directory16:48
hakermaniabut it isn't always named Pictures. It depends on the system language. On Greek it is Εικόνες16:49
hakermania(for example)16:49
randomcpphakermania, there are some method in qtc++ lib16:55
randomcppto retrieve those info16:55
hakermaniarandomcpp, thanks, I will have a look16:56
randomcppunfortunately qml doens't have those methods by default16:57
hakermaniarandomcpp, I am not looking for qml methods16:59
hakermaniaBy I could write a Qt plugin for qml :P17:00
nerochiarogusch: heading out, i'l have a look at any comments on these reviews tomorrow. thanks for taking a look17:02
guschnerochiaro: ok - have a nice evening17:02
hakermaniarandomcpp, Can you tell the exact name of the package that you're talking about? Synaptic doesn't come up with something17:02
nerochiarogusch: you too17:03
randomcpphttp://doc.qt.digia.com/4.6/qdesktopservices.html#StandardLocation-enum17:05
randomcpphakermania, ^^^17:05
randomcppsorry17:06
randomcpphttp://qt-project.org/doc/qt-5.0/qtcore/qstandardpaths.html17:06
randomcppthis one17:06
hakermaniarandomcpp, thanks a lot :)17:08
randomcpphakermania, np17:08
GuidoPallemansiBelieve: sidebar looks very clean17:14
GuidoPallemansiBelieve: may i suggest a columnsidebar.qml? I'll make a pull request if I got it17:18
iBelieveGuidoPallemans, that would be nice to have!17:19
GuidoPallemansput a vertical flickable in it that only flicks when it's too small17:20
hakermaniaIs anyone here developing using Qt 5 under 13.04? I have issues with getting icons from theme17:27
hakermaniaQt cannot see them17:27
hakermaniaAnd this strange thing happened: I set up fallbacks for the theme icons, so, if an icon doesn't exist into the theme, then the fallback will take its place.17:28
hakermaniaBut, I have updated the ppa and I installed it on a clean 13.04 installation and even the fallbacks are not shown!17:29
GuidoPallemansiBelieve: do your thing http://pastebin.ubuntu.com/6029485/17:29
hakermaniaCan someone test it? http://paste.ubuntu.com/5962435/17:29
GuidoPallemansiBelieve: I;m eating now17:29
GuidoPallemansiBelieve: have you checked that paste?18:13
iBelieveGuidoPallemans, what paste?18:14
GuidoPallemanshttp://pastebin.ubuntu.com/6029485/18:14
GuidoPallemansthe ubuntu.components shouldnt even be imported18:15
iBelieveGuidoPallemans, cool, thanks. What do you think about having just the Flickable? It seems like there would be uses for having a flickable but not a Column, and the Column is easy to add.18:16
GuidoPallemansthen you can add the flickable directly to the main Sidebar18:16
GuidoPallemansshouldnt be a seperate component18:16
randomcppkalikiana, have you made some progress on those problems? (delete docs and weird queries)18:21
om26erboiko, hey! https://code.launchpad.net/~om26er/phone-app/fix_failing_test/+merge/18218018:24
om26erread the branch description ;)18:25
boikoom26er: yeah, weird though :)18:27
boikoom26er: anyways, I will just wait for jenkins to run the tests before approving, if that's fine with you18:28
om26erboiko, yes, sure :)18:28
GuidoPallemansis it possible to have a global variable in qml? I want an object that is used multiple times, but a web request that gets an object for that object should only be done once18:40
GuidoPallemansargh, gonna do it through JS, never mind that one18:41
zangaroocan i use the source package to build the same binary from a ppa ? For example, https://launchpad.net/~cmiller/+archive/chromium-browser-stable-daily/+build/4906532, this package. If so, how would i learn to do it ?18:48
mefriokenvandine, ping19:40
boikoom26er: approved your MR, jenkins has just finished running CI on it20:29
om26erboiko, yeah francis had to re-enable CI for phone-app because it was disabled in the honor of the new split apps landing today20:30
boikoom26er: ah ok20:32
bigcalmHi :) Ubuntu Touch peeps sent me here -- I'm trying to get QtLocation working. But it's causing a segmentation fault on my desktop and the SDK says that my phone doesn't have the QtLocation module :(21:00
bigcalmHi :) tonight's image appears to be missing QtLocation (outpu of ctrl+f12 in the SDK): file:///home/phablet/dev_tmp/oelssi/components/LocationComponent.qml:2 module "QtLocation" is not installed21:22
AskUbuntuFade in or out a QML Audio file? | http://askubuntu.com/q/33765421:47
AskUbuntuHow do I detect the presence of a mouse or touchpad? | http://askubuntu.com/q/33766522:11
ahayzenjono, thanks for ur email :)22:25
jonoahayzen, :-)22:27
ahayzenjono, just responded so should be a pigeon flying ur way22:28
jonoahayzen, cool :-)22:28
jonothanks!22:28
jonoahayzen, I will follow up soon22:29
ahayzenjono, awesome :)22:35
AskUbuntuHow can I pin the toolbar so that it remains revealed? | http://askubuntu.com/q/33767522:35
=== salem_ is now known as _salem
randomcppnik90, ping22:44
randomcppor nik90_22:45
clepto1995can I use something like QStackedLayout for qml components?22:53
randomcppclepto1995, I don't so :/22:53
randomcppclepto1995, what's your use case?22:53
clepto1995randomcpp, lets say I have two ListViews22:54
clepto1995randomcpp, and I want to show one at a time22:54
clepto1995but in the same exactly spot22:54
clepto1995how to do it?22:54
randomcppput the two listview in the same page22:54
clepto1995randomcpp, and?22:54
randomcppListView { id: list1; visible: true } ListView {id: list2; visible: !list1.visible}22:55
randomcppnote the !22:55
randomcppif you hide the first listview the second shows up22:55
randomcppif you want to hide the second and show the first, just set the first visible22:56
randomcppthat's it22:56
clepto1995I tried what but it didn't work... wait to try againb22:57
randomcppstrange I just did the same (well, similar) thing with a column and a activity indicator22:58
AskUbuntuPlugin ubuntu Desktop | http://askubuntu.com/q/33767822:59
AskUbuntuHow can I anchor a component to the top of the toolbar? | http://askubuntu.com/q/33768222:59
clepto1995randomcpp, the items are inside a row and they don't appear in the same size23:07
clepto1995same position*23:07
clepto1995i tried with anchors but i get an error23:07
randomcppstrange, post your code23:08
clepto1995wait, the layout is broken now, damn23:09
clepto1995randomcpp, https://github.com/Clepto/cnotes-ubuntu-touch/blob/master/CNotes.qml#L20023:13
randomcppclepto1995, btw, do you anything about regex?23:14
randomcppXD23:14
clepto1995randomcpp, huh?23:14
randomcppnot related with your problem, I'm having some trouble with a regex23:14
clepto1995randomcpp, nothing, sorry Q(23:14
clepto1995:(23:14
GuidoPallemansanyone here know something about httprequests?23:15
randomcppGuidoPallemans, I do23:15
GuidoPallemansk23:15
GuidoPallemansI need to get json data from the github search api23:16
GuidoPallemansshouldnt be too hard, if you see this page: http://developer.github.com/v3/search/23:16
randomcppGuidoPallemans, do you have the token?23:16
GuidoPallemansyup23:16
clepto1995randomcpp, If you want to test it just run the app, open the toolbar and press archive... the listview will appear in the wrong posiition23:16
randomcppclepto1995, ok a sec23:17
GuidoPallemansi request the page https://api.github.com/search/repositories/?q=sad&access_token=23:18
GuidoPallemanswait, ill give my code23:18
GuidoPallemanshttp://pastebin.ubuntu.com/6030592/23:18
GuidoPallemansus the line xhr.setRequestHeader("Accept", "application/vnd.github.preview") correct?23:19
randomcppGuidoPallemans, yes https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest?redirectlocale=en-US&redirectslug=DOM%2FXMLHttpRequest#setRequestHeader%28%2923:20
GuidoPallemansalready went to that page23:20
GuidoPallemansbut what could be wrong? i get the following response:23:21
GuidoPallemans{"message":"Not Found"}23:21
randomcppclepto1995, i'm cloning your repo :)23:21
clepto1995randomcpp, waiting :)23:21
AskUbuntuHow does the Ubuntu SDK handle accessibility? | http://askubuntu.com/q/33768823:23
randomcppclepto1995, tips: you should put the *.user in .gitingore23:24
clepto1995οκ23:24
randomcpp:)23:24
GuidoPallemansrandomcpp: thanks anyway, solved the problem now23:24
randomcppclepto1995, where do I find this? '/home/random/Projects/cnotes-ubuntu-touch/DirParser/libdirparserplugin.so' is an invalid ELF object (wrong cpu architecture)23:25
clepto1995hakermania, ^23:25
clepto1995hakermania, its hakermania's23:25
hakermaniaMINE!23:26
clepto1995hakermania, compile it for 64bit23:26
clepto1995:P23:26
hakermaniaclepto1995, I cannot compile 64 in 32 bit. What's the problem?23:26
clepto1995hakermania, see above23:27
randomcppclepto1995, you should distribute the sources23:27
clepto1995hakermania, push them to your github or something23:27
randomcppnot the precompiled lib23:27
hakermaniaclepto1995, you already have the source. Make it available online so as to let anyone build it.23:29
clepto1995randomcpp, https://github.com/Clepto/dirParserPlugin23:39
randomcppclepto1995, thanks23:39
clepto1995randomcpp, any luck?23:52
randomcppclepto1995, sorry I'm diving in regex atm, if I reemerge I'll have a look I promise!23:53
clepto1995no problem23:53

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