aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* do mam query after joinDaniel Gultsch2015-10-061-1/+3
|
* Use MAM for MUC initial history retrievalsaqura2015-10-061-28/+54
| | | | | If the MUC supports MAM (XEP-0313), use it to retrieve the history when joining.
* Properly check for MUC MAM supportsaqura2015-10-061-6/+8
| | | | | | Only use MAM (XEP-0313) in MUCs if it is supported. This should fix #1264
* don't put conference joins into pending on initial bindDaniel Gultsch2015-10-011-11/+14
|
* reset muc options immediately befor joinDaniel Gultsch2015-10-011-3/+2
|
* only invoke MTM in interactive mode after direct user inputDaniel Gultsch2015-09-291-8/+11
| | | | | | fixes #1027 fixes #792 fixes #1439
* added missing type='submit' to mam queriesDaniel Gultsch2015-09-151-2/+2
| | | | | fixed some nasty inheritance problems along the way fixes #1411
* Only show that have sessions in fingerprint listAndreas Straub2015-09-061-2/+2
| | | | | | | | | Doesn't access database directly anymore but goes through AxolotlService now to obtain list of fingerprints associated with an Account/Contact. This should prevent orphaned keys littering the UI which previously couldn't be removed through the Clear Devices function. Together with 1c79982da84964c1d81179a0927d9cd1eadf53de this fixes #1393
* added special error state for dns timeoutDaniel Gultsch2015-09-011-2/+1
|
* fixed bug that prevented newly opened conversations to load the entire ↵Daniel Gultsch2015-08-301-0/+1
| | | | history via mam. fixes #1328
* Only announce device after publishing bundleAndreas Straub2015-08-261-2/+1
|
* be more restrictive about marking messages as sent_received in muc parserDaniel Gultsch2015-08-261-3/+2
|
* remove unused imports.Michael2015-08-251-1/+1
|
* Merge branch 'master' into developmentDaniel Gultsch2015-08-231-8/+6
|\
| * introduce special iq type for internal timeouts. always use != result to ↵Daniel Gultsch2015-08-231-8/+6
| | | | | | | | check for error in callbacks
* | Merge branch 'master' into developmentDaniel Gultsch2015-08-231-21/+22
|\|
| * don't make subsequent iq request when original stanza returned an errorDaniel Gultsch2015-08-231-21/+22
| |
* | simulate old behaviour with messages being set to waiting while offlineDaniel Gultsch2015-08-191-1/+0
| |
* | Merge branch 'master' into developmentDaniel Gultsch2015-08-191-0/+1
|\|
| * fixed nasty 'stuck at sending' bug that got introduced in ↵Daniel Gultsch2015-08-191-0/+1
| | | | | | | | 32826ec29d28668b7f345ffcd45cd876dc980153
* | fully depend on smDaniel Gultsch2015-08-151-26/+24
|/
* provide extra interface to close sockets. fixes #1330Daniel Gultsch2015-08-151-2/+1
|
* do not touch pictures that are already in the right formatDaniel Gultsch2015-08-111-4/+17
| | | | fixed #522
* enable axolotl encryption for jingle supported file transfersDaniel Gultsch2015-08-011-1/+1
|
* Refactor axolotl message processing workflowAndreas Straub2015-07-311-1/+1
| | | | | | | | | | | | | | 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).
* improved 'next encryption' selectionDaniel Gultsch2015-07-311-12/+8
|
* set time on resend to current timeDaniel Gultsch2015-07-281-1/+2
| | | | | fixes #1298 fixes #919
* Add INACTIVE state for removed keysAndreas Straub2015-07-211-15/+16
| | | | | | | | | | | | | We introduce a new trust state: INACTIVE. This state is intended for old keys that have been removed. When a TRUSTED device is removed from the PEP devicelist, it's status will be set to INACTIVE. INACTIVE keys are shown in the UI as greyed out, non-interactible key rows. Messages are not encrypted for INACTIVE devices. When an INACTIVE device reappears in PEP, or a message is received from an INACTIVE device, it is set back to trusted.
* Refactor axolotl send processing/caching flowAndreas Straub2015-07-201-4/+7
|
* attempt to fix the delay problemDaniel Gultsch2015-07-201-16/+20
|
* Optimize importsAndreas Straub2015-07-201-2/+2
|
* Fix set/remove OnUpdateBlocklistListenerAndreas Straub2015-07-201-5/+5
|
* Ask for key trust when sending messagesAndreas Straub2015-07-191-6/+40
| | | | | | If the contact (or the own account) has keys that have UNDECIDED trust, we now drop the user into the new TrustKeysActivity, where they have to decide for each new key whether it should be TRUSTED or UNTRUSTED.
* Handle file transmission properly in axolotlAndreas Straub2015-07-191-4/+12
|
* Remove unneccessary codeAndreas Straub2015-07-191-2/+1
|
* Fix trust status for outgoing messagesAndreas Straub2015-07-191-0/+4
| | | | | | Tag sent messages with own fingerprint, set own fingerprint as always trusted, include own fingerprint in database trust search, explicitly reset trust colorfilter
* Postpone initAccountService until roster loadedAndreas Straub2015-07-191-3/+1
| | | | | The AxolotlService depends on the roster being loaded when it is initialized so that it can fill its in-memory SessionMap.
* Fix asynchronous axolotl message sendingAndreas Straub2015-07-191-2/+4
| | | | | | | | | | XmppConnectionService.sendMessage() now dispatches messages to the AxolotlService, where they only are prepared for sending and cached. AxolotlService now triggers a XmppConnectionService.resendMessage(), which then handles sending the cached message packet. This transparently fixes, e.g., handling of messages sent while we are offline.
* Fetch bundles on-demand, encrypt in backgroundAndreas Straub2015-07-191-8/+5
| | | | | | | | | | | 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-2/+1
| | | | Merge prekeys into bundle node
* Reformat code to use tabsAndreas Straub2015-07-191-3/+3
| | | | This really sucks to do it like this. Sorry. :(
* Added axolotl activation code to UIAndreas Straub2015-07-191-0/+9
|
* Reworked axolotl protocol layerAndreas Straub2015-07-191-1/+6
| | | | Numerous fixes
* bugfix: use sendIqPacket method in service instead of invoking ↵Daniel Gultsch2015-07-191-3/+2
| | | | XmppConnection directly
* only try to change affilations for known jidsDaniel Gultsch2015-07-111-1/+1
|
* renamed downloadable to transferableDaniel Gultsch2015-07-101-5/+4
|
* display toast in ui on failed http downloadDaniel Gultsch2015-07-101-4/+44
| | | | fixes #954
* refactored sendMessage and merged with resendMessageDaniel Gultsch2015-07-051-148/+97
|
* make sure unread count is initialized as 0. fixes #1270Daniel Gultsch2015-07-031-1/+2
|
* fixed share with activity to account for http file uploadDaniel Gultsch2015-07-021-3/+4
|