Daniel Gultsch
875810e1c7
offer to start/install orbot for edit account screen. fixes #1980 closes #2834
2018-12-03 13:15:06 +01:00
Daniel Gultsch
c02676ea4c
implement self healing omemo
...
after receiving a SignalMessage that can’t be decrypted because of broken sessions
Conversations will attempt to grab a new pre key bundle and send a new PreKeySignalMessage
wrapped in a key transport message.
2018-12-02 14:41:29 +01:00
Daniel Gultsch
f1e1c4a78d
keep track of previously edited ids
2018-12-01 15:52:44 +01:00
Daniel Gultsch
fdbed9cf58
open direct search after hitting + in share with screen
2018-12-01 13:27:00 +01:00
Daniel Gultsch
846bba96f2
remove role=none participant when first online participant joins
...
in anticipations for muc services using registered nicks (and putting nicks
into the member list even if that user is offline) we need to remove that 'fake' user
from the online list when the real user comes online.
2018-11-30 16:28:43 +01:00
Daniel Gultsch
6381f8a7f7
fixed cache cleaning of muc avatars, fixes #3296
2018-11-29 19:27:18 +01:00
Daniel Gultsch
d53143ab34
change audio attributes for notification channel
...
This may help on platforms that make a difference between ringtone volume and notification volume
2018-11-27 10:41:19 +01:00
Daniel Gultsch
ce5dffdbfb
transmit display name (nick) in subscription requests and display them on Quicksy
2018-11-26 12:56:30 +01:00
Daniel Gultsch
1de385dcb9
set access model to open when publishing avatar. fixes #3291
2018-11-25 20:58:48 +01:00
Daniel Gultsch
45dba15376
one time migration for existing quicksy account to set magic create flag
2018-11-25 20:47:50 +01:00
Daniel Gultsch
40e46ed8fa
make sure that conversation is 1:1 before offering to select presence on file resend
2018-11-23 13:11:51 +01:00
Daniel Gultsch
65c9dd71c7
prefer server side avatar on quicksy and address book avatar on conversations
2018-11-22 13:03:13 +01:00
Daniel Gultsch
f63a209881
cancel magic mode attribute after changing password once
2018-11-22 12:31:06 +01:00
Daniel Gultsch
66850a525a
removed unecessary code in time preference
2018-11-22 10:07:10 +01:00
Daniel Gultsch
61ac804f93
catch a few run time exceptions related to androids life cycle mgmt
2018-11-22 10:06:56 +01:00
Daniel Gultsch
23cc305720
refactor quite hours to make them time zone indepentent. fixes #2565
2018-11-21 18:14:02 +01:00
Daniel Gultsch
2c73b62f67
make password editable on auth error
2018-11-21 16:45:38 +01:00
Daniel Gultsch
2e0b26a5ab
revert 12 byte ivs that got commited by accident
2018-11-21 16:44:24 +01:00
Daniel Gultsch
f8fbb36a98
attempt to work around bugs in Chinese ROMs
2018-11-21 12:08:41 +01:00
Daniel Gultsch
0381fe3c06
remove now unused password has changed in magic mode
2018-11-21 11:55:29 +01:00
Daniel Gultsch
5c74918a3a
only show not stranger if messages are coming from quicksy domain not quicksy contacts
2018-11-21 11:34:19 +01:00
Daniel Gultsch
03d5aa8aeb
show 'show password' toggle for all magically created accounts. make quicksy accounts magically created
2018-11-20 21:33:43 +01:00
Daniel Gultsch
5490e98b14
use toastcompat library to catch BadTokenException in attempt to fix #3279
2018-11-20 17:17:14 +01:00
Daniel Gultsch
4d4f63be20
do not display toast if activity is finishing
2018-11-18 17:08:37 +01:00
Daniel Gultsch
300006a529
offer to copy error message to clipboard. fixes #3277
2018-11-18 11:45:24 +01:00
Daniel Gultsch
6715a4c353
make change nick toast use showToast helper method. fixes #3279
2018-11-18 11:21:52 +01:00
Daniel Gultsch
cf18bd08fc
provide option to reject subscription request when long pressing 'allow'
2018-11-18 10:34:14 +01:00
Daniel Gultsch
4f22859acf
catch illegal state exception on fragment transaction
2018-11-17 12:59:19 +01:00
Daniel Gultsch
e7d1555763
use startForegroundService compat from push message receiver
2018-11-17 12:57:36 +01:00
Daniel Gultsch
6dcac6f7cf
add versioning to sync namespace
2018-11-13 15:36:53 +01:00
Daniel Gultsch
6d67854086
catch cursor window allocation exception
2018-11-13 09:58:28 +01:00
Daniel Gultsch
09f9baeeef
do not add self as crytpo target in MUC
2018-11-12 20:14:06 +01:00
Daniel Gultsch
ab43a4bcf9
use display name to generate own avatar
2018-11-11 10:13:45 +01:00
Daniel Gultsch
4c88fce3b8
do not update foreground notification on error if it wasn’t enabled
2018-11-11 09:54:52 +01:00
Daniel Gultsch
306e12b24e
fixed race condition that prevented bookmark nick to be used
2018-11-10 17:33:24 +01:00
Daniel Gultsch
ccf9c42d0d
don’t show edit nick on Conversations
2018-11-10 10:19:29 +01:00
Daniel Gultsch
e335c59600
suggest previously assigned nick in Enter Name Activity
2018-11-09 18:52:42 +01:00
Daniel Gultsch
5012ff3545
added interface to edit nick
2018-11-09 17:47:36 +01:00
Daniel Gultsch
aca4ba981f
fixed caching key not being calculated properly
2018-11-08 20:52:57 +01:00
Daniel Gultsch
235f33b8b1
change contact sync explain dialog for quicksy
2018-11-08 19:04:07 +01:00
Daniel Gultsch
41b9c0de55
paramterize about activity title
2018-11-08 13:02:14 +01:00
Daniel Gultsch
e450626d5c
add suggested contacts to roster on first message
2018-11-08 12:20:46 +01:00
Daniel Gultsch
5be43e36e4
always do contact sync in background
2018-11-07 15:44:39 +01:00
Daniel Gultsch
8a67f31368
display spinning wheel + swipe to refresh for quicksy
2018-11-07 13:42:01 +01:00
Daniel Gultsch
fe90c6f846
suggest sync on login + hard code api server
2018-11-06 09:13:43 +01:00
Daniel Gultsch
d8fc03b2f7
show 'send pm' button in anon chats. fixes #3257
2018-11-03 17:07:02 +01:00
Daniel Gultsch
f0d5dc583d
use inContactList() instead inRoster() in the proper places
2018-11-03 16:32:08 +01:00
Daniel Gultsch
4688d68ea1
quicksy server is not a stranger
2018-11-03 16:12:57 +01:00
Daniel Gultsch
19e13115d3
added count down latch to await account connect before going into publish profile activity
2018-10-31 13:33:55 +01:00
Daniel Gultsch
2c31fbae78
show synced contacts in choose contact activity
2018-10-31 13:33:55 +01:00
Daniel Gultsch
3fab93bdd6
changed api endpoint and quicksy domain
2018-10-31 13:33:55 +01:00
Daniel Gultsch
a1a625bb2d
added hash for status quo to make sync reply more performant
2018-10-31 13:33:55 +01:00
Daniel Gultsch
1bcbd257c3
refresh contacts when opening StartConversationsActivity
2018-10-31 13:33:55 +01:00
Daniel Gultsch
3e1d01798c
refresh synced contacts even if offline
2018-10-31 13:33:55 +01:00
Daniel Gultsch
2dee53587b
basic phone number sync
2018-10-31 13:33:55 +01:00
Daniel Gultsch
87cc53b8b5
renamed build flavors
2018-10-31 13:33:55 +01:00
Daniel Gultsch
a49a5790c7
refactored phone contact loading in preperation for sync
2018-10-31 13:33:55 +01:00
Daniel Gultsch
4df0cc3657
do not offer tor or extended connection settings for quicksy
2018-10-31 13:33:55 +01:00
Daniel Gultsch
3b31133606
do not show up navigation when opening edit account from notification
2018-10-31 13:33:55 +01:00
Daniel Gultsch
f7addc5d89
suggest quicksy.im when user enters e164 in enter jid dialog
2018-10-31 13:33:55 +01:00
Daniel Gultsch
c9abe1c610
Do not show 'Hide offline' in Quicksy
2018-10-31 13:33:55 +01:00
Daniel Gultsch
36c9a452ab
always prevent edit in quicksy mode
2018-10-31 13:33:55 +01:00
Daniel Gultsch
60fc985298
do not show up navigation in start conversation screen if called with view intent
2018-10-31 13:33:55 +01:00
Daniel Gultsch
52ecd9347c
added dialogs for rate limiting and out of date version
2018-10-31 13:33:55 +01:00
Daniel Gultsch
2fa629d113
create api calls
2018-10-31 13:33:55 +01:00
Daniel Gultsch
5695236838
verify activity
2018-10-31 13:33:55 +01:00
Daniel Gultsch
954acb377e
WIP QuickConversationsService
2018-10-31 13:33:55 +01:00
Daniel Gultsch
ec56d7de88
added a choose country activity
2018-10-31 13:33:55 +01:00
Daniel Gultsch
f10f3730e1
added new menu item 'manage account' and show when on quick
2018-10-31 13:33:55 +01:00
Daniel Gultsch
a420cb5886
refactored some ManageAccount, WelcomeActivity and a few other things into 'full' flavor
2018-10-31 13:33:55 +01:00
Daniel Gultsch
a3744ce4f8
improve openkeychain error reporting
2018-10-25 18:16:02 +02:00
Daniel Gultsch
03cd176c27
refined nick matching patter. word boundry (\b) doesn’t match on words ending in a boundry
...
fixes #3249
2018-10-25 15:33:37 +02:00
Daniel Gultsch
18752a5c58
write null bitmap to imageview to replace asyncdrawable
2018-10-24 20:00:56 +02:00
Daniel Gultsch
d6f604a8e4
code cleanup, null check not necessary when using instance of
2018-10-24 20:00:25 +02:00
Daniel Gultsch
bb6ddae76b
ask for permission when committing attachments. fixes #3248
2018-10-24 20:00:06 +02:00
Daniel Gultsch
185d36d270
do not provide up navigation in publish account when in setup mode
2018-10-23 21:25:38 +02:00
Daniel Gultsch
f9cafc144b
refactor magic creates password gen to CryptoHelper
2018-10-20 00:05:10 +02:00
Daniel Gultsch
7177c523a1
Do not insert text shared over XMPP uri when already drafting message
...
XMPP uris in the style of `xmpp:test@domain.tld?body=Something` can be used to
directly share a message with a specific contact. Previously the text was
always appended to the message currently in draft. The message was never send
automatically. Essentially those links where treated like normal text share
intents (for example when sharing a URL from the browser) but without the
contact selection.
There is a concern (CVE-2018-18467) that when this URI is invoked automatically
and the user is currently drafting a long message to that particular contact
the text could be inserted in the draft field (input box) without the user
noticing.
To circumvent that the text shared over XMPP uris that contain a particular
contact is now appended only if the draft box is currently empty.
Sharing text normally (**with** manual contact selection) is still treated the
same; meaning the shared text will be appended to the current draft. This is
intended behaviour to make the
'Hey I have this cool link here;' *open browser*, *share link* - secenario
work.
2018-10-19 15:39:31 +02:00
Daniel Gultsch
71bbd379e9
removed unused paramater 'newTask' from switchToConversation api
2018-10-19 15:18:36 +02:00
Daniel Gultsch
4f12cf06ed
revert back to 16 byte IVs for omemo since ChatSecure doesn’t support 12 byte
2018-10-17 20:46:57 +02:00
Daniel Gultsch
5f8184fe8e
only store non hardcoded resolver result in db
2018-10-16 12:23:27 +02:00
Daniel Gultsch
2edab21423
render 'read up to this point' in 1:1 when followed by date bubble
...
fixes #3237
2018-10-16 12:18:28 +02:00
Daniel Gultsch
2e2914ee78
fixed NPE after attempt to store user@ip style jid resolver result
2018-10-13 16:13:33 +02:00
Daniel Gultsch
dd1d1858d0
fixed cache cleaning cleaning all confercenes instead of where contact is. closes #3229
2018-10-12 16:13:37 +02:00
Daniel Gultsch
5718d552ed
do not show 'open website' button after info has changed
...
fixes #3220
2018-10-11 05:06:46 +02:00
Daniel Gultsch
409bf3c0cb
use bouncycastle provider up to api 27
...
apparently using conscrypt on Android below version 7? throws an exception when using 16 byte IVs.
so we now use BC when ever possible (excluding api 28)
we don’t know why Conscrypt behaves differently on various android versions
2018-10-11 04:36:37 +02:00
Daniel Gultsch
7c5af89c89
offer either 'cancel download' or 'delete file' but not both
...
fixes #3221
2018-10-11 04:33:14 +02:00
Licaon_Kter
58c6dbbbbe
Lower foreground service notification priority ( #3223 )
...
...so no useless icon is shown on the status bar on Android 7 and older (as it was up to 2.2.9)
2018-10-11 02:44:17 +02:00
Daniel Gultsch
57fe153ef1
make 'cancelled' work for jingle ft
2018-10-08 10:31:41 +02:00
Daniel Gultsch
bdb8d98eb1
show snackbar for remote server timeout in mucs
2018-10-08 10:31:11 +02:00
Daniel Gultsch
de0741bdf7
show cancelled instead of delivery failed if user requested to abort transfer
2018-10-07 14:59:08 +02:00
Daniel Gultsch
284861de65
Do not attempt to draw overlay on null bitmap
2018-10-07 13:44:20 +02:00
Daniel Gultsch
3dceb9d3ad
refactor video qualtiy selector; less technical descriptions; code cleanup
2018-10-07 13:09:13 +02:00
Daniel Gultsch
84f7aeaea0
Merge branch 'video-selector' of https://github.com/licaon-kter/Conversations into licaon-kter-video-selector
2018-10-07 09:51:14 +02:00
licaon-kter
a6fef8101b
Fix selector, limit formats to 360 & 720 per CTS
2018-10-07 04:25:16 +03:00
Daniel Gultsch
f23311ab3f
PRNG fixes were a nop ever since we switched to 4.4+
2018-10-06 19:34:20 +02:00
Daniel Gultsch
521bb7846c
catch exception if Conscrypt could not be initialized and use tls 1.2
2018-10-06 19:33:38 +02:00
Daniel Gultsch
8980a0c631
make jids appear as monospace in dialogs
2018-10-06 17:03:12 +02:00
licaon-kter
fcccf545ba
Add video compression selector
2018-10-06 17:15:32 +03:00
Daniel Gultsch
fd165e5106
add confirmation dialog for deleting files
...
fixes #3202 , closes #3193 , closes #3214
2018-10-06 14:59:28 +02:00