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
js
eb468c5d4a
Redesign the chat window GUI. Should be more userfriendly now.
2008-05-04 20:47:51 +00:00
Brendan Taylor
1962b231e6
pm bugfix
2008-05-04 00:24:27 +00:00
Brendan Taylor
be0af1a56b
couple of quick bugfixes
2008-05-03 23:19:02 +00:00
Brendan Taylor
d15b9dea6e
reuse existing chat sessions and controls
2008-05-03 16:52:27 +00:00
Brendan Taylor
f3b154e429
made compatible with python 2.4
2008-05-03 16:50:16 +00:00
Jean-Marie Traissard
9c8c5a924c
Even load the pixbuf only once.
2008-05-03 10:59:18 +00:00
Stephan Erb
d95c087ffa
Remove debug remains.
2008-05-03 10:20:56 +00:00
Stephan Erb
8c963e2de0
Load icons for history window only once.
2008-05-03 10:15:47 +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
Jean-Marie Traissard
d77b4feb9f
Search function in good module. Fixes #3915 .
2008-05-02 23:25:31 +00:00
Jean-Marie Traissard
f3fec5c791
oups, syntax error
2008-05-02 16:15:39 +00:00
Jean-Marie Traissard
7ce16668fb
Remove 2 generalization in dialogs, we are not generalizing here.
2008-05-02 14:36:28 +00:00
Brendan Taylor
20beea4b49
fixed groupchat
2008-05-02 02:32:28 +00:00
Jean-Marie Traissard
b6c10c31d4
Remove useless import
2008-05-02 02:12:16 +00:00
Jean-Marie Traissard
cb9d2a3ca0
Revert "when removing last metacontact little brother, remove meta tag for big brother" from [9553],
...
that breaks meta over multiple accounts. Thanks steve-e
2008-05-01 18:24:31 +00:00
Jean-Marie Traissard
7144520bc0
Fix edit group problems :
...
-redraw group expand state
-when removing last metacontact little brother, remove meta tag for big brother. Else that confuse when
moving via edit group.
Note that edit group is broken by http://trac.gajim.org/changeset/9551
2008-05-01 14:27:53 +00:00
Stephan Erb
79f4d22fa4
Fix inconsisten indentation.
2008-05-01 08:40:20 +00:00
Stephan Erb
df5a4c2281
Reimplement _get_contact_iter to be faster in bigger rosters.
2008-05-01 08:38:08 +00:00
Jean-Marie Traissard
299f560749
This is needed finally, reverting from previous changeset
2008-05-01 02:32:57 +00:00
Jean-Marie Traissard
6c8d196383
[modelfilter]
...
-fix row not expanded when contact connected in group with no one online yet
-fix WHEN filter is done when contact disconnect/connect
-fix number of connected contacts not showed for new groups
-fix General created when moving a contact to another group
2008-05-01 02:13:00 +00:00
Brendan Taylor
d4a766963f
multiple chat session windows per contact. groupchat and pms broken.
2008-04-30 02:55:13 +00:00
Jean-Marie Traissard
60bb033a90
Cleaner way to check for account line expand state. Fixes #3884 .
2008-04-30 00:51:36 +00:00
Jean-Marie Traissard
6b465a4218
Some little on_model_row_has_child_toggled() speedups
2008-04-30 00:28:34 +00:00
Jean-Marie Traissard
d555954ee5
[modelfilter]
...
-restore call to _adjust_group_expand_collapse_state() even if not filtering in
on_model_row_has_child_toggled(). Is used.
-restore "# Draw the contact and its groups contact" removed in last changeset but
-change way to toogle self.starting so it works when add_account_contacts() is called from gajim.py too. One
useless call to draw_account() added, maybe.
-If showingOfflines, all contacts are visible, set visibility True FAST
2008-04-29 23:50:44 +00:00
Jean-Marie Traissard
cc97c3ce7b
[modelfilter]
...
-Always use self.modelfilter instead of self.tree.get_model()
-filter twice to show groups with no contacts inside in the correct expand state when showingOfflines. ( We
can't expand the group before we filter, and we need to filter to effectively show tree expand state in model )
-UNSURE : call _adjust_group_expand_collapse_state() only if filtering in on_model_row_has_child_toggled(). That
seems sufficient and when not filtering, it works better with :
-when contact change status, don't refilter, only adjust group row state. Steve-e, do we need to filter in a
case I don't see ?
-in visible_func : Don't initialize 'accounts' var if not needed
-Don't draw anything in add_contact(), that seems to be done somewhere else anyway
2008-04-29 22:07:59 +00:00
Jean-Marie Traissard
ab8d2f6320
Add missing call to adjust_group_expand_collapse_state()
2008-04-28 22:49:19 +00:00
Jean-Marie Traissard
2056ee8886
[steve-e only]modelfilter fixes about group and account collapse
...
little bug, fix follow
2008-04-28 22:46:49 +00:00
Yann Leboulanger
ec08797805
[js] fix nick completion in groupchats
2008-04-28 21:13:13 +00:00
Jean-Marie Traissard
f0c4bef25d
Wrap text in change subject dialog and use a bigger width. Subjects are usually long and on one line.
2008-04-28 18:19:25 +00:00
Yann Leboulanger
96a50f6c07
don't depend on python2.5 Fixes #3888
2008-04-27 18:11:34 +00:00
Yann Leboulanger
a9e25aa98a
fix arguments of on_open_chat_window functions. It is called from callbacks, so first argument is widget.
2008-04-26 23:36:03 +00:00
Stephan Erb
8929f4e630
Fixing a few modelfilter bugs.
...
* Show all groups in merged accounts view that have online contacts. Fixes #3890
* Allow metacontacts over several accounts. Fixes #3889
* Fix on_drop_in_group when two accounts in merged view have the same contact
* Fix potential traceback when receiving a message
2008-04-26 10:18:33 +00:00
Brendan Taylor
2648aa4a9f
tictactoe: notify user of when won/lost
2008-04-26 02:06:08 +00:00
Brendan Taylor
051bd6e1b7
fixed e2ee traceback
2008-04-26 01:52:03 +00:00
Yann Leboulanger
613753f308
[elghinn] codding standards
2008-04-24 13:47:37 +00:00
Yann Leboulanger
07a8d9d948
category is mendatory
2008-04-24 13:44:09 +00:00
Yann Leboulanger
6990b23bcc
fix groupchat addition to roster
2008-04-24 07:52:11 +00:00
Stephan Erb
75e44510a1
Add parameter checks to public API. Remove boiler code.
2008-04-23 22:52:22 +00:00
Stephan Erb
29d2e00803
Small roster API cleanups.
2008-04-23 22:34:10 +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
465aab8200
Fix Modelfilter regression: disconnecting a minimized groupchat was broken.
2008-04-21 22:34:32 +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
Stephan Erb
f877fbea13
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."
Apply do roster_window. See r9488.
2008-04-21 20:23:03 +00:00
Stephan Erb
e504cee6fb
Revert r9519. It was breaking DND.
2008-04-21 20:07:08 +00:00
Stephan Erb
7d8f72d663
Show correct color of status_messages in roster in more cases.
...
This is only a simple port of the old non-modelfilter method. Functionality not restored yet: Custom colors are lost when refiltering the model.
2008-04-21 19:57:48 +00:00
Stephan Erb
b56c0c94af
Connect drag'n'drop signals in glade.
2008-04-21 19:02:24 +00:00
Stephan Erb
dc266592b7
Remove unused variables.
2008-04-21 18:52:15 +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
7ad796a34a
Use a file for artists credits instead of hardcoded. Added helper func to get credits files paths
2008-04-20 20:51:05 +00:00
Jean-Marie Traissard
2c891b5b87
Translatable (desync'ed)
2008-04-20 20:06:16 +00:00
Jean-Marie Traissard
47bc1d61b4
Added one unique function to src/gajim.py to add a GC bookmark.
...
Moved newly created auto_join_bookmarks() to good source file.
Fix :
-when using bookmark auto from join dialog : Action rebuild now done; Add GC sorted in list
-when using gc_control->bookmark : Store password if any.
2008-04-20 19:45:09 +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
8b8f139f79
Moved methods for opening new messages controls from roster.py to src/gajim.py. This is not roster related. See #3643 .
...
Sorted src/gajim.py functions, using steve-e style :p
2008-04-20 18:14:04 +00:00
Jean-Marie Traissard
1846cfefc6
Remove global temp vars after use
2008-04-20 15:24:34 +00:00
Yann Leboulanger
e54d749eec
add a new dbus signal when a contact changes his status. fixes #3655
2008-04-20 14:39:08 +00:00
Yann Leboulanger
9f8af02c74
no need of unread events in dbus informations. see #3655
2008-04-20 14:29:39 +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
Jean-Marie Traissard
0374e72b28
Use one function to join bookmarks automatically only. Fix bug "all bookmarks joined minimized when going back
...
from invisible". Not sure it's right place for this function.
2008-04-19 23:39:09 +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
ffbc0c65bc
use a textview to change subject of a room. Fixes #3858
2008-04-18 19:15:03 +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
a095a3249e
[elghinn] Set default icon before creating roster so it's done for roster too
2008-04-18 09:43:26 +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
b35b2f9ad0
fix function call. fixes #3875
2008-04-17 19:26:09 +00:00
Yann Leboulanger
5dd0d4fce8
move functions that build icons to gtkgui_helpers instead of roster_window. Fixes #3873
2008-04-17 14:17:14 +00:00
Yann Leboulanger
278d63ca35
indentation
2008-04-17 06:55:12 +00:00
Yann Leboulanger
2d04fc6ae6
don't hide roster on startup if no systray module is available
2008-04-17 06:34:32 +00:00
Jean-Marie Traissard
fbc1ae9b5c
fix possible TB (can be None)
2008-04-16 21:39:58 +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
Yann Leboulanger
4bfd971415
fix sql query
2008-04-16 19:22:16 +00:00
Yann Leboulanger
158231493a
remove useless print
2008-04-16 14:52:43 +00:00
Jean-Marie Traissard
df257baef5
Added helpers to commit in logger.py
...
Trying to ignore line for #3865
2008-04-16 13:46:44 +00:00
Yann Leboulanger
3aefee4700
try all IPs of a given host in case first one fails. Fixes #2958
2008-04-16 11:02:01 +00:00
Yann Leboulanger
b936fa4bfe
coding standards
2008-04-15 22:51:41 +00:00
Yann Leboulanger
b7fcb776b9
try to auto-convert emoticons.py files to the new format. Fixes #3696
2008-04-15 22:04:39 +00:00
Yann Leboulanger
6d8dd51db0
show/hide ipython window instead of create/destroy
2008-04-15 18:09:04 +00:00
Jean-Marie Traissard
88f7abd795
Fix "You are already in this GC" bugging at reconnection. Happened if we receive
...
bookmarks after we already reconnected to opened GC
2008-04-15 17:25:59 +00:00
Yann Leboulanger
f6f6f9fe5c
add BSD copyright to ipython_view.py file
2008-04-15 16:19:06 +00:00