maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   Proper integration of telepathy accounts (https://talk.maemo.org/showthread.php?t=80501)

Niwakame 2011-12-09 20:54

Re: Proper integration of telepathy accounts
 
@Naughty:
4|19|tmc-uid|s|<telepathy uid>
This is just totally wrong ^^ Usually values in <> should be replaced by you.

replace <telepathy uid> by the string you'll get when using "mc-tool list"
something like haze/msn/SOMETHINGELSEHERE

:P

@Naughty
Remove the faulty entry via sqlite3:
Code:

DELETE FROM settings WHERE value = "<telepathy uid>";
@billranton:
I'm currently trying to attach a debugger to get what values were missing...

Naughty 2011-12-09 21:18

Re: Proper integration of telepathy accounts
 
THANKS!
After deleting the wrong entry, mc-tool list started to work again! how do i insert the correct value back to sql database? First time that I deal with sql, lol :D.

I have haze/msn/<acc id> twice, can i delete one? which one? and why is there a jabber acc with same id as msn?
Code:

/home/user # mc-tool list
haze/msn/kxxx_40pxxx_2eorg1
gabble/jabber/kxxx_40pxxx_2eorg0
haze/msn/kxxx_40pxxx_2eorg0
ring/tel/ring
spirit/skype/kxxx_2dkxxx0
mmscm/mms/mms0


Niwakame 2011-12-09 21:25

Re: Proper integration of telepathy accounts
 
it will give you something like
Code:

haze/msn/jabjab
this whole string is your <telepathy uid> so replace <telepathy uid> by "haze/msn/jabjab" <-- whatever mc-tool list gives you there
without <>

Ok ... account adding is working so far, but it's not calling mc-tool...one step after the other ^^

Niwakame 2011-12-10 00:04

Re: Proper integration of telepathy accounts
 
2 Attachment(s)
Ok last update...I can now add an ICQ account from the accounts tab and don't have to do anything with sqlite3 or mumbojumbo...

I've attached the .service and .provider files.

Note: Accounts in E-Mail Format don't seem to work for now. Please only use an account which has a Number (UIN)

icq.service goes to /usr/share/accounts/services
icq.provider goes to /usr/share/accounts/providers

You will still need the following files installed
http://talk.maemo.org/showpost.php?p...&postcount=123

Edit1: Verified MSN is working! yaaaay Attachment below
Edit2: Verified Yahoo is working...will upload zip tomorrow.

I'm currently in the process of setting up scratchbox to package everything in a .deb file.

Schturman 2011-12-10 14:13

Re: Proper integration of telepathy accounts
 
Quote:

Originally Posted by Niwakame (Post 1135678)
Ok last update...I can now add an ICQ account from the accounts tab and don't have to do anything with sqlite3 or mumbojumbo...

I've attached the .service and .provider files.

Note: Accounts in E-Mail Format don't seem to work for now. Please only use an account which has a Number (UIN)

icq.service goes to /usr/share/accounts/services
icq.provider goes to /usr/share/accounts/providers

You will still need the following files installed
http://talk.maemo.org/showpost.php?p...&postcount=123

Edit1: Verified MSN is working! yaaaay Attachment below
Edit2: Verified Yahoo is working...will upload zip tomorrow.

I'm currently in the process of setting up scratchbox to package everything in a .deb file.

Can you share please the Yahoo service-provider files (ZIP), before .deb package ? Thanks

Niwakame 2011-12-10 14:33

Re: Proper integration of telepathy accounts
 
Ok, installation should be now as easy as installing these three .deb files in a row (simply download by click on them, and then start the installation by clicking in your Transfers window on the appropriate download).

I've mirrored all of the necessary files for convenience:

#1: http://n9.indigoblack.de/deb/libpurp...10.0_armel.deb

#2: http://n9.indigoblack.de/deb/telepat....0-1_armel.deb

#3: http://n9.indigoblack.de/deb/im-prov...tional-0.2.deb

If you wish to deinstall these later, simply go to
Programs -> Manage Programs -> im-providers-additional and select Deinstall.

Note: This will not remove your accounts, they will simply not show up anymore, if you install the package later again, they will appear.

Note2: If you experience any icon corruption in Accounts view, please restart

Niwakame 2011-12-10 14:36

Re: Proper integration of telepathy accounts
 
1 Attachment(s)
Quote:

Originally Posted by Schturman (Post 1135879)
Can you share please the Yahoo service-provider files (ZIP), before .deb package ? Thanks

Sure, but I don't know why this should be necessary...I highly recommend to use the .deb file for easy management in case of removal.
It also installs the icons from billranton.

billranton 2011-12-10 14:37

Re: Proper integration of telepathy accounts
 
This is really great stuff, can't wait to try it out later. Are the accounts editable too? Can we add extra parameters from the sqlite db to the files, like Nickname and avatar? Does it store password in the credentials db instead of plaintext?

Niwakame 2011-12-10 14:38

Re: Proper integration of telepathy accounts
 
Quote:

Originally Posted by billranton (Post 1135889)
This is really great stuff, can't wait to try it out later. Are the accounts editable too? Can we add extra parameters from the sqlite db to the files, like Nickname and avatar? Does it store password in the credentials db instead of plaintext?

I'd say version 0.2 ;) Avatar selection is enabled in ICQ, but doesn't work sadly. The selection is empty :( Maybe it's looking in a directory we yet don't know.

Account credentials are stored inside .accounts/accounts.db automatically.

billranton 2011-12-10 14:54

Re: Proper integration of telepathy accounts
 
No I meant the passwords for the other accounts aren't stored in the clear in the db or in telepathy for skype etc. It uses some kind of encrypted credentials db. Hopefully the generic plugin will do the same.

I got an error installing:

dpkg: error processing /home/developer/im-providers-additional-.1.deb (--install):
error setting permissions of `./usr/share/accounts/services/aol.service': Operation not permitted

Looks like a bad path?


All times are GMT. The time now is 08:08.

vBulletin® Version 3.8.8