Alexander Cherniuk
5e5dba080b
Missed a bracket
2010-03-05 15:56:13 +02:00
Alexander Cherniuk
43527d23d0
Fixed buggy config update to 01215
2010-03-05 15:54:06 +02:00
Yann Leboulanger
c9f31ec966
fix some function call under windows
2010-02-26 18:54:42 +01:00
Yann Leboulanger
ef05eb75d9
don't remove keepalive and xmpp ping timeouts when we get an expected stanza.
2010-02-25 22:56:38 +01:00
Yann Leboulanger
dd2ee07826
check session and system bus before supposing dbus is working. Fixes #5628
2010-02-25 15:33:27 +01:00
Alexander Cherniuk
407c9a2975
Tiny fixups for the SCRAM-SHA-1
2010-02-25 13:10:35 +02:00
Alexander Cherniuk
74572af64e
Code improvments for the SCRAM-SHA-1 implementation
2010-02-25 13:02:28 +02:00
Yann Leboulanger
8e35e76d78
fix get_password argument list. Fixes #5624
2010-02-25 11:59:12 +01:00
Yann Leboulanger
50c4a2fa42
[Dave Cridland] basic SCRAM-SHA-1 implementation (no channel binding). Fixes #5622
2010-02-25 10:42:58 +01:00
Yann Leboulanger
7b0c54a606
fix connection to openfire server using TLS. Fixes #5530
2010-02-24 21:32:35 +01:00
Yann Leboulanger
4287d26669
fix upgrading from 0.12.5. Fixes #5619
2010-02-23 19:47:14 +01:00
Yann Leboulanger
52442fcf13
fix bad class name in zeroconf
2010-02-23 19:10:51 +01:00
Yann Leboulanger
72f10672e5
split XEP-0096 (FT negociation) and XEP-0066 (Socks5 bytestream) into 2 clases
2010-02-22 16:29:01 +01:00
Yann Leboulanger
b21d538b0f
fix insecure_connection text to not talk about password, and add new warning to inform user when he is about to send plain password on plain connection. Fixes #5607
2010-02-17 13:35:18 +01:00
Yann Leboulanger
9d9ef1da89
move some error/warning to info so it's not printed in stderr by default. Fixes #5609
2010-02-16 09:44:23 +01:00
Yann Leboulanger
04db669265
don't fail to connect when no <stream:features> is sent by server. Fixes #5610
2010-02-16 09:27:19 +01:00
Yann Leboulanger
c6b496e1de
process network events faster under windows so Gajim reacts faster.
2010-02-14 21:07:19 +01:00
Yann Leboulanger
23f73004db
[Mattj] Fix connection to facebook server that don't understand ver="" in roster query. Fixes #5600
2010-02-11 18:57:39 +01:00
Yann Leboulanger
708d94a310
fix adding a new contact. Fixes #5602
2010-02-11 18:50:56 +01:00
Éric Araujo
357d7db07d
fixed some whitespace thanks to 2to3 -f ws_comma
2010-02-10 19:24:11 +01:00
Éric Araujo
0408b35cfb
convert tabs to spaces in source code thanks to reindent.py
...
also use 2to3 -f ws_comma to fix some whitespace
2010-02-10 17:59:17 +01:00
Yann Leboulanger
fa05d88b2b
merge from default branch
2010-02-08 22:25:41 +01:00
Éric Araujo
fedd7dc8e2
convert tabs to spaces in source code thanks to reindent.py
...
holy diff batman!
2010-02-08 15:08:40 +01:00
Yann Leboulanger
5372611e60
put pid file to $XDG_CACHE_HOME. Fixes #2149
2010-02-07 19:33:09 +01:00
Éric Araujo
8d8c8a7f4e
look at environment variables by hand if PyXDG isn't available. see #2149
2010-02-07 17:52:15 +01:00
Yann Leboulanger
8455e779cb
move files from ~/.gajim to XDG folders
2010-02-05 20:13:49 +01:00
Yann Leboulanger
3e777ea8f1
use and create files in folders using XDG standards. Fixes #2149
2010-02-04 20:08:30 +01:00
Yann Leboulanger
c642556377
increase SRV answer timeout. Fixes #5466
2010-02-03 23:20:11 +01:00
Yann Leboulanger
64da0b0671
correctly get error numbre from error object.
2010-02-02 20:02:47 +01:00
Yann Leboulanger
841e3401d3
add missing function. Fixes #5585
2010-01-29 19:47:52 +01:00
Yann Leboulanger
7a07d32b49
prevent wrong spliting of db
2010-01-29 19:02:54 +01:00
Yann Leboulanger
e86d1feeb2
missing import and incomplete error message. Fixes #5583
2010-01-29 15:20:23 +01:00
Yann Leboulanger
46b50f48a1
split logs.db into logs.db and cache.db. Fixes #2845
2010-01-29 11:25:06 +01:00
Yann Leboulanger
ebf9407c5d
improve subscription request message, ability to save it. Fixes #2176
2010-01-27 17:23:37 +01:00
Yann Leboulanger
7923ff54c1
coding standards
2010-01-26 15:41:13 +01:00
Yann Leboulanger
bfded43d1e
don't synchronize groupchats when we synchronize contacts between 2 accounts. Fixes #5570
2010-01-25 19:31:48 +01:00
Yann Leboulanger
53a974114a
fix some typo in comments
2010-01-25 18:29:57 +01:00
Yann Leboulanger
db575a25f6
send pep info only once we are connected. Fixes #5567
2010-01-20 12:23:46 +01:00
Yann Leboulanger
b99c10f696
add ged.py file
2010-01-19 22:06:00 +01:00
Yann Leboulanger
32050296a8
import ged from plugin-system branch
2010-01-19 21:32:45 +01:00
Yann Leboulanger
3a76966c14
merge from default branch
2010-01-19 16:37:14 +01:00
Thibaut GIRKA
1e6ab49e09
[Jingle] Fix a bug when user didn't provide a stun server
2010-01-14 15:50:21 +01:00
Thibaut GIRKA
600b433296
[Jingle] Fix a minor bug that showed incorrect states when adding a content to a session
2010-01-13 18:40:48 +01:00
Yann Leboulanger
a1c8ec3ebd
don't reply to presence type=subscribe before we do the roster push when registering to a transport. Fixes #5549
2010-01-13 11:12:14 +01:00
Yann Leboulanger
7548a44c09
ability to add arguments to features_nb.register callback
2010-01-13 11:09:33 +01:00
Yann Leboulanger
3238e30359
some coding standards
2010-01-13 10:35:52 +01:00
Yann Leboulanger
a19cbbfc9d
remove pysexy dependance, PyGTK2.18 supports links in gtk.Label
2010-01-12 22:30:46 +01:00
Yann Leboulanger
cbbfe98d32
add some debug info when resolving hostnames. see #5466
2010-01-12 15:29:40 +01:00
Yann Leboulanger
8faa6feac6
[misc] Fix crash when accepting a video call. Fixes #5545
2010-01-10 22:12:12 +01:00
Thibaut GIRKA
e3f16c6371
[Jingle] Volume levels are saved, audio UI shows up even if there are errors, until the session ends
2010-01-10 16:31:00 +01:00
Thibaut GIRKA
6978305528
Set the error-condition's namespace instead of iq's. Fixes #5546
2010-01-07 23:16:02 +01:00
Yann Leboulanger
4a8e30800f
add advanced option to disable showing affiliation in muc. Fixes #5534
2010-01-07 20:52:16 +01:00
Yann Leboulanger
c1d0013cb0
ability to discover STUN server with SRV records of jabber server
2010-01-07 18:02:05 +01:00
Yann Leboulanger
95137bae06
[Tony] print idle time in tooltip. see #5528
2010-01-06 23:12:56 +01:00
Yann Leboulanger
d712a2d879
merge local changes
2010-01-04 18:46:20 +01:00
Thibaut GIRKA
400390acaa
Correct JingleContent.send_candidate and JingleTransport.make_transport. Fixes #5525
2010-01-04 18:27:18 +01:00
Yann Leboulanger
dffb2c308b
remove duplicate function
2010-01-04 11:58:42 +01:00
Yann Leboulanger
61ffd6f91f
revert wrong behaviour. see #5527
2010-01-03 19:21:39 +01:00
Yann Leboulanger
88bb5ab8fc
fix missing import. see #5327
2010-01-03 11:31:22 +01:00
Anaël Verrier
5b9582bf01
Removed a change from the previous commit because I would not have done it. I need sleep.
2010-01-03 01:57:44 +01:00
Anaël Verrier
5e744a3e8e
forgot to remove an useless line in the previous commit...
2010-01-03 01:52:40 +01:00
Anaël Verrier
714b7d965d
Fixed a minor bug in the calculation of the date for room history request. Thanks Zash for the report.
2010-01-03 01:49:49 +01:00
Alex V. Myltsev
0699e2e3a1
catch "address family not supported" errors when sending files. Fixes #5327
2010-01-02 22:47:36 +01:00
Yann Leboulanger
1d0c57915a
Really ignore messages from invalid jids. Fixes #5539
2010-01-02 22:45:02 +01:00
Yann Leboulanger
9cdbf9814e
make zeroconf connections is_zeroconf attribute True. Fixes #5538
2010-01-02 22:33:25 +01:00
Yann Leboulanger
d41d4b2460
fix typo in variable name
2009-12-30 11:27:54 +01:00
Yann Leboulanger
1f69b98cac
re-enable LATEX usage.
2009-12-29 00:01:10 +01:00
Yann Leboulanger
1de511c0fd
fix indentation typo
2009-12-28 23:23:04 +01:00
mariolenz
05a86e8357
harmonize indentation. Fixes #5518
2009-12-28 23:04:23 +01:00
Stephan Erb
85a35a21ac
Correctly fake NullClientCaps: Assume we support everything instead of the blacklisted features.
2009-12-28 21:29:51 +01:00
Stephan Erb
da0749b5d9
Make NullClientCaps a singleto so that we don't create a new object for each contact.
2009-12-28 20:58:34 +01:00
Stephan Erb
5cb3c74da9
Only perform the longish check for latex support if the user has enabled latex in ACE.
2009-12-27 17:50:06 +01:00
Stephan Erb
d00a5f737c
Create index on the logs table on time instead of on kind.
...
That way we can search through all logs in constant time instead of having to perform a full table scan.
2009-12-27 16:50:43 +01:00
Stephan Erb
54ad65c744
Show warning if calculated and received caps hash are different.
2009-12-27 16:23:31 +01:00
Stephan Erb
11c83109f4
Remove some unneeded bits in the xmpp ping code. Add additional logging.
2009-12-20 23:16:58 +01:00
Thibaut GIRKA
dea4cdc073
Import xmpp in jingle_content, so that JingleContent.__content can work. fixes #5524
2009-12-20 13:37:56 +01:00
Alexander Cherniuk
d7cefc1e43
Removed trailing space
2009-12-19 13:49:10 +02:00
Yann Leboulanger
4b9e7f19a5
add missing import to common/protocol/bytestream.py. Fixes #5520
2009-12-19 10:26:03 +01:00
Yann Leboulanger
8d8db58003
ignore invalid SRV reply from libasyncns. Fixes #5507
2009-12-18 17:27:09 +01:00
Yann Leboulanger
5ec5886c57
prevent having twice the same group for a contact. Fixes #5504
2009-12-15 19:04:35 +01:00
Yann Leboulanger
b82ea5feff
restore xmpp ping callback that was removed in [bc039f78321d] Fixes #5510
2009-12-14 23:39:46 +01:00
Yann Leboulanger
4b07509d5e
[Dave Cridland] try to encode username, realm and password in iso-8859-1 when doing DIGEST-MD5 before computing the hash. Fixes #5512
2009-12-14 17:47:14 +01:00
Yann Leboulanger
9072ff18c1
[Dave Cridland] implement EXTERNAL auth method. See #5512
2009-12-14 17:39:32 +01:00
Stephan Erb
1f954582fb
[Florob] Fix logic error resulting in a None type exception.
2009-12-13 22:55:57 +01:00
Stephan Erb
a48087aae7
Don't traceback when receiving entity capabilties. Fixes #5492
...
This is a workaround until the whole update_contact method is gone. It should not be needed.
2009-12-13 00:55:04 +01:00
Stephan Erb
b7aa05a684
Merge local changes (not again...)
2009-12-11 01:01:17 +01:00
Stephan Erb
9eb35dcf18
Split send_socks5_info monster method into smaller methods. (Extract Method Refactoring)
...
(I don't think what we have here is good, but it is atleast readable)
2009-12-11 01:00:29 +01:00
Stephan Erb
24f44d8bdd
Remove zeroconf dummy methods.
2009-12-10 23:54:51 +01:00
Stephan Erb
9bfb5753c2
Move three methods from filetransfer_window to protocol/bytestream.
...
One of the methods was duplicated. Additionally, apply a very few coding standards.
2009-12-10 23:53:39 +01:00
Stephan Erb
24e2047fe3
Remove obvious code duplication.
2009-12-10 23:22:51 +01:00
Stephan Erb
bb50871bce
Remove logging of callback method calls. Such cross-cutting concerns are better directly implemented in the xmpp dispatcher.
2009-12-10 23:01:48 +01:00
Stephan Erb
f846d51f07
Follow the most basic coding standards.
2009-12-10 22:09:37 +01:00
Thibaut GIRKA
b82f829b10
Import socket in jingle_rtp, fixes typo in 'stun_server', connect changed signal of stun_server_entry Fixes #5502
2009-12-10 22:02:03 +01:00
Stephan Erb
d48202d221
Move ConnectionBytestream to common/protocols.
2009-12-10 21:52:32 +01:00
Stephan Erb
f52532f6f0
Merge local changes.
2009-12-10 20:08:09 +01:00
Stephan Erb
e9caf06992
Split common/caps.py. We now have common/protocol/ to contain XMPP connection related classes.
...
Plan is to move our ConnectionX classess to the protocol package one by one. Each move should be more than a simple copy paste. It should be preceeded by cleanups and the like.
2009-12-10 20:06:46 +01:00
Stephan Erb
7708e3b87e
Refactor internas of ConnectionCaps
...
* Make it testable and write a very basic test for the presenceCallback
* Use Extract Method to make the code more readable and to increase reusability
* Start to decouple ConnectionCaps from the other Connection classes/handlers
2009-12-10 18:31:00 +01:00
Yann Leboulanger
d1a9a6983a
EncryptedSession cannot be an ArchivingSession
2009-12-10 17:40:48 +01:00
Yann Leboulanger
88a149035b
[Jim++] keep in mem las muc message time, and save it in database when we quit. Fixes #5490
2009-12-10 06:59:47 +01:00
Yann Leboulanger
47ff962e5b
rename some archiving functions
2009-12-08 17:09:41 +01:00
Yann Leboulanger
6b7f36ebd1
prevent traceback when geoclue not installed. Fixes #5495
2009-12-08 14:45:58 +01:00
Yann Leboulanger
408a2adffc
correctly reset localisation data, set altitude, timestamp and accuracy correctly
2009-12-08 00:04:04 +01:00
Yann Leboulanger
7c2cb2dd93
fix typo in finction name and correctly retract location data
2009-12-07 23:50:29 +01:00
Yann Leboulanger
5e2f1cf770
fix typo in finction name and correctly retract location data
2009-12-07 23:45:37 +01:00
Yann Leboulanger
108aaa0027
move enable_location_listener to location_listener.py directly
2009-12-07 23:40:28 +01:00
Yann Leboulanger
2a944e5404
ability to get address / location from geoclue and send it via PEP
2009-12-07 23:16:30 +01:00
Yann Leboulanger
7b58e145af
fix variable name. Fixes #5492
2009-12-07 19:22:03 +01:00
Yann Leboulanger
07be0727de
[Florob] show in roster and message window geolocalisation of a contact. Fixes #5485
2009-12-07 18:32:42 +01:00
Yann Leboulanger
bbd4b16d9c
set hg version higher than 0.13.1. Fixes #5488
2009-12-06 11:45:05 +01:00
Stephan Erb
228678d6e8
Do not add the resource when morphing a GC_Contact to a normal Contact.
...
gc_contact.jid and gc_contact.resource are empty in anonymous rooms. In non-anonymous rooms those contain the real jid and resource of the contact.
We must not mix those information with the jid of the contact in the groupchat: We assumed that "test@conference.gajim.org/nick" was the Jid and 'someresource' the resource. So we tried to talk to 'test@conference.gajim.org/nick/someresource'.
2009-12-05 11:49:07 +01:00
Stephan Erb
acf06b4470
Merge local changes.
2009-12-05 11:28:13 +01:00
Stephan Erb
d8f6e39020
Merge head.
2009-12-05 11:27:53 +01:00
Stephan Erb
e72a8f519e
Backed out changeset d4ef03c57366
2009-12-05 11:25:07 +01:00
Stephan Erb
754a683043
Mark internal methods as protected.
2009-12-05 11:22:24 +01:00
Thibaut GIRKA
594072999c
Fix video output pipeline, and improve error dialog. fixes #5482
2009-12-03 23:07:45 +01:00
Yann Leboulanger
3f4f07d326
correctly escape msgs when we search in database
2009-12-03 18:59:10 +01:00
Yann Leboulanger
9914792723
re-enable the ability to connect as invisible: check that we don't send presence with show=invisible at the correct place, after we diferenciate invisible conection from not-invisible connection. Fixes #5473
2009-12-03 18:10:23 +01:00
Yann Leboulanger
619518204c
ability to change mic volume through GUI (doesn't work for the moment)
2009-12-02 21:37:21 +01:00
Yann Leboulanger
b739802fd7
convert print to log.debug
2009-12-02 12:05:52 +01:00
Yann Leboulanger
5a3ef285a5
fix some archiving session negotiation bugs
...
print archving negotiation result in chat control
2009-12-02 11:52:49 +01:00
Stephan Erb
e7337211fb
Rename the Contacts class and document it, beeing a temporary refactoring artifact.
2009-12-01 23:31:17 +01:00
Thibaut GIRKA
afaa90f91d
Rename FailedApplication to JingleContentSetupException
2009-12-01 22:39:02 +01:00
Stephan Erb
f128391189
One more vim config entry.
2009-12-01 22:31:42 +01:00
Stephan Erb
d54543654d
Add VIM indentation config to jingle files.
2009-12-01 22:25:29 +01:00
Stephan Erb
b73bbb8cae
Merge local changes.
2009-12-01 22:16:30 +01:00
Thibaut GIRKA
592bacce4a
[Jingle] Fix make_bin_from_config, improve JingleSession.__parse_contents
2009-12-01 22:15:50 +01:00
Yann Leboulanger
484e3970d3
[dm] define an exception we use. Fixes #5457
2009-12-01 17:41:43 +01:00
Alexander Cherniuk
ee42637795
Keep the doc-strings (even one-liners) unified, please
2009-12-01 00:07:36 +02:00
Thibaut GIRKA
d295f9261d
[Jingle] a bit of documentation/clarification ; added make_bin_from_config
2009-11-30 22:29:32 +01:00
Yann Leboulanger
5401b457d5
add stun_server option in pref window.
2009-11-30 21:10:24 +01:00
Yann Leboulanger
66fdb1490d
don't try to import pysqlite2, we depend on sqlite3
2009-11-30 16:36:47 +01:00
Alexander Cherniuk
684f45b148
Small refactoring bits
2009-11-30 12:53:26 +02:00
Stephan Erb
76013a044b
Remove a very suspicious line. Maybe I introduce bugs here.
...
I remove this line because it makes no sense to assume that we have joind a groupchat, just because someone request a VCard for a jid which pretends to be from a Groupchat.
2009-11-30 00:34:23 +01:00
Stephan Erb
750f032c4b
Merge local changes.
2009-11-29 23:08:17 +01:00
Stephan Erb
9b7ae8cac3
Small cleanups for avatar save. Also fixes #5461 .
...
* set default file type for avatars centrally
* remove client side decision logic determing if a avatar loookup shall happen for a groupchat contact or for a normal contact
* remove unused method (this one was triggering the traceback in #5461 )
2009-11-29 23:06:49 +01:00
Thibaut GIRKA
c44fde896f
[Jingle] Handle description-info ; catch only glib.GError when parsing bins
2009-11-29 22:45:34 +01:00
Thibaut GIRKA
fe67de9bf1
[Jingle] Add converters and simplify pipelines configuration-side
2009-11-29 21:39:50 +01:00
Stephan Erb
b2efc9685b
Always show the 'add contact to roster' menu entry in textviews.
...
Showing it is more consistent than hiding it from the user. (We do the same in the Groupchat roster)
2009-11-29 21:06:26 +01:00
Thibaut GIRKA
132d71b08b
[Jingle] Audio/video input/output now configurable
2009-11-29 15:39:26 +01:00
Yann Leboulanger
e42bed8a56
fix default audio_input_device
2009-11-29 14:17:03 +01:00
Yann Leboulanger
2dfeb10fef
set default values to audio/video input/output devices
2009-11-29 14:15:25 +01:00
Bruno Tarquini
fe8bd2b027
autotools: remove confusing variables ${datadir} and DATADIR.
...
Those variables were confusing because autoconf usually defines DATADIR to
PREFIX/share and gajim uses both defs.datadir=PREFIX/share/gajim and
gajim.DATA_DIR=PREFIX/share/gajim/data.
Now, autoconf will use PKGDATADIR for setting the (renamed) defs.basedir
variable which will be used to set gajimpaths['DATA_DIR'] and
gajimpaths['ICONS_DIR'] in configpaths.py
Gajim will also looks for the ${GAJIM_BASEDIR} environment variable instead of
${datadir} which was really too generic (no namespace).
2009-11-28 12:54:41 +01:00
Yann Leboulanger
5f58e2a9ac
save audio / video input / output device in config
2009-11-27 23:11:17 +01:00
Stephan Erb
723c09d26d
Remove logging within each idlequeue process step. (A log entry every two seconds without much value)
2009-11-27 21:03:38 +01:00
Yann Leboulanger
5b10d8fe5c
base of using icon themes. see #2378
2009-11-27 16:42:32 +01:00
Alexander Cherniuk
aed9690dc5
Tiny refactoring bits of jingle code
2009-11-27 12:09:43 +02:00
Thibaut GIRKA
04d098b4ec
Merge local changes
2009-11-27 10:29:17 +01:00
Yann Leboulanger
a7ba440cab
announce windows 7 in os info
2009-11-26 23:32:53 +01:00
Thibaut GIRKA
ee452a57a2
[Jingle] Renamed callbacks to match name conventions
2009-11-26 22:09:34 +01:00
Thibaut GIRKA
0edb624fec
Renamed a few methods, refactor on_*_button_toggled, use getattr/setattr instead of eval/self.__dict__
2009-11-26 21:53:44 +01:00
Alexander Cherniuk
4d904560a7
Last portion of doc-string and formatting refactoring
2009-11-26 18:12:52 +02:00
Alexander Cherniuk
f084a1f78b
One more portion of doc-string and formatting refactoring
2009-11-26 17:46:48 +02:00
Alexander Cherniuk
6d0f28c47d
More doc-string (and not only) refactoring
2009-11-26 16:32:56 +02:00
Alexander Cherniuk
99472b1702
Yet more doc-string refactoring
2009-11-26 14:27:47 +02:00
Alexander Cherniuk
6bf2246de5
A big portion of doc-string refactoring
2009-11-26 13:58:12 +02:00
Alexander Cherniuk
cea7c66f75
A portion of doc-string refactoring
2009-11-26 12:21:43 +02:00
Yann Leboulanger
3d4688e9fa
request archiving logs only since last time we requested it
2009-11-26 08:27:31 +01:00
Yann Leboulanger
a59011138b
merge diff from default
2009-11-25 21:15:36 +01:00
Yann Leboulanger
d8405f6e9f
prevent to merge several times the same groupchat message. We cannot differentiate pm and gc messages when we only store <body>. So we need to look in both to know if we already have it in logs
2009-11-25 19:53:17 +01:00
Yann Leboulanger
98e27253b6
prevent showing error message when we receive a PEP error message and really ignore it
2009-11-25 16:50:49 +01:00
Yann Leboulanger
1c137dd6c4
remove debug print
2009-11-25 16:49:13 +01:00
Yann Leboulanger
3aa07f485e
refactor connection_handlers_zeroconf.py
2009-11-25 16:29:33 +01:00
Yann Leboulanger
6c4724f53f
fix attribute name. Fixes #5448
2009-11-25 12:31:40 +01:00
Yann Leboulanger
7eb24c3c53
fix traceback when using a non-BOSH proxy. Fixes #5449
2009-11-25 12:25:28 +01:00
Alexander Cherniuk
c5843e8878
Fixes #5447
2009-11-25 09:10:30 +02:00
Stephan Erb
bcef68c8e2
Merge local changes.
2009-11-24 16:04:58 +01:00
Alexander Cherniuk
94f6d6b79a
Fixed timezone parsing
2009-11-24 14:24:35 +02:00
Alexander Cherniuk
3a190b8328
Fixed a typo
2009-11-24 12:20:40 +02:00
Stephan Erb
fb456b1ee4
Make dependencies of ConnectionPEP explicit.
...
This means ConnectionPEP now knows the objects on which it calls method. Before, it just assumed that: "it will be subclassed and that the subclass defines a few methods".
Big advantage is that false positives in the pylint report are gone
2009-11-22 22:57:52 +01:00
Stephan Erb
96b9326b0f
Move function closer to where it is used.
...
This makes it easier to reason about its usage.
2009-11-22 22:14:05 +01:00
Stephan Erb
07c008cbaa
Remove TODO which was more or less a "might be useful one day"
2009-11-22 22:10:55 +01:00
Stephan Erb
a53e906a92
Ignore error <message /> stanzas with event tag.
...
This prevents dialogs poping up with showing "Service unavailable".
2009-11-22 22:07:48 +01:00
red-agent
102126b330
Fixed broken resource setting
2009-11-22 13:33:19 +02:00
Yann Leboulanger
094941f89e
don't try to send thing after we are disconnected. Fixes #5437
2009-11-19 22:42:35 +01:00
Yann Leboulanger
8720eb221d
don't propose to add contacts we already have in our roster when we get a RIE request.
2009-11-19 22:13:16 +01:00
Yann Leboulanger
d664daad1a
we can now send pep thing to a zeroconf connection objec, it will just send nothing. so GUI doesn't have to know it's a zeroconf connection or not. fixes #5432
2009-11-19 20:36:40 +01:00
Yann Leboulanger
c9c5f72ff9
fix traceback on startup. Fixes #5435
2009-11-18 21:07:11 +01:00
Yann Leboulanger
4671f62d2f
fix ConnectionZeroconf initialization
2009-11-18 11:16:15 +01:00
Yann Leboulanger
86b39a72c6
fix http message parsing, it may contain \n\n!
2009-11-18 11:12:06 +01:00
Yann Leboulanger
88f3104c4e
refactor normal and zeroconf Connection objects with a CommonConnection class
2009-11-18 11:06:09 +01:00
Yann Leboulanger
960e402cf0
typo in a comment
2009-11-18 11:04:05 +01:00
Stephan Erb
d6e6a5d62d
Do not try to send (and fail) sending PEP via Zeroconf. Fixes #5432 .
2009-11-17 23:17:08 +01:00
Stephan Erb
8b3a82ff12
Merge changes from default branch into refactoring branch
2009-11-16 19:53:43 +01:00
Stephan Erb
10428555aa
Various pep-related cleanups.
...
Most important change is that pep send/retract functions no reside on the ConnectionPEP object.
2009-11-16 19:31:17 +01:00
Stephan Erb
a3ea00f4ea
Remove different dicts for tune, activity and mood and from now on only use the common 'pep' dict.
...
The pep dict contacts the different UserPEP classes.
2009-11-15 23:52:43 +01:00
Stephan Erb
aa53988fd1
Similar to update_pep, unify towards draw_pep of the RosterWindow.
2009-11-15 23:23:56 +01:00
Stephan Erb
28161dc33c
Apply coding standards.
2009-11-15 22:59:43 +01:00
Stephan Erb
338cb11dcc
Unify update_mood, update_tune, update_activity by using a single update_pep(pep_type) method.
2009-11-15 22:54:20 +01:00
Thibaut GIRKA
b1173a2e87
Fix a regression introduced by my last patch
2009-11-15 21:21:10 +01:00
Thibaut GIRKA
b2c5810869
Refactorize a bit jingle.py and split it into different files.
...
There is still room for improvement, but it should be better.
2009-11-15 20:47:06 +01:00
Stephan Erb
30191888ba
Create asPixbufIcon and asMarkupText functions on the UserActivity class.
2009-11-15 16:52:19 +01:00
Yann Leboulanger
623a51d53f
fix bug when merging server logs of MUC conversations
2009-11-15 15:37:41 +01:00
Yann Leboulanger
72420b0e73
write code to synchronise server logs from archiving with local DB
2009-11-15 11:33:05 +01:00
Stephan Erb
6c0fb26e58
Use central event_handler in Interface() instead of updating the GUI directly from XMPP callbacks.
2009-11-15 11:11:51 +01:00
Stephan Erb
5f4db2eed9
Unify updating of accounts and contact pep information. Implement and use asMarkupText() for tunes.
2009-11-15 10:55:31 +01:00
Stephan Erb
234a6520dd
Removed unused code.
2009-11-15 00:15:31 +01:00
Stephan Erb
e41e484855
Proof of concept: Move markup / pixbuf determination logic from the UI to the different PEP classes.
...
Currently this is only done for UserMood. We can decide later on (if needed), to move the asPixbufIcon and asMarkupText methods to a more appropriate place.
Goal is to remove as much redundant code as possible.
2009-11-15 00:12:15 +01:00
Mateusz Biliński
b38249c406
Added core events handlers to GED in src/gui_interface.py (previously kept in src/gajim.py).
2009-11-14 23:41:28 +01:00
Stephan Erb
088916f4e7
Strip PEP info at the network level.
...
(Currently it is done at the UI level in many, many different places)
2009-11-14 23:07:22 +01:00
Stephan Erb
3d5e8cc427
Move common pep constructor logic to base class.
2009-11-14 22:47:21 +01:00