aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations/parser (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-10-28Decrypt PGP messages in backgroundfiaxh1-1/+9
2015-10-19update last seen in mucs. fixes #1508Daniel Gultsch1-1/+5
2015-10-16introduced code to verify omemo device keys with x509 certificates.Daniel Gultsch1-0/+29
cleaned up TrustKeysActivity to automatically close if there is nothing to do
2015-10-14work with muc services that change the message idDaniel Gultsch1-1/+1
2015-10-06clear notification and activate grace period when receiving chat marker from ↵Daniel Gultsch1-1/+5
another instance
2015-08-30catch invalid base64 on omemo key decodingDaniel Gultsch1-3/+8
2015-08-26Revert "improved compatibility with muc components that change the message id"Daniel Gultsch1-3/+2
This reverts commit df86b0fc47cb7af8e97826f97d0e202405cff414.
2015-08-24catch invalid base64 in axolotl key parsingDaniel Gultsch1-1/+1
2015-08-23introduce special iq type for internal timeouts. always use != result to ↵Daniel Gultsch1-1/+1
check for error in callbacks
2015-08-23modified clearIqCallbacks into 2-step processDaniel Gultsch1-6/+6
2015-08-11Merge tag '1.5.2' into trz/rebaselookshe3-566/+339
2015-07-31Provide process function for key transport messageAndreas Straub1-1/+1
2015-07-31Refactor axolotl message processing workflowAndreas Straub1-2/+2
XmppAxolotlMessage is now entirely responsible for handling encryption and decryption of messages, only leveraging XmppAxolotlSession as a packing/unpacking primitive for payload keys. Removed pseudo-dead session generation code step from prepareMessage function, as sessions have been created by invoking the TrustKeysActivity for a while now. Added prepareKeyTransportMessage function, which creates a message with no payload. The key that is packed into the header keyElements can then be used for other purposes (e.g. encrypted file transfer).
2015-07-31Change to new wire protocol versionAndreas Straub1-1/+1
2015-07-31improved 'next encryption' selectionDaniel Gultsch1-2/+0
2015-07-29Tag carbon messages in parser, adapt session logicAndreas Straub1-1/+4
Messages sent from another device of the own account are now explicitly tagged as carboned message. The session detection logic now uses this tag to find "session borders".
2015-07-28log reason for message failureDaniel Gultsch1-0/+7
2015-07-22use type=chat more often to go along with new, simple carbon and mam rulesDaniel Gultsch1-6/+10
* change chat states to type=chat and chat markers to type=chat * use same type as requesting stanza for delivery receipts (which should make them type=chat most of the time)
2015-07-21fixed npe in error message handlingDaniel Gultsch1-1/+1
2015-07-21fixed npe in error message handlingDaniel Gultsch1-1/+1
2015-07-21end otr session when receiving failed otr message warningsDaniel Gultsch1-1/+7
2015-07-21bugfix: changed condition of onOtrSessionEstablished being calledDaniel Gultsch1-6/+6
fixed #1263 fixed #1260 fixed #1293
2015-07-21end otr session when receiving failed otr message warningsDaniel Gultsch1-1/+7
2015-07-21bugfix: changed condition of onOtrSessionEstablished being calledDaniel Gultsch1-6/+6
fixed #1263 fixed #1260 fixed #1293
2015-07-20Optimize importsAndreas Straub2-2/+0
2015-07-19Overhauled Message taggingAndreas Straub1-1/+2
Messages are now tagged with the IdentityKey fingerprint of the originating session. IdentityKeys have one of three trust states: undecided (default), trusted, and untrusted/not yet trusted.
2015-07-19Clean up loggingAndreas Straub2-8/+9
Add a fixed prefix to axolotl-related log messages, set log levels sensibly.
2015-07-19Fix devicelist update handlingAndreas Straub1-0/+1
No longer store own device ID (so that we don't encrypt messages for ourselves), verify that own device ID is present in update list (otherwise republish), reflect update in UI.
2015-07-19Return empty set on invalid PEP devicelistAndreas Straub1-18/+18
2015-07-19Properly track message senderAndreas Straub1-4/+4
Previously, the sender was assumed to be the conversation counterpart. This broke carboned own-device messages. We now track the sender properly, and also set the status (sent by one of the own devices vs received from the counterpart) accordingly.
2015-07-19Fetch bundles on-demand, encrypt in backgroundAndreas Straub1-8/+4
Bundles are now fetched on demand when a session needs to be established. This should lessen the chance of changes to the bundles occuring before they're used, as well as lessen the load of fetching bundles. Also, the message encryption is now done in a background thread, as this can be somewhat costly if many sessions are present. This is probably not going to be an issue in real use, but it's good practice anyway.
2015-07-19Migrate to new PEP layoutAndreas Straub1-7/+13
Merge prekeys into bundle node
2015-07-19Reformat code to use tabsAndreas Straub2-66/+66
This really sucks to do it like this. Sorry. :(
2015-07-19Added PEP and message protocol layersAndreas Straub2-7/+197
Can now fetch/retrieve from PEP, as well as encode/decode messages
2015-07-10renamed HttpConnection to HttpDownloadConnectionDaniel Gultsch1-1/+1
2015-07-03moved null check for to and from in message parserDaniel Gultsch1-5/+6
2015-07-02moved null check for to and from in message parserDaniel Gultsch1-5/+6
2015-07-01changed mime type handlingDaniel Gultsch1-1/+1
2015-06-30refactored bodyContainsDownloadable to be more flexibleDaniel Gultsch1-1/+1
2015-06-28don't parse body from muc status messagesDaniel Gultsch1-6/+7
2015-06-28fixed parsing of muc status messages in new message parserDaniel Gultsch1-6/+18
2015-06-19renaming eu.siacs.conversations to de.thedevstack.conversationsplussteckbrief4-1038/+0
"renaming eu.siacs.conversations to de.thedevstack.conversationsplus" package renaming completed
2015-06-04send_received muc messages will mark a conversation a readDaniel Gultsch1-1/+1
2015-06-02avoid unnessary muc mam queries when message count is 0 after subjectDaniel Gultsch1-1/+1
2015-06-02fixed more edge cases in muc message parserDaniel Gultsch1-3/+3
2015-06-02improved compatibility with muc components that change the message idDaniel Gultsch1-2/+3
2015-05-27parse nick and avatar only from available presences to avoid potential error ↵Daniel Gultsch1-47/+26
reflection
2015-05-26deduplicate private muc messagesDaniel Gultsch1-1/+3
2015-05-20proper error parsing. some clean upDaniel Gultsch1-41/+49
2015-05-20fixed npe in new message parserDaniel Gultsch1-1/+3