9c7a027b62
Fix NPE
2018-06-09 13:59:36 +02:00
c287345ce7
Fix fetchDeviceList bug, async listeners
2018-06-09 13:59:36 +02:00
a10bab80cb
Fix deviceList listener and subscribe to lists
2018-06-09 13:59:36 +02:00
daf9ef94cd
Delete old classes, fix javadoc errors
2018-06-09 13:59:36 +02:00
50f8a4f1fe
Reimplement encryption, solve compiler errors
2018-06-09 13:59:36 +02:00
e5cdd89edc
Ignore stale devices when encrypting
2018-06-09 13:59:36 +02:00
7bff6e7d99
Fix some issues and delete old code.
2018-06-09 13:59:36 +02:00
2db7717abc
Temp commit
2018-06-09 13:59:01 +02:00
4e5cf82795
Simplfiy OmemoKeyUtil generics
2018-06-09 13:57:51 +02:00
b0acf0bcc3
Temp commit
2018-06-09 13:57:51 +02:00
0530449e7e
Fix rebase errors
2018-06-09 13:53:04 +02:00
85171ee71b
Temp commit
2018-06-09 13:53:04 +02:00
9a779ff8aa
Refactoring
2018-06-09 13:53:04 +02:00
53b70da90e
Add SessionRenegotiationIntegrationTest
2018-06-09 13:53:04 +02:00
36dae1ece4
Move trust management from OmemoStore to TrustCallback
...
Refactor various method names to more precisely reflect
what happens
Introduce CachingOmemoStore, SignalCachingOmemoStore,
which can be either used standalone as ephemeral OmemoStore
implementations, or as wrappers around other implementations
to add a cache layer for reduced storage access.
Get rid of "isFreshInstallation". Keys are now - given
that they don't exist - generated on startup.
Bump libsignal-protocol-java to 2.6.2
Prevent offline access to some functions which require
authenticated connection
Create more advanced unit tests and integration tests
Add async initialization function for OmemoManager
Remove session handling from smack-omemo.
This is now handled - in case of smack-omemo-signal -
solely by libsignal-protocol-java
2018-06-09 13:53:04 +02:00
Florian Schmaus
fb7a22a761
Smack 4.2.5-SNAPSHOT
2018-06-09 13:44:40 +02:00
Florian Schmaus
a89f3458f2
Merge pull request #239 from vanitasvitae/fileutils
...
Add method to delete directory
2018-05-22 09:40:21 +02:00
168e9398e3
Add method to delete directory
2018-05-21 12:35:25 +02:00
27c77fcb1c
Add utility methods
...
ParserUtils: getShortAttribute
XmlStringBuilder: attribute(String, long), optAttribute(String, Long)
2018-05-20 11:27:52 +02:00
Florian Schmaus
84f282befe
Add XMPPConnection trySendStanza()
2018-05-16 14:49:53 +02:00
Florian Schmaus
c7697ea9d0
Add ArrayBlockingQueueWithShutdown.tryPut(E)
2018-05-16 07:57:50 +02:00
Florian Schmaus
59ac41faef
README.md: Fix openhub.net link, remove Flattr
2018-05-13 21:21:49 +02:00
Florian Schmaus
0a55ca2e75
Smack 4.4.0-alpha1-SNAPSHOT
2018-05-12 19:47:48 +02:00
Florian Schmaus
0cdd80b09e
Smack 4.3.0-beta2
2018-05-12 17:10:02 +02:00
Florian Schmaus
fd97f5ba0b
Use a CopyOnWriteArraySet for joinedRooms
...
Since it is accessed concurrently. And also may cause a
ConcurrentModificationException when the MultiUserChatManager tries to
re-join the joined rooms.
Fixes SMACK-819.
2018-05-10 20:30:24 +02:00
Florian Schmaus
cb27b02658
Make SmackFuture use Smack's cached executor service
...
instead of SmackFuture using it's own executor service.
2018-05-10 20:30:24 +02:00
Florian Schmaus
a22ec4b112
Use java.text.Normalizer for SASLPrep
2018-05-10 20:30:23 +02:00
Florian Schmaus
72de6540b2
Add DiscoInfoLookupShortcutMechanism and EntityCapabilitiesChangedListener
...
to allow for plugable XEP-0115 like mechanisms. For example XEP-0390.
2018-05-10 20:30:23 +02:00
Florian Schmaus
0e31bc8f73
Fix Stanza.overrideExtension(ExtensionElement)
...
Also fixes SMACK-818.
2018-05-10 15:34:24 +02:00
Florian Schmaus
458d8d98b6
Make junit assertion more verbose
2018-05-10 15:26:06 +02:00
Florian Schmaus
c94962c763
Add toString() to Disco Feature and Identity
2018-05-10 15:25:20 +02:00
Florian Schmaus
6f83553c1b
Reduce scope of 'discoInfoSend' in EntityCapsTest integratino test
2018-05-10 14:55:34 +02:00
Florian Schmaus
e8923b9d16
Enable trailing whitespace checkstyle check
...
for all source code regions, including javadoc.
2018-05-09 23:26:39 +02:00
Florian Schmaus
9d61a6de7d
Bump checkstyle to 8.10
2018-05-09 21:14:52 +02:00
Florian Schmaus
3066801d58
Bump James Murty's java-xmlbuilder to 1.2
2018-05-09 20:20:45 +02:00
Florian Schmaus
e5d93e58a1
Bump PowerMock to 1.7.3
...
And also drop the powermock-classloading-xstream dependency as it is
currently not used.
2018-05-09 20:16:05 +02:00
Florian Schmaus
4cff9ddfa0
Bump junit to 5.2.0
2018-05-09 19:59:39 +02:00
Florian Schmaus
a415a90ac7
Bump xmlunit to 2.6.0
2018-05-09 19:44:10 +02:00
Florian Schmaus
f4f072c4cb
Create sinntest configuration to connection configuration method
...
This also fixes the bug that only low level integration tests handled
the debugger sinttest setting.
2018-05-09 18:10:11 +02:00
Florian Schmaus
96f75a1857
Fix TODO in PacketParserUtils
2018-05-09 17:13:09 +02:00
Florian Schmaus
0df7734efc
Slightly improve PacketParserUtils.parseSessionFeature()
2018-05-09 17:13:09 +02:00
Florian Schmaus
49417d2e20
Remove deprecated methods in PacketParserUtils
2018-05-09 17:13:09 +02:00
Florian Schmaus
6d76e8a1ae
Remove PacketParserutils.getLanguageAttribute(XmlPullParser)
2018-05-09 17:13:09 +02:00
Florian Schmaus
a9e45475ab
Treat <body/> just like all other extension elements in Message
...
This turned out to be a rather large change.
2018-05-09 17:13:09 +02:00
Florian Schmaus
cb9a11b74e
Fix Forwarded.toXml(String): Set the correct enclosing XML namespace
2018-05-09 17:13:09 +02:00
Florian Schmaus
cd5daa6fd7
Do net set a default language when parsing Message stanzas
...
the fallback is (usually) not needed, as most XMPP XML streams have a default
xml:lang set (See RFC 6120 § 4.7.4.).
2018-05-09 17:13:09 +02:00
Florian Schmaus
93c2b2be26
Do not return a Message "default" language if there is none
2018-05-09 17:13:08 +02:00
Florian Schmaus
b4b75a3cca
Make <subject/> (XML) language optional
2018-05-09 16:48:53 +02:00
Florian Schmaus
4b8f7ca6b6
Make <body/> (XML) language optional
2018-05-09 16:47:28 +02:00
Florian Schmaus
ad932caf78
Do not use a reflection based initializer for core elements
...
like Message.Body from smack-core.
2018-05-09 16:45:14 +02:00