Diogo
37a5c353ea
descriptive view message
2024-10-31 16:09:56 +00:00
Diogo
b6359559c1
support for initial
2024-10-26 23:44:43 +01:00
spaced4ndy
78510b6fd3
core, ios: get messages for multiple last notifications; separately get notification connections before requesting messages (to avoid acknowledgement races in case of parralel nse threads); coordinate nse threads ( #5084 )
...
* core, ios: get messages for multiple last notifications (#5047 )
* ios: refactor notification service (#5086 )
* core, ios: separately get notification connections before requesting messages; coordinate nse threads (#5085 )
2024-10-25 20:09:59 +04:00
spaced4ndy
7ccd80bf23
core, ios: try to get next ntf message to get expected ( #4962 )
2024-10-07 19:35:38 +04:00
spaced4ndy
17b55c51c5
core: update statuses of all batched messages on SENT, RCVD ( #4888 )
...
* core: update statuses of all batched messages on SENT, RCVD
* wip
* update all
* refactor
2024-09-17 20:50:26 +01:00
Evgeny
f6f2044675
core: plan forwarding chat items, api types ( #4865 )
...
* core: plan forwarding chat items, api types
* remove empty content, refactor get items
* another refactor
* plan
* test
* more tests
* text
2024-09-12 15:21:29 +01:00
Evgeny Poberezkin
dfdb4af646
Revert "core: bulk forward missing files error handling ( #4860 )"
...
This reverts commit 46d774a822 .
2024-09-12 08:52:09 +01:00
Diogo
46d774a822
core: bulk forward missing files error handling ( #4860 )
...
* add types
* wip dump
* collect errors
* Update src/Simplex/Chat/View.hs
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
* test with not received files
* remove ciFileLoaded
* undo refactoring
* test for skipping missing file with text
* add test for empty message
* remove fdescribes
* copy or cleanup files after collecting errors and forward reqs
* don't forward w/t content
* translate CIFSRcvAborted into FFENotAccepted
* refactor
* refactor
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2024-09-11 21:30:09 +01:00
spaced4ndy
bcd50019be
core: add more multi send api tests ( #4750 )
2024-08-23 21:05:37 +04:00
spaced4ndy
791489e943
core: multi forward api ( #4704 )
2024-08-22 21:36:35 +04:00
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 Poberezkin
cb76c8079c
core: fix archive export when some filename is not compatible with zip ( #4561 )
...
* core: fix archive export when some filename is not compatible with zip
* update
* core, ios
* update kotlin apis, ios: add alert to migrate from device
2024-08-02 20:23:54 +01: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
Evgeny Poberezkin
637189cc2d
core: multiline output ( #4520 )
2024-07-26 15:21:06 +01:00
spaced4ndy
4a9b54fbaf
core: get subs total api ( #4500 )
2024-07-22 19:06:53 +04:00
spaced4ndy
bfab76ed90
core: allow sending messages immediately on joinConnection, acceptContact ( #4465 )
2024-07-18 20:33:51 +04:00
Evgeny Poberezkin
bf59402856
cli: option to only use SOCKS5 proxy with onion-only relays ( #4459 )
...
* cli: option to only use SOCKS5 proxy with onion-only relays
* simplexmq
* show socks mode in CLI, fix to use correct network config
2024-07-15 23:04:09 +01:00
Evgeny Poberezkin
b348979b32
core: use disabled servers as known for private message routing ( #4444 )
...
* core: use disabled servers as known for private message routing
* send all servers to agent, add all preset servers
* update nix hashes
* refactor
* check that some servers are enabled, refactor
* update simplexmq
* remove functions
2024-07-12 14:12:20 +01:00
Evgeny Poberezkin
5907d8bd0c
core: remove legacy agent stats ( #4375 )
2024-07-01 11:25:27 +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
ce55c84b96
core: differentiate RCP error in view, test ( #4310 )
2024-06-10 17:58:53 +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
Evgeny Poberezkin
5ac521f6d8
core: commands to debug subscribed SMP queues ( #4253 )
...
* core: commands to debug subscribed SMP queues
* getLastRcvMsgInfo
* DESC
* update
* update commands, ui compiles
* update
* ios: fix type
* swap
* simplexmq
* group member queue info
* copy button in the alert
2024-05-31 12:45:58 +01:00
spaced4ndy
54088c6d5a
core: "/get queues" api to debug agent queues ( #4252 )
2024-05-30 14:24:33 +04:00
spaced4ndy
2143eb2d7a
core: batch send pending group messages ( #4242 )
2024-05-28 18:32:29 +04:00
spaced4ndy
3d395b0e45
core: inactive connections/members ( #4009 )
2024-05-28 16:42:07 +04:00
Evgeny Poberezkin
c70e7223d9
core: delete connection records when connecting (JOIN) fails ( #4233 )
...
* core: delete connection records when connecting (JOIN) fails
* show errors in commands
2024-05-27 15:32:09 +01: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
d2d450d1d7
core: check known relays before file reception, support user approval of unknown relays ( #4043 )
...
* core: check known relays before file reception, support user approval of unknown relays
* comment
* reset on not approved agent error
* add privacyAskToApproveRelays to AppSettings
* filter distinct servers
* update simplexmq
* remember user_approved_relays
* refactor
* rename
* update simplexmq
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-05-20 17:23:29 +04:00
spaced4ndy
49e09ca449
core: contact disabled event ( #4194 )
2024-05-16 17:08:13 +04:00
Evgeny Poberezkin
29db2b4e9b
core: command to show duplicate message count ( #4172 )
...
* core: command to show duplicate message count
* update
* updated
* update
* update
* simplexmq
2024-05-13 19:55:57 +01: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
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
648884044f
core: prohibit forwarding file if it's not found ( #4047 )
2024-04-19 11:31:44 +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
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
86fe28f1ed
core: chat hooks allowing to extend or customize chat core ( #3953 )
...
* core: chat hooks allowing to extend or customize chat core
* update
* json
* custom response
* user in db queries
2024-03-29 18:30:17 +00:00
Alexander Bondarenko
4a404f14d9
core: add error message to CRSndFileError ( #3894 )
...
* core: add error message to CRSndFileError
* show snd errors
2024-03-12 14:19:40 +00:00
Evgeny Poberezkin
60a73a539e
core: add agreed connection version field ( #3881 )
...
* core: add agreed connection version field
* fix
* progress
* use pqSupport and version to decide compression in messages
* pass version to encodeConnInfoPQ
* update pq enable/disable api
* remove TestConfig
* update nix dependencies
* update texts
* corrections
* create e2ee info items when connection switches from off to on first time
* corrections
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
* comment
* increase test timeout
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2024-03-10 11:31:14 +00:00
spaced4ndy
191d833947
core (pq): tests ( #3882 )
...
* core (pq): tests
* rename
* move
* test allow
* mute test output
* pq combinators
* refactor
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-03-08 23:09:12 +00:00
Evgeny Poberezkin
b86b5578de
Merge branch 'master' into pq
2024-03-08 13:47:10 +00:00
Evgeny Poberezkin
435ea9a453
core: api to pass additional information with standalone file URI ( #3873 )
...
* xftp: redirect for descriptions with more than one chunk
* handle errors
* core: api to pass additional information with standalone file URI
* cleanup
* test info with large file
* Apply suggestions from code review
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
* remove db-mediated client data
* refactor
* fix
---------
Co-authored-by: Alexander Bondarenko <486682+dpwiz@users.noreply.github.com >
2024-03-08 13:38:48 +00:00
Evgeny Poberezkin
1f93d91af5
core: simplify feature versions ( #3879 )
...
* core: simplify feature versions
* update version agreement
* fix
* remove EmptyCase
2024-03-08 13:36:09 +00:00
spaced4ndy
bc2b135880
core (pq): update types ( #3872 )
...
* core (pq): update types
* imports
* encode / max msg size types
* integrate new types
* update types/pq support
* tests compile
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-03-07 17:39:09 +04:00
spaced4ndy
61a3eb32ee
core (pq): global flag only affects new connections; api to allow PQ in old contacts ( #3869 )
2024-03-06 19:06:01 +04:00