Commit graph

6493 commits

Author SHA1 Message Date
Christian Schneppe
9c37ceb80f
automatically remove tracking parameter
from sent/received urls
2020-11-07 08:34:14 +01:00
Christian Schneppe
3f7f612e98
fix some blabber.im urls 2020-11-07 08:31:59 +01:00
Christian Schneppe
8ea07aee04
show available backups
from Conversations, Quicksy, Pix-Art-Messenger
2020-11-07 08:31:34 +01:00
Christian Schneppe
9b6552cb43
separate App-ID for PS Builds and show popup
for users having PAM installed
2020-11-07 08:27:43 +01:00
Christian Schneppe
4f4519a45e
save status message and presence status on error 2020-11-07 08:24:51 +01:00
Christian Schneppe
d14daaff66
migrate to blabber.im 2020-11-03 06:28:34 +01:00
Christian Schneppe
962902d573
correct string 2020-11-03 06:25:47 +01:00
Christian Schneppe
3508e566a6
migrate to blabber.im 2020-11-02 20:23:22 +01:00
Christian Schneppe
a1b47ce242
Update README.md 2020-10-29 19:33:05 +01:00
Christian Schneppe
9855466c91
Merge branch 'master' of https://codeberg.org/kriztan/Pix-Art-Messenger 2020-10-29 19:20:03 +01:00
Christian Schneppe
44e75fb111
migrate to blabber.im 2020-10-29 19:19:03 +01:00
Christian Schneppe
e0959c4ec3 „README-en.md“ ändern 2020-10-26 18:37:10 +01:00
Christian Schneppe
103b27d83d „README.md“ ändern 2020-10-26 18:37:03 +01:00
Daniel Gultsch
2668e02e03
extracting chat state for chat with self should not cause markRead event. fixes #3906
(cherry picked from commit ff13cc2766)
2020-10-25 14:47:52 +01:00
Christian Schneppe
2c4eeb86d4
make invidios host configurable 2020-10-25 13:34:55 +01:00
Christian Schneppe
0ee834862f
migrate to blabber.im
* fixes https://github.com/kriztan/Pix-Art-Messenger/issues/117
* fixes https://codeberg.org/kriztan/Pix-Art-Messenger/issues/117

* switch all urls to blabber.im
* changed icons
* changed app name
* changed color (orange) to match blabber.im color
* set orange as default color
* added new bug account
2020-10-25 11:33:43 +01:00
Daniel Gultsch
7031dfd45a
extend logging for not finding query
(cherry picked from commit dc72bc5bc3)
2020-10-24 10:36:49 +02:00
eta
9a2138b758
Fix various memory leaks reported by LeakCanary
- In some places, we weren't nulling out references to destroyed objects. This
  fixes that.
- (These were all discovered via LeakCanary instrumentation, and the fixes are
  hopefully rather straightforward-looking.)

(cherry picked from commit 364502d1a3)
2020-10-24 10:33:19 +02:00
eta
ce085b1d0c
Remove the ListSelectionManager / message body selection (fixes memory leak!)
- When the `viewHolder.messageBody` `TextView` created by a `MessageAdapter` is
  set to selectable, it leaks an `android.widget.Editor` (because that editor
  registers a view observer that never gets unregistered).
  - This memory leak is really quite problematic, as the message adapter is used
    a lot!
- Having the text be selectable is useless anyway, though; there isn't any way
  to select it (because long pressing just opens the context menu anyway).
  - It looks like the ListSelectionManager was meant to track selections across
    multiple messages. However, I'm not sure this feature ever gets used.
- Accordingly, this commit removes the entire feature, thus fixing the memory
  leak (since no `Editor` objects are ever created).
  - It should also reduce memory usage in general, since we aren't attaching an
    `Editor` to every single textview we create.
  - A `TextView` only allocates an `Editor` if you ask it to do certain things,
    like make the text selectable or register custom selection callbacks.

(cherry picked from commit b4805ac2c5)
2020-10-24 10:28:09 +02:00
Christian Schneppe
40866a0274
make domain selection available from invitation links
fixes https://github.com/kriztan/Pix-Art-Messenger/issues/505
2020-10-17 09:40:53 +02:00
Christian Schneppe
44a6e801ea
Merge branch 'master' of https://github.com/kriztan/Pix-Art-Messenger 2020-09-26 15:57:22 +02:00
Christian Schneppe
e233dfd693
rework missed calls
* original from https://github.com/iNPUTmice/Conversations/pull/3857
2020-09-26 15:56:51 +02:00
Christian Schneppe
3522f2ba72
New Crowdin updates (#504)
* New translations strings.xml (Ukrainian)

* New translations strings.xml (Spanish)

* New translations strings.xml (Polish)

* New translations strings.xml (Italian)

* New translations strings.xml (Ukrainian)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Portuguese)

* New translations strings.xml (Portuguese, Brazilian)

* New translations strings.xml (Chinese Traditional)

* New translations strings.xml (Chinese Simplified)

* New translations strings.xml (Portuguese)

* New translations strings.xml (German)
2020-09-26 15:07:47 +02:00
Christian Schneppe
b5c8cf4590
always show search icon 2020-09-26 14:57:43 +02:00
Christian Schneppe
dfb0202bfb
update gradle 2020-09-26 14:51:03 +02:00
Daniel Gultsch
745f9694fd
disable 'leave before join'
leaving a MUC before joining it was a work around for servers that did not treat a
<x/> join as a full join and didn’t send the full user list if they thought the user was
still in the room.
this happens if Conversations restarts after an inproper disconnect. The MUC will think
the user is still in the room.

however nowadays most modern servers will treat <x/> joins as full joins. on the user hand
leave before join would trigger flood prevention on ejabberds and race the first message
with the actual join (making the message arrive before the user is considered in the room)

(cherry picked from commit 7fb617e39a)
2020-09-26 14:49:42 +02:00
Daniel Gultsch
6e515bee45
show notification if message failed to deliver. closes #3540
(cherry picked from commit 73dac680e5)
2020-09-26 14:47:24 +02:00
Christian Schneppe
22d4efdd5f
upgrade libwebrtc to m85
* fetched from 23ed0ce2ad
2020-09-26 14:45:24 +02:00
Daniel Gultsch
fb268fb3bf
provide content description for fab in start conversation
(cherry picked from commit 8d64e101c9)
2020-09-26 14:40:13 +02:00
Daniel Gultsch
f7479315b5
use content description in search fields
(cherry picked from commit ce81123112)
2020-09-26 14:32:00 +02:00
Daniel Gultsch
822df984b5
change title of lock icon when changing encryption
(cherry picked from commit 2de8f3d35b)
2020-09-26 14:30:57 +02:00
Daniel Gultsch
b76ba44194
parse error messages from MAM results
(cherry picked from commit 97fe9fa01f)
2020-09-26 14:23:33 +02:00
Daniel Gultsch
42a08154b7
homogenize accessibility traversal in sent and received messages
(cherry picked from commit 6590dc922f)
2020-09-26 14:23:21 +02:00
Daniel Gultsch
8985a3c752
set content description for all avatars
(cherry picked from commit c48499253b)
2020-09-26 14:20:10 +02:00
Daniel Gultsch
ba23ced082
parse 'received' carbon-copied error messages. fixes #3803
(cherry picked from commit 064264c20b)
2020-09-26 14:14:02 +02:00
Daniel Gultsch
474e5b8d25
persist presence name (pep, nick in subscribe) to DB. fixes #3856
(cherry picked from commit 3dcb36a417)
2020-09-26 14:10:23 +02:00
Daniel Gultsch
7610ddb5d0
search individual conversations. fixes #3243
(cherry picked from commit 35af8894d2)
2020-09-26 14:06:29 +02:00
Daniel Gultsch
084cb4c7f2
terminate jingle call when regular call starts
(cherry picked from commit d158eeaf72)
2020-09-26 13:59:36 +02:00
Daniel Gultsch
238a1c37ef
extend isBusyState to check phone state as well
(cherry picked from commit 91e94db747)
2020-09-26 13:58:50 +02:00
Daniel Gultsch
cb403dad4b
fix crash after session-accept failed and session-accept contained candidates
Conversations would attempt to feed any candidates found in the session-accept into
WebRTC; even if the session wasn’t setup correctly.

this commit processes the candidates only if the session was setup correctly

fixes #3867

(cherry picked from commit 15b323ee69)
2020-09-26 13:56:32 +02:00
Daniel Gultsch
2a58b1971b
add start/install orbot to error notification if applicable. fixes #3846
(cherry picked from commit f3362ebde5)
2020-09-26 13:56:20 +02:00
Daniel Gultsch
289aa63ae0
listen to orbot events instead of using intent result to reconnect account
(cherry picked from commit 70c10fd0de)
2020-09-26 13:55:41 +02:00
Daniel Gultsch
e54a882be5
improve logging for app server failures. change wording to include 'push'
(cherry picked from commit 1958cded23)
2020-09-26 13:53:05 +02:00
Daniel Gultsch
54cd57ff79
fix attachments getting lost when switching to chat during call
fixes #3854

(cherry picked from commit 7d2a7d536d)
2020-09-26 13:52:40 +02:00
Daniel Gultsch
d2561cbd56
verify hostname is valid before letting user save it
(cherry picked from commit 129f43a349)
2020-09-26 13:44:44 +02:00
Daniel Gultsch
c167a971a7
fixed race condition of WebRTCWrapper being closed before transitioning into terminal state
JingleRTPConnection shuts down the WebRTCWrapper before transitioning into a terminal state.
(This allows us to make sure it is actually closed when reaching that state);
However that means that, when we get a UI redrawn inbetween closing and transitioning we might
still be in SESSION_ACCEPTED but with no PeerConnection. This traditionally has triggered
an IllegalStateException on getting the EndUserState.
This commit catches the ISE and returns 'ENDING' instead.
Chances are that this is only visibiliy for a very brief time in the UI before the transition
triggers the UI to redraw with the proper state.

fixes #3848

(cherry picked from commit f22e33e3ea)
2020-09-26 13:40:09 +02:00
Daniel Gultsch
e34a8b3803
FileObserver: start monitoring new directories when they are created
(cherry picked from commit f5f9075da2)
2020-09-26 13:39:44 +02:00
Christian Schneppe
8cb14c7b7f
Merge branch 'master' of https://github.com/kriztan/Pix-Art-Messenger 2020-09-26 13:35:15 +02:00
Christian Schneppe
51a3cd8dce
Merge branch 'master' of https://codeberg.org/kriztan/Pix-Art-Messenger 2020-09-26 13:34:54 +02:00
Daniel Gultsch
0f099a5f86
show toast when correction fails
(cherry picked from commit 9cd4e1d581)
2020-09-26 13:32:05 +02:00