Commit Graph

537 Commits

Author SHA1 Message Date
Yann Leboulanger 9a8dd5db02 show better icon for send file menuitems / buttons. Fixes #4282 2008-09-08 11:27:37 +00:00
Yann Leboulanger 66f8bab7d6 show number of participants in groupchats. fixes #3418 2008-09-02 07:00:35 +00:00
Yann Leboulanger 7f1a132caa fix typo 2008-08-29 09:38:34 +00:00
Yann Leboulanger 15b9b3e1c2 show role and affiliation in groupchat correctly. fixes #3871 2008-08-29 09:35:44 +00:00
Yann Leboulanger bcc39c4e1c ask to change nickname for a groupchat only once. Fixes #4250 2008-08-29 08:06:28 +00:00
Travis Shirk 49ad57084e Updated copyright years for myself. 2008-08-22 03:15:54 +00:00
Travis Shirk 55c1868d92 Make the message control text entry grab focus when new controls are created and each time the tabs
are switched.  Fixes #4227
2008-08-22 03:03:15 +00:00
Julien Pivotto de4a23e751 See #4200.
* remove js from some headers
 * set coding:utf-8 to allow real names in headers
2008-08-15 17:31:51 +00:00
Julien Pivotto 8bc9bc29ae * Big headers review
* Remove some licencing problems
 * To do: same for images
 * See #4200
2008-08-15 03:20:23 +00:00
Yann Leboulanger 5fbea47130 warning dialogs when closing a chat window are non blocking 2008-08-08 15:19:08 +00:00
Julien Pivotto d290f1ea91 clarify my last commit [10153] 2008-08-08 09:08:42 +00:00
Julien Pivotto 72e4147591 Prevent a traceback when dragging a file over a groupchat. Fix #4142. 2008-08-08 08:59:31 +00:00
Yann Leboulanger df895d4817 nearly no blocking dialogs 2008-08-07 21:57:19 +00:00
Mateusz Biliński 16ac65e58b Improvements to GUI extension points handling - added method to remove these from PluginManager (memory optimization).
Removed logging from most of the code.
2008-08-03 13:29:11 +00:00
Yann Leboulanger 4eebf0e036 fix some translated strings 2008-08-01 13:03:23 +00:00
js 8605cd3f38 For historical reasons, we have a tab width of 3. This is strange, but
we have that in all files. To at least lesser the confusion a bit, add
vim tags for that.
Additionally, fix wrong #! in a few files.
2008-07-29 19:49:31 +00:00
Stephan Erb d83f9da555 Improved groupchat minimization:
* partly rewrote join_room because it was hard to read
 * Correctly handle invites from anonymous rooms. Fixes #4057
 * Use HIG dialog for invitation requests
 * Fix bug where minimized groupchats where hidden after a reconnect
 * Removed some duplicated code
2008-07-19 17:36:21 +00:00
Brendan Taylor 15567aa113 fix encrypted/unencrypted notifications in PM 2008-07-14 23:46:22 +00:00
Brendan Taylor 8da186bffb fix a couple of GC and PM TBs 2008-07-07 03:51:05 +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
Brendan Taylor 17844361bb sesison-related TB fixes 2008-07-03 23:19:44 +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
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
js fcbb71a6d2 This shoudl fix tab completion in GC. For real now, I hope. 2008-05-18 19:51:58 +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
Brendan Taylor d511b5afc4 merged in session-centric branch, with fixes for OTR compatibility 2008-05-13 01:59:10 +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 2162c3730a merged in session_centric branch 2008-05-11 01:19:59 +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 b04250cf9f Added bookmarks for *EVERY* button in chat window and GC window. 2008-05-09 09:34:38 +00:00
js dbdf6a135e Improve the last commit, popup is shown under the button now. 2008-05-07 16:36:45 +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
js ab1f59c433 Same for groupchat. 2008-05-05 18:43:44 +00:00
Brendan Taylor 1962b231e6 pm bugfix 2008-05-04 00:24:27 +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
Yann Leboulanger ec08797805 [js] fix nick completion in groupchats 2008-04-28 21:13:13 +00:00
Stephan Erb 29d2e00803 Small roster API cleanups. 2008-04-23 22:34:10 +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
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 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
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 ffbc0c65bc use a textview to change subject of a room. Fixes #3858 2008-04-18 19:15:03 +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
Jean-Marie Traissard fbc1ae9b5c fix possible TB (can be None) 2008-04-16 21:39:58 +00:00
Jean-Marie Traissard eb22930361 do a little less loops 2008-04-06 13:23:10 +00:00
Jean-Marie Traissard 06fdc8367b Auto sort bookmarked rooms list (when opening manage dialog and when adding
new one). Fixes #3739.
2008-04-06 13:14:00 +00:00
Jean-Marie Traissard 59cc0a4aa8 Correct indent 2008-04-05 12:53:01 +00:00
Jean-Marie Traissard df13948d87 Make nick cycle works with spaces in nicks, fix a possible bug if gc_refer_to_nick_char is not ",". Fixes #3810. 2008-04-05 12:48:39 +00:00
Jean-Marie Traissard c497087115 Continue to check message for HL words after we found one that could be only the beginning of another real word. 2008-04-01 19:57:27 +00:00
Jean-Marie Traissard d10e203255 Cleaner version to check if char after a highlight is an alphanum or not 2008-03-30 21:45:51 +00:00
Jean-Marie Traissard 39d18c893d Fix logic, fix char code 2008-03-30 21:16:35 +00:00
Yann Leboulanger 6de493fbb5 update GC_Contact instance when we change our nickname in a room. fixes #3784 2008-03-24 09:16:03 +00:00
Jean-Marie Traissard ccb23a9e0c Fix TB introduced in [9400] if using minimized muc 2008-03-20 20:39:51 +00:00
Jean-Marie Traissard 9e15e4bcab do not redraw_tab too much if not needed 2008-03-20 19:37:20 +00:00
Brendan Taylor c8cae71099 merged trunk 2008-02-14 02:20:07 +00:00
Yann Leboulanger 36438f44b6 fix the draw avatar calls 2008-02-05 21:24:48 +00:00
Jean-Marie Traissard 37ea4052e1 Cleaner way to check for 'show_avatars_in_roster' 2008-02-05 17:48:25 +00:00
Jean-Marie Traissard 4d675c42b1 Never load avatars for roster and gc-roster if we don't want them.
See #3718. See also [9287].
2008-02-05 17:02:05 +00:00
Brendan Taylor 0b48b05218 merged trunk into session_centric branch 2008-02-05 03:09:31 +00:00
Yann Leboulanger d85e0fdc75 prevent a GTK warning 2008-01-30 08:12:59 +00:00
Stephan Erb 67b9f1cdae We may not add ourself to roster. Make entry in occupants menu insensitive. 2008-01-28 21:22:38 +00:00
Stephan Erb 1b5b9138a4 Kill risk of double color usage when color pool is not exhausted.
Make code a bit more pythonic.
2008-01-05 22:07:53 +00:00
Stephan Erb ea5db436e1 Do not duplicate accounts with pep support in Edit->Profile menu.
Fix some strange encoding error.
2008-01-02 13:41:41 +00:00
Yann Leboulanger 2acc696716 improve look when we set avatar to the left. fixes #2102 2008-01-02 13:08:42 +00:00
Jean-Marie Traissard ddbcfcd7a2 Highlight on (nick/muc_highlight_words) that contains a space too. Fixes #3624. 2007-12-17 21:54:18 +00:00
Jean-Marie Traissard 674b4f57d5 Readd part of [8904] removed in [8938]. Then mix them. So we fix #3495/#3506 and problem when connecting
with an already used nick.
Fixes problem when we change nick with dialog to an already used one and then cancel. Fixes #3506.
2007-12-03 19:39:40 +00:00
Stephan Erb 7b563e3734 Remove tooltips when we close a groupchat window. 2007-11-29 21:43:39 +00:00
Stephan Erb 5c92566a1d Hide status/topic label when there is nothing to show.
Disable empty tooltips.
2007-11-29 20:33:10 +00:00
Stephan Erb 16e8369e23 Fix some random indentation errors and missing imports. 2007-11-27 21:14:04 +00:00
Yann Leboulanger 1f7a462788 [James Newton] osx port for Gajim. a GREAT thanks!!! 2007-11-14 19:47:52 +00:00
Yann Leboulanger bf6e25576e fix nick behaviour when we enter a room with an already used nick. 2007-11-05 21:49:42 +00:00
Yann Leboulanger c4bc44adb1 empty subject label whn there is no subject 2007-10-22 12:06:16 +00:00
Yann Leboulanger 605caae2b8 My name has changed 2007-10-22 11:33:50 +00:00
Yann Leboulanger 22c1aeda29 next release will be GPL v3. fixes #3290 2007-10-22 11:13:13 +00:00
Yann Leboulanger bbb7f5b0d4 fix unicode error in groupchat. Fixes #3480 2007-10-21 09:28:34 +00:00
Yann Leboulanger c9c066f8e6 jid when destroying room is optional 2007-10-17 15:16:26 +00:00
Yann Leboulanger 37851df6e9 prevent file rename when new nick is the same as old nick. 2007-10-15 20:16:57 +00:00
Yann Leboulanger d0649b8f81 [misc] fix change nick behaviour. fixes #3495 2007-10-13 17:47:13 +00:00
Yann Leboulanger 0869ce362c Follow nick change in private message. fixes #3455 2007-10-13 14:37:22 +00:00
Yann Leboulanger aff3697f06 use python-sexy if available to have clickable links in chat window banner. fixes #2962 2007-10-09 17:48:22 +00:00
Yann Leboulanger 10f8279e57 NonModalConfirmationDialog and ConfirmationDialognow automaticaly close window on ok or cancel. fixes #3486 2007-10-07 17:22:47 +00:00
Yann Leboulanger 0585a8475f fix ConfirmationDialogCheck callback behaviour 2007-10-01 17:11:47 +00:00
Yann Leboulanger f9a7a5c373 move accelerators tom (group)chat_control to message_window. fixes traceback with minimized groupchats 2007-09-16 09:02:04 +00:00
Yann Leboulanger 29cc2d0939 add key shortcut to open history and information window. fixes #3233 2007-09-15 10:11:46 +00:00
Yann Leboulanger 8ec061f5f6 prevent the user before sending a file to a groupchat contact that doesn't know his real jid. 2007-09-12 23:12:29 +00:00
Yann Leboulanger 0020c95c02 [Maxime Chéramy] /join room works. Gajim uses actual's MUC server. 2007-09-09 17:35:21 +00:00
Yann Leboulanger 55ba23881e don't check if there is a @ when we invite a JID. 2007-09-05 18:23:16 +00:00
Yann Leboulanger c3e40ea498 catch traceback and show error message when we try to change our nickname with not allowed chars 2007-09-04 21:46:22 +00:00
Stephan Erb 2fdeabc012 Add my copyright :-) 2007-08-31 23:19:23 +00:00
Yann Leboulanger 765b5eb2b2 /join command without argument now pre-fill join_groupchat dialog with current server and nickname 2007-08-27 12:09:07 +00:00
Yann Leboulanger c9a407ca52 [Brendan Taylor] Gsoc 2007 work : end to end encryptions. Fixes #544 2007-08-25 22:42:35 +00:00
Yann Leboulanger 78f2c8c021 [roidelapluie, elghinn, msieurhappy, xbright and me] chat to muc convertion. see #2095 and #1408. TODO: DND 2007-08-21 23:13:03 +00:00
Brendan Taylor 88e49ffa46 don't create uneccessary sessions (eg. for groupchat messages), bugfix for pms 2007-08-20 17:33:12 +00:00
Yann Leboulanger 176593db97 don't allow to bookmark a room on server that don't support private storage. 2007-08-19 15:32:41 +00:00
Stephan Erb cd4a620d94 Prevent possible traceback 2007-07-25 17:30:43 +00:00
Stephan Erb 07a3393b72 DnD of contact on a MUC window to invite 2007-07-23 21:20:33 +00:00
Stephan Erb e308b8f15a Gerneralize DND on chat windows and enable it for msg_textview. ToDo: Invite to groupchat via DND 2007-07-23 13:07:04 +00:00
Julien Pivotto 8fb9b69874 Fix a stupid bug 2007-07-19 18:44:50 +00:00
Julien Pivotto 3087a66ccb Fix a bug with my last commits 2007-07-19 18:37:11 +00:00
Julien Pivotto 3a1b83228d Beter handling of status code in MUC. see #3270. 2007-07-19 13:12:11 +00:00
Julien Pivotto 97d5ffdb7d Beter handling of status codes. See #3270.
http://www.xmpp.org/extensions/xep-0045.html#registrar-statuscodes-init
2007-07-19 11:54:15 +00:00
Julien Pivotto 0314f23aa4 Add notification of Configuration Changes in MUC. See #3270.
http://www.xmpp.org/extensions/xep-0045.html#roomconfig-notify
2007-07-19 10:06:59 +00:00
Julien Pivotto 015ee132ae XEP-0045: Multi-User Chat
* Handle Multiple status code in MUC.
 * Warn the user if room logging is enabled (
http://www.xmpp.org/extensions/xep-0045.html#enter-logging ). Fix #3270.
2007-07-19 09:27:33 +00:00
Julien Pivotto 5c36dd8e78 [Lukas and I] use 'event' instead of 'message' as icons names ans
states. Fix #2755.
2007-07-13 10:11:49 +00:00
Julien Pivotto 59aa2cf87d Don't print xhtml in history messages.
So all the messages are grayed.
2007-07-12 20:38:56 +00:00
Julien Pivotto 9994643247 Added my own copyright :-P 2007-07-11 21:39:27 +00:00
Stephan Erb e88d547ed9 See [8324]: do the same in groupchats. Comment added 2007-06-27 09:26:58 +00:00
Stephan Erb 7be506e3f5 Compact View:
* Move checkbox to preferences. Fixes #2662
 * Merge option for muc and chat
2007-06-25 23:51:44 +00:00
Yann Leboulanger 519bfa9352 remove private messges from unread_messages table in logs.db 2007-06-25 19:34:23 +00:00
Yann Leboulanger e65bca1049 initialize minimize_on_autojoin to False when we add a new bookmark 2007-06-19 17:31:47 +00:00
Yann Leboulanger 0a165c813b improve minimize on close code 2007-06-15 18:30:48 +00:00
Yann Leboulanger 0758be7c14 ability to send a file to a groupchat occupant if we know his real JID 2007-06-15 17:38:14 +00:00
Yann Leboulanger b6eb2f94c9 minimize menuitem -> minimize on close checkbutton. see #3034 2007-06-14 17:44:24 +00:00
Yann Leboulanger 510184a6b2 move focus_out_line when groupchat is minimized 2007-06-12 18:16:34 +00:00
Yann Leboulanger ee41ae8927 don'trequest vcard on a irc channel when someone changes his nickname. fixes #3194 2007-06-12 17:51:57 +00:00
Julien Pivotto 6338f63f03 Fix some bugs with minimized groupchats. 2007-06-11 10:13:16 +00:00
Stephan Erb babd1ee042 Enable ellipsization in roster and chatwindow. Fixes #2079, #2739
Reorder occupantlist in groupchat to match roster. Fixes #2102
2007-06-11 08:37:46 +00:00
Julien Pivotto 08a8d169e9 remove groupchats from roster when the tab is destroyed 2007-06-07 12:47:07 +00:00
Julien Pivotto 2f6c9f0d19 Open private messages in minimized rooms by middle-clicking on systray icon. 2007-06-07 11:58:56 +00:00
Yann Leboulanger 52c6c6cbb7 [roidelapluie] better groupchat support in roster and systray. Better nick support 2007-06-03 13:40:14 +00:00
Yann Leboulanger cefac49fdf refactor groupchat popup menu. see #3211 2007-06-02 12:03:02 +00:00
Julien Pivotto 0863ce8dba Fix a bug with changing status in groupchats. Always print "You are now %s" in groupchats, even if you change from "action menu". 2007-05-27 09:16:21 +00:00
Julien Pivotto 68ec9fec2e Improve coding of [1869].
--Cette ligne, et les suivantes ci-dessous,
seront ignorées--

M    src/groupchat_control.py
2007-05-21 21:39:58 +00:00
Julien Pivotto 05542130fa Improve [8168]: correct window title and print number of marked messages
in tabs.
2007-05-21 21:33:48 +00:00
Julien Pivotto cd8316aa9e Do not count gc messages in tabs if notify_on_all_muc_messages is false. 2007-05-21 19:43:33 +00:00
Yann Leboulanger 959cff3c89 fix TB 2007-05-20 16:20:05 +00:00
Yann Leboulanger a45a14546a handle correctly vcards in groupchats : ask them to real jid if we know it, but considere it arrive from fake jid. Fixes #3172, #3173 2007-05-20 15:41:20 +00:00
Jean-Marie Traissard cfad535222 Put last highlighter on top on stack if he is already in it. Thanks Yann 2007-05-17 20:50:11 +00:00
Jean-Marie Traissard 38d2b822f8 [dema/Jim++]show last highlighters first on empty line nick completion. Fixes
#2975.
2007-05-17 15:54:23 +00:00
Julien Pivotto 993d72a8c1 Fix a bug with receiving Private Messages when roster is minimized, print the number of unread pm in roster, and change icon when a pm is received. 2007-05-17 12:55:44 +00:00
Julien Pivotto 93dbdd3dd8 (Fix #3174) Groupchats in roster: Open groupchats with middleclick, fix notifications in systray and print number of unread marked messages in roster. 2007-05-17 08:39:21 +00:00
Jean-Marie Traissard 5b758a4977 Do not use single click for roster and gc-roster to open chats if an usefull modifier key is
pressed. See #2072.
2007-05-14 17:29:06 +00:00
Yann Leboulanger eca640f2f7 don't ask vcard twice to the user when we enter a groupchat (one to fake jid and one to real jid) 2007-05-13 08:11:32 +00:00
Yann Leboulanger 936f8f8e93 request vcard to real jid when we ask avatar. Fixes #3054 2007-05-12 21:49:27 +00:00
Yann Leboulanger aab2e0d14d fix TB, call correctly ErrorDialog 2007-05-09 20:28:21 +00:00
Julien Pivotto 37a234b1be Remove unneeded commented code. 2007-05-07 21:10:27 +00:00
Julien Pivotto 19df2a0f9e Fix some bugs and improve coding of minimized groupchats. 2007-05-07 21:02:48 +00:00
Julien Pivotto 253c7e6cfc (Fix #3034) Add ability to minimize groupchats in roster, and to minimize autojoigned bookmarked rooms at launch. 2007-05-03 21:02:50 +00:00
Yann Leboulanger 3545dd3b90 [TheCurse] single-clicking ability. fixes #2072 2007-04-26 16:44:00 +00:00
Yann Leboulanger 353c62bc71 make contect menu items sentitive when they must be. 2007-04-18 22:30:42 +00:00
Yann Leboulanger 010f53a492 request vcard to full jid if we know it. fixes #3054 2007-03-31 08:47:42 +00:00
Yann Leboulanger 5920d03aee ability to destroy a room when we are owner, give a reason and alternative room
jid. fixes #3031
2007-03-11 20:14:53 +00:00
Yann Leboulanger 2fb7c9cf99 [misc] Don't duplicate status message when someone is kicked 2007-02-20 07:08:36 +00:00
Yann Leboulanger 4a1a99a220 revert [7980]: remove useless command /slap 2007-02-15 15:59:55 +00:00
Jean-Marie Traissard 78f7ac7886 [bb] /slap 2007-02-15 00:17:05 +00:00
Jean-Marie Traissard 05f306115e Delete change_nick() func, use join_gc() instead. Fixes #2903. 2007-02-11 03:22:40 +00:00
Jean-Marie Traissard 039fbb7953 better var name, use int instead of float 2007-02-11 02:35:02 +00:00
Jean-Marie Traissard 2d55775f85 Do NOT save muc_cmds list for every gc_control instance 2007-02-08 19:08:44 +00:00
Jean-Marie Traissard e6b3c40e97 Deleting control.display_names, useless var now 2007-02-08 18:32:10 +00:00
Jean-Marie Traissard d37e7d8e3e No space in indentation, checked by drpython (editor). /src part 2007-02-04 13:01:04 +00:00
Yann Leboulanger a794812ea5 stringprep nickname when we want to change nick in a room. fixes #2605 2007-01-31 21:31:10 +00:00
Yann Leboulanger bbab7a3d94 disable and redraw pm when we leave a groupchat or when we are disconnected. fixes #2935 2007-01-26 22:11:28 +00:00
Nikos Kouremenos e9afe36ff3 clean code and update to using GTK/PyGTK 2.8; see #2248 2007-01-16 23:26:38 +00:00
Jean-Marie Traissard 6b0edad24d Memory usage : Don't store some vars in self when not necessary 2007-01-09 23:09:14 +00:00
Jean-Marie Traissard 5da41204ef memory usage : Do not save gc_refer_to_nick_char for each gc control 2007-01-09 22:36:26 +00:00
Jean-Marie Traissard 712b39bba7 Skip self in nick completion 2007-01-09 22:24:41 +00:00
Jean-Marie Traissard a57d59edaf Don't redraw gc banner text when gc comes online, useless 2007-01-09 15:29:23 +00:00
Jean-Marie Traissard 57355708f4 typo 2007-01-09 14:35:31 +00:00
Jean-Marie Traissard 88a358f297 add some comments to previous changeset 2007-01-09 14:29:20 +00:00
Jean-Marie Traissard eea2e1c881 Remove a LOT of useless draw_banner()
(stop drawing it 5 times when joining muc, stop reloading banner state icon on ALL
notifications, ...)
roster.py one seems useless because ctrl.update_ui() did it already
2007-01-09 14:23:28 +00:00
Yann Leboulanger 0ac904c6be remove unread events from systray when we leave a room. Fixes #2867 2007-01-06 20:41:03 +00:00
Yann Leboulanger d84b63b172 windows require to remove old_file before doing os.rename(new_file, old_file) 2007-01-05 18:05:51 +00:00
Yann Leboulanger 47f9461584 [Jeff Bailes] improved english strings 2007-01-02 13:36:54 +00:00
Jean-Marie Traissard 235950e2af Pyflakes spoted undefined name, 80 chars 2006-12-17 22:56:16 +00:00
Yann Leboulanger 3289f8fdd1 update gc roster instantly when we change theme. fixes #2766 2006-12-16 20:12:16 +00:00
Jean-Marie Traissard fd13baefc4 Use good font settings for gc_roster nicks. See #2766. 2006-12-12 22:43:44 +00:00
Jean-Marie Traissard c54dfb4ffd Restore gc_banner tooltip (was broken when icon was added). See #2766. 2006-12-12 22:06:24 +00:00
Jean-Marie Traissard 3d844c0e29 Redraw correctly gc banners when we change theme. See #2766. 2006-12-12 19:10:52 +00:00
Yann Leboulanger 90cda75734 make ask_new_gc_nick asynchronous. should fix #2746 2006-12-08 19:10:28 +00:00
Yann Leboulanger 26b0e1bc0a rendre role rows in muc the same way we render groups in roster. fixes #2765 2006-12-07 21:32:53 +00:00
Yann Leboulanger 8a8de540a0 redraw banner when we are connected or disconencted. see #2702 2006-11-30 15:12:25 +00:00
Yann Leboulanger e927ccdfc2 show muc_inactive image when gc is not connected. see #2702 2006-11-30 11:32:49 +00:00
Yann Leboulanger ff7c612f97 show groupchat icon in groupchat window banner. see #2702. TODO find muc_active.svg to create 32x32 icons 2006-11-30 09:05:59 +00:00
Jean-Marie Traissard f041f8dd5e JID->Jabber ID in gc tooltip
if print_time==sometimes : Show the day if needed also. Use locale for time format (do
not force
24h)
Delete a lot of unused locale variables (thanks pychecker)
del gajim.py useless global vars after use
configpaths.py : use self. not this.
2006-11-21 18:46:33 +00:00
Yann Leboulanger 0e092980fd show unread pm in tab and in chat window title. fixes #2645 2006-11-10 23:17:52 +00:00
Yann Leboulanger da58aeaf88 [Petteri] topic autocompletion. fixes #2654 2006-11-10 20:06:57 +00:00
Yann Leboulanger 291666a5e3 show gc topic changements with timestamp as old conversations (grey) 2006-11-05 23:46:06 +00:00
Jean-Marie Traissard 57e4c75a83 [junglecow] Bookmarked groupchat rooms to follow global print_status_in_muc setting
if print_status unspecified by user. Fixes #2641.
2006-11-05 22:09:19 +00:00
Jean-Marie Traissard e2929d12bf Fix notify_on_all_muc_messages I just broke, remove useless and unclear function 2006-11-03 21:27:56 +00:00
Yann Leboulanger 21e3f8a6a7 don't show subject tooltip if there is no subject. fixes #2572 2006-10-16 20:28:18 +00:00
Jean-Marie Traissard ccf2b261c7 Use "group chat" instead of "room" in all strings. Fixes #2523. 2006-10-12 02:12:10 +00:00
Yann Leboulanger 8194bd0480 use 'muc_message_received' sound if it is enable without checking notify_on_all_muc_messages option. Fixes #2494 2006-10-11 17:03:25 +00:00
Yann Leboulanger aae7e7e99c allow shutdown func now get the method we used to close the tab. So that we check if a row is selected in gc control only if we close tab by pressing Esc key. fixes #2528 2006-10-10 15:53:42 +00:00
Nikos Kouremenos 627469e5e0 from common.exceptions import GajimGeneralException as GajimGeneralException -> from common.exceptions import GajimGeneralException 2006-10-10 15:29:10 +00:00
Yann Leboulanger 835643da91 do not ask confirmation window nor check if a row is selected when we close muc with /leave (or others) command. fixes #2528 2006-10-09 11:09:17 +00:00
Yann Leboulanger b821d23f70 get real jid of contact we want to ban from a room. Fixes #2521 2006-10-09 10:15:14 +00:00
Yann Leboulanger 0a572cf822 check if contact is still in room when we want to draw his avatar 2006-10-09 09:59:08 +00:00
Yann Leboulanger c3062d493b PrivateChatControl now hold room name so that we can draw banner of pm even if room control has been closed. Fixes #2527 2006-10-09 09:40:04 +00:00
Yann Leboulanger feb9ba709a put xhtml event in queue for pm too. fixes #2524 2006-10-09 09:10:32 +00:00
Jean-Marie Traissard 47536d3158 Do not show [u'bad_jid'] but bad_jid 2006-10-08 20:44:05 +00:00
Jean-Marie Traissard 2315eb8907 it's only room_jid now, was missing in [7112], [7142] was not enough 2006-10-08 19:14:01 +00:00
Jean-Marie Traissard b8b7aa8ab1 Fix var name 2006-10-08 15:22:23 +00:00
Nikos Kouremenos 313091a771 fix what we expect 2006-10-08 00:16:22 +00:00
Nikos Kouremenos 10ae874cb6 We now use one term "group chat" in the place of sometimes used room 2006-10-07 14:36:08 +00:00
Nikos Kouremenos 01e3fc1199 introduce GajimGeneralException and use that instead of RunTimeError when raising so instances are not created. This is better because python can also raise RunTimeError, which we will catch by accident and we do not want that to happen 2006-10-07 12:41:19 +00:00
Nikos Kouremenos 8dfb1a5a66 unite room and server name resulting in a room jid interface [so it aligns with add new contact]. fixes #2504 2006-10-07 12:18:51 +00:00
Yann Leboulanger f346cf76bf fix search in gc roster treeview. Fixes #2470 2006-10-06 22:57:23 +00:00
Yann Leboulanger 9b83c74487 move gtkgui_helpers.reduce_chars_newlines to common/helpers.py. It's not GTK related. 2006-10-06 14:52:25 +00:00
Yann Leboulanger 1ee6cbc8cf in vcard window, print role and affiliation when it's a gc vcard. Fixes #2457 2006-10-06 14:29:15 +00:00
Jean-Marie Traissard 38830c9686 Show "This room has no subject" only in textview, not sometimes in banner and
sometimes not, nor in actions->change topic
2006-10-05 13:10:33 +00:00
Yann Leboulanger d55e56f0b9 show * in gc tab when one message 2006-10-04 11:12:45 +00:00
Yann Leboulanger 6b40b5ad32 [Santiago Gala] we can now see XHTML (JEP 0071). See #316 2006-10-03 14:12:42 +00:00
Jean-Marie Traissard bc4d4bc7e2 Seems to fail, load icons differently 2006-09-30 14:53:05 +00:00
Jean-Marie Traissard 452f8bea2b Count only gc HIGHLIGHTED messages, except if notify_o_all_muc_meessages. Show count in tab.
Note that this disable previous inconsistent behaviour where all gc_messages were counted in
systray
whereas tray icon was not animated. notify_on_all_muc_messages can still be used for that.
2006-09-30 14:28:10 +00:00
Nikos Kouremenos b0b40856f5 80chars and list_view = self.listview = get_widget is too much [rm the local var] 2006-09-29 10:43:52 +00:00
Nikos Kouremenos 9002b3d293 put my email (and jid), not one of my JIDs 2006-09-28 11:31:25 +00:00
Yann Leboulanger 2a73ecc994 don't close muc when we press ESC if a row is selected. Fixes #2440 2006-09-26 07:05:39 +00:00
Jean-Marie Traissard ee7b16c405 Do not set tab to active color when we shouldn't, fix bug in [6914] 2006-09-25 14:36:24 +00:00
Yann Leboulanger be61788f24 use helper function 2006-09-25 06:59:01 +00:00
Jean-Marie Traissard 921274b6c4 Remove "state_active_color" option. Get fg color from gtk. 2006-09-25 04:23:31 +00:00
Jean-Marie Traissard edc176975e Don't show ressource in join/left in gc, and neither in chat, except if more than
one ressource connected.
2006-09-24 23:41:54 +00:00
Yann Leboulanger 7da36ae7a4 move "last read" line in groupchat correctly. Fixes #1947 2006-09-17 08:32:25 +00:00
Yann Leboulanger 15b44f5eec detect and print old gc messages as restored messages. Fixes #2253 2006-09-14 13:31:14 +00:00
Yann Leboulanger 29cef733f2 don't count pm messages in roster window, but in groupchat window. Fixes #2401 2006-09-07 14:35:23 +00:00
Yann Leboulanger 30fb604642 private messages are save as pm in events list 2006-09-06 21:39:32 +00:00
Yann Leboulanger 80ba7ac5e7 sort and don't use underline in insert_nick sub menu. Fixes #2396 2006-09-06 11:58:11 +00:00
Yann Leboulanger e80467dc0d [Santiago Gala] we can now have a different spellchecking language in each chat window. Fixes #2383 and #746. 2006-09-03 17:04:41 +00:00
Yann Leboulanger 4dd4f27b19 don't TB when someone changes his nick before having an assigned color (when he talk for the first time) 2006-09-03 11:02:48 +00:00
Yann Leboulanger a67eaba727 events are now saved in an Event class. show in roster/systray options in Advanced Notification Control (for incomming messages) now work. 2006-09-02 21:01:11 +00:00
Jean-Marie Traissard cb555a148c Set right color for /me whith gc_nickname_color* 2006-09-02 09:56:52 +00:00
Jean-Marie Traissard 8af50e298f Set nicknames colors per muc, not for all of them ! Keep nick color on
nick change. Closes #2264.
2006-09-02 00:35:03 +00:00
Yann Leboulanger 2d876923d9 move the draw og the focus out line to conversation_textview.py
reset focus_out_end_iter_offset var when we clear the textview. Fixes #2175
2006-07-27 10:54:12 +00:00
Yann Leboulanger ea82b1dcc1 print real jid in gc status and in logs when we know it. Fixes #1940 2006-07-24 13:42:35 +00:00
Yann Leboulanger 3d50d79094 set gc_count_nicknames_colors to 0 instead of 10 before we use it. Fix a warning 2006-07-19 14:53:59 +00:00
Yann Leboulanger ea2a906e31 disable pm chats when we leave a room. Fixes #2036 2006-07-18 09:46:59 +00:00
Yann Leboulanger 3895724710 systray now saves unread messages even if it is not enabled (but module is present). Fixes #2134 2006-07-17 21:41:11 +00:00
Jean-Marie Traissard 1a9d4690b0 [ roidelapluie ] Use differents colors for nickname in gc for each occupiant. Fixes #2084. 2006-06-22 14:44:06 +00:00
Yann Leboulanger bc26593974 use gettext.install. Fixes #497 2006-06-15 06:49:04 +00:00
Dimitur Kirov 64e66817e5 print the rest of the names 2006-06-08 13:49:52 +00:00
Dimitur Kirov 664e00c43c [avb] add /names command for GC
Fix /query [TAB] bug
2006-06-08 10:09:15 +00:00
Jean-Marie Traissard eba425d73a Don't allow to change nick to actual nick, it breaks presence 2006-06-05 09:16:44 +00:00
Yann Leboulanger 97430552cb rename vcard / avatar files when a gc contact changes his nick. Fixes #1914 2006-05-30 11:41:58 +00:00
Yann Leboulanger d848e71d3b menu are now shown before popup so that they are correctly placed. 2006-05-26 13:25:31 +00:00
Jean-Marie Traissard d440bdddab Do not highlight in gc in case we are sure our nick is beginning of a real word (nick after = A->Z or a->z) 2006-05-24 16:15:49 +00:00
Jean-Marie Traissard 1a7fbe727f make muc-actions -> "bookmark this room" work with print_status 2006-05-22 14:38:20 +00:00
Alex Mauer d4c11be06d * Add/move the last read line even if the window is focused, if we're on
a different tab.
2006-05-18 21:45:59 +00:00
Jean-Marie Traissard 30f83fc2cb Typo + Really delete unused make_groups_submenus_for_chat_with() + redraw pm tab AFTER muc contact
disconnected + fix reference before assignement TB
2006-05-18 18:07:53 +00:00
Jean-Marie Traissard 7cd0b8d603 Don't print "new_nick has joined the room" after "old_nick is now known as new_nick". Add new_nick to roster
when we receive /nick stanza.
2006-05-17 17:56:33 +00:00
Alex Mauer b82a36083e * If the room bookmark has no print_status defined, then default to
configured print_status_in_muc
2006-05-16 22:30:55 +00:00
Yann Leboulanger d7d0e25d25 print_status_in_muc is not a string which can be 'all', 'none' or 'in_and_out'(default one). version is 0.10.0.1 to update this variable.
show_status becomes print_status in server (show_status is still read for transition)
2006-05-10 16:25:57 +00:00
Yann Leboulanger 9abd27fbf8 we can now configure if we want to see all status or only enter/leave in bookmarked rooms. 2006-05-07 21:44:57 +00:00
Yann Leboulanger 56672097d1 add "clear" and "insert nickname" in message textview contact menu. Fixes #1933 2006-05-07 12:47:24 +00:00
Yann Leboulanger 255667a41c shift + click on a GC occupant print his nick in textview. For #1933 2006-05-07 12:23:28 +00:00
Yann Leboulanger 92d7fe3d2a a[space][tab] doesn't cycle anymore 2006-05-06 20:55:52 +00:00
Yann Leboulanger d38840ba04 add , char at the end of nick at first TAB keypress. 2006-05-06 20:32:07 +00:00
Yann Leboulanger 34ee6ea2a7 show "NICK has joined the room" and print reason when someone leaves it. Fixes #1933 2006-05-06 20:01:25 +00:00