Evgeny Poberezkin
31ebfb03fa
throttle, update unread
2024-08-01 20:58:19 +01:00
Evgeny Poberezkin
2ff4619ca4
ios: improve chat list layout ( #4537 )
2024-07-29 22:11:02 +01:00
Evgeny Poberezkin
41b4d7851a
ios: improve chat list layout ( #4528 )
2024-07-28 21:53:21 +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
ea12982788
ios: fix two-line preview on IOS 17+ ( #4514 )
2024-07-25 14:53:10 +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
dae9f8575d
ui: change labels in server stats, move percentage toggle ( #4468 )
...
* ui: change labels in server stats, move percentage toggle
* localizations
2024-07-16 20:41:00 +01:00
Evgeny Poberezkin
0d6f43a5ac
ui: different label for subscribed connections: Message push, Active connections ( #4453 )
...
* ui: different label for subscribed connections: Message push, Active connections
* update
* localizations
2024-07-15 08:54:31 +01:00
Evgeny Poberezkin
3e873fcb32
core: faster tracking of active subscriptions; ui: only track in foreground ( #4446 )
...
* core: faster tracking of active subscriptions
* combine db transaction
* optimizations of queries from UI
* ios: track when active
* ios: disable log
---------
Co-authored-by: Avently <7953703+avently@users.noreply.github.com >
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2024-07-13 08:44:51 +01: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
Evgeny Poberezkin
f90de83215
ios: corrections, localizations ( #4406 )
2024-07-05 08:23:29 +01:00
spaced4ndy
44c0861fe4
ios: apply theming to servers summary view ( #4404 )
2024-07-04 21:11:20 +04: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
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
Stanislav Dmitrenko
c52e5349db
ios: more sheets will become hidden while protect screen on ( #4259 )
...
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-05-31 22:47:57 +01: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
Evgeny Poberezkin
cfa7e0bb28
ios: customizable profile images ( #4084 )
...
* ios: customizable profile images
* update slider
* whats new
2024-04-24 21:20:26 +01:00
Stanislav Dmitrenko
6484e36b82
ios: fix mute/unmute button state ( #4046 )
2024-04-19 17:20:31 +01:00
Evgeny Poberezkin
1410b4bd85
ios: prevent call to apiContactInfo after the app is suspended
2024-03-29 19:43:16 +00:00
Evgeny Poberezkin
42a35e8c72
ios: prevent call to listUsers after the app is suspended and database is closed
2024-03-29 18:58:55 +00:00
Evgeny Poberezkin
5fd8e6e4fe
ui: exclude muted chats from filtered chats ( #3900 )
2024-03-12 17:33:28 +00:00
spaced4ndy
838a759a76
ui: deleted item preview ( #3726 )
2024-01-24 13:44:29 +04:00
spaced4ndy
8738cf332f
ui: fix chat preview showing incorrect timestamp when chat is empty ( #3739 )
2024-01-24 13:37:29 +04:00
Stanislav Dmitrenko
2dae9180ec
ios: text color of group invitation in chat list ( #3703 )
...
* ios: text color of group invitation in chat list
* refactor
---------
Co-authored-by: Avently <avently@local>
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-01-18 19:14:18 +00: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
acd05c43db
mobile: chat deletion avoiding race conditions ( #3650 )
...
* android, desktop: chat items deletion
* rename
* ios: chat items deletion
* correct id
* android: adding progress of deletion
* ios: text color while deleting chats
* change only text color
---------
Co-authored-by: Avently <avently@local>
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2024-01-10 16:57:34 +00:00
Evgeny Poberezkin
809040c7bc
ui: show secrets on tap ( #3628 )
...
* ios: show secrets on tap
* android: show secrets on tap/click
* android: clickable links in group descriptions
* android: hide secrets one by one
* ios: clickable links in welcome message preview
* refactor
* refactor2
2023-12-30 18:57:10 +00:00
Evgeny Poberezkin
4ab078bd18
ios: show clear search button when search is not empty ( #3627 )
2023-12-30 14:09:07 +00:00
spaced4ndy
2bacc00a06
ios: rework UX of creating new connection ( #3482 )
...
* ios: connection UI (wip)
* custom search
* rework invite
* connect paste link ui
* scan rework, process errors, other fixes
* scan layout
* clear link on cancel
* improved search
* further improve search
* animation
* connect on paste in search
* layout
* layout
* layout
* layout, add conn
* delete unused invitation, create used invitation chat
* remove old views
* regular paste button
* new chat menu
* previews
* increase spacing
* animation, fix alerts
* swipe
* change text
* less sensitive gesture
* layout
* search cancel button transition
* slow down chat list animation (uses deprecated modifiers)
* icons
* update code scanner, layout
* manage camera permissions
* ask to delete unused invitation
* comment
* remove onDismiss
* don't filter chats on link in search, allow to paste text with link
* cleanup link after connection
* filter chat by link
* revert change
* show link descr
* disabled search
* underline
* filter own group
* simplify
* no animation
* add delay, move createInvitation
* update library
* possible fix for ios 15
* add explicit frame to qr code
* update library
* Revert "add explicit frame to qr code"
This reverts commit 95c7d31e47 .
* remove comment
* fix pasteboardHasURLs, disable paste button based on it
* align help texts with changed button names
Co-authored-by: Stanislav Dmitrenko <7953703+avently@users.noreply.github.com >
* update library
* Revert "fix pasteboardHasURLs, disable paste button based on it"
This reverts commit 46f63572e9 .
* remove unused var
* restore disabled
* export localizations
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
Co-authored-by: Stanislav Dmitrenko <7953703+avently@users.noreply.github.com >
2023-12-29 12:29:49 +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
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
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
4a5fdd3e0e
ios, android: show progress indicator on joining group ( #3281 )
2023-10-26 10:32:11 +04: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
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
e6b0983c3e
Merge branch 'stable'
2023-10-15 18:52:46 +01:00
Evgeny Poberezkin
838751fe78
ios: fix Protect screen not hiding message previews ( #3226 )
2023-10-15 18:12:13 +01:00
spaced4ndy
bbe329072e
ios: notify contact about contact deletion ( #3135 )
2023-09-27 20:07:32 +04: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
Evgeny Poberezkin
590644a359
ios: show draft even when messages in the list are hidden ( #2944 )
2023-08-17 12:52:03 +01:00
spaced4ndy
a5940962c7
ios: show chat previews & save last draft toggles ( #2940 )
...
* ios: show chat previews & save last draft toggles
* better view, toggle name
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-08-17 12:04:17 +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
spaced4ndy
c9400fe932
ios: group snd status ( #2779 )
2023-07-28 13:16:52 +04:00
spaced4ndy
94e25d9bb4
ios: fix pull to refresh affecting pending connection sheet in chat list ( #2724 )
2023-07-19 20:48:47 +04:00
Evgeny Poberezkin
b69916a3a3
ios: fix iOS 17 keyboard ( #2671 )
...
* ios: hide keyboard on scroll
* fix
* fix keyboard covering view with conditional padding
2023-07-10 13:53:46 +01:00