aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations/parser/MessageParser.java (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-02-24made hard coded choice for encryptions more flexible and disable parsingDaniel Gultsch1-4/+3
2016-02-23update notification after message correctionDaniel Gultsch1-0/+1
2016-02-20change uuid when replacing messagesDaniel Gultsch1-1/+4
2016-02-19decrypt pgp message correctionsDaniel Gultsch1-8/+9
2016-02-17only offer message correction for the very last messageDaniel Gultsch1-1/+5
2016-02-16log reason why otr message won't be parsedDaniel Gultsch1-1/+2
2016-02-16added setting to opt-out of message correction. renamed preferences and ↵Daniel Gultsch1-1/+1
options to settings
2016-02-15basic support for XEP-0308: Last Message Correction. fixes #864Daniel Gultsch1-14/+47
2016-02-04prepend instead off append mam messages to conversations when going in reverseDaniel Gultsch1-1/+5
2016-02-03count all messages in a queryDaniel Gultsch1-4/+2
2016-02-03Revert "get rid of broken totalMessageCount for mam queries"Daniel Gultsch1-2/+4
This reverts commit 58c6f9bfb283f5c54695b9662b5b4b08e5d4357f.
2016-02-02get rid of broken totalMessageCount for mam queriesDaniel Gultsch1-4/+2
2016-01-31fixed false set of subject in conference with empty body tagDaniel Gultsch1-1/+1
2015-12-31use actual message timestamp instead of delay when updating last seen. fixes ↵Daniel Gultsch1-3/+4
#1618
2015-12-17let message parser not artifically fail on messages with no to attributeDaniel Gultsch1-4/+4
2015-12-11set bookmark name to room subject if no subject has been set beforeDaniel Gultsch1-2/+10
2015-12-11get rid of lastMessageTransmitted in favor of db queryDaniel Gultsch1-6/+1
2015-12-10notify on mam catchup messagesDaniel Gultsch1-5/+15
2015-12-10properly clean up timed out mam queriesDaniel Gultsch1-1/+1
2015-12-05check for query object as condition to trigger deduplication instead of serverIdDaniel Gultsch1-1/+1
2015-12-04parse stanza-id from messagesDaniel Gultsch1-3/+19
2015-12-03parse vcard avatars from muc presencesDaniel Gultsch1-1/+1
2015-12-01combine multiple message receipts into single messageDaniel Gultsch1-6/+7
2015-10-29push CN into nick pep node when uploading certificate. subscribe to nick nodeDaniel Gultsch1-1/+1
2015-10-28Decrypt PGP messages in backgroundfiaxh1-1/+9
2015-10-19update last seen in mucs. fixes #1508Daniel Gultsch1-1/+5
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-26Revert "improved compatibility with muc components that change the message id"Daniel Gultsch1-3/+2
This reverts commit df86b0fc47cb7af8e97826f97d0e202405cff414.
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 Straub1-1/+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 Straub1-1/+1
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-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-19Reformat code to use tabsAndreas Straub1-28/+28
This really sucks to do it like this. Sorry. :(
2015-07-19Added PEP and message protocol layersAndreas Straub1-6/+40
Can now fetch/retrieve from PEP, as well as encode/decode messages