**** BEGIN LOGGING AT Thu Apr 03 02:59:59 2014 Apr 03 06:33:06 Herrie: pong Apr 03 06:33:08 morning Apr 03 06:42:50 Garfonso: morning Apr 03 06:43:12 Was looking into Communities to backup it's database. I can see it in Impostah, but don't know how to query and export the data Apr 03 06:43:17 I thought you might know ;) Apr 03 06:46:24 easiest way is: luna-send -n 1 palm://com.palm.db/find '{"query":{"from":PUT_KIND_HERE}}' and pipe that into a *.json file. Apr 03 06:46:44 but this will only get the first 500 (I think) elements. Apr 03 06:48:10 if you have more you'd need paging... you can have a look at the export messages / notes apps and hack something similar. This is what does the magic: https://github.com/Garfonso/ExportNotes/blob/master/srv/assistants/doExportAssitant.js Apr 03 06:51:48 Thnx get this: luna-send -n 1 palm://com.palm.db/find '{"query":{"f Apr 03 06:51:48 rom":"com.newness.communities.accounts:1"}}' Apr 03 06:51:48 {"errorCode":-3963,"errorText":"db: permission denied","returnValue":false} Apr 03 06:58:40 OK got it working, needed to add -a com.newness.communities ;) Apr 03 07:00:05 And when I'd want to import the same again on another device? Apr 03 07:29:58 that's more complicated... never really did that... ;) Apr 03 07:31:00 but you'd have to use palm://com.palm.db/put and supply the contents of the file formated in the right way... and you should delete the _id fields. Apr 03 07:36:33 Garfonso: Thnx will play with that :) Apr 03 07:36:53 See if we can make some people happy to get their Communities working again :P Apr 03 07:42:24 morning Apr 03 07:44:13 Tofe: morning Apr 03 07:45:38 morphis: I've found a fix for the focus and for the card destruction Apr 03 07:46:08 but nicely showing a card that has just been creating is a bit painful with ListView Apr 03 07:46:35 Tofe: :) Apr 03 07:47:20 morphis: any regret if I delete the line https://github.com/webOS-ports/luna-next/blob/master/plugins/compositor/compositor.cpp#L101 ? Apr 03 07:47:50 I didn't find any scenario where it was useful Apr 03 07:48:00 Tofe: where do we delete the window then? Apr 03 07:48:17 or is it deleted by Qt? Apr 03 07:48:23 https://github.com/webOS-ports/luna-next/blob/master/plugins/compositor/compositor.cpp#L174 here Apr 03 07:48:38 ok Apr 03 07:48:45 then lets remove L101 Apr 03 07:49:29 ok. I have inserted a little warning in the destructor of the CompositorWindow, so that we can see it in the log Apr 03 07:49:47 but forgot to push my commit, silly me. Apr 03 07:50:26 Also, a rework of the append/remove methods for the WindowModel would help Apr 03 07:51:15 like, do it in 3 steps : do a "begin" for all models, then do the action for all models, then do a "end" for all models Apr 03 07:52:06 That way we have a clean situation when we handle the signals in QML on the lists Apr 03 07:57:45 Tofe: sounds good Apr 03 07:58:47 Tofe: are you going to do that rework too? Apr 03 08:01:26 yes Apr 03 08:03:11 good Apr 03 08:03:13 Garfonso: welcome back! Apr 03 08:36:13 thanks :) Apr 03 08:59:31 Garfonso: how was the holiday? Apr 03 15:36:15 morphis: I have found a fix for the insertion of new cards Apr 03 15:36:40 I'll try to test and commit that tonight Apr 03 16:10:42 Tofe: nice :) Apr 03 16:25:33 Tofe: very good Apr 03 16:39:57 Tofe: just tell me when you have something read Apr 03 16:40:48 morphis: ok Apr 03 18:25:16 raaah the "count" property of WindowModel wasn't defined ! I always thought it was obviously there by inheritance ! Apr 03 18:26:10 morphis: it seems to work now. I'm preparing the PRs. Apr 03 18:29:21 morphis: https://github.com/webOS-ports/luna-next/pull/69 + https://github.com/webOS-ports/luna-next-cardshell/pull/69 Apr 03 18:29:41 luna-next PR must be taken first Apr 03 18:32:14 Tofe: merged both Apr 03 19:53:28 Tofe: hm, I get now black cards on the left Apr 03 19:53:41 close and open new cards and you will see it after some time Apr 03 19:53:49 everything else seems to work quite well Apr 03 19:55:55 Tofe: btw. and starting an app from the command line breaks things too Apr 03 20:18:20 ah, must have missed that in my little tests Apr 03 20:19:18 generally black cards mean that we still have a delegate card but no window object **** ENDING LOGGING AT Fri Apr 04 02:59:59 2014