Commit Graph

610 Commits

Author SHA1 Message Date
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
Yann Leboulanger f9376d6985 save avatar images only when sha change 2006-01-17 09:21:32 +00:00
Yann Leboulanger bab21aaf56 [knuckles] improved popup notification to show avatar 2006-01-17 09:01:59 +00:00
Yann Leboulanger cea64c05df we can now remove jid from affiliation lists (#530) 2006-01-17 08:05:02 +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 9e8163774d Implement section 9.4 of RFC 3921, subscription ack'ing. Closes #1327 2006-01-13 05:07:09 +00:00
Nikos Kouremenos 487defe8e3 it is setence. so mark it for transl 2006-01-12 23:05:25 +00:00
Yann Leboulanger d52bf25ba2 [bacek] JEP 0012 support (Last activity), thx ! 2006-01-12 18:15:08 +00:00
Travis Shirk 0da89c3996 /me works, room subject ellipses, and ui update fixes 2006-01-10 01:47:24 +00:00
Travis Shirk c033a670d1 Merged revisions 5044-5051 via svnmerge from
svn://svn.gajim.org/gajim/trunk

........
r5044 | asterix | 2006-01-07 17:17:05 -0700 (Sat, 07 Jan 2006) | 2 lines

open the vcard on the real jid in gc if we know it

........
r5045 | asterix | 2006-01-07 17:23:33 -0700 (Sat, 07 Jan 2006) | 2 lines

use real jid when we open a pm message if we know it

........
r5046 | asterix | 2006-01-07 17:27:38 -0700 (Sat, 07 Jan 2006) | 2 lines

get contact from the self.contacts so that even if it's pm we get a Contact instance

........
r5047 | asterix | 2006-01-07 17:30:58 -0700 (Sat, 07 Jan 2006) | 2 lines

don't ask vcard when we get an error presence

........
r5048 | asterix | 2006-01-07 17:39:05 -0700 (Sat, 07 Jan 2006) | 2 lines

fix logic in contacts.add_contact() function

........
r5049 | asterix | 2006-01-07 18:08:21 -0700 (Sat, 07 Jan 2006) | 2 lines

do not use underline in join_gc menu

........
r5050 | asterix | 2006-01-07 18:12:09 -0700 (Sat, 07 Jan 2006) | 2 lines

don't use underline in all menus that contact an account name

........
r5051 | asterix | 2006-01-07 18:18:16 -0700 (Sat, 07 Jan 2006) | 2 lines

add an ACE option to hide the avatar in tabbed chat window

........
2006-01-08 05:05:16 +00:00
Travis Shirk 5c53bdbee6 Merged revisions 5030-5031,5033-5038 via svnmerge from
svn://svn.gajim.org/gajim/trunk

........
r5030 | asterix | 2006-01-07 10:04:18 -0700 (Sat, 07 Jan 2006) | 2 lines

when we add a bookmark, we add our nick by default

........
r5031 | nicfit | 2006-01-07 10:24:50 -0700 (Sat, 07 Jan 2006) | 2 lines

Grammatical fix

........
r5033 | asterix | 2006-01-07 11:36:56 -0700 (Sat, 07 Jan 2006) | 2 lines

cell_renderer_image now take in argument the index of the column and the index in the model

........
r5034 | asterix | 2006-01-07 11:37:28 -0700 (Sat, 07 Jan 2006) | 2 lines

typo

........
r5035 | asterix | 2006-01-07 11:38:18 -0700 (Sat, 07 Jan 2006) | 2 lines

don't show header in emoticonManager so that cellrenderer correctly compute the area to redraw

........
r5036 | asterix | 2006-01-07 11:39:41 -0700 (Sat, 07 Jan 2006) | 2 lines

prevent a TB

........
r5037 | nicfit | 2006-01-07 13:26:08 -0700 (Sat, 07 Jan 2006) | 2 lines

Increment later

........
r5038 | nicfit | 2006-01-07 13:29:05 -0700 (Sat, 07 Jan 2006) | 2 lines

Fixed syntax error

........
2006-01-07 20:47:06 +00:00
Travis Shirk f52afdcbe8 Merged revisions 5017-5020,5022-5029 via svnmerge from
svn://svn.gajim.org/gajim/trunk

........
r5017 | asterix | 2006-01-06 01:55:51 -0700 (Fri, 06 Jan 2006) | 2 lines

use escape for pango markup

........
r5018 | asterix | 2006-01-06 02:21:39 -0700 (Fri, 06 Jan 2006) | 2 lines

missing new contacts function

........
r5019 | asterix | 2006-01-06 11:03:07 -0700 (Fri, 06 Jan 2006) | 2 lines

handle the click on toggle_gpg_encryption menuitem

........
r5020 | asterix | 2006-01-06 11:14:14 -0700 (Fri, 06 Jan 2006) | 2 lines

use the saved size even if a chat window is already opened

........
r5022 | asterix | 2006-01-07 03:43:47 -0700 (Sat, 07 Jan 2006) | 2 lines

we can now resume filetransfert

........
r5023 | asterix | 2006-01-07 03:56:31 -0700 (Sat, 07 Jan 2006) | 2 lines

[Knuckles] Google E-Mail Notification

........
r5024 | asterix | 2006-01-07 04:02:16 -0700 (Sat, 07 Jan 2006) | 2 lines

better string

........
r5025 | asterix | 2006-01-07 04:14:32 -0700 (Sat, 07 Jan 2006) | 2 lines

fix a TB

........
r5026 | asterix | 2006-01-07 05:36:55 -0700 (Sat, 07 Jan 2006) | 2 lines

we can now drag a file on a contact in the roster to send him a file

........
r5027 | asterix | 2006-01-07 06:26:28 -0700 (Sat, 07 Jan 2006) | 2 lines

contact.groups is always a list, even if emtpy

........
r5028 | asterix | 2006-01-07 06:54:30 -0700 (Sat, 07 Jan 2006) | 2 lines

make all buttons insensitive on a category row in disco

........
r5029 | asterix | 2006-01-07 07:19:25 -0700 (Sat, 07 Jan 2006) | 2 lines

auto open groupchat configuration window when we create a new room

........
2006-01-07 17:25:35 +00:00
Travis Shirk 757ed426e3 Merged revisions 4987-4989,4991-4996,4999,5003 via svnmerge from
svn://svn.gajim.org/gajim/trunk

........
r4987 | nk | 2006-01-03 04:00:51 -0700 (Tue, 03 Jan 2006) | 1 line

commit 48x48 transport online/offline imgs by Grenshad (I pngcrushed them)
........
r4988 | nk | 2006-01-03 04:32:01 -0700 (Tue, 03 Jan 2006) | 1 line

icon in notification window not always jabber now. MSN if he uses msn etc. thanks stian barmen for helping me test
........
r4989 | nk | 2006-01-03 04:40:44 -0700 (Tue, 03 Jan 2006) | 1 line

all strings I got report about them, are not translatable; pot/po update
........
r4991 | asterix | 2006-01-03 08:08:21 -0700 (Tue, 03 Jan 2006) | 2 lines

don't remove the jid entry in _contacts[account] when we remove a contact

........
r4992 | asterix | 2006-01-03 08:18:30 -0700 (Tue, 03 Jan 2006) | 2 lines

fix logic

........
r4993 | asterix | 2006-01-03 09:04:14 -0700 (Tue, 03 Jan 2006) | 2 lines

a GC_Contact can have a resource if we knoe his real JID

........
r4994 | asterix | 2006-01-03 09:32:58 -0700 (Tue, 03 Jan 2006) | 2 lines

missing argument in create_gc_contact

........
r4995 | asterix | 2006-01-03 10:36:41 -0700 (Tue, 03 Jan 2006) | 2 lines

we save gc_contact vcard instance in instances[self.account]['infos'][Fake_jid]

........
r4996 | asterix | 2006-01-03 11:17:43 -0700 (Tue, 03 Jan 2006) | 2 lines

in DataForm, a field of type 'list-single' can have no <value> element. Create a default one in such a case to prevent TB

........
r4999 | asterix | 2006-01-04 05:52:26 -0700 (Wed, 04 Jan 2006) | 2 lines

prevent TB when we move a contact that was in no group

........
r5003 | asterix | 2006-01-04 09:03:42 -0700 (Wed, 04 Jan 2006) | 2 lines

handle correctly unlabeled option values in DataForms

........
2006-01-05 03:17:36 +00:00
Travis Shirk 1360933ba9 Merged in trunk updates, including meta_contacts
Merged revisions 4951,4962-4969 via svnmerge from
svn://svn.gajim.org/gajim/trunk

........
r4951 | nk | 2005-12-30 16:50:36 -0700 (Fri, 30 Dec 2005) | 1 line

fixes in greek transl
........
r4962 | asterix | 2006-01-01 11:41:04 -0700 (Sun, 01 Jan 2006) | 2 lines

merge meta_contacts branch with trunk. Meta contacts are not in gajim yet, but framework is here. We now use gajim.contacts.many_functions() to handle contacts and groupchat_contacts.

........
r4963 | asterix | 2006-01-01 11:43:24 -0700 (Sun, 01 Jan 2006) | 2 lines

correct contacts file

........
r4964 | asterix | 2006-01-01 11:47:26 -0700 (Sun, 01 Jan 2006) | 2 lines

dict.remove() doesn't exists, it's del dict[]

........
r4965 | asterix | 2006-01-01 11:50:15 -0700 (Sun, 01 Jan 2006) | 2 lines

some missing commits from branch

........
r4966 | asterix | 2006-01-01 11:53:30 -0700 (Sun, 01 Jan 2006) | 2 lines

end of gc_contact.nick -> gc_contact.name

........
r4967 | asterix | 2006-01-01 12:05:59 -0700 (Sun, 01 Jan 2006) | 2 lines

new ACE option: send_sha_in_gc_presence that allow to send sha info in groupchat presences

........
r4968 | asterix | 2006-01-01 12:12:36 -0700 (Sun, 01 Jan 2006) | 2 lines

0.9.1-2 in debian that solve the group bug (commit [4924])

........
r4969 | asterix | 2006-01-01 12:31:13 -0700 (Sun, 01 Jan 2006) | 2 lines

typo

........
2006-01-01 20:06:26 +00:00
Nikos Kouremenos 45b1493471 fix so we log muc messages [was broken only in svn] 2005-12-26 14:15:17 +00:00
Yann Leboulanger 45ee0e9a75 revert wrong commit 2005-12-25 15:56:36 +00:00
Nikos Kouremenos bfd50145c6 doing pychecker from once in a while, hurts noone 2005-12-25 14:44:37 +00:00
Yann Leboulanger 2fce0a3bd3 fix last_history_line usage 2005-12-24 22:00:28 +00:00
Nikos Kouremenos d956d1f19b fix typo 2005-12-23 23:33:00 +00:00
Yann Leboulanger c557a2c51b [Sef] don't duplicate log lines in groupchat 2005-12-20 16:18:17 +00:00
Yann Leboulanger 995590a0f1 don't remove account from Gajim if removal from server failed 2005-12-10 16:23:45 +00:00
Yann Leboulanger 8252529260 connect_and_init doesn't call init_roster anymore
fix the unregister_account bug
2005-12-10 13:58:09 +00:00
Nikos Kouremenos 0db94027c9 ignore errors on receiving non-utf8 data 2005-12-10 13:51:23 +00:00
Yann Leboulanger 612716e2db change copyright from "Gajim Team" to real people 2005-12-09 23:30:28 +00:00
Yann Leboulanger cae7ce3bac "Gajim Team" in all hearders become "Contributors for this file" 2005-12-09 17:15:30 +00:00
Yann Leboulanger 34255e5682 Vincent left us a long time ago 2005-12-07 23:09:10 +00:00
Yann Leboulanger 43564ccefa consider incomming messages without type as normal (single) messages 2005-12-07 16:09:03 +00:00
Nikos Kouremenos 9e85df37b1 remove last dot (which is RFC possiblity) the dnspython way. thank Bob Halley 2005-12-06 22:08:10 +00:00
Nikos Kouremenos 5868901824 dnspython target returns with dot in the end. catch and fix that; thanks della for helping me and reporting this 2005-12-06 17:37:54 +00:00
Yann Leboulanger ed47580227 sha is now computed on the raw image data and not the base64 encoded data 2005-12-05 08:45:39 +00:00
Yann Leboulanger 4f53f2f769 typo: get -> get_per 2005-12-04 22:58:38 +00:00
Yann Leboulanger 140f03221f take into account the no_log_for option 2005-12-04 22:23:41 +00:00
Yann Leboulanger cec9b1e861 send offline status to gc before we disconnect 2005-11-30 17:54:34 +00:00
Yann Leboulanger d58f380842 emmit SIGNED_IN when needed (when we connect) 2005-11-30 17:46:36 +00:00
Nikos Kouremenos 8522d1bd22 try to fix a MAJOR TB. maybe simple dispatch jid should be stripped too. I dont know. Yann? 2005-11-30 13:59:16 +00:00
Yann Leboulanger 820dae2642 1) we can't receive our vcard empty
2) write an empty file for empty vcards so that they are not asked at each gajim startup
2005-11-29 20:17:51 +00:00
Nikos Kouremenos 17034b654a remove a fixme; remove old and replace with that we really mean by old, so we do not get confused with date 2005-11-29 10:16:31 +00:00
Yann Leboulanger 258c0541e0 when we receive an empty vcard, we send an empty vcard to the interface so that it knows it arrived 2005-11-28 16:26:19 +00:00
Yann Leboulanger c3670ea4eb when a message a no type, we must consider it as type=normal as explained in RFC3921 2005-11-27 15:45:54 +00:00
Nikos Kouremenos 8734c5f2cb SIGN_IN --> SIGNED_IN 2005-11-27 12:42:42 +00:00
Yann Leboulanger 21116c221e create a new SIGN_IN event that is emitted when we sign in 2005-11-27 12:29:30 +00:00
Nikos Kouremenos caade489ee new db design and improved migration script. if you ran before the migration please remove you old logs.db as it is incompatible with the new one and rerun migration if you care about old logs. a print on show is on purpose, bonus of the first to traceback and give us the value of show that causes the tb. yea svn got unstable these days. sorry about that but big changes 2005-11-25 23:23:25 +00:00
Nikos Kouremenos 89952468ef various fixes in previous commit 2005-11-24 21:11:44 +00:00
Yann Leboulanger a6643b103b print an error and don't crash when we get a non-RFC-complient jid 2005-11-24 21:05:18 +00:00
Nikos Kouremenos 359824bec1 add ACE log_contact_status_changes and expose to UI in advanced tab in misc. this replaces the previous options and imo is good to expose to that place (used to have log-related stuff) 2005-11-23 23:28:26 +00:00
Nikos Kouremenos d9cc33cf26 log system rewrite to use sqlite database instead of plain ascii files. this allows us to scale better (be faster), provide search in history, and save logs for JIDs that are non-ASCII. PLEASE read http://trac.gajim.org/wiki/MigrateLogToDot9DB 2005-11-23 19:12:52 +00:00
Yann Leboulanger c511a31038 list-multi are now handled in DataForm 2005-11-22 23:10:08 +00:00
Travis Shirk d17fac8e53 Fix a TB; closes #1139 2005-11-22 20:09:47 +00:00
Yann Leboulanger 01b8de5b0c also call _IqCB when we get registration result 2005-11-21 15:09:04 +00:00
Yann Leboulanger 6e593107e0 get_hostname_from_account can now return the srv_hostname 2005-11-20 13:27:37 +00:00
Yann Leboulanger 068e93194d [anonymous] catch exceptions in dnspython 2005-11-20 10:51:22 +00:00
Yann Leboulanger c283e7e92c we can now handeled timeouts: when we don't receive registration info within 30 secondes, we show an information window 2005-11-19 19:33:11 +00:00
Nikos Kouremenos 109f599865 catch IOError on traceback.print_exc 2005-11-19 15:49:45 +00:00
Alex Mauer 0072034452 Allow configuration of the character appended in case of a nick
conflict.
2005-11-18 17:47:52 +00:00
Nikos Kouremenos 965e9cb8c7 running pychecker in some files and fixing cleaning up those errors/info that REALLY matter 2005-11-18 13:12:16 +00:00
Yann Leboulanger 71271279d0 stringprep our jid to compare it with others 2005-11-15 19:41:43 +00:00
Yann Leboulanger 5c42980857 avatar is updated when someone updates it 2005-11-14 21:10:00 +00:00
Yann Leboulanger 1238f5a957 remove FIXME 2005-11-13 18:09:48 +00:00
Yann Leboulanger 79d6f275e8 re-send a presence when we set a new avatar 2005-11-13 17:51:37 +00:00
Nikos Kouremenos 7e5ba09aca GC does it automatically, but what the hell 2005-11-13 12:31:13 +00:00
Travis Shirk 96fbd0ae4f JEP 0070 Last Call updates; transaction IDs are a MUST, so we should display them to the user.
Closes #1088
2005-11-13 01:48:48 +00:00
Yann Leboulanger e422a1807d SRV now works (hopefully !)
we use a new Client instance for each try
fix a typo in the use of pydns
2005-11-07 14:04:18 +00:00
Nikos Kouremenos 974b893229 fix logic 2005-11-07 13:11:26 +00:00
Nikos Kouremenos 68ac516bce make dnspython work 2005-11-07 13:04:58 +00:00
Nikos Kouremenos 7aa63e2fc5 remove print 2005-11-06 21:02:20 +00:00
Nikos Kouremenos 7ec7276797 better var names and add aprint for stian 2005-11-06 20:58:22 +00:00
Nikos Kouremenos 6202203856 add a fixme and print traceback 2005-11-06 20:29:08 +00:00
Yann Leboulanger 039eb20c0a forget password only when needed (when we don't save it ad connection failed) 2005-11-06 15:51:18 +00:00
Yann Leboulanger 5a0a33681a add missing arg 2005-11-06 10:42:29 +00:00
Yann Leboulanger 6d3fe8e459 hack in order to register our Event handler as soon as Dispatcher is pluged in 2005-11-06 10:12:22 +00:00
Yann Leboulanger e0b1dd77f8 at the end of the account creatio we don't need to enter the password if we entered it in the paramteres (even is save pass is not checked) 2005-11-05 11:21:41 +00:00
Yann Leboulanger febe8d4a1a correctly show the result of an account creation (success / fail) 2005-11-04 21:27:14 +00:00
Yann Leboulanger ca05945f63 prevent TB when vcard is buggy
new event: ACC_NOT_OK when account creation failed
2005-11-04 19:06:54 +00:00
Nikos Kouremenos f262486352 fix syntax error 2005-11-04 15:36:25 +00:00
Yann Leboulanger c0261e481a add some debug info 2005-11-04 14:42:56 +00:00
Yann Leboulanger e8069e56ad SRV records are now properly supported (swich to another SRV record when first one is not available) 2005-11-04 08:19:15 +00:00
Nikos Kouremenos b9d4b51e1d fix invalid arguments call 2005-11-03 20:52:04 +00:00
Nikos Kouremenos 8b90191f60 fix untested code 2005-11-03 20:50:52 +00:00
Nikos Kouremenos de7f987211 fix typo 2005-11-03 20:41:35 +00:00
Yann Leboulanger 97ed14b16b remove our jid before we stringprep 2005-11-03 19:00:22 +00:00
Yann Leboulanger f130ce29c0 we now stringprep jid and resource everywhere:
when we recieve a jid from server
when we enter a jid or resource in GUI
2005-11-03 14:46:56 +00:00
Yann Leboulanger ff2eaa4a55 Gajim and gajim are not the same resource 2005-11-03 12:09:38 +00:00
Yann Leboulanger 66a7f4b07c resources are now checked case insensitive in connection.py with the one we already have 2005-11-03 09:21:12 +00:00
Yann Leboulanger 06ad619a58 when we get an iq, we check if we already have with another case 2005-11-02 22:08:31 +00:00
Yann Leboulanger ce247d053f coding standards
self.node_to_dict always return a dict
2005-11-01 14:43:00 +00:00
Nikos Kouremenos 4466a7f6b2 isinstance(a, foo) is faster that type(a) == foo 2005-11-01 13:10:38 +00:00
Nikos Kouremenos 63bcfc3054 fix tbs 2005-11-01 13:05:51 +00:00
Nikos Kouremenos b89c217e68 logic fix 2005-10-31 20:54:05 +00:00
Yann Leboulanger 9ea8a2d8e8 at startup use our cached vcard to get the sha
then ask the vcard, and resend a new presence only if avatar has changed
2005-10-31 20:51:45 +00:00
Yann Leboulanger a8cb9d69ff we now save sha in stored vcard
we save the current sha in memory and we update it when we receive the vcard
we re-ask the vcard when we receive a presence with a new sha
2005-10-31 17:31:30 +00:00
Yann Leboulanger 17f67e6a90 remove unneeded BeautifulSoup class
refactor the code so that it's not dup (vcard.get_avatar_pixbuf)
2005-10-31 10:23:33 +00:00
Yann Leboulanger 89d00ada0d we send our username, not our nick when we change password 2005-10-30 16:50:05 +00:00
Yann Leboulanger 60d8a8e9b3 save vcard when we get it 2005-10-30 16:46:50 +00:00
shteef b69bc501ae New Service Discovery, couple of quick notes about this commit:
* src/disco.py contains all the disco stuff
 * registration remains in src/config.py
 * data/pixmaps/agents contains the icons used in the toplevel server browser
   and the banner. They're referenced at the top of src/disco.py.
2005-10-30 09:58:13 +00:00
Nikos Kouremenos bf4a1b28ac xrange and tupple instead of range and list in common/ 2005-10-27 13:22:42 +00:00
Nikos Kouremenos f430c3581f ask uname as our last chance to detect OS [thanks kael for command] 2005-10-25 08:39:41 +00:00
Nikos Kouremenos 2abc302ce9 do not fail if user runs vista 2005-10-21 17:00:37 +00:00
Nikos Kouremenos f79a90a3ca make gajim boot in windows 2003 2005-10-21 16:46:27 +00:00
Yann Leboulanger 4e7f9f5820 connect always return a sequence 2005-10-17 11:18:42 +00:00
Yann Leboulanger f92a137158 name is login, not account name 2005-10-14 19:37:08 +00:00
Yann Leboulanger 27ee476990 refactor connect so that new_account can use it (SSL and SRV now works when we create a new account) 2005-10-14 18:55:48 +00:00
Yann Leboulanger d8e4c0b0e1 the time we look at what is sent by the ROSTER event, xmpp added a new entry, we don't want it: this entry is in 'Not in roster' group 2005-10-11 15:39:51 +00:00
Yann Leboulanger 2da08cf0e9 typo 2005-10-09 10:24:06 +00:00
Yann Leboulanger 6ff2bf8c53 [Norman] subnodes are correctly browsed now 2005-10-09 10:11:24 +00:00
Nikos Kouremenos 7ee643c02e comments to help code not become a beast; clean and adhere to coding style 2005-10-07 14:46:10 +00:00
Dimitur Kirov ecda168634 call disconnect_transfer to prevent duplicating
code
2005-10-07 11:57:04 +00:00
Nikos Kouremenos 4e99f9563b avatars in MUC presences are back. stpeter aproved :) [he also plans to make it more clean in JEP] 2005-10-07 10:54:45 +00:00
Yann Leboulanger 3e7627aa6d fix var name 2005-10-07 10:32:42 +00:00
Yann Leboulanger 2b1d4c93b5 while we connect, after connect and after auth, we check if user hasen't changed his mind and choose to go offline 2005-10-07 09:55:29 +00:00
Yann Leboulanger 011115ae80 little cleanup / indentation fix 2005-10-06 20:27:11 +00:00
Yann Leboulanger cd59e29778 SIGPIPE pb is only for unix 2005-10-05 11:05:51 +00:00
Yann Leboulanger 61c64536c8 ServiceRegistrationWindow now support Data form 2005-10-05 10:13:31 +00:00
Yann Leboulanger 07ce973e32 fix SIGPIPE pb (see http://mail.python.org/pipermail/python-list/2004-June/227039.html for details) 2005-10-04 18:22:25 +00:00
Nikos Kouremenos 80b8881d67 fix comment to be more accurate 2005-10-04 13:31:55 +00:00
Yann Leboulanger c6b05312d9 add FIXME for MSN transport workaround 2005-10-04 12:26:09 +00:00
Yann Leboulanger 4d8fd1dfc3 we now support MSN conferences 2005-10-04 11:33:57 +00:00
Yann Leboulanger 59b2bf1d31 xmpp code in connection.py instead of gajim.py 2005-10-04 10:59:11 +00:00
Yann Leboulanger c4e9be83cd refactor a var 2005-10-04 10:49:58 +00:00
Nikos Kouremenos f6470778a6 we now show a happy dialog on nick conflict asking (and even proposing new nick); also refactor code and add a new gtkgui helper 2005-10-03 18:19:31 +00:00
Nikos Kouremenos 11d3316af2 remove duplicate line 2005-10-03 17:34:03 +00:00
Nikos Kouremenos 6899985d5c we now cache avatar, so we only ask once. TODO: ask, store and show in roster; TODO2: on new sha reask vcard to get new avatar 2005-10-03 16:14:41 +00:00
Yann Leboulanger c0ccc81252 detect gc presences in a batter way 2005-09-28 15:24:26 +00:00
Yann Leboulanger a8117faf2d [gjc] "interrupt system call" are now handled and cause the function to be retried 2005-09-28 15:00:01 +00:00
Yann Leboulanger 42ffc5d810 remove the contact_mutual_removal advanced option and add a checkbutton in remove_contact dialog to ask if we want to remove both subscriptions 2005-09-28 14:35:06 +00:00
Yann Leboulanger 1942ac9e73 get var before using it 2005-09-27 11:14:39 +00:00
Nikos Kouremenos 1fff71ad87 refactor to allow changing our nick after nick conflict but first #967 needs to be fixed so I can test 2005-09-26 22:29:52 +00:00
Yann Leboulanger 7ea237d8ea typo 2005-09-19 16:27:10 +00:00
Yann Leboulanger 97b75de35b split NOTIFY event into NOTIFY and GC_NOTIFY 2005-09-19 16:13:45 +00:00
Yann Leboulanger 6d0bf25adc SRV lookup moved from xmpp to connection.py 2005-09-18 19:52:06 +00:00
Yann Leboulanger 67c9312d37 SRV lookup is now an option and is turned off when we use SSL 2005-09-16 15:19:01 +00:00
Yann Leboulanger 948d0a93e4 log outgoing subject when sending single message 2005-09-14 16:51:08 +00:00
Yann Leboulanger de2fe68d40 don't send sha in gc presences 2005-09-14 16:19:42 +00:00
Alex Mauer 4c990ccb1e Tooltip for account line in roster 2005-09-13 18:46:21 +00:00
Yann Leboulanger 2af3116b9d fix TB 2005-09-13 10:52:51 +00:00
Alex Mauer 867dc64798 Fix my roster breakage from cs3613 -- accounts need to be referenced by
name, not name stored in jid field.
Use the new get_jid_from_account in a few places.
2005-09-12 22:46:41 +00:00
Nikos Kouremenos 43aef76dd9 [sef and me] now we also handle receiving invitations 2005-09-11 15:02:22 +00:00
Yann Leboulanger 25dfa506cd reconnect is now launched in a thread 2005-09-10 12:05:48 +00:00
Yann Leboulanger e8b3a5898c remove unneeded print 2005-09-10 09:31:29 +00:00
Yann Leboulanger d271c29a24 we are now informed when vcard publication faild / succeed 2005-09-10 09:25:06 +00:00
Nikos Kouremenos a648d44fd3 add support for sending invite stanza /invite jid [reason]. I improved patch by Sef 2005-09-09 22:00:01 +00:00
Nikos Kouremenos 0bf0c36323 use gajim.get_jid_from_account in some places 2005-09-09 21:15:41 +00:00
Dimitur Kirov 50ac7f932b fix blocker bug: tb on Resource binding 2005-09-08 18:16:38 +00:00
Yann Leboulanger bceb6ad19e typo 2005-09-08 08:33:35 +00:00
Yann Leboulanger 26e78f0a53 we now wait to receive the roster before continuing connection (send presence, get vcard / bookmarks) 2005-09-08 07:36:37 +00:00
Yann Leboulanger f1fb1a13b6 do not send "I'm status" status message when we don't use gpg 2005-09-08 07:10:59 +00:00
Dimitur Kirov 6c5e687960 get server resource after auth (resource
binding is performed there)
2005-09-07 16:20:40 +00:00
Yann Leboulanger ee64aa72ee remove an unusefull option 2005-09-07 15:57:01 +00:00
Dimitur Kirov 3676f7f80b keep resource that come from server 2005-09-07 15:32:31 +00:00
Yann Leboulanger fec1eb1c5c don't send sha-presence when we are invisible 2005-09-07 14:41:14 +00:00
Nikos Kouremenos c535a06e13 imrpove suse string for download 2005-09-06 19:29:25 +00:00
Nikos Kouremenos d90801de18 remove a print 2005-09-06 13:00:48 +00:00
Yann Leboulanger ac5e1897b5 disco cleanup:
we don't use old jabber:iq:browse and jabber:iq:agents
we ask info only when we select the row
2005-09-06 11:54:23 +00:00
Nikos Kouremenos 5f5e54ffac reviewed strings: HIG fix, transl comment, improvement on reconnect string 2005-09-06 09:44:34 +00:00
Yann Leboulanger 72393ac068 autoreconnect of account is ready 2005-09-05 13:28:09 +00:00
Nikos Kouremenos a29c12a8b6 add a comment 2005-09-04 17:47:36 +00:00
Nikos Kouremenos 650bbdca39 catch all error codes for MUC JEP and issue translatable strings so non english user does not see english. 2005-09-03 17:18:07 +00:00
Nikos Kouremenos d0ecafdcc2 add comments for some advanced settings, fix some stuff in glade too for that 2005-09-03 13:48:25 +00:00
Nikos Kouremenos 49b4eff2cc [andreasvc] fix a string 2005-09-03 12:54:45 +00:00
Nikos Kouremenos d26696bbe5 [Laurent Sartran] catch exception when SSL connection is reset during handshake 2005-09-01 17:44:57 +00:00
Yann Leboulanger 924b1e3df2 do not send online show in presence 2005-09-01 17:16:35 +00:00
Nikos Kouremenos 7d2a698fc9 [Hawke patches Lukas patch :D] now Gajim can use gpg-agent 2005-08-30 21:10:14 +00:00
Nikos Kouremenos 408aae5084 [nicfit] do keepalive without iq:last but just send " "
good because google talk (and other servers) do not support iq:last
good because we do not disconnect ourselves if time changes
good because we do not disconnect ourselves on modal dialogs
good because even stpeter thinks that is the best way to do keepalives
good because we do not flood the server with iq:last
bad because I say it is good :D
2005-08-27 00:07:43 +00:00
Nikos Kouremenos cec336112d [Stéphan K.] make most strings we use unicode instacnes 2005-08-26 00:52:44 +00:00
Dimitur Kirov 8adeb33fa1 fixed tb on server connect 2005-08-25 14:07:17 +00:00
Nikos Kouremenos 61f1c8c5d4 better message for nick conflict 2005-08-25 10:06:33 +00:00
Dimitur Kirov fd83a95032 prevent TB on removing online account 2005-08-24 15:59:51 +00:00
Dimitur Kirov a51c320245 prevent transfer to offline contact, remove
listener when last there are no more senders
2005-08-23 21:52:56 +00:00
Nikos Kouremenos bd0a5230d9 xs:boolean is '0', '1', 'true', 'false'. so update bookmark to handle the last two 2005-08-18 19:06:24 +00:00
Yann Leboulanger 903941fe03 send priority on EVERY presences 2005-08-18 08:33:51 +00:00
Dimitur Kirov 98273d7aec removed the last affinix non jep tag 2005-08-17 15:48:14 +00:00
Yann Leboulanger 54645ae409 temporary fix for the Event dispatcher to work with TLS connections 2005-08-16 16:10:36 +00:00
Dimitur Kirov 5f0b36004d TB on connection timeout 2005-08-14 22:29:16 +00:00
Nikos Kouremenos db97d20aec do not set as status I'm invisible 2005-08-14 14:32:10 +00:00
Nikos Kouremenos 86443c4934 fix bad string, add comment for transl, pot/po 2005-08-13 15:06:04 +00:00
Dimitur Kirov 8eb530b91c send error to stderr if another instance of
gajim is running on the same ft port
2005-08-12 19:09:20 +00:00
Dimitur Kirov ba4e81095d gethostbyname for the override host 2005-08-12 14:59:28 +00:00
Nikos Kouremenos 0855c48d08 better name: ft_override_host_to_send 2005-08-12 13:40:42 +00:00
Dimitur Kirov 4c24be16ed added ft_custom_host for translated/forwarded
ports
2005-08-12 09:34:30 +00:00
Dimitur Kirov 5d3f81a9c3 removed the fast extention 2005-08-11 20:26:17 +00:00
Nikos Kouremenos ea704fc426 fix english typos 2005-08-10 19:10:58 +00:00
Dimitur Kirov 73c5eb3dd2 proper disconnect routines 2005-08-10 15:59:55 +00:00
Yann Leboulanger c61c33765f here is a mutex for events_for_ui:
threads and main thread won't conflict
2005-08-09 18:45:16 +00:00
Yann Leboulanger d0eb029f74 connection.pt doesn't send events to ui: it just put it in gajim.events_for_ui[account]
gui read this queue
(mutex will come)
2005-08-09 17:21:35 +00:00
Yann Leboulanger 5a9bb51f97 threads don't send event to gui if connection succeed, thay are in a queue 2005-08-09 15:28:32 +00:00
Dimitur Kirov 4df50b17ee adedde prefix ft_ for proxy65 options 2005-08-09 14:53:33 +00:00
Dimitur Kirov 2bc8bcf482 fixed logic errors in FT and proxies 2005-08-09 11:38:11 +00:00
Nikos Kouremenos 341e060a91 use is_in_path 2005-08-09 11:34:16 +00:00
Nikos Kouremenos c6166f3cc2 some last minute fixes in strings 2005-08-08 21:11:59 +00:00
Yann Leboulanger 0c64b91de4 no need to knowthe ID to know if it's our vcard 2005-08-08 13:34:48 +00:00
Yann Leboulanger ac36bbf306 presence when we get our vcard also contain our status message 2005-08-08 12:23:51 +00:00
Yann Leboulanger ce71639c4f no need to send this event 2005-08-08 07:05:00 +00:00
Yann Leboulanger a7572c4352 we not send sha of our VCARD (JEP 153) in every presences 2005-08-07 21:42:32 +00:00
Dimitur Kirov e9d28c9703 show error message on proxy timeout 2005-08-07 18:43:53 +00:00
Dimitur Kirov d313420dda mising 's' 2005-08-07 13:26:03 +00:00
Dimitur Kirov 67319b7008 fix a TB in proxy_auth 2005-08-07 13:24:21 +00:00
Dimitur Kirov f82af54d0c don;t try to refresh the cache during FT 2005-08-07 12:05:36 +00:00
Dimitur Kirov 023a8c6f4b secont hosts list don;t need proxy and fast
tags
2005-08-06 21:43:04 +00:00
Dimitur Kirov d23bb1ffee possible TB on active reply 2005-08-06 21:40:01 +00:00
Dimitur Kirov ed91010872 silly typo 2005-08-06 20:50:47 +00:00
Dimitur Kirov ccb0485717 removed partly written code 2005-08-06 20:44:04 +00:00
Dimitur Kirov e8c27c036d added proxies65_cache for faster work of FT
set file_transfers_proxy to proxy.jabber.org
2005-08-06 20:18:44 +00:00
Dimitur Kirov 650440fc1d rewritten socks5.py, added support for proxy65
connect to host don;t block, FT in both
directions if only one real ip, or proxy
2005-08-06 16:31:41 +00:00
Yann Leboulanger 5177472406 here is the OLD way to implement MOTD. It's not the JEP-133 way 2005-08-06 12:33:20 +00:00
Yann Leboulanger e05c6de71f add a debug message 2005-08-06 10:11:02 +00:00
Yann Leboulanger 37a315ac9d xml console now print everything that is sent/received 2005-08-05 23:43:28 +00:00
Yann Leboulanger 6f6d5c0dcc JEP70 support (thx nicfit !) 2005-08-05 13:29:39 +00:00
Nikos Kouremenos 53428f85ad remove a fixme 2005-08-04 23:29:41 +00:00
Yann Leboulanger d6e02e5839 typo 2005-08-04 20:33:00 +00:00
Yann Leboulanger 899396bc90 all incomming stanza are printed in xml console
need much more work (out going stanza ...)
2005-08-04 20:32:38 +00:00
Dimitur Kirov 1b1d56d4cb removed debug strings 2005-08-04 11:18:26 +00:00
Nikos Kouremenos 834f90ff5a disconnection is a heavy thing. we should always inform the user. so informing him on keepalive-related disconnection 2005-08-04 10:56:47 +00:00
Dimitur Kirov d56ba58149 added debug messages 2005-08-04 08:59:03 +00:00
Dimitur Kirov 284160c5b2 use non blocking sockets everywhere in FT 2005-08-04 07:23:14 +00:00
Dimitur Kirov 9aae8dadbb file transfer port is kept inthe config 2005-08-03 21:10:59 +00:00
Dimitur Kirov fb512e63be bind to any 2005-08-03 16:53:29 +00:00
Dimitur Kirov e7536c0679 show disconnected, when recipient rejects
transfer
2005-08-03 16:21:23 +00:00
Dimitur Kirov e9daf09fe5 send file is now functional 2005-08-03 14:04:54 +00:00
Dimitur Kirov 760453870f moved socks5 module outside xmpp 2005-08-01 22:58:14 +00:00
Nikos Kouremenos dd821ac164 use better strings (adhere to HIG, try to describe better what is going on), make code by dkirov adhere to our coding standards, fix comments and FIXME in comments 2005-08-01 22:48:58 +00:00
Dimitur Kirov 8ede65961f moved socks5queue to gajim.py 2005-08-01 22:45:29 +00:00
Yann Leboulanger 0c51e2fd09 remove unneede line 2005-08-01 20:54:26 +00:00
Dimitur Kirov 9183b73766 status message was not set in some other cases 2005-08-01 18:19:36 +00:00
Dimitur Kirov 79d2459d9f missing ':' 2005-08-01 16:17:32 +00:00
Dimitur Kirov 3c46c13d8d ':' spacing. always set a status message 2005-08-01 16:14:35 +00:00
Dimitur Kirov f4c6c41e5b not showing status in tray tooltip 2005-08-01 15:50:43 +00:00
Dimitur Kirov 0cd682f2ce file transfer progress notification 2005-08-01 15:00:27 +00:00
Dimitur Kirov 4e9942a5b1 typo 2005-07-30 15:30:38 +00:00
Dimitur Kirov 151844315a add disco info 2005-07-30 15:06:35 +00:00
Dimitur Kirov 35c8487325 file transfer don;t block GUI 2005-07-30 14:13:45 +00:00
Dimitur Kirov 46fbda6caa import socks5 from xmpp 2005-07-30 10:59:15 +00:00
Dimitur Kirov f1481ab4ff new jep-0096 handlers for FT 2005-07-30 10:19:52 +00:00
Yann Leboulanger 3ec2d68304 add missing _ 2005-07-25 07:52:04 +00:00
Nikos Kouremenos 26b5bee4d1 mark some strings for translation 2005-07-24 20:00:38 +00:00
Nikos Kouremenos 287902c9ec fix a var name 2005-07-24 19:56:47 +00:00
Yann Leboulanger a037ca8369 fix a TB 2005-07-23 11:54:01 +00:00
Nikos Kouremenos 4e31156bbd a is None is faster than a == None IIRC [it is for sure nicer :$] 2005-07-23 11:44:54 +00:00
Yann Leboulanger 3f9a52a177 we now don't log shat state 2005-07-22 20:27:24 +00:00
Yann Leboulanger 2862d63438 begin of the JEP 126 implementation, but it is disabled because it the JEP is wrong 2005-07-22 16:36:20 +00:00
Nikos Kouremenos 9fc1516522 we now have contact.chatstate ! 2005-07-22 00:34:08 +00:00
Nikos Kouremenos c851323c51 do not play sound when standalone chatstate message 2005-07-21 15:23:18 +00:00
Nikos Kouremenos 2db64d9ce8 put chatstate in the banner 2005-07-21 14:56:39 +00:00
Nikos Kouremenos 51aa52683a we can now disbale chat state via GUI [a MUST in jep] 2005-07-20 20:00:57 +00:00
Nikos Kouremenos d6c9c7cbc6 [peralta] Chat State Notifications inital patch. I assume that every wm will focus-out before iconify. If that is not the case I am going to use window-state-changed too [to be tested] 2005-07-19 14:38:58 +00:00
Yann Leboulanger 3354201313 apply patch from dkirov to prevent TB when we create a new account 2005-07-18 21:16:31 +00:00
Nikos Kouremenos 06e87eebdf fix a typo 2005-07-16 17:12:11 +00:00
Nikos Kouremenos 623fb84c91 fix string 2005-07-16 10:53:15 +00:00
Nikos Kouremenos 28b9a37333 add some if connection: 2005-07-15 20:04:02 +00:00
Yann Leboulanger 3a8a6e4d8d new_account is back !
getRegInfo can be synchronous if we want
2005-07-07 20:45:24 +00:00
Nikos Kouremenos a581b8018d small cleanup 2005-07-07 17:20:43 +00:00