Commit graph

  • dd9f33b7d9 removed some superfluous debug logging Tom Nichols 2010-07-01 15:11:02 -0400
  • 0a23f84ec3 fix for statemachine where operations would unintentionally block if the lock was acquired in a long-running transition Tom Nichols 2010-07-01 15:10:22 -0400
  • f477ccf533 Merge remote branch 'tom/hacks' Brian Beggs 2010-07-01 10:01:52 -0400
  • d62a30b0f8 digest-md5 authentication now works with unicode-literals import. Re-added the __future__ imports that were removed. Brian Beggs 2010-07-01 09:46:12 -0400
  • d763795b2c Merge remote branch 'fritzy/master' Brian Beggs 2010-07-01 09:17:45 -0400
  • fff54eaf2f temporary removed future support for sleek to support digest-md5 auth Brian Beggs 2010-07-01 08:44:39 -0400
  • 488d5b29d4 fixed typo Brian Beggs 2010-06-30 14:48:45 -0400
  • 9bdb297fe2 basic checking for digest-md5 to make sure the necessary components are there to complete auth. If not a failed_auth event is dispatched and the socket disconnected. Brian Beggs 2010-06-30 14:44:57 -0400
  • fa7f72d0af Fixed a defect where handlers for SASL authentication were being added multiple times. This caused issues when trying to reconnect. A handler for the auth mech would get added each reconnection attempt, causing digest-md5, success and failure to be called x times for each x number of retries. Brian Beggs 2010-06-30 14:30:18 -0400
  • c538ffae79 digest-md5 auth now works, had to remove from __future__ import unicode_literals to get it working correctly. Also some improvments for the prioroity message sending. Brian Beggs 2010-06-30 13:54:53 -0400
  • 5d87a54913 Merge branch 'hacks' of github.com:tomstrummer/SleekXMPP into hacks Thom Nichols 2010-06-29 16:48:15 -0400
  • 8bdfa77024 Merge branch 'hacks' of git@github.com:tomstrummer/SleekXMPP into hacks 0.9-conn-fixes2 Tom Nichols 2010-06-28 11:10:34 -0400
  • 15ac3e9fba race condition where we were transitioning to 'disconnected' and immediately reconnecting in another thread before the socket.close call occurred. Now we're locking the state machine until the disconnect routine completes. Tom Nichols 2010-06-28 11:06:26 -0400
  • e8d37b409c make the scheduler a daemon thread to prevent hanging when the main thread exits. Tom Nichols 2010-06-28 11:04:18 -0400
  • 898f96f265 print the traceback if we can't load a plugin for some reason Tom Nichols 2010-06-28 11:03:46 -0400
  • 7f8179d91e Refactored unit tests for XEP-0030, XEP-0033, and XEP-0085 to use the new SleekTest class. Lance Stout 2010-06-27 17:40:06 -0400
  • 37ada49802 Fixed indentation to please tab nanny during unit tests. Lance Stout 2010-06-27 17:39:16 -0400
  • 5c76d969f7 Added a new SleekTest class that provides useful methods for test cases. Lance Stout 2010-06-27 17:33:43 -0400
  • 059cc9ccc4 Fixed several errors in xep_0033 plugin. Lance Stout 2010-06-27 17:32:16 -0400
  • 309c9e74eb Fixed error in setState() method. Lance Stout 2010-06-27 16:34:48 -0400
  • 6041cd1952 Fixed typo Lance Stout 2010-06-27 16:33:59 -0400
  • acb53ba371 Fixed tab and spacing issue to please the Tab Nanny during unit tests. Lance Stout 2010-06-27 10:14:21 -0400
  • bbf1cb8ba2 output traceback when plugin load fails Thom Nichols 2010-06-25 16:31:38 -0400
  • d22f6a2aa5 make scheduler thread a daemon to prevent shutdown hanging Thom Nichols 2010-06-25 16:30:45 -0400
  • 646a609c0b Added plugin and tests for XEP-0033, Extended Stanza Addresses. Lance Stout 2010-06-22 23:09:50 -0400
  • c0a6291fea More digest-md5 changes Brian Beggs 2010-06-21 09:23:56 -0400
  • f5d0466462 working on digest-md5 authentication Brian Beggs 2010-06-18 09:51:29 -0400
  • f659e3081e Merge remote branch 'tom/hacks' Brian Beggs 2010-06-10 10:52:58 -0400
  • 4fccd77685 Merge branch 'hacks' of git@github.com:tomstrummer/SleekXMPP into hacks Tom Nichols 2010-06-08 10:40:15 -0400
  • bf2bf29fc6 fixed mis-named variable, doc typo and using conformant Condition methods. 0.9-conn-fixes1 Thom Nichols 2010-06-08 09:02:51 -0400
  • 8bb0f5e34c Needed to use copy.deepcopy() to copy XML objects to make sure that the entire tree is copied. Lance Stout 2010-06-07 19:55:39 -0400
  • 34dc236126 added documentation for transition_ctx and removed some superfluous comment lines Thom Nichols 2010-06-07 14:41:42 -0400
  • 9464736551 added __str__ Thom Nichols 2010-06-07 13:58:15 -0400
  • 47f1fb1690 context manager now returns a boolean 'result' as the context variable to indicate whether the transition timed out or if you are actually locked when entering the context body Thom Nichols 2010-06-07 13:43:37 -0400
  • 66cf0c2021 context manager is working but there's a fatal flaw: inside the body of the 'with' statement, there's no way to tell whether or not the transition occurred or timed out. Thom Nichols 2010-06-07 13:16:02 -0400
  • 3c939313d2 Modified basexmpp.event() to pass a copy of the event data to each handler. Lance Stout 2010-06-06 23:19:07 -0400
  • 9962f1a664 Added a __copy__ method to both ElementBase and StanzaBase. Lance Stout 2010-06-06 23:12:54 -0400
  • e7c37c4ec5 connect uses the new function-on-state-transition so when the connect method returns you are guaranteed to be either in the 'connected' or 'disconnected' state. Could remove the 'connecting' state except uses it. Thom Nichols 2010-06-04 17:00:51 -0400
  • 1aa34cb0fc Merge remote branch 'tom/hacks' Brian Beggs 2010-06-04 12:52:52 -0400
  • 253de8518c Modified xmlstream.py to pass a clean stanza object to each stream handler. Lance Stout 2010-06-03 22:42:11 -0400
  • 919c8c5633 tweaked connectTCP call slightly to reduce possibility of 'connecting' state limbo Thom Nichols 2010-06-03 15:21:26 -0400
  • f54501a346 added function execution on transition, and more unit tests. Thom Nichols 2010-06-03 14:12:06 -0400
  • d20cd6b3e6 added function execution on transition, and more unit tests. Thom Nichols 2010-06-03 13:51:11 -0400
  • 3f96226e29 Added additional logging when a plugin fails to import correctly. Brian Beggs 2010-06-03 10:02:55 -0400
  • 71d72f431f Merge remote branch 'tom/hacks' Brian Beggs 2010-06-03 09:54:48 -0400
  • da6e1e47dc whups, somehow I lost the 'connecting' lock in connect() Thom Nichols 2010-06-03 08:09:09 -0400
  • 2f0f18a8c6 added function to retrieve the current state Thom Nichols 2010-06-03 08:07:56 -0400
  • 1c32668e18 fixed quiesce algorithm; state transition if connect fails; note about use_tls instance variable. Thom Nichols 2010-06-03 07:47:27 -0400
  • a38735cb2a added very, very, very basic atom stanza Nathan Fritz 2010-06-02 15:54:44 -0700
  • e700a54d11 Return result of iq.send() for disco requests. Events are still triggered, but now the caller can determine if there was a timeout. Lance Stout 2010-06-02 15:59:10 -0400
  • 6469cdb4ca Merge branch 'develop' of git://github.com/fritzy/SleekXMPP into develop Lance Stout 2010-06-02 15:57:18 -0400
  • 77bff9cce7 Merge branch 'hacks' of git@github.com:tomstrummer/SleekXMPP into hacks Tom Nichols 2010-06-02 15:45:51 -0400
  • 1f3cfb98f1 Merge branch 'master' into hacks Thom Nichols 2010-06-02 14:18:46 -0400
  • 4295a66c70 reconnection quiesce logic Thom Nichols 2010-06-02 14:18:09 -0400
  • 8227affd7f removed unnecessary flags and arguments from disconnect method Thom Nichols 2010-06-02 14:17:36 -0400
  • 3a2f989c5e Merge branch 'master' into hacks Thom Nichols 2010-06-02 14:15:07 -0400
  • 85a2715c7d hack fix for session before bind Nathan Fritz 2010-06-02 12:44:54 +0800
  • b03e6168a8 if binding and session are advertised in the same go, do session first Nathan Fritz 2010-06-02 12:40:52 +0800
  • 2a43f59a58 added try/catch block to plugin loading Brian Beggs 2010-06-02 20:45:42 +0800
  • 184f7cb8a4 moddified plugin loading so plugins located outside of the plugins directory in sleek may be loaded. Added optional argument pluginModule that is a string that represents the module the desired plugin should be loaded from. Brian Beggs 2010-06-02 20:28:49 +0800
  • e1aa4d0b93 Added .pydevproject to the .gitignore Brian Beggs 2010-06-02 19:34:43 +0800
  • db4989c66d Merge remote branch 'tom/hacks' Brian Beggs 2010-06-02 12:49:54 -0400
  • 7930ed22f2 overhauled state machine. Now allows for atomic transitions. Next step: atomic function calls (and maybe 'handlers') on state transition. Thom Nichols 2010-06-02 12:39:54 -0400
  • b0066f3ef4 added try/catch block to plugin loading Brian Beggs 2010-06-02 08:45:42 -0400
  • c0457cf5d0 moddified plugin loading so plugins located outside of the plugins directory in sleek may be loaded. Added optional argument pluginModule that is a string that represents the module the desired plugin should be loaded from. Brian Beggs 2010-06-02 08:28:49 -0400
  • 59b8406573 Added .pydevproject to the .gitignore Brian Beggs 2010-06-02 07:34:43 -0400
  • 686943a2ec Merge remote branch 'tom/hacks' Brian Beggs 2010-06-02 07:32:33 -0400
  • 18e27d65ce Merge branch 'develop' of github.com:fritzy/SleekXMPP into develop Nathan Fritz 2010-06-01 21:45:15 -0700
  • 0c39567f20 hack fix for session before bind Nathan Fritz 2010-06-01 21:44:54 -0700
  • f5491c901f if binding and session are advertised in the same go, do session first Nathan Fritz 2010-06-01 21:40:52 -0700
  • 060b4c3938 Merge branch 'hacks' of github.com:tomstrummer/SleekXMPP Thom Nichols 2010-06-01 22:55:01 -0400
  • 49f5767aea merged changes from fritzy Thom Nichols 2010-06-01 22:54:30 -0400
  • 4eb210bff5 fixed some major reconnection errors Thom Nichols 2010-06-01 22:51:49 -0400
  • 1780ca900a merged a lot of fritzy's changes Thom Nichols 2010-06-01 22:40:37 -0400
  • f5cae85af5 Make sure that the id parameter used in xmpp.makeIq is converted to a string. Lance stout 2010-06-01 10:52:37 -0400
  • 01e8040a07 Added additional parameter to xep_0030's getInfo and getItems methods. Lance stout 2010-06-01 10:51:03 -0400
  • e6c2fde283 included jobs plugin Nathan Fritz 2010-06-01 04:57:39 +0800
  • ecf902bf16 Scheduler waits too longer, and pubsubstate registration was backwards Nathan Fritz 2010-05-31 18:36:25 +0800
  • d76c0931ef Added missing 'internal-server-error' condition to error stanza interface. Lance stout 2010-05-29 03:22:35 +0800
  • e18793152f Touched up the style of creating an Iq stanza. Lance stout 2010-05-28 22:45:48 +0800
  • e388680269 Added 'resource-constraint' to the list of error conditions. Lance stout 2010-05-28 22:26:20 +0800
  • bee42e4a2f Added unit tests for the new XEP-0030 stanza objects. All pass. (cherry picked from commit e1b814f27bf160f20bb30c315ca30769d217482d) Lance Stout 2010-05-26 21:40:12 +0800
  • 8e3227ae5e Updated the XEP-0030 plugin to work with stanza objects instead of manipulating XML directly. Lance Stout 2010-05-26 21:34:01 +0800
  • 257bcadd96 control-c fixes Nathan Fritz 2010-05-29 10:19:28 +0800
  • 3e5cdc8664 added pubsubjobs test Nathan Fritz 2010-05-27 19:59:41 +0800
  • 194e6bcb51 added pubsub state stanzas and scheduled events Nathan Fritz 2010-05-27 19:58:57 +0800
  • 2e7024419a adding scheduler Nathan Fritz 2010-05-27 09:32:28 +0800
  • 5235313aab added muc room to readme Nathan Fritz 2010-05-27 02:46:56 +0800
  • a2719b0bb0 plugins now are checked for post_init having ran when process() is called Nathan Fritz 2010-05-27 01:51:51 +0800
  • 71ad715caa Changed example.py to register first Xep_0030. Hernan E Grecco 2010-05-26 06:28:08 +0800
  • d452085049 Fixed error registering a plugin. To add a feature to another plugin, it should look into xmpp.plugin dict Hernan E Grecco 2010-05-26 06:10:34 +0800
  • 8b3b8aca9e updated README, index fix for component Nathan Fritz 2010-05-25 10:33:24 +0800
  • e00dea7c0c Added a flag to registerPlugin to control calling the plugin's post_init method. Lance Stout 2010-05-23 01:30:49 +0800
  • 520bf72e11 Modified the return values for several methods so that they can be chained. Lance Stout 2010-05-22 22:40:30 +0800
  • 040f426f1a Added the error attribute 'code' to the Error object interface. Lance Stout 2010-05-22 22:39:35 +0800
  • 226b0e4297 added plugin indexing to components Nathan Fritz 2010-05-25 05:27:13 +0800
  • 0b2cd176b1 added test_events and testing new del_event_handler Nathan Fritz 2010-05-21 04:09:04 +0800
  • 56b5cbe5b1 Added del_event_handler to remove handler functions for a given event. Lance Stout 2010-05-20 23:17:22 +0800
  • aa916c9ac8 included jobs plugin Nathan Fritz 2010-05-31 13:57:39 -0700
  • 332eea3b3b Make sure that the node is alway set in disco responses. Lance stout 2010-05-31 13:35:15 -0400