Commit Graph

4228 Commits

Author SHA1 Message Date
Dimitur Kirov 482ea2fed0 suppress warning for not registered signal 2006-04-19 12:21:06 +00:00
Dimitur Kirov 7f369eb127 drop may fail, we still have to create the
table
2006-04-19 10:47:29 +00:00
Dimitur Kirov f4a203d5bc better pass of args 2006-04-19 10:36:45 +00:00
Yann Leboulanger 7e69364f60 re-create unread_messages_table if there is a missing column (this can happen to svn users only) 2006-04-19 10:28:42 +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
Yann Leboulanger 9fa62c5529 nothing: remove ^M from win 2006-04-19 10:06:59 +00:00
Dimitur Kirov 84e7b2926b better way of doing #1872 2006-04-19 09:08:27 +00:00
Dimitur Kirov 70da8ae011 fix db creation 2006-04-19 08:53:27 +00:00
Dimitur Kirov 27f1461abe get timeformat in utf-8 2006-04-19 07:51:11 +00:00
Dimitur Kirov aba2527be4 fix for #1869. More compound one will include
removing of notification windows, but I guess
it is not a good idea to do it for 0.10
2006-04-18 18:11:18 +00:00
Jean-Marie Traissard 3a27a78e36 Deal with unknow status, thanks Yann for idea. 2006-04-18 18:01:07 +00:00
Dimitur Kirov 53764afbe7 new ConversationTextview doesn't extend
TextView
2006-04-18 16:08:56 +00:00
Dimitur Kirov 5c9613db65 break more circular references that keep
objects alive (the other 1/2 of #1829)
context menu for groupchat banner
2006-04-18 15:36:16 +00:00
Jean-Marie Traissard 365d9d4eb6 Clarify menuitem new chat code : message->chat . Correct actions->chat behaviour 2006-04-18 15:17:07 +00:00
Yann Leboulanger 1a3a987556 auto-authorize transport contacts when we add a transport. fixes #326 2006-04-18 14:30:00 +00:00
Yann Leboulanger ae054b413e nothing 2006-04-17 22:42:23 +00:00
Dimitur Kirov 7b173cdc24 add empty box to keep buttons right aligned 2006-04-17 22:03:34 +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
Yann Leboulanger 0b9868b82a typo. Fixes #1862 2006-04-17 09:07:58 +00:00
Yann Leboulanger 1f815113f8 Fix strange behavior in systray while in connecting state 2006-04-16 13:13:44 +00:00
Yann Leboulanger 9efa1a9cb4 use the correct size of the icon when computing transparent lock icon 2006-04-16 12:43:14 +00:00
Yann Leboulanger 2d7b41ecb9 enable GPG by default if I assigned a GPG key 2006-04-15 12:02:19 +00:00
Dimitur Kirov 9768940b3a show connect failure dialog when Unhandled data
is received (wrong protocol)
2006-04-15 09:43:15 +00:00
Dimitur Kirov ad1ec1ab40 lock icon in tooltip for merged accounts row
and notif area
2006-04-15 09:24:07 +00:00
Yann Leboulanger c4a3262488 [sol] save GPG status 2006-04-15 08:10:24 +00:00
Dimitur Kirov 14588f5e0f win32: check against 2,8 for gtk too 2006-04-14 11:16:00 +00:00
Dimitur Kirov e6981f6f2b show error dialog for lost connection, after
10 reconnect attempts has failed.
No need of po update.
2006-04-14 09:01:24 +00:00
Dimitur Kirov a7fe49be20 on_connect_failure is None after we auth 2006-04-14 05:23:19 +00:00
Dimitur Kirov 927b6d09bc destroy dialogs on delete event
don't send streamhosts if they have been
already sent
2006-04-13 18:00:04 +00:00
Yann Leboulanger 66c198a67f don't use confirm-overwrite signal in fileChooserDialog as we don't use run() anymore 2006-04-13 10:30:21 +00:00
Yann Leboulanger e76b1a4fd6 draw lock icon transparent in merge accounts mode if not all accounts are secured connected. 2006-04-13 09:36:55 +00:00
Dimitur Kirov 19b7e6b0fc disconnect without reconnect, when we notify
user about connection errors
2006-04-12 20:56:25 +00:00
Jean-Marie Traissard 839b75f2dd systray->chat with : sort in the same order than roster (name.lower()), really connect the menuitem to the jid... 2006-04-12 18:39:12 +00:00
Yann Leboulanger a5ce1a1503 print gtk and pygtk version in about dialog 2006-04-12 16:31:35 +00:00
Dimitur Kirov 8f645b8661 msg should be string, not object instance
show error dialog if file_path is not a file
   or file_size is 0
2006-04-12 14:47:31 +00:00
Jean-Marie Traissard ca6668d83e In account and systray menu, put groupchat before single so menuitems with submenus are grouped and it's easier to choose
where to click.
Add back disco to account menu.
Use the good label for account->group chat (doesn't break string freeze)
2006-04-12 14:30:30 +00:00
Yann Leboulanger 7a723b51ee decode filename only once 2006-04-12 14:25:33 +00:00
Yann Leboulanger af424d5bb9 fixes encoding problems when choosing a file in FileChooserDialog on non-utf-8 systems 2006-04-12 13:56:30 +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
Dimitur Kirov 0a7e840756 last_selected_contact is None if new selection
is not a contact
2006-04-12 11:33:23 +00:00
Yann Leboulanger ba558c03e7 typo 2006-04-12 10:08:59 +00:00
Dimitur Kirov 9d3976c2d7 restored proxy.jabber.cd.chalmers.se in the
list of default proxies
2006-04-12 09:13:38 +00:00
Yann Leboulanger ad04559cbf try to create unread_messages table only once when we update config file. 2006-04-12 08:38:51 +00:00
Dimitur Kirov c45426b18f register resultCB for testing proxy activation
results
2006-04-11 22:23:51 +00:00
Dimitur Kirov 64271eb325 set GC list text colors 2006-04-11 22:03:43 +00:00
Dimitur Kirov c6de60d13c set GC theme color for group row 2006-04-11 21:54:15 +00:00
Yann Leboulanger bd7b4bc035 use STATE_PRELIGHT colors for group rows and STATE_ACTIVE for account rows 2006-04-11 21:04:38 +00:00
Dimitur Kirov 501394553a ACTIVE, instead of PRELIGHT 2006-04-11 20:32:50 +00:00
Yann Leboulanger 1252786642 remove useless code. old metacontact stuff is removed for everyone 2006-04-11 20:18:33 +00:00
Yann Leboulanger fe2ec40ad7 new metacontacts JEP (not yet published) uses order instead of priority. 2006-04-11 20:16:33 +00:00
Dimitur Kirov 40c61de7cf set group and account colors to tv bg prelight
if there are no colors specified
2006-04-11 20:02:40 +00:00
Yann Leboulanger 918884fa54 fix TB 2006-04-11 19:39:54 +00:00
Yann Leboulanger 19cb8269c0 resset connection type when we go offline 2006-04-11 18:54:28 +00:00
Yann Leboulanger 4e2f02c725 fix import (add missing, remove useless) 2006-04-11 18:36:09 +00:00
Yann Leboulanger be246e984d update avatar files when we update our vcard 2006-04-11 18:28:31 +00:00
Yann Leboulanger f57cd7b0d3 remove status message before renaming an agent, and redraw it if we cancel. Fixes #1154 2006-04-11 18:20:47 +00:00
Nikos Kouremenos 76da3f4b5a past in about dlg too 2006-04-11 13:38:51 +00:00
Yann Leboulanger d5d2f3c055 call got_[dis]connected() for all controls. Fixes #1845 2006-04-11 12:35:50 +00:00
Dimitur Kirov a9199bf921 commit after each query 2006-04-11 11:52:42 +00:00
Yann Leboulanger 01a9da1e35 typo 2006-04-11 11:41:02 +00:00
Yann Leboulanger 84f0307085 update unread_messages table for those who already have it 2006-04-11 11:31:16 +00:00
Yann Leboulanger 145db1a107 save jid_id in unread_messages table too to increase speed (it was definitively too slow) 2006-04-11 11:28:36 +00:00
Yann Leboulanger 4b43cda815 call fire_up_unread_messages_events when needed 2006-04-11 10:32:16 +00:00
Dimitur Kirov fbb2ab6a4c put executescript in try block 2006-04-11 08:16:22 +00:00
Yann Leboulanger 01f5effcef fall back to a working (but not optimal) table creation until better is done. see #1844 2006-04-11 07:29:43 +00:00
Yann Leboulanger b383a17cfd nk: call fire_up_unread_messages_events where it is really needed, fix coding standards 2006-04-11 07:27:04 +00:00
Nikos Kouremenos 924528aadb first f##ck lazy hacking and respect the API. add_accounts_contacts cannot also mess with messages; second move it to new method (instead of f.e. renaming the current method) because we want to have all contacts in roster and then see events about them 2006-04-10 23:30:18 +00:00
Nikos Kouremenos 213dcd32bb put back IF NOT as currently we always try to create and TB. first we wait for info in ticket. then if needed we ask db to list table and perhaps parse it or find a way to test table is there (rather than everything catching 2006-04-10 23:28:53 +00:00
Nikos Kouremenos 5fcf9dca06 fix um again; fix coding standrads (crazy tabbing, bad spacing before comma) 2006-04-10 23:18:28 +00:00
Nikos Kouremenos 764b08924e 80chars 2006-04-10 23:16:27 +00:00
Dimitur Kirov e75425a660 IF NOT EXISTS is not present in some sqlite
versions
2006-04-10 23:13:33 +00:00
Nikos Kouremenos 58f7a20e91 because we also limit and offset 2006-04-10 23:07:25 +00:00
Nikos Kouremenos 86326d849d get_um_for_contact => get_unread_msgs_for_jid because um is too vague and for_contact lies about expecting contact instance 2006-04-10 23:06:11 +00:00
Dimitur Kirov 5c3b2ff2e8 temp disable assert_um_exists 2006-04-10 22:51:25 +00:00
Dimitur Kirov 94b194966f show unread messages on roster load 2006-04-10 22:36:55 +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 6b1e1d1c8b remove useless function. It has moved to dialogs.py. 2006-04-10 21:29:50 +00:00
Yann Leboulanger e20824e6e6 typo 2006-04-10 21:15:49 +00:00
Yann Leboulanger 1241da51f2 save also call on_response_ok. Fixes #1843 2006-04-10 21:15:44 +00:00
Yann Leboulanger e2ed5d82ff new non-blocking ImageChooserDialog. Fixes #777 2006-04-10 19:49:24 +00:00
Nikos Kouremenos c6ce8c763a [jim++] include status into status message 2006-04-10 18:53:02 +00:00
Yann Leboulanger a1b8dfbcd7 /SoundChooserDialog are now non blocker. Fixes #777 2006-04-10 17:21:28 +00:00
Dimitur Kirov 2b845f6fd5 make sure we are disconnected, before relogin 2006-04-10 16:01:12 +00:00
Dimitur Kirov f1f385f7c3 disconnect account on unregister from server 2006-04-10 15:47:31 +00:00
Yann Leboulanger 37252b0c21 remove debug print 2006-04-10 15:41:28 +00:00
Yann Leboulanger c9bc8fd6a7 filechooser when we receive file doesn't block anymore (no run() call). Fixes #777 2006-04-10 15:38:59 +00:00
Yann Leboulanger cf819d3835 filechooserdialog is no more blocking (no call to run() func). see #777 2006-04-10 14:45:35 +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 87bb1c5551 print error in chat window even if print_status_in_chat is False. See #1802 2006-04-10 13:23:56 +00:00
Nikos Kouremenos 87eae99e1a improve ace comment 2006-04-10 12:16:29 +00:00
Nikos Kouremenos f0f054af6b [Geobert] new compact view so important info are not hidden (f.e. chatstates) for maximum adjustment, see hide_* in ACE. fixes #1276 2006-04-10 12:09:05 +00:00
Yann Leboulanger 0935a91e0e redraw menu when we create a new account 2006-04-10 11:54:34 +00:00
Yann Leboulanger aebb8bd33d redraw mwnu when we remove an account. Fixes #1841 2006-04-10 11:53:21 +00:00
Yann Leboulanger a174f3e1c3 plain has ben renamed to gtk+
emoticons are no more in config file. Fixes #1838
2006-04-10 11:46:53 +00:00
Yann Leboulanger f6aaac5e57 add bannerfont and bannerfontattrs to config.themes_default variable. Fixes #1838 2006-04-10 11:44:27 +00:00
Nikos Kouremenos a54d549d57 rm two unused windows for .10 from glade eventhough strings are permanent for .11 just to meet Yann demands and stop arguing a whole week about 20 freaking strings 2006-04-10 11:22:27 +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 a003eca56f forbid to rename an account to an already existing name. Fixes #1835 2006-04-10 10:16:34 +00:00
Yann Leboulanger c22929a805 always remove agent from server list, even if it's our own server. Fixes #1834 2006-04-10 09:05:55 +00:00
Yann Leboulanger aacf9dd950 fix TB when message from unknown contact 2006-04-10 09:04:52 +00:00
Yann Leboulanger 1d496233f8 update comment 2006-04-10 09:04:14 +00:00
Yann Leboulanger cb242e2bbd remove contact from server list if it's useless (sub=ask=name=groups=None). Fixes #1821 2006-04-10 08:24:55 +00:00
Jean-Marie Traissard 4dce6d9e82 typo, thanks bb for report. 2006-04-09 21:46:51 +00:00
Nikos Kouremenos 47a8ddccd5 make sure that when we log, msg is not None 2006-04-09 19:46:11 +00:00
Dimitur Kirov d3013cc367 removed useless argument 2006-04-09 19:16:27 +00:00
Nikos Kouremenos 645af4e7b7 show nickname/subj cols only when needed 2006-04-09 19:08:57 +00:00
Jean-Marie Traissard b80772ed98 I hear that string aren't frozen yet, so better string for single message. 2006-04-09 18:30:09 +00:00
Jean-Marie Traissard 38b47fc6db Remove some right click on account menuitem as nk said
Really send a single when right click on account -> single (can't change the string as string are freezed and good string that
is in systray doesn't have '...' at the end)
Add missing funcion call
2006-04-09 18:14:59 +00:00
Jean-Marie Traissard 5143fcc0dd Always use the same sort in the menu lists (account-actions)
FIXME : in right click on account, open_new_message open a new_chat. So what do we want ?
2006-04-09 16:53:09 +00:00
Nikos Kouremenos e3c9a07aaa ask C to copy list; respect 80 chars margin; use show and not print when you mean show 2006-04-09 16:48:24 +00:00
Nikos Kouremenos 6f935c5ce0 user_profile_window will replace vcard_window in .11. the fact that this window looks a lot like gnome-about-me is not a coincidence. I like how GNOME HIG looks on gnome-about-me and also eds intergration is planned. atm I commit this, as is. strings are permanent, and those that are notes, are unchecked for translation 2006-04-09 16:34:20 +00:00
Jean-Marie Traissard 4018894f41 Use the right way to copy a list in python, thanks Yann. 2006-04-09 16:03:50 +00:00
Jean-Marie Traissard ba2f6221fb If a contact is in 'Not in Roster' group in the roster, see him in systray->chat_with->'Not in Roster' 2006-04-09 14:08:46 +00:00
Yann Leboulanger b9c96a195d destroy dialog when we press ok in history_manager.py when we delete a jid. Fixes #1833 2006-04-09 12:38:38 +00:00
Yann Leboulanger 42cc2360c1 make sure we don't look jid with resource in contacts 2006-04-09 11:45:21 +00:00
Jean-Marie Traissard ce2269e73f Join gc menu in systray. Fixes #690.
Should I move add_bookmarks_list() in another file ?
2006-04-09 11:13:39 +00:00
Nikos Kouremenos 73bdf4900d make clear and append logic non-bogus; move FIXME to the right place;TODO fix fime 2006-04-09 11:02:43 +00:00
Nikos Kouremenos c92f151f32 we can now export room logs too 2006-04-09 10:40:51 +00:00
Yann Leboulanger da614accfa hide subscription menuitem for not in roster contacts. Fixes #1821 2006-04-09 10:35:21 +00:00
Nikos Kouremenos b2032686bb we now also have nickname in history mgr 2006-04-09 10:32:34 +00:00
Jean-Marie Traissard 0ef8b05a8d List of gc bookmarks in account menu. 2006-04-09 10:05:26 +00:00
Yann Leboulanger f16d8efb17 prevent a TB 2006-04-09 09:44:20 +00:00
Yann Leboulanger 0793c64053 contacts.get_contact() now always returns a list (empty if needed) when no resource is given. Should fix #1821 2006-04-09 09:39:02 +00:00
Jean-Marie Traissard 3fbe15edab Do not TB in systray when a contact has 'not in the roster' for show, don't list him in chat
with.
2006-04-09 00:08:34 +00:00
Jean-Marie Traissard d8a7246d89 Better comment 2006-04-08 23:12:32 +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 0c9ceace11 nonmodla FT request dialog 2006-04-08 17:02:55 +00:00
Dimitur Kirov 481c08560f removed useless methods 2006-04-08 16:51:56 +00:00
Dimitur Kirov 29852a931f don't try to send if connection is down
(this check should be done in all functions
 that may come from user response to dialogs)
2006-04-08 16:40:43 +00:00
Dimitur Kirov a49e89c6b5 don't try to do a nasty connect 2006-04-08 16:29:16 +00:00
Dimitur Kirov 2fa30b7e1e use realm from first challenge response 2006-04-08 15:58:50 +00:00
Dimitur Kirov 6556d01cbe change(s) from xmpppy 2006-04-08 15:39:37 +00:00
Jean-Marie Traissard 039a74adff Sort contact by show in systray->chat with if sort_by_show is on. Fixes #1539 2006-04-08 14:33:04 +00:00
Nikos Kouremenos 40f41bf81d typo 2006-04-08 11:38:16 +00:00
Nikos Kouremenos f0b186808f typo 2006-04-08 10:34:47 +00:00
Nikos Kouremenos cfb307b929 respect 80 margin char please! replace word print with word show which is the correct one 2006-04-08 10:33:13 +00:00
Nikos Kouremenos 9e35ac7aeb improve function name; move it to where we keep those 2006-04-08 10:28:53 +00:00
Dimitur Kirov c220fed809 fixes #1827 2006-04-08 01:25:16 +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 71314f2b08 don't try to reconnect if socket was never
connected
2006-04-08 00:30:33 +00:00
Dimitur Kirov 077e3e1084 take care for winners 2006-04-07 23:49:49 +00:00
Nikos Kouremenos eb4aa3b9c9 take commit comment to actual code comment so readability is increased and comment is on-line help 2006-04-07 23:47:24 +00:00
Dimitur Kirov ad803388ad destroy banner tooltip on close 2006-04-07 23:44:34 +00:00
Yann Leboulanger c73abbab57 correctly handle resources when chat window get focus. Fixes #1785 2006-04-07 23:29:07 +00:00
Yann Leboulanger e9bd817680 destroy sub menus in systray popup menu before creating new. Fixes #1820 2006-04-07 23:07:14 +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
Yann Leboulanger 8c56beac9b destroy advanced_menus before creating new one. Fixes #1820 2006-04-07 21:50:27 +00:00
Dimitur Kirov 1273e35617 typo: wrong ticket number, should be #1629 2006-04-07 21:05:16 +00:00
Dimitur Kirov 047ebf27ef try reconnect if connection has failed befor
auth to server (#1663)
2006-04-07 21:01:37 +00:00