spaced4ndy
a7f8866360
ui: plan and connect spinners ( #6048 )
...
* ios: plan and connect spinners
* fix cleanup
* remove redundant check
* revert diff
* progress by timeout for join and connect buttons
* accept in progress
* connect in progress by timeout wip
* fix observable
* fix cleanup
* kotlin wip
* decrease delay
* ios: spinner as overlay
* remove duplicate stop progress, remove cleanupOnCancel
* contact request progress
* plan in progress wip
* fix cleanup
* search
* fix ios
* scanner
* desktop paste
* spinner in chat
* ios: don't repeat scan while in progress
* spinner in paste field
* cancellable plan
* cancel in more scenarios
* fix cancellation
* move progress to search
* remove task var
* pause scanner when processing qr code
* kotlin
* improvements
* layout
* layout
* move spinner
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2025-07-10 09:29:39 +00:00
Evgeny
88547ab704
core: use longer timeouts for background network requests, support retries with increased timeouts ( #6043 )
...
* core: use longer timeouts for background network requests, support retries with increased timeouts
* ios: update types
* ios: allow user retry actions with failed network requests
* build: add exporting API functions with retry
* android, desktop: update types and C APIs
* android, desktop: alert to retry action on network error
* simplexmq
2025-07-07 11:01:03 +01:00
spaced4ndy
2dd54c6697
core, ui: prohibit changing profile for prepared entity when first attempt to connect failed ( #6037 )
...
* core: prohibit changing profile for prepared entity when first attempt to connect failed
* reuse incognito
* schema
* ios
* postgres schema
* ios
* reenable tests
* kotlin
* update alert
* rename predicate, combine queries
* send the correct incognito mode, fail on attempt to change mode for prepared connection
* query plans
* ui: show group connecting status
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2025-07-05 11:09:10 +01:00
spaced4ndy
557e8ddbe4
ios: fix accepting contact request incognito; android, desktop: fix showing incognito auto-accept toggle when short link data is not set ( #6026 )
...
* ios: fix accepting contact request incognito
* kotlin: fix incognito toggle
2025-07-01 13:35:21 +01:00
Evgeny
524de4067a
core: add/send contact address and request messages, ios: use auto-reply as welcome message ( #6017 )
...
* core: add/send contact address and request messages, ios: use auto-reply as welcome message
* revert event type change
* fix test, type
* multiplatform: update type
* fix query
* ios: hide keyboard when sending the message
* failing test for business chat with a welcome message
* retry joining via contact address
* query plans
* do not send history to the first member (the original customer) of business chat
* correctly handle retries when joining groups, do not create a new connection on retry
* failing test for group welcome message and feature items
* do not send history item if member saw it during joining (based on welcomeSharedMsgId in join request)
* correct fields in PendingContactConnection, update plans
* prevent duplicate group description created in chat, while ensuring that it is created
* fix query
2025-06-30 11:54:13 +01:00
Evgeny
1702f5ce34
core: fix retry when connecting via invitation short link, ios: improve connection status usage ( #6014 )
...
* core: fix retry when connecting via invitation short link
* ios: fix conditions, mark contacts as connected, only show spinners on contacts when connection status is ready or sndReady
2025-06-26 20:06:22 +01:00
Evgeny
8b770ca03e
ios: better error handling when connecting via links, improve alerts with chat information ( #6012 )
...
* simplexmq
* ios: error handling
* better new chat alerts
* vertical buttons in alert when they dont fit
* allow messages in prepared groups
2025-06-26 12:10:06 +01:00
Evgeny
c0b704f846
core: store welcome and request message IDs, ios: fix sending request without messages, trim sent messages ( #6009 )
...
* core: store welcome and request message IDs, ios: fix sending request without messages, trim sent messages
* remove comments
* rename, fix tests
* simplexmq
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2025-06-25 16:59:32 +01:00
spaced4ndy
6c06200b14
core: create business chat when preparing via contact link data with business flag ( #6008 )
...
* core: create business chat when preparing via contact link data with business flag
* add to test
* plans
* ios
* ios
2025-06-23 18:00:21 +01:00
Evgeny
9794829d74
core: show group as sender, add contact card to contact request chats, unify api type for prepared and contact request chats ( #6003 )
...
* core: option to show group as sender of chat item (for the initial items, e.g. welcome message)
* add chat item to contact request chats
* return AChat for prepared chats and contact requests
* update iOS api types, show prepared contact as blue, show preview info when content message is not available (previously was showing feature item)
* ios: remove ContactType
* ios: show group as sender, fix avatar not showing when member message sequence starts with merged items
* ios: update compose UI for all connection scenarios
* address settings
* ios: address settings UI
* fix tests
* fix tests 2
* ios: fix minor issues
2025-06-23 14:42:00 +01:00
Evgeny
fc04872c91
core: chat item content types for chat initiation ( #5998 )
...
* core: chat item content types for chat initiation
* connection mode for ui
* padding
* simplexmq
* initial items
* update content items
* core: feature and e2e items
* refactor
* chat items
* ios types
* fix condition for PQ encryption of link
2025-06-20 11:54:21 +01:00
spaced4ndy
b0ee13628b
core: change user for prepared contact or group ( #5985 )
2025-06-13 14:38:17 +00:00
spaced4ndy
7f6bc30894
core, ios: track "short link data set" state, interact with address accordingly ( #5978 )
2025-06-10 15:12:23 +00:00
spaced4ndy
2bc4836338
core, ios: create contact requests with attached contact ( #5967 )
2025-06-09 16:18:01 +00:00
spaced4ndy
56c8d8696e
core: prepare and connect to group ( #5964 )
2025-06-05 13:16:04 +00:00
spaced4ndy
8a4760a2cb
core: set short links data, prepare entity, etc.; ios: connect to prepared contact ( #5951 )
2025-06-04 07:47:10 +00:00
spaced4ndy
1a80ecfc29
core, ui: allow to delete member support chat; rename reject action ( #5927 )
2025-05-20 09:07:44 +00:00
spaced4ndy
b0547cf6f7
Merge branch 'stable'
2025-05-19 20:02:49 +04:00
Evgeny
7b362ff655
ui: label in compose when user cannot send messages ( #5922 )
...
* ui: label in compose when user cannot send messages
* gray buttons when user cannot send messages
* improve
* kotlin
* fix order
* fix alert
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2025-05-19 14:50:33 +00:00
spaced4ndy
fa81df24ee
core, ui: allow files and links in support scope ( #5925 )
2025-05-19 11:31:10 +00:00
spaced4ndy
b32c052f13
ios: reports fixes - don't create in main chat, show notice "view in chat with admins" ( #5911 )
2025-05-15 13:59:12 +00:00
spaced4ndy
b97e1e0f11
ui: show new messages from support scope in main chat preview when invitee is pending ( #5909 )
2025-05-14 15:14:34 +00:00
spaced4ndy
e9414d713e
Merge branch 'master' into group-knocking
2025-05-13 13:05:48 +04:00
Evgeny
e1aa32952e
ios: unblur media on tap, open/play on the second tap; handle link preview errors ( #5886 )
...
* ios: unblur media on tap, open/play on the second tap (Xcode 16 regression)
* disable link preview spinner on link loading error
2025-05-11 15:42:09 +01:00
Evgeny
8d54acef92
ios: only handle taps on messages with links or secrets, use image for secret markdown ( #5885 )
...
* ios: use image for secret markdown
* remove unnecessary ViewBuilders
2025-05-11 14:15:14 +01:00
Evgeny
4b42a19ccb
ios: fix XCode 16 regressions (tap not working on files, quotes, images, voice messages, etc.), open link previews on tap ( #5880 )
...
* ios: fix XCode 16 regressions (tap not working on files, quotes, images, voice messages, etc.), open link previews on tap
* fix voice recording
* fix video, accepting calls from chat, preference toggles in chat
* WIP message and meta
* handle links in attributed strings
* custom attribute for links to prevent race conditions with default tap handler
2025-05-10 14:37:45 +01:00
spaced4ndy
79991e84c9
core: member requires attention counter ( #5881 )
2025-05-09 15:36:06 +00:00
spaced4ndy
1ba863bedc
ios: close support chat when accepting/removing pending member
2025-05-07 12:38:24 +04:00
spaced4ndy
32fb5a5d12
ios: knocking ui ( #5851 )
...
* ios: knocking ui types
* update types
* member admission
* remove chatItemStatuses
* member support view
* member support chat view wip
* ios: secondary ItemsModel (#5862 )
* toolbar
* more chats
* remove theme
* preview icon
* chat toolbar fast markers
* change icon
* change icon
* remove/accept buttons
* item style
* get item ItemsModel in chat model methods (chat view doesn't work dynamically)
* fix support chat
* fix other chats
* refresh on exit
* refresh button
* dynamic marker in chat list
* prohibit multi select actions
* prohibited send field
2025-05-04 22:27:20 +01:00
Stanislav Dmitrenko
fefddb3b5a
ios: go to forwarded item or search result ( #5679 )
...
* ios: go to forwarded item or search result
* react on touch
* changes
2025-02-28 14:45:24 +00:00
Stanislav Dmitrenko
bf37c0762e
ios: fix height of compose view field when having a draft ( #5655 )
...
* ios: fix height of compose view field when having a draft
* changes
* simplified layout
* changes
* button size 29 -> 31
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2025-02-22 12:15:33 +00:00
Stanislav Dmitrenko
676583d3c3
ios: enhancements to floating buttons ( #5644 )
...
* ios: enhancements to floating buttons
* nearBottom
* timeout
* changes
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2025-02-20 10:39:04 +00:00
Stanislav Dmitrenko
dc980ae88f
ios: loading progress moved to chat list ( #5639 )
...
* ios: loading progress moved to chat list
* place
* changes
* large spinner, smaller timeout
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2025-02-19 16:13:20 +00:00
Diogo
517679e2df
ios: group member mentions ( #5593 )
...
* api types
* display for mentions and replys
* picking of mentions
* notifications (wip)
* auto tagging
* show selected mention
* Divider and list bg
* stop keyboard dismiss on scroll from ios 16
* change notification mode in all views
* icon for mentions notification mode
* make unread states work in memory and chat preview
* preview fixes
* fix unread status when mark read manually
* update library
* fixed padding
* fix layout
* use memberName
* remove ChatNtfs, show mentions in context items and in drafts, make mentions a map in ComposeState
* rework mentions (WIP)
* better
* show mention name containing @ in quotes
* editing mentions
* editing
* mentionColor
* opacity
* refactor mention counter
* fix unread layout
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2025-02-03 20:47:32 +00:00
Diogo
7e344b3ee8
ios: reports inline ( #5466 )
...
* initial types
* changes types
* decode
* possible mock for inline report
* remove avatar
* diff
* updates
* parser and display message
* send messages and support placeholder
* profile reports and all reports working
* new api
* check member support for receiving reports
* report chat item text
* moderator role
* placeholder on text compose for report
* rename method
* remove need to have reported item in memory to action
* archived reports
* changes/fix
* fix block member
* delete and moderate
* archive
* report reason
* context menu/moderation fixes
* typo
* not needed
* report reason as caption, and change text
* remove auto archive
* move placeholder to match text
* prefix red italic report
* archive
* apply mark deleted fix
* Revert "apply mark deleted fix"
This reverts commit b12f14c0f5 .
* remove extra space
* context menu rework
* strings, icons
* recheck items extra check on reports
* simplify
* simpler
* reports: never show for own messages, disable attachments, hide when recording or live
* style, allow local deletion
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2025-01-08 18:28:45 +00:00
Evgeny
ba7abcf6f7
ios: update onboarding texts ( #5255 )
...
* ios: update onboarding texts
* translations
* more translations
* more translations 2
2024-11-27 19:01:16 +00:00
Arturs Krumins
7cde2cf6c2
ios: optimise ComposeView rendering ( #5042 )
...
* ios: replace revealed bindings with constant value
* ios: optimise ComposeView rendering
* rename
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-10-18 12:35:27 +01:00
Arturs Krumins
f0d6f15393
ios: prevent image encoding from blocking the UI ( #4966 )
...
* ios: prevent image encoding from blocking the UI
* let
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-10-05 20:11:57 +01:00
Arturs Krumins
255538e5d7
ios: bulk forward ( #4857 )
...
* ios: forward multiple messages
* ios: batch previews, when sending media messsages (#4861 )
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
Co-authored-by: Arturs Krumins <auth@levitatingpineapple.com >
Co-authored-by: Diogo <diogofncunha@gmail.com >
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-09-19 08:04:19 +01:00
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