Evgeny
71bea947a5
ios: cache base64 images ( #4827 )
2024-09-04 14:49:01 +01:00
spaced4ndy
f587179045
ios: multi send & forward api ( #4739 )
2024-08-22 21:38:22 +04:00
Arturs Krumins
c823a4fa6c
extend chat view material behind keyboard ( #4698 )
...
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-08-15 18:43:30 +01:00
Arturs Krumins
f6ef57534f
ios: add text to share extension link preview ( #4683 )
...
* ios: add text to share extension link preview
* remove maxHeight contraint
2024-08-14 19:29:13 +01:00
Evgeny Poberezkin
3778698a6e
ios: set default toolbar opacity to regular, show dropdown
2024-08-09 17:26:57 +01:00
Arturs Krumins
cf7a16e857
ios: translucent bars in chat view ( #4641 )
...
* extend reverse list; disable clipping
* wallpaper - ignore safe area
* minor
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2024-08-09 17:23:57 +01:00
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
Evgeny Poberezkin
2ff4619ca4
ios: improve chat list layout ( #4537 )
2024-07-29 22:11:02 +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
Evgeny Poberezkin
0847b725b3
ios: toolbar and message entry area background color ( #4449 )
...
* ios: toolbar and message entry area background color
* remove VStack, opacity
* ios: adjust compose view background color to match top bar (#4456 )
* search
* replace BlurView with .thinMaterial
* context item background with shadow
* search
* Revert "context item background with shadow"
This reverts commit fc4ad32417 .
* rework shadow
* shadow on both sides
* Revert "shadow on both sides"
This reverts commit a07920af91 .
* Revert "rework shadow"
This reverts commit 78728263fb .
* dividers
* remove paddings
* height
* search
* focus search
* color
* search background
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2024-07-15 13:14:14 +01: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
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
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
d1dde3d0c8
ui: support message forwarding with custom ttl ( #4192 )
2024-05-16 14:12:58 +04:00
Stanislav Dmitrenko
065c8f8861
ios: fix typing using keyboard suggestions ( #4045 )
2024-04-19 07:17:17 +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
fbe3353434
ui: fix link preview cancellation ( #3750 )
2024-01-25 14:58:39 +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
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
Stanislav Dmitrenko
dded56d8b8
ios: converting video to mp4 and making quality lower ( #3597 )
...
* ios: converting video to mp4 and making quality lower
Lower quality allows to play that videos on Android as well
* update export settings
---------
Co-authored-by: Avently <avently@local>
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-12-27 11:23:46 +00:00
Evgeny Poberezkin
a5048db6fa
ios: improve media picker for multiple images/videos ( #3538 )
...
* ios: improve media picker to work with multiple images reliably
* MainActor
2023-12-12 09:04:48 +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
Stanislav Dmitrenko
743597e848
ios: making message text view working better ( #3279 )
...
* ios: making message text view working better
* style for ternaries
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-10-25 09:56:59 +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
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
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
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
Evgeny Poberezkin
5a9ed86d1b
ios: send button color for incognito conversations ( #2918 )
2023-08-14 22:55:18 +01:00
Stanislav Dmitrenko
6ce00b45aa
ios: show progress after send with timeout correctly ( #2887 )
...
* ios: show progress after send with timeout correctly
* was wrong idea
* remove unused property
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-08-10 21:38:11 +01:00
spaced4ndy
b69f422708
ios: fix editing w/t change ( #2710 )
2023-07-17 16:55:19 +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
Evgeny Poberezkin
3e370a7c16
ios: group preference to prohibit files and media ( #2611 )
...
* ios: group preference to prohibit files and media
* style
2023-06-27 07:55:33 +01:00
spaced4ndy
30687f5fa6
ios, android: allow to set custom ttl per message if conversation timer is not set ( #2598 )
2023-06-20 10:13:16 +04:00
spaced4ndy
1326701440
mobile: remove file on apiSendMessage error ( #2487 )
2023-05-23 12:43:18 +04:00
spaced4ndy
a0b3c0a5a4
android: allow to configure custom disappearance interval on chat level ( #2460 )
2023-05-19 16:54:27 +04:00
spaced4ndy
25156bb56c
ios: allow to set disappearance interval when sending message; allow to configure custom interval ( #2428 )
...
* ios: allow to set disappearance interval when sending message; allow to configure custom interval
* custom time picker wip
* improve interaction with time picker - touch area, cancel, keyboard, preference
* dropdown picker, refactor, text
* button condition
* weeks limit
* refactor
* update texts
* simplify
* fix null selection
* texts, set current, switch columns
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-05-15 16:07:55 +04:00
Stanislav Dmitrenko
0ec2468dce
ios: slider for voice messages ( #2432 )
...
* ios: slider for voice messages
* better layout hiding and showing
* properly stop playback when other media started
* better layout
* change padding
* code style
* refactor
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-05-14 18:07:34 +01:00
Stanislav Dmitrenko
e635c45ec6
ios: fixed keyboard ( #2424 )
2023-05-10 18:45:55 +01:00
Stanislav Dmitrenko
69767126aa
mobile: disable ability to write text in text view when sending a message and prevent saving message that is in progress as draft ( #2371 )
...
* android: prevent saving message that is in progress as draft
* android: disable ability to write text in text view when sending a message
* ios: prevent saving message that is in progress as draft
* ios: disable ability to write text in text view when sending a message
* do not show welcome button when not needed
2023-05-03 13:57:10 +01:00
Evgeny Poberezkin
37f835be8c
mobile: remove XFTP toggle ( #2208 )
...
* mobile: remove XFTP toggle
* ios: remove unused string
* android: remove unused strings
2023-04-19 09:41:01 +01: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
spaced4ndy
ef05fa4905
core: file protocol field; ios: distinguish behavior and look of XFTP and SMP files ( #2090 )
...
* core: file protocol field; ios: distinguish behavior and look of XFTP and SMP files
* remove unused method
* count style
* corrections
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-03-28 19:20:06 +01:00
Evgeny Poberezkin
c50306709b
mobile: do not show "observer" overlay when user leaves group
2023-03-16 23:29:47 +00:00
Evgeny Poberezkin
be19af62d9
ios: group link role, add observer role ( #1978 )
...
* ios: group link role, add observer role
* prevent observers from sending in UI, clear compose state on role change
2023-03-16 22:20:20 +00:00
Evgeny Poberezkin
3e560278b6
ios: update chat previews, show filename in drafts ( #1847 )
...
* ios: update chat previews, show filename in drafts
* save and restore images/file/voice for draft
* refactor image
* it was a wrong value
* use param label
* proper stop of voice recording
* safe draft logic
* different way of finishing recording
* keep condition
* refactor
* fix live
* fix
* refactor
* fix
* simplify
* add space after filename in draft
---------
Co-authored-by: Avently <7953703+avently@users.noreply.github.com >
2023-01-27 22:09:39 +00:00
Evgeny Poberezkin
c01c629f73
mobile: use GMT timezone in filenames to prevent leaking user location ( #1837 )
...
* ios: use GMT timezone in filenames to prevent leaking user location
* android: use GMT timestamp in generated file names
2023-01-25 11:48:54 +00:00
Evgeny Poberezkin
25e4a1e86d
ios: fix layout of voice message ( #1836 )
...
* ios: fix layout of voice message
* fix layout
* prevent translations
2023-01-25 10:18:02 +00:00
Evgeny Poberezkin
e27013071b
ios: preserve message draft in the latest chat only ( #1834 )
...
* ios: preserve message draft in the latest chat only
* show attachment icon and formatting in draft
* button to remove message text
* show icon for active draft, refactor
* add voice message duration to draft
2023-01-25 08:35:25 +00:00