Evgeny Poberezkin
e1370e8f3c
core: split Store.hs to multiple files for faster re-compilation ( #2589 )
...
* core: split Store.hs to multiple files for faster re-compilation
* remove unused compiler pragmas
2023-06-18 10:20:11 +01:00
Evgeny Poberezkin
9fbcc2b5bb
core: rename module ( #2587 )
2023-06-17 11:03:22 +01:00
spaced4ndy
425c7b947f
core: optimize group deletion (delays deletion of unused contacts) ( #2560 )
...
* core: optimize group deletion (wip)
* delay deletion of unused contacts
* clean up, fix test
* rename field
* remove from type, more checks, remove ctx
* remove space
* rename functions
* rename
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-06-12 13:45:39 +04:00
spaced4ndy
fb72dfcdee
core: calculate local item ts in view instead of having it in type ( #2551 )
2023-06-08 11:07:21 +04:00
spaced4ndy
128883b8a3
core: improve queries performance; delay first chat item expiration cycle on start ( #2521 )
2023-05-29 15:18:22 +04:00
spaced4ndy
8b1e5d3db7
core: add indexes for cleanup, initial delay ( #2514 )
2023-05-26 14:03:26 +04:00
spaced4ndy
57ed903a48
Revert "core: don't keep connection of the merged contact ( #2507 )" (for cross-version compatibility)
...
This reverts commit 6093219ce9 .
2023-05-26 13:52:06 +04:00
spaced4ndy
6093219ce9
core: don't keep connection of the merged contact ( #2507 )
2023-05-25 20:54:31 +04:00
spaced4ndy
fd2c7c888c
core: stabilize tests ( #2500 )
2023-05-24 16:14:41 +04:00
Evgeny Poberezkin
9978957e6c
core: deleted timestamps for chat item ( #2459 )
...
* core: edited and deleted timestamps for item
* migration
* add deleted timestamp to chat item, use chat item if there are no versions
* use broker timestamp for remote deletions
* refactor
2023-05-19 13:52:51 +01:00
Evgeny Poberezkin
01b3e98358
core: update chat item details api ( #2456 )
2023-05-18 16:52:58 +01:00
Evgeny Poberezkin
817c0a5672
core: delete message reaction ( #2438 )
...
* core: delete message reaction
* remove unused name
* refactor
* remove unused names
* refactor 2
2023-05-15 12:43:22 +01:00
Evgeny Poberezkin
c06a970987
core: message reactions ( #2429 )
...
* core: message reactions
* remove comments
* core: commands to set reactions
* fix tests
* process reaction messages
* store functions
* include reactions on item updates
* remove print
* view, tests
* load reactions for new items
* test removing reaction
* remove spaces
* limit the number of different reactions on one item
* remove unique constraints
* fix permissions
* indexes
* check chat item content before adding reaction
* fix group reactions
* simpler index
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2023-05-15 11:28:53 +01:00
Evgeny Poberezkin
0b8d9d11e2
core, iOS: support for self-destruct password ( #2412 )
...
* core, iOS: support for self-destruct password
* disable test logging
* core: fix tests, iOS: remove notifications on removal
* change alerts
2023-05-09 09:33:30 +01:00
spaced4ndy
c87f4e68f7
core: keep chat item edit history ( #2410 )
2023-05-08 20:07:51 +04:00
spaced4ndy
54fc052e47
core: remove msg_delivery_events unique constraint (recreates table); cleanup old messages ( #2376 )
2023-05-05 13:49:09 +04:00
spaced4ndy
205c74b5d8
core: make use of covering indexes when reading chats ( #2372 )
2023-05-03 20:26:04 +04:00
spaced4ndy
08148afac7
Merge pull request #2336 from simplex-chat/contact-address-ux
...
core, mobile: contact address ux
2023-05-01 11:21:53 +04:00
Evgeny Poberezkin
f037ffe107
core: prevent failure loading chat on invalid item content JSON ( #2349 )
...
* core: prevent failure loading chat on invalid item content JSON
* corrections
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
* platform independent parsing
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2023-05-01 08:18:04 +01:00
spaced4ndy
0b57cc08a7
core, ios: include contact addresses in profiles ( #2328 )
...
* core: include contact links in profiles
* add connection request link to contact and group profiles
* set group link on update, view, api
* core: include contact addresses in profiles
* remove id from UserContactLink
* schema, fix test
* remove address from profile when deleting link, tests
* remove diff
* remove diff
* fix
* ios wip
* learn more, confirm save, reset on delete
* re-use in create link view
* remove obsolete files
* color
* revert scheme
* learn more with create
* layout
* layout
* progress indicator
* delete text
* save on change, layout
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-04-27 17:19:21 +04:00
Evgeny Poberezkin
591aa9eaa5
core: get all chat items API ( #2333 )
...
* core: get all chat items API
* test
2023-04-27 08:12:34 +01:00
spaced4ndy
4d700d113d
core, ios: mark files to receive from NSE, receive marked files on chat start ( #2218 )
2023-04-20 16:52:55 +04:00
Evgeny Poberezkin
aea526f69d
core: add chat items to indicate decryption failures due to ratchets being out of sync ( #2175 )
...
* core: add chat items to indicate decryption failures due to ratchets being out of sync
* show ratchet errors in chat items, show all integrity errors
* show decryption errors, tests
* ios: chat items, remove item for duplicate messages
* android: decryption errors chat items
* eol
2023-04-16 11:35:45 +01:00
spaced4ndy
eb36f64676
core: update simplexmq (digest entity id); integrate xftp snd delete ( #2183 )
2023-04-14 15:32:12 +04:00
spaced4ndy
90dffc975a
core: request and save extra recipient file descriptions ( #2170 )
2023-04-12 14:47:54 +04:00
Evgeny Poberezkin
1a3f0bed47
core: update servers API to include XFTP servers, ios: generalize UI to manage servers ( #2140 )
...
* core: update servers API to include XFTP servers, ios: generalize UI to manage servers
* add test
* update migrations to pass tests
* fix readme
* update simplexmq
2023-04-05 21:59:12 +01:00
spaced4ndy
73638129bc
core: cancel file transfer when chat item is marked deleted ( #2137 )
2023-04-03 18:49:22 +04:00
spaced4ndy
1a7a79d504
core: allow repeat receive after cancel for XFTP files ( #2134 )
2023-04-03 16:31:18 +04:00
spaced4ndy
787cd94362
core: support fallback to SMP file transfer for backwards compatibility ( #2110 )
2023-03-31 17:33:52 +04:00
spaced4ndy
ef05fa4905
core: file protocol field; ios: distinguish behavior and look of XFTP and SMP files ( #2090 )
...
* core: file protocol field; ios: distinguish behavior and look of XFTP and SMP files
* remove unused method
* count style
* corrections
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-03-28 19:20:06 +01:00
spaced4ndy
dfec1cbb02
core: add protocol field to files table ( #2089 )
2023-03-28 14:38:36 +04:00
Evgeny Poberezkin
0c3dc8a6e9
core: add down migrations and fix test
2023-03-27 19:39:22 +01:00
Evgeny Poberezkin
1f15cf54af
Merge branch 'master' into xftp
2023-03-27 18:57:14 +01:00
Evgeny Poberezkin
c96ba30018
core: support down migrations to allow reverting to the previous version ( #2072 )
...
* core: support down migrations to allow reverting to the previous version
* update schema
* update simplexmq
* rename errors
* remove unused functions
* migration UI, test migration
* update migration UI
* return current migrations in CRVersionInfo
* update simplexmq
* test down migrations
* cleanup ios
* show migrations in log
2023-03-27 18:34:48 +01:00
spaced4ndy
8d6fe2be99
core: restore stateTVar imports
2023-03-23 17:29:04 +04:00
spaced4ndy
babbca48f8
Merge branch 'master' into xftp
2023-03-23 13:58:23 +04:00
Evgeny Poberezkin
06a0dbd0f2
core, iOS: hidden and muted user profiles ( #2025 )
...
* core, ios: profile privacy design
* migration
* core: user profile privacy
* update nix dependencies
* update simplexmq
* import stateTVar
* update core library
* update UI
* update hide/show user profile
* update API, UI, fix test
* update api, UI, test
* update api call
* fix api
* update UI for hidden profiles
* filter notifications on hidden/muted profiles when inactive, alerts
* updates
* update schema, test, icon
2023-03-22 15:58:01 +00:00
spaced4ndy
60d6a47bdb
xftp: delete agent rcv files on completion, error, item delete ( #2040 )
2023-03-21 15:21:14 +04:00
Evgeny Poberezkin
d8cc867099
update simplexmq
2023-03-18 16:18:59 +00:00
Evgeny Poberezkin
858f0f2650
Merge branch 'master' into xftp
2023-03-18 08:38:27 +00:00
Evgeny Poberezkin
66ea2d5d71
Merge branch 'stable'
2023-03-18 08:38:10 +00:00
Evgeny Poberezkin
3dd5b5d835
core: 4.5.4.2 (add stateTVar imports)
2023-03-18 07:59:43 +00:00
Evgeny Poberezkin
428db2f8f4
core: fix unused contact deletion ( #2023 )
...
* core: failing test for leaving and deleting the group joined via link
* fix test
* merge logic
* fix
* add condition
* refactor
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
* compiles
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2023-03-17 16:03:19 +04:00
Evgeny Poberezkin
f915eb2a20
core: initial group member role when joining via link ( #1975 )
...
* core: initial group member role when joining via link
* fix tests
* set role when joining group via link, enable observer test
* show group link when role changes
* amend test
* check role is member or observer when creating a link
2023-03-16 22:19:51 +00:00
spaced4ndy
12200a74ff
core: XFTP file transfer test ( #2009 )
2023-03-16 10:49:57 +04:00
spaced4ndy
fda41817e9
core: XFTP accept; provide save path to agent ( #2005 )
2023-03-14 21:51:35 +04:00
spaced4ndy
9b7fbfd513
core: rcv file events ( #2002 )
2023-03-14 15:26:40 +04:00
Evgeny Poberezkin
e21b4d4236
xftp: send file descriptions when ready ( #1999 )
...
* xftp: send file descriptions when ready
* remove comments, update progress on completion
* update simplexmq
* fix error condition
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
* fix conflict
* saveMemberFD
* more efficient list merging
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2023-03-14 13:28:54 +04:00
spaced4ndy
bfc178faf3
core: process rcv file description ( #1997 )
...
* core: process rcv file description
* refactor, groups
* view
* refactor
* update simplexmq
* refactor
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-03-14 11:42:44 +04:00
Evgeny Poberezkin
d7f9e17bcb
core: use XFTP to send and receive files ( #1993 )
...
* core: use XFTP to send and receive files
* xftp files progress
* xftp reception stubs, migration
* update simplexmq
* xftp sequence diagram
* additional chat events
* send file via XFTP
* send XFTP file description inline when file is uploaded
2023-03-13 10:30:32 +00:00