Evgeny Poberezkin
d3059afc99
ios, core: better notifications processing to avoid contention for database ( #3485 )
...
* core: forward notifications about message processing (for iOS notifications)
* simplexmq
* the option to keep database key, to allow re-opening the database
* export new init with keepKey and reopen DB api
* stop remote ctrl when suspending chat
* ios: close/re-open db on suspend/activate
* allow activating chat without restoring (for NSE)
* update NSE to suspend/activate (does not work)
* simplexmq
* suspend chat and close database when last notification in the process is processed
* stop reading notifications on message markers
* replace async stream with cancellable concurrent queue
* better synchronization of app and NSE
* remove outside of task
* remove unused var
* whitespace
* more debug logging, handle cancelled read after dequeue
* comments
* more comments
2023-12-09 21:59:40 +00:00
spaced4ndy
5819e42305
core: remove CRNewContactConnection response; mobile, desktop: create pending connections based on api responses (CRNewContactConnection was being used as "event" in UI) ( #3489 )
2023-11-30 20:31:32 +04:00
Evgeny Poberezkin
d4ac1c0cf2
core, ui: add remote host/controller stop reasons to events ( #3472 )
2023-11-26 23:23:37 +00:00
Evgeny Poberezkin
8f0a9cd609
ios: connect remote desktop via multicast ( #3436 )
...
* ios: connect remote desktop via multicast
* works
* fix camera freeze when leaving linked devices view
* label
* fix linked devices
* fix compatible
* string
2023-11-23 21:22:29 +00:00
Evgeny Poberezkin
01f351e65a
ios: haskell RTS options ( #3433 )
2023-11-22 22:12:42 +00:00
spaced4ndy
cec0fe2702
ios, android: add author group member role to fix decoding (hidden from UI) ( #3429 )
2023-11-22 18:47:46 +04:00
Evgeny Poberezkin
64f0dbeb61
Merge branch 'master' into remote-desktop
2023-11-16 20:20:04 +00:00
Evgeny Poberezkin
0322b9708b
desktop, ios: remote desktop/mobile connection ( #3223 )
...
* ui: remote desktop/mobile connection (WIP)
* add startRemoteCtrl and capability (does not work)
* re-add view
* update core library
* iOS connects to CLI
* ios: mobile ui
* multiplatform types
* update lib
* iOS and desktop connected
* fix controllers list on mobile
* remove iOS 16 paste button
* update device name
* connect existing device
* proposed model
* missing function names in exports
* unused
* remote host picker
* update type
* update lib, keep iOS session alive
* better UI
* update network statuses on switching remote/local hosts
* changes
* ios: prevent dismissing sheet/back when session is connected
* changes
* ios: fix back button asking to disconnect when not connected
* iOS: update type
* picker and session code
* multiplatform: update type
* menu fix
* ios: better ux
* desktop: better ux
* ios: options etc
* UI
* desktop: fix RemoteHostStopped event
* ios: open Use from desktop via picker
* desktop: "new mobile device"
* ios: load remote controllers synchronously, update on connect, fix alerts
* titles
* changes
* more changes to ui
* more and more changes in ui
* padding
* ios: show desktop version, handle errors
* fix stopped event
* refresh hosts always
* radical change
* optimization
* change
* ios: stop in progress session when closing window
---------
Co-authored-by: Avently <7953703+avently@users.noreply.github.com >
2023-11-16 16:53:44 +00:00
spaced4ndy
36509a6d79
ios, android: new message decryption error - ratchet synchronization ( #3368 )
2023-11-14 19:39:32 +04:00
Evgeny Poberezkin
97fd6a993e
Merge branch 'master' into remote-desktop
2023-11-10 22:22:04 +00:00
spaced4ndy
f49ded5ae5
ios: connect with contact via address (for preset simplex contact) ( #3323 )
...
* ios: connect with contact via address (for preset simplex contact)
* remove diff
* remove floating button
* refactor active
* open chat
* remove disabled
* fix incognito
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-11-10 10:16:06 +04:00
Evgeny Poberezkin
2776d864a8
Merge branch 'master' into remote-desktop
2023-11-06 11:44:12 +00:00
spaced4ndy
15b55f7924
ios, android: fix contactInfo response encoding ( #3319 )
2023-11-06 13:43:37 +04:00
Evgeny Poberezkin
b2f9270452
Merge branch 'master' into remote-desktop
2023-11-01 18:05:51 +00:00
Evgeny Poberezkin
9e8084874f
ios: block members ( #3248 )
...
* ios: block members (WIP)
* CIBlocked, blocking api
* show item as blocked
* show blocked and merge multiple deleted items
* update block icons
* split sent and received deleted to two categories
* merge chat feature items, refactor CIMergedRange
* merge feature items, two profile images and names on merged items
* ensure range is withing chat items range
* merge group events
* fix/refactor
* make group member changes observable
* exclude some group events from merging
* fix states not updating and other fixes
* load list of members when tapping profile
* refactor
* fix incorrect merging of sent/received marked deleted
* fix incorrect expand/hide on single moderated items without content
* load members list when opening member via item
* comments
* fix member counting in case of name collision
2023-10-31 09:44:57 +00:00
spaced4ndy
42458a2715
ios, android: process new group link events ( #3293 )
2023-10-31 10:51:02 +04:00
Evgeny Poberezkin
9fb2b7fe73
Merge branch 'master' into remote-desktop
2023-10-29 18:05:03 +00:00
spaced4ndy
7102723c23
ios: create new group with incognito membership ( #3284 )
...
* ios: create new group with incognito membership
* layout
* fix button
* update layout
* layout
* layout
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-10-26 18:51:45 +04:00
Evgeny Poberezkin
6185971827
Merge branch 'master' into remote-desktop
2023-10-24 23:19:49 +01:00
Stanislav Dmitrenko
1dcd2760b0
ui: show alert after saving profile with existing name ( #3273 )
...
* android, desktop: show alert after saving profile with existing name
* ios: show alert after saving profile with existing name
* return statements
* better way of showing alert
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-10-24 23:01:47 +01:00
Evgeny Poberezkin
b5e114d834
Merge branch 'master' into remote-desktop
2023-10-22 13:04:15 +01:00
Evgeny Poberezkin
0444367002
Merge branch 'master' into remote-desktop
2023-10-21 19:07:30 +01:00
spaced4ndy
c090b68bdd
ios, android: ask to notify contact or not on contact deletion ( #3247 )
2023-10-19 19:52:59 +04:00
spaced4ndy
d8d47d706d
ios: connection plan improvements; remove browser mode for simplex links ( #3237 )
2023-10-17 12:56:12 +04:00
Evgeny Poberezkin
92eae012b3
Merge branch 'master' into remote-desktop
2023-10-16 21:38:54 +01:00
Evgeny Poberezkin
c2a320640b
core: local encryption for auto-received inline files (e.g. small voice messages) ( #3224 )
...
* core: local encryption for auto-received inline files
* update view, test
2023-10-15 18:16:12 +01:00
Evgeny Poberezkin
fc1bba8817
remote: refactor (WIP) ( #3222 )
...
* remote: refactor (WIP)
* refactor discoverRemoteCtrls
* refactor processRemoteCommand, storeRemoteFile
* refactor fetchRemoteFile
* refactor startRemoteHost, receiving files
* refactor relayCommand
2023-10-15 14:17:36 +01:00
Evgeny Poberezkin
41b86e07f1
core: update api ( #3221 )
2023-10-15 00:18:04 +01:00
Evgeny Poberezkin
5e6aaffb09
simplify remote api, add ios api ( #3213 )
2023-10-13 22:35:30 +01:00
spaced4ndy
c609303348
ios: connect plan ( #3205 )
...
* ios: connect plan
* improvements
* wording
* fixes
* rework to use dismissAllSheets with callback
* rework
* update texts
* Update apps/ios/Shared/Views/NewChat/NewChatButton.swift
* Update apps/ios/Shared/Views/NewChat/NewChatButton.swift
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-10-13 19:19:00 +04:00
Evgeny Poberezkin
ab290fb068
core: track network statuses, use in commands/events ( #3211 )
...
* core: track network statuses, use in commands/events
* ui types, test
* remove comment
2023-10-13 11:51:01 +01:00
Evgeny Poberezkin
4df8ea2e78
ui: update types for notification and member settings ( #3201 )
2023-10-11 23:07:05 +01:00
Evgeny Poberezkin
dffbd32c76
Merge branch 'stable'
2023-10-09 18:04:11 +01:00
Evgeny Poberezkin
3ddf7b2680
ios: close database connections when app is terminating ( #3188 )
...
* ios: close database connections when app is terminating
* update
* remove ()
* close when suspended too
* additional check
* fix
* refactore
* reset "terminating" flag
2023-10-09 18:03:03 +01:00
Evgeny Poberezkin
09e5798d59
ios: correctly parse json responses ( #3193 )
2023-10-09 16:56:42 +01:00
Evgeny Poberezkin
0d8558a6d0
ios: profile names (remove full name) ( #3168 )
...
* ios: profile names (remove full name)
* create/update groups
* focus display name
2023-10-04 17:45:39 +01:00
spaced4ndy
bbe329072e
ios: notify contact about contact deletion ( #3135 )
2023-09-27 20:07:32 +04:00
Evgeny Poberezkin
cb10f8b080
ui: optionally encrypt received SMP files ( #3095 )
2023-09-21 19:02:47 +01:00
Evgeny Poberezkin
b7c562fb10
ui: increast default timeouts per KB for XFTP ( #3094 )
2023-09-21 18:21:49 +01:00
spaced4ndy
0dab4491e2
ios: create contacts with group members ( #3077 )
...
* wip
* observed
* network status
* contact ready
* add padding
* Update apps/ios/Shared/Views/Chat/ComposeMessage/ContextInvitingContactMemberView.swift
* setContactNetworkStatus
* update text
* different context view
* update text, icon
* spinner
* reload all chats on swipe
* Revert "reload all chats on swipe"
This reverts commit 22c8372301 .
* export localizations
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-09-20 09:26:16 +01:00
spaced4ndy
7c70577822
ios, android: add new error types ( #3050 )
2023-09-12 18:29:14 +04:00
Evgeny Poberezkin
113a57c7c7
ios: update chat_read_file ( #3037 )
2023-09-07 22:43:51 +01:00
Evgeny Poberezkin
7cd4a417e7
ios: fix type that was preventing sent item status update
2023-09-07 11:51:17 +01:00
Evgeny Poberezkin
748572ace9
ui: types and stubs to encrypt local files ( #3003 )
...
* ui: types and stubs to encrypt local files
* ios: encrypt automatically received images in local storage
* encrypt sent images, marked to be received via NSE
* ios: encrypt sent and received local voice files
* encrypt sent and received local files
* fix NSE
* remove comment
* decrypt files in background thread
2023-09-07 11:28:37 +01:00
Stanislav Dmitrenko
16792de67a
ios: update contacts on profile update ( #2970 )
...
* ios: update contacts on profile update
* change
* remove init
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-08-23 18:43:06 +01:00
Evgeny Poberezkin
a35ab7f9bc
mobile: remove most user data from responses, to reduce noice in errors/console ( #2966 )
...
* mobile: remove most user data from responses, to reduce noice in errors/console
* small change for desktop
---------
Co-authored-by: Avently <7953703+avently@users.noreply.github.com >
2023-08-22 12:20:21 +01:00
spaced4ndy
faea5e90ac
android: members connected aggregated item; group layout ( #2934 )
2023-08-17 15:56:43 +04:00
Evgeny Poberezkin
a5642928eb
ios: improve group layout ( #2925 )
...
* ios: improve group layout
* different font
* fix formatting
* returns
* localized strings
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2023-08-15 13:02:23 +01:00
spaced4ndy
8dcb70c019
ios: members connected aggregated item ( #2900 )
...
* ios: members connected aggregated item
* wrapping hstack wip
* Revert "wrapping hstack wip"
This reverts commit 75af7473fc .
* redesign
* fix scroll
* revert
* comment
* remove padding
* brackets
* texts, icon
* optimize - collect only member names
* refactor
* check different index
* refactor 2
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-08-14 17:34:22 +04:00
Evgeny Poberezkin
42324b515d
ios: only show "entity" notifications if the are enabled in the conversation ( #2899 )
2023-08-11 16:55:00 +01:00