Commit Graph

1375 Commits

Author SHA1 Message Date
Yann Leboulanger e42fc1ac46 ask vcard of contact when we don't have it and we receive his avatar sha 2006-04-19 15:16:51 +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 9fa62c5529 nothing: remove ^M from win 2006-04-19 10:06:59 +00:00
Dimitur Kirov 70da8ae011 fix db creation 2006-04-19 08:53:27 +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
Yann Leboulanger 0b9868b82a typo. Fixes #1862 2006-04-17 09:07:58 +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
Yann Leboulanger c4a3262488 [sol] save GPG status 2006-04-15 08:10:24 +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
Dimitur Kirov 19b7e6b0fc disconnect without reconnect, when we notify
user about connection errors
2006-04-12 20:56:25 +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 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
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
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
Dimitur Kirov a9199bf921 commit after each query 2006-04-11 11:52:42 +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
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
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
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
Dimitur Kirov f1f385f7c3 disconnect account on unregister from server 2006-04-10 15:47:31 +00:00
Yann Leboulanger eb8cc5b7ea show correctly error message and log them in DB. fixes #1802 2006-04-10 14:00:04 +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 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
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
Nikos Kouremenos 47a8ddccd5 make sure that when we log, msg is not None 2006-04-09 19:46:11 +00:00
Nikos Kouremenos 645af4e7b7 show nickname/subj cols only when needed 2006-04-09 19:08:57 +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
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
Nikos Kouremenos 40f41bf81d typo 2006-04-08 11:38:16 +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 71314f2b08 don't try to reconnect if socket was never
connected
2006-04-08 00:30:33 +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 52d01323ce mirate logs by spawing a child python process
No progress text, only pulsebar
2006-04-07 22:57: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
Jean-Marie Traissard f2355f9e6c print submenus only when more than one account is connected, not when more than one is configured, sort
some menus in systray->chat
2006-04-06 18:37:24 +00:00
Yann Leboulanger 2c552d2b85 remove no more used func 2006-04-06 17:27:33 +00:00
Yann Leboulanger 1bc78a3818 we remove agent even if it doesn't reply. Fixes #1756 2006-04-06 16:58:20 +00:00
Dimitur Kirov 14c5213a58 Jim: typo 2006-04-06 10:58:19 +00:00
Nikos Kouremenos e703218466 coding standards. rm too much identation 2006-04-05 14:54:17 +00:00
Yann Leboulanger 0828f88e29 fix logic. Fixes #1798 2006-04-04 19:32:12 +00:00
Nikos Kouremenos 9fecec7edd fix copyright stuff 2006-04-04 17:10:12 +00:00
Nikos Kouremenos b4465083ce fix copyright stuff 2006-04-04 17:09:29 +00:00
Nikos Kouremenos 7ad5bf4580 improve comment 2006-04-04 11:44:17 +00:00
Dimitur Kirov cd8a5dca72 file tag is needed only when restoring previous
transfers
2006-04-04 08:31:36 +00:00
Dimitur Kirov 2c41c831b9 no file tag for stream initiation result
(#1796)
2006-04-04 08:27:27 +00:00
Nikos Kouremenos bed7a29414 fix a typo 2006-04-02 15:11:27 +00:00
Yann Leboulanger 90e5561860 JEP 0091 support: timestamp in presences. Fixes #1675 2006-04-01 18:16:06 +00:00
Yann Leboulanger 117acf702c contact.show can be not in roster. Fixes #1792 2006-04-01 10:23:40 +00:00
Nikos Kouremenos fcf31413dc fix hawke patch 2006-03-31 18:40:10 +00:00
Yann Leboulanger d0f7758647 clean common.contacts._contacts when we remove a contact. Fixes #1788 2006-03-31 17:54:52 +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 ba7ef979b7 common/gajim can't contain _()O so move it to helpers
prevent renaming of special groups
2006-03-30 21:35:43 +00:00
Yann Leboulanger 66a4f406fa Observersa in also a special group than can't be renamed / can't reveive contacts with DND 2006-03-30 21:25:38 +00:00
Nikos Kouremenos 62951fb718 coding standards; convert a TODO to more like testing stuff 2006-03-30 16:10:50 +00:00
Nikos Kouremenos 1dc069f237 overkill to use sre for just replace 2006-03-30 16:08:54 +00:00
Dimitur Kirov 114264ca13 stop if Process has return 0, meaning that it
closed the connection
2006-03-29 23:33:17 +00:00
Yann Leboulanger 4849c2f815 we go offline in rooms when we go invisible 2006-03-29 21:06:01 +00:00
Yann Leboulanger 3b46d08e5d prevent a useless stanza 2006-03-29 20:04:48 +00:00
Yann Leboulanger bfe1e8c631 Never join a room when invisible 2006-03-29 14:32:45 +00:00
Yann Leboulanger 65edabfb6c some cleanup 2006-03-28 14:50:19 +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 1ef1888cbe typo. better break for setence in comment 2006-03-27 23:35:46 +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 0190ac90a4 [jim] fix logic bug 2006-03-27 23:15:19 +00:00
Nikos Kouremenos d1bb5cbc74 again fix logic after cut-paste 2006-03-27 23:10:41 +00:00
Nikos Kouremenos 0bd9e77fc9 fix logic. thanks Jim for report 2006-03-27 22:42:42 +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 b4d8f99d58 nothing 2006-03-27 22:30:02 +00:00
Dimitur Kirov b42bd75a25 EISCONN error is raised in FreeBSD to indicate
that connection is already established
2006-03-27 15:28:29 +00:00
Dimitur Kirov a9622c9a09 EISCONN shows that connection is already
established
2006-03-27 15:19:17 +00:00
Yann Leboulanger ff7eb2356a handle correctly when server return answer to register request when we create a new account. Fixes #1725 2006-03-27 09:53:47 +00:00
Yann Leboulanger 88730b1ea1 add an ui option to disable the use of FT proxies. Fixes #1751 2006-03-27 08:28:05 +00:00
Yann Leboulanger bdda6d1555 show correct error message when we fail to create an account. See #1725 2006-03-26 23:42:36 +00:00
Nikos Kouremenos 6a44733d69 commented code, beautiful code 2006-03-26 19:35:29 +00:00
Nikos Kouremenos 21bba13bc6 are we python or what? :D 2006-03-26 19:34:31 +00:00
Nikos Kouremenos 66029d652e rm debug prints from optparser 2006-03-26 19:26:25 +00:00
Yann Leboulanger a5d95b4792 when we change combobox, only look in global synced accounts if one is connected. Fixes #1724 2006-03-26 13:07:11 +00:00
Yann Leboulanger 7d3cee66ca handle connection failure when we create a new account. Fixes #1725 2006-03-26 12:30:29 +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 f58503f8e7 fix update_config procedure. Also remove proxy65.unstable.nl proxy. Fixes #1748 2006-03-26 10:24:42 +00:00
Nikos Kouremenos 0055c36648 svn is .10 2006-03-25 20:43:12 +00:00
Dimitur Kirov e6b2686138 remove inactive proxies on upgrate. All svn
users remove these proxies from your accounts:
 proxy65.jabber.ccc.de
 proxy65.jabber.autocom.pl
 proxy.jabber.cd.chalmers.se
2006-03-25 20:29:29 +00:00
Dimitur Kirov 2abcc07f81 remove useless option and incorrect proxies
Svn users, please update your proxy list:
proxy.jabber.org
proxy.netlab.cz
transfer.jabber.freenet.de
2006-03-25 20:14:10 +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
Dimitur Kirov 41c0ae46c6 plain become system, because we use system
colors, make 'system' them default:wq
2006-03-25 01:43:39 +00:00
Yann Leboulanger 3275bb9f9b workaround for ejabberd bug: it returns disco#info without an indentity. JEP0030 says it's a MUST. We can now browse online / all / offline users. Fixes #865 2006-03-25 00:46:42 +00:00
Dimitur Kirov c9bdf56da7 show can be 'error' too 2006-03-24 23:50:26 +00:00
Yann Leboulanger ac0f22887e fix GC logs: when we create a new room, we call get_last_date_that_has_logs(), which call get_jid_jid, which create a new id for the room, but with type = JID_NORMAL_TYPE instead of JID_ROOM_TYPE. It's now fixed 2006-03-24 18:46:48 +00:00
Yann Leboulanger 22959b6c4c typo 2006-03-24 13:44: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 1f85960c64 #1735 don't stop completed transfer 2006-03-23 00:11:50 +00:00
Dimitur Kirov be25f1b8ac missing import 2006-03-22 16:36:56 +00:00
Dimitur Kirov 92691fa6f6 disconnect transfers for contact which goes
offline
2006-03-21 23:43:26 +00:00
Dimitur Kirov 3f0ac6b3d9 fix imports 2006-03-21 15:57:44 +00:00
Nikos Kouremenos eca21781cb fix len to not take into account the extension (we pass full filename anyways) 2006-03-21 13:57:02 +00:00
Nikos Kouremenos b3bf080e6f intro helpers.sanitize_filename() to make sure we do not run, use it where it is appropriate 2006-03-21 13:55:22 +00:00
Dimitur Kirov 7418be2323 remove ft_proxies_cache option, not used
anymore, replaced by proxy65_manager
2006-03-20 23:33:53 +00:00
Dimitur Kirov 5a1ff6a4d2 discover proxy transport for server (#803) 2006-03-20 23:17:36 +00:00
Dimitur Kirov c16167025c disconnect pending proxy resolve actions when
account is disconnected from server
2006-03-20 22:09:16 +00:00
Dimitur Kirov 7165a72157 error_cb is sent to proxy jid, instead of proxy
name, add one more proxy (jabber.freenet.de)
2006-03-20 21:48:14 +00:00
Dimitur Kirov ae33330ac6 send fake activate stanza to assert that proxy
works correctly
2006-03-20 21:24:10 +00:00
Nikos Kouremenos 1f43ebfeb3 [jim++] fix logic for ft popup. fixes #1393 2006-03-20 17:25:45 +00:00
Nikos Kouremenos 131d0de955 hint user about what could be wrong 2006-03-19 21:21:16 +00:00
Dimitur Kirov b90e546927 proxy65_manager resolves socks5 proxies at gajim
startup and account login
2006-03-19 20:43:30 +00:00
Dimitur Kirov 8d15ac84be restored send_stanza, needed by xml console 2006-03-19 16:53:17 +00:00
Nikos Kouremenos 85fbcb79e9 fix tb 2006-03-19 14:59:17 +00:00
Dimitur Kirov 540103f381 arranged some methods from connection.py in
classes defeined in connection_handlers.py
2006-03-19 14:54:00 +00:00
Yann Leboulanger 96dcb1bd0c chatstate colors are now configurable in manage theme window. Fixes #1568 2006-03-18 22:40:26 +00:00
Yann Leboulanger 21a65d2568 minor typo 2006-03-18 08:13:27 +00:00
Yann Leboulanger 3a255e5102 fix indentation in common/helpers.py 2006-03-17 19:56:05 +00:00
Yann Leboulanger 3b4f6e20fe we can now have emoticons themes in ~/.gajim/emoticons/ see #1182 2006-03-17 14:24:58 +00:00
Nikos Kouremenos 8b49efd38d [multani] fix syntax typo 2006-03-17 12:32:56 +00:00
Yann Leboulanger 618e429d82 migrate the old useemoticons option to emoticons_theme. Fixes #1715 2006-03-17 12:15:31 +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
Dimitur Kirov b3de43ae3f disconnect after stream end tag, unregister
two more handlers
2006-03-16 17:29:30 +00:00
Dimitur Kirov d33055c3bc don't try to connect, when we are in state
'connecting'
2006-03-15 21:06:22 +00:00
Dimitur Kirov d316c6d8b4 reconnect (if configured), instead of
disconnect on expat error
2006-03-15 20:46:50 +00:00
Dimitur Kirov 7afb58426a property last_connection, used to prevend
double connections
2006-03-15 20:10:52 +00:00
Dimitur Kirov 032ed4f22c typo 2006-03-15 19:47:11 +00:00
Dimitur Kirov 5e19b20377 return unregister attemped on undefined
namespace handlers
2006-03-15 19:43:22 +00:00
Dimitur Kirov c8b27da04f don't disconnect after server inabillity to
receive long data. Unregister all handlers in
disconnect
2006-03-15 19:39:27 +00:00
Yann Leboulanger 4cbc0666ff show an error dialog when a transport answers wrongly to register request. Fixes #1702 2006-03-15 08:56:36 +00:00
Nikos Kouremenos 036265081b fix typo; also saner defaults [only first time] for last_save_dir and last_send_dir 2006-03-15 02:09:57 +00:00