aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations/parser (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* introduce special iq type for internal timeouts. always use != result to ↵Daniel Gultsch2015-08-231-1/+1
| | | | check for error in callbacks
* modified clearIqCallbacks into 2-step processDaniel Gultsch2015-08-231-6/+6
|
* Merge branch 'development'Daniel Gultsch2015-08-153-16/+221
|\
| * Provide process function for key transport messageAndreas Straub2015-07-311-1/+1
| |
| * Refactor axolotl message processing workflowAndreas Straub2015-07-311-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).
| * Change to new wire protocol versionAndreas Straub2015-07-311-1/+1
| |
| * improved 'next encryption' selectionDaniel Gultsch2015-07-311-2/+0
| |
| * Tag carbon messages in parser, adapt session logicAndreas Straub2015-07-291-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".
| * log reason for message failureDaniel Gultsch2015-07-281-0/+7
| |
| * use type=chat more often to go along with new, simple carbon and mam rulesDaniel Gultsch2015-07-221-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)
| * fixed npe in error message handlingDaniel Gultsch2015-07-211-1/+1
| |
| * end otr session when receiving failed otr message warningsDaniel Gultsch2015-07-211-1/+7
| |
| * bugfix: changed condition of onOtrSessionEstablished being calledDaniel Gultsch2015-07-211-6/+6
| | | | | | | | | | | | fixed #1263 fixed #1260 fixed #1293
| * Optimize importsAndreas Straub2015-07-202-2/+0
| |
| * Overhauled Message taggingAndreas Straub2015-07-191-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.
| * Clean up loggingAndreas Straub2015-07-192-8/+9
| | | | | | | | | | Add a fixed prefix to axolotl-related log messages, set log levels sensibly.
| * Fix devicelist update handlingAndreas Straub2015-07-191-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.
| * Return empty set on invalid PEP devicelistAndreas Straub2015-07-191-18/+18
| |
| * Properly track message senderAndreas Straub2015-07-191-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.
| * Fetch bundles on-demand, encrypt in backgroundAndreas Straub2015-07-191-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.
| * Migrate to new PEP layoutAndreas Straub2015-07-191-7/+13
| | | | | | | | Merge prekeys into bundle node
| * Reformat code to use tabsAndreas Straub2015-07-192-66/+66
| | | | | | | | This really sucks to do it like this. Sorry. :(
| * Added PEP and message protocol layersAndreas Straub2015-07-192-7/+197
| | | | | | | | Can now fetch/retrieve from PEP, as well as encode/decode messages
* | fixed npe in error message handlingDaniel Gultsch2015-07-211-1/+1
| |
* | end otr session when receiving failed otr message warningsDaniel Gultsch2015-07-211-1/+7
| |
* | bugfix: changed condition of onOtrSessionEstablished being calledDaniel Gultsch2015-07-211-6/+6
|/ | | | | | fixed #1263 fixed #1260 fixed #1293
* renamed HttpConnection to HttpDownloadConnectionDaniel Gultsch2015-07-101-1/+1
|
* moved null check for to and from in message parserDaniel Gultsch2015-07-021-5/+6
|
* changed mime type handlingDaniel Gultsch2015-07-011-1/+1
|
* refactored bodyContainsDownloadable to be more flexibleDaniel Gultsch2015-06-301-1/+1
|
* don't parse body from muc status messagesDaniel Gultsch2015-06-281-6/+7
|
* fixed parsing of muc status messages in new message parserDaniel Gultsch2015-06-281-6/+18
|
* send_received muc messages will mark a conversation a readDaniel Gultsch2015-06-041-1/+1
|
* avoid unnessary muc mam queries when message count is 0 after subjectDaniel Gultsch2015-06-021-1/+1
|
* fixed more edge cases in muc message parserDaniel Gultsch2015-06-021-3/+3
|
* improved compatibility with muc components that change the message idDaniel Gultsch2015-06-021-2/+3
|
* parse nick and avatar only from available presences to avoid potential error ↵Daniel Gultsch2015-05-271-47/+26
| | | | reflection
* deduplicate private muc messagesDaniel Gultsch2015-05-261-1/+3
|
* proper error parsing. some clean upDaniel Gultsch2015-05-201-41/+49
|
* fixed npe in new message parserDaniel Gultsch2015-05-201-1/+3
|
* fixed muc mam. added a few security checksDaniel Gultsch2015-05-201-23/+25
|
* fixed read/unread markersDaniel Gultsch2015-05-201-10/+9
|
* added mam stuff to new message parserDaniel Gultsch2015-05-202-8/+27
|
* rewrote parser code. mam id and possible other stuff still missing. also ↵Daniel Gultsch2015-05-202-494/+212
| | | | massivly untested
* provide helper function for getting the content of a child directlyDaniel Gultsch2015-05-201-5/+1
|
* r/o support for vcard avatars. pep avatars will be preferedDaniel Gultsch2015-05-052-1/+16
|
* fixed direct invitesDaniel Gultsch2015-04-211-12/+28
|
* properly set chat states when receiving otr status messagesiNPUTmice2015-03-211-1/+1
|
* respond to unreadable OTR messages with error message. fixed #1021iNPUTmice2015-03-211-0/+2
|
* don't update presence for muc messagesiNPUTmice2015-03-191-5/+2
|