|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
Licq History converter to Pidgin LogsHi!
I've developed a little script which converts the Licq history to Pidgin (i.e. Purple) logs. Please find it attached. Save it to a directory and make it executable by chmod u+x licq2pidgin.php The script uses the PHP command line interpreter and automatically scans the logs of Licq. Then it compares the Licq users with the buddies known by Pidgin and gives warnings. A new blist.xml.FromLicq file is created which contains the "new" buddies. Then the Licq logs are converted and put to the appropriate Pidgin log directories. Since the Licq logs are one file per user and Pidgin uses one file per user _per_conversion_, this split-up is performed if the two messages are more than 8 hours apart. A problem remains: The added buddies are removed by Pidgin upon the next start. The debug output says: oscar: ssi: syncing local list and server list oscar: ssi: removing buddy 123456789 from local list ... oscar: ssi: activating server-stored buddy list Bye Hansi _______________________________________________ Support@... mailing list Want to unsubscribe? Use this link: http://pidgin.im/cgi-bin/mailman/listinfo/support |
|
|
Re: Licq History converter to Pidgin LogsOn Sat, 2009-11-07 at 16:43 +0100, Johann Glaser wrote:
> A problem remains: The added buddies are removed by Pidgin upon the next > start. The debug output says: > oscar: ssi: syncing local list and server list > oscar: ssi: removing buddy 123456789 from local list > ... > oscar: ssi: activating server-stored buddy list I don't know if PHP has DBus support (but a Google search could probably answer that). If it does, you could add the buddies while Pidgin is running, such that they'd be added to the server as well. Richard _______________________________________________ Support@... mailing list Want to unsubscribe? Use this link: http://pidgin.im/cgi-bin/mailman/listinfo/support |
|
|
Re: Licq History converter to Pidgin LogsHi!
Am Sonntag, den 08.11.2009, 12:56 -0600 schrieb Richard Laager: > On Sat, 2009-11-07 at 16:43 +0100, Johann Glaser wrote: > > A problem remains: The added buddies are removed by Pidgin upon the next > > start. The debug output says: > > oscar: ssi: syncing local list and server list > > oscar: ssi: removing buddy 123456789 from local list > > ... > > oscar: ssi: activating server-stored buddy list > > I don't know if PHP has DBus support (but a Google search could probably > answer that). If it does, you could add the buddies while Pidgin is > running, such that they'd be added to the server as well. Thanks for the hint! Is it true that in this case every added contact requires a new confirmation of "acceptance" by him? Why does Pidgin at all silently (at least for 99% of all users, who don't read the output of --debug) delete buddies? Bye Hansi _______________________________________________ Support@... mailing list Want to unsubscribe? Use this link: http://pidgin.im/cgi-bin/mailman/listinfo/support |
|
|
Re: Licq History converter to Pidgin LogsOn Sun, 2009-11-08 at 21:03 +0100, Johann Glaser wrote:
> Is it true that in this case every added contact requires a new > confirmation of "acceptance" by him? I'm not sure. I don't think I've touched that part of the code. You'll just have to look and see, or wait for someone else to jump in with an answer. > Why does Pidgin at all silently (at least for 99% of all users, who > don't read the output of --debug) delete buddies? AFAIK, it's *respecting* the list from the server. This ensures that if someone makes changes using another client (possibly on another machine), their changes are reflected in Pidgin. I think our MSN plugin still prompts users for any discrepancies. FWIW, your same "99% of all users" aren't going to be manually editing the blist.xml file. ;) Richard _______________________________________________ Support@... mailing list Want to unsubscribe? Use this link: http://pidgin.im/cgi-bin/mailman/listinfo/support |
|
|
Re: Licq History converter to Pidgin LogsHi!
Am Sonntag, den 08.11.2009, 14:56 -0600 schrieb Richard Laager: > On Sun, 2009-11-08 at 21:03 +0100, Johann Glaser wrote: > > Is it true that in this case every added contact requires a new > > confirmation of "acceptance" by him? > > I'm not sure. I don't think I've touched that part of the code. You'll > just have to look and see, or wait for someone else to jump in with an > answer. Some time ago I tried to add a user which was in the Licq-client-list to Pidgin (which used the server list). At this time a new authorization request was necessary. I guess the ICQ servers require this authorization if you add a user to the server-list. > > Why does Pidgin at all silently (at least for 99% of all users, who > > don't read the output of --debug) delete buddies? > > AFAIK, it's *respecting* the list from the server. This ensures that if > someone makes changes using another client (possibly on another > machine), their changes are reflected in Pidgin. I think our MSN plugin > still prompts users for any discrepancies. > > FWIW, your same "99% of all users" aren't going to be manually editing > the blist.xml file. ;) Hehe, yes. The changed-by-other-client reason was clear. But what if due to another reason some users vanish? Hmm, probably ICQ clients now always rely on the server list. Bye Hansi _______________________________________________ Support@... mailing list Want to unsubscribe? Use this link: http://pidgin.im/cgi-bin/mailman/listinfo/support |
|
|
Re: Licq History converter to Pidgin LogsOn Sun, Nov 8, 2009 at 2:44 PM, Johann Glaser <Johann.Glaser@...> wrote:
> Hi! > > Am Sonntag, den 08.11.2009, 14:56 -0600 schrieb Richard Laager: >> On Sun, 2009-11-08 at 21:03 +0100, Johann Glaser wrote: >> > Is it true that in this case every added contact requires a new >> > confirmation of "acceptance" by him? >> >> I'm not sure. I don't think I've touched that part of the code. You'll >> just have to look and see, or wait for someone else to jump in with an >> answer. > > Some time ago I tried to add a user which was in the Licq-client-list to > Pidgin (which used the server list). At this time a new authorization > request was necessary. I guess the ICQ servers require this > authorization if you add a user to the server-list. Yeah, this will probably result in the ICQ servers asking each buddy for authorization. I believe the protocol does have some concept of "importing" a non-server side list of buddies and not asking for authorization, but Pidgin/libpurple does not support this. It also may not be documented anywhere. And it may not be possible. Is licq capable of using a server-side buddy list? If so, does it have a way to import your old buddies? If so, that is probably your best option. >> > Why does Pidgin at all silently (at least for 99% of all users, who >> > don't read the output of --debug) delete buddies? >> >> AFAIK, it's *respecting* the list from the server. This ensures that if >> someone makes changes using another client (possibly on another >> machine), their changes are reflected in Pidgin. I think our MSN plugin >> still prompts users for any discrepancies. >> >> FWIW, your same "99% of all users" aren't going to be manually editing >> the blist.xml file. ;) > > Hehe, yes. The changed-by-other-client reason was clear. But what if due > to another reason some users vanish? Hmm, probably ICQ clients now > always rely on the server list. Yes, we trust the server list for AIM and ICQ. The local copy is useful for storing additional metadata about buddies (the alias you assign to them, the last-seen timestamp, etc.) -Mark -Mark _______________________________________________ Support@... mailing list Want to unsubscribe? Use this link: http://pidgin.im/cgi-bin/mailman/listinfo/support |
|
|
Re: Licq History converter to Pidgin LogsHi!
Am Montag, den 09.11.2009, 11:28 -0800 schrieb Mark Doliner: > On Sun, Nov 8, 2009 at 2:44 PM, Johann Glaser <Johann.Glaser@...> wrote: > > Hi! > > > > Am Sonntag, den 08.11.2009, 14:56 -0600 schrieb Richard Laager: > >> On Sun, 2009-11-08 at 21:03 +0100, Johann Glaser wrote: > >> > Is it true that in this case every added contact requires a new > >> > confirmation of "acceptance" by him? > >> > >> I'm not sure. I don't think I've touched that part of the code. You'll > >> just have to look and see, or wait for someone else to jump in with an > >> answer. > > > > Some time ago I tried to add a user which was in the Licq-client-list to > > Pidgin (which used the server list). At this time a new authorization > > request was necessary. I guess the ICQ servers require this > > authorization if you add a user to the server-list. > > Yeah, this will probably result in the ICQ servers asking each buddy > for authorization. I believe the protocol does have some concept of > "importing" a non-server side list of buddies and not asking for > authorization, but Pidgin/libpurple does not support this. It also > may not be documented anywhere. And it may not be possible. > > Is licq capable of using a server-side buddy list? If so, does it > have a way to import your old buddies? If so, that is probably your > best option. I don't really know. I didn't even notice the transfer from client-side to server-side user list. Somehow it must have imported them. But strangely enough, not all of them. I have lots of old accounts which are not in the server list. Probably these were not active since the transition. Bye Hansi _______________________________________________ Support@... mailing list Want to unsubscribe? Use this link: http://pidgin.im/cgi-bin/mailman/listinfo/support |
| Free embeddable forum powered by Nabble | Forum Help |