Commit Graph

2654 Commits

Author SHA1 Message Date
Brendan Taylor c24041a0df moved receipt handling after XEP 0200 decryption 2008-07-14 00:25:53 +00:00
tomk cecce21c53 added hack for Openfire that doesn\'t add xmlns to child iqs of sent body stanzas 2008-07-13 23:10:11 +00:00
tomk 3d860f40a6 BOSHClient transformed to NonBlockingBOSH transport - it's easier to maintain more connections from below, implemented handling of non-persistent HTTP connections - it runs with ejabberd, improved NonBlockingTransport interface, minor changes in BOSHDispatcher 2008-07-13 22:22:58 +00:00
js 388fd7127a Not logging encrypted sessions by default is not a good idea.
We can assume the user's PC is safe, otherwise encryption won't help
anyway as the key could be stolen. If the user is too paranoid, he can
still disable it and thus also force the other end to stop logging.
2008-07-11 17:54:02 +00:00
js e67048bdfd If we receive an error PEP packet, don't treat it as incoming PEP event 2008-07-11 12:34:43 +00:00
Yann Leboulanger 4db9685849 add mrim transport icons. Fixes #4078 2008-07-10 12:18:26 +00:00
Stephan Erb c99048b02f Fix two caps related tracebacks:
Quick fix: What does not exist cannot support anything. Fixes #4031.
Fix variable referencing. Fixes #4076.
2008-07-08 19:15:54 +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
tomk e1899f34dc new BOSHDispatcher (in dispatcher_nb), improved BOSHClient class, minor changes in other xmpp modules 2008-07-07 23:04:10 +00:00
Stephan Erb eda061e15d Don't crash when we receive contacts that have a group tag assigned multiple times.
Remove some usage of has_key() in the contacts module. It is a bit slower (method overhead) and will be deprecated soon.
In roster_window. make a small if-clause more pythonic.
2008-07-06 21:35:19 +00:00
Yann Leboulanger 2f857870f3 add caps_* arguments in create_contact 2008-07-05 19:16:04 +00:00
Yann Leboulanger 4c33f4d478 typo 2008-07-05 19:08:15 +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 3ad1f9afed remove useless print 2008-07-05 18:25:39 +00:00
Yann Leboulanger 32bb251381 typo 2008-07-05 18:25:09 +00:00
Yann Leboulanger 1e636e7824 warn before connecting without PyOpenSSL. fixes #4065 2008-07-05 18:07:32 +00:00
Stephan Erb 0671e6c865 Correctly count metacontacts in non merged accounts mode if we have metacontacts over several accounts. 2008-07-05 06:33:49 +00:00
Stephan Erb 215fdc964a Count metacontacts only once.
Remove timing information for roster drawing.
2008-07-04 21:29:46 +00:00
Yann Leboulanger 2fd4ea7637 keep caps info when we create a contact instance from groupchat_contact instance 2008-07-03 21:43:28 +00:00
Yann Leboulanger f379d06d2c fix connection for ipv6 2008-07-03 06:26:39 +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 9ce8e28c0a Fix missing ). 2008-07-02 12:27:12 +00:00
js 46913c541b XEP-0184 uses the new caps-checking way now. 2008-07-02 10:48:15 +00:00
js 0405981b15 Added a function to check for specific features. This makes
implementing a later coming fallback to disco rather easy.
2008-07-02 09:20:49 +00:00
tomk 937bb01a69 moved TLS and SSL classes from transports_nb to new tls_nb module, fixed HTTP CONNECT proxy transport 2008-06-30 23:02:12 +00:00
tomk f3820706fb - Refactored non-blocking transport and client classes - getaddrinfo is called
in Client now
- Added NonBlockingHttpBOSH transport (to tranports_nb) and BOSHClient
(to client_nb)
- Extended possible proxy types in configuration by "BOSH" proxy
- Rewrote NonBlockingTLS to invoke success callback only after successful TLS handshake is over (formerly, the TLS Plugin returned right after sending <starttls>)
2008-06-30 00:02:32 +00:00
Brendan Taylor b490904454 make esession authentication warning less obtrusive 2008-06-29 04:39:29 +00:00
js 408d3b4ff6 Revert r9859 as this killed the stream.
This isn't an easy fix, we need to stop using expat in namespace aware
mode.
2008-06-29 01:40:49 +00:00
js 23cdc3fd6f Don't disconnect on unbound prefixes.
Fixes #3083. I can't believe this was unfixed for so long, as it's
really a rather easy fix.
2008-06-29 01:25:52 +00:00
Yann Leboulanger 7b5a692c3c correctly escape jids in caps 2008-06-27 15:19:00 +00:00
Yann Leboulanger db09ad11d7 entity capabilities for groupchat contacts. fixes #4033 2008-06-27 15:07:15 +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 2cd24aa8ae Do not update metacontacts when nothing has changed. Fixes sending metacontact info to server when we expand a groupchat. 2008-06-26 14:09:27 +00:00
Yann Leboulanger a62328ecd3 remove duplicate function, simplify logic 2008-06-26 11:30:13 +00:00
Yann Leboulanger 371a38c91c increase xmpppy verbosity when we use -l gajim=DEBUG 2008-06-26 10:01:12 +00:00
Yann Leboulanger 9457c28a63 don't try the old (XEP-018) way to go invisible. It's not XMPP complient. That prevent to show the we are invisible but we are not. Fixes #4012 2008-06-25 09:25:43 +00:00
Yann Leboulanger d2b5b31bde acknowledge privacy list set iqs as required by XEP-0016 2008-06-25 07:35:35 +00:00
Yann Leboulanger 16fc7508ae remove unused function 2008-06-25 07:13:42 +00:00
Yann Leboulanger d4c8cb8b15 don't think connection to server failed when only first connection attempt failed when creating a new account 2008-06-25 06:56:03 +00:00
Brendan Taylor d885e05500 don't send thread ids in message receipts unless there's a thread 2008-06-24 01:17:02 +00:00
Brendan Taylor 8b4627049b moved session negotiation handling from gajim.py to session.py 2008-06-21 19:12:47 +00:00
Yann Leboulanger ef0b115710 quick fix for private messages until we support caps for them. see #4033 2008-06-20 06:34:24 +00:00
Yann Leboulanger 3d2e97d251 when we are disconnected from server, we then try to reconnect only with the type (tls, ssl, plain) that worked first time. Fixes #3896 2008-06-19 18:05:15 +00:00
tomk 65644ca13f added stub for new transports module plus basic test for it, testing code reorganized 2008-06-18 23:58:19 +00:00
js 9c75374da4 Use the namespace variable. Sorry, forgot to change that here. 2008-06-17 18:17:30 +00:00
js abdd43e5eb Type in NS. 2008-06-17 18:13:23 +00:00
js 9634f98250 * Implemented XEP-0184 section 5.
* Added NS_RECEIPTS to protocol namespace list.
* Show our support of XEP-0184 in caps.
* Added a big, fat warning to get_contact as this does not work as
  expected.
* There was some strangeness in our XEP-0022, it added an id tag to
  the x tag, which isn't mentioned anywhere in the XEP. And for some
  strange reason, that id even was the same all the time.
* Fixed a typo.
2008-06-17 16:03:21 +00:00
Yann Leboulanger 1d745c1c9d use SSLv23 method (it support SSLv2, v3 and TLSv1) instead of only TLSv1 method as some server (gmail) don't support TLSv1 method. fixes #3786 2008-06-16 14:12:59 +00:00
Stephan Erb c5f7922e29 Two roster sort fixes.
* Change metacontact ordering. Fallback to priority only if two contacts have the same show, not the other way round.
 * Move contacts that just signed out to the bottom of the group, not to the top.
2008-06-15 23:03:51 +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
Yann Leboulanger 18d8f98f3c add "other" to all sub-activities and fix "Having an appointment" activity. Fixes #4019, #3981 2008-06-15 18:13:03 +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
Yann Leboulanger 1ebe587886 fix number of parameters to session.receives in zeroconf. Fixes #4015 2008-06-13 15:59:04 +00:00
Yann Leboulanger e807c056d3 remove Z char (meaning UTC) in received timestamp. fixes #3796 2008-06-13 15:34:55 +00:00
Brendan Taylor e4aa0de7f7 don't make submenus in the Actions menu if we've only got a zeroconf account and a normal account 2008-06-13 02:18:16 +00:00
tomk 16e274b9ec added test script for NonBlockingClient (test/test_client_nb.py) 2008-06-12 23:54:46 +00:00
Yann Leboulanger bb8df6b540 remove old comment in caps.py 2008-06-12 15:16:36 +00:00
Brendan Taylor 82b30c0791 CapsCache: made docstring match the API, fixed minor bugs, added tests 2008-06-12 03:56:47 +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
js 6fe9bee70b * Fixed a BT when receiving receipt request for offline messages.
* Fixed a BT when receiving receipt request for users not in roster.
2008-06-09 15:04:13 +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 593ed0c6d8 * Fix passing of message ID.
* Don't asnwer to receipt requests from users not in roster.
2008-06-08 15:51:55 +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 03d68c0d26 Be more specific on excepts. 2008-06-08 10:19:26 +00:00
js 8def8de5c7 Make Gajim work on OS X again.
Someone completely broke it by trying to port it to native GTK.
However, that person didn't only break it with X11 GTK, with
native GTK it wasn't working correctly either.
Fixed it by adding lots of try/except blocks. Someone definitely
deserves to be slaughtered for completely breaking it on OS X…
2008-06-07 20:42:15 +00:00
js 8fefd0ede4 Comment options. 2008-06-07 19:52:13 +00:00
js a495d090c3 Initial XEP-0184 support.
TODO:
 * Implement section 5.
 * Think of a way to show in GUI
    Possible way: Grey out the sent msg until we receive a <received/>,
    but only if we know the other end supports XEP-0184.
 * Maybe implement section 6?
2008-06-07 19:47:19 +00:00
Jean-Marie Traissard e487aa7802 Change the way to remember last message time in groupchat again. Save the time on
disconnection or exit. Previous version seemed perfect, but if server don't have the
same exact time than us (always), lots of messages can be logged twice. Here we will
lost log for messages that were sent beetween we lost connection and we see it. But that
seems better for me. For previous version, see [9516].
2008-06-05 11:18:33 +00:00
Yann Leboulanger d1762dd9a0 improve new gmail e-mail popup window. Fixes #3252 2008-06-03 14:15:57 +00:00
Brendan Taylor ccca9332c6 fix undefined 'session' variable in _messageCB 2008-06-03 01:13:30 +00:00
Brendan Taylor dc89b61d37 fix lazy session binding to reuse sessions and pick them up from pending events 2008-06-02 23:26:40 +00:00
Yann Leboulanger 8f9c097343 [Yrogirg] configurable latex formulas font size. Fixes #3986 2008-06-02 08:10:36 +00:00
Jean-Marie Traissard d927d260c2 Removing tic tac toe game. Maybe one day a full version in a plugin ? :) 2008-06-01 23:07:34 +00:00
Jean-Marie Traissard 9f613afd4f Don't traceback when refiltering during the model.clear (has a bad account name).
Fixes #3893.
2008-06-01 21:13:06 +00:00
tomk cb2d629535 added prototype of BOSHClient class and script for usage example, removed import of common.gajim from transports_nb 2008-05-31 16:51:40 +00:00
Yann Leboulanger 1a683098e9 set publish_tune False by default 2008-05-31 08:28:33 +00:00
Yann Leboulanger 533e955cf1 make pep work, move config options per account, make publish_tune configurable in account context menu. fixes #3954 2008-05-30 21:43:53 +00:00
Stephan Erb 4b6fabadd9 Don't remove contacts from roster when they have pending events.
* update documentation and fix indentation
 * don't remove offline contacts from roster when we open the last pending, non chat message event
 * store account and jid per event
2008-05-30 17:42:53 +00:00
js 37b6f7058a [Kjell Braden] Fix OTR SMP. 2008-05-29 18:42:58 +00:00
Mateusz Biliński 45fe866240 Reduced too big indentation inside first try-catch (was 2 tabs, now it's 1 tab). 2008-05-28 16:15:39 +00:00
js 6c9063b702 [Kjell Braden] Fix HTML on OTR.
@bct: When moving the OTR stuff, you would've needed to adjust the
XHTML killing part. This patch fixes it. I didn't even notice since
I have XHTML disabled globally.
2008-05-27 14:50:54 +00:00
Yann Leboulanger c127493e58 remove pep options from pref window, store them per account, store caps_hash per account. see #3954 2008-05-27 10:24:29 +00:00
Brendan Taylor e09c93621e don't send termination unless we've sent a message
fixes #3963
2008-05-26 23:53:40 +00:00
Brendan Taylor df5200b3bb try not to send session termination messages to non-XEP-0201 clients 2008-05-25 21:28:32 +00:00
Brendan Taylor f7874d29c7 reuse chat controls after session termination
fixes #3950
2008-05-23 23:27:08 +00:00
Brendan Taylor f68ffc3816 not every OTR message needs a session 2008-05-23 23:26:53 +00:00
Yann Leboulanger 21f332221e typos. see #3953 2008-05-20 14:30:19 +00:00
Yann Leboulanger 8bda3a5543 upadte all contact instances when we get a pep event for a contact. See #3953 2008-05-20 14:18:12 +00:00
Brendan Taylor 4feacc73ab moved OTR stuff from session.received to connection._messageCB
fixed lock icon when session has been terminated
2008-05-20 00:44:30 +00:00
Brendan Taylor b0aeefcbb5 flush xmpppy's send queue before disconnecting 2008-05-19 20:04:14 +00:00
Brendan Taylor 368dd9fe66 missed part of that last patch 2008-05-19 18:30:04 +00:00
Brendan Taylor f413a8a7e8 should fix zeroconf-related tb on exit 2008-05-19 18:27:45 +00:00
js 1cbe5678da * When we receive a plaintext, non-tagged message, don't append OTR
tag to outgoing messages anymore. Messages are not even passed to
  libotr anymore then.
* If we don't support OTR, strip OTR tags from the message before
  displaying it.
2008-05-19 17:41:51 +00:00
Brendan Taylor fad6d2ef7e pass session when dispatching MSGNOTSENT 2008-05-19 00:17:39 +00:00
js 8a6615a5d0 Renable OTR. I found a way no messages will get lost, but it's more
or less a workaround. We never let libotr handle unencrypted messages
now and handle notifying the user about the message not being encrypted
ourself.
2008-05-18 19:11:13 +00:00
Brendan Taylor e5fac7315e don't create sessions for pubsub and xep-0070 messages 2008-05-18 17:35:00 +00:00
Brendan Taylor 517d962221 fixed link-local messaging (broken by session-centric) and removed a ton of duplicated/unused code 2008-05-17 02:23:46 +00:00
js 75ad801f62 Fix music_track_info for multiple accounts. 2008-05-16 16:04:51 +00:00
js 96a5b497a8 * Remove old code to update status to current track.
* Don't bind the track listener when not enabled anymore.
* Remove the signal / add the signal when changed in preferences.
2008-05-15 19:52:04 +00:00
Stephan Erb d41f245370 Remove debug print. 2008-05-14 18:45:06 +00:00
Yann Leboulanger 44fc7ddd0c fix caps hash computaion according to XEP-0115. fixes #3925 2008-05-14 18:30:39 +00:00
Brendan Taylor 2552e1024f fixed dropped messages after initiating a tic-tac-toe game with a contact that doesn't support sessions 2008-05-14 02:57:29 +00:00
Brendan Taylor ade56853fe moved session.remove_events. fixes #3942 2008-05-14 00:34:02 +00:00
Brendan Taylor d511b5afc4 merged in session-centric branch, with fixes for OTR compatibility 2008-05-13 01:59:10 +00:00
js fc762157c0 * Disable OTRv1 by default.
* Don't send our JID on OTR request! It might reveal our JID in MUC!
2008-05-11 17:18:44 +00:00
js 573568f9ac Reverted r9614 and r9615.
Sorry, bct, but I think it is to early to merge that as it completely
breaks. It seems nobody in gajim@conference.gajim.org considers it
usable yet.
I don't know if you got asterix' ok for it and I'm sorry if I reverted
it now although you had his ok, but having broken trunk is very
contra-productive. I think it was just too early to merge.
2008-05-11 13:17:28 +00:00
Brendan Taylor 24203f367f fixed use of get_control 2008-05-11 01:48:10 +00:00
Brendan Taylor 2162c3730a merged in session_centric branch 2008-05-11 01:19:59 +00:00
js 4c3dc0b092 That still was the wrong place, it was initialized too early. Fixed. 2008-05-10 23:42:29 +00:00
js 91211e189d Fix DnD FT on Windows:
* Fix helpers.py so URL is decoded correctly.
* Fix code in roster_window.py so the \0 that's alway the last file
  on win32 is ignored.

This also fixes and closes #2398.
2008-05-10 23:21:28 +00:00
js e335055709 Fix broken exception handling for OTR in connection.py. 2008-05-10 22:22:09 +00:00
js 4eeb96368b Store otr_userstates at the right place and create it the right way.
This fixes the crash when creating a new account, which made Gajim
unusable on systems where it never ran before.
2008-05-10 21:29:47 +00:00
js 04725e830c Fix file transfers on win32. 2008-05-10 15:40:27 +00:00
js 64ee7c14a7 Fix a backtrace. session isn't always defined here. Fixed. 2008-05-10 14:23:55 +00:00
js 435042968e Added OTR support.
Work done by Kjell Braden <fnord@pentabarf.de>.
Some fixes done by me.
2008-05-09 12:35:25 +00:00
Yann Leboulanger 3193a8e8cf [Florob] Send and handle nicknames reveices through PEP. Fixes #3651 2008-05-05 21:55:59 +00:00
Yann Leboulanger da3e8a7328 remove a connect_failure callback when we are connected. Fixes #3914 2008-05-05 08:50:07 +00:00
Yann Leboulanger 2560f844c1 [Florob] ability to retract pubsub events. fixes #3913 2008-05-05 07:48:13 +00:00
Jean-Marie Traissard 75ffe12157 Change very bad var names 2008-05-05 03:18:09 +00:00
Jean-Marie Traissard 5689daf66b In configure room, works even if we receive an affiliation list with more than one affiliation inside.
More logical, more secure and example 90 in xep-0045 says it can happen. Deal also with affiliation 'none' (don't show it)
2008-05-05 00:38:52 +00:00
Stephan Erb f217ae91f5 Fix indentation. Please test patches before commiting... 2008-05-05 00:05:20 +00:00
Yann Leboulanger ea8af84886 [mrk] remove an old gnomekeyring workarround. Fixes #3920 2008-05-04 21:44:05 +00:00
Brendan Taylor d15b9dea6e reuse existing chat sessions and controls 2008-05-03 16:52:27 +00:00
Jean-Marie Traissard bd812b8f26 [elghinn] Specify exception we want to catch so we see if there are others
problems.
2008-05-03 01:30:05 +00:00
Brendan Taylor 99f2997d27 pm fixes 2008-05-03 00:10:17 +00:00
Brendan Taylor 20beea4b49 fixed groupchat 2008-05-02 02:32:28 +00:00
Brendan Taylor d4a766963f multiple chat session windows per contact. groupchat and pms broken. 2008-04-30 02:55:13 +00:00
Yann Leboulanger 96a50f6c07 don't depend on python2.5 Fixes #3888 2008-04-27 18:11:34 +00:00
Brendan Taylor 051bd6e1b7 fixed e2ee traceback 2008-04-26 01:52:03 +00:00
Yann Leboulanger 07a8d9d948 category is mendatory 2008-04-24 13:44:09 +00:00
Yann Leboulanger f4f38e3738 type in identities is not mendatory 2008-04-22 23:52:04 +00:00
Jean-Marie Traissard a43e6d2cfa Oops, *I* made an error in last changeset 2008-04-22 18:48:41 +00:00
Jean-Marie Traissard ea3f446d8a [elghinn] Fix logic 2008-04-22 18:43:50 +00:00
Stephan Erb fb12c17fb9 In obvious cased, don't compare boolean values to True or False. 2008-04-21 20:52:35 +00:00
Stephan Erb 92b596a698 Use startswith() instead of string slicing to check for prefixes or suffixes.
It's cleaner and less error prone, so simply use it everywhere.
2008-04-21 20:39:55 +00:00
Jean-Marie Traissard 68fdb002df Use good message time 2008-04-21 16:35:39 +00:00
Jean-Marie Traissard 94580b3019 Change the way last_history_time for room is saved. Save time in mem at each message logged. When closing
control, save the value in rooms_last_message_time table. Previous version could introduce duplicate logs or
messages not logged.
2008-04-21 15:48:06 +00:00
Yann Leboulanger f2f0c7aba0 use tuple instead of dict in __name: dict are not hashable 2008-04-21 14:44:19 +00:00
Yann Leboulanger dc48eeea96 fix static variable usage 2008-04-21 14:18:19 +00:00
Yann Leboulanger f593c5c2ac fix property definition 2008-04-21 14:16:20 +00:00
Yann Leboulanger 0527b7e0ea move __name to static attribute of CacheItem class 2008-04-21 13:16:41 +00:00
Yann Leboulanger 67bd94dd55 fix property code in caps.py 2008-04-21 12:57:34 +00:00
Jean-Marie Traissard 30f1a15efb Don't log room description at each gc connection 2008-04-21 00:00:52 +00:00
Yann Leboulanger a3827fe5d0 new XEP-0115 implementation (version 1.5) 2008-04-20 22:58:47 +00:00
Jean-Marie Traissard 0ca9610680 [elghinn] Cleaner way to check if we have gpg 2008-04-20 18:40:59 +00:00
Jean-Marie Traissard 1846cfefc6 Remove global temp vars after use 2008-04-20 15:24:34 +00:00
Stephan Erb 4e6bd4ee8f Port roster_window to gtk.TreeModelFilter.
Contacts are now online hidden when they connect/reconnect and not completely removed/readded. Should come with a great speed improvement for people with big rosters.
There are still a few known problems but non that should dalay this patch any longer. Related bugs will be tracked with 'modelfilter' keyword.

See #1201
2008-04-20 14:01:04 +00:00
Yann Leboulanger 54608822a3 always say we want to receive pep notifications even if server don't support it. 2008-04-19 22:08:40 +00:00
Yann Leboulanger 0158db6001 show better error message when sending message to a room where we are no more connected. fixes #3870 2008-04-18 18:35:53 +00:00
Yann Leboulanger ef97e91a1d put namespace name in protocol.py 2008-04-18 18:19:33 +00:00
Yann Leboulanger 041969309d add many supported features to disco#info reply. fixes #3872 2008-04-18 18:10:12 +00:00
Jean-Marie Traissard 968b2acc4f http://python.org/dev/peps/pep-0008/ " Comparisons to singletons like None should always be done with
'is' or 'is not', never the equality operators."
Comparisons to None part; second one...
roster_win.py is NOT checked here (waiting for modelfilter)
2008-04-18 00:26:07 +00:00
Jean-Marie Traissard 2ce13dc40e http://python.org/dev/peps/pep-0008/ " Comparisons to singletons like None should always be done with 'is' or 'is not', never the equality operators."
Comparisons to None part
roster_win.py is NOT checked here (waiting for modelfilter)
2008-04-18 00:02:56 +00:00
Yann Leboulanger fdf46e5430 one more typo 2008-04-16 19:52:47 +00:00
Yann Leboulanger 18c8500f9b really fix SQL query 2008-04-16 19:41:36 +00:00
Yann Leboulanger 4bfd971415 fix sql query 2008-04-16 19:22:16 +00:00
Yann Leboulanger 158231493a remove useless print 2008-04-16 14:52:43 +00:00
Jean-Marie Traissard df257baef5 Added helpers to commit in logger.py
Trying to ignore line for #3865
2008-04-16 13:46:44 +00:00
Yann Leboulanger 3aefee4700 try all IPs of a given host in case first one fails. Fixes #2958 2008-04-16 11:02:01 +00:00
Yann Leboulanger 0568a4b32b typo 2008-04-15 15:59:13 +00:00
Yann Leboulanger 1a2f60186a Don't fail on windows if bonjour is not installed. fixes #3861
socket module doesn't have AI_ADDRCONFIG attribute under windows
2008-04-15 15:58:07 +00:00
Yann Leboulanger 5348c3a37f add ACE option to configure interval between 2 idlness checks. default to 2 seconds. fixes #3004 2008-04-15 09:35:36 +00:00
Brendan Taylor 76808901eb check tic-tac-toe win conditions, slimmed down _messageCB some more 2008-04-15 05:32:45 +00:00
Jean-Marie Traissard 2c4e901b8f Fix table creation typo.
Btw thanks elghinn for idea of this table :)
2008-04-15 02:05:08 +00:00
Jean-Marie Traissard 8f84ff29f5 fix indent 2008-04-15 01:54:31 +00:00
Jean-Marie Traissard f32901d243 Create a new small table in DB to remember rooms last_history_line at next
launch. This is necessary because with a big history get_last_date_that_has_logs
can take about 5 seconds on first launch.
Created new gajim subversion.
2008-04-15 01:52:11 +00:00
Yann Leboulanger 29dd9d2576 added ipython for SVN users only. 2008-04-14 15:19:09 +00:00
Brendan Taylor b170e77cdb functioning tic-tac-toe :D 2008-04-11 03:52:45 +00:00
Yann Leboulanger b04d6aea63 correctly detect vcard error from groupchat participants (with fake jid) 2008-04-09 21:30:12 +00:00
Stephan Erb 7e6431fcea Small fixes for activity dialog. 2008-04-07 11:44:35 +00:00
Stephan Erb 855a72855d Add get_uf_* functions to make mood and activity translatable. 2008-04-07 11:14:23 +00:00
Brendan Taylor d034078c03 rearranged _messageCB and split it into multiple methods 2008-04-06 22:21:46 +00:00
Yann Leboulanger da966efaa7 use getaddrinfo to know if we should use ipv4 or v6 for zeroconf 2008-04-06 21:33:40 +00:00
Yann Leboulanger 067d9dbf2b make zeroconf work correctly on both ipv4 and ipv6. Bind on an ipv6 socket if possible. 2008-04-06 16:51:31 +00:00
Stephan Erb b991b32886 Add missing tooltip and markup in vcard window. See #1069. Make string a doc string. 2008-04-04 15:10:50 +00:00
Stephan Erb e95a9fa5ef Fix indentation. 2008-04-04 09:51:49 +00:00
Yann Leboulanger f3665cd689 don't remove metacontact when we reconnect. fixes #3771 2008-04-01 23:13:10 +00:00
Jean-Marie Traissard 75983ff571 Some "jep" -> "xep" 2008-03-30 20:35:02 +00:00
Yann Leboulanger a6e06b3bca add autoconnect_as feature to autoconnect as away or invisible 2008-03-30 11:50:59 +00:00
Yann Leboulanger 849a235263 [Nico Gulden] typo in some strings 2008-03-24 21:59:39 +00:00
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