Commit Graph

2422 Commits

Author SHA1 Message Date
Jean-Marie Traissard 11e4945158 Use appropriate function to remove a line in unread_message table. See #3793. 2008-03-24 00:45:53 +00:00
Yann Leboulanger 4e15d0f0d6 remove lines from unread_messages if messages are no more in logs table. Fixes #3793 2008-03-23 22:52:29 +00:00
Yann Leboulanger 45211c43f5 coding standards 2008-03-21 17:17:12 +00:00
Yann Leboulanger 92690da36b fix zeroconf to be ablt to use IPv6. Fixes #3683 2008-03-21 16:55:39 +00:00
Jean-Marie Traissard 88db86bb99 Make jid_is_from_pm works with not-full jid 2008-03-19 23:14:58 +00:00
Jean-Marie Traissard 624a16034e Fix small TBs about last changeset that could happen if some history were manually removed. 2008-03-19 22:01:21 +00:00
Jean-Marie Traissard f9ca40ff1b - Change the way roster.fire_up_unread_messages_events()/logger.get_unread_msgs() work, so it's
faster
- Stop adding pm chat messages received to unread messages. This is in addition to [8311], but
works also when chat win is already opened now.
- Automatically remove unread_message lines for messages older than a month, so we will clear this
table for everybody, and keep it quite clear. Specially because messages can still be blocked here
if it's from someone not in the roster and we don't open it during the session. This can be long
at first connection with this version, because we delete a lot of lines (nearly one per PMs you
received since a long time). Could also be a very little longer during one month.
2008-03-19 21:43:01 +00:00
Jean-Marie Traissard d32e1ae0ed Fix another place where database could be malformed, using Asterix work in [9390]. Fixes #3342. 2008-03-17 19:30:38 +00:00
Yann Leboulanger 0d427eff3b Warn user when database is corrupted and unreadable. Fixes #3761 2008-03-17 07:22:43 +00:00
Yann Leboulanger 323c50ec44 coding standards 2008-03-13 09:07:58 +00:00
Yann Leboulanger cc1c4457c3 don't lower jids in DB. They are already stringprep'ed. Fixes #3766 2008-03-13 09:04:43 +00:00
Yann Leboulanger 1fd13ae4fa fix call to Popen() 2008-03-10 22:11:43 +00:00
Yann Leboulanger 7f639f145d Use subprocess instead of Popen2. fixes #3369 2008-03-10 13:27:31 +00:00
Yann Leboulanger 95bf9c4f74 send xml:lang in groupchat presences and configuration request. fixes #3743 2008-03-03 23:00:01 +00:00
Yann Leboulanger cdb31a2b55 remove use_pep option, always PEP it to send played song. fixes #3053 2008-03-03 22:42:04 +00:00
Yann Leboulanger 1b90552446 ability to remove a PEP node 2008-03-02 23:56:39 +00:00
Yann Leboulanger c8b25f37a5 [shtrom] $S and $T in autoaway status message. fixes $3741 2008-02-25 14:09:47 +00:00
Yann Leboulanger 19e594f919 [Merwok] use os.pathsep to know the PATH environment separator 2008-02-17 16:01:44 +00:00
Yann Leboulanger 13541c0425 ability to configure pubsub nodes. see #3053 2008-02-15 22:55:21 +00:00
Yann Leboulanger 494ae444b6 ability to ignore SSL errors until certificate changes. Fixes #3710 2008-02-15 10:11:17 +00:00
Yann Leboulanger 7c49600135 use timeout_add_seconds instead of timeout_add (when it's available), more efficient. fixes #3734, #3736 2008-02-14 19:18:07 +00:00
Brendan Taylor c8cae71099 merged trunk 2008-02-14 02:20:07 +00:00
Jean-Marie Traissard 894e752292 Sadly, timeout_add_seconds is only availaible since gtk 2.14. It's quite recent. I have 2.10.
Reverting [9324]. Reopen #3734.
2008-02-13 18:03:29 +00:00
Yann Leboulanger ad3935d9e9 [Goedson] use timeout_add_seconds instead of timeout_add, more efficient. fixes #3734 2008-02-13 07:14:06 +00:00
Yann Leboulanger 597096ce81 don't show us online automatically when we are in error state and we try to go online 2008-02-08 22:04:42 +00:00
Yann Leboulanger 436c75a244 show in GUI that we are offline when we don't get XMPP ping in time 2008-02-08 21:48:20 +00:00
Yann Leboulanger 419652d61f correctly detect XEP-0199 answer from server. 2008-02-08 07:58:23 +00:00
Yann Leboulanger 0727ebd940 wrong syntax, missing ) 2008-02-08 07:53:09 +00:00
Yann Leboulanger a9e0ce5a0e add advanced option to configure the time we wait XMPP Ping answer 2008-02-08 07:47:35 +00:00
Yann Leboulanger 85cc4889ec use XMPP ping (XEP-0199) to detect connection lost at applicatin level. fixes #2767 2008-02-07 23:53:02 +00:00
Brendan Taylor 381ba838b9 post-refactor traceback fixing 2008-02-06 05:24:07 +00:00
Brendan Taylor 0b574d2360 move message handling into ChatControlSession 2008-02-06 01:40:51 +00:00
Yann Leboulanger e8b7778521 detect jabber:iq:last and jabber:iq:version errors by IDs. fixes #3711 2008-02-05 14:50:21 +00:00
Brendan Taylor 0b48b05218 merged trunk into session_centric branch 2008-02-05 03:09:31 +00:00
Yann Leboulanger 594313ed94 fix creation of new accounts 2008-02-04 22:17:35 +00:00
Yann Leboulanger 853d06bcaa fix args retured by on_connect_failure 2008-02-04 22:15:00 +00:00
Yann Leboulanger 848c492926 add checkbutton to YesNoDialog. Ability to fall back from tls to ssl and then plain. Warn user when using insecure connection. fixes #1923 2008-02-04 21:38:36 +00:00
Yann Leboulanger e93d287c5b [TuX] better uname call 2008-01-30 21:31:19 +00:00
Yann Leboulanger 58210daf44 arch linux file /etc/arch-release doesn't contain version number 2008-01-30 21:29:55 +00:00
Yann Leboulanger 17e7c02374 remove useless spaces and tabs 2008-01-30 11:01:08 +00:00
Yann Leboulanger 4fcddb6738 [nijel] unescape non-ascii chars in the output of GnuPG. fixes #3709 2008-01-30 07:56:02 +00:00
Yann Leboulanger 7d5602c4b1 add a new event to allow not playing sound when chat window is focused. fixes #2907 2008-01-27 20:15:17 +00:00
Yann Leboulanger 3c2a220c65 handle all PyopenSSL errors. fixes #3686 2008-01-23 19:04:35 +00:00
Stephan Erb 4bb29675a8 padlock icon in merged accounts mode: show when all connected accounts are connected securely, don't show it when one is not secured, do no care about offline accounts. 2008-01-23 16:10:28 +00:00
Jean-Marie Traissard 39fe7fc4c0 Remove saveposition. Now we always save and restore positions and sizes. See #3638. steve-e, this bug
is still opened for what you told ;)
2008-01-22 21:08:24 +00:00
Stephan Erb 55eed6bda6 Revert r9252 for now. E2E was affected and task is shifted to next releas anyway. See #3694 2008-01-20 23:24:03 +00:00
Stephan Erb 9e74881ed6 Merge xmpp.py 4.1 simplexml.py
See #3694


 * WARNING! Incompartible change! Now newtag=n.T.newtag do not creates new tag
but only returns existing one (if possible). If you need to create tag use
either .NT. method or attribute set (i.e. n.T.newtag=something).

 * Added CDATA extracting method to xml node.

 * added xmlns safety check

 * Fixed node attribute deletion with "del node[attr]" syntax.

 * Ordering fix for when addChild and addData are used on the same node (may increase memory usage, might need to watch for that)

 * Fixes for children node fetching, still not perfect, but much better
2008-01-18 20:55:18 +00:00
Stephan Erb ce3fe8da97 Do not enable GPG when we just want to assign a speller language. 2008-01-10 22:45:53 +00:00
Yann Leboulanger 68324dd104 fix XEP-0126 (invisibility) support. see #3666 2008-01-09 19:32:09 +00:00
Yann Leboulanger 62924fcf38 fix traceback when we get a presence with no fram attribute. see #3666 2008-01-09 19:05:38 +00:00
Yann Leboulanger 13b6d75588 get gajim module where it is. fixes #3661 2008-01-06 12:12:24 +00:00
Yann Leboulanger 2aef21f026 [Elmar Hoffmann] prefer contacts on the same server as you in metacontacts. fixes #3649 2008-01-06 11:12:07 +00:00
Yann Leboulanger 9a7dafa802 add advanced option to position avatar in the roster left or right. fixes #2102 2008-01-01 23:51:28 +00:00
Stephan Erb 30ad68a26c Backport some fixes to zeroconf: don't fail on special characters, don't allow gpg usage when it is not secure or even possible
Be more verbose when there is a key missmatch.

Mind that presence in zeroconf are not signed, gpg keys have to be assigned manually therefore.
2007-12-31 01:19:08 +00:00
Jean-Marie Traissard 8be83102b7 Checker tells it's better not to use == True 2007-12-30 12:44:30 +00:00
Stephan Erb d621eb9405 SSL errors got mixed up. Fixed 2007-12-30 00:10:22 +00:00
Stephan Erb 6fdd7c0f88 Rework GPG behaviour:
Only encrypt when the receiver is trusted. You have to sign its key or it has to be signed by someone you trust. Fixes #109

Make checkbox insensitive when GPG is disabled on an account (or no passphrase given).

Auto assign trusted keys on received presence. Deny encryption on missmatch of assigned key and signing key. Fixes #3376

Do not disable encrypted when receiving an unencrypted message. Print whether a received message was encrypted or not.

TODO: Remove togglebutton, its useless now
2007-12-29 23:28:27 +00:00
Jean-Marie Traissard e5ba743641 remove unused global dict. sb, is there a reason for that one I can't see ? 2007-12-28 22:08:28 +00:00
Stephan Erb fef742c863 Refactor the way we decide whether GPG is usable or not: Ability to change keys when no valid passphrase could be entered.
See #1210. Workaround for unavailable keys.

Remove useless except block: import of GnuPGInterface is the same on Debian and non Debian systems.
2007-12-28 18:49:28 +00:00
Yann Leboulanger f95df09441 how SSL error message in bold. fixes #720 2007-12-27 23:33:05 +00:00
Stephan Erb e25ac90068 Improving readability (little) by shifting some boolean checks to a lambda function. 2007-12-27 22:28:40 +00:00
Jean-Marie Traissard 14bf5ed62c pyflakes checks, remove unused imports, mainly 2007-12-27 21:52:45 +00:00
Jean-Marie Traissard 314a52708e CodingStandards : No space in indentation 2007-12-27 18:58:07 +00:00
Jean-Marie Traissard fb273aeadf Don't process roster during gpg_passphrase dialog is showed. Fixes #3634,
hopefully... :p Please test
2007-12-27 17:06:30 +00:00
Yann Leboulanger 6247de33da don't propose to add certificate to cacerts.pem file if it's useless, and don't add it if it is already in. fixes #720 2007-12-26 23:59:54 +00:00
Yann Leboulanger 5264b14290 create caps_cache table if it doesn't exists. fixes #3641 2007-12-26 21:30:45 +00:00
Yann Leboulanger f1a2f0966d use jabber iconset when no iconset exists for a transport. fixes #3604 2007-12-20 19:43:24 +00:00
Yann Leboulanger 3bc22371cc [ruiabreuferreira and I] ability to use http_proxy environment variable. fixes #2977 2007-12-19 14:42:04 +00:00
Travis Shirk 0afc7b2328 Merge one_window branch
Merged revisions 9143,9145-9155,9157-9162,9164-9169,9171-9177 via svnmerge from
svn://88.191.11.156/gajim/branches/one_window

........
  r9145 | nicfit | 2007-12-13 21:49:09 -0700 (Thu, 13 Dec 2007) | 2 lines

  Implemented the original Nikos patch with an HPaned instead of a HBox and only do this mode when one_message_window == 'always'
........
  r9152 | nicfit | 2007-12-15 13:33:56 -0700 (Sat, 15 Dec 2007) | 2 lines

  Added config and GUI for one_message_window_with_roster
........
  r9153 | nicfit | 2007-12-15 13:41:46 -0700 (Sat, 15 Dec 2007) | 2 lines

  Use one_message_window_with_roster and some whitespace cleanup
........
  r9154 | nicfit | 2007-12-15 14:04:49 -0700 (Sat, 15 Dec 2007) | 2 lines

  Scratch the chckbox for with roster mode, use one_message_window opt and combo
........
  r9155 | nicfit | 2007-12-15 17:01:13 -0700 (Sat, 15 Dec 2007) | 2 lines

  MessageWindowMgr knows about ONE_MESSAGE_WINDOW_ALWAYS_WITH_ROSTER and MessageWindow can reparent itself rather then the roster having to do so.
........
  r9157 | nicfit | 2007-12-15 17:47:20 -0700 (Sat, 15 Dec 2007) | 2 lines

  Resizing fixes and make the roster window shrink when last tab is removed
........
  r9158 | nicfit | 2007-12-15 19:15:11 -0700 (Sat, 15 Dec 2007) | 2 lines

  Added "Show roster" (CTRL+R) to view menu when using always_with_roster to quickly hide/show the roster.
........
  r9159 | nicfit | 2007-12-15 19:49:30 -0700 (Sat, 15 Dec 2007) | 2 lines

  Handle window title setting in always_with_roster mode.
........
  r9160 | nicfit | 2007-12-15 20:13:57 -0700 (Sat, 15 Dec 2007) | 2 lines

  Removed FIXME
........
  r9167 | nicfit | 2007-12-17 18:40:59 -0700 (Mon, 17 Dec 2007) | 2 lines

  When roster is hidden, show it when the number of MessageWindow controls == 0
........
  r9168 | nicfit | 2007-12-17 19:07:49 -0700 (Mon, 17 Dec 2007) | 2 lines

  Disable hiding roster when there are no message controls open
........
  r9169 | nicfit | 2007-12-17 20:41:11 -0700 (Mon, 17 Dec 2007) | 2 lines

  Bunch of saved size bugs fixed
........
2007-12-18 23:42:22 +00:00
Yann Leboulanger c53050c0a4 remove 'dh' from version name. Was from pep branch 2007-12-17 20:15:06 +00:00
Yann Leboulanger a2e53ccc5c fix creation of account on server that supports dataforms 2007-12-15 12:41:39 +00:00
Yann Leboulanger 4f4e9a3723 don't crash when dbus is not supported 2007-12-15 12:15:10 +00:00
Yann Leboulanger 14f1232308 get SSL error message where it is in Error instance 2007-12-15 12:10:25 +00:00
Yann Leboulanger b7cc062d7d [shprotx] fix loading of multiple SSL certificates and better error message. fixes #3619 2007-12-15 08:31:42 +00:00
Yann Leboulanger 554194d954 fix traceback when we get an error from pep service. see #3053 2007-12-13 20:44:30 +00:00
Yann Leboulanger 19761f081f [js & I] show pep info in account tooltip, fix a bug in create_contact() 2007-12-13 20:26:13 +00:00
Yann Leboulanger 48786d39ff correctly decode timezone name. fixes #3569 2007-12-13 08:37:20 +00:00
Yann Leboulanger d2d92e7de3 remove useless print 2007-12-12 20:05:00 +00:00
Yann Leboulanger a645006bf8 merge diff from trunk 2007-12-12 08:44:46 +00:00
Brendan Taylor b8882ba48e merged realtime cancellation patch 2007-12-08 09:09:06 +00:00
Brendan Taylor 88f017a20d realtime notification of esession begin/end 2007-12-08 05:49:38 +00:00
Yann Leboulanger 00ad2846c0 import release diff from 0.11.4, svn version is now 0.11.4.0-svn 2007-12-06 20:38:41 +00:00
Yann Leboulanger dd9fd681b5 [Elmar Hoffmann] Advanced option to disable presence signing. fixes #3601 2007-12-04 09:57:40 +00:00
Yann Leboulanger 46aac301c8 SSL certificate verification, certificate fingerprint verification. fixes #720, #2499 2007-12-04 09:38:39 +00:00
Yann Leboulanger 55385c5356 \x00 chars are not allowed in C (end of string) so in GTK. But we can get from gpg encrypted messages. 2007-12-03 21:29:12 +00:00
Yann Leboulanger 31a1f3ef6d create new account in 2 steps:
1/ connect, get form and disconnect
2/ re-connect, get form, check it and send filled form
2007-12-02 22:37:08 +00:00
Yann Leboulanger 157d6826ec [Dicson] make a string translatable. fixes #3594 2007-12-02 19:29:22 +00:00
Yann Leboulanger a861a3f719 typo: contact1 -> contact2 2007-12-02 16:02:32 +00:00
Yann Leboulanger f409450998 re-create gpg instance in connection.py at each connection son use_gpg_agent current value of use_gpg_agent option is used
warn user when he configured gajim to use gpg-agent but it returns a wrong passphrase. see #3592
2007-12-01 13:22:39 +00:00
Yann Leboulanger c94d22dcb1 correctly answer on disco#items on our ad hoc commands 2007-12-01 11:46:46 +00:00
Yann Leboulanger 75ee2169d7 fix the ability to choose GPG key before we connect
remove useless config option usegpg
2007-11-30 15:18:26 +00:00
Brendan Taylor 1cd5b3da39 fixed use of common.xmpp namespace in a place it wasn't imported 2007-11-28 19:26:40 +00:00
Stephan Erb f791def2f7 Nothing as usual. 2007-11-27 20:33:02 +00:00
Yann Leboulanger 8d7cce23f4 fix invisible status 2007-11-25 14:31:04 +00:00
Yann Leboulanger 243ece28ba fix possible traceback when we get a signed presence 2007-11-24 20:08:24 +00:00
Yann Leboulanger 4442098276 prevent traceback when we fill the roster. fixes #3579 2007-11-24 09:48:38 +00:00
Yann Leboulanger 9acde16dde fis metacontact behaviour. fixes #3464 2007-11-23 20:54:25 +00:00
Yann Leboulanger 833f58754a Compute metacontact big brother by comparing them instead of computing an absolute score for each one 2007-11-23 19:22:27 +00:00
Yann Leboulanger 5fb061478f signe -> sign 2007-11-22 14:05:05 +00:00
Yann Leboulanger 8722df168c typo again 2007-11-22 14:00:01 +00:00
Yann Leboulanger b833bd3cb7 typo 2007-11-22 13:55:50 +00:00
Yann Leboulanger 08e577c637 fix GPG behaviour 2007-11-22 13:53:12 +00:00
Yann Leboulanger d19c28930a fix missing ) 2007-11-22 11:03:45 +00:00
Yann Leboulanger 0ceb41f650 request GPG password only when connected to server, before sending presence. fixes #3483, #3375, #3115 2007-11-22 10:41:57 +00:00
Yann Leboulanger 1c7c459c5f correctly decode string returned by strftime when we get a jabber:iq:time request. fixes #3569 2007-11-21 09:49:18 +00:00
James Newton f995b3268e native gtk on osx seems to like to send file uri's like
'file://localhost/usr/bin/foo'. rip out the host and check the uri's for valid
before asking the user to send the files.
2007-11-19 15:53:16 +00:00
James Newton aa3932f147 do a better split that accounts for escaped .'s. 2007-11-19 15:47:17 +00:00
Yann Leboulanger 39a03aa369 [shtrom] ability to get last played music from lastfm. fixes #3559 2007-11-19 09:22:26 +00:00
Stefan Bethge 50fbbe9b7d fix link-local collision detection 2007-11-19 03:34:40 +00:00
Stefan Bethge 1f818a04e9 fix link-local problems when reconnecting vie network-manager 2007-11-19 03:29:10 +00:00
Yann Leboulanger 7590a57f66 optionally attach notification to systray. fixes #3123 2007-11-17 22:27:40 +00:00
James Newton f1d3f85037 Fixed a bug with forcing autodetection of browser/mail during startup when the
config file already existed and had a different option choosen. Added in an
'Always use OS/X default applications' option for when running on OS/X. Changed
the custom defaults to use OS/X native applications.
2007-11-17 15:03:02 +00:00
Yann Leboulanger 483604cd0b remove useless print 2007-11-16 18:25:45 +00:00
Yann Leboulanger a5e8adf232 detect when we get our own presences 2007-11-16 10:51:52 +00:00
Yann Leboulanger 63d0bc54ec cache incoming zeroconf connections. fixes #3561 2007-11-16 08:41:24 +00:00
Yann Leboulanger 1f7a462788 [James Newton] osx port for Gajim. a GREAT thanks!!! 2007-11-14 19:47:52 +00:00
Yann Leboulanger bdb7502dc3 don't fails gpg encryption when verbose is on. check in status-fd if encryption succeeded. fixes #3542 2007-11-13 22:40:49 +00:00
Yann Leboulanger 8a021e597f [anonymous] fix dbus type when calling message.EntryGroup.AddService. fixes #3521 2007-11-13 19:05:59 +00:00
Yann Leboulanger 7c0e70acde fix TB on gajim startup. fixes #3533 2007-11-05 22:41:12 +00:00
Yann Leboulanger c15b616ddd remove the ability to save GPG password, show in GUI use_gpg_agent optin. fixes #2791 2007-10-25 12:36:57 +00:00
Yann Leboulanger 97f4c470b5 create caps_cache if it doesn't exists (can happen if logs.db is created in 0.11.2 version). fixes #3512 2007-10-23 15:16:39 +00:00
Yann Leboulanger 605caae2b8 My name has changed 2007-10-22 11:33:50 +00:00
Yann Leboulanger 22c1aeda29 next release will be GPL v3. fixes #3290 2007-10-22 11:13:13 +00:00
Yann Leboulanger 77eab243e6 when we get a 40* error from server about private storage, it doesn't mean server doesn't support it. 2007-10-21 16:59:47 +00:00
Yann Leboulanger 7ef62a99f2 improve speed when quitting Gajim, and prevent to send twice STATUS event when we quit 2007-10-17 14:58:54 +00:00
Yann Leboulanger 025ef4f3eb [shivan] show nothing in status combobox when status is not unified for all globaly sync'ed accounts. see #3489 2007-10-14 19:08:29 +00:00
Yann Leboulanger 3db9f2ddd9 [Jonathan Schleifer] fix filetransfer. fixes #3498 2007-10-14 16:15:57 +00:00
Yann Leboulanger 314d3e8a81 [kingshivan] really cancel canceled file transfers. fixes #3366 2007-10-11 16:48:28 +00:00
Yann Leboulanger 34f04c69b7 stoped -> stopped 2007-10-10 16:19:22 +00:00
Yann Leboulanger af681cc5ba ignore resource when we get a subscription request 2007-10-09 19:52:09 +00:00
Yann Leboulanger aff3697f06 use python-sexy if available to have clickable links in chat window banner. fixes #2962 2007-10-09 17:48:22 +00:00
Brendan Taylor 3c936682dc fixed ZeroConf and gave it E2E support 2007-10-09 03:46:51 +00:00
Yann Leboulanger 0b6e432134 fix file transfer in zeroconf 2007-10-08 17:25:53 +00:00
Stephan Erb a3613e1493 Fix filetransfer in zeroconf 2007-10-07 20:58:55 +00:00
Yann Leboulanger 53d6eb93dd fix number of argument in MSG event in zeroconf part 2007-10-07 20:46:03 +00:00
Stephan Erb bfe489867f Correct spelling error 2007-10-07 19:12:54 +00:00
Yann Leboulanger ebfa1eba40 add node attribute when we reply to the adhoc command list request 2007-10-01 09:40:34 +00:00
Brendan Taylor 289fd99e8e remove old unencrypted secrets file 2007-09-29 20:51:38 +00:00
Brendan Taylor bd8ececb46 encrypted secret storage and an improved SAS verification dialog 2007-09-29 20:51:01 +00:00
Yann Leboulanger 5c80d100b7 handle - in version name. It's not taken into account for config file updates and caps. fixes #3011. svn version is not 0.11.2.0-svn 2007-09-27 21:34:00 +00:00
Yann Leboulanger 530cc9e62f [asac] support jabberdata in message elements. fixes #2225 2007-09-27 20:39:42 +00:00
Yann Leboulanger 98df9ffca2 fix typo 2007-09-26 09:40:11 +00:00
Yann Leboulanger 06507c1b03 ignore roster pushes from unknown sender. fixes #3098 2007-09-26 09:26:26 +00:00
Yann Leboulanger 96e6457c30 [torypatnoe] use our helper function to parse time. fixes #3462 2007-09-25 11:36:13 +00:00
Yann Leboulanger 91a3cc11de fix type of returns variable in get_events: it's a dict if jid is not given 2007-09-21 23:56:11 +00:00
Stephan Erb f5971eaa30 Adress some crypto functions correctly. 2007-09-20 19:58:31 +00:00
Yann Leboulanger bb7580e9fb fix get_events when no jid is given but types are given 2007-09-20 16:19:34 +00:00
Yann Leboulanger ec83801f71 <activate> tag must contain a jid according to proxy65 XEP. 2007-09-19 21:24:23 +00:00
Yann Leboulanger aba1a22aa1 handle corrcetly node with more than 1 #. fixes #3445 2007-09-18 21:09:50 +00:00
Yann Leboulanger b2e1d9181a remove useless print 2007-09-18 17:45:22 +00:00
Yann Leboulanger c2f43c84de fix typo 2007-09-18 15:45:25 +00:00
Yann Leboulanger d2b014e17a don't require pycrypto. fixes #3444 2007-09-18 12:50:22 +00:00
Brendan Taylor 9a986c2fc6 fixed imports 2007-09-16 21:56:42 +00:00
Yann Leboulanger df13453388 revert bad commit from [8817]. fixes #3443 2007-09-16 21:27:11 +00:00
Yann Leboulanger 6667eb5e29 send our local ip only once 2007-09-16 17:28:51 +00:00
Brendan Taylor 37b755ecef split common crypto operations into a separate module 2007-09-16 04:16:45 +00:00
Jean-Marie Traissard 9091496812 Do not check last log time when we join GC if we don't log 2007-09-15 13:38:55 +00:00
Jean-Marie Traissard 76b6680650 Do NOT log GC that we said we don't want to log 2007-09-15 13:05:23 +00:00
Yann Leboulanger 29cc2d0939 add key shortcut to open history and information window. fixes #3233 2007-09-15 10:11:46 +00:00
Yann Leboulanger 81c65ccac8 [steve-e] Ability to select a jid in history window. fixes #3410, #3308, #1925 2007-09-14 20:18:06 +00:00
Yann Leboulanger 4f09fea1b5 [js] Don't lookup ft_override_host_to_send. fixes #3246 2007-09-13 22:12:49 +00:00
Yann Leboulanger 8ec061f5f6 prevent the user before sending a file to a groupchat contact that doesn't know his real jid. 2007-09-12 23:12:29 +00:00
Brendan Taylor d536fc9648 oops, my last checkin was incomplete 2007-09-10 21:59:27 +00:00
Brendan Taylor abec26cdfc minor adjustments to how sessions are handled (partially fixes #3407) 2007-09-10 21:58:15 +00:00
Nikos Kouremenos 20b7d165c5 yeah nothing as usual :/ 2007-09-08 23:52:52 +00:00
Yann Leboulanger c3300fb58b make defaul roster width large enough to see the complete menu 2007-09-07 20:54:53 +00:00
Yann Leboulanger 8c5b3f3a92 process all incoming and outgoing queues even if we receive big things (a file). Fixes #3380 2007-09-03 20:54:28 +00:00
Stephan Erb 2fdeabc012 Add my copyright :-) 2007-08-31 23:19:23 +00:00
Yann Leboulanger 03235e2809 fixes large WCPU footprint under freebsd. fixes #1963 2007-08-29 15:42:37 +00:00
Brendan Taylor d5900cd384 fix determining whether a message was encrypted 2007-08-29 06:08:06 +00:00
Julien Pivotto b44b905787 [misc] Fix a coding issue. Fix #3399. 2007-08-28 19:38:42 +00:00
Yann Leboulanger 0c18512fcb fix import error 2007-08-27 13:45:57 +00:00
Yann Leboulanger 62edcc71de make python-crypto an optional dependency 2007-08-27 13:36:24 +00:00
Yann Leboulanger 08201d4648 log sent messages only once. fixes #3398 2007-08-27 08:56:54 +00:00
Yann Leboulanger 465b2f20c3 "iSocket is already connected" error has a different number under OpenBSD. fixes #3396 2007-08-26 20:45:07 +00:00
Yann Leboulanger 09388ddf1a fix missing import 2007-08-26 07:11:00 +00:00
Yann Leboulanger c9a407ca52 [Brendan Taylor] Gsoc 2007 work : end to end encryptions. Fixes #544 2007-08-25 22:42:35 +00:00
Yann Leboulanger b989617158 convert order to int 2007-08-24 13:28:39 +00:00
Yann Leboulanger 2419bd509c ability to load transport iconsets from ~/.gajim/iconsets/transports. Fixes #3390 2007-08-22 22:46:31 +00:00
Yann Leboulanger 7bd952d691 [Geobert] Smooth scrolling of conversation textview. see #3358 2007-08-22 22:08:04 +00:00
Yann Leboulanger fe0a1b9b1b redraw actions menu when zeroconf account connects. 2007-08-22 12:19:30 +00:00
Yann Leboulanger 722988f5d4 zeroconf don't support private storage 2007-08-22 11:33:37 +00:00
Yann Leboulanger 78f2c8c021 [roidelapluie, elghinn, msieurhappy, xbright and me] chat to muc convertion. see #2095 and #1408. TODO: DND 2007-08-21 23:13:03 +00:00
Yann Leboulanger ba8b8bca31 Fix TB when getting score of a not (yet) in the roster contact. fixes #3382 and #3335 2007-08-21 09:23:34 +00:00
Stephan Erb 0fca2f6323 Count observers correctly. 2007-08-20 20:31:17 +00:00
Stephan Erb c41732c6ab Commit [8446] again: WorksForMe. See #3335. 2007-08-20 19:17:32 +00:00
Brendan Taylor eb93f9a172 advertise xep-0116 support via disco 2007-08-20 19:02:58 +00:00
Brendan Taylor 88e49ffa46 don't create uneccessary sessions (eg. for groupchat messages), bugfix for pms 2007-08-20 17:33:12 +00:00
Yann Leboulanger c524ec78f1 re-read jids table from DB when another instance of Gajim added a jid in it. Fixes #3349 2007-08-20 11:13:53 +00:00
Yann Leboulanger b2ea1fe5c2 always forget password when it's wrong so it's re-asked to user. fixes #3343 2007-08-20 10:26:51 +00:00
Brendan Taylor 0230c91e4c esession bugfixes 2007-08-20 08:16:48 +00:00
Yann Leboulanger 55aa74afc7 fix history manager since configpath has changed (see [8434]). fixes #3378 2007-08-19 22:51:40 +00:00
Yann Leboulanger 176593db97 don't allow to bookmark a room on server that don't support private storage. 2007-08-19 15:32:41 +00:00
Yann Leboulanger 45046024aa default value in boolean fields is False if none is provided. 2007-08-19 10:16:08 +00:00
Brendan Taylor 9985b784d5 bugfixes, send not-acceptable for fields with only unsupported options 2007-08-18 08:59:36 +00:00
Brendan Taylor e1c4d80e65 notify on begin/end encryption 2007-08-17 17:26:05 +00:00
Brendan Taylor f93276c1a9 refactored make_identity 2007-08-17 09:02:53 +00:00
Brendan Taylor 8675731f8d refactored identity verification
public key authentication
2007-08-17 08:39:47 +00:00
Piotr Gaczkowski 55a7061ea3 Better Tune support 2007-08-10 20:18:32 +00:00
Piotr Gaczkowski 947ec8e933 PEP prefs added 2007-08-09 23:05:43 +00:00
Yann Leboulanger 8976baecb3 clear contact list when we connect. fixes #3234 2007-08-09 23:04:02 +00:00
Yann Leboulanger a18e21c476 fix new contacts API in pep 2007-08-09 15:54:16 +00:00
Yann Leboulanger ea24ee82e5 merge diff from trunk to pep branch 2007-08-09 15:39:18 +00:00
Yann Leboulanger 176a02e0f4 fix gnomekeyring.DeniedError. fixes #3300 2007-08-08 16:10:38 +00:00
Yann Leboulanger 3b52e0d73b fix TB: get room_jid var before using it 2007-08-07 12:14:54 +00:00
Brendan Taylor 4bfe14d3cf prompt with SAS during 3 message negotiation 2007-08-07 07:42:31 +00:00
Brendan Taylor 8d79d32002 three message negotiation 2007-08-07 07:21:29 +00:00
Yann Leboulanger 4c5bef7a2d remove svn:executable to zeroconf files 2007-08-06 22:21:22 +00:00
Yann Leboulanger 5350afa8e2 integrate pybonjour support to Gajim. see #2883. need a fix when sending messages 2007-08-06 21:46:51 +00:00
Yann Leboulanger 28cb6c6bb4 don't fail when there is a name conflict 2007-08-06 19:13:22 +00:00
Yann Leboulanger 987f6fe01f show room jid in error messages when unable to join it. 2007-08-06 09:59:14 +00:00
Yann Leboulanger e906a096c9 [blarz] ability to load iconsets from ~/.gajim/iconsets. fixes #3339 2007-08-05 22:57:04 +00:00
Stephan Erb 4233db9459 Revert [8446] 2007-08-01 15:01:43 +00:00
Stephan Erb 97bb683e08 * Count Metacontacts only once. Fixes #3110
* add new function: is_big_brother
2007-07-30 19:52:02 +00:00
Stephan Erb 8bbc23dfd6 * Use same height for all banners. Fixes #2770
* Show only one status line in chatwindows, indicate when it is shortened
2007-07-30 12:17:04 +00:00
Brendan Taylor 5935869136 test: 1 < d < (p -1) 2007-07-29 21:02:15 +00:00
Stefan Bethge bb7283de02 new drop in replacement for zeroconf.py, uses pybonjour
(needs integration and some fixing, but works)
see #2883
2007-07-28 11:01:21 +00:00
Yann Leboulanger c71eed99b8 set xml:lang attribute on opening XML stream. fixes #2772 2007-07-27 20:00:44 +00:00
Stefan Bethge 7dd8a27b39 fix #3186 (thanks dkirov) 2007-07-27 18:19:09 +00:00
Stefan Bethge 68f5401213 set zeroconf hostname on every connection. fix: #3117 2007-07-27 16:00:29 +00:00
Yann Leboulanger 52fdd458d7 fix typo. see #2149 2007-07-25 23:06:33 +00:00
Yann Leboulanger 3b9966960d add --config-path option so that we can specify the root folder of config files. see #2149 2007-07-25 23:04:15 +00:00
Yann Leboulanger 85158665d4 fix traceback when receiving a file 2007-07-25 23:02:55 +00:00
Yann Leboulanger 85e040e574 fix traceback when not using gnome keyring. fixes #3319 2007-07-24 08:20:06 +00:00
Yann Leboulanger 5040656f3e update password in connection instance when we modify it and we use gnome keyring. fixes #3318 2007-07-23 21:35:01 +00:00
Yann Leboulanger c131a04df8 request last_status_time and os_info to real jid if we know it. fixes #3304 2007-07-22 18:25:43 +00:00
Yann Leboulanger bca61b7400 show jid in search result with non data forms result. see #3304 2007-07-21 19:39:45 +00:00
Yann Leboulanger fb3eeb4a40 add a limit to the number of lines displayed in conversation textview. 2007-07-21 14:58:56 +00:00
Julien Pivotto 0314f23aa4 Add notification of Configuration Changes in MUC. See #3270.
http://www.xmpp.org/extensions/xep-0045.html#roomconfig-notify
2007-07-19 10:06:59 +00:00
Julien Pivotto 015ee132ae XEP-0045: Multi-User Chat
* Handle Multiple status code in MUC.
 * Warn the user if room logging is enabled (
http://www.xmpp.org/extensions/xep-0045.html#enter-logging ). Fix #3270.
2007-07-19 09:27:33 +00:00
Brendan Taylor fdef1c3d72 shared retained secrets 2007-07-17 08:08:27 +00:00
Brendan Taylor 0ae43eab4e per-profile srs storage 2007-07-17 08:08:01 +00:00
Julien Pivotto ecc54114f7 [misc] handle gnome-heyring DeniedError. Fix #3300. 2007-07-14 13:24:27 +00:00
Brendan Taylor 9d04cd0a82 a file for pickling retained secrets 2007-07-13 22:52:23 +00:00
Tomasz Melcer 4ce9d89077 caps: Real fix for [3295] -- changing separator from ' ' to '\0'. 2007-07-13 14:44:01 +00:00
Julien Pivotto 3875388496 [davux] correct a loop in logger.py. Fix #3295. 2007-07-13 13:02:42 +00:00
Julien Pivotto 5c36dd8e78 [Lukas and I] use 'event' instead of 'message' as icons names ans
states. Fix #2755.
2007-07-13 10:11:49 +00:00
Yann Leboulanger 2af509d005 reverting [8388] for the moment 2007-07-12 20:45:43 +00:00
Yann Leboulanger ec2ff7a684 compute metacontact big brother by comparing them instead of computing an absolute score for each one. fixes #2781 and #2156 2007-07-12 11:15:59 +00:00
Brendan Taylor 8af883e852 refactored and corrected identity testing, prompt user when a session is initiated by an unsubscribed jid 2007-07-12 06:25:05 +00:00
Julien Pivotto 9994643247 Added my own copyright :-P 2007-07-11 21:39:27 +00:00
Yann Leboulanger 3f5327dc6f [mrk] handle Google Apps For Your Domain. fixes #3163 2007-07-11 16:32:18 +00:00
Yann Leboulanger 53d68c9c7f copy old gtk+ theme to new default one 2007-07-11 10:09:31 +00:00
Stephan Erb 5f1eaeb312 Ability to disable message previews in notify popups. Fixes #3088 2007-07-10 21:57:56 +00:00
Brendan Taylor d32e8352d5 proper error handling 2007-07-10 05:41:43 +00:00
Tomasz Melcer 5a5ed1530c formatting errors 2007-07-09 22:41:53 +00:00
Tomasz Melcer 6c1858224e caps: data stored and retrieved 2007-07-09 21:24:47 +00:00
Yann Leboulanger 952e6d96e3 catch disk full errors. fixes #2937 2007-07-09 16:01:19 +00:00
Brendan Taylor 29c44d8a5e interface for SAS 2007-07-04 18:55:53 +00:00
Yann Leboulanger 1656ea452b rename gt+ theme to default. fixes #2794 2007-07-04 16:50:54 +00:00
Yann Leboulanger 039bf1e10e use get_contact() when we give the resource. see #3275 2007-07-04 16:33:40 +00:00
Yann Leboulanger dc2dd87a31 prevent message spoofing. Thanks Misc. Fixes #3281 2007-07-04 13:29:06 +00:00
Yann Leboulanger 8abd062365 [Lukas] split get_contact into get_contacts and get_contact. get_contact_from_full_jid uses get_contact. Maybe could be merged with optional argument, but it's clearer this way. Fixes #3275 2007-07-04 13:23:16 +00:00
Brendan Taylor 2bed6a522a fixed a traceback 2007-07-03 18:00:09 +00:00
Yann Leboulanger 33946aeeef remove useless function get_contcats_from_jid (same as get_contact). see #3275 2007-07-03 10:22:41 +00:00
Yann Leboulanger 20965b9ba5 [lukas and I] improve tooltip to show info about pending events. fixes #1971 2007-07-03 09:31:43 +00:00
Tomasz Melcer 1c0aa7ad10 Caps: caps are queried, results are stored in cache. 2007-06-30 17:31:27 +00:00
Yann Leboulanger 31f3e2f44a redo substitution when we get resource from config. fixes #3060 2007-06-30 08:40:14 +00:00
Travis Shirk 270c956db3 Handle malformed timestamps (which would cause an unhandled exception and hork the connection)
and XEP-82 (dashes in timestamps).
2007-06-29 21:21:08 +00:00
Travis Shirk 6ca2d76cba Fixed a traceback. Not sure how correct the contact=contact[0] is, but it handles the multiple return types from get_contact_from_full_jid 2007-06-29 21:19:47 +00:00
Yann Leboulanger fd03586f2c use helper function. fixes #3263 2007-06-29 16:25:05 +00:00
Brendan Taylor 6fe668d863 disable logs in encrypted sessions. 2007-06-29 04:12:08 +00:00
Brendan Taylor 4bd805cf07 new option for whether encrypted sessions should be logged by default 2007-06-28 19:15:43 +00:00
Tomasz Melcer 4c1fdb1fd8 xmpppy doesn't raise exceptions! 2007-06-28 08:14:25 +00:00
Tomasz Melcer 976cd12eef contacts.py: get_contact_from_full_jid not to raise exceptions on bare jids 2007-06-27 23:26:07 +00:00
Tomasz Melcer 6995730808 Caps: removed debug module import 2007-06-27 22:57:01 +00:00
Tomasz Melcer 744d445c55 Caps: querying caps disco node (no checking result yet) 2007-06-27 22:32:35 +00:00
Yann Leboulanger 967d050db2 call beep command instead of print '\a' <- doesn't work. fixes #909 2007-06-27 10:20:24 +00:00
Tomasz Melcer 7a399e980b Comments here and there 2007-06-27 00:51:38 +00:00
Tomasz Melcer 86798a56f0 Caps: Cache object 2007-06-27 00:51:12 +00:00
Brendan Taylor 4b53db9fe6 properly terminate sessions 2007-06-26 22:52:50 +00:00
Brendan Taylor 39bea5fd40 tidying things up. 2007-06-26 20:55:49 +00:00
Yann Leboulanger 161cdf1e49 svn version is 0.11.1.1, not 0.12 2007-06-26 11:37:01 +00:00
Stephan Erb 7be506e3f5 Compact View:
* Move checkbox to preferences. Fixes #2662
 * Merge option for muc and chat
2007-06-25 23:51:44 +00:00
Yann Leboulanger ebb5c511f3 fix TB when we close pubsub window before we get the answer from the server. see #3103 2007-06-25 16:36:57 +00:00
Yann Leboulanger 2c4f2896af don't stop Gajim when dbus is stopped. Fixes #3032 2007-06-25 16:23:21 +00:00
Yann Leboulanger abcb48d1e0 improve pubsub support. fixes #3103 2007-06-24 22:33:00 +00:00
Yann Leboulanger fc153017ec ask password to user when we try to connect to a password protected room. fixes #2890 2007-06-24 21:19:41 +00:00
Yann Leboulanger 12bb72059f ability to forward unread messages through adhoc commands. fixes #1910 2007-06-23 19:44:09 +00:00
Brendan Taylor abd773b52e can respond to an esession request 2007-06-20 20:44:33 +00:00
Brendan Taylor d1fe7b41f3 functioning XEP-0217 implementation! (initiation only) 2007-06-17 10:39:19 +00:00
Brendan Taylor 8b7b368922 support libraries for esessions 2007-06-17 10:37:59 +00:00
Julien Pivotto c92145c3b9 [misc] repare sending composing chatstates using xep instead of xep.
Fix #3241.
2007-06-16 21:31:19 +00:00
Yann Leboulanger b6eb2f94c9 minimize menuitem -> minimize on close checkbutton. see #3034 2007-06-14 17:44:24 +00:00
Stephan Erb e22007f1d1 Fix tb when closing muc with unread messages 2007-06-14 16:06:59 +00:00
Stephan Erb 5f82f1a413 Fix autocomplation for jids where username is set as nickname. Fixes #2608. 2007-06-13 21:29:03 +00:00
Yann Leboulanger d2914f642b add minimize button to manage_bookmarks window. see #3034 2007-06-13 20:24:04 +00:00
Brendan Taylor 62cf72910f functioning XEP-0200 implementation (hardcoded keys and counters) 2007-06-11 22:42:29 +00:00
Stephan Erb 867199a89f [misc] init Node in MultipleDataForm only once. Fixes #3228 2007-06-10 09:52:20 +00:00
Tomasz Melcer 93f963a1f0 Dataforms: fix a fix 2007-06-09 13:52:06 +00:00
Yann Leboulanger 7ef57b505d discover our server at startup even if we don't use filetransfert proxies. fixes #3224 2007-06-09 12:26:30 +00:00
Tomasz Melcer 964c3752cb Dataforms: DataRecord(extend=None) != DataRecord() 2007-06-09 12:21:35 +00:00
Yann Leboulanger 9f3fe8490b [Santiago Gala] IPv6 filetransfert. see #1969 2007-06-09 07:07:05 +00:00
Stephan Erb 1dd0c97838 Fix Account Creat Wizzard, let it not use a removed function. 2007-06-08 20:28:47 +00:00
Brendan Taylor 4f2cd0a0fc stubs for XEP-0116 2007-06-08 19:42:02 +00:00
Tomasz Melcer 401a9b4c02 Some comments added. 2007-06-07 22:49:47 +00:00
Yann Leboulanger 044feb0e1f Do not use xmpppy DataForm class 2007-06-06 21:40:56 +00:00
Brendan Taylor 7898686680 reverted back to per-JID windows, pass around sessions instead of thread_ids 2007-06-05 23:19:34 +00:00
Brendan Taylor 370818d982 updated session handlers 2007-06-05 22:17:34 +00:00
Brendan Taylor 17c5bf5e52 massive everything-breaking overhaul for per-session windows 2007-06-05 21:26:45 +00:00