Commit Graph

  • ae01f1071a Fixed the callback names of the xep_0065: In-Band bytestreams -> Socks5 bytestreams Sandro Munda 2012-06-07 19:04:24 +02:00
  • dcdf5dcd09 Added the Socksipy module in the thirdparty of SleekXMPP. Updated the LICENSE file with the license of the Socksipy module (New-BSD). Sandro Munda 2012-06-07 19:02:09 +02:00
  • c59a6d0f51 Sent a socks_closed when the socket is closed in the xep_0065 plugin. Sandro Munda 2012-06-07 18:37:42 +02:00
  • 2cd936318d Improved the close of the proxy thread (and the socket) in the xep_0065 plugin. Sandro Munda 2012-06-05 08:33:47 +02:00
  • 2f38857681 Changed the description of the xep_0065 plugin Sandro Munda 2012-06-05 08:33:21 +02:00
  • 39505ae1ff The xep_0065 plugin supports now multiple stream (multiple connected sockets). Sandro Munda 2012-06-04 19:39:48 +02:00
  • 44ee0633f2 Renamed the _handle_on_recv to the on_recv method. Renamed requester_thread and target_thread to proxy. The send method is now simpler. Sandro Munda 2012-06-04 08:27:41 +02:00
  • b52d2768b0 Added some comments to the get_network_address method Sandro Munda 2012-06-04 08:07:29 +02:00
  • cf24b870b1 Registered stanza plugin in the stanza module Sandro Munda 2012-06-04 08:03:08 +02:00
  • 69cffce7dc Used the namespace in all stanzas Sandro Munda 2012-06-04 07:57:14 +02:00
  • a14979375b Added a partial support of the XEP 0065 - Socks5 Bytestreams Sandro Munda 2012-06-03 19:56:56 +02:00
  • 40ef4a16b1 Updated the .gitignore to add .ropeproject/ folder Sandro Munda 2012-06-03 19:56:18 +02:00
  • f5652a667b Add 'presence' event, raised for all incoming presence stanzas. Lance Stout 2012-06-06 16:10:25 -07:00
  • 3b2c865a58 Bump version to 1.1.2 sleek-1.1.2 1.1.2 Lance Stout 2012-06-06 12:26:15 -07:00
  • db0e683d01 Don't request registration forms unless the register event is handled. Lance Stout 2012-06-06 12:23:40 -07:00
  • e29a9e0394 Bump version for 1.1.1 minor release. sleek-1.1.1 1.1.1 Lance Stout 2012-06-04 11:56:53 -07:00
  • edf65f4f52 Include the default, unnamed group in self.client_roster.groups() Lance Stout 2012-06-04 11:54:25 -07:00
  • 98677fd602 Don't add cert expiration timer if no certs are being used. Lance Stout 2012-06-04 11:53:58 -07:00
  • 61a4f76c8d Update version and README for 1.1 sleek-1.1 1.1 Lance Stout 2012-06-01 14:13:17 -07:00
  • 856a826eea Fix syntax error in line continuation. Lance Stout 2012-06-01 14:09:14 -07:00
  • 387ef513d6 Check that the session is still alive before sending data. Lance Stout 2012-06-01 13:50:38 -07:00
  • 2858dbf57f Update development version number to prepare for 1.1 release. Lance Stout 2012-05-31 22:07:36 -07:00
  • 350a2b8bbc Preemptively mark threads as exited if calling disconnect(). Lance Stout 2012-05-31 22:04:45 -07:00
  • c9093c9972 Handle not being able to connect using IPv6 if the host does not support it. Lance Stout 2012-05-27 16:33:21 -07:00
  • d1ad31696e Fix X-FACEBOOK-PLATFORM mechanism to work with Python3. Lance Stout 2012-05-25 11:04:46 -07:00
  • f49311ef9e Add better certificate handling. Lance Stout 2012-05-22 03:56:06 -07:00
  • 678e529efc Remove unused xmlstream test client. Lance Stout 2012-05-17 22:27:03 -07:00
  • 6ddb430fef Spell thirdparty correctly. Lance Stout 2012-05-16 12:00:00 -07:00
  • 74d1f88146 Prune unused conn_test code. Lance Stout 2012-05-16 11:57:55 -07:00
  • 7842c55da3 Add auth_success event. Lance Stout 2012-05-15 14:26:25 -07:00
  • f5beac2afa Use SASLPrepFailure as the exception name instead of UnicodeError. Lance Stout 2012-05-14 23:12:54 -07:00
  • 8a23f28dfa Add an exception handler for SASLprep failures. Lance Stout 2012-05-14 22:26:06 -07:00
  • 9c4886e746 Remove extra connection info so that examples run without modification. Lance Stout 2012-05-14 22:17:39 -07:00
  • e0bcd5d722 Add more documentation to the custom stanza examples. Lance Stout 2012-05-14 22:12:52 -07:00
  • ba854e7d85 Added custom_stanza example Erick Pérez Castellanos 2012-04-12 11:06:03 -04:00
  • 4ded34ebc9 Add MUC events for room configuration changes. Lance Stout 2012-05-14 16:10:22 -07:00
  • e918a86028 Make the error message better regarding hanged threads. Lance Stout 2012-05-10 10:22:38 -07:00
  • 24234bf718 Update other examples to use threaded mode for handlers that call disconnect() Lance Stout 2012-05-06 20:19:02 -07:00
  • ec99339140 Update send_client.py to call disconnect() from a threaded handler. Lance Stout 2012-05-06 20:07:05 -07:00
  • 03dedfc871 Windows doesn't support inet_pton. Lance Stout 2012-05-06 12:17:50 -07:00
  • 9e86a7b357 Tidy up and add tests for multi_attrib plugins. Lance Stout 2012-05-05 14:01:13 -07:00
  • 6a32417957 Merge pull request #163 from whooo/master Lance Stout 2012-05-05 11:34:29 -07:00
  • 97a7be7dfa Fix loading plugins from custom modules when passing the module itself. Lance Stout 2012-05-04 09:51:02 -07:00
  • fa86f956ef added multifactory and support for it to register_stanza_plugin Erik Larsson 2012-04-30 22:19:17 +02:00
  • a9acff5294 Collapse initial payload to a single stanza instead of a list if only one stanza is found. Lance Stout 2012-04-30 11:16:10 -07:00
  • ad5b61de50 Add full support for initial payloads with adhoc commands, plus test. Lance Stout 2012-04-30 11:07:54 -07:00
  • f53b815855 Allow providing initial payload to adhoc commands. Lance Stout 2012-04-30 08:27:10 -07:00
  • bf8a9dc20d Add logging note about potential cause of disconnect() deadlock. Lance Stout 2012-04-29 14:48:14 -07:00
  • 08716c35fd Set a timeout when waiting for threads. Lance Stout 2012-04-29 14:45:00 -07:00
  • fd81bab906 Use the correct 'from' jid when requesting vcards for avatars. Lance Stout 2012-04-29 13:33:53 -07:00
  • 1cf55c14b0 Don't raise errors when receiving an iq error for vcards. Lance Stout 2012-04-29 13:33:30 -07:00
  • 8b47159788 Populate the to attribute for message and presence stanzas if the server leaves it blank. Lance Stout 2012-04-26 15:46:18 -07:00
  • 2eeaf4d80c Use provided stanza ID. Lance Stout 2012-04-25 13:55:46 -07:00
  • 4d89d26a1c Prevent corrupting roster_update event with iq result. Lance Stout 2012-04-25 11:03:33 -07:00
  • 0cc14cee4d Ensure that SSL errors are handled in Py3.3 Lance Stout 2012-04-24 16:11:49 -07:00
  • a20a9c505d Track threads to ensure all have exited when disconnecting. Lance Stout 2012-04-22 18:13:36 -07:00
  • 913738444e Count and track the main threads, so we can delay disconnecting until all have quit. Lance Stout 2012-04-21 10:34:09 -07:00
  • 8ee30179ea Add _use_daemons flag to XMLStream to run all threads in daemon mode. Lance Stout 2012-04-20 15:19:56 -07:00
  • cb2469322b Handle using provided weakrefs as stanza parent references. Lance Stout 2012-04-14 11:13:38 -04:00
  • 94aa6673ca Check for the stop event more aggressively in the send thread. Lance Stout 2012-04-13 08:27:11 -04:00
  • 4b2b2d16b8 Reset attempted SASL mech set after no suitable mechs are found. Lance Stout 2012-04-11 12:53:22 -04:00
  • 4cd5d3b3b5 Fix DNS resolution results for IP literals. Lance Stout 2012-04-10 14:08:33 -04:00
  • e48e50c6ff Update setup.py with the latest plugins. Lance Stout 2012-04-09 21:45:19 -04:00
  • 01189376e2 Add initial support for XEP-0153. Lance Stout 2012-04-09 21:41:59 -04:00
  • 60195cf2dc Initial support for XEP-0231. Lance Stout 2012-04-08 23:27:19 -04:00
  • 15ef273141 Add a prefix to stanza ID values to ensure that they are unique per client. Lance Stout 2012-04-08 21:15:53 -04:00
  • eed6da538a Undo the additional Iq result checks until further testing is done. Lance Stout 2012-04-08 16:30:52 -04:00
  • d3e8993e22 Fix looking up local and cached vcards. Lance Stout 2012-04-08 16:01:21 -04:00
  • 8a8926c5e8 Fix errors in caps related to unwrapped disco data and full JIDs. Lance Stout 2012-04-08 16:00:36 -04:00
  • f9d0ee824b Ensure that wrapped disco results retain requesting iq id. Lance Stout 2012-04-08 16:00:07 -04:00
  • af099737ab Ensure that accessing self.api.settings works for plugins. Lance Stout 2012-04-08 15:59:47 -04:00
  • 9ffde5ab37 Check for Iq results based on both the sender's JID and the ID value. Lance Stout 2012-04-08 15:58:48 -04:00
  • 272ddf9f01 Add nickname element to the XEP-0054 plugin. Lance Stout 2012-04-07 21:16:36 -04:00
  • 259c84e99a Add initial XEP-0054 plugin. Lance Stout 2012-04-07 20:50:02 -04:00
  • 7391288668 Tidy up roster_received event and callbacks. Lance Stout 2012-04-07 17:30:25 -04:00
  • 7734aee7ad Prevent roster_update from firing twice after retrieving the roster. Lance Stout 2012-04-07 17:19:39 -04:00
  • 9f855b9679 Trigger got_online after resource information has been saved. Lance Stout 2012-04-07 16:23:24 -04:00
  • aedbecd673 Correct the statemachine's ensure_any method. Lance Stout 2012-04-06 17:39:51 -04:00
  • 83c5a4cd2f Pass JID objects to API callbacks and not strings. Lance Stout 2012-04-06 15:22:36 -04:00
  • 9c61c2882f Add support for XEP-0027 Lance Stout 2012-04-06 15:13:04 -04:00
  • e0dd9c3618 Simplify registering API handler defaults. Lance Stout 2012-04-03 10:58:31 -07:00
  • 4921c44d0a Don't break test plugins that use None instead of a stream object. Lance Stout 2012-04-02 22:03:29 -07:00
  • 3161f104c7 Update XEP-0012 plugin to use new api. Lance Stout 2012-04-02 21:57:10 -07:00
  • 898f5f4b51 Allow for registering a handler and setting it as default in one step. Lance Stout 2012-04-02 21:55:48 -07:00
  • 3ee3fdca91 Fix XEP-0115 with the new API registry. Lance Stout 2012-04-01 19:31:43 -07:00
  • 488f7ed886 Begin experiment with a centralized API callback registry. Lance Stout 2012-03-30 23:02:48 -07:00
  • 51e5aee830 Add default mapping of localhost to ::1 and 127.0.0.1 Lance Stout 2012-04-06 15:08:21 -04:00
  • af13bea2b8 Fix MUC invite events so that they actually work. Lance Stout 2012-04-03 22:41:37 -07:00
  • cdf0b353db Fix memory leak with adhoc command sessions. Lance Stout 2012-04-03 11:02:55 -07:00
  • 48504ed5e2 Display IPv6 literal addresses in brackets. Lance Stout 2012-04-01 19:32:12 -07:00
  • 4d4d1e0ee5 Improve connection handling by not delaying until all DNS records are tried. Lance Stout 2012-03-29 23:42:50 -07:00
  • c1d36cad46 Add better DNS resolver wrapper. Lance Stout 2012-03-29 15:11:24 -07:00
  • aad2eb31fc Fix typo Lance Stout 2012-03-30 09:01:15 -07:00
  • 1bd7824f24 Tidy up the state machine and use a threading condition instead of an event. Lance Stout 2012-03-28 23:58:38 -07:00
  • 912463ed6a Fix sending data after </stream> Lance Stout 2012-03-28 23:53:55 -07:00
  • dda2473d35 Reset stream management state on session_end. Lance Stout 2012-03-27 23:27:24 -07:00
  • 94923ae898 Improve handling disconnections. Lance Stout 2012-03-27 23:24:42 -07:00
  • f1fde07eb9 Add tests for bool_interfaces. Lance Stout 2012-03-27 21:16:53 -07:00
  • a1ddd88208 Add support for a new type of stanza interface: bool Lance Stout 2012-03-27 21:05:50 -07:00
  • ee6a9b981a Simplify sending whitespace keepalives. Lance Stout 2012-03-27 20:53:27 -07:00