1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-06-16 16:44:48 +02:00
Commit graph

201 commits

Author SHA1 Message Date
Florian Schmaus c309e27853 Fix NPE in Testcases where 'createOfflineConnections() == true'. The change 13453 created the username and password array, which needs to be initilized even if the connection and the login is done manually
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13460 b35dd754-fafc-0310-a699-88a17e54d16e
2013-02-07 19:10:32 +00:00
Florian Schmaus b907d606d9 SMACK-352 removed duplicated headers, fixed svn keywords
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13459 b35dd754-fafc-0310-a699-88a17e54d16e
2013-02-07 19:10:22 +00:00
Florian Schmaus 6bbf425157 SMACK-352
- fixed wrong header
- replaced old Jive license with Apache 2.0 license
- added license header to files without

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13457 b35dd754-fafc-0310-a699-88a17e54d16e
2013-02-07 14:19:47 +00:00
rcollier 8c0b062629 Updates to SmackTestCase to properly provide the username and password for each connection. Test cases manually logging in now use these methods instead of wrongly assuming the username/password pattern.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13453 b35dd754-fafc-0310-a699-88a17e54d16e
2013-02-07 03:47:49 +00:00
Florian Schmaus 010ab0d07a VCardTest: Use VCard.equal() in order to test equality and not the String representation, since the elements within the vcard could be in a different order
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13435 b35dd754-fafc-0310-a699-88a17e54d16e
2013-02-04 13:33:28 +00:00
rcollier 1d36ae8db4 SMACK-391 Moved all date parsing into StringUtils and made it much more robust in handling multiple valid and invalid formats.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13428 b35dd754-fafc-0310-a699-88a17e54d16e
2013-02-04 03:45:37 +00:00
Florian Schmaus e4621df621 test-case.xml: Whitespace fixes, changed serverhost to localhost to reflect the settings in source code. This also makes it easier for new Smack developers to run the tests.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13386 b35dd754-fafc-0310-a699-88a17e54d16e
2013-01-04 11:47:59 +00:00
rcollier e08c8afe44 SMACK-363 Applied code cleanup patches for many generics related issues.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@13325 b35dd754-fafc-0310-a699-88a17e54d16e
2012-10-26 10:47:55 +00:00
rcollier 2150d07435 Merged the 3.2 Beta branch into trunk.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@12107 b35dd754-fafc-0310-a699-88a17e54d16e
2011-03-14 01:53:42 +00:00
rcollier 91c2b08d4a Had to remove the special characters in Spanish text due to failures in test cases.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@12023 b35dd754-fafc-0310-a699-88a17e54d16e
2011-02-07 00:36:26 +00:00
Henning Staib a5693609b2 add the ability to register for roster events before logging in (SMACK-156)
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11826 b35dd754-fafc-0310-a699-88a17e54d16e
2010-08-15 16:32:09 +00:00
Henning Staib 8b54f34153 merged branch improve_bytestreams in trunk
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11821 b35dd754-fafc-0310-a699-88a17e54d16e
2010-08-15 11:57:11 +00:00
rcollier ef74695a1b Issue SMACK-308: Fixed multiple bugs in XML generation.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11678 b35dd754-fafc-0310-a699-88a17e54d16e
2010-04-14 18:24:12 +00:00
Günther Niess 127319a821 SMACK-279: The XMPPConnection extends the new abstract Connection class
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11613 b35dd754-fafc-0310-a699-88a17e54d16e
2010-02-09 11:55:56 +00:00
rcollier 11a41e79ca SMACK-289 Added functionality for retrieving items when the user has multiple subscriptions
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11579 b35dd754-fafc-0310-a699-88a17e54d16e
2010-01-30 00:04:39 +00:00
rcollier e600fb02f5 SMACK-288 - Parser is now advanced correctly to the end tag when parsing multiple items.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11574 b35dd754-fafc-0310-a699-88a17e54d16e
2010-01-29 13:50:23 +00:00
rcollier 5718a52133 git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11571 b35dd754-fafc-0310-a699-88a17e54d16e 2010-01-28 19:52:20 +00:00
rcollier f9399d894e Added some tests to support OpenFire fixes
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11570 b35dd754-fafc-0310-a699-88a17e54d16e
2010-01-28 19:51:35 +00:00
rcollier 46cebe5e9e Added support for SHIM headers
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11347 b35dd754-fafc-0310-a699-88a17e54d16e
2009-10-28 22:41:14 +00:00
rcollier f7a1c750ad SMACK-272 Add support for XEP-0060 (pubsub)
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11346 b35dd754-fafc-0310-a699-88a17e54d16e
2009-10-28 22:38:40 +00:00
Michael Will 1edc69780b more work on generic
add ' quoting
fix IntegerInstantiation is more memory friendly

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11024 b35dd754-fafc-0310-a699-88a17e54d16e
2009-06-04 11:58:25 +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
root b840bed4a6 Try to clean up a pair of filenames that differ only by CaPITializATion
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10908 b35dd754-fafc-0310-a699-88a17e54d16e
2008-11-19 22:26:00 +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 ffb8cd914a Fixed test.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10882 b35dd754-fafc-0310-a699-88a17e54d16e
2008-11-14 00:59:48 +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 6051940177 Adding test.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10880 b35dd754-fafc-0310-a699-88a17e54d16e
2008-11-13 21:52:35 +00:00
Gaston Dombiak 995f319f1e Simplified list of #login methods in XMPPConnection.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10849 b35dd754-fafc-0310-a699-88a17e54d16e
2008-10-24 05:31:56 +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
Gaston Dombiak 5d9d7a7b80 Fixed & improved test cases.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@8790 b35dd754-fafc-0310-a699-88a17e54d16e
2007-07-23 02:06:30 +00:00
Gaston Dombiak 52958e64f7 1) Forced room to be non-anonymous
2) Fixed some errors.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@8623 b35dd754-fafc-0310-a699-88a17e54d16e
2007-06-22 20:29:17 +00:00
Matt Tucker 466b7e2d08 Fix offline presence info, including test case (SMACK-219).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@8275 b35dd754-fafc-0310-a699-88a17e54d16e
2007-05-10 22:48:24 +00:00
Gaston Dombiak c589001cd0 Added new test cases for message delivery with multiple resources.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7961 b35dd754-fafc-0310-a699-88a17e54d16e
2007-04-10 18:41:23 +00:00
Gaston Dombiak fc651bbf28 Removed debugger enabled by default. Use sytem property for that.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7956 b35dd754-fafc-0310-a699-88a17e54d16e
2007-04-10 01:49:32 +00:00
Thiago Camargo 6059fb7b82 Fixes in Negotiations
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7720 b35dd754-fafc-0310-a699-88a17e54d16e
2007-03-27 04:24:18 +00:00
Gaston Dombiak 44c5f274ea Added new test case for IQ packets sent to full JIDs of offline users.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7411 b35dd754-fafc-0310-a699-88a17e54d16e
2007-03-08 19:25:53 +00:00
Gaston Dombiak 9189d74d0a default username to use for test cases is now configurable. SMACK-206
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7329 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-28 23:59:28 +00:00
Matt Tucker 9356de64bd Test fixes.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7231 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-21 00:52:57 +00:00
Derek DeMoro 1f8cb4452b 1 - Small fix in Roster to return unavailable presence with from.
2 - Throw exception if parsing of vCard fails.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7217 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-20 17:02:39 +00:00
Matt Tucker 2e5f42aa39 Added support for offline presence, code cleanup (SMACK-74, SMACK-201).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7185 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-19 08:35:05 +00:00
Matt Tucker fb0cb0476a Improved clean-up logic.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7184 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-19 08:25:20 +00:00
Thiago Camargo 42d1ecf83b PacketFilter Remotion Test Case
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7169 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-16 01:59:01 +00:00
Gaston Dombiak 7ebaba10e2 Fixed test cases to consider that an unavailable presence is now returned for offline users or non-existent users.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7160 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-16 00:13:18 +00:00
Gaston Dombiak f5834d3ed5 Fixed case of resource.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7112 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-14 19:53:18 +00:00
Matt Tucker 98bf0d8cfb Copyright update.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@7071 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-12 00:59:05 +00:00
Gaston Dombiak d606014679 Modified license to apache.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6929 b35dd754-fafc-0310-a699-88a17e54d16e
2007-02-02 18:30:24 +00:00
Matt Tucker 8e750912a7 Re-worked security settings, clean-up of connection config, fixed concurrency when shutting down the packet writer.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6666 b35dd754-fafc-0310-a699-88a17e54d16e
2007-01-11 19:01:24 +00:00
Matt Tucker 92d1de2dce Initial cut of constructor re-factor (SMACK-184).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6532 b35dd754-fafc-0310-a699-88a17e54d16e
2007-01-04 23:00:58 +00:00
Gaston Dombiak 3915eae215 Small fixes and update to latest Chat API.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6531 b35dd754-fafc-0310-a699-88a17e54d16e
2007-01-04 22:34:06 +00:00
Gaston Dombiak d63a4f1fbe Improved teardown logic. An error while deleting an account does no longer stop the tear down process (i.e. deletion of the other accounts).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6530 b35dd754-fafc-0310-a699-88a17e54d16e
2007-01-04 22:32:45 +00:00