aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations/services/XmppConnectionService.java (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-08-12- Introduction of SwipeRefreshLayout for conversation viewsteckbrief1-31/+44
- OnScrollListener for ListView of messages removed and replaced with swipe refresh - Loading of messages now possible even if no message is present in conversation
2015-08-11Merge tag '1.5.2' into trz/rebaselookshe1-228/+388
2015-08-11do not touch pictures that are already in the right formatDaniel Gultsch1-4/+17
fixed #522
2015-08-01enable axolotl encryption for jingle supported file transfersDaniel Gultsch1-1/+1
2015-07-31Refactor axolotl message processing workflowAndreas Straub1-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).
2015-07-31improved 'next encryption' selectionDaniel Gultsch1-12/+8
2015-07-28set time on resend to current timeDaniel Gultsch1-1/+2
fixes #1298 fixes #919
2015-07-21Add INACTIVE state for removed keysAndreas Straub1-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.
2015-07-21bugfix: use sendIqPacket method in service instead of invoking ↵Daniel Gultsch1-3/+2
XmppConnection directly
2015-07-20Refactor axolotl send processing/caching flowAndreas Straub1-4/+7
2015-07-20attempt to fix the delay problemDaniel Gultsch1-16/+20
2015-07-20Optimize importsAndreas Straub1-2/+2
2015-07-20Fix set/remove OnUpdateBlocklistListenerAndreas Straub1-5/+5
2015-07-19Ask for key trust when sending messagesAndreas Straub1-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.
2015-07-19Handle file transmission properly in axolotlAndreas Straub1-4/+12
2015-07-19Remove unneccessary codeAndreas Straub1-2/+1
2015-07-19Fix trust status for outgoing messagesAndreas Straub1-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
2015-07-19Postpone initAccountService until roster loadedAndreas Straub1-3/+1
The AxolotlService depends on the roster being loaded when it is initialized so that it can fill its in-memory SessionMap.
2015-07-19Fix asynchronous axolotl message sendingAndreas Straub1-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.
2015-07-19Fetch bundles on-demand, encrypt in backgroundAndreas Straub1-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.
2015-07-19Migrate to new PEP layoutAndreas Straub1-2/+1
Merge prekeys into bundle node
2015-07-19Reformat code to use tabsAndreas Straub1-3/+3
This really sucks to do it like this. Sorry. :(
2015-07-19Added axolotl activation code to UIAndreas Straub1-0/+9
2015-07-19Reworked axolotl protocol layerAndreas Straub1-1/+6
Numerous fixes
2015-07-19bugfix: use sendIqPacket method in service instead of invoking ↵Daniel Gultsch1-3/+2
XmppConnection directly
2015-07-11only try to change affilations for known jidsDaniel Gultsch1-1/+1
2015-07-10renamed downloadable to transferableDaniel Gultsch1-5/+4
2015-07-10display toast in ui on failed http downloadDaniel Gultsch1-4/+44
fixes #954
2015-07-05refactored sendMessage and merged with resendMessageDaniel Gultsch1-148/+97
2015-07-03make sure unread count is initialized as 0. fixes #1270Daniel Gultsch1-1/+2
2015-07-03make sure unread count is initialized as 0. fixes #1270Daniel Gultsch1-1/+2
2015-07-02fixed share with activity to account for http file uploadDaniel Gultsch1-3/+4
2015-06-29show attach button in conferences when http upload is availableDaniel Gultsch1-3/+2
2015-06-29initial http upload supportDaniel Gultsch1-29/+37
be careful: little error handling and no encryption
2015-06-19renaming eu.siacs.conversations to de.thedevstack.conversationsplussteckbrief1-2434/+0
"renaming eu.siacs.conversations to de.thedevstack.conversationsplus" package renaming completed
2015-06-05made i/o and memory intensive operations execute in serial orderDaniel Gultsch1-11/+18
2015-06-03reworked handeling of system contactsDaniel Gultsch1-3/+12
2015-05-26removed unnecessary / inacurate debug loggingDaniel Gultsch1-2/+1
2015-05-26update unread count badge only when necessaryDaniel Gultsch1-7/+11
2015-05-26added default iq handler to print some iq error messagesDaniel Gultsch1-4/+16
2015-05-26renamed OtrEngine to OtrServiceDaniel Gultsch1-3/+3
2015-05-25log connection age and reshedule ping checkDaniel Gultsch1-4/+11
2015-05-20added ShortcutBadger as a dependency to create unread counts on launcher iconDaniel Gultsch1-6/+18
2015-05-20provide helper function for getting the content of a child directlyDaniel Gultsch1-2/+1
2015-05-16let jingle connection and manager handle message statusDaniel Gultsch1-4/+0
2015-05-13clear avatar cache when uploading new avatarDaniel Gultsch1-0/+1
2015-05-12handle conference invites differently to deal with killed activities. fixes ↵Daniel Gultsch1-0/+1
#1188
2015-05-08config option to reset attempt counts when changing network (default=true)Daniel Gultsch1-8/+18
2015-05-07fixed npe when binval value of vcard avatar is nullDaniel Gultsch1-2/+3
2015-05-05avoid fetching avatars multiple times in parallelDaniel Gultsch1-8/+39