Commit Graph

3858 Commits

Author SHA1 Message Date
Daniel Gultsch 3dc749b22b remove duplicate call to onConversationArchived() 2018-03-29 16:23:36 +02:00
Daniel Gultsch f2b0a10c22 end view if conversation was archived 2018-03-29 15:08:43 +02:00
Daniel Gultsch a1b3e2d57c hide disable encryption button when omemo is in always mode 2018-03-29 14:26:04 +02:00
Daniel Gultsch 9646783d48 fixed regression of 'add contact' not working. fixes #2916 2018-03-29 13:40:52 +02:00
Daniel Gultsch 5a6527bf4c pulled translations from transifex 2018-03-29 12:02:04 +02:00
Daniel Gultsch a6539be52b introduced tri state omemo setting (off by default, on by default, always) 2018-03-27 15:35:53 +02:00
Daniel Gultsch 06f8d8c5d6 add ruleset to disable omemo-by-default for certain providers 2018-03-26 13:29:01 +02:00
ChaosKid42 536149723e getNextEncryption does not honor ENCYPTION_MASK (#2899) 2018-03-26 12:44:21 +02:00
Daniel Gultsch 1749009d10 put toolbar elevation in dimen file 2018-03-26 10:12:36 +02:00
Daniel Gultsch 786d9895c8 fixed popup menu in dark theme 2018-03-26 05:43:22 +02:00
Daniel Gultsch a32d0c5d20 process receipts only on mam catchup 2018-03-26 05:43:01 +02:00
Daniel Gultsch ecedda8613 reformat 2018-03-25 18:49:49 +02:00
Daniel Gultsch fe8f0bd7f0 make receipt handling work with out of order receipts 2018-03-25 17:22:39 +02:00
Daniel Gultsch 2e8cc12ada do not allow user to quote file 2018-03-24 12:06:06 +01:00
Daniel Gultsch acdf822415 code cleanup in Contact class 2018-03-23 16:59:42 +01:00
Daniel Gultsch ce00767777 ignore bookmark name of 'None' 2018-03-23 16:52:05 +01:00
Daniel Gultsch e8bec4fe40 pulled translations from transifex 2018-03-23 11:39:46 +01:00
Daniel Gultsch c41f574b1f in lack of confirm source dialog in account details only trust scanned uris 2018-03-23 11:39:36 +01:00
Daniel Gultsch ce867758d5 call to update ui after fingerprint verification 2018-03-23 11:28:00 +01:00
Daniel Gultsch 255dd9674e fixed cache key generation for messages w/o full jid 2018-03-22 15:10:29 +01:00
Daniel Gultsch dccd3f1c8e figure out fallbacks with omemo source id 2018-03-22 13:26:35 +01:00
Daniel Gultsch bd3799fe02 messages coming from known muc server are treated as muc when creating conversation 2018-03-22 12:43:08 +01:00
Daniel Gultsch 47fba24296 pulled translations from transifex 2018-03-20 13:00:33 +01:00
Daniel Gultsch 3c61af88a1 StartConversationActivity: persist search across rotation 2018-03-20 12:52:23 +01:00
Daniel Gultsch 6d3be890b7 Merge branch 'qr_scan_fix' of https://github.com/klonfish/Conversations into klonfish-qr_scan_fix 2018-03-20 09:04:17 +01:00
Daniel Gultsch ad768d1938 improved logging while deleting old cache files 2018-03-20 09:04:04 +01:00
klonfish b249c1f36f Improved QR code recognition when screen and camera orientation don't match 2018-03-19 21:43:42 +01:00
Daniel Gultsch 2d59a99833 pulled translations from transifex 2018-03-19 21:06:39 +01:00
Daniel Gultsch b682aeb252 use utf-8 in barcodes 2018-03-19 21:05:20 +01:00
Daniel Gultsch 0f97b44e9f increased LruCache for unicode script detection 2018-03-19 13:32:32 +01:00
Daniel Gultsch 11136f939e commit allowing state loss 2018-03-19 12:29:21 +01:00
Daniel Gultsch 5363470bcf fix getNextEncryption 2018-03-19 10:08:36 +01:00
Daniel Gultsch 442c284c8e prevent double tapping on overflow menu 2018-03-19 09:43:33 +01:00
Daniel Gultsch 6779bf2a29 write roster only for active accounts 2018-03-18 23:19:23 +01:00
Daniel Gultsch 59386e50ac added prosodys enable archive to default room config 2018-03-18 19:41:27 +01:00
Daniel Gultsch cdbab64b03 fixed redownload of deleted http upload messages 2018-03-18 17:34:35 +01:00
Daniel Gultsch ba91fe2698 run roster sync in replacing task manager 2018-03-18 16:46:50 +01:00
Daniel Gultsch 9908af6286 sync roster to disk after roster push 2018-03-18 12:24:28 +01:00
Daniel Gultsch 7e6109a072 removed unecessary logging 2018-03-18 10:32:01 +01:00
Daniel Gultsch 5514958e93 presist http upload availibility 2018-03-18 10:30:15 +01:00
Daniel Gultsch f2ea609b51 code cleanup 2018-03-18 09:47:52 +01:00
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 d17a8cdcb9 pulled translations from transifex 2018-03-16 09:46:01 +01:00
Daniel Gultsch dbdbe1b312 pulled translations from transifex 2018-03-15 13:44:51 +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 45701448b8 made typing notifications default on new installs 2018-03-14 08:23:46 +01:00
Daniel Gultsch d4a05b8ef3 Merge branch 'master' of github.com:siacs/Conversations 2018-03-14 08:22:18 +01:00
Daniel Gultsch 7d1bd65a3b make camera feature optional 2018-03-14 08:21:49 +01:00
Sam Whited 4232e5b35d Classify in the "social" app category 2018-03-13 22:05:11 -05: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 6f5e368899 pulled translations from transifex 2018-03-11 18:42:13 +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 5e32b4ab17 fix playstore flavor 2018-03-08 16:27:33 +01:00
Daniel Gultsch e89378ceae hide register account checkbox in magic mode 2018-03-08 15:18:44 +01:00
Daniel Gultsch a2028b203f pulled translations from transifex 2018-03-08 14:08:37 +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 e5704f4cbd change last text styles over 2018-03-07 22:30:35 +01:00
Daniel Gultsch 51fcb7de31 scroll in post 2018-03-07 22:30:35 +01:00
Daniel Gultsch 97f728351b fixed highlighted caption style 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 562622393e fixed paddings in omemo key cards 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 5f502e908e replace camera action bar icon with scan qr button 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 5e7d1f7bcc stop settings from crashing when building with different package id 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 b9f6b792a9 fixed paddings 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 22a722c06d change image button background 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 9d25ecc21b remove pre api 21 theme 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