Lance Stout
357406d801
Map <group /> elements with no content to '' instead of None.
2012-09-01 13:56:48 -07:00
Lance Stout
19a78f63f4
Merge branch 'master' into develop
2012-08-24 11:51:03 -07:00
Lance Stout
c7ec6a72cd
Add catch-all chatstate event.
2012-08-24 11:47:21 -07:00
Florian Fieber
e68b07dbce
Fix get_blocked() in XEP-0191
2012-08-24 11:44:56 -07:00
Lance Stout
1ca0c46333
Special plugin loading case for xep_0115 no longer needed.
2012-08-23 00:23:32 -07:00
Florian Fieber
e510875f64
Fix certificate expiration scheduler
...
timedelta.seconds does not store the total seconds of a time span.
Internally, seconds is the next smaller unit to days, hence
timedelta.seconds will never exceed (or reach) the number of seconds
in a day (60*60*24=86400)
2012-08-23 00:22:22 -07:00
Florian Fieber
f52a10b061
Fix get_blocked() in XEP-0191
2012-08-23 03:57:05 +02:00
Florian Fieber
09bec1c4fe
Fix certificate expiration scheduler
...
timedelta.seconds does not store the total seconds of a time span.
Internally, seconds is the next smaller unit to days, hence
timedelta.seconds will never exceed (or reach) the number of seconds
in a day (60*60*24=86400)
2012-08-19 16:40:22 +02:00
Lance Stout
ff28b0a005
Merge branch 'master' into develop
2012-08-17 10:18:11 -07:00
Lance Stout
8a03bd72ae
Ensure that auth is done based on the original, requested JID and not on the bound JID.
2012-08-17 10:17:35 -07:00
Lance Stout
a249f8736a
Merge branch 'master' into develop
2012-08-14 11:06:54 -07:00
Lance Stout
f0e1fc5aad
Fix using PLAIN over older SSL method.
2012-08-14 11:06:36 -07:00
Lance Stout
f09adf0014
Merge branch 'master' into develop
2012-08-14 09:55:05 -07:00
Lance Stout
c6ac64ed2d
Help prevent race condition dealing with auto_reconnect
2012-08-14 09:54:38 -07:00
Lance Stout
04dc68f5f6
Merge branch 'master' into develop
2012-08-13 11:12:41 -07:00
Lance Stout
92be051450
Handle Iq errors/timeouts in XEP-0153 hash reset.
2012-08-13 11:09:35 -07:00
Lance Stout
5c25208fb5
Merge branch 'master' into develop
2012-08-12 22:36:23 -07:00
Lance Stout
779c258e27
Fix ISO date parsing fallback.
...
Closes issue #194
2012-08-12 22:35:42 -07:00
Lance Stout
962dfad216
Merge branch 'master' into develop
2012-08-10 14:15:55 -07:00
Lance Stout
f7a710e55b
Add abort() method to kill the session and stop all processing without properly closing the stream.
2012-08-10 14:12:05 -07:00
Lance Stout
814a50e36f
Fix handling state machine lock when quick exiting.
2012-08-10 14:11:44 -07:00
Lance Stout
230465b946
Fix unicode conversion utility.
2012-08-10 12:41:29 -07:00
Lance Stout
d11a67702e
Exit transition immediately if already in the desired state.
2012-08-10 12:41:02 -07:00
Lance Stout
4e12e228cb
Fix tracking service name for DIGEST-MD5
2012-08-10 12:40:28 -07:00
Lance Stout
4a94aeba49
Save a user's chosen, persistent nickname in the MUC roster data as 'alt_nick'
...
The use of <nick /> elements in MUCs is now discouraged in XEP-0172, however.
2012-08-07 19:33:17 -07:00
Lance Stout
75d904ed01
Merge branch 'master' into develop
2012-08-07 01:40:29 -07:00
Lance Stout
aebcf6ff82
Re-add connection delay after exhausting DNS records.
2012-08-07 01:38:15 -07:00
Lance Stout
8c2ece3bca
Ensure self._der_cert exists even if no certs are used.
2012-08-04 21:37:46 -07:00
Lance Stout
80a90a6221
Prevent auto_reconnect interference when disconnecting.
2012-08-04 21:10:45 -07:00
Lance Stout
f81d5e4bd6
Merge branch 'master' into develop
2012-08-02 13:47:37 -07:00
Lance Stout
2324c90232
Ensure default authzids are handled.
2012-08-02 13:47:06 -07:00
Lance Stout
2f65fdbc76
Merge branch 'master' into develop
2012-08-01 23:03:56 -07:00
Lance Stout
59ff08174f
Fix SASL exceptions in Py3
2012-08-01 17:43:38 -07:00
Lance Stout
2f4149c7d0
Merge branch 'master' into develop
2012-08-01 11:11:54 -07:00
Lance Stout
b84e359770
Use the proper mappings for nodeprep.
2012-08-01 11:11:40 -07:00
Lance Stout
fb4275648c
Merge branch 'master' into develop
2012-08-01 09:05:47 -07:00
Lance Stout
475ccfa8dc
Use correct method for getting channel binding.
2012-08-01 09:04:58 -07:00
Lance Stout
267c24c8ef
Fix encoding issue in Python3.
2012-08-01 09:04:41 -07:00
Lance Stout
06a9d9fc30
Merge branch 'master' into develop
...
Conflicts:
sleekxmpp/thirdparty/__init__.py
2012-07-31 21:33:19 -07:00
Lance Stout
1383ca19b5
Fix disco in XEP-0050 plugin.
...
Closes issue #191
2012-07-31 09:20:57 -07:00
Lance Stout
4c3ff2abab
Add XEP-0242 plugin for 2010 Client Compliance
2012-07-30 22:07:49 -07:00
Lance Stout
7c6ef18e4f
Add initial support for XEP-0016 Privacy Lists
2012-07-30 22:07:24 -07:00
Lance Stout
3bd84b8d27
Ignore roster updates with unrecognized subscription values.
2012-07-30 19:44:13 -07:00
Lance Stout
bc8b5774ac
Fix logging of SASL errors.
2012-07-30 19:43:49 -07:00
Lance Stout
8009b0485e
Add stream feature for server support of subscription pre-approvals.
2012-07-30 19:30:01 -07:00
Lance Stout
8742a56b3e
Actually commit file of byte and hash utilities.
2012-07-30 19:29:33 -07:00
Lance Stout
a792bcdafe
Ensure that sasl mechs that don't require security options work.
2012-07-30 19:15:10 -07:00
Lance Stout
167d1ce97b
Add fields for setting client cert and key for SASL EXTERNAL.
2012-07-30 19:15:10 -07:00
Lance Stout
695cd95657
Update and integrate Suelta.
2012-07-30 19:15:10 -07:00
Lance Stout
44ce01a70b
Merge branch 'master' into develop
2012-07-30 09:08:58 -07:00
Lance Stout
e4b4c67637
Bump version to 1.1.10
2012-07-30 09:04:15 -07:00
Lance Stout
422e77ae40
Don't wait to retry connection if out of DNS records.
2012-07-29 17:26:04 -07:00
Lance Stout
5ae6c8f8fa
Add support for XEP-0131: Standard Headers and Internet Metadata
2012-07-28 01:06:21 -07:00
Lance Stout
54656b331a
Restrict caps updates to available presences (not subscriptions, etc).
2012-07-27 15:51:35 -07:00
Lance Stout
9047b627a4
Only broadcast vCard hashes for available presences (not subscriptions, etc).
2012-07-27 15:48:15 -07:00
Lance Stout
6645a3be40
Compile JID pattern regex.
2012-07-27 11:24:01 -07:00
Lance Stout
c2189b4ecd
Merge branch 'master' into develop
2012-07-27 10:45:52 -07:00
Jonas Wielicki
e3fab66dfb
Allow tasks to remove themselves during execution
...
The scheduler class is now capable with dealing with tasks which remove
themselves from the scheduler during execution.
Additionally, some optimizations were applied by use of iterators and
some functions better suited for the purpose.
Please peer-review, all tests pass.
2012-07-27 10:45:23 -07:00
Lance Stout
5867f08bf1
Improve docs and fix typo in stringprep profiles.
2012-07-26 23:35:23 -07:00
Lance Stout
a06fa2de67
Enhance plugin config with attribute accessors.
...
This makes updating the config after plugin initialization much easier.
2012-07-26 23:04:16 -07:00
Lance Stout
c9b2cf6043
Merge branch 'master' into develop
2012-07-26 12:24:34 -07:00
Lance Stout
35396d2977
Don't include a 'from' JID when requesting vCards as a client.
2012-07-26 11:55:54 -07:00
Lance Stout
3bff743d9f
Fix logging statement for MUC invitations.
2012-07-26 11:53:07 -07:00
Lance Stout
5a878f829b
Fix error with session binding in components.
2012-07-26 11:50:59 -07:00
Lance Stout
16ec0f151a
Merge branch 'master' into develop
2012-07-25 01:47:26 -07:00
Lance Stout
94c749fd5a
Fix avatar hash advertising.
2012-07-25 01:36:31 -07:00
Lance Stout
7b80ed0807
Substitute a blank JID for the boundjid in API calls.
2012-07-25 01:33:44 -07:00
Lance Stout
98b7e8b10a
Fix initializing plugins in stanzas with a language set.
2012-07-25 01:33:17 -07:00
Lance Stout
c42f1ad4c7
Merge branch 'master' into develop
2012-07-24 20:01:18 -07:00
Lance Stout
9d8de7fc15
Fix publish vcard avatars, and PEP avatar metadata.
2012-07-24 19:43:39 -07:00
Lance Stout
70883086b7
Modify update_roster() to only change the information provided.
...
Before: Not specifying the groups, name, etc would remove them from the
roster entry.
After: Any parameters not specified are populated with the current
roster entry's values.
2012-07-24 16:48:24 -07:00
Lance Stout
9a08dfc7d4
Add support for using CDATA for escaping.
...
CDATA escaping is disabled by default, but may be enabled by setting:
self.use_cdata = True
Closes issue #114
2012-07-24 03:25:55 -07:00
Lance Stout
3e43b36a9d
Standardize importing of queue class.
...
This will make it easier to enable gevent support.
2012-07-24 02:39:54 -07:00
Lance Stout
352ee2f2fd
Fix JID validation bugs, add lots of tests.
2012-07-24 01:43:20 -07:00
Lance Stout
78aa5c3dfa
Add more validation for 0 length JID components.
2012-07-24 01:43:20 -07:00
Lance Stout
613323b5fb
Finish docstrings for jid.py
2012-07-24 01:43:20 -07:00
Lance Stout
6c4b01db8a
Add plugin for advertising XEP-0106 support.
2012-07-24 01:43:20 -07:00
Lance Stout
d06897a635
Add backwards compatibility shim for the old jid.py location.
2012-07-24 01:43:20 -07:00
Lance Stout
1600bb0aaf
Cleanup and docs.
2012-07-24 01:43:20 -07:00
Lance Stout
b5c9c98a8b
Add JID escaping support.
2012-07-24 01:43:20 -07:00
Lance Stout
e4e18a416f
Add validation for JIDs.
2012-07-24 01:43:20 -07:00
Lance Stout
01cc0e6def
Add 'by' attribute for error stanzas.
2012-07-23 21:48:19 -07:00
Lance Stout
a3ec1af205
Merge branch 'master' into develop
2012-07-23 01:52:55 -07:00
ekini
d571d691a7
old clients still support xep-184/1.0 version
...
Now psi (and probably miranda) correctly receive delivery receipts.
2012-07-23 01:52:45 -07:00
Lance Stout
2e580304f9
Merge branch 'master' into develop
2012-07-22 14:02:26 -07:00
Lance Stout
fb221a8dc0
Add XEP-0133 support, which just makes the appropriate XEP-0050 calls.
2012-07-22 13:58:23 -07:00
Lance Stout
459e1ed345
Handle Windows newlines in XEP-0027.
...
Closes issue #184
2012-07-22 12:15:46 -07:00
Lance Stout
6680c244f5
Fix deprecation warning for setting self.resource
2012-07-20 22:04:36 -07:00
Lance Stout
06423964ec
Fix description of XEP-0222 plugin.
2012-07-20 22:03:17 -07:00
Lance Stout
5492e9028d
Merge branch 'master' into develop
2012-07-20 18:15:54 -07:00
Lance Stout
81d3723084
Add event for vCard avatar update.
2012-07-20 18:07:27 -07:00
Lance Stout
32e798967e
Fix see-other-host handling if no host is actually given. Also, limit number of consecutive redirection attempts.
2012-07-20 15:28:18 -07:00
Lance Stout
060c9ab679
Merge branch 'master' into develop
2012-07-20 00:25:32 -07:00
Lance Stout
acd9c32a9f
Bump version to 1.1.9
2012-07-20 00:17:53 -07:00
Lance Stout
b8581b0278
Of course Peter goes and changes the XEP title the day after I implement it.
2012-07-19 23:59:35 -07:00
Lance Stout
917faecdcb
Fix issue of roster data being split across multiple rosters.
...
Resolved by always normalizing JIDs to bare form, regardless of if they
are JID objects or strings.
Also simplified related code to prefer use of JID objects instead of
strings so they don't need to be parsed multiple times.
2012-07-19 23:54:18 -07:00
Lance Stout
78f0325398
Merge branch 'master' into develop
2012-07-16 20:13:35 -07:00
Lance Stout
f6edaa56a6
Add plugin for XEP-0191: Simple Communications Blocking
2012-07-16 20:10:14 -07:00
Lance Stout
51fee28bf4
Add a warning log if dnspython is not found for SRV lookup.
...
Closes issue #183
2012-07-16 19:38:50 -07:00
Lance Stout
e8a3e92ceb
Update plugins to use session_bind handler for disco, and use plugin_end
2012-07-10 01:37:44 -07:00