Daniel Gultsch
493ca68464
add <rtcp-mux/> in description
2020-04-20 15:57:30 +02:00
Daniel Gultsch
ef22071bd1
turn proximity wake lock and/off depending on speaker configuration
2020-04-20 15:57:30 +02:00
Daniel Gultsch
9bc264bd73
do not use proximity wake lock on speaker phone
2020-04-20 15:57:30 +02:00
Daniel Gultsch
981aeaf264
make mute and speaker button work
2020-04-20 15:57:30 +02:00
Daniel Gultsch
b924a63d01
copy audio manager from AppRTCDemo
2020-04-20 15:57:30 +02:00
Daniel Gultsch
9a41d11aed
do not show context menu for call logs
2020-04-20 15:57:30 +02:00
Daniel Gultsch
3439f40411
show call log messages in conversation stream
2020-04-20 15:57:30 +02:00
Daniel Gultsch
deaa76b5ca
when using onNewIntent make sure to store intent otherwise onBackground might just overwrite it again
2020-04-20 15:57:30 +02:00
Daniel Gultsch
609120c0d8
only ever create one wake lock in rtpsessionactivity
2020-04-20 15:57:30 +02:00
Daniel Gultsch
07e671d7c3
do not offer jingle calls when using Tor
2020-04-20 15:57:30 +02:00
Daniel Gultsch
9d83981f2c
respond with busy if there is anthor rtp session
2020-04-20 15:57:30 +02:00
Daniel Gultsch
d19b5e0634
show notification during ongoing call
2020-04-20 15:57:30 +02:00
Daniel Gultsch
2e8b91665b
improvements to RtpSessionActivity
2020-04-20 15:57:30 +02:00
Daniel Gultsch
14d008d89d
turn screen off during call
2020-04-20 15:57:30 +02:00
Daniel Gultsch
0302eacac1
back button rejects or ends call
2020-04-20 15:57:30 +02:00
Daniel Gultsch
f5c4de8770
make retry work
2020-04-20 15:57:30 +02:00
Daniel Gultsch
6a1df0538e
request recording permission when making or accepting audio calls
2020-04-20 15:57:30 +02:00
Daniel Gultsch
7749a7ce22
fixed rotation issues in RtpSessionActivity
2020-04-20 15:57:30 +02:00
Daniel Gultsch
268eedad89
proper iq tracing (handling of errors); responding to all iqs
2020-04-20 15:57:30 +02:00
Daniel Gultsch
15a2491d7b
correctly parse turn server
2020-04-20 15:57:30 +02:00
Daniel Gultsch
859bc0bef3
send and receive session terminates
2020-04-20 15:57:30 +02:00
Daniel Gultsch
00f273b0c0
show retry button after failed call
2020-04-20 15:57:30 +02:00
Daniel Gultsch
9edadc9835
process retract jingle messages
2020-04-20 15:57:30 +02:00
Daniel Gultsch
a11d506bf0
support reject
2020-04-20 15:57:30 +02:00
Daniel Gultsch
7909a72d43
make retract jingle messages work
2020-04-20 15:57:30 +02:00
Daniel Gultsch
e2f1cec2e5
prepare more state transitions
2020-04-20 15:57:30 +02:00
Daniel Gultsch
ccfc55e9b6
show proper notification on incoming call
2020-04-20 15:57:30 +02:00
Daniel Gultsch
4c6ee9693a
use appbarlayout in RtpSessionActivity
2020-04-20 15:57:30 +02:00
Daniel Gultsch
0e88b56eb4
display status information in ui
2020-04-20 15:57:30 +02:00
Daniel Gultsch
a9a35fb74b
show status in RtpSessionActivity
2020-04-20 15:57:30 +02:00
Daniel Gultsch
f8c0328416
dummy Jingle activity
2020-04-20 15:57:30 +02:00
Daniel Gultsch
3b857e6894
create temporary RtpSessionPropsoal as placeholder before we can create actual session
2020-04-20 15:57:30 +02:00
Daniel Gultsch
766d1d603e
show preliminary call button if contact supports it
2020-04-20 15:57:30 +02:00
Daniel Gultsch
23ebb6ae80
rename JingleConnection to JingleFileTransferConnection; use ID tuple to identify sessions
2020-04-20 15:57:29 +02:00
Daniel Gultsch
62934e6487
change wording of previous commit
2020-03-31 19:49:08 +02:00
Daniel Gultsch
ff18ea452d
display toast when trying to join channel with no enabled accounts
2020-03-31 19:46:05 +02:00
Daniel Gultsch
3d0138506d
fixed typo. closes #3667
2020-03-31 11:18:16 +02:00
Daniel Gultsch
b2e9a954ab
avoid bundled source selection that comes with ImageCropper on Android 10
2020-03-05 13:17:18 +01:00
Daniel Gultsch
e4685ad47a
hide local part of group chat xmpp address
2020-02-17 11:10:41 +01:00
Daniel Gultsch
d37aeef182
prevent sharing of xmpp uri for group chat bookmarks
2020-02-16 17:30:54 +01:00
Daniel Gultsch
9b55d90705
do not warn user if bookmark already exists
...
fixes #3631
2020-02-16 16:04:45 +01:00
Daniel Gultsch
d64bc1776b
show pdf previews in media browser
...
fixes #3639
2020-02-14 16:02:15 +01:00
Daniel Gultsch
c34d40ebff
fix user adapter view recycling bug
2020-02-14 12:04:11 +01:00
Daniel Gultsch
2aee26c49a
display PDF previews
2020-02-11 17:41:54 +01:00
Daniel Gultsch
843d7fe12d
evict cached previews when file gets deleted
2020-01-20 10:54:55 +01:00
Daniel Gultsch
e38a9cd729
omemo changes: use 12 byte IV, no longer accept auth tag appended to payload
2020-01-18 12:08:03 +01:00
Daniel Gultsch
c8b5b96af9
support xmpp uris with single 'omemo' parameter for fingerprint (w/o sid)
2020-01-16 18:54:56 +01:00
ChaosKid42
f1d4127ace
simplify osm attribution ( #3613 )
2020-01-11 15:25:58 +01:00
Daniel Gultsch
f57a28ca32
add scan qr button to welcome screen
...
closes #2920
2020-01-11 14:06:35 +01:00
Daniel Gultsch
9653d68bdd
parse install referrer from gplay
2020-01-10 12:51:04 +01:00
Daniel Gultsch
6025e5de28
make registration uris work with fixed usernames
2020-01-09 20:10:19 +01:00
Daniel Gultsch
e57bd477a9
preselect proper account in create contact dialog after following invite
2020-01-09 17:42:02 +01:00
Daniel Gultsch
6205574bcb
support ?roster;ibr=y xmpp uris
2020-01-09 17:42:02 +01:00
Daniel Gultsch
d039c4870f
support registration via pars tokens
2020-01-09 17:42:02 +01:00
Daniel Gultsch
9ccb5fdb46
show edit display name in all flavors
2020-01-05 15:59:54 +01:00
Daniel Gultsch
83e1d0d0a5
make checkmark icon more material
2020-01-05 13:30:26 +01:00
Anjan Momi
0ddfc51d6c
show number of participants in a MUC
...
fixes #3447
2020-01-05 11:22:39 +01:00
Anjan Momi
0315b3b5c2
added openstreetmap copyright notice to maps
...
fixes #3588
2020-01-04 20:44:05 +01:00
Daniel Gultsch
ed4a73e1c7
persist file size across aborts
...
fixes #3601
2019-12-26 19:01:01 +01:00
Daniel Gultsch
00361e1e3d
make + in e164 pattern not optional
2019-12-06 11:16:33 +01:00
Daniel Gultsch
eb943619af
do not crash when audio file reports zero length
2019-11-10 11:30:58 +01:00
Daniel Gultsch
8d6fdfbde7
disable local server disco on Quicksy flavor
2019-11-09 10:20:58 +01:00
Daniel Gultsch
7cc2478f5c
remove 'send indicate' setting and default to true
2019-11-08 12:23:06 +01:00
Daniel Gultsch
b320dea4d9
fixed spinning wheel when switching between local and jabber.network discovery
2019-11-08 12:18:39 +01:00
Daniel Gultsch
abc1cb5a89
remove 'indicate received' setting and default to true
2019-11-08 12:06:38 +01:00
Daniel Gultsch
7f25d91d33
do not validate port if hostname is empty. closes #3578
2019-11-03 22:03:46 +01:00
Daniel Gultsch
f7b7464a65
fixed links in privacy warning in channel discovery. fixes #3577
2019-11-02 17:00:23 +01:00
Daniel Gultsch
07786d4576
optionally search local muc rooms instead of jabber.network
2019-11-02 09:43:37 +01:00
Daniel Gultsch
ecad9cbe3c
catch security exception when passing on share intent that didn’t give us permission
2019-11-01 10:40:17 +01:00
Daniel Gultsch
9bea8074ab
fixed loading channel results from cache
2019-10-11 19:39:45 +02:00
Daniel Gultsch
ddffe198c6
change background if no results found in channel search. fixes #3559
2019-10-10 12:54:43 +02:00
Daniel Gultsch
2ab65609e4
always show 'contact details' on avatar long press in non-anon
2019-10-09 20:40:56 +02:00
Daniel Gultsch
4df8343b05
set autojoin=true after following invite
2019-10-07 09:51:03 +02:00
Daniel Gultsch
95bf66ca7d
Bookmarks2: support retraction
2019-10-07 09:37:12 +02:00
Daniel Gultsch
6923b2898c
WIP Bookmarks 2 support
2019-10-07 09:37:12 +02:00
Daniel Gultsch
01fc78d2a5
disable context menu on failed jingle files. fixes #3556
2019-10-05 22:05:03 +02:00
Daniel Gultsch
d6835101b9
fixes for previous commit
2019-10-05 21:58:21 +02:00
Daniel Gultsch
37b87e18ee
fix NPE when using channel search and DOMAIN_LOCK closes #3458
2019-10-01 12:24:57 +02:00
Daniel Gultsch
aef394c9f0
ability to open files from media preview. fixes #3521
2019-09-29 02:00:06 +02:00
Daniel Gultsch
7b160a358e
do not add 'quote' when sharing own msgs
2019-09-28 23:56:29 +02:00
Daniel Gultsch
11736ce48c
make list selection manager work with app compat
2019-09-26 23:47:55 +02:00
Daniel Gultsch
6c5b71440f
channel search result long press to show join dialog
2019-09-24 17:29:34 +02:00
Daniel Gultsch
75d35c357e
print emoji only status messages larger
2019-09-22 11:39:34 +02:00
Daniel Gultsch
3820950408
show context menu in channel search to share uri
2019-09-21 10:51:05 +02:00
Daniel Gultsch
02351dc0fb
fixed direct invites after adhoc
2019-09-18 09:55:18 +02:00
Daniel Gultsch
d963d95e30
fixed some minor NPE
2019-09-16 14:20:15 +02:00
Daniel Gultsch
9bf5fb98ac
show language in message bubble if multiple language variants were received
...
XML and by inheritence XMPP has the feature of transmitting multiple language
variants for the same content. This can be really useful if, for example, you
are talking to an automated system. A chat bot could greet you in your own
language.
On the wire this will usually look like this:
```xml
<message to="you">
<body>Good morning</body>
<body xml:lang="de">Guten Morgen</body>
</message>
```
However receiving such a message in a group chat can be very confusing and
potentially dangerous if the sender puts conflicting information in there and
different people get shown different strings.
Disabeling support for localization entirely isn’t an ideal solution as on
principle it is still a good feature; and other clients might still show a
localization even if Conversations would always show the default language.
So instead Conversations now shows the displayed language in a corner of the
message bubble if more than one translation has been received.
If multiple languages are received Conversations will attempt to find one in
the language the operating system is set to. If no such translation can be
found it will attempt to display the English string.
If English can not be found either (for example a message that only has ru and
fr on a phone that is set to de) it will display what ever language came first.
Furthermore Conversations will discard (not show at all) messages with with
multiple bodies of the same language. (This is considered an invalid message)
The lanuage tag will not be shown if Conversations received a single body in
a language not understood by the user. (For example operating system set to
'de' and message received with one body in 'ru' will just display that body as
usual.)
As a guide line to the user: If you are reading a message where it is important
that this message is not interpreted differently by different people (like a
vote (+1 / -1) in a chat room) make sure it has *no* language tag.
2019-09-12 10:12:51 +02:00
Daniel Gultsch
a39fff5c8e
fixed 2 issues reported by new linter
2019-09-11 15:42:43 +02:00
Daniel Gultsch
7d6bd540d9
version bump to 2.5.7 + changelog
2019-08-29 12:14:01 +02:00
Daniel Gultsch
29d0bed38b
when sharing text from Conversations to Conversations use quotes
2019-08-26 13:40:47 +02:00
Daniel Gultsch
f11adf4c02
do not put default nick into bookmark if none has been set before
2019-08-19 13:55:52 +02:00
Daniel Gultsch
195988398e
removed dead code in location activity
2019-08-14 17:04:45 +02:00
Daniel Gultsch
e735be323e
catch npe on participants context menu
2019-08-14 17:04:31 +02:00
Daniel Gultsch
011bdd8ef6
fixed send_multiple share intent with empty extras. fixes #3512
2019-08-05 21:32:20 +02:00
Daniel Gultsch
f597fc46da
implement time out for waiting on voice recording
2019-07-23 17:31:56 +02:00
Daniel Gultsch
c87e43eb92
put initial xmpp uri into signup intent
2019-07-20 15:58:05 +02:00
Daniel Gultsch
b68851b719
create share button in backup done notification
2019-07-15 19:11:00 +02:00
Daniel Gultsch
719b35e431
prefer attachment in share intent if there is one
2019-07-14 16:39:09 +02:00
Daniel Gultsch
7e93c1021b
handle blocking and unblocking of full jids
2019-07-10 17:58:48 +02:00
Daniel Gultsch
8138eb0346
use more default values in LocationActivity
...
fixes #3475
2019-07-04 18:17:16 +02:00
Daniel Gultsch
4f0214b477
check if activity is not null before using it to paint send button
2019-07-01 10:17:29 +02:00
Daniel Gultsch
49224335fc
attempt to unregister when receiving push for channel no longer joined
...
when receiving a FCM push message for a channel the user is no longer in (this can happen when the disable command failed) an attempt will be made to explicitly unregister from the app server (which in turn will then send item-not-found on next push)
2019-06-26 17:40:12 +02:00
Daniel Gultsch
52c0bf73a0
handle some rare npe
2019-06-16 18:04:43 +02:00
Daniel Gultsch
997f922401
put geo uri in attachment preview when shared
2019-05-28 22:32:42 +02:00
Daniel Gultsch
16ce476bbc
show negative max files size (unknown/unlimited) simply as available
2019-05-27 18:32:04 +02:00
Daniel Gultsch
9a8cc5b2e7
fixed some NPE
2019-05-22 23:58:39 +02:00
Daniel Gultsch
10653df164
show error messages in text layout not edittext
2019-05-22 17:31:11 +02:00
Daniel Gultsch
132f81df23
double check that activity is not null in updateSend button
2019-05-22 17:30:04 +02:00
Daniel Gultsch
a909e1a7cf
fixed NPE in channel discovery after race to create menu
2019-05-22 17:29:27 +02:00
Daniel Gultsch
5bedde7913
run postDelayed in background thread
2019-05-08 14:11:28 +02:00
Daniel Gultsch
6785d8c69f
set volume control channel to media volume / default. fixes #3451
2019-05-08 14:11:06 +02:00
Daniel Gultsch
82dcae59e3
added language tag in channel search results
2019-05-02 20:09:43 +02:00
Daniel Gultsch
818f2ab61c
fixed rare NPE cause by race
2019-05-02 20:09:16 +02:00
Daniel Gultsch
7c35f28633
do not synchronize twice when adding status and date bubbles
2019-04-27 15:24:37 +02:00
Daniel Gultsch
bcab77a044
wait with presence selection until attachment commit
2019-04-27 14:41:43 +02:00
Daniel Gultsch
b2ea91909b
introduced type private_file_message to handle attachments in PMs. fixes #3372
2019-04-27 11:46:43 +02:00
Daniel Gultsch
b55d4bc62f
do not jump out of whispher mode when selecting attach
2019-04-26 17:53:00 +02:00
Daniel Gultsch
dc70b7e28a
add bookmark when clicking on channel search result
2019-04-26 12:26:49 +02:00
Daniel Gultsch
76fb17c972
add contact dialog: warn on suspicious addresses
2019-04-26 12:05:52 +02:00
Daniel Gultsch
d2c9ce7bf0
store correcting message in db
2019-04-26 11:18:16 +02:00
Daniel Gultsch
8a1a9f4f55
put PM hint above edittext. fixes #3432
2019-04-26 10:23:26 +02:00
Daniel Gultsch
182a81e3ef
only show opened FAB when some accounts are enabled
2019-04-26 09:30:38 +02:00
Daniel Gultsch
6704db21fb
added Tor support to channel search
2019-04-25 21:10:50 +02:00
Daniel Gultsch
9db1c10f45
open FAB when no contacts or bookmarks are found
2019-04-25 19:52:42 +02:00
Daniel Gultsch
7b61bb9841
rework welcome screens to split use existing account / create new
...
closes #3440
2019-04-25 19:01:34 +02:00
Daniel Gultsch
a04b7a1c0f
keyboard event callbacks shoud run on ui thread. fixes #3441
2019-04-25 12:27:38 +02:00
Daniel Gultsch
ff84ee6964
cache channel search results
2019-04-24 13:25:54 +02:00
Daniel Gultsch
2fa687b8ae
refactor muc search to use http
2019-04-22 13:00:45 +02:00
Daniel Gultsch
a0f88aa9b4
implement channel discovery over jabber.search.network
2019-04-22 10:42:21 +02:00
Daniel Gultsch
7a825231fb
run keyboard listeners on background executor
2019-04-17 18:25:21 +02:00
Daniel Gultsch
d04e2e99f3
use mediated invite on reinvite if user is not member
2019-04-11 08:57:20 +02:00
Daniel Gultsch
bf7d50692c
use styled warning for message error. fixes #3428
2019-04-08 16:32:41 +02:00
Daniel Gultsch
d390345073
show max file upload size in server info
2019-03-23 07:27:03 +01:00
Daniel Gultsch
875f0b9943
find activity even if wrapped in context wrapper. fixes #3396
2019-03-03 08:31:46 +01:00
Daniel Gultsch
24a51d8715
do null check before splitting error message for processing
2019-02-23 10:24:08 +01:00
Daniel Gultsch
d95b904b5b
show file too large instead of generic delivery failed
2019-02-20 21:44:06 +01:00
Daniel Gultsch
f26a57ced4
fixed regression of search hint not updating in StartConversation screen
2019-02-15 14:07:39 +01:00
Daniel Gultsch
6b5e81df49
allow filtering in participant view. fixes #3371
2019-02-15 14:00:42 +01:00
Daniel Gultsch
d79768e923
do not show 'manage permissions' submenu when only 'remove from room' is visible
2019-02-15 09:57:58 +01:00
Daniel Gultsch
bebce313b2
print available stream features / mechanisms on incompat server
2019-02-09 20:21:29 +01:00
Daniel Gultsch
ef09b0ab1a
use the term channel in destroy dialog
2019-02-08 13:46:33 +01:00
Daniel Gultsch
310362130f
catch activity not found when trying to open contact app
2019-02-07 21:39:30 +01:00
Daniel Gultsch
bfaf10aa72
brought back 'moderated' config in advanced mode
2019-02-07 18:11:21 +01:00
Daniel Gultsch
b648c482f3
allow corrections in all mucs
2019-02-07 18:11:07 +01:00
Daniel Gultsch
ad64058d25
hide lock icon in channels; modify muc user context
2019-02-07 13:18:42 +01:00
Daniel Gultsch
b6a501d24b
rights managment in muc
2019-02-06 23:47:29 +01:00
Daniel Gultsch
32ef3755e2
show different room settings for channels and groups
2019-02-06 18:29:07 +01:00
Daniel Gultsch
2b913f367d
provide the same fab submenu for both tabs. rename tab to bookmark
2019-02-06 14:45:51 +01:00
Daniel Gultsch
e0965a2bf2
remove warning messages for kick after ban failing. on modern servers ban is enough to also kick
2019-01-28 10:52:35 +01:00
Daniel Gultsch
8bc9f9a7c8
fixed context menu on self contact
2019-01-27 18:57:41 +01:00
Daniel Gultsch
2bc9fdf5d3
show sub menu fabs for create group chats. fixes #2950
2019-01-27 16:35:55 +01:00
Daniel Gultsch
20e731c956
show context menu when long pressing own account picture
2019-01-27 11:38:20 +01:00
Daniel Gultsch
2f3ccb5f90
changed order of users and media in muc details
2019-01-27 10:32:27 +01:00
Daniel Gultsch
b532f5ed1f
add context menu for muc user adapter
2019-01-26 20:31:52 +01:00
Daniel Gultsch
b9c4309a28
refactored group chat members into seperate screen
2019-01-25 17:58:23 +01:00
Licaon_Kter
0ba3f31cbc
Fix type in presence ( #3357 )
2019-01-25 13:39:36 +00:00
Daniel Gultsch
7f170276a9
refactored avatar workers into single class
2019-01-25 10:07:02 +01:00
Daniel Gultsch
04d1b92a79
make bitmap worker task static; migrate conversation list row to binder
2019-01-24 12:27:57 +01:00
Daniel Gultsch
2e0db4dcda
do not show installed accounts in restore view
2019-01-23 12:45:15 +01:00
Daniel Gultsch
18982174ce
ask for permissions before opening restore backup. use insert or ignore for messages
2019-01-23 11:20:36 +01:00
Daniel Gultsch
c9fc40dfe5
WIP backup & restore
2019-01-22 19:25:45 +01:00
Daniel Gultsch
526c2637c1
provide Set as Profile intent. fixes #2594
2019-01-13 15:28:24 +01:00
Daniel Gultsch
67fddd1654
fix manual location correcting / fab not showing up on 4.4
...
fixes #3097
2019-01-12 21:08:17 +01:00
Daniel Gultsch
c5e35dc4b3
extend open with to audio files
2019-01-12 10:29:41 +01:00
Daniel Gultsch
d2b8134cdf
check if we have storage permission before marking a file as deleted on resend
2019-01-12 10:09:45 +01:00
Daniel Gultsch
e9bf2b464c
explicitly set type=images for all media with an image mime type
...
this is in preperation to be able to query the database for all images
2019-01-12 09:01:35 +01:00
Daniel Gultsch
8124b24479
maintain order of conversations in share with dialog
2019-01-11 17:19:54 +01:00
Daniel Gultsch
c11dd71510
fixed regression that hid enter jid button in block list view
2019-01-11 14:49:03 +01:00
Daniel Gultsch
a38cd88702
offer 'open with' in context menu for geo uris
2019-01-11 10:13:25 +01:00
Daniel Gultsch
394e252777
support enter/done key in create contact & join dialogs
2019-01-10 22:09:20 +01:00
Daniel Gultsch
7cabb2c377
check if encrypted pgp file get deleted
2019-01-10 21:24:24 +01:00
Daniel Gultsch
8ab4ca7138
fixed downloading of deleted files
2019-01-10 21:23:53 +01:00
Daniel Gultsch
52afcac230
mark deleted files in database and not query them when querying for media
2019-01-10 14:52:27 +01:00
Daniel Gultsch
459db1a0a3
ignore startService failure
...
some nokia devices with Android 9 fail to start the service from the activity sometimes. since this is probably a race it should be save to ignore this
2019-01-09 18:30:28 +01:00
Daniel Gultsch
46eb1212f1
fix import after osmdroid update
2019-01-06 10:13:31 +01:00
Daniel Gultsch
136d1e1905
added work around to create 'actions' from nova launcher
...
fixes #3331
2019-01-05 10:31:13 +01:00
Christoph Scholz
52e1a0c708
implement room destruction
2019-01-02 18:06:38 +01:00
Daniel Gultsch
6ac1c00d00
clear conversationsuuid and pending attachments when opening new conversation
2019-01-02 09:36:22 +01:00
Daniel Gultsch
a849c34f56
clear pending view intent when processing onNewIntent()
2019-01-02 09:32:22 +01:00
Daniel Gultsch
3eaa48fa46
added epub and azw mime types. try to resolve application/octet-stream by file extension instead. added preview icons for ebooks
2018-12-22 13:02:45 +01:00
Daniel Gultsch
5c920a9362
fixed some rare crashes caused by race conditions
2018-12-17 19:35:08 +01:00
Daniel Gultsch
30d5c08c35
show accept button to confirm sasl downgrade. fixes #2498
2018-12-16 23:12:04 +01:00
Daniel Gultsch
8f27a177b0
try to guess inital location in ShareLocation based on sim card
2018-12-11 17:25:59 +01:00
Daniel Gultsch
ae9bfe1643
limit video transcoding to api >= 18 and other api 16 fixes
2018-12-10 13:58:05 +01:00
Daniel Gultsch
c071a53595
Merge branch 'api-level-18' of https://github.com/deuill/Conversations into deuill-api-level-18
2018-12-10 13:13:16 +01:00
Daniel Gultsch
1a1bfb3246
show warning snackbar before joining anon-non-private room. fixes #3306
2018-12-09 18:25:11 +01:00
Alex Palaistras
08529041a5
Reduce minSdkVersion
to 18, backfill missing methods
...
This reduces the minimum SDK version to 18 (Android 4.3), which notably is
the last supported version for the BlackBerry OS 10.3 Android compatibility
layer.
2018-12-08 19:50:13 +00:00
Daniel Gultsch
fa5ba9e02b
fixed some rare NPE caused by race for saveInstanceState()
2018-12-05 09:27:10 +01:00
Daniel Gultsch
c01bd38d00
show context menu when long clicking avatar in 1:1
2018-12-04 12:23:14 +01:00
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
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
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
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
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
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
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
ab43a4bcf9
use display name to generate own avatar
2018-11-11 10:13:45 +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
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
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
2c31fbae78
show synced contacts in choose contact activity
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
87cc53b8b5
renamed build flavors
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
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
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
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
5718d552ed
do not show 'open website' button after info has changed
...
fixes #3220
2018-10-11 05:06:46 +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
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
8980a0c631
make jids appear as monospace in dialogs
2018-10-06 17:03:12 +02:00
Daniel Gultsch
fd165e5106
add confirmation dialog for deleting files
...
fixes #3202 , closes #3193 , closes #3214
2018-10-06 14:59:28 +02:00
Daniel Gultsch
7aa8aba5c0
code cleanup / reformat in ShareViaAccount
2018-10-06 12:48:39 +02:00
Daniel Gultsch
bfa63e13c5
added a few TODOs in regards to the handling of inactive devices
2018-10-04 18:48:45 +02:00
Daniel Gultsch
04ac2264e8
Do weOwnFile security check only when attaching
...
The general security check is recommend so a third party can not ask us to send an internal file. But we don’t need to do this for files we attach ourself from within Conversations
2018-10-04 17:17:20 +02:00
Daniel Gultsch
657b1cae9d
use fab.hide() and fab.show() - this will animate the process
2018-10-04 16:46:35 +02:00
Daniel Gultsch
a34033dea3
run through sendMessage() procedure instead of taking shortcut after returning from TrustKeys
...
The shortcut didn’t take care of message edits and some other things
2018-10-03 23:23:47 +02:00
Daniel Gultsch
7fa8811f64
refresh ui after device list update only if list has changed
2018-10-03 11:53:02 +02:00
Daniel Gultsch
d737ea296e
code cleanup
2018-09-27 09:59:05 +02:00
Daniel Gultsch
cdcd2f8b04
do not show 'paste as quote' if clip is NULL
2018-09-24 20:33:05 +02:00
Daniel Gultsch
5cf64826ac
check if wake lock needs reinit when pressing start/pause in audio player
2018-09-23 11:47:13 +02:00
Daniel Gultsch
1985f6bdec
store avatars received over muc presence in contact
2018-09-21 12:27:58 +02:00
Daniel Gultsch
5be64de7be
catch conversations.im invite urls directly in fragment
2018-09-18 17:15:52 +02:00
Daniel Gultsch
53cd58c955
fixed text sharing in direct sharing
2018-09-18 17:03:08 +02:00
Daniel Gultsch
bd128335d3
do not show media overview in contact/conference details when missing storage permission
2018-09-17 21:24:25 +02:00
Daniel Gultsch
c5fcd03489
check omemo keys when attachments are commit instead of before
2018-09-16 15:58:05 +02:00
Daniel Gultsch
6a6287bbd7
commit next message (draft) when input box gets emptied. causes tablet view to update
2018-09-16 15:26:33 +02:00
Daniel Gultsch
a6bcd9afe9
show inactive keys if all of them are
2018-09-16 14:08:56 +02:00
Daniel Gultsch
b8474941c7
clear parent activities pending view intent before calling startAcitvityForResult()
2018-09-16 10:09:22 +02:00
Daniel Gultsch
7a0c53aa71
introduce media browser activity
2018-09-15 21:10:17 +02:00
Daniel Gultsch
06972ec95c
show conversation media in contact/conference details
2018-09-15 19:38:45 +02:00
Daniel Gultsch
63f203c1d1
do some performance optimizations on jid host suggestions. fixes #3174
2018-09-14 14:00:26 +02:00
Daniel Gultsch
e0266d0efb
fix media preview in tablet mode
2018-09-13 18:48:21 +02:00
Daniel Gultsch
c795cdb722
add icon for unknown file while keeping 'file' icon for documents
2018-09-12 22:56:40 +02:00
Daniel Gultsch
b15777bd3a
make media previews survive rotations
2018-09-12 22:20:19 +02:00
Daniel Gultsch
fbc1d242ca
allow sharing and attaching of multiple files
...
fixes #3132
2018-09-12 18:43:17 +02:00
Daniel Gultsch
d7cdec002c
add more thumbnail icons for various file types
2018-09-12 18:10:37 +02:00
Daniel Gultsch
943f11e1f6
share with uses new preview mechanism
2018-09-12 17:21:32 +02:00
Daniel Gultsch
00c062a0c8
fixed media preview for file types other than images
2018-09-12 14:37:41 +02:00
Daniel Gultsch
3608b0eb44
WIP: preview media before sending them
...
Note that this commit breaks a few things in that non video/image do not work and sharing media isn’t currently using the new mechanism either
2018-09-11 09:56:32 +02:00
Daniel Gultsch
d86f4ce3a6
load contacts and start observer after giving permissions
2018-09-06 15:55:54 +02:00
Daniel Gultsch
676d31f606
initial work toward api 26+
...
* introduce notification channels
* always use foreground service on 26+
2018-09-05 21:37:12 +02:00
Daniel Gultsch
d5b50d1076
fixed user hint in magic create mode
2018-09-05 20:16:45 +02:00
Daniel Gultsch
516b6dcc1f
code cleanup for group chat user context menu
2018-09-02 20:54:50 +02:00
Daniel Gultsch
ffc5d47091
Merge branch 'start_convervsations_by_long_press' of https://github.com/ChaosKid42/Conversations into ChaosKid42-start_convervsations_by_long_press
2018-09-02 15:02:03 +02:00
Christoph Scholz
3ecb7136c1
start new conversations by long press on avatar
2018-09-01 21:05:31 +02:00
Daniel Gultsch
06f37b0d2b
AudioPlayer: disable screen and switch to earpiece when holding phone to ear
...
Based of initial worked by @harshitbansal05
2018-09-01 18:23:07 +02:00
Daniel Gultsch
c05acccf17
catch illegal state not illegal argument on popBackStack()
2018-09-01 10:07:04 +02:00
Daniel Gultsch
201d8ab398
do not show 'delete contact' for phone contacts. do not treat as stranger
2018-08-31 11:04:45 +02:00
Daniel Gultsch
b565c20d91
make recording activity not crash if microphone was in use. fixes #3160
2018-08-31 11:04:18 +02:00
Daniel Gultsch
2febbe1b8d
show jids from address book in Start Conversation screen if only one account is used
2018-08-30 18:45:22 +02:00
Daniel Gultsch
af724a6697
make port field disabled if hostname is empty
2018-08-29 09:33:02 +02:00
Daniel Gultsch
c4ca381c7f
remove dividers from settings
2018-08-28 17:50:36 +02:00
Daniel Gultsch
9f191f64da
do not display 'user left' toast in members only groups. fixes #3144
2018-08-19 22:13:13 +02:00
Daniel Gultsch
53a9930837
show toast if no address book app is installed
2018-07-22 22:42:05 +02:00
Daniel Gultsch
4871263d9c
display propper toast after room has been destroyed
2018-07-11 21:33:27 +02:00
Daniel Gultsch
9bdebb81ba
handle non participating mucs a bit better
2018-07-09 11:35:30 +02:00
Daniel Gultsch
0fa97bdc11
show snackbar for resource constraint in mucs
2018-07-07 10:28:31 +02:00
Daniel Gultsch
a1f933924c
open trust key screen when download is in progress
2018-07-07 08:53:11 +02:00
Daniel Gultsch
59697eb092
fixed npe in paste as quote
2018-07-06 20:16:15 +02:00
Daniel Gultsch
a23d9929f1
use sets instead of list for listeners
2018-07-06 20:15:45 +02:00
Daniel Gultsch
9408dd597a
try to fix race condition with empty trust ui
2018-06-30 13:35:05 +02:00
Daniel Gultsch
3218ca3fe3
shorten read markers to 'everyone has read up to this point' when > 4 user
2018-06-30 12:14:42 +02:00
Daniel Gultsch
559852002e
offer paste as quote for html clips
2018-06-30 11:08:20 +02:00