1
0
Fork 1
Commit graph

10471 commits

Author SHA1 Message Date
Arne
4d802a0572 Experimental option to set own DNS server 2024-11-11 10:27:38 +01:00
Arne
7d3fb6c4b9 Integrate MiniDNS and change static DNS server 2024-11-09 20:34:43 +01:00
Arne
028559ffc1 Merge remote-tracking branch 'origin/master' 2024-11-09 19:08:38 +01:00
Matthieu Volat
8c5ee1c52a If user is running on SailfishOS, disable Call Integration.
(cherry picked from commit 177ff29f412ee75929dfdaaffa758d6c0457400b)
2024-11-09 19:06:51 +01:00
Arne-Brün Vogelsang
60d90dff9d Merge pull request 'Reset outputFileWrittenLatch for every new voice record' (#228) from p42ity/monocles_chat:fix_voice_recorder_file_observer into master
Reviewed-on: https://codeberg.org/monocles/monocles_chat/pulls/228
2024-11-08 19:13:15 +00:00
Arne
7e83910b29 Fixup spam regex 2024-11-08 20:04:36 +01:00
Stephen Paul Weber
0ce2a6d79c Fix concurrent modification
(cherry picked from commit cff095a4891361c4b0fe26a1d6664b3c844b1f88)
2024-11-08 19:50:44 +01:00
Stephen Paul Weber
5be58228a1 Always try dialler integration if enabled
Whereas call integration (true self managed) sometimes is blacklisted.

(cherry picked from commit cd0262f178ea098e842ff9f155b56afd6bfc41bd)
2024-11-08 19:50:41 +01:00
Stephen Paul Weber
65619bd64d Fix NPE
(cherry picked from commit 2352703186274721998f0369af259b7cc27fa214)
2024-11-08 19:50:34 +01:00
Stephen Paul Weber
fc3ba1b6e2 index bounds guard
Shouldn't be needed... but just in case, better than a crash

(cherry picked from commit 3014b2e034e964681190d6997b23395b9af1ddfa)
2024-11-08 19:50:30 +01:00
Stephen Paul Weber
59f0583cad Catch illegalargument
Seen in the wild at this location for "scheme not found" bad URI in here somehow

(cherry picked from commit a6a204fe5bad7f48b37ba41ecf738cc0f650ecda)
2024-11-08 19:50:23 +01:00
Stephen Paul Weber
f6e14ffed6 Don't say roster
Too much sports metaphor

(cherry picked from commit d171c9d09841b30ea7fb27f678921844d9f796fa)
2024-11-08 19:49:44 +01:00
Stephen Paul Weber
b7a0f4eeca Any link consider spammy 2024-11-08 19:49:38 +01:00
Stephen Paul Weber
a6d5a4ad37 Add some spam patterns 2024-11-08 19:48:57 +01:00
Stephen Paul Weber
52d8e508d5 Do not include chat requests in unread counts
(cherry picked from commit 236de7b64fbb92e8b91c88836eaf9a11a2a4c006)
2024-11-08 19:46:50 +01:00
Stephen Paul Weber
4c2614534c Spam filter tweak 2024-11-08 19:46:44 +01:00
Stephen Paul Weber
d3d3dbd946 Try DNSSEC 3 times
Since sometimes there are transient failures, so if DNSSEC is present
and not validating try again before giving up

(cherry picked from commit 7f813e77c26da0c820a155014cf9e70d5c9d440f)
2024-11-08 19:44:40 +01:00
Stephen Paul Weber
b07df293c7 If contacting a DNS server fails, fall back to no verify
(cherry picked from commit 8065d73135531bfd6279c80ed2f63c0875e09b8d)
2024-11-08 19:44:35 +01:00
Stephen Paul Weber
4878146862 Put DNS for active network first
(cherry picked from commit 0403df8be7e8601fe2014ace68fb2fbe3b4ef0a5)
2024-11-08 19:43:40 +01:00
Stephen Paul Weber
8af4ea8619 Actually bother to init resolver
Upstream must have removed this...

(cherry picked from commit 1646feec843010cf16a6f7d2316f59856a639cd5)
2024-11-08 19:43:27 +01:00
Stephen Paul Weber
e4317cc3e4 Use the right variable
(cherry picked from commit e1e0ff5ead35ca4dd2d86775bb2943f1c8a44790)
2024-11-08 19:43:20 +01:00
Stephen Paul Weber
2815139645 Disable hardcoded dns on both sides
I thought it had been enabled on both sides but at least make it the same.

(cherry picked from commit 594ac51167a6a6a89be61365287c24944d052d10)
2024-11-08 19:43:05 +01:00
Stephen Paul Weber
f7d810999d Old android doesn't support IsCyrrilic
(cherry picked from commit 2d26b383f4c0e7e6290533a7a9157f7fde8f2814)
2024-11-08 19:42:52 +01:00
Stephen Paul Weber
9dc3fa2ce9 Fix infinite loop when user denies notifications
(cherry picked from commit 5b1defed735c2df44732a805062efd8252dd9e60)
2024-11-08 19:41:39 +01:00
Stephen Paul Weber
5fc913d0e8 Include message id with spam report
If they didn't pick a specific message but report the whole chat as
spam, most recent message is spam.

(cherry picked from commit 8dea8085bcbdaadd869ca29e797e767f14666540)
2024-11-08 19:41:33 +01:00
Stephen Paul Weber
2094e3e5d6 Option to report all chat requests as SPAM
(cherry picked from commit 71235d53f6414f4e2b004bd29c4586dd48b73e16)
2024-11-08 19:41:28 +01:00
Arne
c1476de375 Initial message requests feature 2024-11-08 19:40:57 +01:00
Arne
62a44980de Reintegrate optional text formatting toolbar 2024-11-08 19:32:47 +01:00
Stephen Paul Weber
5decd801fc Guard for low android version
(cherry picked from commit 60b50ec041651ecf10fe76bef8f2abda36140d0f)
2024-11-01 19:16:32 +01:00
Stephen Paul Weber
f78978a1e3 More profile URI icons
(cherry picked from commit f48340d6fd95d92ebc24ab6522f8884470daf896)
2024-11-01 13:25:30 +01:00
Stephen Paul Weber
ff8d508b07 Upgrade minidns
(cherry picked from commit aa988c0d19cb32e15aaf4ea63e8c3be8e4e0aa8f)
2024-11-01 13:22:50 +01:00
p42ity
7a4d7e9a3e Reset outputFileWrittenLatch for every new voice record 2024-10-27 11:19:14 +01:00
Arne
96e1013ff3 Add missing preferences strings 2024-10-25 11:16:07 +02:00
Arne
7c1f02a3b4 Add further strings 2024-10-25 10:52:23 +02:00
Arne
376aa693ab Prepare 2.0.2 2024-10-25 10:36:40 +02:00
Arne
ca61d1b359 Only indicate active when account is online and connected 2024-10-24 15:34:34 +02:00
Arne
87c9f3ed83 Update translations 2024-10-23 11:18:30 +02:00
Arne
19bc30e0c0 Need to join with monocles when getting messages 2024-10-23 11:08:41 +02:00
Stephen Paul Weber
807fcb948c Photo picker on some androids uses this path
but it's just a temp file so we can't keep it

(cherry picked from commit 16b027d82b552353fb88eeaa9c5b64f9ca77e0c4)
2024-10-23 11:06:01 +02:00
Stephen Paul Weber
a3c851aa44 Fix NPE
(cherry picked from commit 987f97ec4d5f8a792cb24d9e159c2a12861542ce)
2024-10-23 11:05:46 +02:00
Stephen Paul Weber
245fbddea0 Fix asking for contact permission 2024-10-23 11:05:36 +02:00
Daniel Gultsch
b416742dfd look up older messages in DB for reactions
(cherry picked from commit d84a4796e257db7679e4729680003e93ad75e960)
2024-10-22 00:27:32 +02:00
Daniel Gultsch
09c0a21707 handle reactions with missing id attribute
(cherry picked from commit c25bb1fa668418579f309d4d636a2930bbda5e3e)
2024-10-22 00:27:23 +02:00
Daniel Gultsch
5a3aac64ef disable call integration on Android 15
The call integration depends on the operating system giving us a list of
possible output devices (speaker, earpiece, BT headset, ...) via a
callback called
`onAvailableCallEndpointsChanged()` that is called as soon as the app
registers the call with the operating system.
For outgoing calls on Android 15 this method is no longer invoked
leaving Conversations without knowledge about what devices are available
and thus without the ability to switch between speaker and earpiece.

Logcat output seems to indicate that there might be some sort of race
condition (there is a line that says something like: available endpoints
changed but service was not bound)
There is further evidence in that if one tries multiple calls in a row
(10+) one might actually see the output device switcher / indicator.

However after a full day of investigation it seems that the race
condition is in the platform code; not in Conversations.

(cherry picked from commit be0b5f84d7cd0af7a8dab7f433820255c7cdc804)
2024-10-22 00:27:17 +02:00
Arne
bbbca98bd7 Change build variant for strings 2024-10-21 14:02:56 +02:00
Arne
0df4e5f0a4 Prepare 2.0.1 + update changelog 2024-10-20 11:26:29 +02:00
Arne
0c321e3704 Update translations 2024-10-20 10:57:32 +02:00
Arne
cc95304314 Improve input field height 2024-10-19 22:59:55 +02:00
Arne
9322e11b70 Add monocles background 2024-10-18 14:04:14 +02:00
Arne
9c1d1fb22c Correct default build config 2024-10-18 12:07:51 +02:00