Evgeny Poberezkin
1d34500fba
core: revert stop/close changes made for Windows ( #3145 )
...
* Revert "core: return error response when wrong passphrase is passed to start"
This reverts commit ea319313f1
.
* Revert "core: support closing/re-opening store on chat stop/start (#3132 )"
This reverts commit 3c7fc6b0ee
.
2023-09-29 11:14:10 +01:00
spaced4ndy
957f3b3eb0
core: delete unused contact silently ( #3140 )
2023-09-28 13:16:03 +04:00
Evgeny Poberezkin
ea319313f1
core: return error response when wrong passphrase is passed to start
2023-09-27 21:15:19 +01:00
spaced4ndy
c64d1e8361
core: notify contact about contact deletion ( #3131 )
2023-09-27 19:36:13 +04:00
Evgeny Poberezkin
3c7fc6b0ee
core: support closing/re-opening store on chat stop/start ( #3132 )
...
* core: support closing/re-opening store on chat stop/start
* update .nix refs
* kotlin: types
* add test
* update simplexmq
2023-09-27 15:26:03 +01:00
Alexander Bondarenko
2dff6c8859
core: do not subscribe to new connections from iOS NSE (subscribe=off flag), subscribe in app when it activates ( #3016 )
...
* Trace auto-subs flag
* Replace Bool with SubscriptionMode
* Add subscriptionMode to chat controller
* Start using subscriptionMode in event handlers
* Add need_subs to chat connections
* Add onlyNeeded to subscribeUserConnections
* Post-rebase fixes
* Pass onlyNeeded to Store functions
* Drop needs_sub for connections registered with agent
* update simplexmq, fix activate
* fix rebase, reduce diff
* fix rebase, tests
* fix rebase, executeMany, always subscribe on activate
* test
* update queries
* Update src/Simplex/Chat.hs
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
* unset connections to subscribe on start
* update simplexmq
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
2023-09-10 20:40:15 +01:00
spaced4ndy
e6baca5610
core: rename conn vrange into peer vrange ( #3023 )
2023-09-06 11:41:23 +04:00
spaced4ndy
7a5d4a5a3d
core: communicate connection chat version range ( #2886 )
...
* core: communicate connection chat version range
* encoding
* type
* implementation wip
* contact requests
* tests
* more tests
* refactor
* remove comment
* change encoding
* remove Maybe
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2023-09-01 19:20:07 +04:00
Evgeny Poberezkin
4826a62d36
directory: list groups with group member counts ( #2855 )
...
* directory: list groups with group member counts
* list groups, test
* superuser can list all groups
* rename command
* remove type synonym
* add member count to search results
* fix test
2023-08-06 11:56:40 +01:00
spaced4ndy
ae9b83515c
core: group snd status ( #2763 )
...
* core: group snd status
* schema, implementation
* refactor direct, tests
* configure, tests
* item info
* refactor
* refactor
* remove do
* rename
* remove receipts on events
* refactor
* refactor
* refactor
* refactor
* tests
* rename tests
* aggregates
* fix name
* refactor
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2023-07-26 14:49:35 +04:00
Evgeny Poberezkin
0f4473d272
core: delivery receipts ( #2644 )
...
* core: delivery receipts
* update simplexmq
* preference, migration
* add activated state to receipts preference, update tests
* set receiveReceipts as activated on new profiles
* update simplexmq, fix tests
* update simplexmq, fix withAckMessage
* one more option
* more
* use tryChatError in ack message
* enable all tests
* rename pref
* update item status on delivery receipts
* show receipts for tests
* remove chat preference for delivery receipts
* add user, contact and group settings for delivery receipts
* only send delivery receipts if enabled for the contact or user profile (and not disabled for the contact)
* fix tests
* reuse event, test
* configure per contact - db, api, test
* rename commands
* update simplexmq
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
2023-07-13 23:48:25 +01:00
Evgeny Poberezkin
7a8db16791
core: catch IO exceptions in ExceptT ( #2669 )
...
* core: catch IO exceptions in ExceptT
* catch IO exceptions for ACK
* simplify, remove unnecessary changes
* fix, update simplexmq
* update simplexmq, enable all tests
* fix
* update simplexmq (fix finally)
* update sha256map.nix
2023-07-09 23:24:38 +01:00
spaced4ndy
ae17566a94
core: ratchet synchronization ( #2653 )
2023-07-05 19:44:21 +04:00
spaced4ndy
2f7ea909e2
core: update simplexmq (5.2.0) ( #2646 )
2023-07-03 20:13:00 +04:00
spaced4ndy
d929c34e71
core: include ConnectionStats into switch api response ( #2594 )
2023-06-19 16:07:17 +04:00
Evgeny Poberezkin
53d77b25ed
core: count successes and failures for batch operations, only log errors in info log-level ( #2585 )
...
* core: count successes and failures for batch operations, only log errors in info log-level
* correction
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
2023-06-17 10:34:04 +01:00
spaced4ndy
6d3cb0ea2e
core: api to abort connection switch; update simplexmq ( #2544 )
2023-06-16 19:05:53 +04: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
875282e9ec
core: fix parsing multiple servers passed as cli argument ( #2549 )
2023-06-06 14:17:14 +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
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
spaced4ndy
b6a4f5f518
core: enable creation of decryption errors chat items ( #2450 )
2023-05-17 16:13:35 +04:00
Evgeny Poberezkin
b49f0d211b
cli: amend help messages ( #2447 )
...
* cli: amend help messages
* print servers on multiple lines
* correction
* fix tests
2023-05-16 18:37:45 +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
spaced4ndy
88059a2cc5
core: allow to set disappearance interval when sending message; don't check content change on live item updates ( #2423 )
...
* core: allow to set disappearance interval when sending message
* remove commented code
* enable tests
* don't check content change on live item updates
* update logic
* rename variable
* refactor, restore that received message can disabled disappearing
* refactor
* Revert "refactor"
This reverts commit 60dee29d76
.
* separate event
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2023-05-11 16:00:01 +04:00
spaced4ndy
c87f4e68f7
core: keep chat item edit history ( #2410 )
2023-05-08 20:07:51 +04:00
spaced4ndy
e3011a1cb0
core: disable creation of decryption errors chat items ( #2365 )
2023-05-02 19:38:58 +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
Evgeny Poberezkin
5f41cf3c52
core: change default for Disappearing Messages to "allow", mobile: support disabling without prohibiting ( #2192 )
...
* core: change default for Disappearing Messages to "allow", mobile: support disabling without prohibiting
* fix tests
* disable tests back in CI
* fixed tests 2
* remove enable
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
2023-04-17 18:13:10 +01:00
Evgeny Poberezkin
b6876712f0
core: chat preference for audio/video calls ( #2188 )
...
* core: chat preference for audio/video calls
* correction
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
* clean up
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
2023-04-17 10:18:04 +01: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
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
Evgeny Poberezkin
12fb2a4ec5
ci: move to ubuntu 20/22, disable 2 tests in CI ( #2142 )
...
* ci: move to ubuntu 20/22
* skip test on mac
* skip some tests on mac CI
* skip test on CI
* skip test unconditionally
* skip on CI only
2023-04-04 13:09:07 +01:00
Evgeny Poberezkin
935d826a21
core, ios: unhiding user profiles always requires password ( #2101 )
2023-03-29 19:28:06 +01:00
Evgeny Poberezkin
a8c8137ade
core: fix current user becoming incorrect after hiding or (un)muting inactive user profile ( #2098 )
...
* core: fix current user becoming incorrect after hiding or (un)muting inactive user profile
* refactor test
2023-03-29 17:39:04 +01: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
Evgeny Poberezkin
b2e285c2c7
terminal: update help, remove user ID from terminal /smp test command ( #1973 )
...
* terminal: update help, remove user ID from terminal /smp test command
* update mobile api
* update help
2023-03-04 22:33:17 +00:00
Evgeny Poberezkin
35a1ce4903
core: separate core options to use in bots ( #1937 )
...
* core: separate core options to use in bots
* ci: install pkg-config for mac
2023-02-18 17:39:16 +00:00
Evgeny Poberezkin
7c4c627ee9
terminal: support multiline messages (as JSON strings) ( #1936 )
...
* terminal: support for multiline messages
* fix
* fix tests
2023-02-18 15:16:50 +00:00
Evgeny Poberezkin
9e4499de6d
core: allow admins/owners delete member messages ( #1869 )
...
* core: allow admins/owners delete member messages
* allow message deletion to admins/owners
* deleted by types, schema
* check role
* fix test, view
* view, tests
* comment
* test timed deletion events
* refactor
* refactor
* refactor
---------
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
2023-02-08 11:08:53 +04:00
Evgeny Poberezkin
4a58ca60ac
core: split tests ( #1870 )
2023-02-01 17:21:13 +00:00