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

3525 commits

Author SHA1 Message Date
8751138e19 Add method to establish fresh session 2018-06-09 13:59:36 +02:00
f5b199158d Temp commit - migration guide 2018-06-09 13:59:36 +02:00
4fd2300a2f Add decryption of MamQueryResults + Inttest 2018-06-09 13:59:36 +02:00
ba0b81f750 Add method to decrypt OmemoElements from a MamQueryResult 2018-06-09 13:59:36 +02:00
2b71b20a3e Add method to manually decrypt OmemoElement 2018-06-09 13:59:36 +02:00
0a681f7353 Replace hacks with synchronized call 2018-06-09 13:59:36 +02:00
ebf7969954 Update omemo.md 2018-06-09 13:59:36 +02:00
1cbc112c88 Remove unused code, rafactor 2018-06-09 13:59:36 +02:00
28cabf00ee CachingOmemoStore: check for nullity of wrapped store 2018-06-09 13:59:36 +02:00
f3403571a7 Rewrite integration tests 2018-06-09 13:59:36 +02:00
8b8c6e190a Repair broken session with preKeyMessage 2018-06-09 13:59:36 +02:00
a90e37ba53 Documentation 2018-06-09 13:59:36 +02:00
ddb1f11c5a Fix AOoBE 2018-06-09 13:59:36 +02:00
20cca54ec2 Sending messages works again 2018-06-09 13:59:36 +02:00
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