spaced4ndy
ebad009553
Merge branch 'master-ghc8107' into master-android
2024-01-22 18:44:55 +04:00
spaced4ndy
35cf113d98
Merge branch 'master' into master-ghc8107
2024-01-22 18:44:13 +04:00
spaced4ndy
1a9e942e33
core: 5.5.0.4
2024-01-22 18:35:47 +04:00
spaced4ndy
afd145c979
core: improve chat list performance (indexes) ( #3728 )
2024-01-22 18:03:40 +04:00
Evgeny Poberezkin
e82d2cbea2
Merge branch 'master-ghc8107' into master-android
2024-01-20 21:36:45 +00:00
Evgeny Poberezkin
a0e056994e
Merge branch 'master' into master-ghc8107
2024-01-20 21:36:23 +00:00
Evgeny Poberezkin
a2b9a04430
core: 5.5.0.3
2024-01-20 21:35:28 +00:00
Evgeny Poberezkin
e4d8ea17fc
Merge branch 'master-ghc8107' into master-android
2024-01-20 15:07:37 +00:00
Evgeny Poberezkin
e69db17804
Merge branch 'master' into master-ghc8107
2024-01-20 15:07:20 +00:00
Evgeny Poberezkin
a9ba0a2e8a
core: 5.5.0.2, update simplexmq 5.5.1.0
2024-01-20 15:02:03 +00:00
spaced4ndy
16f53490c5
core: block member for all ( #3689 )
...
* core: silence member wip
* change approach
* more types
* remove comment
* bool in protocol msg
* flag in items, event
* send event, process
* apply moderation
* remove comment
* filter for forward, view
* tests
* rename
* separate response, check already blocked
* add test
* fix terminal api
* add comment
* don't send profile update
* corrections
* refactor
* rework - flag blocked by admin
* blocked in intro
* fix test
* cant block unblock self
* muted view, create unknown member
* blocked by admin in members list
* create with maybe null
* protocol changes
* align code with protocol
* revert terminal api
* restrict block api for admins
* stabilize test
* rename
* update protocol/types
* refactor
* refactor2
* stabilize test
* member field
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-01-19 17:57:04 +04:00
Evgeny Poberezkin
9282cca396
Merge branch 'master-ghc8107' into master-android
2024-01-17 19:30:14 +00:00
Evgeny Poberezkin
ad2eaeb004
Merge branch 'master' into master-ghc8107
2024-01-17 19:29:49 +00:00
spaced4ndy
f4f8501eb8
core: members profile update, create profile update chat items ( #3644 )
2024-01-15 19:56:11 +04:00
Alexander Bondarenko
bc8a6f4833
core: add notes chat type ( #3568 )
...
* Add chat type "self"
* rename to Notes
* cover more things
* remove quote, tweak sql
* resolve comments
* constrain ACIQDirection to exclude CTLocal
* add CILocalRcv handling
* plug in migrations and tests
* cover more API, implement new folders
* working create/send/tail
* remove interaction with messages
* add note deletion (api-only)
* add folder deletion
* add getLocalChatItemIdByText
* add APICreateChatItem and files
* add protocol check for getFileTransfer protocol
* replace FTLocal with createLocalFile
* add chat previews
* add folder clear
* add reactions
* add read/unread
* add note updates
* resolve some comments
* remove local reactions
* remove folder names, deletion, add autocreate
* add file deletion check
* add preview pagination test
* add per-item file deletion check
* pull mkChatItem out of createLocal to prevent ci record updates
* use - as notes name
* bump migration ts
* update schema
* resolve comments
* add chat pagination test
* use chat queries from Direct instead
* evict note folders from createUserRecord
* switch to - for note folder chat type prefix and use empty name
* fix getLocalChatXxx
* add explicit createCCNoteFolder for tests
* use overloadedstrings for single-line queries
* add suggested chat list tests
* add notes chat to a user-creating test
* throw correct error for missing file
* remove unique check from schema
* add UndecidableInstances for ghc8.10
* switch to * for chat type sigil
* add file safety test
* add drop index
* remove indentation
* remove repeated folder
* remove redundant filter query, NoteFolderName
* don't attempt to cancel local files when deleting chat item
* rename function
* fix comment
* rename
* fix merge
* fix typo
* remove editable limit
* restore comment
* remove local file cancel
* Revert "remove editable limit"
This reverts commit 65df55caf8 .
* refactor
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2024-01-11 17:01:44 +00:00
Evgeny Poberezkin
3f44c9af24
Merge branch 'master-ghc8107' into master-android
2024-01-10 12:09:28 +00:00
Evgeny Poberezkin
4296515473
Merge branch 'master' into master-ghc8107
2024-01-10 12:06:48 +00:00
Evgeny Poberezkin
25a4719414
core: 5.5.0.1
2024-01-10 12:06:29 +00:00
Evgeny Poberezkin
a45897007c
Merge branch 'master-ghc8107' into master-android
2023-12-30 19:32:05 +00:00
Evgeny Poberezkin
42ea1df342
Merge branch 'master' into master-ghc8107
2023-12-30 19:19:39 +00:00
Evgeny Poberezkin
5399212e48
core: 5.5.0.0
2023-12-30 18:59:00 +00:00
Evgeny Poberezkin
47214e33ea
Merge branch 'master-ghc8107' into master-android
2023-12-27 21:02:49 +00:00
Evgeny Poberezkin
e3a69b12ba
core: 5.4.2.1 (simplexmq 5.5.0.2)
2023-12-27 21:00:19 +00:00
Evgeny Poberezkin
0a6e47dd61
Merge branch 'master' into master-ghc8107
2023-12-27 20:57:25 +00:00
Evgeny Poberezkin
ee75219ed3
core: 5.4.2.1 (simplexmq 5.5.0.2)
2023-12-27 20:57:05 +00:00
Evgeny Poberezkin
9530a6055a
Merge branch 'master-ghc8107' into master-android
2023-12-23 15:12:49 +00:00
Evgeny Poberezkin
f5ed8debcc
Merge branch 'master' into master-ghc8107
2023-12-23 15:11:38 +00:00
Evgeny Poberezkin
fa1702a566
5.4.2.0: update .cabal
2023-12-23 14:13:38 +00:00
Evgeny Poberezkin
f7382cdd6f
Merge branch 'master' into master-ghc8107
2023-12-23 13:52:44 +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
Evgeny Poberezkin
dc8d10d068
core: limit process package version to 1.6.17
2023-12-21 10:54:54 +00:00
Evgeny Poberezkin
754c76d6fd
Merge branch 'master' into master-ghc8107
2023-12-21 00:45:10 +00:00
Evgeny Poberezkin
6ba3100d34
core: batch sending messages ( #3566 )
...
* core: batch sending messages
* batch without iorefs (#3573 )
* one-pass
* simplexmq
* simplexmq
* simplexmq
* simplexmq
* revert change to ios project file
* refactor
* simplify
---------
Co-authored-by: Alexander Bondarenko <486682+dpwiz@users.noreply.github.com >
2023-12-20 10:38:39 +04:00
Evgeny Poberezkin
f0338a03d1
directory: better search, allow both simplex:/ and simplex.chat links in description ( #3546 )
...
* directory: new commands
* better search
* search test
* return group links in simplex.chat domain, allow both simplex:/ and simplex.chat links in group description
2023-12-18 10:41:08 +00:00
spaced4ndy
8cec5428ee
core: save CIContent tag in chat_items table ( #3555 )
2023-12-14 17:08:40 +04:00
Evgeny Poberezkin
256f85024f
Merge branch 'master' into master-ghc8107
2023-12-13 12:35:37 +00:00
Evgeny Poberezkin
ae94bb6f87
core: use crypton instead of cryptonite ( #3542 )
...
* update hackage
* use crypton instead of cryptonite
* remove http2 from cabal.project
* simplexmq
2023-12-13 11:20:03 +00:00
spaced4ndy
53560378bb
Merge branch 'master' into master-ghc8107
2023-12-11 17:52:48 +04: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
9f3d3e8ba4
Merge branch 'master' into master-ghc8107
2023-12-07 15:00:23 +00:00
Evgeny Poberezkin
27c14f32f1
core: 5.4.0.7
2023-12-07 14:30:42 +00:00
Evgeny Poberezkin
087acd9180
changes to support GHC 8.10.7 ( #3512 )
...
* Revert "raise lower bound on mtl to a real version (#3499 )"
This reverts commit f94c0311c1 .
* Revert "core: expand ranges to fit ghc 8.10 & 9.6 (#3496 )"
This reverts commit 9a1c7f41f7 .
* update simplexmq
* remove netword-transport fork
* compatibility with GHC 8.10.7
* simplexmq
* fix test
* simplexmq, deps
* update sqlcipher deps in sha256nix
* fix index-state in cabal.project
* index-state
* remove import
* add cabal.project.freeze
* simplexmq
* remove freeze
* simplexmq
* bytestring,simplexmq
* template-haskell, simplexmq
* simplexmq
* simplexmq
* simplexmq
* mtl
* simplexmq
* remove duplicate index-state
2023-12-04 12:29:49 +00:00
Evgeny Poberezkin
0b822e4a5c
Merge branch 'master' into master-ghc8107
2023-12-04 10:07:16 +00:00
Evgeny Poberezkin
3481d379c6
core: compatibility with GHC 8.10.7, narrow dependency ranges ( #3503 )
...
* Revert "raise lower bound on mtl to a real version (#3499 )"
This reverts commit f94c0311c1 .
* Revert "core: expand ranges to fit ghc 8.10 & 9.6 (#3496 )"
This reverts commit 9a1c7f41f7 .
* update simplexmq
* remove netword-transport fork
* simplexmq
* fix test
* fix index-state in cabal.project
* simplexmq
* simplexmq
* bytestring,simplexmq
* template-haskell, simplexmq
* simplexmq
* simplexmq
* mtl
* simplexmq
2023-12-04 10:01:37 +00:00
Evgeny Poberezkin
f8a469488e
Merge branch 'master' into master-ghc8107
2023-12-02 12:30:36 +00:00
Alexander Bondarenko
f94c0311c1
raise lower bound on mtl to a real version ( #3499 )
...
* raise lower bound on mtl to a real version
* simplexmq
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-12-02 12:24:29 +00:00
Evgeny Poberezkin
3b5e806418
Merge branch 'master' into master-ghc8107
2023-12-01 17:46:12 +00:00
Alexander Bondarenko
9a1c7f41f7
core: expand ranges to fit ghc 8.10 & 9.6 ( #3496 )
...
* expand ranges to fit ghc 8.10 & 9.6
* update nix
* use hashes from mq master
* fix more deps
* use network-transport from hackage
2023-12-01 16:52:47 +00:00
spaced4ndy
38533213d2
Merge branch 'master' into master-ghc8107
2023-11-30 20:56:51 +04:00
Alexander Bondarenko
6a21d5c7f1
add remote host bindings ( #3471 )
...
* add remote host bindings
* group iface/address together
* rename migration
* add implementation
* update view and api
* bump upstream
* add schema
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-11-28 16:32:33 +00:00