Daniel Gultsch
78901e3339
use detached signatures
2021-02-17 22:47:40 +01:00
mimi89999
d51b4380d7
Add variable app name in res strings
...
Closes #3988
2021-02-10 11:35:49 +00:00
Daniel Gultsch
8ce7bfb95e
automated code clean up
2021-01-23 09:25:34 +01:00
Daniel Gultsch
582aee4718
do not use empty display name for /me command
2021-01-22 12:51:01 +01:00
Molly Miller
ebbf1ff6b1
Use the account's display name (if set) when rendering /me messages in one-to-one chats.
2021-01-22 07:23:58 +00:00
Ferdinand Pöll
453ca7c0ed
Migrate from Android Support Library to AndroidX
...
Unignored gradle.properties since androidX requires additions there
See also https://developer.android.com/jetpack/androidx/migrate
2021-01-18 20:49:35 +01:00
Daniel Gultsch
e38aa30a84
minor code clean up
2020-12-11 11:05:08 +01:00
Daniel Gultsch
99cb23fe14
share xmpp uri if landing url is not available
2020-12-06 17:57:55 +01:00
Daniel Gultsch
528f192f76
stop parsing random strings as xmpp addresses when scanning uris
2020-12-02 08:19:06 +01:00
Daniel Gultsch
1f392a688d
initial (untested) support for easy onboarding invites
2020-12-01 20:31:30 +01:00
Alexei Sorokin
501cdd5edf
do not prepend asterisks before words in search
...
An asterisk is a special FTS4 operator when appended to a word but has no
special meaning when prepended.
2020-11-13 12:43:18 +00:00
Daniel Gultsch
3c0773c6e7
use darker accent color in light theme
2020-08-31 11:19:27 +02:00
Daniel Gultsch
f3362ebde5
add start/install orbot to error notification if applicable. fixes #3846
2020-08-19 15:29:25 +02:00
Daniel Gultsch
70c10fd0de
listen to orbot events instead of using intent result to reconnect account
2020-08-19 13:57:33 +02:00
Daniel Gultsch
129f43a349
verify hostname is valid before letting user save it
2020-08-01 15:03:20 +02:00
Daniel Gultsch
f5f9075da2
FileObserver: start monitoring new directories when they are created
2020-07-30 12:55:19 +02:00
Daniel Gultsch
16300727d1
try to guess mime type via extension in display name
2020-07-21 10:19:21 +02:00
Daniel Gultsch
28856aaf9f
add icons for gpx files
2020-07-19 21:27:43 +02:00
Daniel Gultsch
71a56002fe
fix emojis not rendering correctly with trailing variant selector. fixes #3819
2020-07-09 17:43:30 +02:00
Daniel Gultsch
15489547b7
add account provisioning via QR code to welcome screen
2020-06-21 15:40:51 +02:00
Daniel Gultsch
16bc210211
fix regression for fixed domain
2020-06-14 11:28:25 +02:00
Daniel Gultsch
0dba9f560c
rework quicksy domain checks
2020-06-13 08:26:32 +02:00
Daniel Gultsch
7ca543e42f
replace /me when quoting messages. fixes #3669
2020-05-24 10:52:34 +02:00
Daniel Gultsch
3ca10b8fa9
show escaped jids when it comes to account selection
2020-05-18 09:35:35 +02:00
Daniel Gultsch
df3273a6fc
fix jid.withResource() for domain jids
2020-05-18 09:14:57 +02:00
Daniel Gultsch
a0920b83e2
use Account.getDomain() for direct access to domain jid
2020-05-17 10:24:46 +02:00
Daniel Gultsch
b347d57848
don’t escape jids when parsing from uri
2020-05-17 08:53:44 +02:00
Daniel Gultsch
ef7d4fca86
show escaped jid in most of the UI
...
for historical reasons we store unescaped variants in DB and use them in intents.
2020-05-15 18:22:04 +02:00
Daniel Gultsch
b6703dbe38
switch xmpp-addr to jxmpp-jid
2020-05-15 17:06:16 +02:00
Daniel Gultsch
6daaca496b
externalize time passed utils
2020-05-09 09:42:33 +02:00
Daniel Gultsch
bd0234ba4d
dismiss incoming call notification on crash. fixes #3701
2020-05-08 19:34:20 +02:00
Daniel Gultsch
350fc57d87
properly wrap IPv6 addresses
2020-05-08 17:52:41 +02:00
Daniel Gultsch
006d7447a3
put version code into crash report
2020-04-25 20:13:20 +02:00
Daniel Gultsch
e661d5b7ad
provide deep link from settings into call notification settings
2020-04-20 15:57:31 +02:00
Daniel Gultsch
8472712b3e
play notification sound pre notification categories
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
4be2309202
more conditions under which to print call log
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
6a1df0538e
request recording permission when making or accepting audio calls
2020-04-20 15:57:30 +02:00
Daniel Gultsch
41ada3480c
add jfif and jif as jpeg mime types
2020-03-12 21:28:54 +01:00
genofire
d353372768
fix typo ( #3646 )
...
sorry, this makes me crazy
2020-02-29 15:02:36 +01:00
Daniel Gultsch
0f40e7e73b
fixed typo in resolver that cause hostnames not to be marked as authenticated (with DNSSec)
...
usually this wasn’t a problem as this is only the fallback after no IPs
have been discovered.
this also isn‘t a security issue as worst case is the hostname doesn’t get
accepeted as fallback in cert validation.
thanks @genofire for spotting this
2020-02-29 12:55:54 +01:00
genofire
5dd666257d
[BUGFIX] crash on resolve.toString if hostname is null ( #3635 )
2020-02-29 10:14:52 +01:00
Daniel Gultsch
2aee26c49a
display PDF previews
2020-02-11 17:41:54 +01:00
Daniel Gultsch
581eb5556f
make theme depend on dark/night mode on android 10+
...
closes #3611
2020-01-18 14:14:43 +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
Daniel Gultsch
9653d68bdd
parse install referrer from gplay
2020-01-10 12:51:04 +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
4e0f05f0a1
refactored xmpp uri parsing to expose all params
2020-01-08 10:51:18 +01:00
Daniel Gultsch
42d69fd5e3
don’t crash when long pressing invalid geo-uris
2019-12-30 00:23:44 +01:00
Daniel Gultsch
ed4a73e1c7
persist file size across aborts
...
fixes #3601
2019-12-26 19:01:01 +01:00
Daniel Gultsch
ef98a24bf6
add .heic to list of known mime types
...
fixes #3598
2019-12-12 18:54:46 +01:00
Daniel Gultsch
8a5d658b2a
reduce cursor size back to 4m; now that the cause is fixed
2019-12-04 20:46:22 +01:00
Daniel Gultsch
cc79d8f6b3
properly restore LMC edits. switch to LMC v1.1
...
fixes #3566
closes #3592
2019-12-04 19:20:24 +01:00
Daniel Gultsch
b3c00d7163
use Base64.NO_WRAP instead of trim()
2019-12-04 17:35:06 +01:00
Daniel Gultsch
a99d7a7400
increase cursor window size on Android P when restoring messages
2019-12-02 13:20:53 +01:00
Daniel Gultsch
aa50f8da9d
move foreground setting and backup setting to main settings screen
2019-11-08 14:14:28 +01:00
Daniel Gultsch
07786d4576
optionally search local muc rooms instead of jabber.network
2019-11-02 09:43:37 +01:00
Daniel Gultsch
8578af2b2b
flush on socks connection
2019-10-07 22:02:36 +02:00
Daniel Gultsch
d6835101b9
fixes for previous commit
2019-10-05 21:58:21 +02:00
Daniel Gultsch
6776603b90
fully read port in socks connection
...
incoming direct connections in receive mode wouldn’t clear the entire
destination from the input stream; thus adding a leading 0x00 to the file
fixes #3557
2019-10-03 20:47:31 +02:00
Daniel Gultsch
3d332f6f35
set shorter timeouts when using direct candidates
2019-10-03 09:37:01 +02:00
Daniel Gultsch
2ec1d0cc09
warn when using _only_ ambiguous cyrillic
2019-09-16 15:13:53 +02:00
Daniel Gultsch
571c29f92a
make Tor connections work with direct TLS
2019-09-05 12:08:58 +02:00
Daniel Gultsch
1c413edf06
bare minimum direct connections
2019-09-01 15:06:59 +02:00
Daniel Gultsch
238df77a1e
catch IllegalArgumentException when reading backup file
2019-07-25 17:01:43 +02:00
Daniel Gultsch
3837ec8122
do not include DNS servers from networks know to be inactive
...
* we still include DNS servers from VPNs because of edge cases where the XMPP server is hosted in the VPN
* on older Android versions we don’t know if a network is active or not (activeNetwork == null)
fixes #3465
2019-07-18 11:24:33 +02:00
Daniel Gultsch
b68851b719
create share button in backup done notification
2019-07-15 19:11:00 +02:00
Daniel Gultsch
97598c63dc
split on first dot when using domain instead of black listed local part
2019-07-15 19:09:53 +02:00
Daniel Gultsch
feba9a71ee
code clean up
2019-07-02 11:10:21 +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
997f922401
put geo uri in attachment preview when shared
2019-05-28 22:32:42 +02:00
Daniel Gultsch
82dcae59e3
added language tag in channel search results
2019-05-02 20:09:43 +02:00
Daniel Gultsch
182a81e3ef
only show opened FAB when some accounts are enabled
2019-04-26 09:30:38 +02:00
Daniel Gultsch
a0f88aa9b4
implement channel discovery over jabber.search.network
2019-04-22 10:42:21 +02:00
Daniel Gultsch
d390345073
show max file upload size in server info
2019-03-23 07:27:03 +01:00
Daniel Gultsch
905d2ab432
explicitly set profile+level for encoder
...
some modern Androids (namely my Xiaomi Mi A1 after the update to Andorid 9) seem to require that
2019-02-16 11:40:51 +01:00
Daniel Gultsch
5f543e8314
show notification when backup is done
2019-02-15 13:17:49 +01:00
Daniel Gultsch
bebce313b2
print available stream features / mechanisms on incompat server
2019-02-09 20:21:29 +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
179beb15e0
fix xmpp uri links that have a aditional chars after join
...
for example xmpp:foo@bar.tld?join,
2019-01-31 13:59:41 +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
d02fd73af8
explicitly start service (instead of just bind) service from contact chooser
2019-01-13 09:42:44 +01:00
Daniel Gultsch
ba34561235
ignore code block start in message preview. fixes #3124
2019-01-12 14:26:33 +01:00
Daniel Gultsch
918b3223b3
stop file watching when service has been destroyed
2019-01-12 10:21:21 +01:00
Daniel Gultsch
a38cd88702
offer 'open with' in context menu for geo uris
2019-01-11 10:13:25 +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
d414f85ec0
change epub file extension to epub and added mobi
2018-12-22 21:25:39 +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
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
Alex Palaistras
aaf5fa816b
Reduce minSdkVersion
to 16, fix issues reported by lint
...
This further reduces the minimum API level to 16, which should encompass
most users stuck on older versions of Android (mainly BlackBerry OS and
Jolla users).
Several issues reported by code analysis were fixed, mainly around issues
with layouts.
2018-12-09 21:32:42 +00:00
Daniel Gultsch
6a06bcfd58
change message styling rules
...
Message styling purposly doesn’t require a whitespace after a closing
tag to make something like ~un~believable work. However it also breaks
_Programmierer_innen_ and other example where the tag is repeated as a
non tag in the word.
Therefor we change the rules that if a closing tag is followed by a higher
order closing tag (a closing tag followed by an end block or white space)
we ignore the first closing tag. But only if we don’t read another tag open.
2018-12-09 18:26:31 +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
61ac804f93
catch a few run time exceptions related to androids life cycle mgmt
2018-11-22 10:06:56 +01:00
Daniel Gultsch
ccf9c42d0d
don’t show edit nick on Conversations
2018-11-10 10:19:29 +01:00