Commit Graph

3575 Commits

Author SHA1 Message Date
spaced4ndy ca3ba1c121 add tests 2023-12-21 14:45:33 +04:00
spaced4ndy be6d9306de batcher tests 2023-12-21 14:43:09 +04:00
spaced4ndy e9868390ce remove type 2023-12-21 11:39:44 +04:00
spaced4ndy 106916fd29 EncodedChatMessage type 2023-12-21 11:39:20 +04:00
spaced4ndy 2944c1cc28 dont repopulate msg_deliveries on down migration 2023-12-20 23:09:03 +04:00
spaced4ndy 4723849d22 refactor 2023-12-20 22:42:12 +04:00
spaced4ndy 14184971f7 refactor batcher 2023-12-20 22:33:03 +04:00
spaced4ndy 396b4d2b2c possibly fix builder for single msg 2023-12-20 22:15:37 +04:00
spaced4ndy c350aa0ae4 comment 2023-12-20 22:07:44 +04:00
spaced4ndy 2feb849fe4 reverse batches 2023-12-20 22:01:39 +04:00
spaced4ndy 5819dada32 refactor 2023-12-20 21:17:02 +04:00
spaced4ndy b2e46554fe use withStoreBatch 2023-12-20 21:03:27 +04:00
spaced4ndy d8d52c8504 lazy msg body 2023-12-20 20:43:05 +04:00
spaced4ndy a832e217a7 rework batching 2023-12-20 20:15:16 +04:00
spaced4ndy cadce7488f rename 2023-12-20 19:41:44 +04:00
spaced4ndy ed59dcea82 rename 2023-12-20 19:39:14 +04:00
spaced4ndy 8fb6bec762 use builder 2023-12-20 19:36:19 +04:00
spaced4ndy b50e772688 fix - don't check msg size for binary 2023-12-20 19:12:37 +04:00
spaced4ndy d2b6494b19 check size in encodeChatMessage 2023-12-20 18:59:18 +04:00
spaced4ndy fe20975b06 comment 2023-12-20 16:07:03 +04:00
spaced4ndy a108c7ba7f check number of errors 2023-12-20 15:43:24 +04:00
spaced4ndy e70cc80e58 fix disappearing messages 2023-12-20 15:37:44 +04:00
spaced4ndy 245bd62877 tests 2023-12-20 15:23:14 +04:00
spaced4ndy c6f1368160 correctly set member version range, dont include deleted items 2023-12-20 14:03:37 +04:00
spaced4ndy 8018168f73 Merge branch 'master' into f/batch-send 2023-12-20 11:17:33 +04: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
spaced4ndy 41fd643eb9 refactor, tests 2023-12-19 20:35:54 +04:00
spaced4ndy 194241dcc0 rework to build history via chat items 2023-12-19 18:27:01 +04: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
Stanislav Dmitrenko 5e042d222e desktop: saving qr code as an image (#3572) 2023-12-19 10:24:13 +00:00
Stanislav Dmitrenko 26a189917b sctipt: check string formatting (#3570)
* sctipt: check string formatting

* all
2023-12-18 21:37:10 +00:00
spaced4ndy ce9218b186 ios: rework authentication (#3556) 2023-12-18 22:04:49 +04:00
spaced4ndy 242ccde5a1 test 2023-12-18 19:29:51 +04:00
spaced4ndy 736229a97d Merge branch 'master' into f/batch-send 2023-12-18 18:43:34 +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
Evgeny Poberezkin 6fa0001ea7 ios: delay suspendChat in NSE, background schedule depends on notifications mode (#3561)
* ios: delay suspendChat in NSE

* different background refresh interval depending on the settings

* simplify

* comment

* reduce NSE suspend interval

* space
2023-12-18 10:36:25 +00:00
Stanislav Dmitrenko 974fa448b4 android, desktop: some alerts became privacy sensitive (#3554)
* android, desktop: some alerts became privacy sensitive

* changes
2023-12-14 13:11:19 +00:00
spaced4ndy 8cec5428ee core: save CIContent tag in chat_items table (#3555) 2023-12-14 17:08:40 +04:00
Evgeny Poberezkin 73130bf321 ios: update core library 2023-12-13 21:48:25 +00:00
spaced4ndy d341795a18 rename 2023-12-13 22:00:45 +04:00
spaced4ndy 73f75d3930 missing new line 2023-12-13 21:45:28 +04:00
spaced4ndy e714f4037a collect and send message history 2023-12-13 21:44:29 +04:00
spaced4ndy a55bb679c8 Merge branch 'master' into f/batch-send 2023-12-13 17:25:00 +04:00
spaced4ndy 67241ff65c ios: fix code scanners only attempting to scan once (#3548) 2023-12-13 16:13:05 +04:00
spaced4ndy b6b041490f core: improve chat list pagination performance, simplify logic by always reading chat stats and last item id for previews (#3541)
* core: improve chat list pagination performance

* fix query

* core: improve chat list pagination performance, simplify logic by always reading chat stats (#3543)

* microseconds

* fix

* update simplexmq

* simplify queries

---------

Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2023-12-13 15:32:23 +04:00
Evgeny Poberezkin 7f9f9a674c ios: fix member view freezing on iOS 15, closes #3487 (#3547) 2023-12-13 11:27:28 +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
Evgeny Poberezkin 7ec39d1ffa all: increase default TCP timeouts, update simplexmq (#3540) 2023-12-12 13:13:36 +00:00
spaced4ndy 8f9ef383c6 wip 2023-12-12 15:21:49 +04:00
spaced4ndy ad7a554583 batch introductions 2023-12-12 14:49:41 +04:00