**** BEGIN LOGGING AT Sun Feb 08 02:59:58 2015 Feb 08 04:06:47 Garfonso, “find / -name kinds_upsync.js” retrurns no results, so I’m not sure what you’re telling me to do Feb 08 04:28:12 … and the .gitignore for org.webosports.service.contacts.carddav lists service/javascript/kinds_upsync.js, so it presumably only exists on your machine. Feb 08 04:30:05 Should I just change allowUpsync to true for contact objects in kinds.js ? Feb 08 09:24:14 DougReeder: right. I forgot I only have that locally. You have to change allowUpsync for contact in Kinds and KindsContact. Feb 08 10:14:14 Herrie: great Feb 08 10:19:20 morphis: I got it to display the timezones already, now just need to have it auto-select the right one, shouldn't be too difficult Feb 08 10:19:32 Herrie: yeah Feb 08 10:19:44 Just need to take into account the "preferred" ones for countries where there are multiple ones like Russia Feb 08 10:19:46 Herrie: btw. one minor style thing: try to stick to existing code styles Feb 08 10:19:52 ala if (...) { Feb 08 10:19:55 vs. Feb 08 10:19:58 if (...) Feb 08 10:19:59 { Feb 08 10:20:05 Ah sorry for that Feb 08 10:20:08 np :) Feb 08 10:20:10 It's the QT Reformat I think Feb 08 10:20:14 really? Feb 08 10:20:20 you can change that Feb 08 10:20:30 in the project settings there is a code-style tab Feb 08 10:20:34 I often put a lot of debug stuff into code so when I clean it up, I reformat the JS Feb 08 10:20:37 Yeah will check for that Feb 08 10:21:03 ah ok Feb 08 10:22:00 It takes about 1 second to complete the country list + select right one based on MCC Feb 08 10:22:04 Not sure that's problematic? Feb 08 10:22:26 You'd have to check it yourself on the N4 to see if it's acceptable. Otherwise might add some indicator while loading Feb 08 10:22:54 It's probably < 1 sec, just it's noticable the list isn't there instantly Feb 08 10:23:03 hm Feb 08 10:23:18 at least we should block the forward button until everything is loaded Feb 08 10:24:02 selecting the right item based on MCC is fine to happen later Feb 08 10:24:09 it is the same on Android and other OS Feb 08 10:24:42 OK will have a look into this then to see if I can refactor it a bit Feb 08 10:24:53 Just give it a go on your N4 and tell me if it needs some rework Feb 08 10:24:58 It works fine in general Feb 08 10:25:09 For setting timezone we need to pass the whole timezone info it seems? Feb 08 10:25:24 Or you never looked into that? Feb 08 10:27:45 you mean to the settings service? Feb 08 10:34:11 Yeah Feb 08 10:34:27 Seems like you basically need to put the full timezone info, so country, countrycode, description etc Feb 08 10:34:34 Not just an ID or something Feb 08 10:34:38 Herrie: afaik it is only com.palm.systemservice/setPreferences {"timezone":} Feb 08 10:34:48 yeah Feb 08 10:34:51 Yeah but the timezone object is a full one Feb 08 10:34:55 Not just an id Feb 08 10:35:25 Which is fine, just want to double check Feb 08 10:35:29 right Feb 08 10:35:29 Legacy code wasn't very clear Feb 08 10:35:48 Will also add GMT + 1:00 indicator probably Feb 08 10:36:03 great Feb 08 10:36:04 Because we have so many timezones, it's not clear where you are exactly :P Feb 08 10:36:16 Just need to convert the minutes to proper hours but that's OK Feb 08 10:36:27 Seems to work quite nicely so far Feb 08 10:36:43 Just needs some more TLC + code cleanup + selection based on country before i can PR Feb 08 10:36:48 But shouldn't be too long Feb 08 10:36:52 Might be able to finish today Feb 08 10:36:59 Else maybe in the next few days Feb 08 10:37:04 Just need to find some time :P Feb 08 10:41:45 :) Feb 08 12:55:30 morphis: How you like this look? http://tinypic.com/r/2r7ri94/8 Feb 08 12:56:31 Added word-wrap, height of delegate gets updated based on height of the various items, so it's not unusually high when not needed Feb 08 13:03:43 Herrie: a bit too much information Feb 08 13:03:45 do we have abreviations for the timezones? Feb 08 13:05:33 Herrie: what about: CET (GMT +1:00) Feb 08 13:05:53 and only two rows Feb 08 13:06:01 Paris Feb 08 13:06:09 CET (GMT +1:00) Feb 08 13:06:41 or Feb 08 13:06:48 Paris (France) Feb 08 13:07:49 We don't it seems Feb 08 13:07:59 Let me pull what we have Feb 08 13:09:38 { "Country": "Netherlands", "CountryCode": "NL", "ZoneID": "Europe\/Amsterdam", "City": "Amsterdam", "Description": "Central European Time", "offsetFromUTC": 60, "supportsDST": 1 }, Feb 08 13:10:35 I basically took 3.x / 2.x which was 2 rows and added GMT Feb 08 13:12:34 Just some are very long (either country) or description and needed wrapping Feb 08 19:31:56 Herrie: wrapping is fine Feb 08 19:32:12 or we just display the ZoneID Feb 08 20:03:42 Let me add a search like ok TP as well Feb 08 20:09:51 garfonso, I tried setting allowUpsync to true, but I’m not seeing upload happen Feb 08 20:11:27 I tried running the C+DAV app, but it only appears to know about a different account that I had previously deleted. Feb 08 20:12:35 Tonight I’ll try reflasing & set upsync before adding any accounts Feb 08 22:17:40 Hm.. never really tried deleting an account on LuneOS. Maybe there is something faulty there, still... on the other hand it's not 100% clean on legacy either. Feb 08 22:18:04 but a new account *should* show up in the app. It's not in the dropdown? Strange. Feb 08 22:19:31 Maybe the service somehow got corrupted... this happens sometimes. Then a strange exception is thrown during loading and it hangs in an undefined state and never recovers from that. And webOS thinks it is still running but it won't process any service calls. Still need to find out why that can happen. :-/ Feb 09 00:35:47 Ah, I thought the dropdown in the C+DAV app was just a button. The new account does sho up there (along with the deleted account) Feb 09 00:36:23 … and running a sync does indeed upload the new contact! Feb 09 00:36:33 … but not the relationships in it. Feb 09 02:18:48 Hi! **** ENDING LOGGING AT Mon Feb 09 02:59:58 2015