spaced4ndy
fc98558a37
core: refactor connectViaContact ( #6034 )
...
* core: refactor connectViaContact
* true, comment
* optimize connectViaContact for prepared entities
* refactor Connection
* refactor pcc
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2025-07-04 09:47:40 +00: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
d8636953d3
core: connection plans for short links recognize prepared contacts/groups ( #6019 )
...
* core: connection plans for short links recognize prepared contacts/groups
* query plans
2025-06-30 16:12:07 +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
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
05dba0bda2
core: compress link data ( #5995 )
2025-06-18 07:39:31 +01:00
spaced4ndy
94d866e2c0
core: fix connecting to prepared group incognito; test connecting to prepared contact incognito ( #5994 )
2025-06-17 14:20:47 +00:00
Evgeny
e3e9ae2ffd
core, ui: create all links with short links, config parameter to use large link data, use short link as address in user profile ( #5991 )
...
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2025-06-17 15:56:33 +04:00
spaced4ndy
c08a3e7c4a
Merge branch 'master' into short-links
2025-06-17 10:57:11 +04:00
Evgeny Poberezkin
8f9bb4dc5b
Merge branch 'stable'
2025-06-16 22:38:43 +01:00
spaced4ndy
3d22b738d8
core: fix change connection user ( #5992 )
...
* core: fix change connection user
* plans
2025-06-16 22:38:02 +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
b0ee13628b
core: change user for prepared contact or group ( #5985 )
2025-06-13 14:38:17 +00:00
spaced4ndy
29e06d7878
Merge branch 'master' into short-links
2025-06-11 20:31:54 +04:00
spaced4ndy
d293104ce2
core: update short link data ( #5983 )
2025-06-11 15:53:29 +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
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
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
d126094c2d
Merge branch 'master' into short-links
2025-05-29 14:58:02 +04:00
Evgeny
dfe94b6e28
core: update simplexmq (short links API) ( #5953 )
...
* core: update simplexmq (short links API)
* simplexmq
2025-05-29 10:52:33 +01:00
spaced4ndy
ace7278190
core: short link connection plans wip; short links implementation comments ( #5947 )
2025-05-27 13:00:52 +00:00
Evgeny
ee2ea152dc
core: refactor types for DB entity ( #5945 )
2025-05-24 21:13:10 +01:00
spaced4ndy
b2bc4d6a5c
core: fix short link type when adding for group link ( #5942 )
...
* core: fix short link type when adding for group link
* shorten, rename
* update setContactShortLink
* update
* fix
* plans
* simplexmq
* ui: show error when setting short link
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2025-05-24 14:34:03 +01:00
spaced4ndy
6acd239339
core: allow to add short link to existing contact link ( #5940 )
2025-05-23 13:16:12 +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
spaced4ndy
1a80ecfc29
core, ui: allow to delete member support chat; rename reject action ( #5927 )
2025-05-20 09:07:44 +00:00
spaced4ndy
fa81df24ee
core, ui: allow files and links in support scope ( #5925 )
2025-05-19 11:31:10 +00:00
Evgeny
a2577c3df3
core: support observers send messages to admins, CLI commands ( #5921 )
...
* core: allow observers send messages to admins
* improve parser, CLI command to approve members
2025-05-19 11:14:43 +01:00
spaced4ndy
98f35a38e8
core: fix member introduction when inviting admin accepts member; fix order of items for accepted member ( #5924 )
2025-05-19 09:08:28 +00:00
spaced4ndy
041807c870
core: decrease membersRequireAttention counter when member is deleted or leaves ( #5919 )
2025-05-16 15:03:15 +00:00
spaced4ndy
a8da7c1c44
ios: fix auto-closing support chat for invitee when accepted; core: add accepted item to main scope ( #5916 )
2025-05-15 16:05:18 +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
d3bc22726a
core: fix group being displayed as connecting after join ( #5908 )
2025-05-14 11:25:24 +00:00
spaced4ndy
db1ffb2cf2
core: create "accepted by you" item for moderator ( #5901 )
2025-05-13 12:35:54 +00:00
spaced4ndy
671dc2537d
core: accepted message to older clients ( #5897 )
2025-05-12 16:50:30 +00:00
spaced4ndy
1f8609a31f
core: make member admission forwards compatible ( #5893 )
...
* core: make member admission forwards compatible
* cabal file
* schema
* plans
* inserts
* plans
2025-05-12 16:57:20 +01:00
spaced4ndy
9190c2a772
core: reset unanswered counter for support chats with members only if moderator message is newer ( #5889 )
2025-05-12 12:19:20 +00:00
spaced4ndy
79991e84c9
core: member requires attention counter ( #5881 )
2025-05-09 15:36:06 +00:00
spaced4ndy
79dadabf61
Merge branch 'master' into group-knocking
2025-05-07 13:48:55 +04:00
Evgeny
05de019ecd
ios: deliver notifications instantly when server has no more messages and better concurrency ( #5872 )
...
* core: return error and message absence when getting notifications
* ios: do not wait for notification messages when server says "no"
* do not postpone some notification events, comments
* refactor
* simplexmq (mapM)
* simplexmq (release lock)
* ios: inline, more aggressive GHC RTC settings for garbage collection
* simplexmq
* corrections
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
* refactor ntf delivery
* ios: 6.3.4 (build 274)
* simplexmq (fix updating last ts)
* improve notification for multiple messages
* simplexmq
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2025-05-07 07:33:00 +01:00
Evgeny Poberezkin
c3bb1e660d
Merge branch 'master' into group-knocking
2025-05-05 12:53:05 +01:00
Evgeny
24b0f0290b
core: pass event and response error without dedicated constructor ( #5869 )
...
* core: pass event and response error without dedicated constructor
* ios: WIP
* android, desktop: update UI for new API
* ios: fix parser
* fix showing invalid chats
* fix mobile api tests
* ios: split ChatResponse to 3 enums, decode API results on the same thread
* tweak types
* remove throws
* rename
2025-05-05 11:51:22 +01:00