Commit Graph

1243 Commits

Author SHA1 Message Date
Yann Leboulanger 779dcbd38b fix using change nick button in groupchats 2009-07-21 00:30:43 +02:00
Yann Leboulanger 235c4d9ab8 * ask only once at a time to change our nickname in a room in case of conflict
* add a checkbutton to use the entered nickname by default without asking anymore. Fixes #5141
2009-07-17 09:53:15 +02:00
Yann Leboulanger 15b3ba35b1 restore metacontct correctly when we connect to server and we already have contacts in roster (stored locally). Fixes #5156 2009-07-12 13:33:29 +02:00
Yann Leboulanger 278a8bc59e merge elghinn's branch (roster versioning) to trunk. Fixes #4661, #3190 2009-07-10 15:05:01 +02:00
Yann Leboulanger 002f33f2b7 do not allow several password window for one account. Fixes #5151 2009-07-09 14:52:32 +02:00
Anaël Verrier c66aee5b9d * better way to propagate roster at start 2009-07-09 14:33:18 +02:00
Anaël Verrier 4d10bdcf6f * In order to allow the viewing of the roster when we are offline (and some other cool stuffs), with and without roster versioning, now we load roster when RosterWindow is created (at gajim startup). Fixes #3190 2009-06-30 11:46:27 +02:00
Mateusz Biliński 38fa0be12a [roidelapluie] Added initial support for Roster Item Exchange (XEP-0144) based on ticket #378. Only handling NS_ROSTERX 'set' operations is supported and tested as of now. 2009-06-21 03:43:57 +02:00
Yann Leboulanger 516e880c9c fix missing import. Fixes #5092 2009-06-16 09:30:04 +02:00
Jonathan Schleifer f7014072a7 Remove all OS X-specific code from the default branch.
OS X support is still maintained in the osx_newbuildsys branch - and
only there.
2009-06-15 21:34:38 +02:00
Mateusz Biliński 19a0f91bfc Unicode characters are detected properly as part of URLs now. Fixes 4522. 2009-06-12 01:50:43 +02:00
Yann Leboulanger b6475d07e6 add ossplay to the list of tested soundplayer. Fixes #5061 2009-06-04 18:26:25 +02:00
Yann Leboulanger 798bed6838 prevent traceback when writing avatar file to HD fails. Fixes #5005 2009-05-22 19:19:23 +02:00
Yann Leboulanger 07d552b656 prevent traceback when trying to print error message in a non existing message window. Fixes #5036 2009-05-19 14:12:38 +02:00
Yann Leboulanger c15f487deb don't call gtk.gdk/threads_init() under windows. Fixes #5020 2009-05-10 20:02:46 +00:00
Yann Leboulanger ef281d8608 roster.get_status_message don't take pep_dict anymore. 2009-05-01 10:03:38 +00:00
Yann Leboulanger 5d8e96ad47 don't call gtk.main_quit() from outside of a mainloop 2009-05-01 09:37:13 +00:00
Yann Leboulanger 5b001701f0 save roster window / position when Gajim is shut down not intentionally. Fixes #4868 2009-04-29 17:40:50 +00:00
Yann Leboulanger bdc291cb04 typo 2009-04-27 19:30:54 +00:00
Yann Leboulanger 9ea2a5c677 we now depend on GTK2.12. Remove test for older versions. Fixes #4996 2009-04-27 19:28:53 +00:00
Yann Leboulanger 5419b2cb36 call gtk.gdk.threads_init() to initialise threads used when en/decrypting GPG. Fixes #4959 2009-04-25 22:10:03 +00:00
Yann Leboulanger 44e0ec913a save pep things (activity and mood) in preset status messages. 2009-04-13 21:00:33 +00:00
Yann Leboulanger 4c754a00ea add activity / mood in change status dialog. Fixes #4419 2009-04-12 18:13:37 +00:00
Yann Leboulanger d3eb181758 don't expand big brother when we get a message in a metacontact. Fixes #4867 2009-04-08 07:55:52 +00:00
Yann Leboulanger 1c336ede9f add advanced option to ask offline status on connection. Fixes #3597 2009-04-06 10:06:26 +00:00
Yann Leboulanger e749d5941f re-draw contct in roster after we get offline status. see #3597 2009-04-05 18:49:43 +00:00
Yann Leboulanger e0f0871ea6 [ken.vandine] add indicator support. Fixes #4942 2009-04-04 05:06:46 +00:00
Yann Leboulanger d2f1f20c1e don't add a self contact row when we get an offline presence from an unknown resource. Fixes #4582 2009-03-20 20:17:13 +00:00
Yann Leboulanger f1ae7fc984 do not enable zeroconf if avahi or bonjour is not available. Fixes #4891 2009-03-16 08:43:13 +00:00
Yann Leboulanger 92ee243829 close passphrases dialog when we are disconnected. Fixes #4702 2009-03-14 11:30:09 +00:00
Yann Leboulanger 5301dcd4a0 check OSError from gtkspell.py. Fixes #4897 2009-03-11 09:17:23 +00:00
Yann Leboulanger aa44b8466a [brubru] colored output of logging system. Fixes #4875 2009-03-11 09:16:07 +00:00
Yann Leboulanger 5194387338 put gajim application log file in application data/gajim folder. Fixes #4832 2009-03-01 13:12:38 +00:00
Yann Leboulanger 5834a2ae82 ability to block all contacts (from privacy list editor). Fixes #4831 2009-02-20 10:15:16 +00:00
Yann Leboulanger bf8c12ee9f ask user what to do when GPG key is not trusted. 2009-02-19 22:47:38 +00:00
Yann Leboulanger c1e6cd17b7 detect expires GPG keys. Fixes #4263 2009-02-19 20:17:05 +00:00
Yann Leboulanger 3f5a2d9017 handle nick changement in another resource. See #4826 2009-02-19 09:34:27 +00:00
Yann Leboulanger 849108b11f request connection password only when neede. No need to request it for GSSAPI or ANONYMOUS login. see #2465 2009-02-13 20:24:23 +00:00
Yann Leboulanger 95d7e157da handle (un)subscription events as messages (don't force to popup a window) Fixes #2243 2009-02-13 19:35:30 +00:00
Yann Leboulanger 01bcfe2007 [thorstenp] use ctype to have gtkspell. No need to compile it from C. Fixes #4289 2009-02-12 22:15:18 +00:00
Yann Leboulanger a1c40f9b08 unset custom status icon only when remote contact goes offline or connects. Fixes #4801 2009-02-11 20:48:41 +00:00
Yann Leboulanger 7c96178126 add XEP-202 in vcard window. Fixes #4007 2009-02-10 21:45:44 +00:00
Yann Leboulanger e0123f0c24 encrypt and decrypt GPG messages in a thread, and call a callback when it's finished (sending a message is now asyncronous). Fixes #4445 2009-02-06 19:01:36 +00:00
Yann Leboulanger 816dc776b0 fix missing var 2009-01-28 12:10:10 +00:00
Yann Leboulanger 46e2b408de add a parameter in GCMessage dbus event: highlight. Fixes #4739 2009-01-28 12:00:31 +00:00
Yann Leboulanger 8603712990 metion account name in fingerprint changed dialog. Fixes $4735 2009-01-26 18:05:04 +00:00
Yann Leboulanger e1ae6ea0fe ability to hide systray icon when there is no pending events. Fixes #4645 2009-01-25 09:19:24 +00:00
Yann Leboulanger c14c993574 really go away when we go autoaway from gnome-screensaver and autoaway time is not yet reached. Fixes #663 2009-01-23 20:30:55 +00:00
Julien Pivotto 1738247d12 better xhtml-gui code 2009-01-22 20:43:15 +00:00
Yann Leboulanger ce1880927e remove code commited by mistake 2009-01-22 18:33:36 +00:00
Yann Leboulanger 5ff6ce2ca9 don't fail when first connection fails and we try to show profile window. see #4717 2009-01-22 17:53:46 +00:00
Yann Leboulanger 66aa2b5af4 fix traceback. Fixes #4712 2009-01-21 21:30:16 +00:00
Yann Leboulanger 22239525a2 connection type in 'plain', not 'tcp' 2009-01-14 18:14:20 +00:00
Yann Leboulanger 3813f20888 don't allow to have several ssl_error / fingerprint_error / plain_connection / insecure_ssl dialog at the same time for one account. Fixes #4642 2009-01-13 19:20:12 +00:00
Stephan Erb 0f61260578 Use logic which idlequeue shall be used to idlequeue module. 2009-01-11 17:11:17 +00:00
js 92a911da9b If we don't have an interpreter for them, don't make them executable! 2009-01-11 14:47:21 +00:00
Yann Leboulanger 13e6b4e58f install gajim-history-manager to bin directory, remove shebang line in py files. Fixes #4624 2009-01-06 07:16:07 +00:00
Stephan Erb ed3de38ce5 Revert r10931. Fixes #4632. See #2634 2009-01-03 16:34:58 +00:00
Stephan Erb 28112d6681 Fix indentation error. 2008-12-31 14:04:42 +00:00
Stephan Erb 8a76efb703 Proposed Fix. Make sure we read all data from our SSL socket wrappers and don't just rely on gobject.io_add_watch, select or poll.
This isn't really a clean solution, but the less intrusives fix that I can think of. Fixes #2634.
2008-12-31 14:01:53 +00:00
Stephan Erb a8cfd83c3e Move GObjectIdleQueue from gajim.py to idlequeue.py 2008-12-24 13:44:23 +00:00
Yann Leboulanger ad7c64998a better handling of error when receiving a filetransfer without bytestream feature. Fixes #4607 2008-12-24 12:11:02 +00:00
Yann Leboulanger b317ffcdae merge BOSH branch to trunk 2008-12-15 21:06:08 +00:00
Brendan Taylor aeff9046ab a fix for autonegotiation after esessions were disabled 2008-12-13 18:10:37 +00:00
Yann Leboulanger fe908b118e don't escape gmail email notifications twice 2008-12-07 22:36:20 +00:00
Yann Leboulanger 0830a5fe73 [thorstenp] use sorted() and list comprehension 2008-12-03 22:07:44 +00:00
Yann Leboulanger 89f02b1feb [thorstenp] replace filter lambda with list comprehension 2008-12-03 22:04:42 +00:00
Yann Leboulanger e389e0b16b [thorstenp] remove whitespace at eol 2008-12-03 21:56:12 +00:00
Yann Leboulanger 088378a9b7 [thorstenp] fix reimported modules 2008-12-03 21:23:04 +00:00
Yann Leboulanger 31dc32eeb9 [thorstenp] fix redefined builtins 2008-12-03 17:16:04 +00:00
Yann Leboulanger c163e90b10 [thorstenp] fix unused variables 2008-12-02 15:53:23 +00:00
Yann Leboulanger e2118de64c [thorstenp] remove useless import 2008-12-02 14:44:26 +00:00
Stephan Erb 8d0ff396b1 Do not duplicate a contact in roster on subscription changes. Fixes #4524.
For performance reasons, get_contact_iters() cannot find a contact if get_shown_groups() returns something different to what has been applied to roster model. The contact was therefore duplicated as it was believed not to be there...
2008-11-29 23:43:23 +00:00
Yann Leboulanger df1e5ee990 better handling of sessions in zeroconf. Fixes #4529 2008-11-28 15:34:56 +00:00
Stephan Erb afd8e1819d Correctly remove Observer and NotInRoster contact in one special case. Does not affect pending bug. See #4524. 2008-11-26 21:15:15 +00:00
Yann Leboulanger a3f6b82ae5 fix docutils installation under windows. css file was not included in library.zip. Fixes #4495 2008-11-19 21:47:28 +00:00
Julien Pivotto 5a31ba2ef0 Very basic integration of xHtml GUI 2008-11-14 11:13:15 +00:00
Yann Leboulanger 0641beb5d4 fix auto away after a connection cut. Fixes #4473 2008-11-13 21:37:46 +00:00
Yann Leboulanger 5ea8598686 update groupchat contact instance when we get a pm presence 2008-11-11 22:02:32 +00:00
Yann Leboulanger 9b81b5d239 [thorstenp] delay remote control creation to speed up startup 2008-11-05 20:00:57 +00:00
Yann Leboulanger bf169f302a [thorstenp] sort emoticons with sorted function. See #4457 2008-11-05 18:31:06 +00:00
Yann Leboulanger 7cb91c8b08 fix regex compiling 2008-11-05 18:30:21 +00:00
Yann Leboulanger a86f4d4d96 [thorstenp] compile regexes on demand. See #4457 2008-11-05 18:29:24 +00:00
Yann Leboulanger 3d7ef26ddb prevent traceback when removing idle object. fixes #4391 2008-11-02 16:28:29 +00:00
Yann Leboulanger c4d27cb340 don't print missing optional modules to stderr. Fixes #4433 2008-11-02 13:33:12 +00:00
Yann Leboulanger 8f9f2bf276 fix re-joining a groupchat when control is already opened. Fixes #4425 2008-10-23 17:19:57 +00:00
Yann Leboulanger 6c41d9ecd4 show a link to wiki to restore malformed database. see #4428 2008-10-22 17:31:45 +00:00
Yann Leboulanger 06ab4a7b6d revert thorstenp patches for now. They introduce bugs. 2008-10-20 21:38:06 +00:00
Yann Leboulanger f801a50260 [thorstenp] fix unused variables 2008-10-20 21:17:48 +00:00
Yann Leboulanger c2c681e05c [thorstenp] remove useless import 2008-10-20 17:54:02 +00:00
Brendan Taylor 8757449816 fix renegotiation when a message was unable to decrypt. fixes #4360. 2008-10-11 22:37:11 +00:00
Yann Leboulanger 0b56b3c44d re-add badly removed line in [10506] 2008-10-11 10:51:26 +00:00
Yann Leboulanger 5d2790ab11 remove debuging ipython window creation. Fixes #4401 2008-10-11 10:49:52 +00:00
Yann Leboulanger 158538b81c [thorstenp] rename some var to not hide builts-in functions (list -> list_, ...) 2008-10-11 10:22:04 +00:00
Yann Leboulanger 196dd7e30a [thorstenp] use isinstance rather than type(x) == y. use sorted() 2008-10-11 09:59:52 +00:00
Yann Leboulanger 2ffad66473 [thorstenp] replace reduce instances 2008-10-11 09:49:30 +00:00
Yann Leboulanger 567f1e17c1 [thorstenp] di not use emtpy except clauses 2008-10-11 09:37:13 +00:00
Yann Leboulanger 6cc8204319 [thorstenp] replace if statement with dict.get() 2008-10-11 09:31:48 +00:00
Yann Leboulanger 9d7c80d522 [thorstenp] replace has_key by key in dict. Fixes #4392 2008-10-07 20:41:59 +00:00
js 2451cb118a Fix #4375. 2008-10-05 10:21:35 +00:00
js b4e30ff003 Apply my suggested patch from #4368. Fixes #4368. 2008-10-03 13:56:36 +00:00
js da6638d44b Better checking for which IdleQueue we use.
It's a bad idea to check against NT everywhere. Someone might just
change the creation of the IdleQueue, but forget to change the other
two places. With this, it's safe to only change the creation.
2008-10-02 19:56:00 +00:00
Yann Leboulanger 90ccd1f4b1 get_gc_control is in MessageWindowMgr class. Fixes #4357 2008-09-30 13:05:09 +00:00
Yann Leboulanger 87edbb8dd8 don't remove contact when there is pending events on another resource. Fixes #4350 2008-09-29 20:52:53 +00:00
Yann Leboulanger 140e922733 [Alex V. Myltsev] timeout_add -> timeout_add_seconds to forget GPG passphrase. 2008-09-08 11:55:51 +00:00
Yann Leboulanger aba6fc2599 correctly remove contacts (force = True when we re-add them after) 2008-09-03 07:24:42 +00:00
Stephan Erb 2a1d6edd68 Do not always force backend removal when performing a delayed remove operation. Some coding standards. 2008-09-01 20:25:50 +00:00
tomk a7c36048b9 - renamed src/common/nslookup.py to resolver.py
- refactored resolver code and added asynchronous resolver based on patch by Damien Thebault[1]
  * Uses libasyncns-python[2]. If it's not available, old nslookup resolver is used)
  * works for SRV requests only at the moment

[1] https://www.lagaule.org/pipermail/gajim-devel/2008-July/000460.html
[2] https://code.launchpad.net/libasyncns-python
2008-08-31 23:40:06 +00:00
Yann Leboulanger bcc39c4e1c ask to change nickname for a groupchat only once. Fixes #4250 2008-08-29 08:06:28 +00:00
Yann Leboulanger 358ac948b7 patch has been announce and is in gettext upstream. Debian includes it, let's remove the FIXME. Fixes #4166 2008-08-29 07:25:34 +00:00
Yann Leboulanger 1e8e0f6067 no need of GUI classes in connection_handlers.py, socks5.py and secrets.py 2008-08-27 07:53:12 +00:00
Stephan Erb f55651d905 * Don't hide manage GC Bookmark menuitem when the server doesn't support private storage
* Fix indentation problem
 * Use generators instead of list comprehension (take less memory)
2008-08-25 19:35:47 +00:00
Yann Leboulanger 6f3cca4669 [Jeff Bailes] better strings 2008-08-25 10:06:22 +00:00
js bd472ba5be Small fix for OS X. Without it, Gajim won't restart if it crashed. 2008-08-24 06:15:14 +00:00
js 8d0d85ee99 Make a string translatable. Fixes #4203. 2008-08-16 19:49:56 +00:00
Julien Pivotto de4a23e751 See #4200.
* remove js from some headers
 * set coding:utf-8 to allow real names in headers
2008-08-15 17:31:51 +00:00
Julien Pivotto b58dfd6a59 Prevent many traceback due to headers and my last commit (it's late,
sorry)
2008-08-15 03:39:27 +00:00
Julien Pivotto 8bc9bc29ae * Big headers review
* Remove some licencing problems
 * To do: same for images
 * See #4200
2008-08-15 03:20:23 +00:00
Yann Leboulanger d2669df77b fix some resource problems. see #3799 2008-08-12 08:53:09 +00:00
Yann Leboulanger cdffa94641 some coding standards 2008-08-12 08:17:02 +00:00
Yann Leboulanger 168fb471cd typo 2008-08-11 14:10:30 +00:00
Yann Leboulanger 31b3c543ec make room participants list private when continuing a conversation. Fixes #4102 2008-08-11 13:23:09 +00:00
Yann Leboulanger f18d97b97a remove unused function 2008-08-11 08:41:44 +00:00
Julien Pivotto db9440c7c3 remove testing stuff... I am distracted 2008-08-11 08:13:27 +00:00
Julien Pivotto 2733ffb3d0 Make continued conversations (chat2muc) members-only (fix #4102) 2008-08-11 08:12:11 +00:00
js 0f41f0613a Revert r10159 as this breaks it completely. It's not possible to
disable E2E if for example the logging settings differ. Makes
chatting with such contacts impossible.
2008-08-09 21:13:41 +00:00
Brendan Taylor 559a8c8b13 status change tests, hopefully fix some status change issues 2008-08-09 06:10:04 +00:00
Brendan Taylor ab70491d56 correctly decide whether to autonegotiate after a session was replaced 2008-08-08 22:55:12 +00:00
Yann Leboulanger 303c0f6a71 2 less blocking windows 2008-08-07 15:51:23 +00:00
Julien Pivotto d7c60041ea Don't print twice "ping? pong" when using /ping command in a pm. 2008-08-07 15:27:02 +00:00
tomk cbfa9d97df - TLS classes refactored - NonBlockingTLS is now plugged to NonBlockingTCP and
derived (was plugged to NonBlockingClient which made it unusable for BOSH)
- Fixed HTTP CONNECT proxy socket
- Implemented workaround for the bug with insecure-connection warning dialog
  (unfortunately, this is not over - I just forbid the transport to send
  BOSH empty bodies until auth module is plugged, which is wrong and will
  break if user will wait more than "inactivity" (usualy thirty) seconds
  before clicking the dialog.
  This workaround works with ejb and opf, and also breaks connection with
  both of them if delay is too long.
- Implemented basic TLS over BOSH. It works only with OPF and poorly.
2008-08-05 23:52:35 +00:00
Yann Leboulanger d6f20965a9 update correctly self contact when we get PEP info. fixes #4145 2008-08-04 22:44:48 +00:00
Yann Leboulanger 7eb30a1f77 fix call to get_status_message 2008-08-04 13:48:36 +00:00
Jean-Marie Traissard 94a43a03fb Update counting of online transports when a transport change status. 2008-08-03 22:21:50 +00:00
Yann Leboulanger 6bd991882b save config on quitting Gajim. see #4174 2008-08-03 21:48:30 +00:00
Yann Leboulanger aae57c2990 comment a string on which xgettext fails. see #4166 2008-08-02 07:54:28 +00:00
Yann Leboulanger 9130004249 [avm] prevent eating up the passphrase when you fail to enter it 2 times, but succeed on the 3rd. see #4164 2008-08-01 10:22:24 +00:00
Yann Leboulanger 23d9413687 fix some typo. see #4166 2008-08-01 10:01:45 +00:00
Yann Leboulanger fa2d983354 better transltion strings. see #4166 2008-08-01 09:30:36 +00:00
Yann Leboulanger 3f3e33c846 fix traceback when canceling GPG passphrase dialog 2008-07-31 20:08:36 +00:00
Yann Leboulanger 81509d894a [avm] add a PassphraseRequest class that queue GPG passphrase requests. Fixes #4164 2008-07-31 19:24:34 +00:00
Yann Leboulanger 0c662cf2fd use PassphraseDialog only asynchronously. see #4147 2008-07-31 06:14:48 +00:00
Yann Leboulanger 673052f1b8 handle disconnection while insecure connetion dialog is opened. fixes #4138 2008-07-30 15:43:53 +00:00
Yann Leboulanger d030cd8b03 prevent sending invalid XML chars in chat / groupchat and status. Fixes #3296 2008-07-30 12:21:47 +00:00
js 8605cd3f38 For historical reasons, we have a tab width of 3. This is strange, but
we have that in all files. To at least lesser the confusion a bit, add
vim tags for that.
Additionally, fix wrong #! in a few files.
2008-07-29 19:49:31 +00:00
Yann Leboulanger 676b91731d restore autoconnect_as option. Correctly use 80 char width 2008-07-29 06:42:34 +00:00
js dc8b56c9ed Some users don't want their status to be restored. Make it an option. 2008-07-28 16:36:17 +00:00
tomk af3f1a9dd4 - implemented BOSH key sequencing, acknowledgements
- improved HTTP persistent connections
- added alarm-unregister method to idlequeue
- extended proxy managing dialog for BOSH proxy
2008-07-26 22:42:40 +00:00
Brendan Taylor abbdf8d5c9 attach resource to sessions so that only the relevant sessions are terminated when a contact goes offline 2008-07-26 05:28:15 +00:00
js 11b5ce1d04 Fix restoring of multiline status messages on reconnect. 2008-07-26 01:58:30 +00:00
js 83a317c042 Renegotiate if the remote end got disconnected and now got back online. 2008-07-24 22:14:42 +00:00
js 0d9a73cde9 Always have self.contact of a chat control point to the hightest
resource if none was specified.

As it's still possible to start E2E when the only E2E-capable resource
goes offline, this means that caps is definitely broken.

(Yes, I verified it with a print contact.resource - it IS checked for
the right contact!)
2008-07-23 18:21:02 +00:00
js 6bfdebf347 Fix #4069. 2008-07-23 17:40:02 +00:00
js 65d5d92087 * End ESession when remote signs off.
* Fix typo.
* Better code in conversation_textview.py.

@bct: Your diff didn't work, I had to move it + add an if. Seems to
work now.
2008-07-22 14:32:37 +00:00
js 229006a28e Coding style. 2008-07-22 14:13:37 +00:00
Stephan Erb 1b2e12057c Some cleanups and an attempt to fix the MUC highlight problem. 2008-07-21 21:44:40 +00:00
js 327673cdd7 bct, could you please test what you commit? I was just flooded by TBs,
had to kill Gajim.
2008-07-21 14:36:45 +00:00
Brendan Taylor a3d0166f1d wrong method name when restarting e2e 2008-07-20 15:06:15 +00:00
js 8c49e10f93 It's bad to silently drop errors when not running it from the SVN repo.
On Windows, it's even worse: When something throws a TB, the user won't
notice before Gajim is terminated (a dialog will show then that
gajim.exe.log was created, nothing more!)
2008-07-20 14:53:34 +00:00
js cdbdaa52f3 Fix #4113. 2008-07-20 13:48:50 +00:00
Stephan Erb d83f9da555 Improved groupchat minimization:
* partly rewrote join_room because it was hard to read
 * Correctly handle invites from anonymous rooms. Fixes #4057
 * Use HIG dialog for invitation requests
 * Fix bug where minimized groupchats where hidden after a reconnect
 * Removed some duplicated code
2008-07-19 17:36:21 +00:00
Brendan Taylor 8e9b2d1781 automatically restart esession when we can't decrypt a message 2008-07-18 23:33:59 +00:00
Brendan Taylor 010afb1176 disconnect session from chat window only when the highest remote contact changes 2008-07-18 22:42:28 +00:00
tomk a58618c843 persistent HTTP connections in BOSH roughly implemented, added hack for openfire incapability of after-SASL-stream-restart-response in BOSH, changed doubles quotes to single 2008-07-18 00:34:49 +00:00
js 1fabaa8844 Keep last status on autoconnect. 2008-07-16 15:50:51 +00:00
js d1c60a07e5 This should fix #4098. However, I'll let that bug open until I'm
very very sure and gave that a few days of testing.
2008-07-16 02:37:57 +00:00
Brendan Taylor a6dfa86ad0 show warning dialog when receiving an unencryptable message 2008-07-15 03:16:58 +00:00
Brendan Taylor d541b42236 fix clicking notification when someone logs in 2008-07-14 23:21:08 +00:00
Brendan Taylor 9d98117f21 make GPG passphrase dialog nonmodal, fixes #3975 2008-07-14 05:01:22 +00:00
Yann Leboulanger b933e6cef0 detect sound player on first start as soon as gajim is started, not first time we open preferences window. Fixes #3566 2008-07-11 06:29:40 +00:00
Stephan Erb fca6bdbbc4 [Florob] Improved URL matching.
We don't match all valid URIs like blub:blaa but include common used (non)-urls like www.google.de
2008-07-08 18:49:51 +00:00
Stephan Erb 0bb1f1d656 Correctly readd a metacontact family after removing a single brother.
* Coding standards
* remove useless key-list creation
2008-07-06 22:24:58 +00:00
Yann Leboulanger 74c53da32a fix arguments order in contacts.py, some coding standards. should fix #4081 2008-07-05 19:04:27 +00:00
Yann Leboulanger 1e636e7824 warn before connecting without PyOpenSSL. fixes #4065 2008-07-05 18:07:32 +00:00
Brendan Taylor 17844361bb sesison-related TB fixes 2008-07-03 23:19:44 +00:00
tomk 952e4a1569 moved bosh code from client_nb.py to bosh.py, replaced debug logging with debug.py by logging in whole xmpppy (debug.py is now unused) 2008-07-02 23:29:10 +00:00
js 6b3414552a Leopard's X11 is started automagically - we don't need this anymore. 2008-06-28 23:05:14 +00:00
Yann Leboulanger db3ddc71ff prevent TB when reading pending events. Fixes #4035 2008-06-27 15:56:09 +00:00
Jean-Marie Traissard a9877f14dd [erlehmann] Fixed regular URL matching expressions for "-". 2008-06-27 10:50:09 +00:00
Brendan Taylor 5a772a046c teeny-tiny fix 2008-06-26 23:37:24 +00:00
Brendan Taylor b21a1e2489 win.get_controls() isn't needed anymore 2008-06-26 23:37:12 +00:00
Brendan Taylor e3613be1fa first pass at stripping out the one-tab-per-session code 2008-06-26 23:36:58 +00:00
Stephan Erb 59b9e86fbb [erlehmann] Improved regular URL matching expressions. Fixes #3715.
URLs like (http://myFoobar.org) and http://en.wikipedia.org/wiki/Mornington_Crescent_(game) are now correctly detected.
2008-06-26 22:24:27 +00:00
Brendan Taylor d6be46be84 hopefully fix some has_window bugs 2008-06-21 19:12:58 +00:00
Brendan Taylor 8b4627049b moved session negotiation handling from gajim.py to session.py 2008-06-21 19:12:47 +00:00
Brendan Taylor 7721abb2b1 fix handle_event() for pms and new_chat_from_jid() for existing chat controls 2008-06-18 04:11:11 +00:00
Stephan Erb b1f13ca040 Remove Non-ASCII character. 2008-06-17 19:27:32 +00:00
Stephan Erb 473e2cdbd8 Handle remote roster changes.
* Don't traceback when another resource of us is moving contacts to new/different groups.
 * Always refilter all involved groups.
 * It is now possible to not update contacts severside when using add/remove_from_groups
2008-06-17 19:25:17 +00:00
Yann Leboulanger 5e5733e40a fix traceback when no control is opened. fixes #4024, #4028 2008-06-17 05:39:20 +00:00
Brendan Taylor 16c7dfca91 fix undefined variables in handle_event() 2008-06-17 03:27:54 +00:00
Jean-Marie Traissard ca457a7ac2 groups :
-Use a method to get_shown_groups (possibly more work to do (special group attribute))
-Show contact only if contact.ask, not according to modified xep 0162 logic. (I don't get neither the xep
meaning, neither this modified logic, can you explain steve-e ?)
-Remove contact before we modify it req_sub(). Else we can't remove it because iter is not found.
-When removing a contact and we let him in see us (observer), manually set show to offline, so he is not set as
visible.
-Remove observer from observer group if we asked him auth (I mean before he answer). Xep 0162 say he is not an
observer then. Fix contact staying in observer group when we get auth later.
-Renaming groups seems fixed (it's an accident :p )

More work on group to follow
2008-06-15 21:48:13 +00:00
Brendan Taylor 2b074aed41 pass the ChatControl around with printed_chat events 2008-06-14 16:49:48 +00:00
Brendan Taylor 964cb10163 hopefully fix the last of the get_control calls (fixes #4018) 2008-06-14 08:43:20 +00:00
Stephan Erb d5bbc403c9 Various roster fixes.
* don't traceback when selfcontact is disconnecting
 * make more use of "remove contact after last event removed" mechanism
 * correctly redraw bigbrothers after status change
 * handle situation where we receive a message, go offline without reading it and reconnect after another resource has moved the sending contact to another group.

know bugs: newly added transports added to "not in roster group"
2008-06-10 21:18:55 +00:00
Brendan Taylor 399233f293 detach sessions from controls when the highest priority contact changes.
this way we don't get multiple tabs when the remote user moves to another resource.
2008-06-10 02:58:17 +00:00
tomk 6a15c9b9c9 initial cleanup of xmpppy perfomed, see #3260 2008-06-09 00:32:02 +00:00
Jean-Marie Traissard f9c981df5d -Set General and Observer group directly in contact instance, instead of calculating it each time
-When creating self-contact contact instance, store it with group 'self_contact', so it never goes in General
-Make general group not be seen visible because of self contact even if self.regroup
-Remove the self contact instance itself too when WE deconnect or when IT deconnect, so we will
not see it as offline if refilling roster (regroup account for example)
2008-06-08 21:27:31 +00:00
js c2eb4b5a9f Completely remove OTR.
Sorry, it just wasn't maintainable. The problem is the current libotr
API. I'm sick of working around the strange libotr API, sick of getting
HTML messages, sick of losing messages. The final argument for
completely removing it was that we can't get the message ID of a sent
msg anymore - which we need. I tried to work around this as well, but
there seems to be no way to wait for a signal in glib the way I would
need it for the workaround (I wanted to emit a signal in inject_message
and then wait for it after the call to otr_message_fragment_and_send
so the signal can pass us the message id). And the last reason is that
we're heading towards a new release and thus want to stabilize the code,
thus don't have time to work around even more libotr API strangeness.
I will give feedback to the libotr developers, who are currently
planning a new API, so that we can hopefully see OTR support once again
as soon as libotr4 is released.

Kjell already announced that he will continue his branch:
https://code.launchpad.net/~afflux/gajim/otr

I really hope the libotr devs will provide a sane API with libotr4 so
we can integrate OTR support again.

Oh, and I added one more try/except block for OS X.
2008-06-08 15:27:05 +00:00
js 1eeee2d531 We really need a way to start X11 without an xterm on OS X. Any idea? 2008-06-08 10:29:06 +00:00
js 03d68c0d26 Be more specific on excepts. 2008-06-08 10:19:26 +00:00