1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-23 04:22:05 +01:00
Commit graph

794 commits

Author SHA1 Message Date
Jay Kline
0014cff963 Callback handler was not getting set properly
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11018 b35dd754-fafc-0310-a699-88a17e54d16e
2009-05-27 16:51:39 +00:00
Jeff Williams
fdca9b339d Fix Smack-225
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10961 b35dd754-fafc-0310-a699-88a17e54d16e
2009-02-24 00:24:06 +00:00
Matt Tucker
ac2c9b09dc A packet reply timeout can be set which applies to all methods (from Sid).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10950 b35dd754-fafc-0310-a699-88a17e54d16e
2008-12-29 18:35:35 +00:00
Matt Tucker
afe2b9b584 Timeout should only apply to remote commands.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10947 b35dd754-fafc-0310-a699-88a17e54d16e
2008-12-16 23:00:45 +00:00
Matt Tucker
1bdacfb65e Added method so that timeout can be specified when executing ad-hoc command.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10946 b35dd754-fafc-0310-a699-88a17e54d16e
2008-12-16 22:33:57 +00:00
Matt Tucker
41733effe9 Updated handling of offline presence.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10916 b35dd754-fafc-0310-a699-88a17e54d16e
2008-11-21 04:54:59 +00:00
Matt Tucker
b499581c7e Adding handling of error presence packets (SMACK-260).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10907 b35dd754-fafc-0310-a699-88a17e54d16e
2008-11-19 20:54:05 +00:00
Matt Tucker
e6f29ee641 Added ability to register a local command using a factory. Improved ad-hoc command tests.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10905 b35dd754-fafc-0310-a699-88a17e54d16e
2008-11-18 23:12:10 +00:00
Matt Tucker
0540d2e38a Cleanup.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10881 b35dd754-fafc-0310-a699-88a17e54d16e
2008-11-13 21:53:18 +00:00
Matt Tucker
18d38845e9 Javadoc cleanup.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10879 b35dd754-fafc-0310-a699-88a17e54d16e
2008-11-13 18:34:03 +00:00
Matt Tucker
8cd6f3ef1a Javadoc formatting.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10876 b35dd754-fafc-0310-a699-88a17e54d16e
2008-11-13 18:31:37 +00:00
Matt Tucker
5e559d0ee2 Code cleanup.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10875 b35dd754-fafc-0310-a699-88a17e54d16e
2008-11-13 18:30:49 +00:00
Matt Tucker
334838d28e HTML and comment cleanup. Small API refactors. Moved use of StringBuffer to StringBuilder.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10865 b35dd754-fafc-0310-a699-88a17e54d16e
2008-11-03 16:28:57 +00:00
Matt Tucker
b7e2c5b108 Fixed Javadoc warnings.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10858 b35dd754-fafc-0310-a699-88a17e54d16e
2008-10-31 04:04:15 +00:00
Gaston Dombiak
1a3fb47b5f Fixed parsing of SUCCESS during SASL. SMACK-258
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10856 b35dd754-fafc-0310-a699-88a17e54d16e
2008-10-31 03:51:12 +00:00
Jeff Williams
4a917320aa Added a first version of Personal Event Publishing.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10853 b35dd754-fafc-0310-a699-88a17e54d16e
2008-10-30 21:29:17 +00:00
Matt Tucker
d42b40496d Formatting fixes.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10848 b35dd754-fafc-0310-a699-88a17e54d16e
2008-10-24 05:30:21 +00:00
Matt Tucker
181e5649fc Make the reaper thread a daemon thread; only start it when at least one session is created.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10847 b35dd754-fafc-0310-a699-88a17e54d16e
2008-10-24 05:22:26 +00:00
Gaston Dombiak
2da448d2fd Simplified list of #login methods in XMPPConnection.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10846 b35dd754-fafc-0310-a699-88a17e54d16e
2008-10-24 05:17:50 +00:00
Matt Tucker
73a302aef1 Formatting, Javadoc and other minor fixes.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10845 b35dd754-fafc-0310-a699-88a17e54d16e
2008-10-24 04:49:05 +00:00
Gaston Dombiak
2c93fc9e70 Use XMPP domain (and not hostname) for SASL. Confirm with Jay that we are not breaking other SASL mechanisms (DIGEST-MD5 works now)
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10844 b35dd754-fafc-0310-a699-88a17e54d16e
2008-10-24 03:54:21 +00:00
Matt Tucker
c6d72f8b01 Formatting, Javadoc and other minor fixes.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10843 b35dd754-fafc-0310-a699-88a17e54d16e
2008-10-24 03:51:21 +00:00
Gaston Dombiak
f94cd2a0d0 Reverted last change about reconnection. To force a reconnection just use XMPPConnection#connect()
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10841 b35dd754-fafc-0310-a699-88a17e54d16e
2008-10-24 02:12:39 +00:00
Daniel Henninger
fda687b6cb [SMACK-254] Now possible to log in without loading roster automatically.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10823 b35dd754-fafc-0310-a699-88a17e54d16e
2008-08-29 13:04:16 +00:00
Gaston Dombiak
f13c56dbb7 Updated javadoc.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10745 b35dd754-fafc-0310-a699-88a17e54d16e
2008-08-12 17:42:44 +00:00
Daniel Henninger
7f77fda9db Patch double committed for some reason. Also cleaned up a couple of pointless warnings.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10674 b35dd754-fafc-0310-a699-88a17e54d16e
2008-07-15 03:17:43 +00:00
Daniel Henninger
4c4cc77e42 [SMACK-226] Added proxy support via patch from Atul Aggarwal.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10673 b35dd754-fafc-0310-a699-88a17e54d16e
2008-07-15 02:59:21 +00:00
Jeff Williams
708284ca46 CS-4346 - Added method to send a stream instead of a file. Also added a way of getting the sid for a transfer. To be reviewed by Gato. Migrated from 3.0.4
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10556 b35dd754-fafc-0310-a699-88a17e54d16e
2008-06-19 18:06:32 +00:00
Gaston Dombiak
8d07e07379 Initial implementation of ad-hoc commands. SMACK-242
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10453 b35dd754-fafc-0310-a699-88a17e54d16e
2008-05-28 18:59:52 +00:00
Gaston Dombiak
babc992e11 Fixed SASL authentication that required a realm like DIGEST-MD5.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10429 b35dd754-fafc-0310-a699-88a17e54d16e
2008-05-23 00:42:16 +00:00
Gaston Dombiak
1cbfdcc7db Updated Base64 implementation. SMACK-241
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10408 b35dd754-fafc-0310-a699-88a17e54d16e
2008-05-19 22:56:15 +00:00
Gaston Dombiak
c795fd7423 Fixed typo condition name. SMACK-236
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10019 b35dd754-fafc-0310-a699-88a17e54d16e
2008-02-28 01:49:13 +00:00
Daniel Henninger
3a1a6b7830 Applied patch for full XEP-128 compliance from Guus.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9920 b35dd754-fafc-0310-a699-88a17e54d16e
2008-02-15 16:32:46 +00:00
Gaston Dombiak
9876d05d52 Fixed typo in SASL name.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9803 b35dd754-fafc-0310-a699-88a17e54d16e
2008-01-21 23:05:05 +00:00
Daniel Henninger
0a5229f7ad Changing PKCS to PKCS11 and config to library for proper terminology.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9692 b35dd754-fafc-0310-a699-88a17e54d16e
2007-12-27 16:38:25 +00:00
Daniel Henninger
a0021b17be We're using an inputstream now, not a string.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9690 b35dd754-fafc-0310-a699-88a17e54d16e
2007-12-27 16:17:58 +00:00
Daniel Henninger
5c92ced702 Checking for PKCS support in java and punting if it doesn't exist.
Using bytestream config instead of full config.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9689 b35dd754-fafc-0310-a699-88a17e54d16e
2007-12-27 16:15:57 +00:00
Daniel Henninger
048e5b679c [SMACK-235] Switched to a much faster, but also thread safe, concurrenthashmap for entries list.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9687 b35dd754-fafc-0310-a699-88a17e54d16e
2007-12-27 15:54:56 +00:00
Daniel Henninger
0a455fe195 This hasn't been updated to the proper version in a while.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9673 b35dd754-fafc-0310-a699-88a17e54d16e
2007-12-26 01:28:22 +00:00
Daniel Henninger
e5791ee5c6 Added ability to force an immediate reconnection. Not sure I'm fond of it, but it's doing the trick.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9669 b35dd754-fafc-0310-a699-88a17e54d16e
2007-12-23 23:25:02 +00:00
Daniel Henninger
882d47fb6c Silenced some stderr messages.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9552 b35dd754-fafc-0310-a699-88a17e54d16e
2007-12-04 03:14:32 +00:00
Daniel Henninger
bad22775e9 Fixed spelling for unsubscription_pending variable.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9548 b35dd754-fafc-0310-a699-88a17e54d16e
2007-12-03 00:00:03 +00:00
Daniel Henninger
c5507a5a28 Removed accidental commit.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9547 b35dd754-fafc-0310-a699-88a17e54d16e
2007-12-01 02:45:52 +00:00
Daniel Henninger
bf93dd6aee [SMACK-175] Returning UNSUBSCRIPTION_PENDING instead of SUBSCRIPTION_PENDING when the pending state is set to unsubscribe
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9546 b35dd754-fafc-0310-a699-88a17e54d16e
2007-12-01 02:45:11 +00:00
Jay Kline
e51e9432f2 Fixed a problem where not fully setting up PKI results in
failed logins.


git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9543 b35dd754-fafc-0310-a699-88a17e54d16e
2007-11-30 22:11:04 +00:00
Jay Kline
1b5203d24e Fix some ordering.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9539 b35dd754-fafc-0310-a699-88a17e54d16e
2007-11-30 20:02:01 +00:00
Jay Kline
d3ee0e2f3e Added support for key and trust stores when making SSL/TLS connections
that require the client authenticate itself.  This supports PKCS#11 devices.


git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9538 b35dd754-fafc-0310-a699-88a17e54d16e
2007-11-30 19:40:31 +00:00
Daniel Henninger
dbac260051 Added ability to set mime type of avatar.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9526 b35dd754-fafc-0310-a699-88a17e54d16e
2007-11-28 02:55:32 +00:00
Jay Kline
13b8d313ba Big change for authentication, which now supports more SASL mechanisms and
callbacks.  This should address issues SMACK-210 and SMACK-142, as well as 
set the stage for SMACK-234. 



git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9498 b35dd754-fafc-0310-a699-88a17e54d16e
2007-11-14 16:27:47 +00:00
Matt Tucker
85a92b600b License header fixes.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@9227 b35dd754-fafc-0310-a699-88a17e54d16e
2007-09-26 23:14:51 +00:00