IC Rainbow
4eebb4e746
Merge remote-tracking branch 'origin/master' into ab/self-chat
2024-01-02 14:56:50 +02:00
IC Rainbow
d49a7ff784
use - as notes name
2024-01-02 14:55:33 +02:00
spaced4ndy
478bb32cdb
core: send group description to new members as welcome message after sending history (fixes welcome message being created before history) ( #3623 )
2023-12-29 22:42:55 +04:00
spaced4ndy
05b55d3fb5
ui: group history preference, enable in new groups by default; core: create group history feature items ( #3596 )
...
* Revert "core: do not create group history item (#3586 )"
This reverts commit 2834b192ce .
* ios: group history preference
* fix tests
* android
* texts
* enable in new groups ios
* enable in new groups android
* android texts
* ios texts
* remove ellipsis
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-12-29 17:46:28 +00:00
IC Rainbow
e84e47fd34
add per-item file deletion check
2023-12-29 18:19:30 +02:00
IC Rainbow
aff819a0ee
add preview pagination test
2023-12-29 15:22:38 +02:00
IC Rainbow
79c2e83fd0
add file deletion check
2023-12-29 14:16:23 +02:00
IC Rainbow
dc8895c50c
remove folder names, deletion, add autocreate
2023-12-28 22:01:35 +02:00
IC Rainbow
94fb992b4c
remove local reactions
2023-12-28 20:29:18 +02:00
IC Rainbow
009772bdf8
resolve some comments
2023-12-28 20:12:32 +02:00
IC Rainbow
8748d19c12
Merge remote-tracking branch 'origin/master' into ab/self-chat
2023-12-27 19:12:02 +02:00
IC Rainbow
3907886991
add note updates
2023-12-26 16:28:36 +02:00
IC Rainbow
d0429f51c4
add read/unread
2023-12-26 15:17:41 +02:00
IC Rainbow
6033b21537
add reactions
2023-12-26 14:19:13 +02:00
IC Rainbow
1c5eaf94ac
add folder clear
2023-12-26 12:33:17 +02:00
IC Rainbow
982f380971
add chat previews
2023-12-25 20:14:01 +02:00
IC Rainbow
d28f02c383
replace FTLocal with createLocalFile
2023-12-25 18:55:53 +02:00
spaced4ndy
37d033c7a5
core: test group members connect in group when they were previously connected as contacts ( #3595 )
2023-12-25 11:03:02 +04:00
IC Rainbow
5202349f6c
Merge remote-tracking branch 'origin/master' into ab/self-chat
2023-12-24 20:18:45 +02:00
IC Rainbow
aeab81e09d
add APICreateChatItem and files
2023-12-24 19:59:38 +02:00
spaced4ndy
5798efcf71
code: modify test
2023-12-24 20:55:03 +04:00
spaced4ndy
e086719f27
core: add to tests
2023-12-24 20:44:30 +04:00
spaced4ndy
bb4293eb5e
fix tests
2023-12-24 20:23:09 +04:00
Evgeny Poberezkin
c3c66182f2
Merge branch 'stable'
2023-12-24 14:20:58 +00:00
Evgeny Poberezkin
5b90d92ca2
core: add group tests
2023-12-24 14:20:07 +00:00
Evgeny Poberezkin
af22348bf8
core: use version from config, add tests ( #3588 )
...
* core: use version from config, add tests
* comment
* refactor
2023-12-24 13:27:51 +00:00
Evgeny Poberezkin
2834b192ce
core: do not create group history item ( #3586 )
...
* core: do not create group history item
* fix tests
2023-12-23 19:56:01 +00:00
spaced4ndy
12d1ada25e
core: support batch sending in groups, batch introductions; send recent message history to new members ( #3519 )
...
* core: batch send stubs, comments
* multiple events in ChatMessage and supporting types
* Revert "multiple events in ChatMessage and supporting types"
This reverts commit 9b239b26ba .
* schema, refactor group processing for batched messages
* encoding, refactor processing
* refactor code to work with updated schema
* encoding, remove instances
* wip
* implement batching
* batch introductions
* wip
* collect and send message history
* missing new line
* rename
* test
* rework to build history via chat items
* refactor, tests
* correctly set member version range, dont include deleted items
* tests
* fix disappearing messages
* check number of errors
* comment
* check size in encodeChatMessage
* fix - don't check msg size for binary
* use builder
* rename
* rename
* rework batching
* lazy msg body
* use withStoreBatch
* refactor
* reverse batches
* comment
* possibly fix builder for single msg
* refactor batcher
* refactor
* dont repopulate msg_deliveries on down migration
* EncodedChatMessage type
* remove type
* batcher tests
* add tests
* group history preference
* test group link
* fix tests
* fix for random update
* add test testImageFitsSingleBatch
* refactor
* rename function
* refactor
* mconcat
* rename feature
* catch error on each batch
* refactor file inv retrieval
* refactor gathering item forward events
* refactor message batching
* unite migrations
* move files
* refactor
* Revert "unite migrations"
This reverts commit 0be7a3117a .
* refactor splitFileDescr
* improve tests
* Revert "dont repopulate msg_deliveries on down migration"
This reverts commit 2944c1cc28 .
* fix down migration
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-12-23 13:07:23 +00:00
IC Rainbow
c18dab7bd4
add folder deletion
2023-12-22 21:50:21 +02:00
IC Rainbow
abc96972dc
add note deletion (api-only)
2023-12-22 19:54:13 +02:00
IC Rainbow
de697beff1
working create/send/tail
2023-12-21 22:58:54 +02:00
IC Rainbow
21b754d23f
cover more API, implement new folders
2023-12-21 18:32:19 +02:00
IC Rainbow
758a9f227b
plug in migrations and tests
2023-12-21 15:52:50 +02:00
Evgeny Poberezkin
7bcda7e54b
core: use ChaChaDRG as the source of randomness ( #3551 )
...
* core: use ChaChaDRG as the source of randomness
* do not use entropy directly
* dont use RNG from agent
* simplexmq
* update iOS
2023-12-21 00:42:40 +00:00
IC Rainbow
cbe134ef71
cover more things
2023-12-19 21:46:41 +02:00
Evgeny Poberezkin
7b073ba9f8
core: allow deleting last user ( #3567 )
...
* core: allow deleting last user (tests fail)
* tests, allow activating the hidden user when there is no active user
* hide logs
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
* comment
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
* comment
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2023-12-19 10:26:01 +00:00
Alexander Bondarenko
35c1975d66
core: chat list pagination ( #3505 )
...
* add pagination args to APIGetChats
* add search to chat list API
* rename arg to paginationTs_ to match type
* lift another condition to ids query
* collect all chat refs before sorting, then get details
* split remaining preview functions
* roll back to collecting ids first with query cleanup
* add connection join back to filter out groups
* extract and expand tests
* add fav/unread args
* WIP
* lay out the queries with favs
* tweak tests
* add fav tests
* fix order by in the before case
* build query footer wholly from pagination
* add migration for direct contacts
* fix setting contact_used
* fix setting contact_used for group link contacts
* align search x filters space with UI, support filter by either favorite or unread, optimize queries, indexes
* always set chat_ts, fix tests
* refactor tests
* fix pagination logic, more tests
* refactor, rename
* increase default pagination count
* comments
* refactor
* comment
* report errors
* refactor
* remove unused type
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2023-12-11 17:50:32 +04:00
Evgeny Poberezkin
f65b8a9e78
core: mark all user messages read ( #3530 )
2023-12-11 12:26:45 +00:00
Evgeny Poberezkin
d29f1bb0cf
core: use fourmolu styles ( #3470 )
2023-11-26 18:16:37 +00:00
spaced4ndy
a8576c2340
core: test forwarded message deduplication, mute terminal error ( #3414 )
2023-11-21 19:25:50 +04:00
Evgeny Poberezkin
970ca3a409
Merge branch 'master' into remote-desktop
2023-11-20 10:35:20 +00:00
spaced4ndy
85e44dcb77
core: split group message forwarding tests ( #3400 )
2023-11-20 13:05:59 +04:00
Evgeny Poberezkin
cc434cda55
Merge branch 'master' into remote-desktop
2023-11-18 18:03:13 +00:00
spaced4ndy
c0e8740f50
core: group message forwarding ( #3360 )
...
* core: group message forwarding types
* xgrpmemcon
* rework xgrpmemcon to use intros table
* only forward w/t error
* forward msg
* xGrpMsgForward, check integrity outside
* deduplicate group messages
* test
* change error
* item forwarded flag
* intro_chat_protocol_version, bump version
* comment
* highly available client option
* more comments
* notify xgrpmemcon on deduplication
* member vrange
* encoding
* remove MsgForward
* remove import
* exclude files from forwarding
* refactor
* rename to align with protocol
* forward more message types
* add events
* remove unused error, function
* add x.file.cancel, x.info and x.grp.mem.new to forwarded messages
* remove unused x.msg.file.cancel
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-11-18 17:52:01 +00:00
Alexander Bondarenko
227007c8f6
add /switch remote host ( #3342 )
...
* Add SwitchRemoteHost
* Add message test
* Match remote prefix and the rest of the line
* Move prefix match to utils
2023-11-10 17:49:23 +00:00
Evgeny Poberezkin
3839267f88
Merge branch 'master' into remote-desktop
2023-11-08 13:10:42 +00:00
spaced4ndy
8722d35278
core: fix deletion of contact without connections ( #3327 )
2023-11-08 13:15:08 +04:00
spaced4ndy
a04dc5d05b
core: preset simplex contact ( #3321 )
2023-11-07 17:45:59 +04:00
Evgeny Poberezkin
b2f9270452
Merge branch 'master' into remote-desktop
2023-11-01 18:05:51 +00:00
spaced4ndy
07173f7b2f
core: add delays to testXFTPMarkToReceive test ( #3294 )
2023-10-31 10:51:20 +04:00