Mike Taylor
4305eddb4f
Merge pull request #397 from rerobins/xep_0050_updates
...
Xep 0050 updates
2015-09-18 16:18:41 -04:00
Robert Robinson
c2dc44cfd1
Merge branch 'develop' into xep_0050_updates
...
# Conflicts:
# tests/test_stream_xep_0050.py
2015-09-18 13:35:28 -06:00
Robert Robinson
5fc14de32e
Merge pull request #3 from fritzy/develop
...
Merge to fritzy_master
2015-09-18 13:30:30 -06:00
Mike Taylor
d245558fd5
Merge pull request #396 from rerobins/add_xep_0122
...
XEP_0122: Add support for form validation
2015-09-18 15:15:27 -04:00
Mike Taylor
9d45370e8a
Merge pull request #393 from aalba6675/fix/time
...
Only send time if Iq type is get.
2015-09-18 15:15:01 -04:00
Mike Taylor
cc1cc61d36
Merge pull request #392 from aalba6675/fix/tel_number
...
Do not overwrite telephone numbers
2015-09-18 15:14:35 -04:00
Mike Taylor
c6740a4908
Merge pull request #389 from alexdraga/develop
...
Add get users by affiliation.
2015-09-18 15:13:54 -04:00
Mike Taylor
55114bcffe
Merge pull request #384 from elya5/patch-1
...
Fix UnboundlocalError in disco_browser.py example
2015-09-18 15:13:30 -04:00
Mike Taylor
4fa5dedc47
Merge pull request #386 from jdowner/develop-iot
...
iot: only add the 'done' field when all devices are done
2015-09-18 15:13:07 -04:00
Mike Taylor
5525ef2285
Merge pull request #395 from rerobins/refactor_forms
...
XEP_0004: Data Forms use register_stanza_plugin
2015-09-18 15:11:47 -04:00
Robert Robinson
a7ac969215
register_Stanza_plugin shouldn't be iterable
...
Should not use iterable for registering the stanza plugins.
2015-09-17 16:21:54 -06:00
Robert Robinson
329cb5a9f8
Add 0122 to plugin/__init__.py __all__
2015-09-17 16:21:13 -06:00
Robert Robinson
d9b47b33f5
Update __init__.py
...
changed xep_0121 to xep_0122
2015-09-15 10:20:37 -06:00
Robert Robinson
3582ac9941
Merge branch 'add_xep_0122' of https://github.com/rerobins/SleekXMPP into add_xep_0122
2015-09-15 10:12:50 -06:00
Robert Robinson
2a127a57a7
Add test case Reported->Data Form Validation
...
Add a test case that will verify that reported fields can contain data form validation data.
2015-09-15 10:09:06 -06:00
Robert Robinson
7059400020
Merge branch 'refactor_forms' into add_xep_0122
2015-09-15 10:07:34 -06:00
Robert Robinson
0b14ef82d4
Add test case for reported and items
...
Previous stanza test cases didn't have test cases for reported and item field types in forms. This fixes that issue.
Modified stanzabase to use an ordered dict so that can guarentee the that 'items' in a form are added after reported. Also updated the set of interfaces that are stored in Form to be a ordered set. Used the order set implementation from: https://code.activestate.com/recipes/576694/
The OrderedSet implementation is licensed under the MIT license and is developed by the same developer of the ordereddict.
2015-09-15 10:05:53 -06:00
Robert Robinson
83953af53d
Missing xep_122 dir in setup.py
2015-09-14 20:28:55 -06:00
Robert Robinson
110cf25c6d
Add plugin support
2015-09-14 17:06:07 -06:00
Robert Robinson
f2bf6072ec
Add plugin
...
(cherry picked from commit 2296d56)
2015-09-14 17:04:43 -06:00
Robert Robinson
5f9abe2e0e
Working through test case issues.
...
(cherry picked from commit 6b58cef)
2015-09-14 17:04:16 -06:00
Robert Robinson
ea65b672e7
Initial cut at getting the stanzas to work.
...
(cherry picked from commit 8c7df49)
2015-09-14 17:04:08 -06:00
Robert Robinson
93c705fb31
Fix xep_0050 changes after form refactor.
2015-09-14 17:00:53 -06:00
Robert Robinson
0724f623bb
Force forms and fields to use plugin resolution
...
Instead of using the interface/subinterface code that was currently being implemented for the plugin.
(cherry picked from commit 1467ec7)
2015-09-14 16:46:36 -06:00
Robert Robinson
ffb2b6bc04
Update test_stream_xep_0050.py
...
Fix Unit Test for adhoc 50 stream.
2015-09-12 20:08:21 -06:00
Robert Robinson
4a24f58be2
XEP0050: Add support for payload in completed response
...
When sending the command to complete the task, the adhoc plugin does not provide the ability to send a payload from the _handle_command_complete method.
2015-09-03 10:15:41 -06:00
Mike Taylor
da14ce16ec
Merge pull request #394 from sangeeths/misc_updates
...
adding 'id' to self['xep_0332'].send_request()
2015-08-27 13:00:34 -04:00
Sangeeth Saravanaraj
18e5abb9dd
adding 'id' to self['xep_0332'].send_request()
2015-08-27 13:24:01 +05:30
Richard Chan
1a75b76916
Only send time if Iq type is get.
2015-08-25 18:21:58 +08:00
Richard Chan
53b56899a0
Do not overwrite telephone numbers; otherwise all TEL/NUMBER received
...
from a server will be blank.
2015-08-25 18:11:54 +08:00
Aleksandr Draga
a366482551
Add get users by affiliation.
2015-08-10 15:34:27 +03:00
Mike Taylor
abcec1e2d3
Merge pull request #388 from sangeeths/misc_updates
...
Retaining 'id' in the response and error stanzas
2015-08-01 14:04:22 -04:00
Sangeeth Saravanaraj
eeab646bfa
Retaining 'id' in the response and error stanzas
2015-08-01 17:47:03 +05:30
Mike Taylor
2c69144189
Merge pull request #387 from mcella/378
...
Fixes #378 : must acquire JID_CACHE_LOCK before adding to JID_CACHE
2015-07-31 11:21:01 -04:00
Michele Cella
f54ebec654
Fixes #378 : must acquire JID_CACHE_LOCK before adding to JID_CACHE
2015-07-31 11:55:50 +02:00
Joshua Downer
2042e1a4d5
iot: only add the 'done' field when all devices are done
2015-07-20 17:34:09 -04:00
Robert Robinson
be14f0cc52
XEP_0050: Form not iterable in command
...
Cannot pass in a form into the initial command and have it show up in the payload of the session. Line 344 makes this possible when following the standard workflow.
2015-07-15 20:52:06 -06:00
elya5
edd9199be8
Fix UnboundlocalError in disco_browser.py example
...
If self.get is in self.info_types and self.items_types, only self['xep_0030'].get_info is executed and not self['xep_0030'].get_items. So the condition in line 129 is successful but items is not assigned.
2015-07-09 17:15:36 +02:00
Mike Taylor
bb094cc649
Merge pull request #365 from jdowner/staging
...
Fixed imports
2015-07-05 15:46:04 -04:00
Mike Taylor
dbaa6ed952
Merge pull request #366 from jdowner/develop-iot-cleanup
...
Minor cleanup of IoT plugin
2015-07-05 15:45:47 -04:00
Mike Taylor
8c94d894ab
Merge pull request #369 from stevenroose/patch-2
...
Change to roster migration e
2015-07-05 15:45:19 -04:00
Mike Taylor
ffc7eac4dc
Merge pull request #370 from jdowner/develop-jid
...
Removed duplicate property
2015-07-05 15:44:58 -04:00
Mike Taylor
555fd6d926
Merge pull request #380 from anirudh-chhangani/XEP-0096-add-hash-param
...
add hash metadata for file transfer
2015-07-05 15:44:03 -04:00
Mike Taylor
c024ac8f0b
Merge pull request #382 from sangeeths/initialize_certificate
...
Initialize certfile, keyfile and ca_certs in XMLStream. Added **kwargs to ClientXMPP, BaseXMPP and XMLStream.
2015-07-03 15:07:35 -04:00
Sangeeth Saravanaraj
f00177c0cf
Added **kwargs to ClientXMPP, BaseXMPP and XMLStream so that certfile, keyfile and ca_certs can be initialized.
2015-07-03 10:47:06 +05:30
Anirudh
224d7ae133
add hash param to file metadata
2015-06-18 00:21:19 +05:30
Sangeeth Saravanaraj
9b25a7cf77
Fixed typo.
2015-06-05 12:25:41 +05:30
Joshua Downer
7a908ac07b
Removed duplicate property
2015-05-28 09:35:50 -04:00
Steven Roose
92901637ec
Change to roster migration example
...
I did have the chance to test the script yet, but it seems like that line should be outside the for loop.
2015-05-25 01:01:08 +02:00
Joshua Downer
3590b663ed
xep-0323: removed deadcode
2015-05-14 06:27:59 -04:00