Philipp Hörist
a01cdbf271
Refactor Avatars
...
- Add support for Pubsub Avatars
- Dont poll for vCard Updates, only use XEP-0153
- Dont cache vCards
- Store the avatar SHA of roster contacts in the DB
- Store the current SHA of each contact in the Contacts Object
- Move some code into the ConnectionVcard Class
2017-10-08 11:26:28 +02:00
André Apitzsch
9ef942469a
Package test, but don't install it
2017-09-22 19:12:26 +02:00
Yann Leboulanger
84060484c4
Remove more Gmail things
2017-09-19 15:52:53 +02:00
Yann Leboulanger
152be4473b
Fix some strings for a better translation
2017-09-19 12:45:02 +02:00
André Apitzsch
0080c61014
Install data to new location
2017-09-16 12:18:22 +02:00
Yann Leboulanger
5c0538a202
Fix running make test
2017-09-15 15:11:55 +02:00
André Apitzsch
40770843ae
test_pluginmanager: fix imports
2017-09-10 12:22:49 +02:00
André Apitzsch
3c31574cf9
Unittest: replace deprecated functions
2017-09-10 12:21:10 +02:00
André Apitzsch
89c7eb6e6a
Rename gajim.common.gajim to avoid name conflicts
2017-08-18 20:03:20 +02:00
André Apitzsch
56d002ce34
Fix test imports
2017-08-18 19:48:48 +02:00
André Apitzsch
efec098aef
Use absolute imports
2017-08-18 19:48:48 +02:00
Yann Leboulanger
44a29e7a50
make tests run without gui
2017-08-09 22:09:01 +02:00
Yann Leboulanger
b5c3b15c0f
Fix running tests
2017-08-09 21:05:45 +02:00
André Apitzsch
68a57e7c91
Replace src by gajim
2017-07-02 17:25:46 +02:00
Yann Leboulanger
0d3ce37b27
fix a test. Fixes #8660
2017-06-14 20:25:06 +02:00
Yann Leboulanger
e5b69fae5c
start running tests
2016-10-10 15:22:51 +02:00
tmolitor
065d08cebf
Honor profile given on commandline for plugin dir and history db and more.
...
Also added new property 'additional_data' to message event objects. Changes to this attribute (a dict) are passed on from event to event and are also written to the history db as json string (reading of those values isn't implemented yet).
2016-09-05 00:01:29 +02:00
Yann Leboulanger
cf40035a65
start fixing last test. still a problem with sessions
2013-04-08 18:57:39 +02:00
Yann Leboulanger
d2992815ee
re-enable test suite
2013-04-07 23:41:15 +02:00
Yann Leboulanger
e03b3c35b6
fix traceback handling
...
fix struc and sha1 usage (use bytes instead of string)
2013-01-05 00:03:36 +01:00
Yann Leboulanger
912f0e921d
fix imports and many py3 changements
2013-01-02 13:54:02 +01:00
Yann Leboulanger
d27591076f
fix exception handling
2013-01-01 23:18:36 +01:00
Yann Leboulanger
414e349345
python uses unicode internally
2013-01-01 19:44:25 +01:00
Yann Leboulanger
e71188a6fa
print -> print()
2013-01-01 19:36:56 +01:00
Yann Leboulanger
f832900d2b
coding standards
2012-08-22 12:55:57 +02:00
Yann Leboulanger
49bc202421
merge from trunk
2011-12-29 11:39:02 +01:00
Yann Leboulanger
98432f6666
cean chatstate code: remove XEP-0022 support and use caps to know if a contact supports it
2011-08-27 22:41:55 +02:00
Yann Leboulanger
f0a0929d5c
merge XEP-0198 implementation from gajim-XEP-198 branch to trunk. Thanks Jefry for your work during GSOC
2011-08-22 09:45:51 +02:00
Jefry Lagrange
f4cc439a7e
add test for connection
2011-08-15 12:16:17 -04:00
Jefry Lagrange
92b932ca07
added testing suite for socks5
2011-08-01 23:13:56 -04:00
Jefry Lagrange
2d624a7b96
test case for jingle
2011-07-17 18:28:38 -04:00
Jefry Lagrange
e02088e91c
added tests for smacks.py
2011-06-15 19:12:55 -04:00
Yann Leboulanger
be942a0270
don't open twice the same subscription request dialog. see #6762
2011-05-23 22:35:19 +02:00
Yann Leboulanger
98c46f2b56
fix test suite
2010-08-27 11:47:38 +02:00
Éric Araujo
9b5ee1e13b
convert tabs to spaces in source code thanks to reindent.py
...
Also use sed to remove now unneeded Vim lines, 2to3 -f ws_comma to fix
some whitespace, and fix some other madness manually.
2010-04-08 01:20:17 +02:00
Yann Leboulanger
fa05d88b2b
merge from default branch
2010-02-08 22:25:41 +01:00
Yann Leboulanger
956accf010
Bye bye glade, Hi gtk builder. Fixes #4945
2010-01-22 19:57:59 +01:00
Yann Leboulanger
3a76966c14
merge from default branch
2010-01-19 16:37:14 +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
Stephan Erb
79b226d3f8
Make tests run again.
...
Missed to reflect API changes in the tests.
2009-12-05 22:26:48 +01:00
Yann Leboulanger
1b22a33239
add a HTML message parsser test
2009-11-18 11:22:48 +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
Mateusz Biliński
70731dbab7
Merged default branch into plugin-system branch.
2009-11-14 21:15:27 +01:00
Yann Leboulanger
45533ae134
Test body received in several part
2009-11-12 22:25:00 +01:00
Stephan Erb
ee5eb8b546
Try to handle incomplete HTTP. See #5401 . Please test.
...
Approach: Keep filling the receive buffer until we have found enough data to extract the first HTTP header and body
2009-11-12 21:23:10 +01:00
Stephan Erb
af3af5bec8
Remove caps which have not been seen for three months from the db.
...
Thanks Asterix for the initial version of this patch!
2009-11-11 23:14:51 +01:00
Stephan Erb
ae9376ff63
Split the 'account sensitive' parts of the Contacts class and move them to an intermediate Contacts_New class.
...
The Contact class remains the public interface for contact handling. This is only a single step of a longer refactoring to empower the Account class.
2009-11-10 22:56:10 +01:00
Stephan Erb
b4285302db
Make the GC_Contacts class 'account insensitive'. Instead, create an Account class which holds a GC_Contacts object.
...
The API has been preserved. For now the old Contacts() API has not been changed.
2009-11-10 21:08:25 +01:00
Stephan Erb
ba9ef8301b
Remove superfluous clear_contacts method
2009-11-09 23:03:16 +01:00