Diogo
d5eb7b7811
core: api to change user of pending connections ( #4681 )
...
* core: add api that enables change of owner user id for pending connections
* old user sends request, incognito handling and coverage
* call agent inside set connection api
* only set user id if servers match
* simplify
* reduce test noise
* return invitation when a newone is created
* add test for profile on different server
* refactor namings
* update simplexmq
* refactor
* test improvements and simplify
* remove fdescribes
* simplify and reduce vars scope
* put if back
* refactor, change error
* refactor view
* refactor
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
2024-08-21 13:27:58 +04:00
Evgeny
02c404593c
cli: do not log events for hidden user profiles ( #4658 )
...
* cli: do not log events for hidden user profiles
* fix
2024-08-12 08:45:11 +01:00
Evgeny
0a4ff2e35f
core: reduce usage of STM transactions for better performance and memory usage ( #4636 )
...
* core: reduce usage of STM transactions for better performance and memory usage
* simplexmq
* fix test crash
* enable all tests
* simplexmq
2024-08-09 22:30:30 +01:00
Evgeny
7441ed9892
core: choose random servers for the first user profile, use the same servers for other profiles ( #4584 )
...
* core: choose random servers for the first user profile, use the same servers for other profiles
* update ui clients
2024-08-06 16:13:36 +01:00
spaced4ndy
37e275c3ca
core: change simplex contact cards order ( #4593 )
2024-08-06 12:58:05 +04:00
Evgeny Poberezkin
8bda64a5c1
core: api to delete multiple messages ( #4452 )
...
* core: api proposal (not implemeted) to delete multiple messages
* core: batch delete multiple messages; allow to moderate self (#4513 )
* allow to moderate self, remove saving item-message record on mark delete
* direct batched
* local batched
* group batched
* moderate batched
* refactor
* fix
* fix test
* remove unused event
* direct message batching wip
* direct test
* more tests
* trunk
* batch compressed
* remove unused function
* new agent api
* sendGroupMessages
* forward batched
* refactor
* remove comment
* rename, comment
* refactor
* many chat batches test (doesn't pass)
* refactor
* comment
* rename
* comment
* linearize
* fix
* fix
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
* core: check item deletable with margin (#4533 )
* simplexmq
* remove L.singleton (ghc 8.10.7)
* test delay
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
2024-07-30 22:59:47 +01:00
spaced4ndy
ab058d7222
core: add SimpleX-Status preset contact card; create contact cards for each new user ( #4544 )
2024-07-30 20:00:51 +04:00
spaced4ndy
493ad14b39
core: make user db actions high priority, faster chat start with async db operations ( #4531 )
...
* core: move db actions out of synchronous execution on chat start
* revert some
* multiplatform: load chat data before starting chat
* use priority database access
* simplexmq
* fix race in the tests
* check chat is running
* core: allow getting call invitations and notificationn token when chat is stopped
* ios: load chats and refresh call invitations before chat is started
* simplexmq
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2024-07-29 21:52:45 +01:00
spaced4ndy
bfab76ed90
core: allow sending messages immediately on joinConnection, acceptContact ( #4465 )
2024-07-18 20:33:51 +04:00
Evgeny Poberezkin
f12e504828
core: update simplexmq (fast connection handshake) ( #4369 )
...
* core: update simplexmq (fast connection handshake)
* core: update simplexmq (fast connection handshake)
* fix encoding tests
* fix tests
2024-07-04 07:58:13 +01:00
Evgeny Poberezkin
00ba468898
core: update simplexmq (disable fast handshake) ( #4388 )
...
* core: update simplexmq (disable fast handshake)
* fix encoding tests
* fix
* update simplexmq
2024-07-02 14:35:47 +01:00
Evgeny Poberezkin
fab3827697
core: fix markdown for trailing / and ) characters in the links ( #4357 )
2024-06-29 08:41:21 +01:00
spaced4ndy
d951003191
core: servers summary api ( #4319 )
...
* core: servers summary api
* rework
* server known types
* set stats file path
* rename
* local simplexmq
* update
* rfc
* update
* update
* get servers
* compile summary
* remove sort
* rename
* rename, refactor
* refactor attempt
* refactor attempt 2
* refactor
* fix
* fix2
* remove space
* refactor xftp
* update
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2024-06-25 09:51:55 +04:00
spaced4ndy
6c4c9b172c
core: fix markdown check ( #4334 )
...
* core: fix markdown
* more tests
* enable tests
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2024-06-18 12:44:33 -07:00
Evgeny Poberezkin
bcd510c913
cli: option to confirm up migrations ( #4150 )
...
* cli: option to confirm up migrations
* fix test
2024-06-16 20:24:37 -07:00
spaced4ndy
ce55c84b96
core: differentiate RCP error in view, test ( #4310 )
2024-06-10 17:58:53 +04:00
spaced4ndy
02803b1491
core: fix testXFTPRcvError test
2024-06-05 21:16:04 +04:00
spaced4ndy
490e8cead8
core: file errors ( #4261 )
2024-06-05 21:02:13 +04:00
Evgeny Poberezkin
f578ee843b
core: update simplexmq (remove protocol encodings) ( #4272 )
...
* core: update simplexmq (remove protocol encodings)
* nix
* update simplexmq
* update simplexmq
2024-06-05 20:49:01 +04:00
Evgeny Poberezkin
ef30fcf5e2
cli: options for private message routing and fallback mode ( #4256 )
...
* cli: options for private message routing and fallback mode
* remove short options
* fix tests
* encoding
* fix
2024-05-31 23:41:20 +01:00
spaced4ndy
54088c6d5a
core: "/get queues" api to debug agent queues ( #4252 )
2024-05-30 14:24:33 +04:00
spaced4ndy
3d395b0e45
core: inactive connections/members ( #4009 )
2024-05-28 16:42:07 +04:00
Evgeny Poberezkin
291df6e9d0
core: logging of chat events ( #4216 )
...
* core: update simplexmq (persist server errors)
* fix
* same config
* logging
* logging 2
* log
* log 2
* finally
* catch better
* more logs
* logs
* fix
* more logging, context from PROHIBITED
* warning
* more logs
* logs3
* logs4
* logs in simplexmq
* log locks from simplemq
* log queue size
* log sendMessagesB in simplexmq
* update simplexmq
* logs5
* logs6
* logs7
* logs8
* logs8
* logs9
* logs10
* log11
* log12
* fix test
* more logs
* logging
* clean up
* refactor
* simplify
* tags
* log level
* remove network errors from the log
* rename
2024-05-24 21:09:21 +01:00
spaced4ndy
4c0d47bbd4
core: message statuses for sending proxies ( #4161 )
...
* core: delivery path
* update simplexmq
* via proxy snd flags
* error statuses
* rework errors
* proxy expired errors
* corrections
* move backwards compatibile parser to new type
* update simplexmq
* names
* refactor, style
* simplexmq
* refactor
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2024-05-15 12:30:05 +01:00
Evgeny Poberezkin
93ae1145bc
core: update simplexmq (use MVar for better DB connection concurrency) ( #4183 )
...
* core: update simplexmq (use MVar for better DB connection concurrency)
* focus failing tests
* add timeouts to test
* fix tests
* more delays
* increase timeouts
* prints
* delay
* delay
* empty
* more delays
* enable all
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
2024-05-15 11:16:38 +01:00
Evgeny Poberezkin
331b4633fc
core: platform independent encoding for delete command ( #4176 )
2024-05-13 20:39:13 +01:00
spaced4ndy
f40ba6f04d
core: api to differentiate contacts and conversations ( #4111 )
2024-05-13 16:51:54 +04:00
Evgeny Poberezkin
84d7a77a9f
core: update simplexmq (better subscription management) ( #4131 )
...
* core: update simplexmq (better subscription management)
* ui: update settings
* update simplexmq
* simplexmq
* simplexmq
* test output
* delay
* disable test
2024-05-13 08:04:12 +01:00
Evgeny Poberezkin
bc5af35a3e
core: wallpapers api ( #4110 )
...
* core: wallpapers api
* optional colors
* update
* api
* update
* whitespace
* typo
* test, fix
* fix color parsing
* separate UI and Theme color schemes
* update
* enable test
* multiple themes, one per color scheme
* theme overrides as a separate type
* rename
---------
Co-authored-by: Avently <7953703+avently@users.noreply.github.com>
2024-05-08 15:36:20 +01:00
spaced4ndy
37e03a838c
core: forward group message before ack (fixes forwarding message that deleted connection causing error in ackMsg) ( #4108 )
2024-04-29 19:49:04 +04:00
spaced4ndy
7567791866
core: enable PQ encryption for contacts ( #4049 )
...
* wip
* migration
* remove migration
* remove flag wip
* Revert "remove migration"
This reverts commit 9e64663f9d
.
* wip
* remove vrange parameterization
* tests mostly pass
* more tests pass
* enable for upgraded contacts
* remove migration
* core: test large messages (#4061 )
* update simplexmq, fix tests
* test test
* another test
* enable tests
* empty
* empty
2024-04-22 17:46:48 +01:00
spaced4ndy
7ff4b05c90
core: remember new origin for received forwarded messages ( #4032 )
2024-04-15 17:19:37 +04:00
spaced4ndy
638fd3756a
core: correctly populate data for items forwarded from groups ( #4025 )
2024-04-13 11:52:39 +01:00
spaced4ndy
ee53377070
core: fix forwarded item deletion ( #4018 )
2024-04-12 12:55:04 +04:00
Evgeny Poberezkin
a5db36469d
core: api to forward messages ( #3968 )
...
* wip
* wip
* test
* mute
* tests
* simplify (only bool flag)
* re-encrypt file
* tests
* more tests (wip)
* fix relative paths, refactor
* more tests
* more locks
* fix, tests
* more tests
* rework (revert from bool to ids)
* update schema
* more tests
* add to info
* ForwardedMsg container
* Revert "ForwardedMsg container"
This reverts commit bb57f12151
.
* parser
* more tests
* rework api
* more locks
* test
* move
* remove from
* view
* prohibit editing
* item info view
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
2024-04-09 16:02:59 +04:00
spaced4ndy
5b0c8e0f76
core: improve some tests ( #4000 )
2024-04-08 18:16:29 +04:00
Evgeny Poberezkin
18efc28d16
core: additional group preferences: prohibit SimpleX links, restrict some features to specific roles ( #3964 )
...
* core: additional group preferences: prohibit SimpleX links, restrict some features to specific roles
* add role to group preference items, tests
2024-04-04 20:41:56 +01:00
spaced4ndy
069395c2a0
core: entity locks ( #3962 )
...
* core: entity locks
* more locks
* update sha256map
* add delay
* clean up
* empty
* fix tests
* empty
* empty
* more delays
* empty
* comment delays
* Revert "comment delays"
This reverts commit 4245b545fb
.
* Revert "Revert "comment delays""
This reverts commit f803386945
.
* take lock in the beginning of processing loop
* empty
* empty
* remove lock
* rework file locks
* empty
* fix
* empty
* add connection locks
* empty
* fix test
* empty
* remove commented delays
* add to debug locks
* update
* refactor
* refactor
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2024-04-04 19:24:42 +01:00
Evgeny Poberezkin
2bd1a82b7d
core: revert "deps: switch to base64 via simplexmq ( #3957 )" ( #3985 )
...
* Revert "deps: switch to base64 via simplexmq (#3957 )"
This reverts commit d65137882b
.
* update simplexmq
2024-04-03 10:47:38 +01:00
Evgeny Poberezkin
d90e2f4436
core: remove mtl typeclasses to reduce overhead ( #3975 )
...
* core: remove mtl typeclasses to reduce overhead
* strict data, optimization
* update simplexmq, clean up
* un-unlift attachRevHTTP2Client
* remote
---------
Co-authored-by: Alexander Bondarenko <486682+dpwiz@users.noreply.github.com>
2024-04-01 13:34:45 +01:00
spaced4ndy
366b58ead5
core: don't save async commands records for ack ( #3904 )
2024-03-28 19:52:06 +04:00
Alexander Bondarenko
d65137882b
deps: switch to base64 via simplexmq ( #3957 )
...
* deps: switch to base64 via simplexmq
* update error text
* update nix
* set simplexmq to master
* update paths
2024-03-28 13:09:04 +00:00
spaced4ndy
52803ae976
core: add delays to some failing tests ( #3947 )
2024-03-22 22:01:11 +04:00
spaced4ndy
ec73a31cb5
directory: fix double logic inversion on roles check, incorrect error message ( #3944 )
2024-03-22 15:07:01 +04:00
Evgeny Poberezkin
e0566599a4
core: 5.6.0.4 ( #3939 )
2024-03-21 19:00:19 +00:00
Evgeny Poberezkin
3f1d86623a
core: 5.6.0.3
2024-03-19 15:20:04 +00:00
spaced4ndy
f3eeb9dcc2
core: temp-folder option ( #3905 )
2024-03-14 10:59:20 +04:00
spaced4ndy
56fcaf514e
core (pq): don't compress if message fits without compression; check compressed message fits size limit ( #3888 )
...
* core (pq): don't compress if message fits without compression; check compressed message fits size limit
* refactor
* errors
* fix tests
* envelope sizes
* refactor
* comment
* more flexible test
* refactor, comment
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2024-03-10 22:54:55 +00:00
Evgeny Poberezkin
49bd866c4b
core: pass version range to determine missing connection version ( #3887 )
...
* core: pass version range function to store methods
* pass current version to Connection to determine agreed version with peer
* simplify
2024-03-10 20:52:29 +00:00
spaced4ndy
8660bf420a
core (pq): cross-version tests ( #3885 )
...
* core (pq): cross-version tests
* next (fails)
* enable all tests
* fix versions
* update simplexmq
* tests
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
2024-03-10 18:57:57 +04:00