Commit Graph

768 Commits

Author SHA1 Message Date
Yann Leboulanger aa3a8c7f46 hide invite contacts buttons in zeroconf chat controls. Fixes #7188 2012-08-04 17:14:34 +02:00
Denis Fomin d71ce1f27c move change tooltip text for audio and video buttons from init to _update_toolbar. 2012-07-19 20:31:06 +04:00
Denis Fomin 3152dc6cd6 change tooltip text for audio and video buttons. 2012-07-19 19:43:00 +04:00
Jefry Lagrange ccb53c7c08 send files to gc peer. Fixes #7171 2012-06-16 18:41:33 -04:00
Jefry Lagrange 2af1af2011 file_props refactoring 2012-06-14 12:27:23 -04:00
Yann Leboulanger 0c36f50196 merge from trunk 2012-04-12 22:07:30 +02:00
Yann Leboulanger 07b8d1a358 show invitation to groupchats in chat window info bar. Fixes #1804 2012-04-09 21:26:35 +02:00
Yann Leboulanger 75c495979c add XEP-0224 support (/attention command, persistant popup and special sound). F
ixes #3465
2012-04-09 13:38:28 +02:00
Yann Leboulanger e1808fd550 [Olivier Crete] port Gajim to use Farstream instead of Farsight2. Fixes #7113 2012-04-01 19:49:52 +02:00
Yann Leboulanger aec9f53c2d revert unwanted change 2012-04-01 19:47:11 +02:00
Yann Leboulanger 794a66e435 correctly forward unread printed messages to other resources. Fixes #7094 2012-04-01 19:39:26 +02:00
Yann Leboulanger fdb63bcd0c fix focus behaviour when opening chat / groupchat window. Fixes #7115, see #5740 2012-03-09 08:40:21 +01:00
Yann Leboulanger 1d980fa2ef don't mark received message as read until it's really read by user. Fixes #7094 2012-03-08 20:03:17 +01:00
Yann Leboulanger 5e15386879 ability to send file to contacts without a resource (but still not to fake jid) Fixes #7077 2012-01-22 18:44:46 +01:00
Yann Leboulanger afdd17bee3 don't allow to open information window when we are offline. Fixes #7082 2012-01-22 11:25:22 +01:00
Yann Leboulanger 3a3f99d618 upgrade copyright 2012-01-11 22:20:34 +01:00
Yann Leboulanger 9e2c1caeac fix hidding info bar in chat control 2012-01-11 20:44:49 +01:00
Yann Leboulanger 49bc202421 merge from trunk 2011-12-29 11:39:02 +01:00
Yann Leboulanger be867b7843 print in chat control when other side de-activate esession. 2011-12-03 13:11:05 +01:00
Yann Leboulanger 188950f470 implement XEP-0280: Message Carbons 2011-11-06 17:20:58 +01:00
Yann Leboulanger 6eedbf6e10 fixes some traceback when doing filetransfer. Fixes #1205 2011-10-23 13:48:00 +02:00
Yann Leboulanger c54ffecd31 remove buttons from infobar just before adding new instead of when hidding infobar 2011-10-17 18:00:27 +02:00
Yann Leboulanger 8b2669ad8c improve strings 2011-10-17 17:55:43 +02:00
Yann Leboulanger df040bb8e5 add infobar in chat window for file transfer events. Fixes #1205 2011-10-17 17:12:19 +02:00
Yann Leboulanger e4c9820146 handle default value in seclabel combobox. see #7010 2011-10-13 18:04:43 +02:00
Yann Leboulanger ec1274596a enable execute plugin 2011-10-08 22:48:00 +02:00
Denis Fomin 2e648d06be New gui_extension_point added. Do not use all args in remove_gui_extension_point() to identify elements to be removed. Use only first one 2011-09-26 20:47:33 +03:00
Yann Leboulanger 513f3047f2 show our room nickname when chatting in pm. Fixes #6949 2011-09-22 11:43:51 +02:00
Yann Leboulanger d74ab91981 Fix showing messages sent via dbus. Fixes #6976 2011-09-15 21:51:51 +02:00
Yann Leboulanger 98432f6666 cean chatstate code: remove XEP-0022 support and use caps to know if a contact supports it 2011-08-27 22:41:55 +02:00
Yann Leboulanger 31bfc4969a follow chat in tabs more easily. Don't open as many chattabs as there are lowe priority chats. Fixes #5227 2011-08-21 09:51:57 +02:00
Yann Leboulanger b6e26061fe ability to connect to a server that doesn't support roster, and hide the correcponding features. Fixes #6745 2011-08-09 17:14:13 +02:00
Yann Leboulanger dc3b203168 use event system for jingle FT 2011-06-24 18:24:42 +02:00
Yann Leboulanger b47248f09d merge from trunk 2011-06-20 23:03:06 +02:00
Yann Leboulanger ff0c0dc1c5 ability to save xhtml messages. Fixes #5736 2011-05-30 19:47:05 +02:00
Yann Leboulanger 8896e33d65 send message to the correct jid 2011-05-20 22:36:10 +02:00
Yann Leboulanger 14d15923bf fix traceback when closing a chat window. 2011-05-18 22:08:37 +02:00
Yann Leboulanger 4ac1768040 handle outgoing messages with events. Fixes #6743 2011-05-18 19:44:43 +02:00
Yann Leboulanger 857ba5f707 new way to handle incominf messages, new notification event. 2011-05-01 22:09:50 +02:00
Yann Leboulanger 08020a310c fix for showing URL in chat banner. Fixes #6856 2011-04-12 16:30:26 +02:00
Denis Fomin 5394ce921f [mq]: Do_not_scroll_the_chat_if_you_started_typing_a_message 2011-03-30 21:59:06 +04:00
Denis Fomin e76550dd19 Correctly test dbus. Fixes #6844 2011-03-25 12:23:32 +03:00
Yann Leboulanger 168e87aefd [Phil] add 2 dbus signals: MessageSent and ChatState. Update UI on messagesent. Fixes #6787 2011-03-24 22:48:56 +01:00
Julien Pivotto 29fbb7f7e4 Remove old liks to jabber.org 2011-03-22 10:56:06 +01:00
Denis Fomin 981c47c377 [Slava]do not lose received history position when a new incoming message arrives. Fixes #6822 2011-03-16 11:46:12 +03:00
Denis Fomin b74852014e [slava]Quoting the recieved messages with the keyboard shortcuts. Fixes #6822 2011-03-10 13:55:15 +03:00
Yann Leboulanger 0ac61706d8 add ability for chatstate to fo from inactive to pause when we re-select a tab where we already typed something. Fixes #4380 2011-01-06 14:53:34 +01:00
Yann Leboulanger 241f666bc6 redraw chat buttons when we get caps information. Fixes #6114 2010-12-23 17:51:26 +01:00
Yann Leboulanger cc032163d0 more usage of NEC to handle messages 2010-12-08 21:58:13 +01:00
Yann Leboulanger 6a2651ebd5 use NEC to handle agent info / items events 2010-11-29 12:53:50 +01:00
Yann Leboulanger e9f5065479 use NEC to handle failed-decrypt events 2010-11-29 10:50:30 +01:00
Yann Leboulanger a87540ddc0 use NEC to handle vcard events 2010-11-26 21:14:59 +01:00
Yann Leboulanger 352bda2ef5 use NEC to handle PEP / ATOM messages 2010-11-24 11:41:20 +01:00
Denis Fomin b8c96bcc17 change tooltip text for audio and video buttons if python-farsight is not installed
Fix #6042
2010-11-21 21:06:58 +03:00
Yann Leboulanger 078de46bf0 use NEC to handle ping events 2010-11-15 17:35:19 +01:00
Yann Leboulanger 69578659a2 use NEC to handle our-status event 2010-11-06 10:04:41 +01:00
Yann Leboulanger cdf3918262 add new gui extension point so that plugins can update toolbar buttons status. 2010-10-29 22:13:12 +02:00
Yann Leboulanger 5ac4104326 [Dicson] Fix gui extention point position in chat_control.py. Fixes #5974 2010-10-12 17:07:05 +02:00
Yann Leboulanger d16a059168 don't use unassigned variables. 2010-08-22 23:31:03 +02:00
Yann Leboulanger a3863703f0 merge from trunk 2010-08-16 17:32:23 +02:00
Yann Leboulanger a604f75912 don't try to start archiving session if server doesn't support it. Fixes #5845 2010-08-12 11:03:04 +02:00
Yann Leboulanger ca43e5441c merge message archiving branch. Fixes #3593 2010-08-11 18:43:41 +02:00
Yann Leboulanger dc1ddb42a2 merge outstanding branches 2010-08-08 11:34:27 +02:00
Alexander Cherniuk e78e4318c5 Upgraded middleware inside the command system. Added support for proper output style 2010-08-06 06:07:28 +03:00
Yann Leboulanger 796213c9cb merge with trunk 2010-07-19 19:53:29 +02:00
Yann Leboulanger 40a25d0749 don't traceback when strange thing happen with keymap, just make ctrl+c not work. see #5636 2010-07-07 09:35:38 +02:00
Yann Leboulanger 1cc05b156c improve jingle audio GUI 2010-06-20 22:48:49 +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
Zhenchao Li 01c1465dfb add namespace for jingle file transfer
add jingle FT to gajim.gajim_optional_features
2010-06-01 15:09:42 +08:00
Yann Leboulanger 2c2e4201d7 merge from trunk 2010-05-25 16:33:40 +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
Thibaut GIRKA ff34c61caa Merged local changes 2010-03-21 21:47:34 +01:00
Thibaut GIRKA fbf9a769d8 Delete invalid jingle sessions. Kick audio/video availability from jingle states.
Fixes #5668, #5651
2010-03-21 21:45:45 +01:00
Yann Leboulanger 20fbaff581 reset tooltip on send file button when filetransfer become available. Fixes #5669 2010-03-21 09:36:51 +01:00
Thibaut GIRKA ab0f7899ad Refuse multiple sessions and implement alternative-session; make jingle GUI a bit more reliable. 2010-03-15 21:34:28 +01:00
Thibaut GIRKA e5f95be6e9 Oops, missed a delete_jingle_session last time. 2010-03-14 22:01:48 +01:00
Yann Leboulanger 86acbd398c compute keycode and insert keycode only once. Fixes #5636 2010-03-12 20:57:35 +01:00
Yann Leboulanger 2be53c4aac update my copyright to 2010 2010-03-11 16:52:36 +01:00
Yann Leboulanger 6ec5d3e689 fix Ctrl+C handling. Fixes #1503 2010-02-19 13:43:11 +01:00
Yann Leboulanger dde42ddc75 fix CTRL+C with non-latin keyboard. Fixes #1503 2010-02-18 22:05:07 +01:00
Yann Leboulanger 5cf27f1b11 improve bigger avatar behaviour in case on_avatar_eventbox_enter_notify_event is called twice (when using unclutter). Fixes #5590 2010-02-12 22:35:07 +01:00
Éric Araujo 357d7db07d fixed some whitespace thanks to 2to3 -f ws_comma 2010-02-10 19:24:11 +01:00
Éric Araujo 0408b35cfb convert tabs to spaces in source code thanks to reindent.py
also use 2to3 -f ws_comma to fix some whitespace
2010-02-10 17:59:17 +01:00
Yann Leboulanger c9ad0f5d7d fix pylint warnings 2010-02-10 16:17:09 +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 3ada2293db revert unwanted changes in [428adcf83dc7] 2010-02-05 07:21:12 +01:00
Yann Leboulanger 9230f12496 [zimio and me] Ask what to do when we want to unregister from a server but connection fails. Fixes #324 2010-02-03 19:59:41 +01:00
Yann Leboulanger e462beba42 [zimio & me] undo functionality in message text imput field. Fixes #4825 2010-01-24 11:44:54 +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
Thibaut GIRKA e3f16c6371 [Jingle] Volume levels are saved, audio UI shows up even if there are errors, until the session ends 2010-01-10 16:31:00 +01:00
Yann Leboulanger e8b88db629 prevent traceback when closing chat control without jingle enabled. Fixes #5544 2010-01-06 23:15:35 +01:00
Yann Leboulanger 0981c7759e buffer -> _buffer. buffer is a module in python 2010-01-06 18:13:12 +01:00
Yann Leboulanger 59e7d8de8e close jingle sessions when we close chat control. Fixes #5541 2010-01-05 22:14:52 +01:00
Yann Leboulanger d1a9a6983a EncryptedSession cannot be an ArchivingSession 2009-12-10 17:40:48 +01:00
Yann Leboulanger d15897e50e fix string replacement with % (% seems to be prioriter than +). Fixes #5494 2009-12-07 20:42:24 +01:00
Yann Leboulanger 07be0727de [Florob] show in roster and message window geolocalisation of a contact. Fixes #5485 2009-12-07 18:32:42 +01:00
Yann Leboulanger 619518204c ability to change mic volume through GUI (doesn't work for the moment) 2009-12-02 21:37:21 +01:00
Yann Leboulanger 8bb1aaf382 connect jingle keys (for dtmf) through code instead of glade 2009-12-02 21:21:18 +01:00
Yann Leboulanger 5a3ef285a5 fix some archiving session negotiation bugs
print archving negotiation result in chat control
2009-12-02 11:52:49 +01:00
Yann Leboulanger 98e1ab5637 add new GUI to control audio connection. (NOTE: sliders do nothing for the moment) 2009-12-02 10:17:33 +01:00
Yann Leboulanger 002b8a720f finish using icon theme. Fixes #2378 2009-12-01 15:50:58 +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
Thibaut GIRKA 0edb624fec Renamed a few methods, refactor on_*_button_toggled, use getattr/setattr instead of eval/self.__dict__ 2009-11-26 21:53:44 +01:00
Yann Leboulanger a59011138b merge diff from default 2009-11-25 21:15:36 +01:00
Alexander Cherniuk b6c4aaba6f Refactored doc-strings 2009-11-25 15:01:40 +02:00
Stephan Erb aa53988fd1 Similar to update_pep, unify towards draw_pep of the RosterWindow. 2009-11-15 23:23:56 +01:00
Stephan Erb 338cb11dcc Unify update_mood, update_tune, update_activity by using a single update_pep(pep_type) method. 2009-11-15 22:54:20 +01:00
Stephan Erb 30191888ba Create asPixbufIcon and asMarkupText functions on the UserActivity class. 2009-11-15 16:52:19 +01:00
Stephan Erb 5f4db2eed9 Unify updating of accounts and contact pep information. Implement and use asMarkupText() for tunes. 2009-11-15 10:55:31 +01:00
Stephan Erb e41e484855 Proof of concept: Move markup / pixbuf determination logic from the UI to the different PEP classes.
Currently this is only done for UserMood. We can decide later on (if needed), to move the asPixbufIcon and asMarkupText methods to a more appropriate place.

Goal is to remove as much redundant code as possible.
2009-11-15 00:12:15 +01:00
Mateusz Biliński 70731dbab7 Merged default branch into plugin-system branch. 2009-11-14 21:15:27 +01:00
Yann Leboulanger e4128f5c29 merge from default 2009-11-13 19:45:11 +01:00
Stephan Erb 022003239d Merge changes from default branch into refactoring branch
Hg: changed data/pixmaps/mic_active.png
2009-11-11 23:37:46 +01:00
Yann Leboulanger d70b74e6b6 [Gotham48] add nice icons to toggle audio / video 2009-11-08 10:08:15 +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 a9f5bb59d7 Merge changes from default branch into refactoring branch 2009-10-31 17:25:47 +01:00
Yann Leboulanger fcafab60a7 merge jingle branch to default branche 2009-10-29 11:55:05 +01:00
Yann Leboulanger f550144530 switch from gtk.Tooltips to gtk.Tooltip. Fixes #3471 2009-10-29 11:35:22 +01:00
Thibaut GIRKA 1c33d42158 Merge default to jingle 2009-10-29 10:19:58 +01:00
Thibaut GIRKA 7ae959dbba Avoid insane recursion 2009-10-29 10:08:22 +01:00
Stephan Erb 5894ce5341 Merge changes from default branch into refactoring branch 2009-10-27 23:18:21 +01:00
Stephan Erb 213fd5a8ed Update a few outdated comments. 2009-10-27 22:48:47 +01:00
Stephan Erb 33fe53ff7d Swtich from old to new caps API.
Now we do:

contact.supports(feauture) instead of gajim.capscache.is_supported(contact, feature)
2009-10-27 22:41:39 +01:00
Yann Leboulanger 5a51f09491 merge roster_contact_context_menu.glade, chat_control_popup_menu.glade and zeroconf_contact_context_menu.glade 2009-10-27 18:58:27 +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 760e0fb48f refactor jingle functions in chat_control.py 2009-10-16 21:48:28 +02:00
Thibaut GIRKA 313f002958 Fixes an indentation error aswell as the previous commit 2009-10-16 20:21:42 +02:00
Thibaut GIRKA d495deaa02 Some rewriting in set_audio_state/set_video_state 2009-10-16 19:36:55 +02:00
Thibaut GIRKA bc90bc1157 Destroy session when remote signs off 2009-10-16 19:04:04 +02:00
Thibaut GIRKA ab6510db38 merge default branch to jingle 2009-10-16 17:19:33 +02:00
Yann Leboulanger 0d37f4f64b better session handling:
- when a new contact with higher prio connect, detach session from chat control. Fixes #5021
 - don't re-use a session that was for another sessin

Tests are more than welcome!
2009-10-06 17:35:25 +02:00
Thibaut GIRKA b2b8ac4b76 Connect only if user accepts, move jingle detection to 'update_toolbar'
This allows jingle availability to be updated if contact sign in/out.
This patch will also wait for user acceptance before connecting.
This will, among other things, ensure that audio/video state won't be set to
JINGLE_STATE_CONNECTING while the connection is already up.
2009-10-03 22:40: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 c5b60e8df5 don't allow to check "enable e2e encryption" when enable_esessions is False. Fixes #5295 2009-10-01 09:51:10 +02:00
Yann Leboulanger 20755acedc fix typo 2009-09-25 20:40:53 +02:00
Thibaut GIRKA 77541f3e7f support for content-{add,reject,accept}, new helpers, and other few things 2009-09-25 19:32:13 +02:00
Yann Leboulanger a051d1ec95 initialize var before they are used 2009-09-25 15:47:43 +02:00
Yann Leboulanger a57448d083 fix some missing things in video GUI 2009-09-25 15:29:22 +02:00
Yann Leboulanger 32965a948e new GUI to start audio and video sessions. TODO: ability to add/remove audio/video content to an existing session 2009-09-25 13:52:44 +02:00
Yann Leboulanger 40199e359c farsighr module is now optional. Fixes #5278 2009-09-20 20:46:03 +02:00
Thibaut GIRKA c162780a58 coding standards, and other few things 2009-09-19 17:24:59 +02:00
Thibaut GIRKA 6b99db8980 merge default branch to jingle 2009-09-19 16:35:47 +02:00
Thibaut GIRKA 5503c80e2a fix some erros from my last commit, fix conditions for session initating and acceptance 2009-09-18 20:17:35 +02:00
Thibaut GIRKA bd9d793ad8 send messages to the gui, wait for codecs, and other things
JingleSession now sends messages about errors or session terminating to the GUI.
Another thing is that it'll wait for all transports candidates and all codecs to be ready before
starting or accepting a session. This is required by video, which is only missing a GUI. :)
2009-09-17 23:36:26 +02:00