Commit graph

489 commits

Author SHA1 Message Date
Yann Leboulanger
2377437112 do not print empty message (fix #301) 2005-05-20 11:23:08 +00:00
Yann Leboulanger
894e38cc7f client.DisconnectHandler is no more called, so no TB will be raised when disconected
so no need to embrace every "send" call in try: except: block
2005-05-20 10:49:46 +00:00
Nikos Kouremenos
e7e88cd701 bugfix 2005-05-20 00:12:15 +00:00
Nikos Kouremenos
19235f6f68 win32: path is even better now .gajim ==> Gajim 2005-05-20 00:09:18 +00:00
Nikos Kouremenos
d2e0782121 win32 fix: save logs in the correct place and issue correct messages not only POSIX 2005-05-20 00:05:18 +00:00
Nikos Kouremenos
148fe12a2d removing () from ifs and foo==0 becomes not foo in an if 2005-05-19 17:50:19 +00:00
Yann Leboulanger
739021ec02 print error messages when we get Process() exception 2005-05-18 18:57:54 +00:00
Nikos Kouremenos
120fb4b3a0 suse is lsb compliant, but doesnot put lsb_release by default until 9.3 so readding scanning for suse file [now it is tested too] 2005-05-18 17:02:46 +00:00
Nikos Kouremenos
9a70ab0218 Some distros put to optional LSB vars n/a, so detect that and remove it.
SUSE uses lsb_release for quite a lot of versions I've been told so depend only on lsb for SuSE [the files things was untested in SUSE anyways]
2005-05-18 16:42:28 +00:00
Nikos Kouremenos
79c5b5d0e2 hidden_rows ==> collapsed_rows 2005-05-18 16:30:59 +00:00
Yann Leboulanger
f92cdf02cb set self.connected to 0 before dispatching the status to the GUI so the connectiing icon should disapear if connection failed 2005-05-18 14:05:54 +00:00
Yann Leboulanger
bb424fecf1 put xmpp.Process() in a try/except (see ticket #291) 2005-05-18 13:42:12 +00:00
Yann Leboulanger
d479973e2c do not translate debug messages 2005-05-18 12:02:27 +00:00
Yann Leboulanger
35e6ac3de8 we can now join password protected groupchats 2005-05-18 09:18:29 +00:00
Yann Leboulanger
19a1f45159 set the log level after the config file has been parsed 2005-05-18 07:38:47 +00:00
Yann Leboulanger
bf05e29ebb do not print debubg if verbose = False 2005-05-17 21:33:41 +00:00
Yann Leboulanger
9fcb9f1d70 no need of global things in systray.py 2005-05-17 20:31:43 +00:00
Yann Leboulanger
99401f2abb add a DATA_DIR in gajim 2005-05-17 17:37:50 +00:00
Nikos Kouremenos
67dd479d35 making previous commit a bit more clear 2005-05-15 19:23:44 +00:00
Nikos Kouremenos
9dcf2d0e79 removing colors from DEBUG when in windows 2005-05-15 19:19:00 +00:00
Nikos Kouremenos
4ef68bb7e5 important bug in xmpppy does not allow us to default to tls True. In fact big stanzas result in disconnection. So until it fixed, TLS is *highly* discouraged [maybe we should disable it via GUI] cause I was even able to get disconnection when sending huge text [so not only disco related but allover] 2005-05-15 13:17:05 +00:00
Nikos Kouremenos
0d4084ead7 hiddenlines or hidden_lines ==> hidden_rows 2005-05-15 11:37:00 +00:00
Nikos Kouremenos
a7bf88e8f1 removing string module it is deprecated 2005-05-15 11:35:42 +00:00
Nikos Kouremenos
6174a6cb51 removing colors when in windows 2005-05-15 11:34:48 +00:00
Yann Leboulanger
324e8b25bf save status in Connection class
send our show / status when we join a gc
2005-05-13 18:54:44 +00:00
Yann Leboulanger
e1020b288f the delayed timestamp in before time.time() ! 2005-05-13 18:23:08 +00:00
Nikos Kouremenos
0a0cd669eb last_msg ==> last_status_msg and change_title ==> change_roster_title 2005-05-13 18:00:13 +00:00
Yann Leboulanger
5ebc240eeb tell xmpppy that stanza is treated when we send the version 2005-05-13 17:20:13 +00:00
Yann Leboulanger
bbe1c02fc2 finish changing config option names ... 2005-05-12 17:46:17 +00:00
Nikos Kouremenos
00cd5dd0dc fixed #264 2005-05-12 17:17:20 +00:00
Nikos Kouremenos
47eb596780 do not fail if ~/.gajim is file or ~/.gajim/logs is file. also use os.path.join() for / to become \ for 9x until now I think we have been failing 2005-05-12 13:43:17 +00:00
Nikos Kouremenos
d4d667690e applying patch by Alexey to allow Gajim to exit after disconnection. 2005-05-12 09:13:35 +00:00
Yann Leboulanger
6ab10d5fe5 logger.py do the replacements, not history_windows.py 2005-05-11 17:48:30 +00:00
Yann Leboulanger
88f4449fbb we now catch the errors when we connect and when we authentificat to the server 2005-05-11 16:37:01 +00:00
Yann Leboulanger
c22e2c5f7a bugfix: when we have an error, we sane an error to the GUI, not a notify 2005-05-11 15:14:43 +00:00
Nikos Kouremenos
d98a451764 send and show N/A if client or os is empty 2005-05-11 11:09:53 +00:00
Yann Leboulanger
225ca870f1 we now catch all errors and send them to the gc if it's open 2005-05-11 10:05:43 +00:00
Yann Leboulanger
b5244d8a9c according to JEP-0100, no need to get the key of an agent to remove it 2005-05-11 09:08:06 +00:00
Yann Leboulanger
1926369859 don't send an error iq after we process the roster iq (thx Alexey) close #251 2005-05-11 07:55:17 +00:00
Yann Leboulanger
2f35fade71 bugfix when keepalive package doen't come back 2005-05-10 17:45:10 +00:00
Yann Leboulanger
87f19fb638 print all errors in gc 2005-05-10 16:53:28 +00:00
Yann Leboulanger
6fa84c0dfe we now support user and password for proxy 2005-05-10 15:38:16 +00:00
Yann Leboulanger
aa9de25923 Alexey patch that allows discover that server is violating RFC by not restarting stream after TLS start.
If server did such thing xmpppy will not crash unpredictely but will issue a appropriate exception.
2005-05-10 09:27:04 +00:00
Yann Leboulanger
61558b8942 we write the new account option in the config file only when the account has been successfully registered 2005-05-10 09:20:35 +00:00
Nikos Kouremenos
a23ed9704c bye bye jabber.py [I like it, it rhymes :P] 2005-05-09 22:19:01 +00:00
Yann Leboulanger
3fd078dd0b we can now disable the use of TLS 2005-05-09 19:52:43 +00:00
Yann Leboulanger
0f66868a70 revert latest commit I did (sorry) 2005-05-09 10:34:47 +00:00
Yann Leboulanger
0c8b0bbde2 /me\n or /me /t is also valid ! 2005-05-09 10:30:34 +00:00
Yann Leboulanger
c741fbef11 remove unneeded lines 2005-05-08 21:03:42 +00:00
Yann Leboulanger
f4b05e51fa request_register_agent_info is now async 2005-05-08 20:56:11 +00:00