spaced4ndy
ec7b35adb9
ios: check known relays before file reception, support user approval of unknown relays ( #4044 )
...
* ios: check known relays before file reception, support user approval of unknown relays
* add privacyAskToApproveRelays to AppSettings
* less text
* ui improvements, fixes
* fix ntf
* shorter alert
* simplify settings
* rename
* icon
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-05-20 17:49:19 +04:00
spaced4ndy
77f5c678d5
ios: forward ui ( #4024 )
...
* wip
* wip
* fixes
* improvements
* info
* fix
* dont cleanup file
* info design, text
* text
* rework with LazyVStack
* delay
* refactor
* move delay
* fix
* refactor
* refactor 2
* keep current message
* forward with quote, context icons
* info
* preserve draft
* remove newline
* improve search
* info
* layout
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-04-16 09:28:39 +01:00
Evgeny Poberezkin
2272b77b53
ios: refactor notifications ( #3976 )
...
* ios: refactor notifications
* refactor
2024-04-01 13:52:28 +01:00
Stanislav Dmitrenko
b64ae90850
ios: NotificationService refactoring ( #3961 )
...
* ios: NotificationService refactoring
* refactor
* removed unused code
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-03-28 17:28:10 +00:00
Stanislav Dmitrenko
a56bc6760b
ios: migration via link ( #3808 )
...
* ios: migration via link
* changes in UI
* UI
* UI and API changes
* UI and logic
* simplify statement
* UI, API, logic
* formatting
* animation fix
* better animation
* test
* changed directory
* changes
* migrating to device
* migrate settings
* more state updates on main thread
* texts
* continue migration after restart
* toggle for saving passphrase and footer text
* no visual arthefacts when deleting a chat after migration
* saving settings before changing passphrase
* back button is looking disabled when it's disabled
* fixed starting chat issues when migrating to device
* paste and share link elements
* proper import process and refactoring UI in SimpleXInfo
* show progress on settings while starting chat
* title bold font
* changes as in Android
* brace
* changes as in Android
* rename to prevent confusion
* fixes and adapted to Android
* unused param
* comment
* don't allow going back on Archiving step
* update core library
* changes as in Android
* correction
* correction
* change
* qr code
* update network settings view
* update progress
* changes
* navigation view and focus in text field
* texts
---------
Co-authored-by: Avently <avently@local>
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2024-03-11 14:17:28 +00:00
spaced4ndy
c544a636f6
core, ui: remove usage of inline files (send only xftp files) ( #3823 )
2024-02-20 13:56:31 +04:00
Stanislav Dmitrenko
b5fe1f8364
ios: notes to self ( #3690 )
...
* ios: notes to self
* change
* icon
* changes
* no live message
* search
* alert
* better checks
* api change
* changes for review
* changes
* ios: align notes chat color with sent chat items frame color (#3704 )
* changes
---------
Co-authored-by: Avently <avently@local>
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2024-01-18 19:57:14 +04:00
Stanislav Dmitrenko
88640b85c4
ios: local video encryption ( #3682 )
...
* ios: local video encryption
* main thread
* new progress view
* simplify
* rename
---------
Co-authored-by: Avently <avently@local>
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2024-01-16 11:49:44 +00:00
Evgeny Poberezkin
6067ac3c93
ios: more aggressive GC in NSE
2024-01-09 19:34:54 +00:00
Evgeny Poberezkin
3ccd9903a7
core: do not start clean up manager in background NSE ( #3657 )
...
* core: do not start clean up manager in background NSE
* update UIs
* fix test
2024-01-08 12:53:16 +00:00
Evgeny Poberezkin
e294999044
ios: fix callkit calls via NSE ( #3655 )
...
* ios: fix callkit calls via NSE
* comments
* more reliable NSE start
* remove public logs, different RTS parameters for NSE
* only suspend NSE if we have chat controller, to avoid crashes if suspension attempted without controller created
* comments
* fix
* simplify
2024-01-08 10:56:01 +00:00
Evgeny Poberezkin
f93f68e425
core: agent background mode for iOS NSE ( #3574 )
...
* core: agent background mode for iOS NSE
* change parameter for APIActivateChat
* fix
* update lib
* update lib
* simplexmq
* simplify
2023-12-23 13:06:59 +00:00
Evgeny Poberezkin
6fa0001ea7
ios: delay suspendChat in NSE, background schedule depends on notifications mode ( #3561 )
...
* ios: delay suspendChat in NSE
* different background refresh interval depending on the settings
* simplify
* comment
* reduce NSE suspend interval
* space
2023-12-18 10:36:25 +00:00
Evgeny Poberezkin
8a41a4c214
ios: do not start chat if it was stopped, deliver "app stopped" notifications ( #3535 )
...
* add stopped notifications, remove full off mode
* core: allow initializing chat data without starting chat
* ios: ask before starting chat if it was stopped
* correct text
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
* fix comment
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2023-12-11 12:59:49 +00:00
Evgeny Poberezkin
79a954336c
ios: communication between NSE and app via files ( #3533 )
...
* ios: communication between NSE and app via files
* clean up
* better concurrency
2023-12-11 12:34:56 +00:00
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
Evgeny Poberezkin
43b67ba157
ui: set local file encryption in the core ( #3227 )
2023-10-15 20:58:39 +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
cb10f8b080
ui: optionally encrypt received SMP files ( #3095 )
2023-09-21 19:02:47 +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
Evgeny Poberezkin
42324b515d
ios: only show "entity" notifications if the are enabled in the conversation ( #2899 )
2023-08-11 16:55:00 +01:00
spaced4ndy
1a567c88db
ios: rework incognito mode - choose when making connection ( #2851 )
...
* wip
* layout
* more layout
* fix focus
* show incognito
* change icon layout
* remove presentation detents
* smaller button icon
* bigger icon
* show incognito profile status in connection info, layout, icons
* fix some lint warnings, update labels, add incognito label, conditionally hide toolbar to avoid jumping on iOS 17
* remove ignored color
* s/incognitoEnabled/incognito/
* shorter text
* remove parameter label
* restore note when creating a group
* add incognito icon to pending connections
* refactor
* refactor chat list action sheet
* revert to using new value in onChange
* remove unused variable
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-08-08 17:26:56 +04:00
Evgeny Poberezkin
202ecc369a
157: more logging
2023-07-20 12:07:00 +01:00
Evgeny Poberezkin
4b652b62da
ios: better filtering of notificaitons in NSE (to avoid event notifications) ( #2722 )
2023-07-19 12:14:27 +01:00
Stanislav Dmitrenko
baf3a12009
mobile: increased size of voice messages ( #2150 )
...
* android: increased size of voice messages
* ios: increased size of voice messages
* size changes
* increase audio quality to 16kHz/32Kbps, refactor auto-accept logic
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-05-15 09:17:32 +01:00
spaced4ndy
4d700d113d
core, ios: mark files to receive from NSE, receive marked files on chat start ( #2218 )
2023-04-20 16:52:55 +04:00
spaced4ndy
ddd8e719ef
core, ios: don't send/receive XFTP files in NSE ( #2202 )
2023-04-18 19:43:16 +04:00
Evgeny Poberezkin
13cf1cc004
ios: mute groups instantly when notifications are disabled ( #2187 )
2023-04-14 22:54:05 +01:00
spaced4ndy
717c90c58b
mobile: remove cancelled files ( #2154 )
2023-04-07 17:41:07 +04:00
Stanislav Dmitrenko
afb0ae3d03
ios: video support ( #2115 )
...
* ios: video support
* made video experience prettier
* line reordering
* fix warning
* remove playback speed
* fullscreen player
* removed unused code
* fix conflict
* setting playing status better
* thumbnail dimensions and loading indicator
* fill under video
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-04-06 18:26:48 +01:00
Evgeny Poberezkin
1f15cf54af
Merge branch 'master' into xftp
2023-03-27 18:57:14 +01:00
Evgeny Poberezkin
c96ba30018
core: support down migrations to allow reverting to the previous version ( #2072 )
...
* core: support down migrations to allow reverting to the previous version
* update schema
* update simplexmq
* rename errors
* remove unused functions
* migration UI, test migration
* update migration UI
* return current migrations in CRVersionInfo
* update simplexmq
* test down migrations
* cleanup ios
* show migrations in log
2023-03-27 18:34:48 +01:00
spaced4ndy
aeb732c2f6
ios: support XFTP files ( #2064 )
2023-03-24 15:20:15 +04:00
Evgeny Poberezkin
06a0dbd0f2
core, iOS: hidden and muted user profiles ( #2025 )
...
* core, ios: profile privacy design
* migration
* core: user profile privacy
* update nix dependencies
* update simplexmq
* import stateTVar
* update core library
* update UI
* update hide/show user profile
* update API, UI, fix test
* update api, UI, test
* update api call
* fix api
* update UI for hidden profiles
* filter notifications on hidden/muted profiles when inactive, alerts
* updates
* update schema, test, icon
2023-03-22 15:58:01 +00:00
Evgeny Poberezkin
8145387f77
ios: CallKit changed reporting logic ( #2019 )
...
* ios: CallKit changed reporting logic
* refactor, suspend chat after call when app is in background
---------
Co-authored-by: Avently <7953703+avently@users.noreply.github.com >
2023-03-16 19:57:43 +00:00
Evgeny Poberezkin
6724de09c9
ios: dismiss sheets on IncomingCallView, send notification if reportNewIncomingVoIPPushPayload fails
2023-03-16 16:59:05 +00:00
Stanislav Dmitrenko
9ec6911005
ios: CallKit integration ( #1969 )
...
* ios: CallKit integration
* notifying CallKit about outgoing call
* changes
* switching calls with CallKit
* string
* add NSE filtering entitlement
* add NSE build scheme
* remove some call limitations
* calls enhancments
* fixed calls on lockscreen
* don't display useless notification
* fix app state
* ability to answer on call from chat item via CallKit
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-03-14 08:12:40 +00:00
Evgeny Poberezkin
06a2f7e4da
mobile: remove option "transfer images faster" ( #1891 )
2023-02-05 11:25:31 +00:00
Stanislav Dmitrenko
4cd396a0d2
ios: Multiuser calls ( #1800 )
...
* ios: Multiuser calls
* counter update on badge
* padding before profile info in call view
* underline in name
* change after merge
* do not show Simplex Info button if users already created
* unread counter
* do not increase badge counter when chat has disabled notifications
* update incoming call
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-01-23 13:20:58 +00:00
Stanislav Dmitrenko
ad6aa10cd2
ios: Multiusers feature continue ( #1793 )
...
* ios: Multiusers feature continue
* Logging of user in responses
* UserId
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
* Undo ugly user inclusion into functions. Now it's in backend
* Do not set active user if it's unchanged
* Blank line
* if
* Change active user function
* refactor
* refactor
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
* Alert
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2023-01-19 16:22:56 +00:00
JRoberts
cf6afb7687
Merge branch 'master' into users
2023-01-16 16:24:38 +04:00
Stanislav Dmitrenko
71f5b51350
ios: change network config in NSE when updated via UI ( #1731 )
...
* ios: Apply changed network config to NSE
* Better
* Separate function
* rename
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-01-13 19:05:53 +00:00
JRoberts
bb0482104c
core, ios, android: add UserId to api commands ( #1696 )
2023-01-05 20:38:31 +04:00
Evgeny Poberezkin
12574bed96
ios: move image utils to app ( #1642 )
...
* ios: move image utils to app
* name in comments
2022-12-24 11:38:59 +00:00
JRoberts
e5f07993a7
mobile: don't show notifications for certain chat items ( #1453 )
2022-11-28 19:11:26 +04:00
JRoberts
9c06acd4bc
ios: voice message repeat receive ui workaround ( #1437 )
2022-11-26 12:43:26 +04:00
JRoberts
a6e4e68bc5
ios: voice messages ( #1389 )
...
* experiments
* audio recording in swiftui
* recording encapsulated
* permission + playback
* stopAudioPlayback on cancel
* method names
* check permission in recording start
* run timer on main thread
* remove obsolete view
* don't call playback timer callback unless player is playing
* compose + send view + preview + send
* animation + improve state + quality
* fix recording not stopping in time
* animate to end
* remove recorder delegate, fix cancelling during recording
* replace print with log
* recording start error constructor
* CIVoiceView file
* chat item wip
* chat item wip
* refactor settings
* layout
* send correct duration
* item previews
* more background, animation
* more layout
* more layout, send button conditions
* context, preview, quote, notification texts
* chat item actions
* use isEmpty
* remove comment
* uncomment file.loaded
* more layout, hold to record
* more layout
* preview player stop on disappear
* more layout
* comment
* only one player or recording
* remove voice message on chat close
* fix state bug
* remove commented code
* length 30
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-11-24 21:18:28 +04:00
Evgeny Poberezkin
7a1d0eac9d
ios: option to transfer files faster (inline) ( #1284 )
2022-11-02 10:32:08 +00:00
JRoberts
7ef7d08c00
mobile: use viaGroupLink to avoid adding missing chats on subscriptions ( #1249 )
2022-10-24 16:22:00 +04:00
JRoberts
15c1f9f9c8
core: group link contact connecting(ed) events to avoid adding previews in ui ( #1242 )
...
* core: group link contact connecting(ed) events to avoid adding ui previews
* fix test
* refactor
* ios types
* android types
* type in bot
2022-10-23 21:18:15 +01:00