Florian Schmaus
469d4fb0dc
[time] Use IqBuilder pattern and improve API
2021-05-02 17:16:58 +02:00
Florian Schmaus
cd33b885ae
[xmlparser] Add SmackXmlParser.newXmlParser(InputStream)
2021-05-02 17:16:58 +02:00
Florian Schmaus
a806595a77
[core] Move IqData construction API to the right place
...
AbstractIqBuilder is the wrong place for those methods, they belong in
IqData.
2021-05-02 17:16:58 +02:00
Florian Schmaus
6b14fcab75
[geoloc] Mark Builder constructor as deprecated
2021-05-02 17:16:58 +02:00
Florian Schmaus
6011d566cf
[geoloc] Do not use Time IQ for timezone operations
2021-05-02 17:16:58 +02:00
Florian Schmaus
5cd77ec741
[geoloc] Mark Builder class final
2021-05-02 16:32:42 +02:00
Florian Schmaus
70cb9e8a94
[resources] Use realpath instead of readlink in fix-java-javadoc.sh
2021-04-27 17:01:50 +02:00
Florian Schmaus
ba5c2e46d8
[smack-core] Fix javadoc of EmbeddedExtensionProvider
2021-04-27 17:01:50 +02:00
Florian Schmaus
65c363b19d
Merge pull request #470 from Fishbowler/fix_muc_javadoc
...
[sinttest] Tweaks to the muc test javadoc
2021-04-26 15:36:18 +02:00
Dan Caseley
fc191e4e19
[sinttest] Add XEP reference for muc destroy test
2021-04-26 13:28:00 +01:00
Dan Caseley
b541397119
[sinttest] Fix typo in muc XEP reference for test
2021-04-26 13:26:29 +01:00
Florian Schmaus
6a78e4ad09
[sinttest] Do not catch exceptions when destroying a MUC
...
If something goes wrong when destroying a MUC, we want to be notified
about it immediately, as further results of the integration test run
are unreliable anyway.
2021-04-26 09:42:20 +02:00
Florian Schmaus
a36251ff7d
Merge remote-tracking branch 'github/pr/469' into muc
2021-04-26 09:08:44 +02:00
Florian Schmaus
0c397294e1
Merge remote-tracking branch 'github/pr/468' into muc
2021-04-26 09:00:50 +02:00
Dan Caseley
920b686f29
Add kick presence tests
...
Inspired by OF-2240. Used to validate the problem, then test the fix.
2021-04-25 14:32:58 +01:00
Dan Caseley
642f5bde61
[sinttest] Fix ordering of parameters in muc assertEquals checks
2021-04-23 16:50:33 +01:00
Florian Schmaus
64c82ca0cf
[muc] Add MultiUserChat.destroy()
2021-04-23 17:34:47 +02:00
Florian Schmaus
c95c8264da
[muc] Improve javadoc of MultiUserChat.destory(String, EntityBareJid)
2021-04-18 21:38:55 +02:00
Florian Schmaus
8a91021a0e
[sinttest] Improve MultiUserChatIntegrationTest.tryDestroy(MultiUserChat)
2021-04-18 21:35:34 +02:00
Florian Schmaus
3d4e7938a7
Make ExtensionElement marker interface wrt. QNAME field
...
ExtensionElement is now a marker interface that requires all
implementation non-abstract classes to carry a static final QNAME
field (of type QName). This is verified by a new unit test.
Also FullyQualifiedElement is renamed to simply XmlElement. XmlElement
is used over ExtensionElement when implementing classes do not
statically know the qualified name of the XML elements they
represent. In general, XmlElement should be used sparingly, and every
XML element should be modeled by its own Java class (implementing
ExtensionElement).
2021-04-18 21:07:19 +02:00
Florian Schmaus
5493a22e44
Merge branch '4.4'
2021-04-18 17:25:14 +02:00
Florian Schmaus
961882ff7f
Add more QNAME fields to extension element classes
2021-04-18 17:23:34 +02:00
Florian Schmaus
36c7521ca2
[offline] Add OfflineMessageInfo.QNAME field
...
Fixes SMACK-905.
2021-04-18 17:17:48 +02:00
Florian Schmaus
b0abfe1bba
[offline] Make OfflineMessageManager.NAMESPACE public
2021-04-18 17:16:38 +02:00
Florian Schmaus
2b1097a743
[README] Update README.md
2021-04-15 10:20:24 +02:00
Florian Schmaus
fbddd074bc
[gradle] Do not use deprecated 'compile' directive
2021-04-14 20:30:51 +02:00
Florian Schmaus
6b3e41d591
Merge branch 'master' of github.com:igniterealtime/Smack
2021-04-12 14:06:15 +02:00
Florian Schmaus
35c645e24b
Merge pull request #446 from Fishbowler/add_muc_tests
...
Add MUC tests
2021-04-08 10:23:37 +02:00
Dan Caseley
aff6283798
Add MUC tests for presence & self-presence for role & affiliation changes
2021-04-07 10:33:38 +01:00
Dan Caseley
b7709f583d
Make muc.join() mirror muc.leave() and return the self-presence
2021-04-07 10:33:38 +01:00
Florian Schmaus
138725a22f
[sinttest] Log testPackages to ISE's message
...
This means we the reason for the LOGGER.info() call is now gone.
2021-04-05 15:02:58 +02:00
Florian Schmaus
aefbb28875
[websocket] Fix getStreamFromOpenElement()
2021-04-01 17:43:07 +02:00
Florian Schmaus
c484b72fb7
[sinttest] Fix buildWebsocketDescriptor()
2021-04-01 17:22:23 +02:00
Florian Schmaus
0c4b5d3ff9
[sinttest] Log if sinttest packages are provided via command line
2021-04-01 17:22:06 +02:00
Florian Schmaus
cd10d1b40c
[sinttest] Downgrade org.refelections:reflections to 0.9.11
2021-04-01 17:21:49 +02:00
Florian Schmaus
533695c1b4
[core] Properly reply to IQ requests
...
Properly reply to IQ requests with feature-not-implemented or
service-unavailable. In case there is no IQ request handler but the IQ
namespace is known, we reply with feature-not-implemented, otherwise
with service-unavailable.
2021-04-01 13:57:36 +02:00
Guus der Kinderen
252cea1149
SINT: MAM test does not require XEP-0441
...
The MAM integration test setup attepts to set MAM preferences (XEP-0441).
When a server does not support this XEP, the setup phase errors out, preventing
the tests from being executed.
There is no functional reason why tests shouldn't be run when XEP-0441 is not
supported: the tests can run against the default configuration of the MAM
service.
This commit ignores feature-not-implemented errors when MAM
preferences are set.
[Ignore only feature-not-implemented errors, log ignored errors)
Modified-by: Florian Schmaus <flo@geekplace.eu>
2021-04-01 13:13:42 +02:00
Florian Schmaus
090858f467
[xdata] Automatically fill required fields with a default value
2021-04-01 12:55:28 +02:00
Florian Schmaus
68edc8b9f5
[xdata] Allow FillableForm.write() ot overwrite already filled fields
2021-04-01 12:54:52 +02:00
Florian Schmaus
e6433a6870
Merge branch '4.4'
2021-03-31 12:26:25 +02:00
Florian Schmaus
8c57d34b97
Merge pull request #466 from Vshnv/master
...
Added proxy support for XEP-0363
2021-03-29 18:15:40 +02:00
Vshnv
4736d080a1
Added proxy support for XEP-0363
2021-03-29 19:01:58 +05:30
Vshnv
525db827a9
Added support for Java's Proxy class in ProxyInfo
2021-03-29 19:01:42 +05:30
Florian Schmaus
e04a3877fb
Merge branch '4.4'
2021-03-25 19:28:58 +01:00
Florian Schmaus
92f4aadfdc
[sasl] Avoid mechanisms that need a password when none is available
2021-03-25 15:01:15 +01:00
Florian Schmaus
72e11ebf71
[README] Fix typo; s/NOICE/NOTICE/
2021-03-25 15:00:07 +01:00
Florian Schmaus
33d735a42e
[core] Make Smack.getNoticeStream() more robust
...
Appearently simply calling ClassLoader.getSystemResourceAsStream()
works on Java SE but not on Android. But our FileUtils are able to
load the resource stream on Android.
2021-03-25 14:58:44 +01:00
Florian Schmaus
b58511d624
[core] Also provide incoming Nonzas to SmackDebugger
2021-03-25 14:51:25 +01:00
Florian Schmaus
5844bee1c3
[javadoc-overview] Disconnect the connection in example code
2021-03-25 12:23:39 +01:00
Florian Schmaus
a39d44ed1f
[javadoc-overview] Improve 'License' section
2021-03-25 12:23:19 +01:00