Commit graph

2720 commits

Author SHA1 Message Date
Daniel Gultsch 82ba4ce4fc fixed some regressions introduced in toolbar migration 2018-03-18 09:31:37 +01:00
Harshit Bansal f2885575ba replace deprecated action bar with toolbar (#2872)
* replace deprecated action bar with toolbar

* add toolbar support in each activity

* remove redundant themes made earlier

* add configure action bar method in xmpp activity

* remove android namespace from actionmodeoverlay

* solve bug of scrolling toolbar
2018-03-18 09:30:22 +01:00
Daniel Gultsch 83a4cb8a11 setReplaceAll=false on emojiCompat for android o 2018-03-17 21:43:18 +01:00
Daniel Gultsch 11dfd87672 show message draft in conversation overview 2018-03-17 19:18:22 +01:00
Daniel Gultsch 9765f26de0 fixed device rotation in settings activity 2018-03-16 12:58:43 +01:00
Daniel Gultsch 182b4c08b5 fixed crash in MessageAdapter caused by empty xmpp: uri 2018-03-16 12:29:11 +01:00
Daniel Gultsch 64f040b631 offer a more convienient way to disable omemo from trust keys dialog 2018-03-15 13:37:08 +01:00
Daniel Gultsch 1bfc0b8da6 trim to original resource if server added something 2018-03-15 08:53:19 +01:00
Daniel Gultsch fe90e70bb1 remove trailing ) in urls 2018-03-14 21:59:18 +01:00
Daniel Gultsch 3c932e9fa6 fixed pm to vistors 2018-03-14 17:31:33 +01:00
Daniel Gultsch c2db940594 do not show snackbar for archived conversations. fixes glitch when leaving muc 2018-03-14 13:05:50 +01:00
Daniel Gultsch 03e88500b9 fixed rotation in choose contact activity 2018-03-14 11:03:08 +01:00
Daniel Gultsch acf0b995ab dynamically get known hosts in dialog 2018-03-14 10:07:52 +01:00
iamharsshit 2af12afb64 add data binding and check in back stack for dialogs 2018-03-14 13:07:04 +05:30
iamharsshit b33725b435 place enter jid dialog in dialog fragment 2018-03-14 13:07:04 +05:30
iamharsshit b48e37f72f replace group dialogs by dialog fragment 2018-03-14 13:07:04 +05:30
Daniel Gultsch 7d1bd65a3b make camera feature optional 2018-03-14 08:21:49 +01:00
Daniel Gultsch 9a7f3ec742 create interface for onBackendConnected 2018-03-13 22:44:08 +01:00
Daniel Gultsch f21fda1421 scanned results are always a trusted source 2018-03-13 16:55:25 +01:00
Daniel Gultsch 0c58e7cc30 migrated conference details to binding 2018-03-13 12:26:26 +01:00
Daniel Gultsch 25a49a28ce disable caches in HttpUrlConnections 2018-03-13 11:59:32 +01:00
Daniel Gultsch ca625f1e8e fix register account checkbox glitch 2018-03-13 11:54:34 +01:00
Daniel Gultsch 22d98bd162 do not highlight users when not participating. fixes #2865 2018-03-12 16:00:02 +01:00
Daniel Gultsch 8dc17a96ba fixed rare crash on jolla devices 2018-03-12 15:59:35 +01:00
Daniel Gultsch 72388e37f5 fixed some issues with jid escaping 2018-03-11 18:32:16 +01:00
Daniel Gultsch b2a9c63568 hide keyboard when stopping ConversationFragment 2018-03-11 18:14:26 +01:00
Daniel Gultsch c1135ad592 use escaped form of jid where approriate 2018-03-11 14:14:56 +01:00
Daniel Gultsch 4bb45996c5 return contact and account.getServer() as String 2018-03-11 12:13:56 +01:00
Daniel Gultsch dbcc54799d cache bookmark jid in bookmark 2018-03-11 12:06:07 +01:00
Daniel Gultsch fe338a540a make unicode detector work on labels 2018-03-09 21:39:10 +01:00
Daniel Gultsch e2e5c04ef7 detect irregular unicode in domain part 2018-03-08 22:02:19 +01:00
Daniel Gultsch 7ae3bdd3c6 use scripts instead of blocks on Android >= N 2018-03-08 20:45:30 +01:00
Daniel Gultsch 216cf1805f stop scrolling in tablet view after switching conversations 2018-03-08 17:01:45 +01:00
Daniel Gultsch 4227c63e5d decrease delay when scrolling to position 2018-03-08 16:37:45 +01:00
Daniel Gultsch e89378ceae hide register account checkbox in magic mode 2018-03-08 15:18:44 +01:00
Daniel Gultsch 6944c12186 display irregular unicode code points 2018-03-08 14:02:48 +01:00
Daniel Gultsch 52135625d8 do not enable encryption for bug reports 2018-03-07 22:30:36 +01:00
Daniel Gultsch 94bb7c423c added splash screen 2018-03-07 22:30:36 +01:00
Daniel Gultsch 28467c4775 don’t show 'change status' icon during setup 2018-03-07 22:30:36 +01:00
Daniel Gultsch 7e963820a5 made qr code scanner work in choose contact 2018-03-07 22:30:36 +01:00
iamharsshit 69374f3e5f remove deprecated method 2018-03-07 22:30:36 +01:00
Daniel Gultsch 1efaecf745 use fab in choose contact activity. scan qr not yet working 2018-03-07 22:30:36 +01:00
Daniel Gultsch ed0ba89551 make omemo default 2018-03-07 22:30:36 +01:00
Daniel Gultsch 13a4a78025 removed unused otr fingerprint methods 2018-03-07 22:30:36 +01:00
Daniel Gultsch 1accf9d961 migrate to xmpp-addr 2018-03-07 22:30:36 +01:00
Daniel Gultsch 0add9a0ea2 audio player now requests permission when hitting play 2018-03-07 22:30:36 +01:00
Daniel Gultsch b5e1bbbdc1 request storage permission when opening message 2018-03-07 22:30:36 +01:00
Daniel Gultsch 6aee638432 refactor disable notifications dialog to make use of timeframeutils 2018-03-07 22:30:36 +01:00
Daniel Gultsch 89992f541c calculate automatic timeout labels dynamically 2018-03-07 22:30:36 +01:00
Daniel Gultsch de2f5e7a83 reorder and scroll down after resending a message 2018-03-07 22:30:36 +01:00
Daniel Gultsch 3bff110587 use translated version of subject if available 2018-03-07 22:30:36 +01:00
Daniel Gultsch 194b8d419b fix change password activity for magic created accounts 2018-03-07 22:30:36 +01:00
Daniel Gultsch 1ae6042ca8 show password field only on non-logged in or magic created accounts 2018-03-07 22:30:36 +01:00
Daniel Gultsch a4f4c80743 fixed 'mark read' icon on android ~4 devices 2018-03-07 22:30:36 +01:00
Daniel Gultsch 78fd19195d finished 'Set Status Message' dialog 2018-03-07 22:30:36 +01:00
Daniel Gultsch 76732af63d add missing permission result handling in StartConversationActivity 2018-03-07 22:30:36 +01:00
Daniel Gultsch c1c314f47a delegate mime type from intent 2018-03-07 22:30:36 +01:00
Daniel Gultsch 2f71c0cb79 wip: new status message dialog 2018-03-07 22:30:36 +01:00
Daniel Gultsch 57bcf824e9 finished app compat themeing 2018-03-07 22:30:36 +01:00
Daniel Gultsch 51fcb7de31 scroll in post 2018-03-07 22:30:35 +01:00
Daniel Gultsch 157ca65b0a use text styles in more places 2018-03-07 22:30:35 +01:00
Daniel Gultsch a283d00013 request camera permissions when attaching taking picture or recording video 2018-03-07 22:30:35 +01:00
Daniel Gultsch 363c39a873 fixed take photo for activties that do not get destroyed 2018-03-07 22:30:35 +01:00
Daniel Gultsch 71beb92dd3 migrated some views over to app compat text styles 2018-03-07 22:30:35 +01:00
Daniel Gultsch 3130d40262 changed some of the jid entering dialogs to textinputlayout 2018-03-07 22:30:35 +01:00
Daniel Gultsch 9d15d3b408 introduced expert setting to not scroll down after sending a message 2018-03-07 22:30:35 +01:00
Daniel Gultsch ac22007e28 removed 'preemptive grant' setting 2018-03-07 22:30:35 +01:00
Daniel Gultsch b393f54a03 get rid of customizable resources 2018-03-07 22:30:35 +01:00
Daniel Gultsch e3ca4ca485 made conference invite work again 2018-03-07 22:30:35 +01:00
Daniel Gultsch 5ed94d5ab0 made publish pgp work from conversation view 2018-03-07 22:30:35 +01:00
Daniel Gultsch 6b55f05e27 don't send messages in callback 2018-03-07 22:30:35 +01:00
Daniel Gultsch 521a711fbc use cards views in about and publish avatar activity 2018-03-07 22:30:35 +01:00
Daniel Gultsch 12031515d1 bring scan button to StartConversationActivity 2018-03-07 22:30:35 +01:00
Daniel Gultsch 3bd42230f2 do not redirect to StarConversationActivity when scanning invalid jid 2018-03-07 22:30:35 +01:00
Daniel Gultsch 13322a568a jump to first unread message if was scrolled to bottom earlier 2018-03-07 22:30:35 +01:00
Daniel Gultsch acc47fbeda add scan action to contact details 2018-03-07 22:30:35 +01:00
Daniel Gultsch 89bfae14b1 fixe scan in OmemoActivities 2018-03-07 22:30:35 +01:00
Daniel Gultsch 9a76aff8f9 skip background connect when changing theme 2018-03-07 22:30:35 +01:00
Daniel Gultsch fe8e131e3a simplified reInit logic 2018-03-07 22:30:35 +01:00
Daniel Gultsch bd2417e792 fixed openDialogs call when poping back stack 2018-03-07 22:30:35 +01:00
Daniel Gultsch 74336fa165 always scroll if viewing intent 2018-03-07 22:30:35 +01:00
Daniel Gultsch dfb4e4eb46 integrate qr code scanner. temporarily break omemo activity scan 2018-03-07 22:30:35 +01:00
Daniel Gultsch 6652135746 updated manage account activity to new colors 2018-03-07 22:30:35 +01:00
Daniel Gultsch ae2536adff made a few callbacks save to activity being detached 2018-03-07 22:30:35 +01:00
Daniel Gultsch 1236c6a139 save scroll state across rotations 2018-03-07 22:30:35 +01:00
Daniel Gultsch 21c9ffd8b2 skip refresh if binding is missing 2018-03-07 22:30:35 +01:00
Daniel Gultsch 8aba540717 fixed take photo + do not reint twice 2018-03-07 22:30:35 +01:00
Daniel Gultsch 108edbe314 show warning dialogs 2018-03-07 22:30:35 +01:00
Daniel Gultsch 743543ad90 fix permission handling 2018-03-07 22:30:35 +01:00
Daniel Gultsch b5fa9b77c9 skip unnecessary loading of conversation overview fragment 2018-03-07 22:30:35 +01:00
Daniel Gultsch 759498ac3a fixed showing QR code on long press 2018-03-07 22:30:35 +01:00
Daniel Gultsch e11fafcf52 don't show qr scan in conversation view 2018-03-07 22:30:35 +01:00
Daniel Gultsch 3b75161113 fixed onActivityResult handling for pgp 2018-03-07 22:30:34 +01:00
Daniel Gultsch b0bec2c390 added dedicated scan button 2018-03-07 22:30:34 +01:00
Daniel Gultsch e0317cfa14 made download button in message adapter work 2018-03-07 22:30:34 +01:00
Daniel Gultsch e93b06f45c redirect on empty conversation list 2018-03-07 22:30:34 +01:00
Daniel Gultsch 7bc7853d1a register open conversation with notification service 2018-03-07 22:30:34 +01:00
Daniel Gultsch e68fe13a22 process intents 2018-03-07 22:30:34 +01:00
Daniel Gultsch 4c8cbfe966 make archive menu item work 2018-03-07 22:30:34 +01:00
Daniel Gultsch 5e28a8f8d5 make read markers work 2018-03-07 22:30:34 +01:00
Daniel Gultsch 46feb7bf42 handle view conversation action when ConversationFragment is already open 2018-03-07 22:30:34 +01:00
Daniel Gultsch 6cfc6af886 change font size in conversation overview 2018-03-07 22:30:34 +01:00
Daniel Gultsch cd75e55e3f handle view intent 2018-03-07 22:30:34 +01:00
Daniel Gultsch 6b689edb52 move new activity back to original name 2018-03-07 22:30:34 +01:00
Daniel Gultsch 02c78bb1fb made refresh work 2018-03-07 22:30:34 +01:00
Daniel Gultsch 354b182968 made swipe and select work 2018-03-07 22:30:34 +01:00
Daniel Gultsch 6bd0abcd8e fragment voodoo 2018-03-07 22:30:34 +01:00
Daniel Gultsch dd21f5d072 wip 2018-03-07 22:30:34 +01:00
Daniel Gultsch e9e616ebc7 switch conversations fragment to data binder 2018-03-07 22:30:34 +01:00
Daniel Gultsch 8d9d96d4e1 vastly untested refactor. pushing for backup purposes 2018-03-07 22:30:34 +01:00
Daniel Gultsch c17f902be2 refactoring. move functionality from activity to fragment 2018-03-07 22:30:34 +01:00
Daniel Gultsch d55a3842d3 more otr cleanup 2018-03-07 22:30:34 +01:00
SoyaLeaf c7fd54a17e Moved the error message to TextInputLayout in the ChangePasswordActivity 2018-03-07 22:30:34 +01:00
Daniel Gultsch 235275ba91 more cleanup 2018-03-07 22:30:34 +01:00
Daniel Gultsch bf6b54a7aa get rid of OTR 2018-03-07 22:30:34 +01:00
Daniel Gultsch fc5a2922e9 use data binder for list item adapater 2018-03-07 22:30:34 +01:00
Daniel Gultsch 595757fe00 use data binder for inflating muc items 2018-03-07 22:30:34 +01:00
Daniel Gultsch fb383c7881 use async avatar loader in conference details 2018-03-07 22:30:34 +01:00
Daniel Gultsch c0b95a9d1c add fab to start conversations activity 2018-03-07 22:30:33 +01:00
Daniel Gultsch 2df1aaaed2 use data binder for contact key item 2018-03-07 22:30:33 +01:00
Daniel Gultsch 1b8a437b1e create dedicated button to enable undecided accounts 2018-03-07 22:30:33 +01:00
Daniel Gultsch 0262975635 started to change text style to app compat 2018-03-07 22:30:33 +01:00
Daniel Gultsch 5ebcb1ae71 ported presence activity to cardview 2018-03-07 22:30:33 +01:00
Daniel Gultsch d0e58330e9 switch account activity to card view. started using data binder 2018-03-07 22:30:33 +01:00
Daniel Gultsch 1c441a57e8 only show one error at once 2018-03-07 22:30:33 +01:00
SoyaLeaf f334349cd6 Moved the error message to TextInputLayout 2018-03-07 22:30:33 +01:00
Daniel Gultsch 30776a86c4 change key activities to cards 2018-03-07 22:30:33 +01:00
Daniel Gultsch 58ec5ced8a use data binder for contact details activity 2018-03-07 22:30:33 +01:00
Daniel Gultsch eb25643d94 migrate to CardView in contact and muc details 2018-03-07 22:30:33 +01:00
SoyaLeaf 63fb5d98cc Change ShowHidePasswordEditText to TextInputEditText.
change the input fields in the AccountActivity to use the TextInputLayout.

Rollback format and change toggle tint
2018-03-07 22:30:33 +01:00
Daniel Gultsch 63c4fe6f02 do not use pop up menus for encryption and attachment selection 2018-03-07 22:30:33 +01:00
Daniel Gultsch 6f5076e8c4 fixed crash when selecting participants 2018-03-07 22:30:33 +01:00
Daniel Gultsch df82e7689d removed unused resources 2018-03-07 22:30:33 +01:00
Daniel Gultsch 1307cfe728 switch to switchcompat 2018-03-07 22:30:33 +01:00
daivat15 54dadfd7cd AppCompat Migration contribution 2018-03-07 22:30:33 +01:00
Daniel Gultsch 5775223653 fixed code comment 2018-03-07 22:30:33 +01:00
Daniel Gultsch a25c5ed401 rewrite how preference screens are invokved 2018-03-07 22:30:33 +01:00
Daniel Gultsch de0272fd1a integrate trust manager into conversations 2018-03-07 22:30:33 +01:00
Daniel Gultsch bd90f2140d fixed search in abstractsearchablelistitem 2018-03-07 22:30:33 +01:00
Daniel Gultsch bf85d30421 fixed hint color for edit message 2018-03-07 22:30:33 +01:00
Daniel Gultsch f81fbb36f1 migrated alert dialogs to app compat 2018-03-07 22:30:33 +01:00
Daniel Gultsch d49fb5873e switch about activity to appcompat 2018-03-07 22:30:33 +01:00
Daniel Gultsch fe4ebb6244 reference support actionbar in all activities 2018-03-07 22:30:33 +01:00
Daniel Gultsch 6e89427d5e started work on migrating to appcompat 2018-03-07 22:30:33 +01:00
Daniel Gultsch 0deffef8da fixed concurrent modification when killing mam queries 2018-03-01 08:27:30 +01:00
Daniel Gultsch 7e09fac1da do not merge bug reports 2018-02-25 14:28:14 +01:00
Daniel Gultsch 63cd8e5981 added config param to use a random resource at every bind 2018-02-24 20:47:02 +01:00
Daniel Gultsch 4013123279 MAM: rework hasMessagesLeft to account for prosody’s missing count 2018-02-24 10:57:11 +01:00
Daniel Gultsch 90ace36b18 only explicitly request device list for users not in roster fixups 2018-02-24 10:03:22 +01:00
Daniel Gultsch a09d63d9a4 only explicitly request device list for users not in roster 2018-02-24 09:47:07 +01:00
Daniel Gultsch 03fa58634b kill mam query when archiving conversation 2018-02-24 09:39:17 +01:00
Daniel Gultsch 7725cb8311 MAM: look at total count for completness. parse fin correctly 2018-02-23 23:11:54 +01:00
Daniel Gultsch f81e5e471e request disco items before disco#info on first connect
should make initial connect faster because code is not waiting for omemo code to run
2018-02-20 17:36:07 +01:00
Daniel Gultsch e7094af9d5 warn when attempting to write stanza to an unbound stream 2018-02-20 17:03:44 +01:00
Daniel Gultsch 72cf702e75 mark error notifications as sensitve and local only. fixes #2795 2018-02-20 08:22:08 +01:00
Daniel Gultsch c35ac11a42 check if axolotl service is initialized before displaying keys 2018-02-19 17:26:38 +01:00
Daniel Gultsch 742727504f fixed handling of self address messages w/o remoteMsgId 2018-02-19 15:52:33 +01:00
Daniel Gultsch 014cf66c87 do not allow insecure bind 2018-02-18 21:54:03 +01:00
Marc Schink 17c6d8827c Make use of Namespace.DATA constant 2018-02-16 16:12:53 +01:00
Marc Schink 9af7b7ae1e Namespace: Add constant for 'jabberdata' 2018-02-16 16:12:53 +01:00
Daniel Gultsch a3f3cfa0bb only allow a number of white listed headers according to http upload v0.5 2018-02-16 11:14:16 +01:00
Marc Schink 3fa205d463 Don't add account if user cancels. Fixes #2797 2018-02-15 14:40:21 +01:00
Marc Schink 3b7d9b39f7 Pass invite XMPP URI along instead of JID 2018-02-14 17:03:43 +01:00
Marc Schink c7d2b65982 XmppUri: Add toString() method 2018-02-14 17:03:43 +01:00
Daniel Gultsch d3e755ceb1 null check on invite object 2018-02-13 15:20:30 +01:00
Christoph Scholz 9360f5c960 allow roster action with name 2018-02-12 20:00:42 +01:00
Daniel Gultsch 6650c0bd57 always copy firefoxe’s shared files 2018-02-12 12:31:59 +01:00
Daniel Gultsch eed2d93145 integrate intent integrator to finish activity when needed 2018-02-12 11:22:51 +01:00
Daniel Gultsch 64928d0ff1 http upload: do not crash on invalid slot responses 2018-02-11 17:54:59 +01:00
Daniel Gultsch e2ac1db225 do not cross reference bookmarks and conversations 2018-02-10 19:06:31 +01:00
Daniel Gultsch 2eb2513615 always persist current nick (in bookmark and database) 2018-02-10 16:24:55 +01:00
Daniel Gultsch 64c956904d don't cancel animation when switching accounts w/o init 2018-02-10 13:32:37 +01:00
Daniel Gultsch f828b89cbd skip empty srv records 2018-02-10 12:16:18 +01:00
Daniel Gultsch facc56bc7b return to welcome activity after deleting last account 2018-02-10 10:45:33 +01:00
Daniel Gultsch 97406ecf51 skip animations for startup activities 2018-02-09 22:19:13 +01:00
Daniel Gultsch d33fca09cf add null checks to huawei settings code 2018-02-09 22:11:11 +01:00
Daniel Gultsch 5335cda50c do not put setup activites on stack twice 2018-02-09 20:09:58 +01:00
Daniel Gultsch 012653f7ed SM saftey checks 2018-02-02 16:52:40 +01:00
Christian Schneppe 40878350c7
fixed crash on receiving files 2018-02-01 19:47:51 +01:00
Daniel Gultsch bcd00bb517 discover file extension in original filename from pgp 2018-01-29 01:40:02 +01:00
Daniel Gultsch 2f1f9f2c2c do not explicitly request MAM archive for blocked contacts 2018-01-29 01:39:46 +01:00
Daniel Gultsch e48788e821 support new http upload namespace 2018-01-28 14:17:42 +01:00
Daniel Gultsch 4541ac8b7b direct link from settings to huaweis protected apps 2018-01-28 13:31:12 +01:00
Daniel Gultsch 3e9224bde9 add snooze button to notification 2018-01-28 13:14:30 +01:00
Daniel Gultsch c7bdc343ec show account details when clicking avatar picture in self chat 2018-01-27 21:34:32 +01:00
Daniel Gultsch 8f9640a9e1 just switch to conversations & do not creat when 'creating' self contact 2018-01-27 21:04:42 +01:00
Daniel Gultsch a33984acc5 encrypt muc PM only to actual recipient 2018-01-27 20:55:43 +01:00
Daniel Gultsch be70eb5650 improvements for self messages
* fix omemo in group chats w/o participants
* don't create two axolotl messages when messaging self
* fix read marker for self messages
2018-01-27 10:45:05 +01:00
Daniel Gultsch 3e111e7f58 allow axolotl header to be empty in empty mucs 2018-01-27 09:15:47 +01:00
Daniel Gultsch a5256c3e83 show self messages from other devices as received 2018-01-27 09:15:02 +01:00
Daniel Gultsch 294e19d962 fixed sharing multiple images 2018-01-25 12:48:04 +01:00
Daniel Gultsch 676ac32a97 delegate uri permission to service when processing files 2018-01-23 22:02:28 +01:00
Daniel Gultsch 44ce90ccf2 respond to message receipts request when processing carbon copy 2018-01-23 22:00:33 +01:00
Daniel Gultsch eee5d885ba make chat markers opportunistic in private mucs 2018-01-22 23:21:24 +01:00
Daniel Gultsch e62b0ca320 fix NPE when writing Resolver.Result to disk 2018-01-22 23:20:58 +01:00
Daniel Gultsch 1e0f288e6a avoid some unnecessary notification updates 2018-01-22 12:24:10 +01:00
Daniel Gultsch 78c5c508b3 permanently cache last resolver result 2018-01-21 20:41:30 +01:00
Daniel Gultsch 3c4ba7e0ce keep screen on during audio playback. fixes #2733 2018-01-21 16:04:31 +01:00
Daniel Gultsch f2bbb6087c remove wakelocks in XmlReader 2018-01-21 12:30:31 +01:00
Daniel Gultsch 6458351f6c use countdownlatch to check if TagWriter has finished 2018-01-20 23:13:36 +01:00
Daniel Gultsch 3a8855a672 fixed interupt handling 2018-01-20 21:57:09 +01:00
Daniel Gultsch 2b39acf352 postpone notification actions (mark as read, reply) until after messages are loaded 2018-01-20 20:05:39 +01:00
Daniel Gultsch 4600b3982e treat key transport messages differently to not open empty conversations 2018-01-20 09:36:37 +01:00
Daniel Gultsch 3ff37511d4 sent message receipts after mam catchup 2018-01-20 08:54:44 +01:00
Daniel Gultsch 6009b8ebf0 disable offline messages. postpone prekey handling until after mam catchup 2018-01-19 18:17:13 +01:00
Daniel Gultsch 036dd82698 properly handle key transport messages. use prekeyparsing only when that attribute is set 2018-01-18 20:58:55 +01:00
Daniel Gultsch 6663eb0a12 show warning toast if PM is disabled in MUC 2018-01-18 17:35:42 +01:00
Daniel Gultsch 5d11fe7dc6 added a few todos to source code 2018-01-15 11:13:35 +01:00
Christoph Scholz d6bbcbd866 setting room subject also sets room name 2018-01-13 21:02:06 +01:00
Daniel Gultsch 8b10f96272 disable copy in password field 2018-01-10 16:57:54 +01:00
Daniel Gultsch d68a610ac6 change edit button in quick edit dialog to accept 2018-01-09 10:30:32 +01:00
Daniel Gultsch 7ab8ed625d fix wrong avatar shown when true jid doesn't match in muc 2018-01-09 10:13:34 +01:00
Daniel Gultsch 2c2e77a168 ShareWithActivity: refactor for java 8 2018-01-01 11:56:31 +01:00
Daniel Gultsch 97bc93aeb0 do not use theme in uri activity 2017-12-19 12:50:19 +01:00
Daniel Gultsch 127557df56 show pep as available if omemo_all_access has been installed on server 2017-12-18 13:47:53 +01:00
Daniel Gultsch c5ee541906 clear muc avatar after going online 2017-12-18 13:19:11 +01:00
Daniel Gultsch e0ec6ad8b6 fixed omemo device list not getting annouced on empty list 2017-12-18 13:18:58 +01:00
Daniel Gultsch 1753dcac76 save muc subject to disk and use crypto targets for offline name generation 2017-12-17 16:23:19 +01:00
Daniel Gultsch 2b0551a522 store new intent in welcome account activity 2017-12-16 21:05:56 +01:00
Daniel Gultsch 21615477ed transport invitee from welcome activity to start conversations activity 2017-12-16 20:38:14 +01:00
Daniel Gultsch c58fcb1dc6 create avatar in background thread 2017-12-16 14:22:57 +01:00
Daniel Gultsch 9b95f1102c PublishProfilePictureActivity: refresh on status change 2017-12-16 11:00:49 +01:00
Daniel Gultsch ccf75ef45a removed 'contact-only' hint from publish avtar screen 2017-12-15 21:47:16 +01:00
Daniel Gultsch bb6d5463fe use JPEG as file format for avatar and compress to <9400 chars 2017-12-15 20:49:48 +01:00
Daniel Gultsch 0be41e0aab refactor StartConversationsActivity 2017-12-15 19:13:58 +01:00
Daniel Gultsch cc6a001ac2 remove NFC handling + let edit account handle own jids 2017-12-15 18:25:21 +01:00
Daniel Gultsch 6a9abd0e49
Merge pull request #2720 from af8a524db1/uri_message
Handle 'message action' XMPP URIs
2017-12-15 16:17:05 +01:00
Daniel Gultsch 8d339b6521 remove NFC + light refactoring of XmppActivity 2017-12-15 16:14:04 +01:00
Daniel Gultsch df37e34e02 use show password widget in Change Password Activity 2017-12-15 12:31:31 +01:00
Daniel Gultsch 4d4586eaea Conference Details: hide settings in offline mucs 2017-12-15 02:53:52 +01:00
Daniel Gultsch 60ae269870 removed password repeat field in favor of show password field 2017-12-15 02:51:54 +01:00
Daniel Gultsch 38797177c7 ChatMarkers: parse own account from true counterpart 2017-12-14 19:34:35 +01:00
Daniel Gultsch 120ddcf8c9 fixed treatAsDownload() for empty messages 2017-12-14 12:25:21 +01:00
Marc Schink 7dc68522a2 Handle NFC action in UriHandlerActivity 2017-12-13 21:20:30 +01:00
Marc Schink d5f8a4dacb StartConversationActivity: Scan QR codes via UriHandlerActivity 2017-12-13 21:20:30 +01:00
Marc Schink 75e16d0f54 UriHandlerActivity: Handle 'message action' XMPP URI 2017-12-13 21:20:30 +01:00
Marc Schink 0fac4be94d XmppUri: Parse 'message action' query 2017-12-13 21:16:31 +01:00
Daniel Gultsch 782b8fb744 fixup for pep omemo notification dedup 2017-12-13 20:28:30 +01:00
Marc Schink edf3c41e58 Add ShareViaAccountActivity 2017-12-12 17:15:16 +01:00
Marc Schink a7927d181b AccountAdapter: Allow hiding of state button 2017-12-12 17:15:13 +01:00
Marc Schink b8b7cc2635 Implement simple URI handler activity 2017-12-12 14:05:14 +01:00
Daniel Gultsch 9a796df2a3 add getAccountJids to DatabaseBackend 2017-12-11 15:56:15 +01:00
Daniel Gultsch 37bd26c75f save changed server id in replaced messages 2017-12-11 15:55:55 +01:00
Daniel Gultsch 946d97074f try to detect invalid nick (w/ emoji) in MUCs 2017-12-11 15:55:10 +01:00
Daniel Gultsch a973833a4f support error messages in quick edit dialog 2017-12-09 18:46:21 +01:00
Daniel Gultsch d349f634d0 ignore data uri after aesgcm uri 2017-12-09 14:45:54 +01:00
Daniel Gultsch 665c5da8ae fix xmpp uri regression 2017-12-08 18:44:08 +01:00
Daniel Gultsch 172d249369 initialize emoji helper in StartConversationActivity 2017-12-08 18:43:58 +01:00
Daniel Gultsch cdee6523e4 fix XmppUri for empty uris 2017-12-08 14:24:26 +01:00
Daniel Gultsch 1b0cd77c57 XmppConnection: refactor registration code. 'Open Website' on PAYMENT_REQUIRED failure 2017-12-08 14:23:38 +01:00
Georg Lukas d96180f0ee XEP-0393: fix off-by-one error in block detector ('`ii`ii') 2017-12-07 14:48:41 +01:00
Daniel Gultsch 328c6dea0f fixed workaround that allowed us to expire devices 2017-12-07 14:47:21 +01:00
Daniel Gultsch a4b44ee730 Styler: do not style across multiple messages 2017-12-06 16:58:08 +01:00
Daniel Gultsch c489b6a8eb put device id into setting for doze 2017-12-06 16:57:43 +01:00
Daniel Gultsch 97821f0633 possible fix for retry loop on pgp key annoucement 2017-12-05 19:16:53 +01:00
Daniel Gultsch 0e6d3db926 Do not show xmpp uris as links that have invalid jids 2017-12-05 19:02:23 +01:00
Daniel Gultsch 5885bc7f25 show warning when opening invalid jid 2017-12-05 17:29:05 +01:00
Daniel Gultsch b5fe8789e9 Refined avatar generation a bit 2017-12-05 14:15:10 +01:00
Daniel Gultsch 614372dcbb ConversationsAdapter: Do not show image preview. Show pictogram instead 2017-12-05 14:14:52 +01:00
Daniel Gultsch 9869310699 avoid some false positive quotes 2017-12-04 16:50:15 +01:00
Daniel Gultsch 95553750a3 Conference Options: fix context menus for people not in roster 2017-12-03 18:09:14 +01:00
Daniel Gultsch 4b5db2fb45 read marker from mam. only trust true counterpart when mam:2 is being used 2017-12-02 22:13:59 +01:00
Daniel Gultsch ffb3eeb913 MAM: update previously sent messages with server msg id during mam query 2017-12-02 20:52:30 +01:00
Daniel Gultsch fc8a5641db MAM: assume true counterpart is safe to extract when using mam:2 2017-12-02 18:11:03 +01:00
Daniel Gultsch 61f3539839 MAM: do not use private messages when finding last id in muc 2017-12-02 17:48:54 +01:00
Daniel Gultsch 97df4a682b MessageParser: ignore groupchat messages retrieved from user archive 2017-12-02 17:48:26 +01:00
Daniel Gultsch 75b4926025 fixed publish-options migration 2017-12-01 18:54:39 +01:00
Daniel Gultsch 23e9c73c94 attempt to enable MAM(ejabberd) on muc configuration 2017-12-01 17:36:50 +01:00
Daniel Gultsch b158e9fd42 do not return muc whispers as last markable message 2017-11-30 17:26:50 +01:00
Daniel Gultsch 86f09dd9b9 PresenceParser: work around for ejabberd not including status code 110 in shut down presence 2017-11-30 13:21:03 +01:00
Daniel Gultsch 64dd622d32 make 'markable' attribute persistent 2017-11-25 20:55:43 +01:00
Daniel Gultsch 7f4f30c849 ListItemAdapter: use ViewHolder 2017-11-23 23:26:19 +01:00
Daniel Gultsch 9381c1d3e2 fixed content description for previous ViewHolder refactor 2017-11-23 20:32:51 +01:00
Daniel Gultsch 333e7a6510 deduplicate read markers if one with real jid is found 2017-11-23 18:19:05 +01:00
Daniel Gultsch 513427c8a8 MAM: start muc catchup with last sent message if serverId is available 2017-11-23 18:18:30 +01:00
Daniel Gultsch 7d04e6331a ConversationAdapter: use view holder 2017-11-23 09:59:49 +01:00
Daniel Gultsch 900ad2f7ef ConversationsAdapter: Use EmojiWrapper instead of EmojiTextView 2017-11-23 09:36:51 +01:00
Daniel Gultsch d7c5937c20 process emoji charsequence instead of using EmojiTextView 2017-11-22 21:17:38 +01:00
Daniel Gultsch 03c34649b4 shorten >4 names to a, b, c +n more 2017-11-22 17:57:28 +01:00
Daniel Gultsch 8696cf2235 PgpService: feed result intent back into decryption 2017-11-22 13:36:10 +01:00
Daniel Gultsch 4596cad3cb MessageParser: don't refresh view after parsing chat state when combined with message 2017-11-21 16:17:27 +01:00
Daniel Gultsch 381fe82b01 save full jid when sending in muc. check chat markers against 'sender' 2017-11-21 15:42:46 +01:00
Daniel Gultsch 79ea0713bb MessageAdapter: code reformat 2017-11-21 13:26:45 +01:00
Daniel Gultsch 702d6cf2a5 MessageParser: dismiss notification when receiving read marker from another client 2017-11-21 13:26:23 +01:00
Daniel Gultsch 05b6fdb9f1 use empty wake lock tag 2017-11-21 13:25:18 +01:00
Daniel Gultsch 52e09d17e8 MessageAdapter: do not apply empty size spans 2017-11-21 12:41:05 +01:00
Daniel Gultsch 9548a4f6af ConversationAdapter: do not show file icon when file has been deleted 2017-11-21 12:40:42 +01:00
Daniel Gultsch 28e005f926 send and show read markers in private, non-anonymous groups 2017-11-20 11:26:20 +01:00
Daniel Gultsch 1780a4257f ConversationsAdapter: code cleanup 2017-11-20 11:12:11 +01:00
Daniel Gultsch e452d5d46d stop scrolling before changing conversations. fixes #2700 2017-11-17 21:00:01 +01:00
Daniel Gultsch 5e15c48206 refactore phone helper to ignore security exception 2017-11-17 10:28:51 +01:00
Daniel Gultsch 013822fe82 excute db read and writes on different threads 2017-11-16 15:53:03 +01:00
Daniel Gultsch 3dbe5db44b Rename 'conference' to 'group chat' 2017-11-16 13:30:27 +01:00
Daniel Gultsch 2d42646893 JingleConnection: fixed rare npe when canceling jingle 2017-11-16 12:49:15 +01:00
Daniel Gultsch c52492ada0 apperently some servers will ommit the from even for stanzas not going to them 2017-11-16 12:48:26 +01:00
Daniel Gultsch 75a485cbc1 catch all sorts of date parsing errors 2017-11-16 12:47:49 +01:00
Daniel Gultsch 8e4440a49a fixed ImStyleParser to not style '**test**' 2017-11-14 17:57:22 +01:00
Daniel Gultsch 3efa1c46ab remove numeric hint from captcha 2017-11-14 09:14:03 +01:00
Daniel Gultsch fced4a454e ConversationsAdapter: Do not show attachment icon + text if attachment is audio or location 2017-11-13 18:37:12 +01:00
Daniel Gultsch 8e4df80619 Merge branch 'patch-1' of https://github.com/Kandr0s/Conversations into Kandr0s-patch-1 2017-11-13 14:51:56 +01:00
Daniel Gultsch 3faf951f47 disable swipe to left to dismiss conversation 2017-11-13 14:51:45 +01:00
Kandr0s 308f451959 Show Drawable if Location/File/Voice 2017-11-13 13:39:06 +01:00
Daniel Gultsch bc9da1fbf4 remove prosody push from blacklist 2017-11-12 19:22:39 +01:00
Daniel Gultsch 49365511e4 trying to catch various dead system exception when scheduling new alarms and such 2017-11-12 19:22:07 +01:00
Daniel Gultsch 7e93f4519a catch all RuntimeExceptions when using MetadataRetriever 2017-11-12 19:20:35 +01:00
Daniel Gultsch a6d1559755 styler: ignore closing keyword when preceded by whitespace 2017-11-10 20:19:22 +01:00
Daniel Gultsch 513795fdf8 use view context instead activity to show toast in ConversationFragment 2017-11-10 20:18:47 +01:00
Daniel Gultsch d6eb08e0ed catch rare exception when transforming download uri to real path 2017-11-10 20:18:09 +01:00
Daniel Gultsch f4638d7eec catch some more exception when retrieving media runtime 2017-11-10 20:17:42 +01:00
Daniel Gultsch 949d3280d3 open links in new tabs 2017-11-09 20:49:44 +01:00
Daniel Gultsch a5c33abe88 MessageAdapter: code cleanup 2017-11-09 20:23:31 +01:00
Daniel Gultsch 459cf09f06 FileProvider: attempt to work with sd cards 2017-11-08 20:34:08 +01:00
Daniel Gultsch 676f181cad lower priority for error notification 2017-11-08 20:33:05 +01:00
Daniel Gultsch e393de6832 disable auto fill on edit message box 2017-11-08 13:25:38 +01:00
Daniel Gultsch e9587f73ce styling: introduce support for code blocks 2017-11-07 23:28:14 +01:00
Daniel Gultsch 2e3b5de6b6 do not quote quotes 2017-11-07 22:22:28 +01:00
Daniel Gultsch e5210bbaa0 brought back 'copy to clipboard' and 'quote' context menu options 2017-11-07 15:58:27 +01:00
Daniel Gultsch 49b4153fb5 make keyword styling work in quotes 2017-11-07 13:23:49 +01:00
Daniel Gultsch 22c37bd430 changed text styling to keep the keyword 2017-11-06 23:44:00 +01:00
Daniel Gultsch af3c9be700 fix take photo with pending keys 2017-11-06 17:27:48 +01:00
Daniel Gultsch 894ffc6488 ExceptionHelper: code clean up 2017-11-06 14:20:58 +01:00
Daniel Gultsch aa10b9ff05 code refactoring to provide shorter account enabled check 2017-11-06 13:57:25 +01:00
Daniel Gultsch ebd3330037 changed preview alpha to 0.6f 2017-11-06 12:17:43 +01:00
Daniel Gultsch 4d896cc3ab initialize emoji compat in share activity 2017-11-06 12:16:55 +01:00
Daniel Gultsch c262cd5d6e support for basic IM styling 2017-11-05 21:34:40 +01:00
Daniel Gultsch 7984100e54 delete unneeded class 2017-11-05 16:32:57 +01:00
Daniel Gultsch 435d1ef5bd SASL: don't prefer PLAIN auth over DIGEST-MD5 for nimbuzz.com 2017-11-05 16:21:59 +01:00
Daniel Gultsch 8f0cd86090 Resync has_enabled_account setting after delete and on start 2017-10-28 17:49:51 +02:00
Daniel Gultsch 3205d763cf MessageAdapter: Display emojis slightly larger in text 2017-10-28 13:15:31 +02:00
Daniel Gultsch aeec76d68b Resolver: active network gets high priority 2017-10-28 13:12:11 +02:00
Daniel Gultsch 4d0986ee91 Resolver: Only prefer VPN connections when network is active 2017-10-27 21:57:31 +02:00
Daniel Gultsch 962add97f9 XmppConnection: throw bind failure when server tries to reassign domain 2017-10-27 18:26:06 +02:00
Daniel Gultsch 82e5a28f49 Sharing: request permission 2017-10-27 17:25:01 +02:00
Daniel Gultsch 08aad7d0aa black list certain local parts and show domain instead 2017-10-27 15:46:12 +02:00
Daniel Gultsch 3c2aa8a4d2 Config.java: removed dead code 2017-10-27 15:30:08 +02:00
Daniel Gultsch 6f802b88d2 XmppConnection: do not count stanzas before smacks session has started 2017-10-27 11:35:55 +02:00
Daniel Gultsch dc5d504edd MessageAdapter: round file sizes 2017-10-27 11:35:19 +02:00
Daniel Gultsch ad6f6183b8 video processing: pick smaller file after transcoding. do not transcode very small files 2017-10-27 11:34:53 +02:00
Daniel Gultsch 396ad3361f Jingle: create output stream on demand 2017-10-26 18:42:10 +02:00
Daniel Gultsch 73db0bd19f MessageAdapter: Do not display muc whispers as emoji only 2017-10-26 18:41:40 +02:00
Daniel Gultsch ac50b367b7 don't share video twice after transcoding exception. fixes #2652 2017-10-14 02:38:05 +02:00
Daniel Gultsch 48baf56622 save message drafts across restarts. fixes #2642 2017-10-01 22:52:21 +02:00
Daniel Gultsch 50d436fd81 EventReceiver: use setting to store enabled accounts 2017-10-01 18:44:28 +02:00
Daniel Gultsch 874c1f4c74 MessageAdapter: trim but don't replace all whitespaces before displaying emoji message 2017-10-01 10:42:01 +02:00
Daniel Gultsch 6713431986 Emoticons: support subdivision-flags 2017-09-30 18:58:35 +02:00
Daniel Gultsch 39a54838fa Emoticons: detect keycaps 2017-09-30 17:38:48 +02:00
Daniel Gultsch bbfabaf930 FileBackend: close cursor after retrieving file size 2017-09-30 15:50:01 +02:00
Daniel Gultsch 014052b991 added a few codepoints with emoji variants 2017-09-30 01:18:08 +02:00
Daniel Gultsch f53e44a291 refactor emoji detector and fix fitzpatrick followed by zwj 2017-09-29 23:27:08 +02:00
Daniel Gultsch f0e48c8af5 use own algorithm to count emoji instead of using emoji-java 2017-09-29 22:56:17 +02:00