Stephan Erb
abe75901d4
Remove some extra model refiltering.
...
Whenever we write to the underlying child_model gtk will call the _visible_func on itself.
2008-05-19 20:08:32 +00:00
js
f92f5f5c64
Send thread ID on ending OTR session so that self.session is defined
...
when that event is received and the lock icon updated.
2008-05-19 20:04:48 +00:00
Brendan Taylor
b0aeefcbb5
flush xmpppy's send queue before disconnecting
2008-05-19 20:04:14 +00:00
Stephan Erb
ea00e4d933
Improve select_contact method.
...
* use correct API in session.py
* only filter when really needed
2008-05-19 20:00:41 +00:00
js
5f7f717e29
Again, not update_ui(), but update_otr()!
2008-05-19 19:06:11 +00:00
js
50e31a5072
Again, it's update_otr(), not update_ui()!
2008-05-19 19:04:44 +00:00
js
303a09d7c8
update_ui() doesn't call update_otr(). We want update_otr() here.
2008-05-19 18:57:14 +00:00
js
acc78e6d48
Coding style & make translatable.
2008-05-19 18:48:53 +00:00
Brendan Taylor
368dd9fe66
missed part of that last patch
2008-05-19 18:30:04 +00:00
Brendan Taylor
f413a8a7e8
should fix zeroconf-related tb on exit
2008-05-19 18:27:45 +00:00
js
0346e29e89
*sigh* I'm too confused today. This is nicer.
2008-05-19 18:01:50 +00:00
js
03f64fb23c
Sorry, empty messages killed OTR. Fixed.
2008-05-19 17:58:16 +00:00
js
41fe6ed927
Better check if msgtxt is not None.
2008-05-19 17:54:51 +00:00
js
1cbe5678da
* When we receive a plaintext, non-tagged message, don't append OTR
...
tag to outgoing messages anymore. Messages are not even passed to
libotr anymore then.
* If we don't support OTR, strip OTR tags from the message before
displaying it.
2008-05-19 17:41:51 +00:00
js
0deebd859d
* Close our session when the remote end does.
...
* Don't set encrypted = True if it was only a tagged plaintext msg.
2008-05-19 14:24:34 +00:00
js
2586c999fe
Fix automatic start of OTR session.
2008-05-19 13:52:45 +00:00
js
12014b40b6
* If found, automatically use included gtk on win32.
...
* Don't include docutils stuff in win32 builds.
2008-05-19 10:58:03 +00:00
Brendan Taylor
fad6d2ef7e
pass session when dispatching MSGNOTSENT
2008-05-19 00:17:39 +00:00
Brendan Taylor
4ddadc68d9
fix clicking on notification-daemon sign-in notification
2008-05-18 21:17:53 +00:00
js
ad5248f3dc
Coding style.
2008-05-18 21:15:58 +00:00
js
0cc5b4c377
Lock icon didn't show authenticated correctly. Fixed.
2008-05-18 21:14:59 +00:00
js
24afebd309
Link to the OTR wiki page in the features window.
2008-05-18 20:39:03 +00:00
js
fcbb71a6d2
This shoudl fix tab completion in GC. For real now, I hope.
2008-05-18 19:51:58 +00:00
js
2be8792fd3
Coding style.
2008-05-18 19:44:43 +00:00
js
b8909e86ce
Fixed a BT.
2008-05-18 19:26:05 +00:00
js
8a6615a5d0
Renable OTR. I found a way no messages will get lost, but it's more
...
or less a workaround. We never let libotr handle unencrypted messages
now and handle notifying the user about the message not being encrypted
ourself.
2008-05-18 19:11:13 +00:00
Julien Pivotto
9e8e34403c
Correct some bugs with the name used to create a MUC from a 1-to-1 chat when the server can't send a unique key. See #2095 .
2008-05-18 18:00:02 +00:00
Brendan Taylor
e5fac7315e
don't create sessions for pubsub and xep-0070 messages
2008-05-18 17:35:00 +00:00
js
b0a7998934
Set type hint for notifications NOT using pynotify.
2008-05-18 13:03:40 +00:00
Julien Pivotto
79678de341
make continued conversations unbrowsable. fix #3783
2008-05-17 16:23:44 +00:00
Julien Pivotto
3d21a3b6b0
One-to-one chat to MUC: set a beter tab name than the jid of the room. See #2095 .
2008-05-17 14:00:27 +00:00
js
f6e74e22b6
Same for groupchat.
2008-05-17 13:32:37 +00:00
js
edf8738a39
Don't show events from buttons in advanced menu, only show them when
...
triggered via the banner right-click menu.
2008-05-17 13:14:34 +00:00
Brendan Taylor
517d962221
fixed link-local messaging (broken by session-centric) and removed a ton of duplicated/unused code
2008-05-17 02:23:46 +00:00
js
75ad801f62
Fix music_track_info for multiple accounts.
2008-05-16 16:04:51 +00:00
js
aaf3ca3161
Disable OTR until the libotr devs fix their very broken API.
2008-05-16 15:29:23 +00:00
js
96a5b497a8
* Remove old code to update status to current track.
...
* Don't bind the track listener when not enabled anymore.
* Remove the signal / add the signal when changed in preferences.
2008-05-15 19:52:04 +00:00
js
129c115837
PEP creates less traffic now and MPRIS is now more tolerant.
2008-05-15 17:42:32 +00:00
Brendan Taylor
b7863b0316
fix tb when closing chat control after e2e ended
2008-05-15 04:03:19 +00:00
Stephan Erb
d41f245370
Remove debug print.
2008-05-14 18:45:06 +00:00
Yann Leboulanger
44fc7ddd0c
fix caps hash computaion according to XEP-0115. fixes #3925
2008-05-14 18:30:39 +00:00
Brendan Taylor
2552e1024f
fixed dropped messages after initiating a tic-tac-toe game with a contact that doesn't support sessions
2008-05-14 02:57:29 +00:00
Brendan Taylor
58478b032d
fixed opening chat with multiple resources
2008-05-14 02:20:31 +00:00
Brendan Taylor
63d6c2875e
fix an undefined variable when scrolling the roster
2008-05-14 01:47:10 +00:00
Brendan Taylor
8d7750b203
fix multipopup when receiving several unthreaded messages
2008-05-14 00:37:06 +00:00
Brendan Taylor
ade56853fe
moved session.remove_events. fixes #3942
2008-05-14 00:34:02 +00:00
Yann Leboulanger
f8b12e3b6b
fix traceback: get variable where it is. fixes #3943
2008-05-13 22:04:50 +00:00
Yann Leboulanger
005cc0770e
fix indentation
2008-05-13 21:27:13 +00:00
Yann Leboulanger
b7eff5b22d
fix function call. fixes #3941
2008-05-13 21:26:53 +00:00
Yann Leboulanger
a7f8053e5e
fix coordinate convertion in tictactoe
2008-05-13 14:26:52 +00:00
Yann Leboulanger
35aefc2df8
indentation is with tabs
2008-05-13 14:03:30 +00:00
Brendan Taylor
fffa574015
fixed bt when closing tab when multiple tabs with a JID are open
2008-05-13 12:51:35 +00:00
Brendan Taylor
371e75ef40
fixed tab/space consistency
2008-05-13 02:03:26 +00:00
Brendan Taylor
d511b5afc4
merged in session-centric branch, with fixes for OTR compatibility
2008-05-13 01:59:10 +00:00
js
d2a62f39f8
[Kjell Braden] Fix a crash with OTR.
2008-05-11 20:19:45 +00:00
js
7d02042f6d
Make logging of OTR status changes a bit nicer.
...
Still not ideal. Maybe add a new log type for encryption? ESessions
could also use this…
2008-05-11 18:18:34 +00:00
js
0378ed821d
Don't log the OTR initiation request (?OTR?).
2008-05-11 17:40:22 +00:00
js
2a51c443e5
D'oh.
2008-05-11 17:19:54 +00:00
js
fc762157c0
* Disable OTRv1 by default.
...
* Don't send our JID on OTR request! It might reveal our JID in MUC!
2008-05-11 17:18:44 +00:00
js
4958b28e1d
Sorry, last commit missed one hunk.
2008-05-11 13:41:23 +00:00
js
d2731268d7
[Kjell Braden] Fix OTR for chat and GC queries for real now.
2008-05-11 13:20:22 +00:00
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
d69d5266b5
Fix a OTR related crash on exit.
2008-05-11 01:07:38 +00:00
js
b5a9edc6b4
Fix crash in GC query when OTR is active.
2008-05-11 00:45:15 +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
9438e3d175
Add OTR in features window.
2008-05-10 11:47:04 +00:00
js
c4b2cdc31f
* Add button for new chat window GUI.
...
* Buttons get disabled as needed now [we still need something to update
this while the window is open (it might change, for example, the
contact was added)].
* Remove the new accelerators in destroy_menu().
* Move some OTR stuff.
* Don't hide OTR from the user if not available, but set unsensitive.
2008-05-10 11:39:25 +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
js
b04250cf9f
Added bookmarks for *EVERY* button in chat window and GC window.
2008-05-09 09:34:38 +00:00
Stephan Erb
115006fa14
Fix add_transport function. TODO: Use it.... xD
2008-05-08 22:15:56 +00:00
Stephan Erb
56da8d7cfb
Some random roster cleanups:
...
* remove unused code
* use self.model directly when obvious
* cleanup some FIXME comments
2008-05-08 22:09:43 +00:00
Stephan Erb
708e48a2a7
Do not redefine built-in 'iter'. Follow recommendation and use 'titer' instead.
2008-05-08 21:53:26 +00:00
Stephan Erb
bbb07caa0a
Coding standards.
2008-05-08 21:18:39 +00:00
Stephan Erb
5b5412621e
Fix assertion message.
2008-05-07 18:07:31 +00:00
Stephan Erb
09b3af3367
Allow to have several SelfContact jids in merged accounts mode. Previously only one was shown.
2008-05-07 17:42:42 +00:00
js
dbdf6a135e
Improve the last commit, popup is shown under the button now.
2008-05-07 16:36:45 +00:00
js
4c29f03d6c
Make Alt-A work again.
2008-05-07 16:24:15 +00:00
js
99a8c05bb8
* Converted GC to new GUI as well.
...
* Moved some code so we can get rid of a few ifs.
What still needs to be done for the GUI redesign to be complete:
Don't show entries in the actions menu that have buttons.
2008-05-07 15:34:00 +00:00
Yann Leboulanger
e31324f740
string prep nickname before joining. Fixes #3770
2008-05-07 10:23:29 +00:00
Stephan Erb
d6b95daa8b
Add transports to roster only once. Fixes #3911 , #3923 .
2008-05-06 22:25:27 +00:00
Stephan Erb
1e68eb3de9
Sync groups of metacontacts to fix a potential bug. Contact iters of brothers might not be found, though they are in roster.
2008-05-06 17:43:03 +00:00
Stephan Erb
b1a2951634
Make "invite to" menuitem sensitive when possible. Regression introduced in r9524.
2008-05-06 16:46:33 +00:00
Yann Leboulanger
3193a8e8cf
[Florob] Send and handle nicknames reveices through PEP. Fixes #3651
2008-05-05 21:55:59 +00:00
js
ab1f59c433
Same for groupchat.
2008-05-05 18:43:44 +00:00
js
b42a89d269
Why enforce /say if we can just imply /say when it's a not implemented
...
command? This is far more userfriendly. If you have any objections,
feel free to revert and I'll think of something else that's not as
annoying as /say.
2008-05-05 18:37:15 +00:00
Yann Leboulanger
2f225c2b22
enable keepalives as soon as account is created. Fixes #3769
2008-05-05 09:18:46 +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
5742d2e1e7
We do not need to check that, it's already done in conn_handlers._MucAdminCB()
2008-05-05 00:44:08 +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