Evgeny
628b00eb08
core: channel messages ( #6604 )
...
* core: channel messages (WIP)
* do not include member ID when quoting channel messages
* query plans
* reduce duplication
* refactor
* refactor plan
* refactor 2
* all tests
* remove plan
* refactor 3
* refactor 4
* refactor 5
* refactor 6
* plans
* plans to imrove test coverage and fix bugs
* update plan
* update plan
* bug fixes (wip)
* new plan
* fixes wip
* more tests
* comment, fix lint
* restore comment
* restore comments
* rename param
* move type
* simplify
* comment
* fix stale state
* refactor
* less diff
* simplify
* less diff
* refactor
---------
Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com >
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2026-02-12 07:11:59 +00:00
Evgeny Poberezkin
e29712c2e8
Merge branch 'master' into chat-relays
2026-01-29 19:51:22 +00:00
Evgeny Poberezkin
14d5819ade
Merge branch 'stable'
2026-01-28 23:38:54 +00:00
Evgeny
a786693c1a
core: improve error handling ( #6602 )
...
* core: improve error handling
* simplexmq
2026-01-28 21:57:39 +00:00
Evgeny
7d5768cf3a
core: prepare group link before creating the group ( #6600 )
...
* core: prepare group link before creating the group
* update group creation flow
* refactor
* comments
* update plan, schema, api docs/types
* store shared group ID and keys when joining relay groups
* query plans, api docs
2026-01-27 17:56:31 +00:00
Evgeny Poberezkin
93c45879c9
Merge branch 'master' into chat-relays
2026-01-23 21:51:49 +00:00
Evgeny
5453d8875c
core: filter all messages with links in text when link content filter is used ( #6591 )
...
* core: change msg_content_tag stored as blob to text
* track if items have links and use has_link when searching for links (MCLink_ MsgContentTag is passed)
* fix test (broken in master)
* merge migrations, update api and schema
* minor fixes
* tests
* update plans
* update migrations
2026-01-23 12:31:42 +00:00
spaced4ndy
bd8ba4d5c6
core: chat relays protocol ( #6383 )
...
* core: chat relays protocol wip
* types, notes
* remove file
* removal protocol
* schema
* status
* update
* recovery
* update
* formatting
* rename
* more types
* comment
* more docs
* decrease number of steps
* format
* correct
* update
* update protocol
* update
* typo
* todo
* update doc
* update
* update
* remove added
* update
* update
* XGrpRelayReady
* link to chat relays
* update
* remove from protocol
* update
* json
* wip
* remove comment
* wip
* update
* wip
* wip
* update
* wip
* wip
* plans
* better view
* fix
* fix
* relay acceptance
* rework api
* add relays to link
* comment
* active on con, fix send
* comments
* direct in group plan
* prepare
* member connection wip
* comments
* member connection wip
* fix forwarding
* introduce moderators to new member
* enable relay tests
* plans
* security objectives
* refactor
* add to threat model
* stress test wip
* stress test wip
* Revert "stress test wip"
This reverts commit acde8a1fb3 .
* Revert "stress test wip"
This reverts commit 6435808438 .
* remove stress test
* improve output
* invert relay fkey
* postgres schema
* comments
* group in progress, remove auto-select relays commented code
* comments
* corrections
* comment
* lint
* redundant import
* core: chat relay request worker (#6509 )
* update plans
* strict tables
* core: update group link asynchronously with relay link (#6548 )
* update simplexmq
* docs: connection to chat relays rfc (#6554 )
* add test for 2 relays (doesn't pass)
* create unknown member in same transaction as checking
* fix relays choosing different memberId (XContactRelay)
* plans, api
* use same incognito profile for relays, connect concurrently, save correct link for plan
* test
* don't duplicate items on group connection
* check relay record exists when joining
* use mapConcurrently when adding relays, update schemas
* fix multi-relay join for postgres (savepoint)
* core: async retry connection to chat relays (#6584 )
* update simplexmq
* fix api tests
* prefer throwing temp error on connection
* check group relays when deleting from configuration
* relay_request_err_reason
* relay role
* rename, fix syntax
* plans
* rename, style
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2026-01-21 13:19:06 +00:00
spaced4ndy
46629a1c03
Merge branch 'master' into chat-relays
2026-01-09 15:04:53 +04:00
Evgeny
3596c37275
core: improve database concurrency ( #6541 )
...
* core: improve database concurrency
* tests: prints on timeouts (#6546 )
* update simplexmq
* fix test
* update simplexmq
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2026-01-08 13:43:37 +00:00
spaced4ndy
d29fd2dfa6
Merge branch 'master' into chat-relays
2026-01-05 11:31:15 +04:00
spaced4ndy
fe4ff8993d
core: finalize introductions -> member relations vector stage 2 migration (drop introductions) ( #6490 )
...
* core: finalize introductions -> member relations vector stage 2 migration (drop introductions)
* remove comment
* skip down migration check
* fix
* plans
* postgres schema
* skip down migration comparison
* do not drop group_member_intros table, rename migrations
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2025-12-26 13:29:48 +00:00
spaced4ndy
ae0dec480d
Merge branch 'master' into chat-relays
2025-12-12 14:04:31 +04:00
spaced4ndy
caef012003
core: fix support chat deletion ( #6271 )
2025-12-11 17:29:31 +00:00
spaced4ndy
f76e994034
core: forward based on relations vector ( #6464 )
...
* core: forward based on relations vector wip
* fix introductions
* fix forwarding tests
* fix forwarding inside support scope
* fix deduplication test
* fix more tests
* plans, api
* live migration wip
* enable tests
* member locks
* api
* plans
* fix for postgres
* fix for postgres
* rename predicate
* rename predicate
* optimize
* refactor
* fix
* check
* move part of migration to sql
* plans
* core: preserve detailed information in relation vectors (#6484 )
* core: relations vector live migrations; stage 2 migration sql (#6472 )
* rework forwarding in support scope
* move operations inside transactions
* set_member_vector_new_relation function
* read vector ad-hoc
* partition in transaction
* fix postgres
* postgres schema
* api
* plans
* remove comment
* lock before migration computation
* refactor
* simplify set relations
* retreive only support scope members
* fix
* refactor
* fix comment
* enable tests
* 1 second
* for update
* locks
* fix mask
* plans
* fix
* postgres
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2025-12-09 14:48:32 +00:00
spaced4ndy
a5c6ea8e5d
core: member relations vector migration; set index in group for members; rework logic for avoiding duplicate introductions ( #6445 )
2025-11-19 15:25:09 +00:00
spaced4ndy
27938db582
Merge branch 'master' into chat-relays
2025-11-05 12:12:50 +04:00
spaced4ndy
850e4687f8
core: update simplexmq (support setting all link data fields) ( #6425 )
2025-11-05 08:11:26 +00:00
spaced4ndy
f79f679065
core: change relay link type ( #6411 )
2025-10-27 14:24:53 +00:00
Evgeny
f21ef8f55d
core: send updated profile to group when bio changes ( #6352 )
...
* core: send updated profile to group when bio changes
* redact short links from descriptions where group preferences prohibit them
2025-10-10 17:29:12 +01:00
Evgeny
e291a71ef3
core: do not add entities to batched agent errors ( #6351 )
2025-10-10 13:54:19 +01:00
spaced4ndy
8497d4ff48
core: update group short link data on receiving x.grp.info ( #6328 )
2025-10-03 11:05:30 +00:00
spaced4ndy
17a0c1b53d
core: delivery in channels ( #6278 )
...
* core: channels delivery (#6274 )
* core: optimize member retrieval query for postgres (#6280 )
* core: optimize reading only relays for sending in channels (#6282 )
* fixes
* plans
2025-10-01 15:53:27 +00:00
spaced4ndy
c782e6762b
feature branch: optimize subscriptions ( #6297 )
...
* core: remove contact merge, obsolete group code (#6292 )
* core: remove file connections (#6298 )
* core: rename migration
* corre: remove unused contacts merged event (#6308 )
* core: optimize subscriptions (#6304 )
* core: remove conn ids map from subscriptions (#6309 )
* rename migration (#6316 )
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2025-09-28 21:31:59 +01:00
spaced4ndy
382241fe3e
core: rework synchronous group forwarding in receive loop into asynchronous delivery tasks ( #6178 )
2025-09-12 13:22:34 +00:00
Evgeny
f6c699f3a5
core: update simplexmq (error handling) ( #6231 )
...
* core: update simplexmq (error handling)
* update simplexmq
2025-08-29 10:05:20 +01:00
spaced4ndy
0d22280358
core: forward member name; ui: don't show "Member" label if unknown member was created with name ( #6211 )
2025-08-22 09:53:21 +00:00
spaced4ndy
0046fc27fe
core: fix member version range not being correctly updated in some cases (fixes introducing owner to member in review, when host admin was invited via owner's link; likely fixes other interactions that check version) ( #6208 )
...
* core: fix introducing owner to member in review
* fix
* remove diff
* unfocus
* plans
2025-08-20 12:00:11 +01:00
Evgeny
4811d663e6
rfc: bot messages and buttons, core: command markdown, supported commands in profile preferences, chat sessions preference, peer type field in profile to identify bots ( #5360 )
...
* rfc: bot messages and buttons
* update
* update bot rfc
* core: add bot commands to chat preferences and peer type to profile
* update postgresql schema
* update query plans
* chat sessions preference
* markdown for bot commands
* schema
* core: file preference, options to create bot from CLI
* core: different command type
* ios: commands menu
* update types
* update ios
* improve command markdown
* core, ios: update types
* android, desktop: clickable commands in messages in chats with bots
* android, desktop: commands menu
* command menu button, bot icon
* ios: connect flow for bots
* android, desktop: connect flow for bots
* icon
* CLI commands to view and set commands, remove "hidden" property of command, bot api docs
* corrections
* fix inheriting profile preferences to business groups
* note on business address
* ios: export localizations
* fix test
* commands to set file preference on user/contact, tidy up layout and display of command and attachment buttons
2025-08-07 11:13:35 +01:00
spaced4ndy
f42a6751b1
core: allow to manually accept member contact requests ( #6129 )
...
* core: allow to manually accept member contact requests
* response
* comment
* comment
* add fields
* fix
* field in request
* compiles
* fix tests
* test
* plans
* fix mobile tests
* fix doc tests
* renames
* group name in event
* fix renames
* tests
* plans
* rename selector
* ios wip
* fix
* ios wip
* move
* fix backend bug, ui
* reject dialogue
* update plans
* kotlin
* delete swipe
* should accept text
* rename
* postgres migration
* ios: pass chat as binding
* rename module
* fix queries
* schema
* update plans, api docs
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2025-08-01 10:18:29 +01:00
spaced4ndy
7b7926a73e
core, ui: allow to choose disappearing messages ttl in user profile ( #6097 )
2025-07-24 14:52:48 +00:00
spaced4ndy
68b7f09c8f
core, ui: chat banner ( #6089 )
...
* core: create banner item
* filter deletions
* fix query
* ios
* fixes
* remove comment
* revert diff
* refactor
* fix most tests
* fix tests
* spacer
* plans
* create banner for 1-time link initiator
* style in progress
* change background
* ui
* remove bio length limit
* ui
* create banner for client chat
* rename
* more contexts
* fix tests
* move
* fixed image size
* plans
* remove diff
* kotlin
* copy
* paddings
* paddings
* comment
* layout, messages
* fonts
* texts, icons
* kotlin refactor
* kotlin texts
* fix date
* Revert "fix date"
This reverts commit abbd48b334 .
* date
* fix texts
* kotlin date
* color and corners
* kotlin
* color
* update banner, context menu in ios
* update texts, do not show epoch timestamp for banner
* fix texts
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2025-07-21 19:07:21 +01:00
Evgeny Poberezkin
362bdc3282
core: update contact cards
2025-07-12 19:46:34 +01:00
Evgeny
a5768e903d
core, ui: short bio/description for contact and group profiles ( #6055 )
...
* core: short bio/description for contact and group profiles
* use short description in commands
* fix tests
* query plans
* ios: show contact and group profile descriptions
* android, desktop: short description/bio
* ui: layout for chat info, correct copy
* comment out fields to add/edit short descriptions
* remove short description from events
* postgres schema
2025-07-11 21:28:10 +01: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
79041390f1
core: allow to accept contact requests after address is deleted ( #6032 )
...
* core: allow to accept contact requests after address is deleted
* update
* update
* plans
* ios, postgres migration
* schema
* request lock, refactor
* update simplexmq
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2025-07-03 10:34:11 +00: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
spaced4ndy
cc643e5aeb
core: rework contact requests so that they are always created with entity ( #6011 )
...
* core: rework contact requests so that they are always created with entity
* remove group requests (revert)
* fix schema
* remove accepted, set xcontactId
* enable tests
* fix deduplication, fix address deletion
* fix business ldn
* disable, add tests
* comments, schema
* cleanup
* fix
* plans
2025-06-26 11:05:23 +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
Evgeny
289b5ffffe
core: fix updating invitation link data, use flexible link data encoding for backward/forward compatibility ( #5988 )
...
* core: fix updating invitation link data
* ghc 8.10.7 type annotation
* update link data encoding to use long strings for user data
* update encoding
* fix test
* update simplexmq
* rename field
* simplexmq
* remove comments
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2025-06-16 12:31:37 +01:00
spaced4ndy
29e06d7878
Merge branch 'master' into short-links
2025-06-11 20:31:54 +04:00
Evgeny Poberezkin
3c2391dc32
core: update simplexmq
2025-06-09 18:26:57 +01:00
spaced4ndy
2bc4836338
core, ios: create contact requests with attached contact ( #5967 )
2025-06-09 16:18:01 +00:00
spaced4ndy
e84016e1b9
core, ui: update group scope unread stats on item deletions; create reports as read (reports use a different attention mechanism) ( #5930 )
2025-05-20 16:18:23 +00:00