Commit graph

425 commits

Author SHA1 Message Date
Yann Leboulanger
0f41e49758 set default timeout of xmpp to 45 instead of 25 2005-05-23 09:53:05 +00:00
Nikos Kouremenos
1c16aa578d better strings [not more clear but TYPOS in English and unknown words] {so I had to break the string being frozen} {sorry for that}
also introducing greek transl [half tooltips remain with english text, but 0.7 can live with it if I do not get to finish it before 0.7]
2005-05-21 01:28:18 +00:00
Yann Leboulanger
686a9a0bd9 when an error occure while Process()ing xmpp, we print the TB so it's easier to debug 2005-05-20 17:30:29 +00:00
Nikos Kouremenos
41e7d106d8 typo 2005-05-20 16:46:07 +00:00
Yann Leboulanger
58ab395501 <status> is not a must (except when using GPG) 2005-05-20 15:32:05 +00:00
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
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
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
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
5ebc240eeb tell xmpppy that stanza is treated when we send the version 2005-05-13 17:20:13 +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
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
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
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
Yann Leboulanger
4985612036 remove unneeded line 2005-05-08 17:47:52 +00:00
Yann Leboulanger
1753a316e4 the removal of an agent is now async 2005-05-08 17:33:08 +00:00
Yann Leboulanger
2171def073 we get the roster asynchronously now 2005-05-08 17:00:41 +00:00
Yann Leboulanger
fab74069c6 Gajim is JEP-0011 compliemt now 2005-05-07 12:24:19 +00:00
Yann Leboulanger
56d60f3fd5 xmpppy changes:
- Sync with latest CVS version + gajim patches.
- streamErrorHandler disabled. If you want enable it - unrem it at line 66 of
  dispatcher.py
- TLS re-enabled. Should work fine now
- disconnection TLS plugout re-enabled. Didn't successed in reproducing
  problem though so maybe not fixed.
- My temporary fixes replaced with CVS ones.

gajim connection.py changes (in chunks order):
- getTags is incorrect. Replaced with getChildren
- browseAgents is absent from xmpppy. Fixed with manual node send. Made use of
  buildReply method and con argument
- formatting fix
- crude fixed register problem. I do not know how to do it properly. It is
  client stuff. Honest! I have no idea how to make it non-blocking and yet make
  library to fallback to older protocols.
  getInstructions() moved to xmpppy
Thanks Alexey !
2005-05-07 10:57:40 +00:00
Yann Leboulanger
e8965ae8b4 send keepalive every minute 2005-05-04 19:20:02 +00:00
Nikos Kouremenos
7d26b7db8c config value log --> verbose. perhaps in the future debug (coz in the future we will have an xml window) or just stick with verbose :P 2005-05-03 16:26:30 +00:00
Yann Leboulanger
4005f944c7 no xmpppy debug when log = False 2005-05-03 08:06:59 +00:00
Nikos Kouremenos
4779c800b7 removing \ where not needed 2005-04-30 08:48:50 +00:00
Nikos Kouremenos
0b331139ed connection.py still problematic, just adding the stuff alexey said in case his grab this to continue fixing 2005-04-29 14:15:16 +00:00
Yann Leboulanger
cd771c22ef add a new child for each option instead of always rewrite over the same 2005-04-27 22:14:28 +00:00
Yann Leboulanger
eef71fcb27 xmpppy gives us the UTC time, we convert it to localtime 2005-04-27 18:26:31 +00:00
Yann Leboulanger
5ee1f2b29a fix a typo 2005-04-26 22:19:18 +00:00
Yann Leboulanger
3cd6922815 fix some typos 2005-04-26 21:33:01 +00:00
Yann Leboulanger
c85273d556 switch from jabberpy to xmpppy 2005-04-26 18:45:54 +00:00
Yann Leboulanger
581b387bd9 print the error when we try to configure a room and we don't have permission 2005-04-25 22:22:23 +00:00
Yann Leboulanger
bafbd5a5de when we send configuration of a gc, we only send values (we don't send label, descriptions etc...) 2005-04-25 09:30:24 +00:00
Yann Leboulanger
a2b6a44079 ask and show os info from each resource 2005-04-24 22:58:41 +00:00
Yann Leboulanger
e2b6b84694 '1' is also valid in the forms 2005-04-24 16:14:50 +00:00