Commit graph

6026 commits

Author SHA1 Message Date
Christian Schneppe
e336d96890
fixed loading channel results from cache 2019-10-26 19:35:17 +02:00
Christian Schneppe
824ba44fd4
don’t mark pgp encrypted files received from dino as deleted 2019-10-26 19:33:26 +02:00
Christian Schneppe
8e2adfcfd1
fix some issues 2019-10-26 19:31:19 +02:00
Christian Schneppe
aac524da7e
clear bitmap cache after changing avatar settings 2019-10-26 19:29:57 +02:00
Christian Schneppe
1076c25767
always show 'contact details' on avatar long press in non-anon 2019-10-26 19:06:50 +02:00
Christian Schneppe
ac86587323
flush on socks connection 2019-10-26 19:04:59 +02:00
Christian Schneppe
e5cb9b1e17
properly guard bookmarks2 deletion 2019-10-26 19:03:47 +02:00
Christian Schneppe
5ac2a42d13
trigger omemo self healing for live msgs on server w/o MAM 2019-10-26 19:02:55 +02:00
Christian Schneppe
7d8514492a
set autojoin=true after following invite 2019-10-26 19:01:32 +02:00
Christian Schneppe
493ac6286f
update ui after bookmark change 2019-10-26 18:28:35 +02:00
Christian Schneppe
57e0f4a21d
bookmarks2. introduce #compat namespace 2019-10-26 18:28:26 +02:00
Christian Schneppe
004867686b
leave/join on bookmark modifactions 2019-10-26 18:13:10 +02:00
Christian Schneppe
9f45e2509e
support for purge and delete 2019-10-26 18:10:56 +02:00
Christian Schneppe
35df965b58
Bookmarks2: support retraction 2019-10-26 18:10:48 +02:00
Christian Schneppe
8d7727fcdc
support for delete bookmarks2 2019-10-26 17:53:03 +02:00
Christian Schneppe
6df9c91b30
WIP Bookmarks 2 support 2019-10-26 17:48:13 +02:00
Christian Schneppe
5e41a659b7
LMC: find replacedMessages based on bare JID 2019-10-26 17:22:25 +02:00
Christian Schneppe
82639b94b7
show reason in error message 2019-10-26 17:21:21 +02:00
Christian Schneppe
7c8b91325e
disable context menu on failed jingle files 2019-10-26 17:20:48 +02:00
Christian Schneppe
3b6b25720f
mark cancelled jingle ft as such on both sides 2019-10-26 17:19:06 +02:00
Christian Schneppe
41e0559533
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
2019-10-26 16:52:31 +02:00
Christian Schneppe
25eb08ae48
set shorter timeouts when using direct candidates 2019-10-26 16:50:56 +02:00
Christian Schneppe
c488121d38
hide 'use integrated emoji' setting for Android O and higher 2019-10-19 22:01:44 +02:00
Christian Schneppe
4ca1c1420f
hide 'use integrated emoji' setting for Android O and higher 2019-10-19 22:01:25 +02:00
Christian Schneppe
cf2451fa8c
make export of chats as txt working again
fixes #402
2019-10-19 21:28:23 +02:00
Christian Schneppe
5a3f721eb4
catch exception while setting useragent 2019-10-19 21:07:05 +02:00
Christian Schneppe
6a4b714e10
show "no results" if there where no channels found in channel discovery search 2019-10-03 19:58:18 +02:00
Christian Schneppe
4f4683e052
Use a more meaningful name for old status 2019-10-02 15:46:41 +02:00
Christian Schneppe
40446c25d9
Use dark navigation bar in QR scanner activity
* Use dark navigation bar on dark theme

This approach uses `tools:targetApi` instead of separate theme file and
avoids lint errors.

* Use dark navigation bar in QR scanner activity

This is consistent with the black background that is already used in
that activity.
2019-10-02 15:44:55 +02:00
Christian Schneppe
d76882631c
use new jabber.search.network endpoint 2019-10-02 15:39:42 +02:00
Christian Schneppe
616eba9d1f
fix NPE when using channel search and DOMAIN_LOCK 2019-10-02 15:38:16 +02:00
Christian Schneppe
60ca56c188
report not-acceptable on jingle errors 2019-10-02 15:36:22 +02:00
Christian Schneppe
cb0be6f06a
do not set invideous as default and add config to first start settings screen 2019-10-02 15:30:26 +02:00
Christian Schneppe
ee84b68caf
New Crowdin translations (#396)
* New translations strings.xml (Russian)

* New translations strings.xml (German)

* New translations strings.xml (Spanish)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Italian)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Chinese Simplified)
2019-09-29 15:42:34 +02:00
Christian Schneppe
89781841ac
delete problematic language file 2019-09-29 15:30:58 +02:00
Christian Schneppe
7375f24041
account deletion: only attempt to delete omemo id when connected 2019-09-29 14:19:30 +02:00
Christian Schneppe
d852745b2c
show resource prompt when sending uncompressed video 2019-09-29 14:18:14 +02:00
Christian Schneppe
c5c8ba4f31
delete omemo keys when deleting account 2019-09-29 14:06:53 +02:00
Christian Schneppe
f3a821d11e
make list selection manager work with app compat 2019-09-29 14:04:38 +02:00
Christian Schneppe
72f2b8650e
rework intro 2019-09-29 13:57:58 +02:00
Christian Schneppe
2565da03bb
channel search result long press to show join dialog 2019-09-24 20:41:17 +02:00
Christian Schneppe
0fec7bcea2
New Crowdin translations (#392)
* New translations strings.xml (Basque)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Catalan)

* New translations strings.xml (Cebuano)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Turkish)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Portuguese)

* New translations strings.xml (German)

* New translations strings.xml (Italian)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Spanish)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Italian)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (German)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (German)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Portuguese, Brazilian)
2019-09-24 20:31:02 +02:00
Christian Schneppe
9ce21a8077
small changes in quotes
* don't show username in single chats
* differ between own and foreign quotes
2019-09-24 20:17:10 +02:00
Christian Schneppe
59f392a17a
minor intro improvements, shorten some texts 2019-09-24 19:54:03 +02:00
Christian Schneppe
7286bf019e
fix crash OTR crash 2019-09-24 19:52:28 +02:00
Christian Schneppe
443925d2e2
correct file locations for EmojiService 2019-09-23 20:50:35 +02:00
Christian Schneppe
104c02dc33
fix missing deps for EmojiService 2019-09-23 20:38:25 +02:00
Christian Schneppe
bf260e9341
New Crowdin translations (#391)
* New translations strings.xml (Russian)

* New translations strings.xml (German)

* New translations strings.xml (Swedish)

* New translations strings.xml (Spanish)

* New translations strings.xml (Romanian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Polish)

* New translations strings.xml (Italian)

* New translations strings.xml (Indonesian)

* New translations strings.xml (Galician)

* New translations strings.xml (French)

* New translations strings.xml (Filipino)

* New translations strings.xml (Dutch)

* New translations strings.xml (Czech)

* New translations strings.xml (Chinese Traditional)
2019-09-23 20:31:34 +02:00
Christian Schneppe
8b8d17900e
Google Play version use downloadable Emojis instead of bundled 2019-09-23 20:21:08 +02:00
Christian Schneppe
9fd788bf7e
print emoji only status messages larger 2019-09-23 19:46:02 +02:00
Christian Schneppe
b0347ba929
do not parse invites from type=groupchat 2019-09-23 19:43:20 +02:00
Christian Schneppe
523f5a14a2
show username as title in context menu when long clicking avatar in MUC 2019-09-22 15:12:16 +02:00
Christian Schneppe
541ac49fed use existing variable for user 2019-09-22 10:48:21 +02:00
Christian Schneppe
c5c9c92b26 show context menu in channel search to share uri 2019-09-21 12:43:41 +02:00
Christian Schneppe
5289ddd6d8 update license info 2019-09-21 12:23:51 +02:00
Christian Schneppe
041351b176 introduce app intro and some help screens 2019-09-21 12:22:32 +02:00
Christian Schneppe
9f7fcd1a47 close correct socket after faulty jingle socks connection 2019-09-20 23:58:04 +02:00
Christian Schneppe
c75fbc7e57 improved logging for messages waiting for join 2019-09-20 23:57:29 +02:00
Christian Schneppe
c0c1af1cca added overlay to avatar in EditAccountActivity
in addition to #390
2019-09-20 23:53:07 +02:00
Christian Schneppe
008d289514 fix strings 2019-09-20 19:54:17 +02:00
Christian Schneppe
b26b5d01fe migrate to AndroidX 2019-09-20 17:54:28 +02:00
Christian Schneppe
e0989e7a82 replace YouTube links with Invidious links
increases privacy and is configurable via preferences
2019-09-20 17:34:00 +02:00
Christian Schneppe
639f3c485b set new automatic theme switch as default 2019-09-19 12:33:22 +02:00
Christian Schneppe
1c9b10c79d bug fixes in MessageAdapter 2019-09-19 12:29:11 +02:00
Christian Schneppe
f976ebae8a fixed R8 weirdness 2019-09-19 11:53:38 +02:00
Christian Schneppe
28a2686620 fixed direct invites after adhoc 2019-09-19 11:50:37 +02:00
Christian Schneppe
701b8617de cancel spinning wheel on muclumbus error 2019-09-19 11:47:19 +02:00
Christian Schneppe
517eff346f warn when using _only_ ambiguous cyrillic 2019-09-19 11:44:44 +02:00
Christian Schneppe
53e19a2e9c fixed some minor NPE 2019-09-19 11:42:30 +02:00
Christian Schneppe
03530f667d clear notifications when deleting account 2019-09-19 11:37:16 +02:00
Christian Schneppe
2a55037993 do not finish or repair sessions for untrusted senders
finishing (sending a key transport message in response to pre key message) as
well as reparing sessions will leak resource and availability and might in
certain situations in group chat leak the Jabber ID.

Therefor we disable that. Leaking resource might not be considered harmful by
a lot of people however we have always doing similar things with receipts.
2019-09-19 11:35:17 +02:00
Christian Schneppe
f65fa8fb0b changed profile view
fixes #390, #369
2019-09-19 11:29:33 +02:00
Christian Schneppe
62209dc7ac parse LMC 1.1 2019-09-13 21:39:41 +02:00
Christian Schneppe
eb34cdc3e3 keep track of previously edited ids 2019-09-13 21:38:18 +02:00
Christian Schneppe
1b45c33393 catch empty password exceptions in ExportBackupService 2019-09-13 21:18:26 +02:00
Christian Schneppe
b37741a0ae stopped constantly focus shift if user is typing
fixes #386
2019-09-13 20:37:27 +02:00
Christian Schneppe
092beba1ba set Messenger identity as userAgent for RichPreview and ChannelDiscovery 2019-09-12 20:42:35 +02:00
Christian Schneppe
88574e39d2 when parsing omemo messages ensure we only find one element 2019-09-12 19:46:20 +02:00
Christian Schneppe
8857f9341c inherit language from parent message when finding localized body 2019-09-12 19:44:51 +02:00
Christian Schneppe
85b8ec7702 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.

Disabling 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 we now show the displayed language in a corner of the
message bubble if more than one translation has been received.

If multiple languages are received we 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 we will discard (not show at all) messages with with
multiple bodies of the same language. (This is considered an invalid message)

The language tag will not be shown if we receive 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 19:44:01 +02:00
Christian Schneppe
0abffde5ef fixed 2 issues reported by new linter 2019-09-12 19:24:16 +02:00
Christian Schneppe
f7da662e6a make some more activities to start as single task 2019-09-11 20:27:49 +02:00
Christian Schneppe
bc272651e2 introduce automatic theme based on the systems theme 2019-09-11 20:27:07 +02:00
Christian Schneppe
911b537f34 include user into quote message 2019-09-11 19:18:56 +02:00
Christian Schneppe
41f36bd816 add 1080p as video resolution and set default to 720p 2019-09-09 21:38:37 +02:00
Christian Schneppe
3334ab7d0a introduce new file transfer status 2019-09-09 21:13:06 +02:00
Christian Schneppe
c9a81b53b3 do not include scope in ipv6 annoucment 2019-09-09 20:18:38 +02:00
Christian Schneppe
ea4b999d8a include ticker information in notification 2019-09-09 20:07:13 +02:00
Christian Schneppe
1584df8ac7 fix permission errors 2019-09-09 19:44:26 +02:00
Christian Schneppe
8427f377ea catch exception in updater 2019-09-09 19:44:13 +02:00
Christian Schneppe
7aaca90e41 fix crash during file existing check 2019-09-08 09:39:45 +02:00
Christian Schneppe
fce79f08c1 improve webpreviews during offline times 2019-09-07 23:58:56 +02:00
Christian Schneppe
41aecb003d send multiple downloads and uploads into queue 2019-09-07 23:55:48 +02:00
Christian Schneppe
e93057cfce Merge branch 'master' of https://github.com/kriztan/Pix-Art-Messenger 2019-09-07 21:39:21 +02:00
Christian Schneppe
46232857fc catch exceptions in SerialSingleThreadExecutor 2019-09-07 21:39:09 +02:00
Christian Schneppe
1b58f476c9
New Crowdin translations (#384)
* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Russian)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Spanish)

* New translations strings.xml (Italian)

* New translations strings.xml (German)

* New translations strings.xml (Russian)

* New translations strings.xml (German)

* New translations strings.xml (Spanish)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Polish)

* New translations strings.xml (Italian)

* New translations strings.xml (French)

* New translations strings.xml (Dutch)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Bulgarian)

* New translations strings.xml (Catalan)

* New translations strings.xml (German)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Spanish)
2019-09-07 14:52:33 +02:00
Christian Schneppe
e07828271d shorten restore_warning 2019-09-06 22:40:16 +02:00
Christian Schneppe
361eec24a9 JET uses plain text file size 2019-09-06 22:12:41 +02:00
Christian Schneppe
1322031176 do not include link local in direct candidates 2019-09-06 22:11:04 +02:00
Christian Schneppe
75548eafa4 make Tor connections work with direct TLS 2019-09-06 22:07:20 +02:00
Christian Schneppe
c7629a6093 implemented support for for jingle encrypted transports (XEP-0396) 2019-09-06 22:01:42 +02:00
Christian Schneppe
f8a94ec52e deleted wrong to jid
fixes #374
2019-09-06 21:51:30 +02:00
Christian Schneppe
b33eaff4f4 check for orphaned files 2019-09-06 21:49:09 +02:00
Christian Schneppe
21ecf54e37 get images from google photos 2019-09-03 20:32:01 +02:00
Christian Schneppe
be82ac5633 fix some crashes 2019-09-03 20:31:32 +02:00
Christian Schneppe
4aa24e84c4 use higher priority for proxy on receiving end 2019-09-03 19:59:51 +02:00
Christian Schneppe
9cd6fa5097 send fallback to ibb after proxy activation failed 2019-09-03 19:57:29 +02:00
Christian Schneppe
f36ff9640d also reply with direct connections on response 2019-09-03 19:56:00 +02:00
Christian Schneppe
71e4bcf9cb bare minimum direct connections 2019-09-03 19:50:42 +02:00
Christian Schneppe
edcfdb974d order canditates by priority before attempting to connect 2019-09-03 19:43:29 +02:00
Christian Schneppe
ae2a4ed495 fix strings 2019-09-03 19:33:34 +02:00
Christian Schneppe
7da9909586 fix rotation issues in MediaViewerActivity 2019-08-31 21:55:36 +02:00
Christian Schneppe
e612506be3 when sharing text from PAM to PAM use quotes 2019-08-31 15:50:13 +02:00
Christian Schneppe
506b092821 more ibb fixes (include sid in transport-accept) 2019-08-31 15:47:29 +02:00
Christian Schneppe
987744bb25 fixed unlikely race between enabling carbons and discovering last MAM id 2019-08-31 15:44:48 +02:00
Christian Schneppe
cce36fcbb7 include pgp sig and status in presence to non anon muc 2019-08-31 15:43:20 +02:00
Christian Schneppe
24ca2a88fb do not put default nick into bookmark if none has been set before 2019-08-31 15:41:38 +02:00
Christian Schneppe
a1ade22308 fixed pgp decryption of automatically accepted jingle ft 2019-08-31 15:39:31 +02:00
Christian Schneppe
4323b7de5a increased reconnection interval after policy violation 2019-08-31 15:35:03 +02:00
Christian Schneppe
240addee71 refactored filename and extension parsing 2019-08-31 15:34:17 +02:00
Christian Schneppe
ca21a38cb6 catch npe on participants context menu 2019-08-31 15:21:36 +02:00
Christian Schneppe
4142360189 make config flag for leave before join 2019-08-31 15:20:44 +02:00
Christian Schneppe
016124b548 create empty disco result on error to fire advance stream features event 2019-08-31 15:19:20 +02:00
Christian Schneppe
6c3b5defa3 show scrollbars in muc user screen 2019-08-31 15:17:16 +02:00
Christian Schneppe
7610493b1e fix SOCKS5 to IBB fallback 2019-08-31 15:16:27 +02:00
Christian Schneppe
611f28fbd0 catch more firebase library bugs 2019-08-31 15:13:53 +02:00
Christian Schneppe
b519d6370b fixed send_multiple share intent with empty extras 2019-08-31 15:13:06 +02:00
Christian Schneppe
6d83b098e6 catch IllegalArgumentException when reading backup file 2019-08-31 15:12:04 +02:00
Christian Schneppe
a65e9edef1 implement time out for waiting on voice recording 2019-08-31 15:10:40 +02:00
Christian Schneppe
75923a1835 made domain verifier case insensitive. 2019-08-31 15:04:51 +02:00
Christian Schneppe
9acde9e105 put initial xmpp uri into signup intent 2019-08-31 15:02:35 +02:00
Christian Schneppe
bc7c378080 resetToWaiting should include http uploaded files 2019-08-31 14:59:26 +02:00
Christian Schneppe
4210498d3c 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)
2019-08-31 14:57:23 +02:00
Christian Schneppe
58b464cf26 catch fcm library bugs 2019-08-31 14:54:53 +02:00
Christian Schneppe
8b63dbb26d do password empty check in dialog not in restore backup service 2019-08-31 14:52:57 +02:00
Christian Schneppe
94143682ff open backup files on view action 2019-08-31 14:51:02 +02:00
Christian Schneppe
47c29e5842 allow backup to be restored from selected file 2019-08-31 14:45:36 +02:00
Christian Schneppe
f7c293387b fix missing import
maybe this fixes #366
2019-08-31 14:32:45 +02:00
Christian Schneppe
dd627f76bf make short vibrate in open chat configurable and respect phone silent mode 2019-08-31 14:31:31 +02:00
Christian Schneppe
037cd4e95b create share button in backup done notification 2019-07-17 21:10:26 +02:00
Christian Schneppe
fa07274d2d split on first dot when using domain instead of black listed local part 2019-07-17 20:50:03 +02:00
Christian Schneppe
6e93f698a1 muc message corrections only compare bare jid true counterpart
during live messages we only store the bare real jid; on muc catch up we might get the full jid
for that reason we only compare bare jids
2019-07-17 20:46:34 +02:00
Christian Schneppe
1f77d6b8cd prefer attachment in share intent if there is one 2019-07-17 20:45:52 +02:00
Christian Schneppe
d52f09b6f4 handle blocking and unblocking of full jids 2019-07-17 20:44:34 +02:00
Christian Schneppe
c88523b1b8 use helper method to close socket 2019-07-17 20:42:54 +02:00
Christian Schneppe
00334edc6f disable muc push on archive instead of leave
leave can be triggered in conference details and doesn’t mean we don’t want pushes
2019-07-03 11:49:46 +02:00
Christian Schneppe
7d55a62328 check if activity is not null before using it to paint send button 2019-07-03 11:38:29 +02:00
Christian Schneppe
e8a4eaf8cd correct webpreview cache paths 2019-07-03 11:37:35 +02:00
Christian Schneppe
f2c4eebaf8 migrate copy ond write list to synchronized hashset for pending mucs 2019-07-01 08:52:56 +02:00
Christian Schneppe
6086d9c45f include remote server errors in errors that should trigger a self ping 2019-07-01 08:47:00 +02:00
Christian Schneppe
686c4da2b0 rate limit muc pings / joins. never run two pings at same time 2019-07-01 08:46:00 +02:00
Christian Schneppe
037932dc02 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-07-01 08:42:54 +02:00
Christian Schneppe
66a57e0129 implement FCM push for group chats 2019-07-01 08:35:00 +02:00
Christian Schneppe
226d45a136 code cleanup & small fixes 2019-07-01 08:12:58 +02:00
Christian Schneppe
78754e3618 Merge branch 'master' of https://github.com/kriztan/Pix-Art-Messenger 2019-06-27 16:11:49 +02:00
Christian Schneppe
4d5dc70cb3 catch NPE 2019-06-27 16:10:41 +02:00
Christian Schneppe
feb0c66616
Merge pull request #367 from kriztan/l10n_master
New Crowdin translations
2019-06-27 16:02:19 +02:00
Christian Schneppe
c61c968a1f New translations strings.xml (Chinese Simplified) 2019-06-26 07:01:29 +02:00
Christian Schneppe
c01b87277c
Merge pull request #365 from kriztan/l10n_master
New Crowdin translations
2019-06-25 23:18:13 +02:00
Christian Schneppe
1d8fa7e99d Revert "Networkstack - let OS decide IPv4 or IPv6 (#267)"
This reverts commit e6a1559790.

If there is IPv6 available but the server doesn't listen to it, the connection will not be established
2019-06-25 21:47:19 +02:00
Christian Schneppe
2e4a341d0f New translations strings.xml (Italian) 2019-06-25 15:32:06 +02:00
Christian Schneppe
73c8feea13 implement client support for muc push
Staying connected to a MUC room hosted on a remote server can be challenging.

If a server reboots it will usually send a shut down notification to all
participants. However even if a client knows that a server was shut down it
doesn’t know when it comes up again. In some corner cases that shut down
notification might not even be delivered successfully leaving the client in a
state where it thinks it is connected but it really isn’t.

The possible work around implemented in this commit is to register the clients
full JID (user@domain.tld/Conversations.r4nd) as an App Server according to
XEP-0357 with the room. (Conversations checks for the push:0 namespace on the
room.)

After cycling through a reboot the first message send to a room will trigger
pubsub notifications to each registered full JID. This event will be used to
trigger a XEP-0410 ping and if necessary a subsequent rejoin of the MUC.

If the resource has become unavailable during down time of the MUC server the
user’s server will respond with an IQ error which in turn leads to the MUC
server disabling that push target.

Leaving a MUC will send a `disable` command. If sending that disable command
failed for some reason (network outage) and the client receives a pubsub
notification for a room it is no longer joined in it will respond with an
item-not-found IQ error which also disables subsequent pushes from the server.

Note: We 0410-ping before a join to avoid unnecessary full joins which can be
quite costly. Further client side optimizations will also suppress pings when
a ping is already in flight to further save traffic.
2019-06-25 12:12:06 +02:00
Christian Schneppe
e09feea27c fix broken updater 2019-06-25 12:01:16 +02:00
Christian Schneppe
fc602a713d show taken time for deleted webpreview cache 2019-06-25 12:00:56 +02:00
Christian Schneppe
a7fe71c691 fix welcome screens
fixes #361
2019-06-25 11:32:37 +02:00
Christian Schneppe
230d85cdb7 Merge branch 'master' of https://github.com/kriztan/Pix-Art-Messenger 2019-06-25 11:05:40 +02:00
Christian Schneppe
6891ca336b fix jingle file transfer
fixes #360
2019-06-25 11:05:25 +02:00
Christian Schneppe
424db35712 New translations strings.xml (German) 2019-06-25 02:46:35 +02:00
Christian Schneppe
abda1fee3f New translations strings.xml (German) 2019-06-25 02:31:41 +02:00
Christian Schneppe
39c9924075 New translations strings.xml (Spanish) 2019-06-23 12:05:11 +02:00
Christian Schneppe
a969ccf67f make backup compatible to Conversations (only works for Android >= 8) 2019-06-23 09:36:50 +02:00
Christian Schneppe
ce16d024a6 Revert "BackupExport format like Conversations (#342)"
This patch is not compatible with Android SDK < 26 (Android 8 / OREO)
This reverts commit 514b63f486.
2019-06-23 09:31:51 +02:00
Christian Schneppe
596059538f Merge branch 'master' of https://github.com/kriztan/Pix-Art-Messenger 2019-06-23 09:30:04 +02:00
Christian Schneppe
63a2b3f151 catch NPE 2019-06-23 09:29:47 +02:00
esu23
0747af253c Fixed typo 2019-06-22 22:07:57 +02:00
Christian Schneppe
9ab0d0e176
New Crowdin translations (#353) 2019-06-22 21:15:42 +02:00
Christian Schneppe
6c166d51fd
fix typo 2019-06-22 19:52:13 +02:00
genofire
514b63f486 BackupExport format like Conversations (#342)
This makes it possible to import/export backup files from/to Conversations
2019-06-22 17:35:49 +02:00
Christian Schneppe
e3603f7c41 changed string to generated password dialog in MagicCreateActivity
fixes #296
2019-06-22 17:21:25 +02:00
Christian Schneppe
0d9f3ae619 change behavior of unencrypted chats warning 2019-06-22 17:10:58 +02:00
Christian Schneppe
9e3a701cb0 performance improvement of message expiry 2019-06-22 15:38:54 +02:00
Christian Schneppe
c71aa059f9 shedule webpreview cache deletion 2019-06-21 21:40:16 +02:00
Christian Schneppe
81c0944245 show own account in chatlist/contacts/conferences if you are in multi account mode 2019-06-20 22:30:21 +02:00
Christian Schneppe
53f93ae996 ping muc after receiving not-acceptable error 2019-06-20 20:55:33 +02:00
Christian Schneppe
0f6623888a attempt to keep messages waiting until muc is connected 2019-06-20 20:54:50 +02:00
Christian Schneppe
f09d784928 small improvement of welcome screen 2019-06-18 19:07:47 +02:00
Christian Schneppe
fe4c5fabf7 self ping (xep-0410) after receiving invite to muc 2019-06-18 18:11:08 +02:00
Christian Schneppe
777ab177c1 syntax clean up 2019-06-17 21:50:21 +02:00
Christian Schneppe
d326d5beb7 disallow subsequent session-accept 2019-06-17 21:49:54 +02:00
Christian Schneppe
e959098b9a use ibb if other party doesn’t annouce s5b feature 2019-06-17 21:47:24 +02:00
Christian Schneppe
4af2b29330 accept direct ibb jingle offers 2019-06-17 21:36:39 +02:00
Christian Schneppe
d53a616e20 don’t crash when attempting to publish bookmarks while offline 2019-06-17 21:32:42 +02:00
Christian Schneppe
19d75a0e1c handle some rare npe 2019-06-17 21:30:07 +02:00
Christian Schneppe
f15a0b0550 MessageStyle notifications replace car extender 2019-06-17 21:27:36 +02:00
Christian Schneppe
6b755c7a6a use socks instead of http proxy for http upload
http proxy doesn’t seem to work with onion v3
2019-06-17 21:21:25 +02:00
Christian Schneppe
35a37b7370 fix some NPE 2019-06-17 21:21:18 +02:00
Christian Schneppe
4ed924f6b0 reduce image quality a bit 2019-06-16 16:59:38 +02:00
genofire
e6a1559790 Networkstack - let OS decide IPv4 or IPv6 (#267)
* Networkstack - let OS decide IPv4 or IPv6

* Drop own implementation of DNS-Server selection

* remove dns resolver cache
2019-06-08 20:25:30 +02:00
Christian Schneppe
6c9234ce53
update translations
* New translations strings.xml (Catalan)

* New translations strings.xml (Catalan)

* New translations strings.xml (Catalan)

* New translations strings.xml (Catalan)

* New translations strings.xml (Catalan)

* New translations strings.xml (Romanian)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Polish)

* New translations strings.xml (Cebuano)

* New translations strings.xml (Azerbaijani)

* New translations strings.xml (Portuguese)
2019-06-08 14:59:12 +02:00
Christian Schneppe
7cf5b7c6fa fix some more NPE 2019-06-08 14:51:06 +02:00