Commit Graph

698 Commits

Author SHA1 Message Date
Yann Leboulanger d25d056677 be sure that transport is really removed before we start to remove its contacts. 2006-05-01 18:29:12 +00:00
Yann Leboulanger 5a20109e05 don't definitively remove a contact when it has unread events 2006-04-26 21:43:58 +00:00
Yann Leboulanger 5655449d08 escape password when we create gmail URL 2006-04-25 19:56:27 +00:00
Yann Leboulanger 7e190cd107 don't unsensitive change_status_message menuitem in status ocmbobox when there are connected accounts. 2006-04-23 17:36:33 +00:00
Yann Leboulanger 922eeb5b4d activate autostatus also for free for chat status 2006-04-21 17:31:24 +00:00
Yann Leboulanger 5f48392890 don't activate auto away if we connect as away or invisible or anything else than online 2006-04-21 17:27:28 +00:00
Yann Leboulanger 70282f0bd5 set sleeper_state to off when we manualy go away so that we desactivate auto away 2006-04-20 21:53:41 +00:00
Jean-Marie Traissard a560e6c7c8 Fix indentation 2006-04-20 17:12:15 +00:00
Yann Leboulanger d42bba202b idle autostatus is activated only when we sign in. Fixes #1874 2006-04-20 17:06:05 +00:00
Yann Leboulanger dafb182a0f when a contact change his sub (from -> both) redraw it in correct group 2006-04-19 10:07:47 +00:00
Dimitur Kirov b6ca28f342 make sure ChatControl instances are destroyed
when chat tab is closed
1/2 fixes #1829
2006-04-17 21:59:04 +00:00
Dimitur Kirov 14588f5e0f win32: check against 2,8 for gtk too 2006-04-14 11:16:00 +00:00
Yann Leboulanger 2a5e41e06a update groupchat contacts avatar when they change it, and send our presence to groupchat when we change our vcard 2006-04-12 12:55:06 +00:00
Yann Leboulanger 4e2f02c725 fix import (add missing, remove useless) 2006-04-11 18:36:09 +00:00
Yann Leboulanger d5d2f3c055 call got_[dis]connected() for all controls. Fixes #1845 2006-04-11 12:35:50 +00:00
Yann Leboulanger 4b43cda815 call fire_up_unread_messages_events when needed 2006-04-11 10:32:16 +00:00
Dimitur Kirov 97dc7215df keep reference to unread messages untill they
are printed in tv
2006-04-10 22:08:02 +00:00
Yann Leboulanger eb8cc5b7ea show correctly error message and log them in DB. fixes #1802 2006-04-10 14:00:04 +00:00
Yann Leboulanger 36fd551c10 "Set avatar when I connect" -> "Set my profile when I connect". Fixes #1837 2006-04-10 11:13:18 +00:00
Yann Leboulanger 9427fdaed1 don't compute bw avatar if no avatar. Fixes #1839 2006-04-10 10:50:32 +00:00
Yann Leboulanger aacf9dd950 fix TB when message from unknown contact 2006-04-10 09:04:52 +00:00
Jean-Marie Traissard b72e3aa100 Re-add nk's 'Profile, Avatar' menu, make it working 2006-04-08 22:47:57 +00:00
Dimitur Kirov 481c08560f removed useless methods 2006-04-08 16:51:56 +00:00
Dimitur Kirov e95cd81587 show roster when there are no old and new logs 2006-04-08 01:11:11 +00:00
Dimitur Kirov 077e3e1084 take care for winners 2006-04-07 23:49:49 +00:00
Dimitur Kirov 52d01323ce mirate logs by spawing a child python process
No progress text, only pulsebar
2006-04-07 22:57:27 +00:00
Nikos Kouremenos db1cffb299 parent.destroy() destroys childs too 2006-04-07 11:09:11 +00:00
Yann Leboulanger 1bc78a3818 we remove agent even if it doesn't reply. Fixes #1756 2006-04-06 16:58:20 +00:00
Yann Leboulanger 29f41b223a we can now disable avatars by setting width or height to 0. Partially fixes #1816 2006-04-06 16:20:59 +00:00
Yann Leboulanger 37fd51363a remove contact from roster when we read latest event (including non-message event) if showOffline is False. Fixes #1812 2006-04-05 18:53:21 +00:00
Yann Leboulanger a2b3acd864 remove contact from roster when we read his awaiting events and showOffline is False. Fixes #1812 2006-04-05 17:25:02 +00:00
Nikos Kouremenos 1a3696a026 we no longer keep xml_console_window forever in me. we allocate on demand 2006-04-05 12:01:21 +00:00
Yann Leboulanger d91d0e0b0e emoticons_menu is created only once, and correctly destroyed when we change emoticon theme. (It was never destroyed before -> memory leak) 2006-04-05 09:55:22 +00:00
Yann Leboulanger 7b102e4813 fix TB when getting chatstate from contact not in roster of offline storaged chatstate 2006-04-04 17:51:52 +00:00
Yann Leboulanger fe9bdf1737 nothing: remove useless line 2006-04-04 15:19:33 +00:00
Yann Leboulanger ddfd3d7be6 better title / text in popup windows. Fixes #1790 2006-04-03 07:40:15 +00:00
Yann Leboulanger 31e54bc2ed remove many call to dialog.run() function. Some are still here, but they happend only when the user do an action (close a chat window, change status, ...). So UI is not blocked when we receive a groupchat invitation or an error message. 2006-04-02 16:11:21 +00:00
Yann Leboulanger a803ba2758 take into account notify_on_new_message option for pm 2006-04-01 20:56:34 +00:00
Yann Leboulanger 9541b75559 prevent TB 2006-04-01 20:30:37 +00:00
Yann Leboulanger c23a517a20 typo 2006-04-01 20:21:21 +00:00
Yann Leboulanger becf3c4c3a handle correctly pm 2006-04-01 18:55:53 +00:00
Yann Leboulanger 90e5561860 JEP 0091 support: timestamp in presences. Fixes #1675 2006-04-01 18:16:06 +00:00
Yann Leboulanger 81d3d38455 fix logic in handle_event_msg so messages from lower resource doesn't behaves incorrectly. Fixes #1785 2006-04-01 17:03:36 +00:00
Nikos Kouremenos bd4a18b861 if we have status message for contact that signs in/out and we have such notifications, include the status message information in those windows 2006-04-01 09:35:07 +00:00
Nikos Kouremenos befc5ac529 in notifications say the message and do not dup info that new msg is in. fixes #1790 2006-04-01 09:17:15 +00:00
Nikos Kouremenos fcf31413dc fix hawke patch 2006-03-31 18:40:10 +00:00
Alex Mauer ff5fd60861 * Add option 'dont_ack_s10n' to prevent the infinite loop with jabberd2 subscription acknowledgements. 2006-03-31 17:35:05 +00:00
Yann Leboulanger b7e4465ed5 add contact to roster when he becomes observer (and was none before) 2006-03-30 18:48:24 +00:00
Yann Leboulanger 0690a35eea don't join already opened rooms when we come back invisible. Fixes #1777 2006-03-29 14:31:05 +00:00
Nikos Kouremenos 73905ec169 merge to logics about jid being a transport into one. use the superior one 2006-03-28 11:32:53 +00:00
Nikos Kouremenos 2099e3baa8 [jim++] clean logic on for handling the incoming msg, make pm special checks fixes ##1764 2006-03-28 10:27:58 +00:00
Nikos Kouremenos 6caf013f52 use much better varname and comment the heck out of it 2006-03-27 23:32:39 +00:00
Nikos Kouremenos d1bb5cbc74 again fix logic after cut-paste 2006-03-27 23:10:41 +00:00
Nikos Kouremenos 27c59575cf [jim] fix typo 2006-03-27 23:07:07 +00:00
Nikos Kouremenos a91654ba9b do not play sound on recv chatstates. also comment on this so at last that code is somehow readable. thx Jim for report 2006-03-27 23:06:26 +00:00
Nikos Kouremenos 7c0dca4dbd chatstates handling is back again. now with comment why this should stay where it is. also do and if-if a if-elif [thanks Jim for this] 2006-03-27 22:54:23 +00:00
Nikos Kouremenos 0552932253 fix a bad cut-paste 2006-03-27 22:37:28 +00:00
Nikos Kouremenos 5528e739b0 helpers that do not relate with xmpp, belong to helpers.py not to common/gajim.py. if they have gtk they belong to gtkgui_helpers. also use those allover 2006-03-27 22:31:14 +00:00
Nikos Kouremenos c799869f68 use helper func 2006-03-27 22:12:41 +00:00
Nikos Kouremenos 1da15f1795 handle_event_msg method has a better sequence of checks. fixes #1764 2006-03-27 22:02:56 +00:00
Yann Leboulanger c0fcdeb116 handle correctly private messages in systray queue 2006-03-27 21:35:24 +00:00
Yann Leboulanger 4f6c6d3d14 handle correctly offline message (don't take into account the resource) 2006-03-27 08:50:06 +00:00
Yann Leboulanger 297f97a606 fix TB when receiving message from unknown contact 2006-03-26 12:09:34 +00:00
Yann Leboulanger fb758eaf89 use sanitize_filename func before writing a file to HD. Fixes #1722 2006-03-26 11:46:04 +00:00
Yann Leboulanger 1fafe3b08c handle correctly resources in queue of events. Fixes #1706 2006-03-25 17:05:54 +00:00
Nikos Kouremenos ac8c6a06aa name the default theme GTK+ and not system so a KDE or Windows user is not confused and generally better name. make it default 2006-03-25 10:47:41 +00:00
Yann Leboulanger fd859966c5 draw the TLS icon when we connect to a server. Fixes #1736 2006-03-24 21:51:15 +00:00
Yann Leboulanger 0a4cf6eae4 notification need absolute path 2006-03-24 20:17:32 +00:00
Nikos Kouremenos 1524521c7f pychecker on our files. everyone please have a look so we do not do the same mistakes and in case you catch a mistake I did when cleaning 2006-03-24 18:48:26 +00:00
Yann Leboulanger f8db75e255 New metacontact way. JEP is not published yet, but I talked with the author. Old metacontact info are removed automaticaly 2006-03-24 12:55:56 +00:00
Dimitur Kirov 92691fa6f6 disconnect transfers for contact which goes
offline
2006-03-21 23:43:26 +00:00
Dimitur Kirov b90e546927 proxy65_manager resolves socks5 proxies at gajim
startup and account login
2006-03-19 20:43:30 +00:00
Yann Leboulanger df395ab6ef fix regex when ascii_formating is false 2006-03-18 12:20:59 +00:00
Yann Leboulanger 3b12da41a3 missing save before commit :) 2006-03-18 11:55:04 +00:00
Yann Leboulanger eff34ac6ab invitations to groupchat is now queued when systray is enabled. missing icon for popup window: gc_invitation.png. Fixes #1196 2006-03-18 11:53:30 +00:00
Yann Leboulanger 4dfa3da68d fix TB 2006-03-18 09:22:13 +00:00
Yann Leboulanger 3b4f6e20fe we can now have emoticons themes in ~/.gajim/emoticons/ see #1182 2006-03-17 14:24:58 +00:00
Dimitur Kirov 4abd0a9d42 use emoticons_theme, instead of useemoticons
( #1715 )
2006-03-17 11:11:45 +00:00
Yann Leboulanger b4ed754b51 we now have emoticons themes. Fixes #1182
TODO: fill animated folder with his emoticons file
2006-03-16 23:37:06 +00:00
Yann Leboulanger db7766ea7e when we get a message from a contact and we have a window with this resource, print it there. see #1697 2006-03-15 08:40:19 +00:00
Yann Leboulanger bb35e9e782 remove unneeded line 2006-03-14 23:07:03 +00:00
Yann Leboulanger 51d57ba717 last_message_time is now indexed by full_jid. for [1697] 2006-03-14 17:13:34 +00:00
Yann Leboulanger db6c9e7a05 call draw_avatar only in gc controls 2006-03-13 19:00:05 +00:00
Yann Leboulanger dce057d29e avatars are in gc roster. gc avatar images are saved in room_jid folder. Fixes #1121 2006-03-13 13:25:51 +00:00
Yann Leboulanger 4f2460e21c remove contact when we get sub=none and ask=none and no name and no group. See #1494 2006-03-12 18:30:01 +00:00
Nikos Kouremenos f95a7c5d3e remove psyco as speed is not an issue anymore but high mem usage is. fixes #1666 2006-03-11 11:08:27 +00:00
Yann Leboulanger adb62eb628 jids are now punycoded before we store avatars on HD. Fixes #1030 2006-03-10 18:58:28 +00:00
Yann Leboulanger b1ebd06fe9 we now show sign in/out notif, even if a chat is opened with this contact. Fixes #1682 2006-03-10 17:56:03 +00:00
Yann Leboulanger 3355cf4ea3 room_contacts vcards are now saved in room_jid folder. Fixes #1105 2006-03-09 18:41:57 +00:00
Yann Leboulanger 37c84ef192 when we open a message window by clicking popup menu or systray or doubble click on roster, treate it as long time ago message (don't show 2 seconds confirmation when closing it). Fixes #1591 2006-03-07 13:44:42 +00:00
Yann Leboulanger 7594b7c0ab [misc] better regex to catch url. Fixes #1322 2006-03-05 20:33:54 +00:00
Yann Leboulanger a3ddb8981c clean info about last exception. Fixes #1575 2006-03-05 19:40:56 +00:00
Nikos Kouremenos 11d9f5398d preferences window is created on the fly like every other window (well apart from FT [TODO for that]); this is good as we do not want such window to sit in memory; also fix some border width and spacing in prefs window 2006-03-05 12:18:47 +00:00
Yann Leboulanger 0c2ba59f98 fix TB 2006-03-05 09:46:50 +00:00
Yann Leboulanger 1c13fcd648 [Geobert] Don't send bot JEP85 and JEP22 when only JEP22 is supported by contact. Fixes #1317 2006-03-03 14:41:55 +00:00
Nikos Kouremenos 6a6ab0b7f1 [rituko_a] intro ACE ascii_formatting 2006-03-02 16:05:52 +00:00
Yann Leboulanger 34e8e0c950 use correct JID when we receive a file-completed event depending if we send or receive the file. See #1553 2006-03-02 11:22:27 +00:00
Yann Leboulanger 559307912e remove awaiting events associated to a FT when we remove it from FT window. Fixes #1553 2006-03-02 11:14:45 +00:00
Yann Leboulanger 4fe40baab9 don't take last_status_time into account when it's a groupchat contact. Fixes #1628 2006-03-01 20:20:00 +00:00
Yann Leboulanger 4b327b5682 [Geobert] JEP-0022 partial support (composing). Tunned by me. Fixes #1317 2006-03-01 18:16:54 +00:00
Yann Leboulanger 6c34669780 File Transfert error are also shown in roster instead of only in systray. See #1553 2006-02-27 11:27:53 +00:00
Yann Leboulanger 946a28b26b [Jim++] some elif instead of if 2006-02-26 23:29:49 +00:00
Yann Leboulanger 66b149ac50 take into account when a contact change his priority 2006-02-24 18:57:10 +00:00
Yann Leboulanger 0b2f9d4617 we now keep last_status_time, show it in tooltip and information window, ask it (jabber:iq:last, JEP-0012) when we open information window. Fixes #1133 2006-02-22 14:31:01 +00:00
Yann Leboulanger 50407e5cca don't redraw the whole roster when we connects to an account 2006-02-19 22:20:45 +00:00
Nikos Kouremenos 57fad03435 better varname and clearer logic 2006-02-19 21:28:41 +00:00
Yann Leboulanger 1e99839f20 don't redraw menu instantly when we receive bookmarks 2006-02-19 17:27:48 +00:00
Yann Leboulanger a081e4411a re-create the actions menu only when needed: when we popup it up, and only when one account has signed in or signed out 2006-02-19 17:25:22 +00:00
Dimitur Kirov 54099ff2f1 deleted threads_init, dbus-0.33 users will
fail with TB, instead of segfault
2006-02-18 13:14:05 +00:00
Nikos Kouremenos fd6b2dda67 fix #1572 2006-02-17 21:52:22 +00:00
Travis Shirk f6e2590eab Fixed the previous TB, but this time at another part of the code 2006-02-08 02:56:58 +00:00
Travis Shirk 37c2441a38 Fixed TB when transport_name was None 2006-02-08 02:27:14 +00:00
Yann Leboulanger ec2d9c0ad2 move data/pixmaps/events/TRANSPORT_o*line.png to data/iconsets/transports/TRANSPORT/48x48
TODO: create 48x48 online and offline pngs for all jabber iconsets
2006-02-08 00:55:16 +00:00
Yann Leboulanger 59e6377546 follow RFC 3921 section 8 for subscription. This also fixes #1400 2006-02-07 23:11:24 +00:00
Yann Leboulanger eb055c5bf2 groups must always be a list, fix that 2006-02-07 19:24:19 +00:00
Yann Leboulanger 6ceb13430b remove files from AVATAR_PATH when contacts changes his avatar or removes it 2006-02-06 16:04:55 +00:00
Yann Leboulanger 3a1e5c579d when contact has a non jpeg/png avatar, save it as png so that tooltip can show it 2006-02-06 14:04:25 +00:00
Dimitur Kirov f52144c803 socks5 classes now use Gajim idlequeue
still there are several TODOs
2006-02-06 00:11:45 +00:00
Yann Leboulanger 759f6a49f6 Fix TB when changing status and pm opened 2006-02-05 18:42:41 +00:00
Travis Shirk 44700c12da Fixes #1495 2006-02-04 02:52:36 +00:00
Dimitur Kirov ec1d354c80 use old select.select for polling on win-gtk2.8
untill there is a stable 2.8 version
2006-02-03 22:54:05 +00:00
Dimitur Kirov f62db4acfe Switched to non-blocking connections.
Removed threads and mutexes in connection.py
and gajim.py.
Add resolver through nslookup command, removed
dnspython and pydns (for now).
2006-02-03 12:17:34 +00:00
Travis Shirk 3b0079685f Bug fix to ensure that we update tabs when disconnected. 2006-01-31 01:41:27 +00:00
Travis Shirk a27c648e64 Removed type constant, which are reserved for types derived from MessageControl 2006-01-28 03:46:47 +00:00
Yann Leboulanger 4f21775305 we can now get meta contacts from server and display them 2006-01-26 11:23:15 +00:00
Travis Shirk 20085bfcc5 Fixed TB 2006-01-25 17:55:32 +00:00
Yann Leboulanger dfca5e63be ChangeStatusMessageDialog returns None when we press cancel. Fixes #1045 2006-01-25 16:27:09 +00:00
Travis Shirk 170a1db254 We can now chat with the same contact or join the same gc using two differenct account;
closes #1421
2006-01-25 05:39:07 +00:00
Travis Shirk a63132500b Pass account to window/control lookup methods 2006-01-25 02:43:55 +00:00
Yann Leboulanger 18129610e0 typo. Fixes #1440 2006-01-23 15:52:42 +00:00
Nikos Kouremenos ab50f69fa0 [knuckles fixes knucles :D] bw img on offline on notifications 2006-01-22 22:13:21 +00:00
Nikos Kouremenos 1ce3c65dd6 [knuckles] refactor notify so we do not dup code at all 2006-01-21 23:15:35 +00:00
Nikos Kouremenos 0d01680d55 [campey] fix logic in notify calls 2006-01-21 09:55:16 +00:00
Nikos Kouremenos 912207c098 get_actor --> get_name_from_jid so it is visible it is on gajim level and not on xmppy (lower) lever 2006-01-20 17:50:01 +00:00
Nikos Kouremenos bbc42cc115 [knuckles] refactor API about notifications so we do not dup code allover 2006-01-20 17:40:45 +00:00
Nikos Kouremenos 818d2471fc Gajim is now xmpp handler in KDE too 2006-01-20 17:36:22 +00:00
Nikos Kouremenos 92e1fd373b catch sip: addresses. long live Ekiga! 2006-01-20 13:04:29 +00:00
Yann Leboulanger 2dc4eb3f21 [campey] not in the roster -> Not in Roster. Fixes #1054 2006-01-19 21:55:01 +00:00
Yann Leboulanger 3eaa9c97ba [knuckles] fix typo. Fixes #1246 2006-01-18 16:14:20 +00:00
Yann Leboulanger 2f56fbb5fd typo that fix a TB, thx deluge 2006-01-17 22:03:56 +00:00
Nikos Kouremenos a9727e39db [knuckles] GMail notification now shows number of messages and if clicked opens inbox and all that :) 2006-01-17 20:23:36 +00:00
Nikos Kouremenos b020492de6 notif AVATAR_PATH 2006-01-17 11:20:55 +00:00
Yann Leboulanger f816dcf307 fix logic: don't join don't try to join groupchat from an accoun twhen we connect with another account 2006-01-17 11:05:05 +00:00
Yann Leboulanger 0c2457c783 typo 2006-01-17 10:36:13 +00:00
Yann Leboulanger bab21aaf56 [knuckles] improved popup notification to show avatar 2006-01-17 09:01:59 +00:00
Yann Leboulanger 864b82e9e4 We can now see affiliation list (ban, admin, ...), edit it will come (beginning of #530) 2006-01-16 11:16:06 +00:00
Yann Leboulanger e0b5b420b5 There are 2 ways to receive group chat subject, handle both. Fixes #1332 2006-01-15 13:35:29 +00:00
Travis Shirk a10e4b8562 CTRL+Tab and CTRL+SHIFT+Tab, closes #1396 2006-01-14 20:40:48 +00:00
Nikos Kouremenos b34005da3d it returns None or ask. so catch ask too 2006-01-13 11:01:10 +00:00
Travis Shirk 9e8163774d Implement section 9.4 of RFC 3921, subscription ack'ing. Closes #1327 2006-01-13 05:07:09 +00:00