Giter VIP home page Giter VIP logo

jggtrans's People

Contributors

hiciu avatar jajcus avatar janekr avatar mmazur avatar smokku avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

jggtrans's Issues

XEP-0144 compliance

A small patch to make "gr" behave as stated in XEP-0144. Also a small bug considering groups seems fixed.

jggtrans-2.2.4 broken with libgadu 1.11.0

Hey,
Not quite as bug on jggtrans side but more like incompatibility with newest libgadu.

In short - compile and runs ok (as no crash or any that stuff) but roster list shows offline users with description as online.
Downgrading libgadu to 1.9.1 (minimal required) solved problem.

zrywanie połączeń z serwerem GG

Cześć,

Od kilku dni przestał mi działać transport, działalo kilka lat, nic nie zmieniałem i teraz w ogóle nie chce.
Używałem co prawda starszej wersji - 2.2.4+libgadu 1.9.0,
ale przekompilowałem teraz libgadu 1.11.2 + jggtrans aktualny kod z gita i bez zmian.
Pod tcpdumpem widzę, że się łączy do serwera, wymana kilku pakietów i koniec połączenia.

Log z -d 10 -D 10:

2013-10-10 10:43:47 Debug: Zmiana statusu gg na 32770
** gg_change_status(0x1e91590, 32770);
** gg_send_packet(0x1e91590, 0x38, ...);
2013-10-10 10:43:47 Debug: gg_notify_ex(0x1e91590,0x1e916f0,0x1e9a600,45)
** gg_notify_ex(0x1e91590, 0x1e916f0, 0x1e9a600, 45);
** gg_send_packet(0x1e91590, 0x10, ...);
2013-10-10 10:43:47 Debug: OUT:
** gg_event_free(0x1e9a750);
2013-10-10 10:43:47 Debug: io handler kończy...
2013-10-10 10:43:47 Debug: Sprawdzanie warunków błedów...
2013-10-10 10:43:47 Debug: obserwowanie fd (gg_debug_level=10)...
** gg_watch_fd(0x1e91590);
** gg_recv_packet(0x1e91590);
2013-10-10 10:43:47 Uwaga: Connection broken. Session of [email protected]/Pandion ,[GGnumber: ....]

Jakieś pomysły? U mnie się coś popsuło, czy GG zaczęło coś wykrywać i blokować?
Może przynajmniej ktoś da znać, że u niego nadal działa to będę wiedział, żeby kombinować u siebie (choć na razie pomysłów mi brak).

Dzięki.

Konto nie potwierdzone.

Używam ejabberd 2.1.5 + jggtrans. Przy próbie zarejestrowania się w kontakcie dostaję

Nie zapisuję użytkownika '[email protected]' - konto nie potwierdzone

Próbowałem i na wersji 2.2.2 i 2.2.4 (obie ciągnięte z githuba).

Nie można odpalić transportu w tle.

OS: FreeBSD 8.3
jggtrans: git (20130510)
Pakiety: gettext-0.18.1.1_1 libiconv-1.14_1 glib-2.34.3 pcre-8.32 pl-libgadu-1.11.2,1 libidn-1.26 expat-2.0.1_2 pkgconf-0.9.2_1

Po kompilacji najnowszego jggtrans wraz z pakietami wymienionymi wyżej, nie można uruchomić transportu w tle (wiesza się). Ubić można tylko przez 'kill -9', na 'kill -TERM' nie reaguje. Po odpaleniu na pierwszym planie (-f) pracuje poprawnie.

Automatic login does not work

For some reason, the transport does not automatically login after registration and after login to the Jabber account. Can this be fixed so that I can make a video tutorial for Coccinella?

Rozmowy grupowe

Bardzo by mi się przydała obsługa rozmów grupowych w transporcie.

jggtrans 2.2.4 nie loguje się

2013-10-21 11:51:50 Tworzenie sesji dla '[email protected]/Dom'
2013-10-21 11:51:50 Uwaga: Trying to log in on server 0
2013-10-21 11:51:50 Udane logowanie dla [email protected]/Dom, [numer GG: 5507607]
2013-10-21 11:51:50 Uwaga: Connection broken. Session of [email protected]/Dom ,[GGnumber: 5507607]
2013-10-21 11:51:50 Usuwanie sesji dla '[email protected]/Dom

Problem widoczny od jakiegoś czasu, dla wersji 2.2.4 (taka jest w Gentoo). Niestety jest problemy przy autogen.sh z 2.2.6 i nie mogę sprawdzić czy najnowsza też ma problem.

Serwer Jabbera to ejabberd, chociaż przedtem działało to poprawnie.

Unable to autogen.sh 1fbb9c0ae24c841d253c2efd5d31c65a7a4c525b

Had to manually edit configure.ac line:
+#AC_CONFIG_FILES([Makefile src/Makefile po/Makefile.in po/Makefile.in])
AC_CONFIG_FILES([Makefile src/Makefile po/Makefile.in])

Removed additional repetition of po/Makefile.in

Before removing the error was:

  • touch po/Makefile.in m4/Makefile
  • aclocal -I m4
    configure.ac:68: error: `po/Makefile.in' is already registered with AC_CONFIG_FILES.
    ../../lib/autoconf/status.m4:288: AC_CONFIG_FILES is expanded from...
    configure.ac:68: the top level
    autom4te: /usr/bin/m4 failed with exit status: 1
    aclocal: autom4te failed with exit status: 1
  • exit 1

After removing autogen.sh, configure and make passed correctly.

XEP-0093 -> XEP-0144

Aby działało get roster...

{{{
--- src/message.c.orig 2009-12-31 02:47:03.000000000 +0100
+++ src/message.c 2009-12-31 02:50:42.000000000 +0100
@@ -208,7 +208,7 @@
xmlnode_put_attrib(msg,"to",s->user->jid);
n=xmlnode_insert_tag(msg,"body");
roster=xmlnode_insert_tag(msg,"x");

body=g_strdup("");
results=g_strsplit(e->event.userlist.reply,"\r\n",0);
@@ -228,6 +228,7 @@

uin=atoi(cinfo[6]);
item=xmlnode_insert_tag(roster,"item");
  •   xmlnode_put_attrib(item,"action","add");
    
    t=g_strconcat(body,"\n",NULL);
    g_free(body);
    

}}}

problem przy kompilacji

{{{
[email protected]:# make
make all-recursive
Making all in libxode
Making all in include
make all-am
Making all in src
Making all in libgadu
/usr/local/bin/gmake all-recursive
Making all in lib
gmake[1]: Wej¶cie do katalogu /stuff/jggtrans-2.2.2/libgadu/lib' gmake[1]: Nie ma nic do zrobienia wall'.
gmake[1]: Opuszczenie katalogu /stuff/jggtrans-2.2.2/libgadu/lib' gmake[1]: Wej¶cie do katalogu/stuff/jggtrans-2.2.2/libgadu'
gmake[1]: Nie ma nic do zrobienia w all-am'. gmake[1]: Opuszczenie katalogu/stuff/jggtrans-2.2.2/libgadu'
Making all in src
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I../libgadu/lib -I/usr/local/include -I../libxode/include -I/usr/local/include -DVERSION=""2.2.2"" -DSYSCONFDIR=""/usr/local/etc"" -DLOCALEDIR=""/usr/local/share/locale"" -g -O2 -Wall -MT jggtrans-acl.o -MD -MP -MF ".deps/jggtrans-acl.Tpo" -c -o jggtrans-acl.o test -f 'acl.c' || echo './'acl.c; then mv -f ".deps/jggtrans-acl.Tpo" ".deps/jggtrans-acl.Po"; else rm -f ".deps/jggtrans-acl.Tpo"; exit 1; fi
In file included from acl.c:21:
conf.h:23: error: syntax error before "config"
conf.h:23: warning: type defaults to int' in declaration ofconfig'
conf.h:23: warning: data definition has no type or storage class
acl.c: In function acl_init': acl.c:35: error: syntax error before "node" acl.c:41: error:node' undeclared (first use in this function)
acl.c:41: error: (Each undeclared identifier is reported only once
acl.c:41: error: for each function it appears in.)
acl.c:41: warning: implicit declaration of function xmlnode_get_tag' acl.c:44: warning: implicit declaration of functionxmlnode_get_firstchild'
acl.c:44: warning: implicit declaration of function xmlnode_get_nextsibling' acl.c:45: warning: implicit declaration of functionxmlnode_get_name'
acl.c:45: warning: assignment makes pointer from integer without a cast
acl.c:50: warning: implicit declaration of function xmlnode_get_attrib' acl.c:50: warning: assignment makes pointer from integer without a cast acl.c:52: warning: assignment makes pointer from integer without a cast acl.c: At top level: acl.c:76: error: syntax error before "xmlnode" acl.c: In functionacl_is_allowed':
acl.c:80: error: syntax error before "x"
acl.c:83: error: from' undeclared (first use in this function) acl.c:91: error:x' undeclared (first use in this function)
acl.c:91: warning: implicit declaration of function xmlnode_new_tag' acl.c:92: warning: implicit declaration of functionxmlnode_insert_tag_node'
acl.c:92: error: node' undeclared (first use in this function) acl.c:103: warning: implicit declaration of functionxmlnode_free'
*** Error code 1

Stop in /stuff/jggtrans-2.2.2/src.
*** Error code 1

Stop in /stuff/jggtrans-2.2.2.
*** Error code 1

Stop in /stuff/jggtrans-2.2.2.
}}}

[http://www.combor.net/config.log]

Zmiana hasła na poziomie samego transportu

Przydatny feature, gdy ktoś korzysta w domu z GG, a w pracy z przyczyn niezależnych musi/chce z Jabbera. Gdy zmieni hasło w domu czy też gdzie indziej np. przez webgadu czy też natywnego klienta GG, to mozliwość korzystania z konta przez jabbera zyskuje dopiero po ingerencji administratora i zmianie hasła w pliku użytkownika (w spoolu transportu) na serwerze.

net-im/gg-transport-2.2.{4,6} segmentation fault in local_translate (str=0x34eb52fbcac "\203=\365\377\060") at main.c:267

Zgłaszam błąd upstreamowi:)
https://bugs.gentoo.org/show_bug.cgi?id=409555

ggtransport is killed by hardened-kernel, in dmesg I can find:

[705011.307357] jggtrans[46908] trap int3 ip:2cfb4bd1e7c sp:3aede48f840 error:0
[705011.307377] grsec: From 62.121.127.119: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for usr/sbin/jggtrans[jggtrans:46908] uid/euid:0/0 gid/egid:0/0, parent /bin/bash[bash:44975] uid/euid:0/0 gid/egid:0/0

With pl_PL.utf8 locale:
gdb /usr/sbin/jggtrans
GNU gdb (Gentoo 7.3.1 p2) 7.3.1
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
http://bugs.gentoo.org/...
Reading symbols from /usr/sbin/jggtrans...Reading symbols from /usr/lib64/debug/usr/sbin/jggtrans.debug...done.
done.
(gdb) run
Starting program: /usr/sbin/jggtrans
2012-03-24 15:05:50 Błąd krytyczny: Nie można załadować konfiga!

Program received signal SIGTRAP, Trace/breakpoint trap.
0x0000034eb5d05e7c in ?? ()
(gdb) bt
#0 0x0000034eb5d05e7c in ?? ()
#1 0x0000000000000006 in ?? ()
#2 0x0000000000000005 in ?? ()
#3 0x000000000b17391f in ?? ()
#4 0x0000000000000001 in ?? ()
#5 0x0000006cf1954e82 in local_translate (str=0x34eb52fbcac "\203=\365\377\060") at main.c:267
#6 0x0000000000000000 in ?? ()

(gdb) bt full
#0 0x0000034eb5d05e7c in ?? ()

No symbol table info available.
#1 0x0000000000000006 in ?? ()

No symbol table info available.
#2 0x0000000000000005 in ?? ()

No symbol table info available.
#3 0x000000000b17391f in ?? ()

No symbol table info available.
#4 0x0000000000000001 in ?? ()

No symbol table info available.
#5 0x0000006cf1954e82 in local_translate (str=0x34eb52fbcac "\203=\365\377\060") at main.c:267

    lc_ctype = 0x5 <Address 0x5 out of bounds>
    lc_messages = 0x6 <Address 0x6 out of bounds>
    td_codeset = 0xb17391f <Address 0xb17391f out of bounds>
    ret = 0x34eb5d06219 "1\300\017\266T$\030\351\002\376\377\377D\211\305H\213\005!\310."

#6 0x0000000000000000 in ?? ()

No symbol table info available.

With en_US.utf8 locale:
LC_ALL=en_US.utf.8 LANG=en gdb /usr/sbin/jggtrans
GNU gdb (Gentoo 7.3.1 p2) 7.3.1
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
http://bugs.gentoo.org/...
Reading symbols from /usr/sbin/jggtrans...Reading symbols from /usr/lib64/debug/usr/sbin/jggtrans.debug...done.
done.
(gdb) run
Starting program: /usr/sbin/jggtrans
2012-03-24 15:07:28 Fatal error: Couldn't load config!

Program received signal SIGTRAP, Trace/breakpoint trap.
0x000003271b45ae7c in ?? ()
(gdb) bt
#0 0x000003271b45ae7c in ?? ()
#1 0x0000032700000006 in ?? ()
#2 0x0000000000000005 in ?? ()
#3 0x0000000000000000 in ?? ()

(gdb) bt full
#0 0x000003271b45ae7c in ?? ()

No symbol table info available.
#1 0x0000032700000006 in ?? ()

No symbol table info available.
#2 0x0000000000000005 in ?? ()

No symbol table info available.
#3 0x0000000000000000 in ?? ()

No symbol table info available.

problem przy kompilacji

{{{
[email protected]:# make
make all-recursive
Making all in libxode
Making all in include
make all-am
Making all in src
Making all in libgadu
/usr/local/bin/gmake all-recursive
Making all in lib
gmake[1]: Wej¶cie do katalogu /stuff/jggtrans-2.2.2/libgadu/lib' gmake[1]: Nie ma nic do zrobienia wall'.
gmake[1]: Opuszczenie katalogu /stuff/jggtrans-2.2.2/libgadu/lib' gmake[1]: Wej¶cie do katalogu/stuff/jggtrans-2.2.2/libgadu'
gmake[1]: Nie ma nic do zrobienia w all-am'. gmake[1]: Opuszczenie katalogu/stuff/jggtrans-2.2.2/libgadu'
Making all in src
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I../libgadu/lib -I/usr/local/include -I../libxode/include -I/usr/local/include -DVERSION=""2.2.2"" -DSYSCONFDIR=""/usr/local/etc"" -DLOCALEDIR=""/usr/local/share/locale"" -g -O2 -Wall -MT jggtrans-acl.o -MD -MP -MF ".deps/jggtrans-acl.Tpo" -c -o jggtrans-acl.o test -f 'acl.c' || echo './'acl.c; then mv -f ".deps/jggtrans-acl.Tpo" ".deps/jggtrans-acl.Po"; else rm -f ".deps/jggtrans-acl.Tpo"; exit 1; fi
In file included from acl.c:21:
conf.h:23: error: syntax error before "config"
conf.h:23: warning: type defaults to int' in declaration ofconfig'
conf.h:23: warning: data definition has no type or storage class
acl.c: In function acl_init': acl.c:35: error: syntax error before "node" acl.c:41: error:node' undeclared (first use in this function)
acl.c:41: error: (Each undeclared identifier is reported only once
acl.c:41: error: for each function it appears in.)
acl.c:41: warning: implicit declaration of function xmlnode_get_tag' acl.c:44: warning: implicit declaration of functionxmlnode_get_firstchild'
acl.c:44: warning: implicit declaration of function xmlnode_get_nextsibling' acl.c:45: warning: implicit declaration of functionxmlnode_get_name'
acl.c:45: warning: assignment makes pointer from integer without a cast
acl.c:50: warning: implicit declaration of function xmlnode_get_attrib' acl.c:50: warning: assignment makes pointer from integer without a cast acl.c:52: warning: assignment makes pointer from integer without a cast acl.c: At top level: acl.c:76: error: syntax error before "xmlnode" acl.c: In functionacl_is_allowed':
acl.c:80: error: syntax error before "x"
acl.c:83: error: from' undeclared (first use in this function) acl.c:91: error:x' undeclared (first use in this function)
acl.c:91: warning: implicit declaration of function xmlnode_new_tag' acl.c:92: warning: implicit declaration of functionxmlnode_insert_tag_node'
acl.c:92: error: node' undeclared (first use in this function) acl.c:103: warning: implicit declaration of functionxmlnode_free'
*** Error code 1

Stop in /stuff/jggtrans-2.2.2/src.
*** Error code 1

Stop in /stuff/jggtrans-2.2.2.
*** Error code 1

Stop in /stuff/jggtrans-2.2.2.
}}}

[http://www.combor.net/config.log]

Gadu Gadu transport i Gmail

Jest pewien problem z transportem gadu gadu i kontami Gmail. Otóż chodzi o to że jeśli uruchomi się transport na kontach gmail to nie ma możliwości rozmowy z osobami które nie mają cię na liście kontaktów, da się jakoś ten problem ominąć ?

JS bug #5084: Transport doesn't support JEP-0085 (Chat State Notifications)

Test conditions:

  • client: Tkabber 0.9.8 (cvs 11. Oct 2005) with chat state notifications turned on
  • transport: gg.chrome.pl (v2.2.1)

Steps to reproduce:

  • send any message to transport (eg. 'help')
  • transport responds with help message
  • closing the window/panel triggers sending a chat state message in tkabber:
    <message to='gg.chrome.pl/registered'
- after closing window/panel new message appears from gg.chrome.pl with standard help: type='chat'>

Dostępne komendy (i skróty): ... and so on...

Blokowanie reklam GG

Tuż po podłączeniu przychodzi reklama GG w formie strony z javascriptem. Na szczęście moje psi wyświetla to jako tekst pochodzący od użytkownika, którego numer jest mniejszy niż 29999.
Blokowanie użytkownika, który wysłał reklamę powoduje, że reklamę wysyła następny - i tak w kółko, co podłączenie.

Błąd przy wyszukiwaniu użytkowników.

Przy wyszukiwaniu niektórych osób gdy jako kryterium wyszukiwania podaje się numer GG zwracane są błędne informacje (od innej osoby - innego numeru GG). Numer GG powodujący błąd podałem do prywatnej wiadomości właściciela projektu.

JS bug #5215: Unexpected stopping of gg-transport

Sometimes unreproducable gg-transport is going to stop by its own. Message from logfile: Error: Connection to jabber server broken

This isn't possible, because jabber-server is always in a running state, so I'm sure it's the transports fault.

Register time of last use of an account

It would be great if jggtrans registered somewhere in XML when specific account last logged. Thanks to that we could do some cleaning of unused accounts.

<presence type="unsubscribed"> sent on login

As reported by Andrzej on the mailing list:

Może zanim zmergujecie - prośba o przyjrzenie się temu drugiemu. Nie wiem
dlaczego, ale ta wersja po każdym logowaniu wysyła pakiet

2010-04-13 17:48:05 Debug: Szukanie sesji dla 'user1@host/psi-pedrito'
2010-04-13 17:48:05 Debug: Używam 'user1@host' jako klucza
2010-04-13 17:48:05 Debug: Sesja nie znaleziona
2010-04-13 17:48:05 Debug: OUT:

wersja z xiaoka tego problemu nie ma. Sprawdzane na najnowszym ejabberd
(ale na wersj bodajze 2.0.1 tez nie dzialalo jak trzeba)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.