Yann Leboulanger
3f838e5f3e
don't request jabber:iq:last and jabber:iq:version to real jid in a (semi) anonymous room, even if we're moderator and we know the real JID. Fixes #3454
2008-07-11 06:21:19 +00:00
Yann Leboulanger
4db9685849
add mrim transport icons. Fixes #4078
2008-07-10 12:18:26 +00:00
Brendan Taylor
ebcb659196
improved esession auth messages
2008-07-09 03:10:50 +00:00
Brendan Taylor
75027b6e0c
change auth icon when SAS is verified
2008-07-09 02:11:42 +00:00
Brendan Taylor
2e97cc3adb
snagged tango security icons from gnome-icon-theme
2008-07-09 02:03:57 +00:00
Stephan Erb
c99048b02f
Fix two caps related tracebacks:
...
Quick fix: What does not exist cannot support anything. Fixes #4031 .
Fix variable referencing. Fixes #4076 .
2008-07-08 19:15:54 +00:00
Stephan Erb
fca6bdbbc4
[Florob] Improved URL matching.
...
We don't match all valid URIs like blub:blaa but include common used (non)-urls like www.google.de
2008-07-08 18:49:51 +00:00
Brendan Taylor
8da186bffb
fix a couple of GC and PM TBs
2008-07-07 03:51:05 +00:00
Stephan Erb
40c2b97c99
Redraw family after readding. See r9894
2008-07-06 22:55:42 +00:00
Stephan Erb
0bb1f1d656
Correctly readd a metacontact family after removing a single brother.
...
* Coding standards
* remove useless key-list creation
2008-07-06 22:24:58 +00:00
Jean-Marie Traissard
926953252b
Make nick completion work fine with an empty refer_to_nick_char
...
Make nick completion sorted case-insensitive. Fixes #4063 . (was already IMO)
Restore #2975 way. Last nick that highlighted us are first. Fixes #2975 .
2008-07-06 22:24:19 +00:00
Stephan Erb
eda061e15d
Don't crash when we receive contacts that have a group tag assigned multiple times.
...
Remove some usage of has_key() in the contacts module. It is a bit slower (method overhead) and will be deprecated soon.
In roster_window. make a small if-clause more pythonic.
2008-07-06 21:35:19 +00:00
Yann Leboulanger
2f857870f3
add caps_* arguments in create_contact
2008-07-05 19:16:04 +00:00
Yann Leboulanger
4c33f4d478
typo
2008-07-05 19:08:15 +00:00
Yann Leboulanger
74c53da32a
fix arguments order in contacts.py, some coding standards. should fix #4081
2008-07-05 19:04:27 +00:00
Yann Leboulanger
3ad1f9afed
remove useless print
2008-07-05 18:25:39 +00:00
Yann Leboulanger
32bb251381
typo
2008-07-05 18:25:09 +00:00
Yann Leboulanger
1e636e7824
warn before connecting without PyOpenSSL. fixes #4065
2008-07-05 18:07:32 +00:00
Stephan Erb
0671e6c865
Correctly count metacontacts in non merged accounts mode if we have metacontacts over several accounts.
2008-07-05 06:33:49 +00:00
Stephan Erb
215fdc964a
Count metacontacts only once.
...
Remove timing information for roster drawing.
2008-07-04 21:29:46 +00:00
Brendan Taylor
e32b184cf7
fix GroupchatControl session-related TB
2008-07-04 00:30:07 +00:00
Brendan Taylor
17844361bb
sesison-related TB fixes
2008-07-03 23:19:44 +00:00
Yann Leboulanger
2fd4ea7637
keep caps info when we create a contact instance from groupchat_contact instance
2008-07-03 21:43:28 +00:00
js
9ce8e28c0a
Fix missing ).
2008-07-02 12:27:12 +00:00
Yann Leboulanger
26785a25f1
fix traceback when unblocking a group. fixes #4074
2008-07-02 10:57:31 +00:00
js
46913c541b
XEP-0184 uses the new caps-checking way now.
2008-07-02 10:48:15 +00:00
js
0405981b15
Added a function to check for specific features. This makes
...
implementing a later coming fallback to disco rather easy.
2008-07-02 09:20:49 +00:00
js
38760989d1
Typo.
2008-07-02 08:47:01 +00:00
js
62fe1c72e3
Use caps to determine remote clients' support for specific features.
...
Caps is now used for: File Transfers, MUC Invites, Ad-Hoc Commands.
TODO:
* Also handle it this way for typing notifications
(This might give some trouble / compatibility issues)
* Fall back to service discovery if no caps are available. Otherwise,
we break compatibility with a lot of clients. (Asterix?)
2008-07-01 10:26:50 +00:00
Stephan Erb
a836c7eca9
Fix really bad modelfilter bug that may have caused segfaults.
...
This also fixes the problem of showing the wrong icon when expanding metacontacts.
Example:
We have the groups A, B, C in our child model
But only A and C are visible (and therefore in modelfilter)
Imagine we have a childIter_G pointing to group B
Getting its path in the childmodel, will give us (lets say) 2
2 means now the second group/row in the CHILD model
We now pass this to the tree and tell him "Expand row 2"
The tree itself is looking at the 2nd row of modelfilter: "Hey modelfilter, expand row number 2"
For modelfilter row number 2 is C and NOT B
2008-06-30 22:23:07 +00:00
Stephan Erb
a1f595b78f
Commit two new assert statements in roster window.
...
We are not absolutely sure why some things are happening. Maybe that will help tracing the strange bugs.
2008-06-30 21:27:04 +00:00
Brendan Taylor
3a94e595e5
missed a / in </b>
2008-06-29 16:25:10 +00:00
Brendan Taylor
908bf97fbc
fix esession toggling
2008-06-29 15:57:07 +00:00
Brendan Taylor
b490904454
make esession authentication warning less obtrusive
2008-06-29 04:39:29 +00:00
js
408d3b4ff6
Revert r9859 as this killed the stream.
...
This isn't an easy fix, we need to stop using expat in namespace aware
mode.
2008-06-29 01:40:49 +00:00
js
23cdc3fd6f
Don't disconnect on unbound prefixes.
...
Fixes #3083 . I can't believe this was unfixed for so long, as it's
really a rather easy fix.
2008-06-29 01:25:52 +00:00
js
6b3414552a
Leopard's X11 is started automagically - we don't need this anymore.
2008-06-28 23:05:14 +00:00
Stephan Erb
81dfec2b2a
Close preset messages popup before closing the status window. Otherwise GTK will freeze when the window is closed after the inactivity timer has expired. Fixes #4052
2008-06-27 21:11:08 +00:00
Yann Leboulanger
2f14a995ee
don't send our presence when we unblock a contact and we are invisible. Fixes #4001
2008-06-27 16:48:05 +00:00
Yann Leboulanger
db3ddc71ff
prevent TB when reading pending events. Fixes #4035
2008-06-27 15:56:09 +00:00
Yann Leboulanger
7b5a692c3c
correctly escape jids in caps
2008-06-27 15:19:00 +00:00
Yann Leboulanger
db09ad11d7
entity capabilities for groupchat contacts. fixes #4033
2008-06-27 15:07:15 +00:00
Jean-Marie Traissard
a9877f14dd
[erlehmann] Fixed regular URL matching expressions for "-".
2008-06-27 10:50:09 +00:00
Jean-Marie Traissard
65ec746e4f
Fix ctrl + tab (get_control called with too much parameters)
2008-06-27 10:00:27 +00:00
Brendan Taylor
5a772a046c
teeny-tiny fix
2008-06-26 23:37:24 +00:00
Brendan Taylor
b21a1e2489
win.get_controls() isn't needed anymore
2008-06-26 23:37:12 +00:00
Brendan Taylor
e3613be1fa
first pass at stripping out the one-tab-per-session code
2008-06-26 23:36:58 +00:00
Stephan Erb
59b9e86fbb
[erlehmann] Improved regular URL matching expressions. Fixes #3715 .
...
URLs like (http://myFoobar.org ) and http://en.wikipedia.org/wiki/Mornington_Crescent_(game) are now correctly detected.
2008-06-26 22:24:27 +00:00
Stephan Erb
766decde58
Fix typo.
2008-06-26 17:47:28 +00:00
Stephan Erb
2cd24aa8ae
Do not update metacontacts when nothing has changed. Fixes sending metacontact info to server when we expand a groupchat.
2008-06-26 14:09:27 +00:00
Yann Leboulanger
a62328ecd3
remove duplicate function, simplify logic
2008-06-26 11:30:13 +00:00
Yann Leboulanger
371a38c91c
increase xmpppy verbosity when we use -l gajim=DEBUG
2008-06-26 10:01:12 +00:00
Stephan Erb
2c83acb614
Various roster_window and modelfilter fixes.
...
* Do not double escape group names
* Try to remove SelfContact on disconnect only once
* Do not show minimized groupchats which were minimized after disconnect
* Always reset group expand state after adding a contact to roster.
2008-06-25 13:15:05 +00:00
Yann Leboulanger
9457c28a63
don't try the old (XEP-018) way to go invisible. It's not XMPP complient. That prevent to show the we are invisible but we are not. Fixes #4012
2008-06-25 09:25:43 +00:00
Yann Leboulanger
d2b5b31bde
acknowledge privacy list set iqs as required by XEP-0016
2008-06-25 07:35:35 +00:00
Yann Leboulanger
16fc7508ae
remove unused function
2008-06-25 07:13:42 +00:00
Yann Leboulanger
d4c8cb8b15
don't think connection to server failed when only first connection attempt failed when creating a new account
2008-06-25 06:56:03 +00:00
Stephan Erb
e17cbf0da0
Remove unused function. Make remove_groupchat more solid.
2008-06-24 22:15:10 +00:00
Brendan Taylor
d885e05500
don't send thread ids in message receipts unless there's a thread
2008-06-24 01:17:02 +00:00
Yann Leboulanger
9512a941ad
mood and activity menuitem changes to Checkmenuitem
2008-06-23 19:42:40 +00:00
Yann Leboulanger
bed750410e
ability to ignore a transport contact. see #3984
2008-06-23 16:21:21 +00:00
Brendan Taylor
d6be46be84
hopefully fix some has_window bugs
2008-06-21 19:12:58 +00:00
Brendan Taylor
8b4627049b
moved session negotiation handling from gajim.py to session.py
2008-06-21 19:12:47 +00:00
Yann Leboulanger
d764cc26be
when we right click on a word in conversation textview, even if it's not selected, show actions menuitem to look in dictionary and so on. see #2874
2008-06-20 09:31:15 +00:00
Yann Leboulanger
8fed8ac0ed
handle unknown message type as 'normal'. fixes #3977
2008-06-20 07:17:27 +00:00
Yann Leboulanger
ef0b115710
quick fix for private messages until we support caps for them. see #4033
2008-06-20 06:34:24 +00:00
Yann Leboulanger
3d2e97d251
when we are disconnected from server, we then try to reconnect only with the type (tls, ssl, plain) that worked first time. Fixes #3896
2008-06-19 18:05:15 +00:00
Brendan Taylor
7721abb2b1
fix handle_event() for pms and new_chat_from_jid() for existing chat controls
2008-06-18 04:11:11 +00:00
Stephan Erb
b1f13ca040
Remove Non-ASCII character.
2008-06-17 19:27:32 +00:00
Stephan Erb
473e2cdbd8
Handle remote roster changes.
...
* Don't traceback when another resource of us is moving contacts to new/different groups.
* Always refilter all involved groups.
* It is now possible to not update contacts severside when using add/remove_from_groups
2008-06-17 19:25:17 +00:00
js
9c75374da4
Use the namespace variable. Sorry, forgot to change that here.
2008-06-17 18:17:30 +00:00
js
abdd43e5eb
Type in NS.
2008-06-17 18:13:23 +00:00
js
9634f98250
* Implemented XEP-0184 section 5.
...
* Added NS_RECEIPTS to protocol namespace list.
* Show our support of XEP-0184 in caps.
* Added a big, fat warning to get_contact as this does not work as
expected.
* There was some strangeness in our XEP-0022, it added an id tag to
the x tag, which isn't mentioned anywhere in the XEP. And for some
strange reason, that id even was the same all the time.
* Fixed a typo.
2008-06-17 16:03:21 +00:00
Yann Leboulanger
5e5733e40a
fix traceback when no control is opened. fixes #4024 , #4028
2008-06-17 05:39:20 +00:00
Brendan Taylor
16c7dfca91
fix undefined variables in handle_event()
2008-06-17 03:27:54 +00:00
Yann Leboulanger
1d745c1c9d
use SSLv23 method (it support SSLv2, v3 and TLSv1) instead of only TLSv1 method as some server (gmail) don't support TLSv1 method. fixes #3786
2008-06-16 14:12:59 +00:00
Yann Leboulanger
2f6106bda5
don't allow /ping command for zeroconf account. Fixes #3685
2008-06-16 12:56:16 +00:00
Jean-Marie Traissard
1712fee325
[sgala] Prevent TB
2008-06-16 09:51:03 +00:00
Yann Leboulanger
c967351d36
don't allow to block a transport contact. Fixes #3984
2008-06-16 07:31:26 +00:00
Stephan Erb
df1be596e4
Correctly update metacontact icon on expand when a child has pending events.
2008-06-16 00:00:52 +00:00
Stephan Erb
0d27f521d4
Do not hide big brother contacts when a child has pending events. Fixes #3921
2008-06-15 23:51:40 +00:00
Stephan Erb
c5f7922e29
Two roster sort fixes.
...
* Change metacontact ordering. Fallback to priority only if two contacts have the same show, not the other way round.
* Move contacts that just signed out to the bottom of the group, not to the top.
2008-06-15 23:03:51 +00:00
Jean-Marie Traissard
ca457a7ac2
groups :
...
-Use a method to get_shown_groups (possibly more work to do (special group attribute))
-Show contact only if contact.ask, not according to modified xep 0162 logic. (I don't get neither the xep
meaning, neither this modified logic, can you explain steve-e ?)
-Remove contact before we modify it req_sub(). Else we can't remove it because iter is not found.
-When removing a contact and we let him in see us (observer), manually set show to offline, so he is not set as
visible.
-Remove observer from observer group if we asked him auth (I mean before he answer). Xep 0162 say he is not an
observer then. Fix contact staying in observer group when we get auth later.
-Renaming groups seems fixed (it's an accident :p )
More work on group to follow
2008-06-15 21:48:13 +00:00
Yann Leboulanger
18d8f98f3c
add "other" to all sub-activities and fix "Having an appointment" activity. Fixes #4019 , #3981
2008-06-15 18:13:03 +00:00
Brendan Taylor
2b074aed41
pass the ChatControl around with printed_chat events
2008-06-14 16:49:48 +00:00
Brendan Taylor
964cb10163
hopefully fix the last of the get_control calls ( fixes #4018 )
2008-06-14 08:43:20 +00:00
Stephan Erb
5ddb2829f3
Do not instantly recalibrate metacontacts when the last online brother signs out. Fixes #3880 .
2008-06-13 22:54:36 +00:00
Stephan Erb
b38c45f6fa
Show correct URL in bug buddy. Kudos to vArDo :-)
2008-06-13 22:47:41 +00:00
Yann Leboulanger
1ebe587886
fix number of parameters to session.receives in zeroconf. Fixes #4015
2008-06-13 15:59:04 +00:00
Yann Leboulanger
e807c056d3
remove Z char (meaning UTC) in received timestamp. fixes #3796
2008-06-13 15:34:55 +00:00
Brendan Taylor
e4aa0de7f7
don't make submenus in the Actions menu if we've only got a zeroconf account and a normal account
2008-06-13 02:18:16 +00:00
Yann Leboulanger
bb8df6b540
remove old comment in caps.py
2008-06-12 15:16:36 +00:00
Brendan Taylor
82b30c0791
CapsCache: made docstring match the API, fixed minor bugs, added tests
2008-06-12 03:56:47 +00:00
Brendan Taylor
00b7e9823f
fix lack of notification
2008-06-12 03:56:41 +00:00
Stephan Erb
f69299f6ff
Add missing import. Fixes PEP tune checkbox toggeling.
2008-06-11 23:56:11 +00:00
Stephan Erb
f4a10ad5a9
Comment non working callback, but still keep it for reference.
2008-06-11 21:44:04 +00:00
Stephan Erb
d5bbc403c9
Various roster fixes.
...
* don't traceback when selfcontact is disconnecting
* make more use of "remove contact after last event removed" mechanism
* correctly redraw bigbrothers after status change
* handle situation where we receive a message, go offline without reading it and reconnect after another resource has moved the sending contact to another group.
know bugs: newly added transports added to "not in roster group"
2008-06-10 21:18:55 +00:00
Brendan Taylor
399233f293
detach sessions from controls when the highest priority contact changes.
...
this way we don't get multiple tabs when the remote user moves to another resource.
2008-06-10 02:58:17 +00:00
Brendan Taylor
3ec61df48b
minor fixes for ctrl.set_session
2008-06-10 02:58:04 +00:00
Stephan Erb
ce0910321d
Some fixes for draw_contact.
...
* show correct expand icon for metacontacts in different groups
* only redraw parent when really necessary
* remove obscure code
* fix draw_parent_contact
2008-06-09 22:53:45 +00:00
Stephan Erb
11f9800bec
Create new method for extracting the nearby_family. DRY!
2008-06-09 21:01:12 +00:00
Stephan Erb
6e442a50c8
Fix var usage.
...
(Commit correct hg rev :-) )
2008-06-09 18:31:05 +00:00
Stephan Erb
db5b3c724b
Introduce _recalibrate_metacontact_family()
...
Do not risk invalidating child_model iters when redrawing a contact.
Move logic to update the family when the big brother has changed to an extra function.
ToDo:
* nearby_family code duplication
* totaly restructure and cleanup draw_contact
2008-06-09 18:27:40 +00:00
js
6fe9bee70b
* Fixed a BT when receiving receipt request for offline messages.
...
* Fixed a BT when receiving receipt request for users not in roster.
2008-06-09 15:04:13 +00:00
Jean-Marie Traissard
f9c981df5d
-Set General and Observer group directly in contact instance, instead of calculating it each time
...
-When creating self-contact contact instance, store it with group 'self_contact', so it never goes in General
-Make general group not be seen visible because of self contact even if self.regroup
-Remove the self contact instance itself too when WE deconnect or when IT deconnect, so we will
not see it as offline if refilling roster (regroup account for example)
2008-06-08 21:27:31 +00:00
js
d0b15bf5fd
Don't return 1 on error, but None. 1 could also be a message ID.
2008-06-08 16:54:59 +00:00
js
593ed0c6d8
* Fix passing of message ID.
...
* Don't asnwer to receipt requests from users not in roster.
2008-06-08 15:51:55 +00:00
js
c2eb4b5a9f
Completely remove OTR.
...
Sorry, it just wasn't maintainable. The problem is the current libotr
API. I'm sick of working around the strange libotr API, sick of getting
HTML messages, sick of losing messages. The final argument for
completely removing it was that we can't get the message ID of a sent
msg anymore - which we need. I tried to work around this as well, but
there seems to be no way to wait for a signal in glib the way I would
need it for the workaround (I wanted to emit a signal in inject_message
and then wait for it after the call to otr_message_fragment_and_send
so the signal can pass us the message id). And the last reason is that
we're heading towards a new release and thus want to stabilize the code,
thus don't have time to work around even more libotr API strangeness.
I will give feedback to the libotr developers, who are currently
planning a new API, so that we can hopefully see OTR support once again
as soon as libotr4 is released.
Kjell already announced that he will continue his branch:
https://code.launchpad.net/~afflux/gajim/otr
I really hope the libotr devs will provide a sane API with libotr4 so
we can integrate OTR support again.
Oh, and I added one more try/except block for OS X.
2008-06-08 15:27:05 +00:00
Jean-Marie Traissard
0d645437d8
Don't act like if self contact is in group General. See #4000 .
...
Don't make General group visible when we have self contact.
2008-06-08 14:35:40 +00:00
Jean-Marie Traissard
40e360d1c8
[modelfilter]Fix row behind that expand when moving contact problem.
...
This code seems not necessary. But why does that created that problem ?
It seems for some reason, path is not good. Probably the iter itself is not good. So expand act on the wrong
group (I can proove that).
2008-06-08 13:20:46 +00:00
js
1eeee2d531
We really need a way to start X11 without an xterm on OS X. Any idea?
2008-06-08 10:29:06 +00:00
js
03d68c0d26
Be more specific on excepts.
2008-06-08 10:19:26 +00:00
js
0551c9ddac
* Start X11 automatically on OS X if not running.
...
* Moved one import in osx/__init__.py. If that import fails, we still
got the few functions defined we need, even if the rest of that file
doesn't work due to missing deps.
2008-06-07 21:12:27 +00:00
js
8def8de5c7
Make Gajim work on OS X again.
...
Someone completely broke it by trying to port it to native GTK.
However, that person didn't only break it with X11 GTK, with
native GTK it wasn't working correctly either.
Fixed it by adding lots of try/except blocks. Someone definitely
deserves to be slaughtered for completely breaking it on OS X…
2008-06-07 20:42:15 +00:00
js
8fefd0ede4
Comment options.
2008-06-07 19:52:13 +00:00
js
a495d090c3
Initial XEP-0184 support.
...
TODO:
* Implement section 5.
* Think of a way to show in GUI
Possible way: Grey out the sent msg until we receive a <received/>,
but only if we know the other end supports XEP-0184.
* Maybe implement section 6?
2008-06-07 19:47:19 +00:00
Jean-Marie Traissard
7fbfa0547d
Regroup window.present() calls. See #3908 .
2008-06-05 15:09:17 +00:00
Jean-Marie Traissard
e487aa7802
Change the way to remember last message time in groupchat again. Save the time on
...
disconnection or exit. Previous version seemed perfect, but if server don't have the
same exact time than us (always), lots of messages can be logged twice. Here we will
lost log for messages that were sent beetween we lost connection and we see it. But that
seems better for me. For previous version, see [9516].
2008-06-05 11:18:33 +00:00
Jean-Marie Traissard
a0f57f5e99
Simpler way to do [9756], thanks steve-e
2008-06-04 18:58:14 +00:00
Brendan Taylor
cb1c24ff7d
remove empty branches of sessionless_ctrls (fixes single window mode)
2008-06-03 23:54:14 +00:00
Jean-Marie Traissard
e5b2e38792
Fix regression introduced in [9727]. Do not fail if the jid line contain 'Enter
...
JID or Contact name' or something at opening.
2008-06-03 18:44:32 +00:00
Yann Leboulanger
d1762dd9a0
improve new gmail e-mail popup window. Fixes #3252
2008-06-03 14:15:57 +00:00
Yann Leboulanger
e4d5625210
fix argument order in new_chat
2008-06-03 06:06:42 +00:00
Brendan Taylor
ccca9332c6
fix undefined 'session' variable in _messageCB
2008-06-03 01:13:30 +00:00
Brendan Taylor
dc89b61d37
fix lazy session binding to reuse sessions and pick them up from pending events
2008-06-02 23:26:40 +00:00
Brendan Taylor
d19cb43ee0
don't assign a session to a control until it's needed
2008-06-02 23:26:32 +00:00
Brendan Taylor
7b6b6de1c5
fix TB in move_from_sessionless
2008-06-02 23:26:23 +00:00
Yann Leboulanger
03cbc6e2d5
ability to rename zeroconf account. Fixes #3945
2008-06-02 21:22:35 +00:00
Stephan Erb
fa48c480ff
Fix modelfilter regression. Renaming a group duplicated it.
...
Even make it work in merged accounts mode.
2008-06-02 17:59:59 +00:00
Yann Leboulanger
3fe89676ac
don't allow to send custom status nor revoke subscription for transport contacts. fixes #3984
2008-06-02 10:27:16 +00:00
Yann Leboulanger
e5f682a81a
fix wrong syntax
2008-06-02 10:23:27 +00:00
Yann Leboulanger
b3d57ed5b1
coding standards
2008-06-02 10:04:27 +00:00
Yann Leboulanger
8f9c097343
[Yrogirg] configurable latex formulas font size. Fixes #3986
2008-06-02 08:10:36 +00:00
Jean-Marie Traissard
d927d260c2
Removing tic tac toe game. Maybe one day a full version in a plugin ? :)
2008-06-01 23:07:34 +00:00
Stephan Erb
82edfdf42e
Small cleanups to roster and modelfilter.
...
* rename draw_roster to better express its functionality
* remove unnecessary call of refilter()
* directly remove groups when there is only one child left and we want to remove it
Note: in gtkTreeStore iters persist as long as the row isn't removed. Iters in Modelfilter persist as long as the model is unchanged.
2008-06-01 22:46:41 +00:00
Jean-Marie Traissard
c6aa116db8
try another way do redraw roster. See #3955 .
2008-06-01 22:23:16 +00:00
Jean-Marie Traissard
9f613afd4f
Don't traceback when refiltering during the model.clear (has a bad account name).
...
Fixes #3893 .
2008-06-01 21:13:06 +00:00
Yann Leboulanger
5a459104d5
fix traceback when joining a room without a nick. Fixes #3979
2008-06-01 08:44:03 +00:00
Jean-Marie Traissard
f604ed373a
Remove unused temp var
2008-05-31 22:13:57 +00:00
Jean-Marie Traissard
4dc8ad861c
-Fix TB in my last commit
...
-Stop using idle_call for marking days with log in calendar, because this was... longer !
-Stop emiting month changed signal two times (so it was even longer)
2008-05-31 20:49:48 +00:00
Jean-Marie Traissard
57a1c4b130
Use idle_add for history_win._fill_completion_dict (LOT faster)
2008-05-31 19:41:42 +00:00
Stephan Erb
794a5f33d5
Use correct modelfilter API to expand to selected contacts.
2008-05-31 15:31:49 +00:00
Yann Leboulanger
4b8f1137f6
make some strings translatable
2008-05-31 14:48:15 +00:00
Yann Leboulanger
1a683098e9
set publish_tune False by default
2008-05-31 08:28:33 +00:00
Brendan Taylor
1796a6006b
fix on_vadjustment TB
2008-05-31 00:54:57 +00:00
Brendan Taylor
0b16f4bb20
fix a multiple tab regression
2008-05-31 00:54:48 +00:00
Stephan Erb
e2c3555e6f
A few expand/collapse related changes.
...
* always adjust account toggle state
* try to eliminate extra adjustmants to group state
* small function renaming
2008-05-30 23:09:13 +00:00
Yann Leboulanger
6733ba484c
show current mood / activity in the dialog for changing them. Fixes #3952
2008-05-30 22:39:01 +00:00
Yann Leboulanger
533e955cf1
make pep work, move config options per account, make publish_tune configurable in account context menu. fixes #3954
2008-05-30 21:43:53 +00:00
Stephan Erb
ac8faf47ca
Fix eventhandling for non chat message events.
...
Evens were not properly removed.
2008-05-30 20:56:54 +00:00
Stephan Erb
6fd860a1b3
Remove debug print.
2008-05-30 20:21:12 +00:00
Stephan Erb
7259f95b0b
Fix drag and drop within the same group.
2008-05-30 20:16:00 +00:00
Stephan Erb
0e519bce9e
Do not recalibrate metacontacts if there is only one brother (the big brother).
2008-05-30 20:07:14 +00:00
Stephan Erb
4b6fabadd9
Don't remove contacts from roster when they have pending events.
...
* update documentation and fix indentation
* don't remove offline contacts from roster when we open the last pending, non chat message event
* store account and jid per event
2008-05-30 17:42:53 +00:00
Yann Leboulanger
8973b91070
auto_join_bookmarks only join non-opened groupchats. Opened one are already auto-joined on re-connection. Fixes #3891
2008-05-30 10:26:33 +00:00
Yann Leboulanger
685707e2e0
check active tab with control variable, not jid. fixes #3876
2008-05-30 10:07:01 +00:00
js
37b6f7058a
[Kjell Braden] Fix OTR SMP.
2008-05-29 18:42:58 +00:00
Brendan Taylor
bcf7018fce
gave sessionless window location its own method
2008-05-29 02:48:55 +00:00
Mateusz Biliński
45fe866240
Reduced too big indentation inside first try-catch (was 2 tabs, now it's 1 tab).
2008-05-28 16:15:39 +00:00
Jean-Marie Traissard
7d21a1a624
Fix account parameter for gajim-remote handle_uri with a groupchat. Fixes #3344 .
2008-05-27 16:47:33 +00:00
js
6c9063b702
[Kjell Braden] Fix HTML on OTR.
...
@bct: When moving the OTR stuff, you would've needed to adjust the
XHTML killing part. This patch fixes it. I didn't even notice since
I have XHTML disabled globally.
2008-05-27 14:50:54 +00:00
Yann Leboulanger
c127493e58
remove pep options from pref window, store them per account, store caps_hash per account. see #3954
2008-05-27 10:24:29 +00:00
Brendan Taylor
e09c93621e
don't send termination unless we've sent a message
...
fixes #3963
2008-05-26 23:53:40 +00:00
Brendan Taylor
dbcfc984f5
don't do first message notification if we can pick up a sessionless control
...
fixes #3961
2008-05-25 21:28:40 +00:00
Brendan Taylor
df5200b3bb
try not to send session termination messages to non-XEP-0201 clients
2008-05-25 21:28:32 +00:00
Brendan Taylor
f7874d29c7
reuse chat controls after session termination
...
fixes #3950
2008-05-23 23:27:08 +00:00
Brendan Taylor
f68ffc3816
not every OTR message needs a session
2008-05-23 23:26:53 +00:00
Yann Leboulanger
21f332221e
typos. see #3953
2008-05-20 14:30:19 +00:00
Yann Leboulanger
8bda3a5543
upadte all contact instances when we get a pep event for a contact. See #3953
2008-05-20 14:18:12 +00:00
Brendan Taylor
4feacc73ab
moved OTR stuff from session.received to connection._messageCB
...
fixed lock icon when session has been terminated
2008-05-20 00:44:30 +00:00
Stephan Erb
3bcf189dfd
Show pep tooltip info also for multiple resources and SelfContacts.
...
(Tooltips might not be complete because of some not yet addressed backend bugs)
2008-05-19 21:31:25 +00:00
Stephan Erb
a06468b846
Always remove contacts from GUI when we receive a roster via xmppy.
...
This fixes a bug with metacontacts over different groups and should stop contact duplication in most cases.
2008-05-19 21:17:43 +00:00
js
ea3e43c15a
Always pass the special message '?OTR?' to libotr.
2008-05-19 20:25:58 +00:00
js
f1c333410e
Revert r9682, it was a bad idea. The solution is not to send the
...
thread id, but to even remove the lock symbol when OTR was ended
and we don't have a thread id.
2008-05-19 20:13:24 +00:00
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