Arturs Krumins
cbc86cd81e
ios: disable chats in share-sheet based on preferences ( #4549 )
...
* claenup
* cleanup
* remove groupFeatureEnabled from Chat
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-08-01 07:48:17 +01:00
Stanislav Dmitrenko
6e6afdbd25
ios: multiple messages deletion ( #4535 )
...
* ios: multiple messages deletion
* changes
* layout
* fix
* changes in design and UX
* fixes
* padding
* paddings
* refactor
* changes
* gray circles, separator, optimize
* titles
* disable moderation for own single message
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-07-31 15:00:14 +01:00
Evgeny Poberezkin
93e88c3953
ios: optionally lock share extension when SimpleX Lock is enabled (default is to lock), allow link previews if enabled in the app, use the same shape of avatars ( #4547 )
2024-07-31 13:54:47 +01:00
Stanislav Dmitrenko
e1fb0ac0b1
ui: delete multiple messages ( #4532 )
...
* ui: delete multiple messages
* ios
* simplify, rename
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-07-30 23:56:56 +01:00
spaced4ndy
493ad14b39
core: make user db actions high priority, faster chat start with async db operations ( #4531 )
...
* core: move db actions out of synchronous execution on chat start
* revert some
* multiplatform: load chat data before starting chat
* use priority database access
* simplexmq
* fix race in the tests
* check chat is running
* core: allow getting call invitations and notificationn token when chat is stopped
* ios: load chats and refresh call invitations before chat is started
* simplexmq
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-07-29 21:52:45 +01:00
Evgeny Poberezkin
6865515f43
ios: share extension ( #4466 )
...
* ios: share extension (#4414 )
* ios: add share extension target
* ios: Add UI
* ios: send file from share-sheet
* image utils
* ShareError
* error handling; ui-cleanup
* progress bar; completion for direct chat
* cleanup
* cleanup
* ios: unify filter and sort between forward and share sheets
* ios: match share sheet styling with the main app
* ios: fix text input stroke width
* ios: align compose views
* more of the same...
* ShareAPI
* remove combine
* minor
* Better error descriptions
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
* ios: enable file sending workers in share extension (#4474 )
* ios: align compose background, row height and fallback images for share-sheet (#4467 )
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
* ios: coordinate database access between share extension, the app and notifications extension (#4472 )
* ios: database management proposal
* Add SEState
* Global event loop
* minor
* reset state
* use apiCreateItem for local chats
* simplify waiting for suspension
* loading bar
* Dismiss share sheet with error
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
* send image message (#4481 )
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
* ios: improve share extension completion handling (#4486 )
* improve completion handling
* minor
* show only spinner for group send
* rework event loop, errorAlert
* group chat timeout loading bar
* state machine WIP
* event loop actor
* alert
* errors text
* default
* file error
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
* ios: add remaining share types; process attachment in background on launch (#4510 )
* add remaining share types; process attachment in background on launch
* cleanup diff
* revert `makeVideoQualityLower`
* reduce diff
* reduce diff
* iOS15 support
* process events when sharing link and text
* cleanup
* remove video file on failure
* cleanup CompletionHandler
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
* ios: share extension - additional alerts and media previews (#4521 )
* add remaining share types; process attachment in background on launch
* cleanup diff
* revert `makeVideoQualityLower`
* reduce diff
* reduce diff
* iOS15 support
* process events when sharing link and text
* cleanup
* remove video file on failure
* cleanup CompletionHandler
* media previews
* network timeout alert
* revert framework compiler optimisation flag
* suspend chat after sheet dismiss
* activate chat
* update
* fix search
* sendMessageColor, file preview, chat deselect, simplify error action
* cleanup
* interupt database closing when sheet is reopened quickly
* cleanup redundant alert check
* restore package
* refactor previews, remove link preview
* show link preview when becomes available
* comment
* dont fail on invalid image
* suspend
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
* ios: descriptive database errors (#4527 )
* ios: set share extension as inactive when suspending chat
---------
Co-authored-by: Arturs Krumins <auth@levitatingpineapple.com >
2024-07-28 17:54:58 +01:00
Stanislav Dmitrenko
a966f6b19d
ios: blur for media ( #4512 )
...
* ios: blur for media
* line
* one more place
* changes for video
* using notification center
* change
* unused code
* string
* simplify
* refactor ifs
* fix
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-07-26 08:38:22 +01:00
Stanislav Dmitrenko
6fca6c22c5
ios: interactive media and link previews in the list of chats ( #4487 )
...
* ios: interactive media and link previews in the list of chats
* commented out voice preview
* voice message support and various fixes
* changes to video
* changes
* playing voice in chat list with scrolling
* revert
This reverts commit 60f57403d1 .
* prevent feedback loop
* version of dependency
* voice
* fix param
* working voice
* reacting on messages and chat deletion
* fix two videos in a row
* video item layout
* fix
---------
Co-authored-by: Levitating Pineapple <noreply@levitatingpineapple.com >
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-07-23 18:11:42 +01:00
spaced4ndy
2689d1e27b
ios: optimize subscription indicator ( #4501 )
2024-07-22 19:32:54 +04:00
Evgeny Poberezkin
f10a0ce58e
core: receive only one notification message on push notification ( #4504 )
...
* core: receive only one notification message on push notification
* ios: receive only one notification message on push
* update stats to include notification server stats
* Codable
* update simplexmq
2024-07-22 15:48:57 +01:00
spaced4ndy
fa73e63a79
ios: allow sending messages immediately on joinConnection, acceptContact ( #4478 )
2024-07-19 11:31:43 +04:00
Evgeny Poberezkin
fea51b75e9
ios: fix start chat api
2024-07-17 14:20:58 +01:00
Evgeny Poberezkin
ff8bbf11e7
core: allow start in extension without subscriptions but with enabled files ( #4464 )
...
* core: allow start in extension without subscriptions but with enabled files
* only start sending files
* update
* update
* update simplexmq
2024-07-17 14:14:19 +01:00
spaced4ndy
4251762553
ios: better errors ( #4462 )
2024-07-16 17:19:37 +04:00
Evgeny Poberezkin
b4ae3b9431
ui: enable private message routing by default for all unknown servers ( #4461 )
2024-07-15 23:13:33 +01:00
spaced4ndy
70204e071d
ui: split servers into lists; allow to enable only tested servers ( #4445 )
2024-07-12 21:03:30 +04:00
spaced4ndy
2dff94cbb4
ios: check temporary proxy error ( #4440 )
...
* ios: check temporary proxy error
* update
* more errs
* more errs
* refactor
* update
* refactor
2024-07-11 19:49:28 +04:00
Arturs Krumins
859fa0bc22
ios: make image utilities accessible from extensions ( #4438 )
...
* ios: move image utils in to framework
* Rename UIImage convenience init
2024-07-11 13:56:55 +01:00
spaced4ndy
c4f8a50f0d
ios: show inactive and forwarded group message status; show inactive members ( #4423 )
...
* ios: differentiate inactive and forwarded group snd statuses; show member connection disabled/inactive
* lazy
* simplify
* Update apps/ios/SimpleXChat/ChatTypes.swift
* export localizations, update strings
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-07-09 21:52:33 +01:00
Evgeny Poberezkin
f5eea018d9
ios: chat themes and wallpapers ( #4376 )
...
* ios: wallpapers (#4304 )
* ios: wallpapers
* theme selection
* applied theme colors and preset wallpaper
* more places with background
* one more
* accent color
* defaults
* rename
* background
* no change to cell color
* unneeded
* changes
* no global tint
* defaults
* removed unneeded class
* for merging
* ios: wallpapers types (#4325 )
* types and api
* divided types per target
* creating directory for wallpapers
* creating wallpaper dir at launch
* ios: wallpapers appearance (#4335 )
* appearance
* changes
* refactor
* scale
* lambda to function
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
* ios: wallpapers user/chat overrides (#4345 )
* ios: wallpapers user/chat overrides
* chat overrides
* color picker updates colors correctly
* fix state update
* labels
* background for light theme
* small optimization
* removed commented code
* ios: enhancements to wallpapers (#4361 )
* ios: enhancements to wallpapers
* colors for background
* ios: wallpapers import/export (#4362 )
* ios: wallpapers import/export
* comment
* ios: wallpapers theme updates (#4365 )
* ios: wallpapers theme updates
* group member background
* colors
* profile picture colors
* unneeded
* optimizations, images, state fixes
* fixes
* no editing of title color
* rename Menus and alerts, refactor
* tint applying fix
* fixes
* migration of accent and themes
* fix updating system theme
* migration changes
* limiting color range
* ios: wallpapers rename enum (#4384 )
* ios: wallpapers rename enum2 (#4385 )
* ios: wallpapers rename enum2
* change
* colors were commented
* fix build and look
---------
Co-authored-by: Stanislav Dmitrenko <7953703+avently@users.noreply.github.com >
2024-07-03 22:42:13 +01:00
spaced4ndy
e963ef53e7
ios: test ntf server ( #4394 )
...
* ios: test ntf server
* reset on change
* fix formatting
2024-07-03 18:31:09 +01:00
spaced4ndy
1180edf80e
ios: servers summary ( #4321 )
...
* types
* chat list buttons
* update
* wip
* xftp summary
* sub status view
* reconnect server button
* reset stats button
* refactor
* subscription icon in server view
* getAgentSubsSummary api
* view
* subs indicator with timer
* rename
* variableValueAsPercentage
* encodePrettyPrinted
* totals, timer
* reduce interval
* show more/less stats
* refactor
* sort
* rework indicator wip
* change offline icon
* rework indicator
* show percent
* file progress
* fix
* onion
* user servers, icons
* dashes
* Revert "user servers, icons"
This reverts commit 805e7e9bd6 .
* remove icon, remove total, remove session %
* exclude sessions
* move starting from
* file stats
* fix
* open server settings
* file in progress
* update
* wpi
* wip
* rework stats
* arrow for sessions
* texts
* reconnect all
* single user
* rework file stats
* update
* dont log terminal items
* center
* update
* _connSubIgnored
* rename
* update
* large titles
* refactor
* update
* text
* upd
* single dash
2024-07-03 13:59:46 +01:00
Evgeny Poberezkin
2585f4ecfd
ios: ChatView performance improvements ( #4353 )
...
* feat: Add synthesized hashable conformance to chat and API types (#4348 )
* UIKit ReverseList
* ReverseList - manual layout updates for external state
* Propagate ScrollModel; Disable async media width
* Filter chat items
* Remove UIKit menu wrapper
* Make chat item width calculation synchronous (#4371 )
* Fix floating button regression
* Improve filter performance
* Fix page load the merged items exceed full page
* Resolve iOS15 compabibility
* Restore build config
* Add page-up scroll; Fix same item decrementing unread counter multiple times
* Fix: Chat not loading additional pages, if newest items are all merged and exceed page size
* Minor
* Fix item loading regression
* Fix item loading regression 2
* Fix unread regression
* refactor
---------
Co-authored-by: Arturs Krumins <auth@levitatingpineapple.com >
Co-authored-by: Levitating Pineapple <noreply@levitatingpineapple.com >
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2024-07-03 10:24:26 +01:00
spaced4ndy
593c7d247c
ui: add ServerEnabled type ( #4381 )
2024-07-01 17:10:22 +04:00
spaced4ndy
6ba82c8c39
ios: check preferences before forward ( #4336 )
...
* ios: check preferences before forward
* rework
* clean up
* shorter message
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2024-06-19 13:49:44 +04:00
spaced4ndy
d244338b13
ui: differentiate remote ctrl errors, better error texts ( #4302 )
2024-06-10 18:18:05 +04:00
spaced4ndy
5e96e1ea2b
ios: file errors ( #4281 )
2024-06-05 21:03:05 +04:00
spaced4ndy
490e8cead8
core: file errors ( #4261 )
2024-06-05 21:02:13 +04:00
Evgeny Poberezkin
b165603136
ios: log file error to console
2024-05-31 18:33:57 +01:00
Evgeny Poberezkin
5ac521f6d8
core: commands to debug subscribed SMP queues ( #4253 )
...
* core: commands to debug subscribed SMP queues
* getLastRcvMsgInfo
* DESC
* update
* update commands, ui compiles
* update
* ios: fix type
* swap
* simplexmq
* group member queue info
* copy button in the alert
2024-05-31 12:45:58 +01:00
spaced4ndy
2143eb2d7a
core: batch send pending group messages ( #4242 )
2024-05-28 18:32:29 +04:00
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
d3e522e169
ui: disable send field for disabled connection (based on authErrCounter) ( #4193 )
2024-05-16 17:08:31 +04:00
spaced4ndy
d1dde3d0c8
ui: support message forwarding with custom ttl ( #4192 )
2024-05-16 14:12:58 +04:00
spaced4ndy
4b13512950
ios: SMP proxy support ( #4178 )
...
* ios: SMP proxy support
* statuses
* group statuses
* error texts
* update
* change icon
* texts
* texts
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-05-15 13:09:42 +01:00
spaced4ndy
6a8a8f242a
ui: allow to delete any items ( #4082 )
...
* ios: allow to delete any items
* android
* remove button android
* remove button ios
2024-04-25 10:20:52 +01:00
spaced4ndy
22fd2d7189
ios: remove experimental PQ toggle ( #4051 )
...
* ios: remove experimental PQ toggle
* remove header
2024-04-22 17:50:28 +01:00
Evgeny Poberezkin
e0e94d78b0
core, ui: revert timeout changes ( #4059 )
...
* core, ui: revert timeout changes
* update core library
2024-04-22 07:45:20 +01:00
Evgeny Poberezkin
02f980e968
core: update simplexmq (better newtork congestion handling, larger connection timeouts) ( #4055 )
...
* core: update simplexmq (better newtork congestion handling, larger connection timeouts)
* ui: update default TCP connect timeout, add receiving concurrency
* update simplexmq
2024-04-20 19:35:11 +01:00
spaced4ndy
1306c84938
ios: in item context menu don't show forward button if file doesn't exist, add download button ( #4048 )
2024-04-19 17:21:35 +01:00
Stanislav Dmitrenko
505c6cb062
ios: prevent a crash when exiting the app ( #4041 )
...
* ios: prevent a crash when exiting the app
* log
2024-04-19 07:23:13 +01: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
182225a5b1
ios: role-based preferences, SimpleX links preference ( #4021 )
...
* ios: role-based preferences, SimpleX links preference
* disable some options
2024-04-12 11:29:58 +01:00
spaced4ndy
e10c63dc64
ui: deletable field ( #4019 )
2024-04-12 13:10:47 +04:00
spaced4ndy
0deb6a4eb1
ui: forward types ( #4008 )
...
* ios: forward types
* android
* move
2024-04-11 13:58:56 +01:00
Stanislav Dmitrenko
d8b52ee0d3
ios: network observer ( #3996 )
...
* ios: network observer
* update
* remove metered
* update tcpTimeoutPerKb
* network connection in settings
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-04-11 11:31:30 +01:00
Stanislav Dmitrenko
c234809894
ios: improvement of chat item context menu ( #3981 )
...
* ios: improvement of chat item context menu
* rename
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-04-02 17:00:24 +01:00
Evgeny Poberezkin
9b6ca23dcb
ios: fix UI freezes on start and when exiting background ( #3972 )
...
* ios: fix UI freezes on start and when exiting background
* remove unused code
* comments
2024-03-29 22:58:36 +00: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
spaced4ndy
32bcaad126
ui: add missing error types ( #3925 )
2024-03-28 17:49:09 +04:00