Commit graph

3174 commits

Author SHA1 Message Date
js
573568f9ac Reverted r9614 and r9615.
Sorry, bct, but I think it is to early to merge that as it completely
breaks. It seems nobody in gajim@conference.gajim.org considers it
usable yet.
I don't know if you got asterix' ok for it and I'm sorry if I reverted
it now although you had his ok, but having broken trunk is very
contra-productive. I think it was just too early to merge.
2008-05-11 13:17:28 +00:00
Brendan Taylor
24203f367f fixed use of get_control 2008-05-11 01:48:10 +00:00
Brendan Taylor
2162c3730a merged in session_centric branch 2008-05-11 01:19:59 +00:00
js
4c3dc0b092 That still was the wrong place, it was initialized too early. Fixed. 2008-05-10 23:42:29 +00:00
js
91211e189d Fix DnD FT on Windows:
* Fix helpers.py so URL is decoded correctly.
* Fix code in roster_window.py so the \0 that's alway the last file
  on win32 is ignored.

This also fixes and closes #2398.
2008-05-10 23:21:28 +00:00
js
e335055709 Fix broken exception handling for OTR in connection.py. 2008-05-10 22:22:09 +00:00
js
4eeb96368b Store otr_userstates at the right place and create it the right way.
This fixes the crash when creating a new account, which made Gajim
unusable on systems where it never ran before.
2008-05-10 21:29:47 +00:00
js
04725e830c Fix file transfers on win32. 2008-05-10 15:40:27 +00:00
js
64ee7c14a7 Fix a backtrace. session isn't always defined here. Fixed. 2008-05-10 14:23:55 +00:00
js
435042968e Added OTR support.
Work done by Kjell Braden <fnord@pentabarf.de>.
Some fixes done by me.
2008-05-09 12:35:25 +00:00
Yann Leboulanger
3193a8e8cf [Florob] Send and handle nicknames reveices through PEP. Fixes #3651 2008-05-05 21:55:59 +00:00
Yann Leboulanger
da3e8a7328 remove a connect_failure callback when we are connected. Fixes #3914 2008-05-05 08:50:07 +00:00
Yann Leboulanger
2560f844c1 [Florob] ability to retract pubsub events. fixes #3913 2008-05-05 07:48:13 +00:00
Jean-Marie Traissard
75ffe12157 Change very bad var names 2008-05-05 03:18:09 +00:00
Jean-Marie Traissard
5689daf66b In configure room, works even if we receive an affiliation list with more than one affiliation inside.
More logical, more secure and example 90 in xep-0045 says it can happen. Deal also with affiliation 'none' (don't show it)
2008-05-05 00:38:52 +00:00
Stephan Erb
f217ae91f5 Fix indentation. Please test patches before commiting... 2008-05-05 00:05:20 +00:00
Yann Leboulanger
ea8af84886 [mrk] remove an old gnomekeyring workarround. Fixes #3920 2008-05-04 21:44:05 +00:00
Brendan Taylor
d15b9dea6e reuse existing chat sessions and controls 2008-05-03 16:52:27 +00:00
Jean-Marie Traissard
bd812b8f26 [elghinn] Specify exception we want to catch so we see if there are others
problems.
2008-05-03 01:30:05 +00:00
Brendan Taylor
99f2997d27 pm fixes 2008-05-03 00:10:17 +00:00
Brendan Taylor
20beea4b49 fixed groupchat 2008-05-02 02:32:28 +00:00
Brendan Taylor
d4a766963f multiple chat session windows per contact. groupchat and pms broken. 2008-04-30 02:55:13 +00:00
Yann Leboulanger
96a50f6c07 don't depend on python2.5 Fixes #3888 2008-04-27 18:11:34 +00:00
Brendan Taylor
051bd6e1b7 fixed e2ee traceback 2008-04-26 01:52:03 +00:00
Yann Leboulanger
07a8d9d948 category is mendatory 2008-04-24 13:44:09 +00:00
Yann Leboulanger
f4f38e3738 type in identities is not mendatory 2008-04-22 23:52:04 +00:00
Jean-Marie Traissard
a43e6d2cfa Oops, *I* made an error in last changeset 2008-04-22 18:48:41 +00:00
Jean-Marie Traissard
ea3f446d8a [elghinn] Fix logic 2008-04-22 18:43:50 +00:00
Stephan Erb
fb12c17fb9 In obvious cased, don't compare boolean values to True or False. 2008-04-21 20:52:35 +00:00
Stephan Erb
92b596a698 Use startswith() instead of string slicing to check for prefixes or suffixes.
It's cleaner and less error prone, so simply use it everywhere.
2008-04-21 20:39:55 +00:00
Jean-Marie Traissard
68fdb002df Use good message time 2008-04-21 16:35:39 +00:00
Jean-Marie Traissard
94580b3019 Change the way last_history_time for room is saved. Save time in mem at each message logged. When closing
control, save the value in rooms_last_message_time table. Previous version could introduce duplicate logs or
messages not logged.
2008-04-21 15:48:06 +00:00
Yann Leboulanger
f2f0c7aba0 use tuple instead of dict in __name: dict are not hashable 2008-04-21 14:44:19 +00:00
Yann Leboulanger
dc48eeea96 fix static variable usage 2008-04-21 14:18:19 +00:00
Yann Leboulanger
f593c5c2ac fix property definition 2008-04-21 14:16:20 +00:00
Yann Leboulanger
0527b7e0ea move __name to static attribute of CacheItem class 2008-04-21 13:16:41 +00:00
Yann Leboulanger
67bd94dd55 fix property code in caps.py 2008-04-21 12:57:34 +00:00
Jean-Marie Traissard
30f1a15efb Don't log room description at each gc connection 2008-04-21 00:00:52 +00:00
Yann Leboulanger
a3827fe5d0 new XEP-0115 implementation (version 1.5) 2008-04-20 22:58:47 +00:00
Jean-Marie Traissard
0ca9610680 [elghinn] Cleaner way to check if we have gpg 2008-04-20 18:40:59 +00:00
Jean-Marie Traissard
1846cfefc6 Remove global temp vars after use 2008-04-20 15:24:34 +00:00
Stephan Erb
4e6bd4ee8f Port roster_window to gtk.TreeModelFilter.
Contacts are now online hidden when they connect/reconnect and not completely removed/readded. Should come with a great speed improvement for people with big rosters.
There are still a few known problems but non that should dalay this patch any longer. Related bugs will be tracked with 'modelfilter' keyword.

See #1201
2008-04-20 14:01:04 +00:00
Yann Leboulanger
54608822a3 always say we want to receive pep notifications even if server don't support it. 2008-04-19 22:08:40 +00:00
Yann Leboulanger
0158db6001 show better error message when sending message to a room where we are no more connected. fixes #3870 2008-04-18 18:35:53 +00:00
Yann Leboulanger
ef97e91a1d put namespace name in protocol.py 2008-04-18 18:19:33 +00:00
Yann Leboulanger
041969309d add many supported features to disco#info reply. fixes #3872 2008-04-18 18:10:12 +00:00
Jean-Marie Traissard
968b2acc4f http://python.org/dev/peps/pep-0008/ " Comparisons to singletons like None should always be done with
'is' or 'is not', never the equality operators."
Comparisons to None part; second one...
roster_win.py is NOT checked here (waiting for modelfilter)
2008-04-18 00:26:07 +00:00
Jean-Marie Traissard
2ce13dc40e http://python.org/dev/peps/pep-0008/ " Comparisons to singletons like None should always be done with 'is' or 'is not', never the equality operators."
Comparisons to None part
roster_win.py is NOT checked here (waiting for modelfilter)
2008-04-18 00:02:56 +00:00
Yann Leboulanger
fdf46e5430 one more typo 2008-04-16 19:52:47 +00:00
Yann Leboulanger
18c8500f9b really fix SQL query 2008-04-16 19:41:36 +00:00