Diogo
2b7ad80dfd
fixed sqls
2024-10-27 00:25:05 +01:00
Diogo
b6359559c1
support for initial
2024-10-26 23:44:43 +01:00
Diogo
5826d14866
Merge branch 'dc/core-pagination' into dc/core-initial-landing-for-chat
2024-10-26 22:22:04 +01:00
Diogo
a9ca467a80
Merge branch 'master' into dc/core-pagination
2024-10-26 22:21:44 +01:00
Diogo
185e307e70
initial work on initial param for loading chat
2024-10-25 17:12:23 +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
Diogo
f738d2731c
core: initial api support for items around a given item ( #5092 )
...
* core: initial api support for items around a given item
* implementation and tests for local messages
* pass entities down
* unused
* getAllChatItems implementation and tests
* pagination for getting chat and tests
* remove unused import
* group implementation and tests
* refactor
* order by created at for local and direct chats
2024-10-25 16:30:16 +01:00
Diogo
ea61fd7e2b
core: auto increment chat item ids ( #5088 )
...
* core: auto increment chat item ids
* file name
* down name
* update schema
* ignore down migration on schema dump test
* fix testDirectMessageDelete test
* fix testNotes test
2024-10-25 16:30:04 +01:00
spaced4ndy
e76dc33cf0
core: associate new contact with all corresponding members on member contact re-creation (e.g. after it was merged to many members and then deleted) ( #5028 )
2024-10-11 20:47:54 +01:00
Evgeny Poberezkin
dbe4504f05
core: 6.1.0.8 (simplexmq: 6.1.0.7)
2024-10-11 15:44:13 +01:00
spaced4ndy
9a87f344b5
core: do not regenerate key when accepting connection to avoid invalidating invitation link on bad networks ( #5018 )
...
* core: prepare conn (plan)
* update
* group join
* comment
* comment
* wip
* Revert "wip"
This reverts commit 0849f43377 .
* accept
* save contact_id, reuse contact
* refactor
* simplexmq
* set contactUsed
* support retrying join
* exclude prepared connections from API responses
* avoid race with events
* avoid race better
* fix UI
* update library
* tmp
* update
* display error details on ios cmd prohibited
* underscore instead of empty
* Update apps/ios/Shared/Model/SimpleXAPI.swift
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
* test
* update simplexmq
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
Co-authored-by: Diogo <diogofncunha@gmail.com >
2024-10-11 15:37:38 +01:00
spaced4ndy
12423f4afa
core: test db indexes ( #4999 )
2024-10-09 15:15:58 +04:00
spaced4ndy
ad2a0024f2
core: add missing indexes ( #4993 )
2024-10-08 15:26:16 +04:00
Evgeny
fb044000d2
cli: option to use web port 443 with SMP servers when port is not specified ( #4942 )
...
* cli: option to use web port 443 with SMP servers when port is not specified
* ui types
* remove imports
2024-10-07 23:30:52 +01:00
spaced4ndy
7ccd80bf23
core, ios: try to get next ntf message to get expected ( #4962 )
2024-10-07 19:35:38 +04:00
Diogo
8727d3b91b
core: add chat message tail and roundness settings ( #4977 )
...
* core: add chat message tail and roundness settings
* ios: import/export chat message tail and roundness settings (#4978 )
2024-10-05 19:44:26 +01:00
Evgeny Poberezkin
65c7ecbddf
core: 6.1.0.4 (simplexmq 6.1.0.1)
2024-09-26 13:45:12 +01:00
spaced4ndy
e2e6935e5b
core: fix reactions not being read on item updates ( #4938 )
2024-09-25 11:16:32 +01:00
Evgeny
0f301adc57
core: xrcp encryption with forward secrecy ( #4926 )
...
* core: xrcp encryption with forward secrecy (tests intermittently fail)
* track and correlate keys
* simplify
* refactor
* remove comment
2024-09-24 09:25:41 +01:00
Evgeny
c849f5356d
core: save the time user profile was opened at to order in ui ( #4920 )
...
* core: save the time user profile was opened at to order in ui
* replace timestamp with order
2024-09-21 13:07:27 +01:00
Evgeny Poberezkin
17a0f3a210
core: 6.1.0.2, update min versions for remote access to 6.1.0.2
2024-09-18 08:56:43 +01:00
Evgeny Poberezkin
166082c021
Merge branch 'stable'
2024-09-17 22:23:58 +01: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
af993529f9
core: migrate SOCKS proxy settings ( #4894 )
2024-09-17 12:23:50 +01:00
Evgeny
40e93cc61e
core: reduce max message sizes ( #4882 )
...
* core: reduce max message sizes
* reduce
* comment
2024-09-16 18:05:09 +01:00
Evgeny Poberezkin
da058ca376
Merge branch 'stable'
2024-09-16 08:09:53 +01:00
Evgeny
c22d23750f
core: support different SOCKS proxy authentication modes ( #4886 )
...
* core: support different SOCKS proxy authentication modes
* use defaultSocksProxyWithAuth
* hostMode CLI option
* simplexmq
2024-09-16 07:33:48 +01:00
spaced4ndy
c6ab8ec6b3
core: cleanup empty file on error; check file status on forward ( #4878 )
2024-09-13 23:16:23 +04:00
Evgeny
4cfda91124
core: fix ForwardConfirmation encoding ( #4872 )
2024-09-13 09:35:11 +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
Evgeny Poberezkin
1a853d4eea
Merge branch 'stable'
2024-09-11 13:06:11 +01:00
Evgeny
0cb568d206
fix incorrect error of migration to device ( #4852 )
...
* fix incorrect error of migration to device
* alert to finish migration, ios fix
* simplexmq
* catching exception and stopping chat
* text
---------
Co-authored-by: Avently <7953703+avently@users.noreply.github.com >
2024-09-09 15:01:18 +01:00
Evgeny
5ed701402b
core: optimize marking chat items as read, batch API ( #4843 )
...
* core: optimize marking chat items as read
* tests, ui types
* ios: fix api
* refactor
2024-09-07 19:40:10 +01:00
Evgeny Poberezkin
94c552ca12
Merge branch 'stable'
2024-08-28 18:04:50 +01:00
Stanislav Dmitrenko
acb372a4ce
core: call uuid ( #4777 )
...
* core: call uuid
* fix
* text
* android, desktop
* ios
---------
Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com >
2024-08-28 15:31:02 +01:00
spaced4ndy
bcd50019be
core: add more multi send api tests ( #4750 )
2024-08-23 21:05:37 +04:00
Evgeny Poberezkin
7b90e01b3a
core: 6.1.0.0
2024-08-23 13:18:51 +01: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
b3d15f97f0
core: stop stats when chat is stopped ( #4616 )
...
* core: stop stats when chat is stopped
* rename field
* simplexmq
2024-08-07 14:49:58 +01:00
Evgeny Poberezkin
6d19b48979
core: 6.0.0.4 (simplexmq 6.0.0.6)
2024-08-06 19:39:09 +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
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
spaced4ndy
413a8f6b76
core: correctly update chat item deletable state on deletions ( #4558 )
2024-08-01 18:56:41 +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
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
Evgeny Poberezkin
5ee6f40e75
cli: allow passing ChatOpts parameter ( #4525 )
2024-07-28 12:06:07 +01:00