Commit Graph

587 Commits

Author SHA1 Message Date
Denis Fomin e0a162a443 More correctly blocked change in the position for the hpaned 2011-03-03 19:18:38 +03:00
Denis Fomin 40f7813627 Fixes previous commit 2011-02-08 21:26:20 +03:00
Denis Fomin ae43834dc6 fixed incorrect width of conference participants list, when joining a new room and when manually resizing/maximizing gajim window in all-in-one mode 2011-02-08 19:04:18 +03:00
Yann Leboulanger 241f666bc6 redraw chat buttons when we get caps information. Fixes #6114 2010-12-23 17:51:26 +01:00
Yann Leboulanger 5b5b2375a1 don't scroll in groupchat when window doesn't have focus. Fixes #6100 2010-12-17 12:09:56 +01:00
Denis Fomin 6b6e598c4d gc window. set focus to message textview(not to conversation textview) 2010-12-11 10:58:12 +03:00
Denis Fomin e3d3994a95 Correctly set focus 2010-12-10 23:53:47 +03:00
Denis Fomin 5f9e6b5132 don't resize occupant treeview if Gajim is a lot of windows to conferences 2010-12-10 10:54:15 +03:00
Denis Fomin 67fda3ae8a Fix groupchat config changed events handler 2010-12-03 10:48:13 +03:00
Yann Leboulanger b5eebddeb3 fix var name 2010-11-29 21:15:54 +01:00
Yann Leboulanger 346b38944c use NEC to handle signed-in events 2010-11-29 11:11:24 +01:00
Yann Leboulanger ef741a0084 use NEC to handle groupchat config changed events 2010-11-27 21:02:41 +01:00
Yann Leboulanger ddb27d0e7e use NEC to handle gc subject events 2010-11-27 19:12:43 +01:00
Yann Leboulanger a87540ddc0 use NEC to handle vcard events 2010-11-26 21:14:59 +01:00
Yann Leboulanger 6bdf47d7e7 use NEC to handle privacy list events 2010-11-24 22:48:39 +01:00
Yann Leboulanger 1c9d56e7de handle correctly groupchat presences. Fixes #6047 2010-11-23 23:10:43 +01:00
Yann Leboulanger 139a4b9d87 correctly shutdown privateChat controls. Fixes #6039 2010-11-22 08:52:58 +01:00
Yann Leboulanger d94a85f5a2 use NEC to handle caps events 2010-11-17 17:27:36 +01:00
Yann Leboulanger 8d7e587c5b ability to validate dataform widget by pressing enter. Fixes #6032 2010-11-14 21:21:39 +01:00
Yann Leboulanger c4f5a8ceec use NEC to handle vcard (not) published events 2010-11-08 22:34:04 +01:00
Yann Leboulanger 186b84c481 prevent showing twice the same message in muc when we are twice in a room from 2 accounts. 2010-10-19 21:43:44 +02:00
Yann Leboulanger e4ff7c6ced use NEC to handle messages / gc_messages 2010-10-18 22:05:41 +02:00
Yann Leboulanger e764c76e3f [Dicson] rewrite groupchat contact list columns code to be able to extend it with plugins. Fixes #5977 2010-10-12 21:50:18 +02:00
Yann Leboulanger ea804e69f9 [Dicson] Add gui extension point for groupchat control creation. Fixes #5975 2010-10-12 17:09:53 +02:00
Yann Leboulanger 8c7aabb0bf [Zash] fix wrong var name. Fixes #5971 2010-10-10 21:20:59 +02:00
Yann Leboulanger 0a1356e006 stop handling presences when we close a groupchat control. Fixes #5949 2010-09-28 22:38:42 +02:00
Yann Leboulanger 69a1eee8e6 new event for groupchat presences 2010-09-28 15:13:51 +02:00
Yann Leboulanger 463eade6dc don't request vcard to full JID but to barr JID 2010-09-19 22:14:43 +02:00
Yann Leboulanger e169dc6367 prevent from having more than one captcha in groupchat 2010-08-09 14:51:42 +02:00
Yann Leboulanger ea07baeab9 don't handle keypressed in message textview is textview is not sensitive (not yet connected). Fixes #5833 2010-08-09 12:14:59 +02:00
Yann Leboulanger 796213c9cb merge with trunk 2010-07-19 19:53:29 +02:00
Yann Leboulanger f9e8b46e6c iability to show captcha when joining a groupchat with captcha. (TODO: download image when it's not in the message itself) 2010-06-27 23:09:07 +02:00
Yann Leboulanger d58841cb2b [Dave Cridland] add XEP-0258 support. Great thanks for that! Fixes #5772 2010-06-07 19:11:44 +02:00
Yann Leboulanger b7d6441846 move "Do not ask me again" accelerator to D. Fixes #5755 2010-05-21 09:38:09 +02:00
Yann Leboulanger e9e54f2c9f uncomment lines commented for tests 2010-05-20 20:51:07 +02:00
Yann Leboulanger 493dbce89d don't show more than one error dialog for a given groupchat. Fixes #5753 2010-05-20 18:45:09 +02:00
Yann Leboulanger 469d496dcb fix indentation and 80 char width 2010-05-20 09:17:56 +02:00
Yann Leboulanger e6a4eb7c17 fix a bit of indentation 2010-05-05 08:56:36 +02:00
Yann Leboulanger 3fd9a0a282 don't request vcard to full JID when we join a room 2010-04-30 14:18:06 +02:00
Yann Leboulanger 8ca195131b don't try to resize groupchat contact list that are not yet re-added to window when we change window mode behaviour. Fixes #5663 2010-04-25 19:35:22 +02:00
Éric Araujo 9b5ee1e13b convert tabs to spaces in source code thanks to reindent.py
Also use sed to remove now unneeded Vim lines, 2to3 -f ws_comma to fix
some whitespace, and fix some other madness manually.
2010-04-08 01:20:17 +02:00
Yann Leboulanger 5ea5309035 don't send change_nick presnece (without NS_MUC) after a nick conflict 2010-03-25 19:52:27 +01:00
Yann Leboulanger 2be53c4aac update my copyright to 2010 2010-03-11 16:52:36 +01:00
Yann Leboulanger d8f9289349 fix indentation and some pylint warning in roster_window.py 2010-02-17 11:32:55 +01:00
Yann Leboulanger 57cd53aea1 rename gc_banner_status_image to banner_status_image so it's the same than schat control 2010-02-12 21:08:40 +01:00
Éric Araujo 357d7db07d fixed some whitespace thanks to 2to3 -f ws_comma 2010-02-10 19:24:11 +01:00
Yann Leboulanger abb846f883 Doubble -> Double 2010-02-08 23:23:02 +01:00
Yann Leboulanger b20199a423 Dubble -> Doubble 2010-02-08 22:46:50 +01:00
Yann Leboulanger fa05d88b2b merge from default branch 2010-02-08 22:25:41 +01:00
Éric Araujo fedd7dc8e2 convert tabs to spaces in source code thanks to reindent.py
holy diff batman!
2010-02-08 15:08:40 +01:00
Yann Leboulanger d8c3e6f39f use Ctrl + Shift + n to change nick in groupchats. Fixes #5450 2010-01-26 19:55:28 +01:00
Yann Leboulanger 99872d8ff8 split message_window.ui to separate chat_control.ui and groupchat_control.ui 2010-01-22 21:17:59 +01:00
Yann Leboulanger 956accf010 Bye bye glade, Hi gtk builder. Fixes #4945 2010-01-22 19:57:59 +01:00
Yann Leboulanger 3a76966c14 merge from default branch 2010-01-19 16:37:14 +01:00
Yann Leboulanger a19cbbfc9d remove pysexy dependance, PyGTK2.18 supports links in gtk.Label 2010-01-12 22:30:46 +01:00
Yann Leboulanger 4a8e30800f add advanced option to disable showing affiliation in muc. Fixes #5534 2010-01-07 20:52:16 +01:00
Yann Leboulanger b519116a2a fix nick completion when gc_refer_to_nick_char contains a space. Fixes #5542 2010-01-06 18:20:51 +01:00
Yann Leboulanger 1a64506419 Fix nick completion in MUC when it's not at the beginin of what is said. Fixes #5353 2010-01-04 18:45:21 +01:00
mariolenz 05a86e8357 harmonize indentation. Fixes #5518 2009-12-28 23:04:23 +01:00
Stephan Erb 65ba840cbd Slightly faster version of get_contact_iter and get_role_iter. 2009-12-28 20:14:15 +01:00
Stephan Erb ca382031eb Fix bug that prevented avatars to be shown in groupchats. Bug was due to a wrong re-use of a local variable (local variabes are evil :-).
Additionally: Remove some appreviations and unneeded local variables.
2009-12-01 22:15:35 +01:00
Stephan Erb 8eb48d4533 Remove redundant null checks. 2009-11-30 00:24:30 +01:00
Stephan Erb 9b7ae8cac3 Small cleanups for avatar save. Also fixes #5461.
* set default file type for avatars centrally
 * remove client side decision logic determing if a avatar loookup shall happen for a groupchat contact or for a normal contact
 * remove unused method (this one was triggering the traceback in #5461)
2009-11-29 23:06:49 +01:00
Yann Leboulanger 5b10d8fe5c base of using icon themes. see #2378 2009-11-27 16:42:32 +01:00
Alexander Cherniuk 3fe45b5a56 Fixes #5458 2009-11-27 10:50:24 +02:00
Alexander Cherniuk 24cea09fbd Missed some spots while refactoring 2009-11-27 10:24:31 +02:00
Alexander Cherniuk 8c82c35654 More doc-string refactoring 2009-11-25 15:24:48 +02:00
Yann Leboulanger 478454985b fix strimg comparison according to locales. Fixes #4201 2009-11-24 15:41:16 +01:00
Yann Leboulanger 8bd359dc30 fix resizing of the MUC occupant treeview when we resize chat window. Fixes #5433 2009-11-20 22:09:05 +01:00
Mateusz Biliński 70731dbab7 Merged default branch into plugin-system branch. 2009-11-14 21:15:27 +01:00
Stephan Erb 89b1c6a7df Move method close to data.
gajim.contacts.contact_from_gc_contact(gc_contact) is now gc_contact.as_contact()
2009-11-05 16:25:13 +01:00
Stephan Erb 06129f45ef Let contact instances know their corresponding account.
contact.account and gc_contact.account contains the account name of the owning account. There is still code around in many placed which tries to workaround this missing information. Such code has to be migrated on per-need basis.
2009-11-05 15:57:43 +01:00
Yann Leboulanger e9264abb8a fix variable name 2009-11-01 09:52:33 +01:00
Yann Leboulanger 66deb15bad fix variable name. Fixes #5379 2009-10-30 20:04:20 +01:00
Yann Leboulanger f550144530 switch from gtk.Tooltips to gtk.Tooltip. Fixes #3471 2009-10-29 11:35:22 +01:00
Yann Leboulanger 8e98b3954b fix traceback with bash completion 2009-10-28 22:15:46 +01:00
Yann Leboulanger 90fd7f6e68 [louizatakk] better bash completion. Fixes #5353 2009-10-28 12:19:20 +01:00
Yann Leboulanger 503aebd919 [change window icon according to the content (muc, chat). Fixes #4300 2009-10-23 10:02:45 +02:00
Yann Leboulanger c4365f7a97 [louizatakk] fix bash completion patch. Fixes #5328 2009-10-17 10:18:11 +02:00
Yann Leboulanger 43f87899f8 [louizatakk] shell-like completion 2009-10-16 15:20:12 +02:00
red-agent 958d937d5c Dropped in the reworked version of the new command system
The reworked version has refactored and simplified architecture, which also
involves simplified dispatching.
2009-10-02 23:57:11 +03:00
Yann Leboulanger 6781600942 add a graphics optio nto all print text function to not display emoticons and latex formulas in nicks. Fixes #4651 2009-10-02 16:28:51 +02:00
Yann Leboulanger a9c7731cbb don't use same var for different things in the same function! Fixes #5235 2009-09-29 14:52:25 +02:00
Yann Leboulanger 245c3f12d4 don't remove a file before renaming under windows because os.remove('test') will remove 'TEST' under window. Fixes #5279 2009-09-23 22:27:52 +02:00
red-agent e0e4dd6c31 A bunch of fixes for the command completion 2009-09-17 19:06:38 +03:00
red-agent 39eef45bca Command auto-completion along with some fixes 2009-09-17 13:25:25 +03:00
red-agent ae0f32d922 Dropped in the brand new and shiny command system 2009-09-12 16:51:21 +03:00
red-agent c38e7050f5 Swept everything related to commands 2009-09-11 04:54:26 +03:00
Yann Leboulanger ff49ce0f0d fix typo. Fixes #5259 2009-09-08 20:07:29 +02:00
Yann Leboulanger e4d06f4035 [red-agent] don't reconnect to groupchat when we are disconnected. Fixes #5257 2009-09-08 07:13:49 +02:00
Yann Leboulanger 378cdaeaf0 [red-agent] autoreconnect to MUC automatically. Fixes #5257 2009-09-07 22:27:13 +02:00
Yann Leboulanger 08fe28ce20 when changing hpaned position in a groupchat, move all hapned in all groupchats. see #5252 2009-09-04 22:34:35 +02:00
Yann Leboulanger 682d6f838a add account combobox to join groupchat dialog when we try to join a groupchat from another chat / groupchat. Fixes #3344 2009-09-02 23:45:16 +02:00
Yann Leboulanger de938ee841 fix various problems when changing our nick while we have encrypted pm. Fixes #5234 2009-08-28 11:08:51 +02:00
Yann Leboulanger 062add136e prevent traceback (fix missing import) 2009-08-26 21:57:54 +02:00
Yann Leboulanger a6a5e4de4e fix /ban command 2009-07-23 15:05:33 +02:00
Yann Leboulanger 779dcbd38b fix using change nick button in groupchats 2009-07-21 00:30:43 +02:00
Yann Leboulanger 010e02e329 handle reson when we ban a jid. 2009-07-17 19:12:11 +02:00
Yann Leboulanger 235c4d9ab8 * ask only once at a time to change our nickname in a room in case of conflict
* add a checkbutton to use the entered nickname by default without asking anymore. Fixes #5141
2009-07-17 09:53:15 +02:00
Yann Leboulanger d75fbca31b [Paco] Fix bug with /kick command. 2009-07-12 18:34:47 +02:00
Yann Leboulanger 1ff9001084 [Paco & i] support nicknames with space for /ban and /kick commands 2009-07-10 16:30:10 +02:00
Yann Leboulanger e01cb71d8f handle correctly when MUC server force us to change our nickname by sending a 303 error presence. Fixes #5055 2009-07-09 18:22:41 +02:00
Yann Leboulanger a49eea24ab ability to block / unblock MUC occupants. Fixes #5051 2009-06-27 12:29:55 +02:00
Mateusz Biliński 018bda5a5f Merged default branch with plugin-system branch. Not all elements are fully
functional. This should be considered as sync commit.
2009-06-07 00:00:03 +02:00
Yann Leboulanger c7d4dc8bee prevent a traceback when we get a groupchat presence from unknown participant. see #5067 2009-06-04 18:06:50 +02:00
Yann Leboulanger b18d79b0a0 handle 210 status code in groupchat (Server changed our nickname) 2009-06-02 19:35:57 +02:00
Yann Leboulanger f74ec76e57 ability to select status message and room subject in banner. Fixes #4879 2009-04-26 18:57:18 +00:00
Yann Leboulanger fdcf75ae59 minimize groupchats when closing several windows at the same time. Fixes #4987 2009-04-23 07:26:08 +00:00
Yann Leboulanger dc69e49db6 don't send NS_MUX <x> element when we change nickname in room 2009-04-08 16:38:28 +00:00
Yann Leboulanger 0c27b86cc1 Warn user before closing chat window with tabs where we can loose data. Fixes #3645 2009-04-08 16:28:51 +00:00
Yann Leboulanger 8514e51675 factorize send_file action in chat / groupchat / private chat. see #3948 2009-04-07 17:07:04 +00:00
Yann Leboulanger 2fc1532104 don't show "file-send-real-jid-is-known-warning" dialog when contact is known. see #3948 2009-04-07 11:08:12 +00:00
Yann Leboulanger 06d4188411 don't draw a black square for groupchat occupants that have no affiliation 2009-02-15 10:16:08 +00:00
Yann Leboulanger 43fe19d73e add a small square ti differentiate room member's affiliation. Fixes #3964 2009-02-12 13:12:38 +00:00
Mateusz Biliński 405f2d11b3 Removed premature triple-dots in contact's status message (MUC). Fixes #4741 (caused by changeset [11042]). 2009-01-30 00:52:48 +00:00
Mateusz Biliński b6b1f2bdb0 [dicson] fix #4741 (removed TBs in MUC) 2009-01-28 16:50:32 +00:00
Yann Leboulanger 554764400b coding standards 2009-01-28 12:12:13 +00:00
Yann Leboulanger 68cdc3a5f8 don't traceback when quitting a groupchat. Fixes #4684 2009-01-23 08:33:21 +00:00
Jean-Marie Traissard f8831b947d Faster and cleaner version of groupchat_control.needs_visual_notification().
Thanks to omega for idea.

Now also highlighted for @nick or <nick> but not for "Gajim" if you are "jim"
2008-12-21 20:41:14 +00:00
Yann Leboulanger 2633b5bf16 don't require to still be in the room to read pm. Fixes #4570 2008-12-11 21:15:52 +00:00
Yann Leboulanger e389e0b16b [thorstenp] remove whitespace at eol 2008-12-03 21:56:12 +00:00
Yann Leboulanger 31dc32eeb9 [thorstenp] fix redefined builtins 2008-12-03 17:16:04 +00:00
Yann Leboulanger c163e90b10 [thorstenp] fix unused variables 2008-12-02 15:53:23 +00:00
Yann Leboulanger e2118de64c [thorstenp] remove useless import 2008-12-02 14:44:26 +00:00
Yann Leboulanger eed5dc4e72 [thorstenp] remove useless semicolons 2008-12-02 13:58:54 +00:00
Yann Leboulanger 02230e0607 hide tooltip when we press a button in groupchat. Fixes #4479 2008-11-18 21:43:35 +00:00
Julien Pivotto 5a31ba2ef0 Very basic integration of xHtml GUI 2008-11-14 11:13:15 +00:00
Yann Leboulanger f1526df243 hide add bookmark menuitem in groupchat banner popup menu when room is already bookmarked 2008-11-11 19:15:55 +00:00
js 5b1eb90557 Handle bookmark button in chat window like we handle add contact. 2008-11-10 20:06:28 +00:00
Yann Leboulanger e706e86c2e disable bookmark button / menuitem when room is already bookmarked. Fixes #4156 2008-11-03 06:08:10 +00:00
Yann Leboulanger f5ae955764 show bookmark title instead of jid in tabs and roster. Fixes #4420 2008-11-02 14:31:11 +00:00
Yann Leboulanger bd8ae59a76 Use Alt+T to change subject in a room instead of Ctrl+T 2008-11-02 14:04:46 +00:00
Yann Leboulanger 06ab4a7b6d revert thorstenp patches for now. They introduce bugs. 2008-10-20 21:38:06 +00:00
Yann Leboulanger f801a50260 [thorstenp] fix unused variables 2008-10-20 21:17:48 +00:00
Yann Leboulanger c2c681e05c [thorstenp] remove useless import 2008-10-20 17:54:02 +00:00
Yann Leboulanger 98255a0671 [thorstenp] remove useless ; 2008-10-20 15:16:01 +00:00
Jean-Marie Traissard 269028ec78 GC are now opened without automatic switch to tab, stop them stealing current tab focus
when connected. Still no fix for #3908 :/
2008-10-13 08:01:22 +00:00
Yann Leboulanger 974543edf0 show minimized room in roster in red if we have been highlighted. 2008-10-12 19:17:09 +00:00
Yann Leboulanger 7d3bff5b58 update Contact instance in privateChatControl. see #4292 2008-10-12 11:20:35 +00:00
Yann Leboulanger 158538b81c [thorstenp] rename some var to not hide builts-in functions (list -> list_, ...) 2008-10-11 10:22:04 +00:00
Yann Leboulanger ed748fdda3 [thorstenp] replace list with tuple in for and if 2008-10-11 09:42:59 +00:00
Yann Leboulanger 567f1e17c1 [thorstenp] di not use emtpy except clauses 2008-10-11 09:37:13 +00:00
Yann Leboulanger 6cc8204319 [thorstenp] replace if statement with dict.get() 2008-10-11 09:31:48 +00:00
Yann Leboulanger ecce19505c prevent traceback when private message window creation fails. Fixes #4393 2008-10-09 14:27:52 +00:00
Yann Leboulanger 9d7c80d522 [thorstenp] replace has_key by key in dict. Fixes #4392 2008-10-07 20:41:59 +00:00
Yann Leboulanger 82c8516c0b prevent sending invalid XML chars in pm and in muc. Fixes #4354 2008-09-29 11:11:49 +00:00
Yann Leboulanger a9e64fb65f don't prevent removing contact iter in groupchat if there are pending event with an opened chat window. Fixes #4340 2008-09-27 16:14:37 +00:00
Yann Leboulanger 5da238ee54 show free for chat contacts before online contacts in roster when sorting by status. Fixes #4301 2008-09-27 14:20:44 +00:00
Yann Leboulanger 22cc993fa7 ability to sort by status in roster and in muc separatly. Fixes #3823 2008-09-26 15:22:16 +00:00
Yann Leboulanger 941b7cf974 sort group chats by status if option is checked. Fixes #3823 2008-09-23 14:39:04 +00:00