/srv/irclogs.ubuntu.com/2013/11/21/#ubuntu-app-devel.txt

=== chriadam|away is now known as chriadam
=== _salem is now known as salem_
=== salem_ is now known as _salem
AskUbuntuUI designing question | http://askubuntu.com/q/38021207:31
JamesTaitGood morning all; happy Use Less Stuff Day! :-D09:45
nik90aquarius: Hey can you send me the link to the U1db code you used in Riddling?11:12
nik90aquarius: I just started thinking about implementing local storage for Cliffhanger.11:13
aquariusnik90, I can. I haven't published the code because it's got the answers in it :)11:13
nik90aquarius: I dont need the whole code, just the u1db initialisation part :)11:13
aquariusnik90, see http://pastebin.ubuntu.com/6452744/11:13
aquariusnik90, we create the database and two documents (one is a flag saying "have we shown the opening splash screen" and the other is the list of things they've answered) at line 3511:14
aquariusnik90, the splash screen is the Rectangle (id: thegame) at line 57. We decide whether or not it's visible depending on whether shownQuite.contents.shownQuote is true or not11:15
aquariusimportantly, to set that to true, we just set shownQuote.contents on line 7511:15
nik90aquarius: and the defaults is called only once when the document is missing11:16
aquariusso to implement this flag, we just create a document (line 39), we use a value from that document's contents (line 62) and we set that document's contents onClicked (line 75). Note that we did not have to call a "save" function or anything like that. It's all declarative.11:16
aquariusya, "defaults" is "if this document doesn't exist, and we've set to create it with create:true, then create it with the following contents"11:16
nik90aquarius: okay that makes sense11:17
nik90so I will have one document to store the username and the encrypted password11:17
nik90but by default it will be sample username and passowrd11:17
nik90and I just read the document.contents11:18
aquariusya11:18
aquariusin your text entry, just do text: userpassdoc.contents.username or whatever11:18
aquariusthe answers list is a little more complicated. You have to set all the contents of a U1db document at once; you can't set *part* of the contents only. (This is a very very irritating QML thing; it's not U1db's fault.) So if you have a list in your document, you can't just push things onto the list; you need to make a duplicate of the contents, edit the duplicate, then set contents to be the duplicate.11:19
aquariusthis post explains that in more detail: http://wordchainapp.tumblr.com/post/60178716314/using-u1db-to-store-data-in-word-chain11:19
nik90I read that blog post11:19
nik90btw how come u are not using ubuntu social sharing feature to tweet or facebook11:20
nik90I see u open an external url for that11:20
aquariuswhat, in riddling?11:20
nik90yeah11:20
aquariusbecause I don't understand the ubuntu social sharing thing :)11:20
nik90but ur solution is simple and does the job :D11:20
aquariusI need to, I just don't at the moment :)11:20
nik90Qt.openUrlExternally("https://www.facebook.com/sharer/sha...)11:21
aquariusindeed11:21
aquariusalso, Riddling will become a cross-platform HTML5 native app at some point, rather than QML.11:21
nik90ah okay11:21
nik90I am trying to stick to your reasoning of a JS+QML App for Cliffhanger11:22
aquariusif you're building an Ubuntu app then QML's a good idea11:22
aquariusand U1db is a really convenient way to store stuff :11:22
aquarius:)11:22
nik90:)11:22
aquariusbecause it's QMLish. QML LocalStorage is *not* QMLish at all. Constructing SQL statements in handlers is rubbish.11:22
nik90yeah I had a tough time using it for the clock app11:23
aquarius*nod* u1db, srsly.11:23
nik90I guess I need to transition clock app to u1db at some point11:23
aquariusand for apps that care, they can sync data too11:23
nik90so if I create a u1db document and database are they automatically synced?11:23
nik90or do I need to do anything special?11:24
aquariusno. U1db has to be synced explicitly11:24
aquariusyou call a sync function on it11:24
aquariuswhen stuff changes.11:24
aquariusor when the user hits refresh, etc11:24
nik90http://bazaar.launchpad.net/~uonedb-qt/u1db-qt/trunk/view/head:/examples/u1db-qt-example-6/u1db-qt-example-6.qml11:24
nik90are you referring to U1db.Synchronizer{} ?11:25
nik90or just documentID.sync()11:25
aquariusthat's how to sync, indeed. But if you want to sync with U1, which you probably will, then it's a bit more complex because you need credentials. You can get them from Online Accounts. All the pieces are in place to do this, it's just that no-one's built an app which does it yet.11:25
aquariusWhen you want to start syncing data, I'd chat to gatox or kalikiana11:26
nik90okay11:26
aquariusnote that u1db is also a ListModel, which is really useful if you need it; a Query is a listmodel, and so is the whole database.11:26
aquariussee Rick's post about using the whole db as a ListModel, and the examples for how to define a query and use that as a listmodel11:27
nik90is the document.contents also a listmodel?11:27
aquariusdepends what the contents are :)11:27
nik90something as simple as  contents:{"hello": { "world": [ { "message": "Hello World" } ] } }11:27
aquariusif you've got a list somewhere in the contents, then QML can use a JS list as a ListModel, so you can use a list from the contents as a listmodel11:28
nik90okay11:28
aquariusListView { model: theabovedoc.contents.hello.world; delegate: Text { text: model.message } }11:28
aquariusthat should work :)11:28
aquariusright, I have to go out now, but will be back later11:29
nik90I will start working on this11:29
nik90thnx for ur help11:29
aquariuscool!11:29
aquariusno worries. :)11:29
=== _salem is now known as salem_
mzanettinik90: hey, I've implemented the expanding pattern in the SDK and was told you are interested in that. Feel free to test it and add your comments to the review: https://code.launchpad.net/~mzanetti/ubuntu-ui-toolkit/expanding-listitem/+merge/19560211:45
=== MacSlow is now known as MacSlow|lunch
nik90mzanetti: hey thnx a lot11:50
nik90mzanetti: I will wait for jenkins to release a deb build to try it out11:51
mzanettidpm: hey12:02
mzanettidpm: I've made some progress with the evernote stuff. however, the accounts connection doesn't seem to work properly here. might be my setup. let me know when you have some time to test it12:09
nik90mzanetti: just a thought..can the expanded item contain a list inside it? For instance, I have a list of seasons. On clicking a season, it expands to show a list of episodes for that season.12:27
mzanettinik90: sure. you can put inside whatever you want12:27
nik90mzanetti: awesome12:28
dpmhey mzanetti, awesome! Happy to test it now12:47
mzanettidpm: we need some common branch where I can push to12:48
dpmmzanetti, let me add you to the evernote devs team and we can push on a common branch there, just a sec12:48
dpmmzanetti, done. You should now be able to push to lp:~reminders-app-dev/reminders-app/evernote-api-plugin12:50
dpmmzanetti, what is it that it's not working on the accounts connection? Are you testing on the desktop or on the phone?12:52
mzanettidpm: on the desktop12:53
mzanettidpm: I can successfully configure the account in system-settings12:53
mzanettidpm: but then the List in the app just stays empty12:53
mzanettidpm: pushed12:54
dpmpopey, if mhall119 is doing appdev-1, I can do appdev-2 today. Would it work for you to do the last 2 appdev sessions that are in Hallway and community-2?12:54
dpmmzanetti, let me pull and test12:55
mzanettidpm: but in theory, you should be able to select an account first, and then click the button and it should print a list of notebooks12:55
mzanettidpm: of course the connection setup might be wrong as I just copied it from the UserStore and guessed the URL (without spending much time on researching)12:55
mzanettidpm: but anyways, once we get a list of the notebooks printed on the command line, please let me know and I will add a model to be exposed to QML12:56
popeydpm: http://summit.ubuntu.com/uds-1311/meeting/22125/followup-session-for-system-framework-for-apps/ and http://summit.ubuntu.com/uds-1311/meeting/22054/music-2.0-development/ ?12:56
dpmpopey, exactly. Would that work for you?12:56
popeysure!12:56
* dpm high-fives12:57
popey\o/12:57
popey*\o/* even12:57
* popey gets the pom-poms out12:57
dpmyeah12:57
dpmmzanetti, I get my Evernote account (dplanella) listed in the UI, then I press the button and get http://pastebin.ubuntu.com/6453143/ - is this the same you get?13:00
mzanettidpm: no... I didn't get anything in the ui13:00
mzanettidpm: well, I set the token "onAuthenticated"13:01
dpmmzanetti, does system settings show you your evernote account?13:01
mzanettidpm: not sure what you need to do to trigger that signal13:01
mzanettidpm: yes, systemsettings works13:01
mzanettidpm: well, not entirely sure. it looks a little bit wrong13:01
mzanettidpm: http://i.imgur.com/FgQ3cpo.png13:02
mzanettidpm: also here the username seems missing: http://i.imgur.com/2px0NOl.png13:03
mzanettidpm: when you click on your username you should see either this:13:04
mzanettiAccess token is xxxx13:04
mzanettior13:04
mzanettiAuthentication failed, code xxx13:04
mzanettionce you see the "Access token is" the button *should* start working13:05
dpmmzanetti, ah, 2 things: I'm running it entirely from the desktop on 13.10. The screenshot you're showing me is from the QML system settings. On the phone, I don't get the user name listed under system settings either. Let's ask mardy13:05
dpmmardy, I've noticed that after the changes you suggested, the username for the Evernote account is shown for the desktop version of System Settings. However, for the phone version it's not (see http://i.imgur.com/2px0NOl.png) - Does this affect how Online Accounts work? And how can we make it show the user name on the phone?13:06
mardydpm: it doesn't13:07
mardydpm: the QML plugin for the account should retrieve the username from evernote, using some evernote's APIs13:08
mardydpm: this is not needed on the desktop because there we are doing nasty things with the DOM of the login page :-)13:09
dpmyeah :)13:09
dpmmardy, so what's the process to get the user name listed on the phone? I understand that we need to get it from Evernote, but how do we initiate the process from the authentication plugin side? I guess we need to include code in the plugin to do that? And given the fact that we're using a C++ API to talk to evernote, I guess this will mean having to ship the C++ API (currently a C++ QML plugin) with the authentication plugin package?13:11
dpmmzanetti, that's really weird: when I click on the user name I get this: "file:///tmp/build-evernote-app-Desktop-Debug/src/app/qml/main.qml:72: Error: Insufficient arguments" - however you're using exactly the same snippet I was using the other day to retrieve the access token13:13
mzanettidpm: yeah, I just copy/pasted it (removing the rectangle)13:14
dpmthanks popey :)13:15
popeyheh13:15
popeyadded some sessions into the app dev section of the doc dpm, but I wasn't in those sessions13:15
popeyadded them to provide a nudge to others ㋛13:16
dpmcool :)13:16
mzanettidpm: actually... code completion says we should use accountsService.authenticate(sessionData)13:17
mzanettidpm: no idea what sessionData is supposed to be13:18
dpmmardy? ^13:18
mardydpm: you need to get the username by reimplementing the completeCreation method: http://bazaar.launchpad.net/~online-accounts/account-plugins/trunk/view/head:/qml/google/Main.qml13:18
mardydpm: do you think it's possible to get it from QML?13:18
mardymzanetti: it's a dictionary of parameters, specific to the authentication method you are using13:19
dpmmardy, I don't think so - we tried to talk to the API via QML's JS engine and it wasn't possible. That's why we've resorted to writing the C++ plugin to talk to the API13:19
mardymzanetti: for Oauth, for example, you might want to pass your own application keys13:20
mzanettiI'm a bit confused... shouldn't the Oauth authentication already have happened through the system settings?13:20
mzanettiso all I need is to get the token somehow13:20
mardymzanetti: yes, that's correct, however different OAuth tokens might give you different permissions13:21
mzanettiah. right. makes sense13:21
mardymzanetti: so, the app key used to register the account in system settings might (and should, IMHO) have less permissions than what you need13:21
mzanettimardy: so I need to do authentication again in the app?13:22
=== MacSlow|lunch is now known as MacSlow
mardymzanetti: yes, all the time (but Online accounts will return you the same token as before, if it's still valid)13:22
mardymzanetti: I think you can start with leaving the sessionData empty, that should work13:23
mzanettimardy: we get " Error: Insufficient arguments"13:23
dpmmardy, sorry if I'm asking something obvious, but I'm not familiar with OAuth -> what's the use of  the initial token you get from system settings, then?13:24
mzanetti+1 on dpm's question13:24
mardymzanetti: damn, I think there's some bug there; you need to actually pass (null)13:24
mzanettidpm: can you try again with this? ^ main.qml, line 72. Just add "null" as argument in that call13:25
dpmon it13:25
mardymzanetti: do you mind to file a bug on the "Error: Insufficient arguments", so that I don't forget it? http://code.google.com/p/accounts-sso/issues/list -> use [accounts-qml-module] as subject prefix13:25
mzanettiok13:25
mzanettiWe are sorry, but you do not have access to this service. Please contact your domain administrator for access.13:26
mzanettidpm: can you? ^13:26
dpmmzanetti, success! *\o/* -> http://pastebin.ubuntu.com/6453247/13:26
popeysweet!13:27
mzanettiwhooohooo!13:27
dpmawesome13:27
mardymzanetti: maybe it doesn't like that you are logged in with your Canonical account13:27
mzanettiI am13:27
mzanettidpm: ok. I'll create some models so you can easily place that stuff into ListViews13:27
mardymzanetti: can you switch account (if you have a personal one?)13:27
mzanettiah that might be...13:28
dpmthis is pretty awesome, nice work mzanetti13:28
mzanetti:)13:28
mardydpm, mzanetti: so, there is currently not 100% agreement on what the initial access token should do13:28
mardydpm, mzanetti: design would like for it to be a fully capable token, giving apps all the permissions possible13:29
mzanettiyeah. from a design POV that makes sense13:29
dpmmzanetti, how are you logging in to Evernote in system settings? Are you using a developer account created on sandbox.evernote.com or a regular Evernote account?13:29
mzanettihowever, any random app can then access your stuff13:29
mzanettidpm: I think a regular account. not entirely sure tbh13:30
mardydpm, mzanetti: but me and others would like to have it a *minimal* set of permissions, just to verify that the account exists (and the the username), and rather have each app use its own keys if it wants to do more13:30
mzanettidpm: note that I did all this stuff between 0:00 and 01:00 am :D13:30
dpmmzanetti, lol, that might be it, then :)13:30
mardymzanetti: correct, any random app *authorized by the user to use the account* can do whatever it wants13:31
mardymzanetti: it is also against the policy of some services (such as twitter)13:31
mzanettimardy: I see your point, and for security reasons I tend to agree. however, I can see design not wanting that as it kinda defeats the purpose of the account in the system settings13:31
mardymzanetti: and if all apps use the same key, the API limits are more easily reachable13:31
mzanettitrue13:31
mzanettiyeah... I fully agree with you13:32
mzanettiI personally would not want any app to access my notes just because I wanted to authenticate a single app13:32
dpmmzanetti, try logging in on sandbox.evernote.com with your browser, with the account you used for system settings. If it doesn't work, then you'll need to create an account there. The Evernote account provider only works with sandbox.e.c, and you can only use developer accounts to talk to Evernote until your app has been blessed13:32
mzanettidpm: ah.. that might explain things13:32
mzanettidoesn't make any sense, but explains it13:33
mardymzanetti: if every app uses a different key, the user will have to authorize each app in the webview as well, before using it. However, he won't have to login into the website everytime, because Online Accounts is caching the session cookies13:33
mzanettimardy: ah ok... now it makes sense to me13:33
mzanettimardy: yeah. I really need to switch my fitbit app to use the accounts service. is there a fitbit plugin ready yet?13:34
dpmmardy, so going back to the question earlier: if the only way to talk to the Evernote service is via our C++ plugin, we will need to ship it with the account provider, so that the Main.qml file can talk to the API, right? Either in the plugin package itself or as a dependency13:34
=== dholbach_ is now known as dholbach
mardymzanetti: someone was working on fitbit IIRC... can't remember who!13:37
mzanettimardy: must have been cwayne13:37
mzanettibut I don't know the state of it13:37
mardydpm: let's see why you need C++ first; if it's something which can be used by other plugins, maybe I can move that stuff into Online Accounts13:37
mardymzanetti: right, it was cwayne13:38
popeycwayne was looking for testers13:38
dpmmardy, Evernote does not have e.g. REST API - they provide what they call native SDKs in different programming languages to talk to the API. The ones we can use are JavaScript and C++. Their JavaScript SDK we cannot use because it needs JS features not implemented in the QML JS engine, that's why we're now using C++ instead. What we're doing is essentially a C++ wrapper to be used as a QML plugin to talk to the Evernote API from QML. I don't think i13:40
dpmt's generic enough to put it into Online Accounts13:40
mzanettidpm: seems my account is for sandbox.evernote.com13:41
dpmmzanetti, hm, weird. And your user name is listed under the Evernote account in System Settings? (I mean desktop System Settings)13:42
dpmmzanetti, and what are the package versions of account-plugin-evernote and signon-plugin-oauth2? These are the only things I can think of.13:46
mzanettidpm: I don't have the desktop system settings13:48
dpmmzanetti, why's that? You're on trusty?13:49
mzanettidpm: yes. and using KDE (unity doesn't scale on this display)13:49
mzanettidpm: http://paste.ubuntu.com/6453344/13:50
dpmmzanetti, ah, that explains things. So it seems the phone version of system settings doesn't quite work with the authentication plugin.13:51
mzanettidpm: ok. can you tell me the package name for the desktop system settings?13:52
dpmit might be the part mardy was mentioning earlier on: for it to work the shipped Main.qml file needs to actually talk to the Evernote API, but I still do not quite understand what it actually needs to do13:52
dpmmzanetti, I think it's a widget for gnome-control-center, so you'll need to install that first13:53
mzanettiyeah... I'm afraid I removed all g stuff :D13:53
dpmI need to run and start the appdev track, let's catch up later on...13:54
mzanettidpm: ack13:54
mardydpm: so, the Main.qml file is needed, but it can be as small as http://bazaar.launchpad.net/~online-accounts/account-plugins/trunk/view/head:/qml/twitter/Main.qml14:01
mardydpm: the rest is just to obtain the display name of the account, which is not needed in order for the account to be functional14:01
dpmmzanetti, ^14:09
dpmthanks mardy14:09
=== chriadam is now known as chriadam|away
=== oSoMoN_ is now known as oSoMoN
mzanettidpm: I'm still having issues with the accounts stuff. if you have some time between sessions, let me know16:02
dpmmzanetti, I'll try to set some time aside during the break, but we'll probably need mardy's help too16:03
mzanettimardy: do I need to have some service running for it to work?16:04
mzanettiI've configured it successfully in gnome-control-center. it shows up there correctly16:05
mzanettibut the qml app's model doesn't list anything16:05
mzanettinote that I do not have unity7 running.16:06
AskUbuntuSet Window Icon to Gtk Stock Icon in PyGtk | http://askubuntu.com/q/38043416:35
mardymzanetti: no, no services are needed. Check with the "account-console" tool if you see something suspicious on the account16:42
mzanettimardy: looks good... http://paste.ubuntu.com/645410516:44
mardymzanetti: yep. So, what happens? The application doesn't see this account?16:45
mzanettimardy: yeah. this is the code: http://paste.ubuntu.com/645411416:45
mardymzanetti: are you running the app under confinement?16:45
mzanettimardy: the AccountsServiceModel is just empty16:45
mzanettimardy: no. running on the desktop16:45
mardymzanetti: and there's a file called /usr/share/accounts/services/evernote-publish.service ?16:47
mzanettiaha!16:47
mardy:-)16:47
mzanettimardy: nope. it's evernote.service16:47
mzanetti(strange it works for dpm then)16:47
mzanettimardy: works! thanks a bunch16:48
mardymzanetti: yw :-)16:48
=== boiko_ is now known as boiko
dpmmzanetti, glad to hear it worked for you, but I'm not sure I follow what you had to do?16:55
dpmah!16:56
dpmI know what happened16:56
t1mpwho is working on gallery-app at the moment? I'm trying to compile it but I get some errors16:57
t1mp/home/tim/dev/gallery-app/trunk/src/medialoader/preview-manager.cpp:395:35: error: ‘GST_BUFFER_CAPS’ was not declared in this scope16:57
t1mp I have libgstreamer1.0-dev  installed. anything else I need?16:57
mzanettidpm: I had to change this: service: "evernote"16:57
mzanettiinstead of service: "evernote-publish"16:58
t1mp^ that's just one error. I get a couple of similar ones16:58
dpmmzanetti, mardy, I created an evernote-publish.service file when I first started testing the provider. Then cwayne packaged it up but it seems he renamed the file to evernote.service. But in my system I still had the manually-installed evernote-publish.service file, so that's why it was working for me16:58
mzanettiah16:58
mzanettidpm: anyways, I fixed it and will push soonish16:59
dpmthat's really cool16:59
mzanettidpm: looks like we managed to get over all the issues. now it's just a TODO16:59
mzanettiwell, we probably should figure how to reenable SSL at some point16:59
dpmyeah, but for one I'm happy that we can talk to the Evernote service at all17:00
mzanettidpm: indeed17:00
mzanettidpm: when I said I could help with the QML plugin I didn't expect this :D17:00
mzanettidpm: I expected a standard REST api17:01
dpmlol, but now your *really* helped17:01
dpmeverything we do is hardcore17:01
dpm:)17:01
mzanettidpm: ok... so I'll continue to hack on this a bit to get it into a state where you guys can start building on.17:02
* dpm hugs mzanetti17:02
mzanettiprobably not feature complete by tonight tho :D17:02
dpm:)17:03
nik90dpm: does jenkins autopush MP in reminders or should I do it manually?19:02
nik90for jordan's branch19:02
jkeyes0\o/19:03
dpmnik90, before I answer that...19:03
dpm _   _    _    ____  ______   __  ____ ___ ____ _____ _   _ ____    _ __   __19:03
dpm| | | |  / \  |  _ \|  _ \ \ / / | __ )_ _|  _ \_   _| | | |  _ \  / \\ \ / /19:03
dpm| |_| | / _ \ | |_) | |_) \ V /  |  _ \| || |_) || | | |_| | | | |/ _ \\ V /19:03
dpm|  _  |/ ___ \|  __/|  __/ | |   | |_) | ||  _ < | | |  _  | |_| / ___ \| |19:03
dpm|_| |_/_/   \_\_|   |_|    |_|   |____/___|_| \_\|_| |_| |_|____/_/   \_\_|19:03
nik90dpm: thnx a lot :)19:04
dpm:)19:04
dpmnik90, I've been doing it manually until Jenkins it set up19:04
nik90dpm: okay. I can merge jordan's branch.19:05
dpmnik90, awesome. Note that now that your latest branch19:05
dpmhas landed, you will need to pull from trunk before pushing19:05
nik90dpm: yes, I noted that19:05
dpmI assume jkeyes0 (hi!) branch landed before that19:06
dpmok, cool19:06
dpmsorry, not landed, I meant was submitted19:06
nik90dpm, jkeyes0: done :D19:07
jkeyes0woot!19:07
=== bfiller is now known as bfiller_afk
dpmnice work jkeyes0! -> http://ubuntuone.com/7Nlz49jW8sVymwKuXP4Tde19:10
=== dholbach_ is now known as dholbach
nik90dpm: for a moment I thought it was meme that you stored in your u1db :P19:14
dpmnik90, it was a real screenshot, but there's always other things worth sharing http://i.imgur.com/uyiVwVA.gif :)19:16
popeyI properly love that gif19:16
dpmone can not love it19:17
nik90hehe19:28
mzanettidpm: ping20:33
=== bfiller_ is now known as bfiller
mzanettipopey: dpm: *\o/* http://i.imgur.com/7HGfH8F.png21:01
nik90mzanetti: wow awesome!21:03
mzanettiI guess it's time for a first round of cleanup and a merge request21:04
nik90mzanetti: yeah I work with other developers on the UI part21:06
nik90mzanetti: so once your API plugin is in, we can get started21:07
mzanettinik90: yep. just browsing the current repo... need to change directory structure quite a bit21:07
mzanettineed to take a break... maybe I'll continue to integrate it today still21:09
nik90okay'21:10
=== salem_ is now known as _salem
popeymzanetti: *\o/*21:31
fgintherdpm, reminders-app is all setup now21:42
dpmfginther, awesome, thanks!21:52
dpmmzanetti, indeed *\o/* nice work!21:53
mzanettidpm: currently integrating it into trunk21:53
dpmcool21:56
dpmballoons, around?21:56
dpmmhall119, I know you've been busy with UDS, but have you perhaps had the chance to set up the reminders app burn-down?22:13
vthompsonballoons, just in case you hop back on yet today--I have a MR for the AP tests that are failing in the device images. http://ci.ubuntu.com/smokeng/trusty/touch/maguro/27:20131120.2:20131120.1/5060/music-app-autopilot/23:11
vthompsonballoons, https://code.launchpad.net/~vthompson/music-app/fixes-1253480-1253788-ap-tests/+merge/19620323:11
vthompsonballoons, essentially what was happening was that after 5 seconds of playback the functionality of the previous button changes so that the current song is played from the beginning (intended). The tests on the device seem slow and often this 5 seconds would elapse and the test would fail due to the previous button not doing what we assumed it'd do.23:13
nik90Does anyone know how to do a POST xmlhttprequest in javascript23:24
nik90I am unable to do so...23:24
mzanettinik90: dpm: https://code.launchpad.net/~mzanetti/reminders-app/integrate-plugin/+merge/19621023:41
mzanettiready to be baked on your machines23:41
dpmwohoo!23:42
mzanettidpm: the diff is a bit messy as it includes the libs...23:42
mzanettidpm: read the description of the merge, that should explain everything. if not, let me know and I'll update23:43
dpmmzanetti, no worries. I'll have a quick look and test it now and then look at the merge in more detail tomorrow morning.23:44
nik90\o/23:44
mzanettiand yes, the ui can already display your notes :)23:45
dpmI just managed to finish the update announcing the authentication plugin and how to use it, I guess now we're ready for a new announcement :)23:45
dpmhttp://davidplanella.org/ubuntu-reminders-app-gets-evernote-authentication/23:45
dpmmzanetti, I was suspecting that you'd get that done when I saw your latest screenshot, excellent :)23:46
mzanettidpm: and I managed to create the project in a way that we don't need to fiddle with LD_LIBRARY_PATH or similar at all23:47
nik90dpm: wow seeing your blog for the first time23:47
dpmah, cool, I was actually going to ask you about that, as I had to go through that when I checked out the branch on another computer today23:47
dpmnik90, yeah, I've not been very active blogging there in the last few months, lots of stuff going on and I was actually blogging more on the developer blog :)23:48
dpmso time to take the dust off my personal blog :)23:48
nik90:)23:48
mzanettidpm: huh? where did you find follefuder.org as my website?23:49
dpmmzanetti, is that not your blog?23:49
mzanettidpm: that was the old domain I had... it's still valid, but redirecting to my new one notyetthere.org23:49
mzanettithat's why I wonder where you've found it23:49
mzanettias I shouldn't be referring to it any more23:50
dpmmzanetti, let me update the post. I knew I had read your blog, but googling for michael zanetti blog didn't return any results I could recognize, so I noticed on your last screenshot the follefuder.org domain and I thought I'd try that :)23:51
dpmmzanetti, fixed23:52
mzanetticheers23:52
mzanettinik90: dpm: just a heads up: right now you call "notes.note(id)" to get the content of a note. that will change to return a proper Note object with title, content and whatnot. so don't rely on that one too much yet23:54
dpmack23:54
nik90okay23:54
mzanettiI think Notebooks and Notes should be pretty close to what the api will be23:54
mzanettiyou can walk through the functions of this api doc and request stuff that you need: http://dev.evernote.com/doc/reference/23:56
dpmexcellent23:56
mzanettias you need them. otherwise I will probably add stuff I think would make sense23:56
* dpm nods23:56
nik90mzanetti: will give feedback as I start using it23:59

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