Commit Graph

33 Commits

Author SHA1 Message Date
Yann Leboulanger 363277cc69 allow all features if a contact has no resource until we fall back to disco query. Fixes #4327 2008-09-22 09:35:19 +00:00
Julien Pivotto de4a23e751 See #4200.
* remove js from some headers
 * set coding:utf-8 to allow real names in headers
2008-08-15 17:31:51 +00:00
Julien Pivotto 8bc9bc29ae * Big headers review
* Remove some licencing problems
 * To do: same for images
 * See #4200
2008-08-15 03:20:23 +00:00
Yann Leboulanger bda1d9cd56 fix typo. Now caps are correctly reset when a contact goes offline. Fixes #4181 2008-08-11 08:01:03 +00:00
Yann Leboulanger e13c472e2c implement legacy pep protocol (v1.3). Fixes #4146 2008-08-04 22:06:54 +00:00
js 8605cd3f38 For historical reasons, we have a tab width of 3. This is strange, but
we have that in all files. To at least lesser the confusion a bit, add
vim tags for that.
Additionally, fix wrong #! in a few files.
2008-07-29 19:49:31 +00:00
js ea26f8eabc If no resource is left, we shouldn't have caps left either! 2008-07-23 18:38:52 +00:00
js 40112aa128 Handle it correctly if caps were removed.
YES, it CAN happen that we had caps and now got a presence without!
And that WILL happen very often, for example if the other end signs
off!
2008-07-23 18:28:55 +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
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
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
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
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
Yann Leboulanger 44fc7ddd0c fix caps hash computaion according to XEP-0115. fixes #3925 2008-05-14 18:30:39 +00:00
Yann Leboulanger 07a8d9d948 category is mendatory 2008-04-24 13:44:09 +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
Yann Leboulanger a3827fe5d0 new XEP-0115 implementation (version 1.5) 2008-04-20 22:58:47 +00:00
Yann Leboulanger 22c1aeda29 next release will be GPL v3. fixes #3290 2007-10-22 11:13:13 +00:00
Yann Leboulanger aba1a22aa1 handle corrcetly node with more than 1 #. fixes #3445 2007-09-18 21:09:50 +00:00
Tomasz Melcer 5a5ed1530c formatting errors 2007-07-09 22:41:53 +00:00
Tomasz Melcer 6c1858224e caps: data stored and retrieved 2007-07-09 21:24:47 +00:00
Tomasz Melcer 1c0aa7ad10 Caps: caps are queried, results are stored in cache. 2007-06-30 17:31:27 +00:00
Travis Shirk 6ca2d76cba Fixed a traceback. Not sure how correct the contact=contact[0] is, but it handles the multiple return types from get_contact_from_full_jid 2007-06-29 21:19:47 +00:00
Tomasz Melcer 4c1fdb1fd8 xmpppy doesn't raise exceptions! 2007-06-28 08:14:25 +00:00
Tomasz Melcer 6995730808 Caps: removed debug module import 2007-06-27 22:57:01 +00:00
Tomasz Melcer 744d445c55 Caps: querying caps disco node (no checking result yet) 2007-06-27 22:32:35 +00:00
Tomasz Melcer 86798a56f0 Caps: Cache object 2007-06-27 00:51:12 +00:00