maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [SFOS] [CLOSED] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread (https://talk.maemo.org/showthread.php?t=92160)

hazel 2014-01-31 23:23

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
Quote:

Originally Posted by coderus (Post 1410135)
it can be some notification categories change. i can take it from latest release and compare, but dont swear to fix it any time soon :)


thanks so much for the update. I love the chat bubbles.

If you manage to fix the home screen notification could you possibly make the notification a Mitakuuluu icon instead of a picture? The icon ties in better with other notifications but maybe others prefer to have a picture. I wonder what other people think?

I know I'm being picky but I also don't like the new message bar, is it really needed?

the little splat notification that appears on a persons avatar is too transparent and hard to see, could that be a solid block of colour instead or something?


I do love your app, just suggesting some refinements :)

Watchmaker 2014-01-31 23:33

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
Quote:

Originally Posted by hazel (Post 1410164)
the little splat notification that appears on a persons avatar is too transparent and hard to see, could that be a solid block of colour instead or something?

I find that a little bit hard to read too, but it may depend on ambience colour, didn't test throughly.

hazel 2014-01-31 23:58

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
Quote:

Originally Posted by Watchmaker (Post 1410168)
I find that a little bit hard to read too, but it may depend on ambience colour, didn't test throughly.

It also depends on the colour of the persons avatar. Shows better against a dark avatar obviously.

TMavica 2014-02-01 03:19

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
add contact keep loading..

coderus 2014-02-01 06:26

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
@jayki create suggestion on bugtracker please
@hazel new message banner is very cool, you never miss new messages if scrolled chat up, and you can tap it and scroll to bottom immediately
@TMavica logfile?

TMavica 2014-02-01 06:29

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
i send you later, wait
there is some abnormal thing, example: group pic some cant sync, add contact keep turning, always status show connecting and logged in when ui pop up

my device is clean with full reset and upgrade from 1.005 to 1.038

TMavica 2014-02-01 06:42

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
https://db.tt/1guv8dkE

coderus 2014-02-01 06:48

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
Thanks for the clean log with NOTHING :)

TMavica 2014-02-01 06:58

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
LoL
cant check deeply, i at street, wait!!

Timpaxi 2014-02-01 09:10

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
how do i know which log is the right one because there are like 3 log files..?

coderus 2014-02-01 10:17

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
Got logs from other persons. Sailfish update broken Qt5Contacts backend. No idea if i can fix it w/o Jolla

TMavica 2014-02-01 10:20

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
o, good
someone noticed.that

coderus 2014-02-01 11:24

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
there are many bugreports to jolla, you need wait for os update or go back to 1.0.2.5 :)

tiempjuuh 2014-02-01 11:37

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
https://together.jolla.com/question/...ations-broken/

Okay, so you need to set the priority to =>100.

Wel done, Jolla :rolleyes:

phuig 2014-02-01 12:27

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
Mitakuuluu reconnects every time I do something (leave chat, enter chat, leave mitakuuluu). I have a feeling the cover doesn't update on itself, even though it says logged in. Meaning I need to reopen the app to see if I have gotten a message. Could just be a coincidence that I happen to get a message every time I open the app, but this has happened a few times in a row now so I doubt it.

Also, is it possible to delete groups? My friend made a group this morning, I left it soon after and he said he deleted it after I left it, but I still see it and can read messages from it.

Edit: Was reading group chat, left, re-entered and 10 new messages had popped in. I left and re-entered within seconds so I doubt they all came during that time.

coderus 2014-02-01 12:40

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
@phuig logfile?

TMavica 2014-02-01 12:43

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
Quote:

Originally Posted by phuig (Post 1410259)
Mitakuuluu reconnects every time I do something (leave chat, enter chat, leave mitakuuluu). I have a feeling the cover doesn't update on itself, even though it says logged in. Meaning I need to reopen the app to see if I have gotten a message. Could just be a coincidence that I happen to get a message every time I open the app, but this has happened a few times in a row now so I doubt it.

Also, is it possible to delete groups? My friend made a group this morning, I left it soon after and he said he deleted it after I left it, but I still see it and can read messages from it.

Edit: Was reading group chat, left, re-entered and 10 new messages had popped in. I left and re-entered within seconds so I doubt they all came during that time.

same problem, coderrus wait me....lol

coderus 2014-02-01 12:45

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
General notice:
Quote:

Originally Posted by Mailing list
Add your application to /usr/share/mapplauncherd/privileges (this will
be overwritten on system updates, and only suitable for use on your
phone, not for harbour)

I won't support Mitakuuluu development until Jolla make proper way to fetch contacts database for 3rd party applications. My developer experience was never full of stupid hacks and system restrictions.

https://lists.sailfishos.org/piperma...ry/003249.html

Penguin 2014-02-01 12:53

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
So they have restricted so that 3rd party apps can't access contacts? Wonderful. Not. It sucks.

coderus 2014-02-01 12:55

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
So you can still use current mitakuuluu version, but you need to modify /usr/share/mapplauncherd/privileges and add lines:
Code:

/usr/bin/harbour-mitakuuluu,p
/usr/bin/harbour-mitakuuluu-server,p

and do it after each system update

Penguin 2014-02-01 13:30

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
If they are going to restrict access to all those permissions listed in /usr/share/mapplauncherd/privileges away from harbour applications they have just started to kill their whole business.

Messing with text files in this kind of configurations is stupid in my opinion. Anyway current way of implementing restriction in Jolla seems to be to restrict first and then think if it might have caused problems and possibly ignore everyone complaining.

I would love if there would be proper security and limitations for apps. I also want to be in charge of what permissions each app can get in my phone. It is nice if system could ask once if I want to grant Mitäkuuluu an access to contacts but it is not ok when system denies the access without asking anything and it is not ok if no harbour application can get such permissions.

Morpog 2014-02-01 13:52

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
Quote:

Originally Posted by coderus (Post 1410268)
So you can still use current mitakuuluu version, but you need to modify /usr/share/mapplauncherd/privileges and add lines:
Code:

/usr/bin/harbour-mitakuuluu,p
/usr/bin/harbour-mitakuuluu-server,p

and do it after each system update

hmm, doesn't seem to work for me. Even have rebooted device after adding contacts.

Edit: It can add contacts to contacts app, but when I edit it there, it won't be updated in Mitäkuuluu. Like name details or avatar picture. Also if I add the contacts in contact app first and then try to sync it in Mitäkuuluu, it doesn't work.

Can provide log if needed.

coderus 2014-02-01 14:37

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
I don't need anything, don't care :)

phuig 2014-02-01 15:28

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
Quote:

Originally Posted by coderus (Post 1410263)
@phuig logfile?

Do you need the whole file or just some part of it? Cant PM you the whole thing since its too long.

coderus 2014-02-01 15:47

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
@phuig yes complete log. attach main log file and archives from log folder to email and write time when bug happened.

phuig 2014-02-01 15:56

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
Quote:

Originally Posted by coderus (Post 1410293)
@phuig yes complete log. attach main log file and archives from log folder to email and write time when bug happened.

Sent. The time was after 10am gmt +2 today, forgot to add that to email. Sorry about that

Kaacz 2014-02-01 19:23

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
What about to use bypass ? :)

Code:

invoker --type=generic vcardconverter -e all.vcf

coderus 2014-02-01 19:56

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
@phuig you sent me two last files. i need at least two first.
@Kaacz bypass what? what is your message about?

willi6868 2014-02-01 20:38

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
I am unable to register with Mitakuuluu again since 2 days... I already registered once but changed to N9 again where registration is impossible.

If I try to register with Mitakuuluu (typing code manually) it is loading for ever.

But was able to register with Anroid app today.

Any hint how to be able to register on Jolla again? :confused:

coderus 2014-02-01 21:30

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
go to android account and delete it.

phuig 2014-02-01 21:39

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
Quote:

Originally Posted by coderus (Post 1410356)
@phuig you sent me two last files. i need at least two first.

I sent you all the files that are in the whatsapp logs folder, I only have whatsapp_log2.tar and whatsapp_log3.tar. Never even opened it before, so I have not deleted them.

thp 2014-02-02 01:17

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
Quote:

Originally Posted by Penguin (Post 1410273)
Messing with text files in this kind of configurations is stupid in my opinion.

I agree. That file is not supposed to be edited by the user or by applications, that's why nobody has even tried to make it easily editable by applications (otherwise it'd have been a "privileges.d"-style folder where each application can install a list of required privileges as separate file).

There will be a proper permissions system in place, we're just not there yet. And yes, for Harbour, the current way is restricting access by default and then only explicitly granting permissions.

If you don't go the Harbour way, and really wanted to solve this somehow *right now*, you could e.g. have a postinst/prerm scriptlet that adds/removes your application binary file to the permissions file. That's still hack-ish and might require reinstalling of your application after a system upgrade.

Quote:

Originally Posted by Penguin (Post 1410273)
I would love if there would be proper security and limitations for apps. I also want to be in charge of what permissions each app can get in my phone. It is nice if system could ask once if I want to grant Mitäkuuluu an access to contacts but it is not ok when system denies the access without asking anything and it is not ok if no harbour application can get such permissions.

Yes, that's coming. On the other hand, I'd argue that it's also not okay if every Harbour application would get all permissions (accessing contacts, etc..) by default without asking you. So for now, you kind-of can grant access to any such application manually already (by editing the privileges file as root), but not yet through some nice UI means.

Once a proper permissions system is in place, of course Harbour apps will be able to make use of it (and through that, get access to contacts if the user wants the app to get access to contacts).

By the way, with developer mode enabled, you can use "devel-su --privileged" to get a setgid privileged shell. For non-Harbour apps, you could have a setuid root helper that does setuid(nemo) + setgid(privileged) and then runs your application, which would also make it work. The implementation is left as an exercise to the reader.

coderus 2014-02-02 07:37

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
hm. you mean setuid and setgid are not restricted? good then, i'll just put binary itself to privileged group and it will work again. :)

dansocea 2014-02-02 11:34

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
i have edited the privileges file and added harbour-mitakuuluu and harbour-mitakuuluu-server to it with all the permissions available, however not even that fixed the problem. i see the list of contacts but i cannot import them in mitakuuluu. i've also tried starting mitakuuluu from a privileged console with the same result mentioned above.
although i understand why there is a need to restrict certain permissions from apps, completly blocking them is not the way. so far half the apps on my jolla come from openrepos and i would say the ones i mostly use are openrepos apps. at this point jolla is really shoting itself in the leg by blocking out non harbour apps. they should encourage developers like coderus rather than driving him to drop his project.




Quote:

Originally Posted by thp (Post 1410380)
I agree. That file is not supposed to be edited by the user or by applications, that's why nobody has even tried to make it easily editable by applications (otherwise it'd have been a "privileges.d"-style folder where each application can install a list of required privileges as separate file).

There will be a proper permissions system in place, we're just not there yet. And yes, for Harbour, the current way is restricting access by default and then only explicitly granting permissions.

If you don't go the Harbour way, and really wanted to solve this somehow *right now*, you could e.g. have a postinst/prerm scriptlet that adds/removes your application binary file to the permissions file. That's still hack-ish and might require reinstalling of your application after a system upgrade.



Yes, that's coming. On the other hand, I'd argue that it's also not okay if every Harbour application would get all permissions (accessing contacts, etc..) by default without asking you. So for now, you kind-of can grant access to any such application manually already (by editing the privileges file as root), but not yet through some nice UI means.

Once a proper permissions system is in place, of course Harbour apps will be able to make use of it (and through that, get access to contacts if the user wants the app to get access to contacts).

By the way, with developer mode enabled, you can use "devel-su --privileged" to get a setgid privileged shell. For non-Harbour apps, you could have a setuid root helper that does setuid(nemo) + setgid(privileged) and then runs your application, which would also make it work. The implementation is left as an exercise to the reader.


Eische 2014-02-02 12:01

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
Hi everybody.
I'm completely new to TMO. Or basically I was just a passive reader for a long time now.

I'm now using Jolla as my main phone and struggling with the latest contact sync problems. I've read all available information about this topic so far. So here are my two cents:

1. I started with a fresh install of v0.1-24 on Sailfish 1.0.3.8
2. In Mitäkuuluu only my groups were present on the start/contacts page. No contact so far.
3. Adding or syncing phone book contacts ended in an infinite loop
4. When I receive a message, contact is added to available contacts in Mitäkuuluu. whatsapp.db file is changed
5. Then I've done this and rebooted the phone:
Quote:

Originally Posted by coderus (Post 1410268)
So you can still use current mitakuuluu version, but you need to modify /usr/share/mapplauncherd/privileges and add lines:
Code:

/usr/bin/harbour-mitakuuluu,p
/usr/bin/harbour-mitakuuluu-server,p

and do it after each system update

6. When adding contacts now I can see my complete phone book with multiple entries per contact (one for each number)
7. Selecting some contacts for syncing or using pulley menu to sync whole phone book brings me back to Mitäkuuluu main page, with no effect.
8. checking in terminal reveals that whatsapp.db file has not changed
9. Then I followed this advice:
Quote:

Originally Posted by coderus (Post 1410402)
hm. you mean setuid and setgid are not restricted? good then, i'll just put binary itself to privileged group and it will work again. :)

by doing this:
Code:

devel-su
chgrp privileged /usr/bin/harbour-mitakuuluu
chgrp privileged /usr/bin/harbour-mitakuuluu-server

10. It has no effect, as I'm still not able to add contacts in Mitäkuuluu
11. I undid the changes in number 5. by commenting out the two lines and rebooted phone.
12. --> changes in number 9 have same effect as in number 5

So basic outcome is, that for some reason the whatsapp.db is not updated when you try to add contacts in Mitäkuuluu.
Even adding the whatsapp.db to privileged group does not bring any positive change
Code:

devel-su
chgrp privileged /home/nemo/.whatsapp/whatsapp.db

@coderus:
a. I will send you logfile and .db file for investigation.
b. Contacts (once available) are shown with either pushname or like "first name last name". Will it be possible to decide how to display contacts in contact list?

phuig 2014-02-02 14:15

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
Quote:

Originally Posted by coderus (Post 1410356)
@phuig you sent me two last files. i need at least two first.

Since I don't have the files, would reseting the device work? Don't wanna do it if the same problem persists even after a reset. Opinions?


Oh and by the way, mitakuuluu also started deleting messages. Either by showing that there are for example 10 new messages, and when I check the chat there are only 2 new, rest are gone before I've had a chance to read them. Or, I have 30 messages, leave chat, re-enter and 20 messages have vanished.

coderus 2014-02-02 15:24

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
@phuig pull down and selecting "Load old messages" not working for you?

Penguin 2014-02-03 00:06

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
Thanks thp! setguid really works with contacts access, at least for now. Anyway there must be some solution how to get access for harbour applications and it must be there soon. And I mean that because what this platform and Jolla phone is lacking most is useful applications, applications and applications. Only then there can be consumers buying these phones.

There are already few very good apps, including this one in subject, but very little official support for developer community. There is lot of unofficial communication and connections between devs and jolla which is good, but only if you are somehow already an insider in community. Anyway the reality is that although Jolla is business they need community, they need community developers and they need those developers who are not in that community, yet. I know that time and effort will fix these issues, but is there time enough and resources enough to fix all. I do not know.

yabush 2014-02-03 06:45

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
Hi, I just updated the phone to 1.0.3.8
I found that there's no lock screen notification of mitakuuluu...
is there any fix for it??

Eische 2014-02-03 07:10

Re: [v0.1-24] Mitakuuluu - indie WhatsApp client for Sailfish - Support thread
 
Quote:

Originally Posted by yabush (Post 1410570)
Hi, I just updated the phone to 1.0.3.8
I found that there's no lock screen notification of mitakuuluu...
is there any fix for it??

What do you mean? That the LED is not flashing?

Because I have notification icons both on the lockscreen and the notification view (with Sailfish 1.0.3.8). Both are small versions of the contacts avatar picture. I'm not sure if there is a default icon for contacts without avatar picture.


All times are GMT. The time now is 18:23.

vBulletin® Version 3.8.8