Commit Graph

5328 Commits

Author SHA1 Message Date
sim
ddb596fb52 Register for push notifications with VAPID key 2025-08-19 17:30:37 +02:00
sim
68b0b3e55c Add extras to client protocol_servers 2025-08-19 17:30:37 +02:00
sim
775983aba9 Add notifications for UnifiedPush unregistrations/failures 2025-08-19 17:30:37 +02:00
sim
8969987fe1 Use MessagesFetcherWorker on new push messages 2025-08-19 17:30:37 +02:00
sim
4683d47259 Refactor MessagesFetcherWorker
- Duration parameter was used for the timeout
- The actual duration was harcoded with delays
- When the worker times out, it means there are pending
messages, therefor a new worker must be restarted now
- Therefor we need to differenciate initialDelay and interval delay
- All of this is more efficient if we use ms instead of seconds

- We give an option to do not periodically restart the worker (intervalMs = 0)
- Add comments
2025-08-19 17:30:37 +02:00
sim
44a611314a Register for push notifications on app startup 2025-08-19 17:30:37 +02:00
sim
88be23f139 Do not show NTF servers if not supported by platform 2025-08-19 17:30:37 +02:00
sim
9305acc3f1 Add support for Push notifications 2025-08-19 17:30:35 +02:00
sim
6ab0f3222a Add commands to verify and deleted saved ntf token 2025-08-19 17:29:47 +02:00
sim
5a311609d1 Add UI to select Instant notifications
Prepare for UnifiedPush support
2025-08-19 17:29:47 +02:00
sim
7ebf707540 Allow users to set their NTF servers in server view 2025-08-19 17:29:47 +02:00
sim
c3618c1b0d Treat ntf servers as other user servers
Once ntf servers will be able to send webpush requests
they won't be tight to an application developer like for
iOS where ntf servers have to know a secret. They will
all have their own VAPID key. So it will be possible for
users to choose what servers they want to use.
2025-06-18 15:45:34 +02:00
sim
36739fdf04 List and set ntf servers 2025-05-29 15:02:52 +02:00
Evgeny Poberezkin
1b75ca5258 6.4-beta.1: ios 279, android 291, desktop 103 v6.4.0-beta.1 2025-05-21 13:33:55 +01:00
Evgeny
dd2dc16fbf website: translations (#5937)
* Translated using Weblate (Hungarian)

Currently translated at 100.0% (257 of 257 strings)

Translation: SimpleX Chat/SimpleX Chat website
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/website/hu/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (257 of 257 strings)

Translation: SimpleX Chat/SimpleX Chat website
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/website/hu/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (257 of 257 strings)

Translation: SimpleX Chat/SimpleX Chat website
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/website/hu/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (257 of 257 strings)

Translation: SimpleX Chat/SimpleX Chat website
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/website/hu/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (257 of 257 strings)

Translation: SimpleX Chat/SimpleX Chat website
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/website/hu/

* Translated using Weblate (Russian)

Currently translated at 100.0% (257 of 257 strings)

Translation: SimpleX Chat/SimpleX Chat website
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/website/ru/

---------

Co-authored-by: summoner001 <summoner@vivaldi.net>
Co-authored-by: Ghost of Sparta <makesocialfoss32@keemail.me>
2025-05-21 11:49:58 +01:00
Evgeny
cef63f2c87 ui: translations (#5936)
* Translated using Weblate (German)

Currently translated at 100.0% (2404 of 2404 strings)

Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/de/

* Translated using Weblate (Russian)

Currently translated at 98.3% (2365 of 2404 strings)

Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/ru/

* Translated using Weblate (German)

Currently translated at 100.0% (2090 of 2090 strings)

Translation: SimpleX Chat/SimpleX Chat iOS
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/ios/de/

* Translated using Weblate (Italian)

Currently translated at 100.0% (2404 of 2404 strings)

Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/it/

* Translated using Weblate (Italian)

Currently translated at 100.0% (2090 of 2090 strings)

Translation: SimpleX Chat/SimpleX Chat iOS
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/ios/it/

* Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 100.0% (2404 of 2404 strings)

Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/zh_Hans/

* Translated using Weblate (Russian)

Currently translated at 100.0% (2404 of 2404 strings)

Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/ru/

* Translated using Weblate (Russian)

Currently translated at 100.0% (2090 of 2090 strings)

Translation: SimpleX Chat/SimpleX Chat iOS
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/ios/ru/

* ios: process localizations

* update

---------

Co-authored-by: mlanp <github@lang.xyz>
Co-authored-by: Vitaly Kanevsky <v.kanevsky@tuta.com>
Co-authored-by: Random <random-r@users.noreply.hosted.weblate.org>
Co-authored-by: 大王叫我来巡山 <hamburger2048@users.noreply.hosted.weblate.org>
2025-05-21 11:47:45 +01:00
Evgeny Poberezkin
0e99e8010a core: 6.4.0.2 (simplexmq 6.4.0.4) 2025-05-21 10:12:53 +01:00
spaced4ndy
e84016e1b9 core, ui: update group scope unread stats on item deletions; create reports as read (reports use a different attention mechanism) (#5930) 2025-05-20 16:18:23 +00:00
Evgeny
f162f96be8 website: translations (#5932)
* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (257 of 257 strings)

Translation: SimpleX Chat/SimpleX Chat website
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/website/uk/

* Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 100.0% (257 of 257 strings)

Translation: SimpleX Chat/SimpleX Chat website
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/website/zh_Hans/

* Translated using Weblate (Chinese (Traditional Han script))

Currently translated at 78.5% (202 of 257 strings)

Translation: SimpleX Chat/SimpleX Chat website
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/website/zh_Hant/

* Translated using Weblate (Chinese (Traditional Han script))

Currently translated at 78.5% (202 of 257 strings)

Translation: SimpleX Chat/SimpleX Chat website
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/website/zh_Hant/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (257 of 257 strings)

Translation: SimpleX Chat/SimpleX Chat website
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/website/hu/

* Translated using Weblate (Russian)

Currently translated at 99.6% (256 of 257 strings)

Translation: SimpleX Chat/SimpleX Chat website
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/website/ru/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (257 of 257 strings)

Translation: SimpleX Chat/SimpleX Chat website
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/website/hu/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (257 of 257 strings)

Translation: SimpleX Chat/SimpleX Chat website
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/website/hu/

---------

Co-authored-by: Bezruchenko Simon <worcposj44@gmail.com>
Co-authored-by: dns <dnstxqet@users.noreply.hosted.weblate.org>
Co-authored-by: 4 Bi 5aYzVk 93FCVjWLWxh44XH3984teVSfjwFYmUGUrbvnHwGirk9 <userfifteen.seventeen@mailfence.com>
Co-authored-by: summoner001 <summoner@vivaldi.net>
Co-authored-by: Vitaly Kanevsky <v.kanevsky@tuta.com>
Co-authored-by: Ghost of Sparta <makesocialfoss32@keemail.me>
2025-05-20 15:44:33 +01:00
Evgeny
1ef53d1530 ui: translations (#5931)
* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (2404 of 2404 strings)

Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/hu/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (2404 of 2404 strings)

Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/hu/

* Translated using Weblate (Hungarian)

Currently translated at 99.0% (2071 of 2090 strings)

Translation: SimpleX Chat/SimpleX Chat iOS
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/ios/hu/

* Translated using Weblate (Hungarian)

Currently translated at 99.0% (2071 of 2090 strings)

Translation: SimpleX Chat/SimpleX Chat iOS
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/ios/hu/

* Translated using Weblate (Hungarian)

Currently translated at 99.9% (2089 of 2090 strings)

Translation: SimpleX Chat/SimpleX Chat iOS
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/ios/hu/

* Translated using Weblate (Hungarian)

Currently translated at 99.9% (2089 of 2090 strings)

Translation: SimpleX Chat/SimpleX Chat iOS
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/ios/hu/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (2404 of 2404 strings)

Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/hu/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (2090 of 2090 strings)

Translation: SimpleX Chat/SimpleX Chat iOS
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/ios/hu/

* ios: import

---------

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: summoner001 <summoner@vivaldi.net>
Co-authored-by: Ghost of Sparta <makesocialfoss32@keemail.me>
2025-05-20 15:38:00 +01:00
Evgeny Poberezkin
a8e7db0b8f android, desktop: update translation key 2025-05-20 15:27:03 +01:00
Evgeny Poberezkin
22364a28be ios: export localizations 2025-05-20 14:11:49 +01:00
Evgeny
b441527f7d ui: translations (#5929)
* Translated using Weblate (German)

Currently translated at 100.0% (2054 of 2054 strings)

Translation: SimpleX Chat/SimpleX Chat iOS
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/ios/de/

* Translated using Weblate (Italian)

Currently translated at 100.0% (2054 of 2054 strings)

Translation: SimpleX Chat/SimpleX Chat iOS
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/ios/it/

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (2356 of 2356 strings)

Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/uk/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (2356 of 2356 strings)

Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/hu/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (2054 of 2054 strings)

Translation: SimpleX Chat/SimpleX Chat iOS
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/ios/hu/

* Translated using Weblate (Indonesian)

Currently translated at 100.0% (2356 of 2356 strings)

Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/id/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (2389 of 2389 strings)

Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/hu/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (2054 of 2054 strings)

Translation: SimpleX Chat/SimpleX Chat iOS
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/ios/hu/

* Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (2389 of 2389 strings)

Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/hu/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (2054 of 2054 strings)

Translation: SimpleX Chat/SimpleX Chat iOS
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/ios/hu/

* Translated using Weblate (German)

Currently translated at 100.0% (2389 of 2389 strings)

Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/de/

* Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 100.0% (2389 of 2389 strings)

Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/zh_Hans/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (2389 of 2389 strings)

Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/hu/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (2054 of 2054 strings)

Translation: SimpleX Chat/SimpleX Chat iOS
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/ios/hu/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (2053 of 2053 strings)

Translation: SimpleX Chat/SimpleX Chat iOS
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/ios/hu/

* Translated using Weblate (Italian)

Currently translated at 100.0% (2389 of 2389 strings)

Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/it/

* Translated using Weblate (German)

Currently translated at 100.0% (2053 of 2053 strings)

Translation: SimpleX Chat/SimpleX Chat iOS
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/ios/de/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (2389 of 2389 strings)

Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/hu/

* process localizations

---------

Co-authored-by: mlanp <github@lang.xyz>
Co-authored-by: Random <random-r@users.noreply.hosted.weblate.org>
Co-authored-by: Bezruchenko Simon <worcposj44@gmail.com>
Co-authored-by: summoner001 <summoner@vivaldi.net>
Co-authored-by: Rafi <rafimuhmad90@protonmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: 大王叫我来巡山 <hamburger2048@users.noreply.hosted.weblate.org>
2025-05-20 12:46:52 +01:00
spaced4ndy
1a80ecfc29 core, ui: allow to delete member support chat; rename reject action (#5927) 2025-05-20 09:07:44 +00:00
spaced4ndy
ca9f6267e4 ui: check member supports support chat (#5926) 2025-05-19 17:05:07 +00:00
spaced4ndy
b0547cf6f7 Merge branch 'stable' 2025-05-19 20:02:49 +04:00
Evgeny
7b362ff655 ui: label in compose when user cannot send messages (#5922)
* ui: label in compose when user cannot send messages

* gray buttons when user cannot send messages

* improve

* kotlin

* fix order

* fix alert

---------

Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
2025-05-19 14:50:33 +00:00
spaced4ndy
fa81df24ee core, ui: allow files and links in support scope (#5925) 2025-05-19 11:31:10 +00:00
Evgeny
a2577c3df3 core: support observers send messages to admins, CLI commands (#5921)
* core: allow observers send messages to admins

* improve parser, CLI command to approve members
2025-05-19 11:14:43 +01:00
spaced4ndy
98f35a38e8 core: fix member introduction when inviting admin accepts member; fix order of items for accepted member (#5924) 2025-05-19 09:08:28 +00:00
Evgeny Poberezkin
cc7bc0536d 6.4-beta.0: ios 278, android 290, desktop 102 v6.4.0-beta.0 2025-05-16 21:11:21 +01:00
Evgeny Poberezkin
507feb92a5 core: 6.4.0.1 2025-05-16 19:26:46 +01:00
spaced4ndy
041807c870 core: decrease membersRequireAttention counter when member is deleted or leaves (#5919) 2025-05-16 15:03:15 +00:00
spaced4ndy
5e7f77d1d1 android: go back to chat list after closing support chat when invitee is pending (#5918) 2025-05-16 10:54:13 +00:00
spaced4ndy
a92c74d3e5 android, desktop: better Chat with admins indications for members; unread badges (#5917) 2025-05-16 08:26:28 +00:00
Evgeny Poberezkin
c82919cdab core: 6.4.0.0 (simplexmq 6.4.0.3) 2025-05-15 21:57:00 +01:00
spaced4ndy
a8da7c1c44 ios: fix auto-closing support chat for invitee when accepted; core: add accepted item to main scope (#5916) 2025-05-15 16:05:18 +00:00
spaced4ndy
409d7e8532 ios: scroll to reported item (#5915) 2025-05-15 15:04:03 +00:00
Evgeny Poberezkin
9225b896b0 Merge branch 'stable' 2025-05-15 15:03:12 +01:00
spaced4ndy
b32c052f13 ios: reports fixes - don't create in main chat, show notice "view in chat with admins" (#5911) 2025-05-15 13:59:12 +00:00
Evgeny
26e5742354 ios: fix swipe in members list for iOS 15 (#5914)
* ios: fix swipe in members list for iOS 15

* refactor
2025-05-15 14:58:40 +01:00
spaced4ndy
775f6f14bf android, desktop: fix navigation to quoted messages in support chats (#5912) 2025-05-15 13:42:23 +00:00
Evgeny Poberezkin
143aa30c5a Merge branch 'stable' 2025-05-15 14:27:04 +01:00
Evgeny
5dd89fe127 ios: fix swipe on iOS 15, fix onboarding layout on iOS 15 and small screens (#5913)
* ios: fix onboarding layout issues on iOS 15 and small screens

* fix swipe on iOS 15
2025-05-15 14:25:46 +01:00
spaced4ndy
be28022bc6 ios: open support chat with any member (#5910) 2025-05-14 16:21:01 +00:00
spaced4ndy
b97e1e0f11 ui: show new messages from support scope in main chat preview when invitee is pending (#5909) 2025-05-14 15:14:34 +00:00
spaced4ndy
d3bc22726a core: fix group being displayed as connecting after join (#5908) 2025-05-14 11:25:24 +00:00
sh
a36a6d44db flatpak: update metainfo (#5899)
* flatpak: update metainfo

* flatpak: rewrite metainfo
2025-05-14 10:55:03 +01:00
Evgeny
e1ab178fe6 Merge pull request #5797 from simplex-chat/group-knocking
core, ui: group knocking
2025-05-14 10:38:22 +01:00
Evgeny
9478172a82 ios: fix toolbar in member support chat (#5902)
* ios: fix toolbar in member support chat

* refactor

* refactor nav buttons

* ios: unread reports, members requiring attention

* top bar destop (special case for 1 support chat)

* put Navigation view higher in hierarchy

* use nav title for knocking

* refactor loading secondary chat, overlay fake toolbar for knocking chats

* fix member reports toolbar

* unread counter for member's support chat
2025-05-14 10:36:54 +01:00