Anaël Verrier
6c56dd173b
* now there is no more sparkling when we update the RosterWindow with the roster received from the server (when server does not handle roster versioning or when it resends the whole roster)
2009-06-30 17:06:17 +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
Yann Leboulanger
77c5a8d36d
finish previous commit, and change to a more generic name
2009-06-29 23:10:30 +02:00
Jonathan Schleifer
45fbcfaa01
Change the -svn suffix to -hg.
2009-06-29 23:02:03 +02:00
Anaël Verrier
5e4fb8fddb
* in order to permit roster loading at gajim startup we need to save all roster pushs (even if it's not for versioning)
2009-06-29 15:49:46 +02:00
Yann Leboulanger
c739465890
ignore <iq> without an ID. They are required by RFC. Fixes #5122
2009-06-29 07:57:10 +02:00
Anaël Verrier
ff2be61483
* clean roster tables when we remove an account
2009-06-28 20:43:18 +02:00
Anaël Verrier
b3fbd59866
* added 'ask' support
...
* fixed a bug (when a contact does not have a name)
2009-06-27 20:54:49 +02:00
Anaël Verrier
d347b79c38
* added a method to load roster from DB
...
* now we load roster from DB when we receive an iq result for the roster without any query
* added a "force" argument to NonBlockingRoster.getRoster(), to force the return of the instance
2009-06-27 17:56:04 +02:00
Yann Leboulanger
fda322706b
[Spike411] Facebook iconset for Gajim. A great thanks to Jakub Szypulka for is iconset: http://cubestuff.wordpress.com/2008/05/21/facebook-goes-tango/
2009-06-27 09:50:50 +02:00
Yann Leboulanger
f2e214a033
use helper function
2009-06-23 22:24:39 +02:00
Anaël Verrier
0a3d26e5d4
* added another table to handle roster group
...
* we now handle roster push and roster reception
* changed version number in src/common/defs.py
2009-06-23 19:29:25 +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
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
Jonathan Schleifer
086d031374
Remove spaces at EOL.
2009-06-15 21:00:14 +02:00
Yann Leboulanger
2327600745
import xmpp only when needed in helpers.py so decode_string is loaded before. see #4764
2009-06-15 09:12:32 +02:00
Anaël Verrier
9133960fbc
* added one table in logs.db to save roster
...
* added "roster_version" in configuration to save roster version for the account
* added "ver" attribute when gajim requests the roster
2009-06-02 22:48:32 +02:00
Yann Leboulanger
5a72c9b3ac
fix disconnection of client_zeroconf. Fixes #5049
2009-05-29 08:59:08 +02:00
Yann Leboulanger
8a70c5a679
no need of IF NOT EXISTS when creating the database
2009-05-27 09:50:12 +02:00
Yann Leboulanger
05e63acc22
clean gpg call when we list keys. Fixes #5043
2009-05-22 19:44:43 +02:00
Yann Leboulanger
731c8f691f
prevent traceback when receiving a disco info while we are disconnected. Fixes #5042
2009-05-21 21:12:11 +02:00
Yann Leboulanger
ffd82a69a4
prevent traceback when we receive a presence but we are no more connected. Fixes #5028
2009-05-20 10:33:19 +02:00
Yann Leboulanger
c48f4c409f
prevent traceback when negociating E2E. see #5015
2009-05-17 17:59:00 +02:00
Yann Leboulanger
6672075683
prevent traceback when receiving wrong E2E negotiation stanza. Fixes #5015
2009-05-11 11:48:32 +00:00
Yann Leboulanger
fd01f7aa4d
[brubru] better sound file managment, Fixes #5016
2009-05-10 19:32:57 +00:00
Yann Leboulanger
23c6c708cd
except: -> except Exception:
2009-05-07 11:30:46 +00:00
Yann Leboulanger
d71e82921e
fix an unhandled traceback under windows
2009-05-07 11:18:48 +00:00
Yann Leboulanger
f8267ad047
missing commit. see #4643
2009-05-01 09:40:03 +00:00
Yann Leboulanger
e6aea43665
When saving last_status_msg_*, save also pep info
2009-05-01 09:33:50 +00:00
Yann Leboulanger
8182363b76
missing options for ping alive. see #4643
2009-05-01 09:20:26 +00:00
Yann Leboulanger
a7f0022bb4
Add a second timeout to differenciate keepalive and ping alive packets. We now wait 55s before sending a keepalive (whitespace packet) and 2 minutes before sendind a xmpp ping (and then we wait for 1min the answer before reconnecting) Fixes #4643
2009-05-01 09:18:21 +00:00
Yann Leboulanger
38b4e54011
ignore invalid presences
2009-04-30 15:20:37 +00:00
Yann Leboulanger
e4029dddd6
prevent traceback when identifying stream error. Fixes #4946
2009-04-30 08:32:32 +00:00
Yann Leboulanger
1a8def3341
prevent traceback when we get a presence from an invalid JID
2009-04-29 17:34:27 +00:00
Yann Leboulanger
533e36c22c
close filtransfers when we get an offline presence, but only for this resource. Fixes #4980
2009-04-29 07:46:24 +00:00
Yann Leboulanger
52be3170c7
reorder import in common helpers. Fixes #4764
2009-04-27 11:27:42 +00:00
Yann Leboulanger
665016ccc0
don't overwrite stanza ID in zeroconf so that we reply with correct ID to requests. Thanks Mattj
2009-04-25 16:29:49 +00:00
Yann Leboulanger
6ce94752d4
add a pubsub_supported variable in connection
2009-04-22 14:24:04 +00:00
Yann Leboulanger
8ccba78a15
[tpatnoe] don't add a to attribut to roster pushes if we don't get a from. Fixes #4978
2009-04-22 08:39:10 +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
84b65054b1
[premysl.vyhnal] optimize get_days_with_logs(). Fixes #4964
2009-04-13 09:05:22 +00:00
Yann Leboulanger
4c754a00ea
add activity / mood in change status dialog. Fixes #4419
2009-04-12 18:13:37 +00:00
Yann Leboulanger
f24b92cfc5
missing option to save if we want the warning when closing message windows with several tabs
2009-04-08 16:43:34 +00:00
Yann Leboulanger
dc69e49db6
don't send NS_MUX <x> element when we change nickname in room
2009-04-08 16:38:28 +00:00
Yann Leboulanger
d37d1e973f
remove latest \n in bosh received messages (one is added when we send)
2009-04-07 17:12:35 +00:00
Yann Leboulanger
8514e51675
factorize send_file action in chat / groupchat / private chat. see #3948
2009-04-07 17:07:04 +00:00
Yann Leboulanger
a6f62ac7c6
ignore port in bosh URL, it's entered separetly. Take into account proxy username when using bosh
2009-04-06 14:05:07 +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
e0f0871ea6
[ken.vandine] add indicator support. Fixes #4942
2009-04-04 05:06:46 +00:00
Yann Leboulanger
9bc7c4aa95
add missing var to connection_zeroconf.py
2009-03-25 06:56:39 +00:00
Yann Leboulanger
5e44243758
fix traceback with kerberos GSSError handling.
2009-03-20 20:02:05 +00:00
Yann Leboulanger
c7c5d0f66d
don't fail when we get a wrong time format when requesting contact time
2009-03-18 11:04:25 +00:00
Yann Leboulanger
9d307570df
missing )
2009-03-18 11:03:16 +00:00
Yann Leboulanger
346dbc04b2
handle GSSError exceptions. Fixes #4913
2009-03-18 09:14:10 +00:00
Yann Leboulanger
9900698dc5
typo. Fixes #4912
2009-03-18 07:10:18 +00:00
Yann Leboulanger
cfd0b4835a
prevent traceback when password is not entered. Fixes #4912
2009-03-17 19:35:52 +00:00
Yann Leboulanger
9b5c8db2ce
prevent Traceback when server replies badly to resource binding request. Fixes #4880
2009-03-16 09:54:57 +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
dccf065418
better way to add http://. see #4857
2009-03-11 19:12:56 +00:00
Yann Leboulanger
1dd6ee0390
[Florob] add http:// to URLs before giving them to gnome-open. Fixes #4857
2009-03-11 17:48:34 +00:00
Yann Leboulanger
8fccef98c7
add missing file. Fixes #4898 , #4874
2009-03-11 17:00:28 +00:00
Yann Leboulanger
cbef579dd8
decode error message returnd by GPG. Fixes #4893
2009-03-11 09:57:24 +00:00
Yann Leboulanger
93fd47256d
[brubru] fallback to field 's identifier (var) when there is no Human-readable name (label). Fixes #4894
2009-03-11 09:47:16 +00:00
Yann Leboulanger
aa44b8466a
[brubru] colored output of logging system. Fixes #4875
2009-03-11 09:16:07 +00:00
Yann Leboulanger
596327860c
[Sergiy Yegorov] typo
2009-03-01 13:49:11 +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
0724a4ffea
show Error Dialog with full error message instead of popup when Stream Error arrives. see #4660
2009-02-19 14:46:54 +00:00
Yann Leboulanger
16fa30a1e7
handle stream error and show message to user. Fixes #4660 , #4823
2009-02-19 13:18:23 +00:00
Yann Leboulanger
9a6913053d
acknowledge roster pushes. Fixes #4826
2009-02-19 09:52:23 +00:00
Yann Leboulanger
a2b534c040
really fix dispatcher to support several waiting stanza at the same time. Fix #4299
2009-02-15 14:13:21 +00:00
Yann Leboulanger
f443673bfd
allow to wait for more than one answer at the same time with SendAndCallForResponse. Fixes #4299
2009-02-15 13:17:33 +00:00
Yann Leboulanger
3d23320697
[Petr Menšík] correct 2 typos
2009-02-15 09:28:56 +00:00
Yann Leboulanger
49d32e84f6
ignore wrong answer to XEP-202 (entity time) requests (Adium don't reply correctly). Fixes #4816
2009-02-14 18:56:17 +00:00
Yann Leboulanger
4ec93e6ea7
re-enable proxy testing. see #4299
2009-02-14 16:41:31 +00:00
Yann Leboulanger
531ab92651
don't log as error, but as info, connection lost. Fixes #4800
2009-02-13 22:37:51 +00:00
Yann Leboulanger
cba0ae51cf
fix traceback when connecting with PLAIN. Fixes #4815
2009-02-13 22:20:13 +00:00
Yann Leboulanger
521239377b
option to disable sound when we are busy. Fixes #2256
2009-02-13 21:14:50 +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
0cf86f5a8f
[Dicson] Fix meta contact order by DND. Fixes #4797 , #4779
2009-02-11 17:55:00 +00:00
Yann Leboulanger
200069062e
fix localetime() call. Fixes #4798
2009-02-11 10:58:57 +00:00
Yann Leboulanger
ba9836af65
[brubru] Load LOCALEDIR from configure (with defs.py). see #4770
2009-02-11 10:46:07 +00:00
Yann Leboulanger
626b080457
fix sending correct time with DST / non-DST time
2009-02-10 22:25:04 +00:00
Yann Leboulanger
7c96178126
add XEP-202 in vcard window. Fixes #4007
2009-02-10 21:45:44 +00:00
Yann Leboulanger
6f951d20d0
remove useless code
2009-02-08 22:37:39 +00:00
Yann Leboulanger
e49c64a452
reorder functions in common/helpers.py. Fixes #4764 . Thanks Vardo!
2009-02-08 13:47:28 +00:00
Yann Leboulanger
baa208d0b6
remove duplicate code. Fixes #4790
2009-02-08 10:21:50 +00:00
Yann Leboulanger
26d8624377
[Zod] convert GPG decrypted string to unicode. Fixes #4788
2009-02-08 09:56:38 +00:00
Yann Leboulanger
a4f9764f21
stanza sent at startup now start with Gajim_ instead of p. Fixes #4774
2009-02-07 12:47:13 +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
f4101fbb8b
fix traceback with atom pubsub. Fixes #4763
2009-02-02 06:43:19 +00:00
Yann Leboulanger
25f0ee832f
[knuckles] KDE notifications. Fixes #4749
2009-02-01 10:28:48 +00:00
Yann Leboulanger
0a8100df4a
[raa.lkml] disable photo viewer in GnuPG when verifying keys. Fixes #4760
2009-02-01 09:15:07 +00:00
Yann Leboulanger
ac05e57aa7
fix decode error in latex errors. Fixes #4744
2009-01-30 09:09:54 +00:00
Yann Leboulanger
5e2c8da594
new show_only_active_contact option. Fixes #3497
2009-01-30 07:53:26 +00:00
Yann Leboulanger
ffb52eb626
[Dicson] option have moved per account. Fixes #4748
2009-01-29 20:16:34 +00:00
Yann Leboulanger
0e452e55b9
fix missing commit. see [11033]
2009-01-28 13:16:45 +00:00
Yann Leboulanger
086232adaa
fixed fields in dataforms don't have multiple <value/> elements. see #3200
2009-01-28 07:54:22 +00:00
Yann Leboulanger
6d9ea872e8
coding standards
2009-01-28 07:47:38 +00:00
Yann Leboulanger
f11c1b226a
allow ignore_unknown_contacts, send_os_info and log_encrypted_sessions to be set per_account in ACE. Fixes #4730
2009-01-27 08:48:17 +00:00
Yann Leboulanger
2dec19d34f
test if dbus0x11 is installed before using dbus. Fixes #4715
2009-01-26 16:15:05 +00:00
Yann Leboulanger
2804251df6
infor user about success or failure of registration with an agent. Fixes #3474
2009-01-26 10:27:46 +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
8b61a2050f
don't fail when there is an unreadable certificate file.
2009-01-24 12:45:57 +00:00
Yann Leboulanger
26ed4433b4
prevent in GUI when login / password is wrong, even if there is an unknown mechnism. see #4672
2009-01-23 17:27:21 +00:00
Yann Leboulanger
ea881946f4
don't fail when we fail to open a certificate file. Fixes #4722
2009-01-23 09:24:17 +00:00
Yann Leboulanger
674924889f
some server require SSLv2. Fixes #4672
2009-01-22 20:39:31 +00:00
Yann Leboulanger
109c9d1004
don't traceback when there is no temp folder. Fixes #4629
2009-01-21 07:14:03 +00:00
Yann Leboulanger
49925786c2
store passwords in gnome keyring in another way. silently upgrade to the new way
2009-01-20 21:24:22 +00:00
Yann Leboulanger
cd9c041585
don't fail when stream version < 1.0. Fixes #4600
2009-01-20 09:07:41 +00:00
Yann Leboulanger
68550b731b
[gjc] use correct API to get password from gnome-keyring. Fixes #3631
2009-01-19 22:19:43 +00:00
Yann Leboulanger
9d6312d198
[shtein] save maximized state window. Fixes #4630
2009-01-17 13:50:15 +00:00
Yann Leboulanger
48d4199237
[dwd] re-enable TLS. Fixes #4674
2009-01-17 12:43:13 +00:00
Yann Leboulanger
e629ceb637
don't allow to send xhtml when gpg is active (because this part is not encrypted). Fixes #4650
2009-01-16 15:01:36 +00:00
Yann Leboulanger
77b5c85f18
load certificates from /etc/ssl/certs too. Fixes #4633
2009-01-15 17:54:28 +00:00
Yann Leboulanger
dc7d34e471
fix previous commit: missing import and typo
2009-01-14 17:27:53 +00:00
Yann Leboulanger
6b2a816143
reapply patch for nslookup 9.6 that was remove with bosh merge. Fixes #4677
2009-01-14 17:24:07 +00:00
Yann Leboulanger
9b2382cd0e
[dwd] better way to encode using base64. Fixes #4568
2009-01-14 08:51:07 +00:00
Yann Leboulanger
5575502c0b
save certificate fingerprint when we don't have it.
2009-01-13 19:24:09 +00:00
Stephan Erb
593c23ebc8
Cosmetic only... as usaual: stanza_session.py. TODO: better variable names
2009-01-11 22:29:58 +00:00
Stephan Erb
d23aa630ba
ID will be autogenerated (like from): Done by dispatcher as it wraps transports send, when plugged into NonBlockingClient.
2009-01-11 21:00:58 +00:00
Stephan Erb
541167aa3e
Move IdleCommand from resolver.py to idlequeue.py
2009-01-11 17:54:41 +00:00
Stephan Erb
0f61260578
Use logic which idlequeue shall be used to idlequeue module.
2009-01-11 17:11:17 +00:00
Stephan Erb
f8e6635edf
Remove some (now) useless returns that where added because of a broken commit of mine...
2009-01-11 17:10:41 +00:00
tomk
2b0ef67c55
fixes #4657 - traceback on terminating stanza after BOSH init request
2009-01-11 15:12:28 +00:00
Stephan Erb
8a19e11bee
Add some FIXME statements due to open questions. Improve a two default parameters.
2009-01-11 13:42:39 +00:00
js
6ede969f5f
Fix missing returns, so we don't run into that assert.
2009-01-10 22:46:26 +00:00
Yann Leboulanger
15ab37043e
remove duplicated STATUS_LIST variable
2009-01-10 16:45:52 +00:00
Stephan Erb
c8dc8cd758
Fix a potential traceback in onreceive() of NonBlockingTransport. A few more codingstandards
2009-01-10 16:44:11 +00:00
Yann Leboulanger
6080bea672
abilty to do some exceptions to invisible rule (to send custom status). Fixes #4631
2009-01-10 16:37:57 +00:00
Brendan Taylor
d9277816c7
log latex output instead of dumping it straight to stdout
2009-01-09 21:27:01 +00:00
Brendan Taylor
898bc7c347
gave latex processing its own file, merged duplicate processing and
...
detection code
2009-01-09 19:55:26 +00:00
Brendan Taylor
9298312369
detect latex support at startup
2009-01-09 18:40:17 +00:00
Stephan Erb
bc3445881f
Rename client.py to plugin.py, as all client logic has already been moved to client_nb.py
...
Introduce a get_instance factory method for all plugins and other xmpp related classes. This will help us to decouple plugs in order to make them testable.
2009-01-09 00:49:58 +00:00
Stephan Erb
e00f871b26
Use hashlib module in favor of sha and md5.
2009-01-08 16:51:26 +00:00
Stephan Erb
cca10e6d29
A few more coding standards and readability improvements in client_nb.py.
2009-01-08 16:30:27 +00:00
Stephan Erb
10449444dd
Switch to SSL version 3 as the channel encryption protocol. As of http://docs.python.org/dev/library/ssl.html this is the maximally compatible SSL variant.
2009-01-08 16:14:26 +00:00
Yann Leboulanger
a4132ee58b
ability to use adtadir environment variable to set data directory
2009-01-05 15:12:19 +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
Yann Leboulanger
08cd4773b0
don't try to send some XML if we are disconnected/disconnecting/ Fixes #4605
2008-12-28 22:51:39 +00:00
Stephan Erb
b2a5b1046c
Remove print.
2008-12-28 14:55:23 +00:00
Stephan Erb
d8a2d8f447
Backport a few XMPPPY upstream changes.
...
* Use namespace instead of attrs={} for addChild
* Unplug SASL module on auth failure (we currently disconnect so don't really need it)
2008-12-28 14:53:20 +00:00
Stephan Erb
f83eb5ae95
Remove two more "from protocol import *".
2008-12-28 01:52:21 +00:00
Brendan Taylor
e98a648908
added licence notice to common/xmpp/c14n.py
2008-12-28 01:39:39 +00:00
Stephan Erb
7c0b1e4ed0
Module documentation for c14n.py.
2008-12-28 01:32:34 +00:00
Stephan Erb
8b3833b443
Coding standards and documentation improvements in features_nb.py. Remove unused methods.
2008-12-28 01:29:33 +00:00