JRoberts
5bcb725ea5
core: exclude contacts accepted via group link from chat previews ( #1234 )
...
* RGEInvitedViaGroupLink
* CRSentGroupInvitationViaLink
* via_group_link filtering
* reset
* refactor
* remove brackets
2022-10-21 17:35:07 +04:00
JRoberts
98cb1c39f2
core: allow to delete contacts that are in groups; group contacts management rfc ( #1229 )
2022-10-20 19:27:00 +04:00
Evgeny Poberezkin
c4fc8a97b1
core: option to receive file inline up to maximum "offered" size ( #1232 )
...
* core: option to receive file inline up to maximum "offered" size
* comment
2022-10-20 14:32:20 +01:00
Stanislav Dmitrenko
213b586f8f
core: Forcing chat unread ( #1228 )
...
* core: Forcing chat unread
* Implementation
* Renaming
* Removed unused code
* test
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-10-19 19:38:44 +01:00
JRoberts
e57b9f4cea
core: don't calculate chat stats to speed up loading individual chats ( #1218 )
2022-10-18 10:16:28 +01:00
JRoberts
2c347cb7b9
core: CRSubscriptionEnd ( #1223 )
...
* core: CRSubscriptionEnd
* refactor
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-10-17 21:35:29 +01:00
JRoberts
1b3984f52f
core: create group invitation connection asynchronously on group link auto-accept ( #1211 )
2022-10-15 14:48:07 +04:00
Evgeny Poberezkin
fb03a119ea
core: support inline file transfers ( #1187 )
...
* core: support inline file transfers
* parameterize ChatMessage
* send files inline when accepted
* accept inline file transfers (almost works)
* db error SERcvFileInvalid
* inline file transfer works (TODO fix test)
* inline file transfer tests, change encodings
* fixture
* combine messages into x.file.acpt.inv, refactor
* inline file mode
* decide whether to receive file inline on the recipient side, not only via file invitation
* test inline files "sent" mode
* check that file was offered inline
* update schema
* enable encryption tests
* test name
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
* fix the list of rcv files to subscribe too
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-10-14 13:06:33 +01:00
JRoberts
f7da034cf1
core: use acceptContactAsync on auto-accept, reuse incognito profile for contacts accepted via group link ( #1208 )
...
* update simplexmq (acceptContactAsync)
* acceptContactRequestAsync, single profile
* refactor
* refactor 2
* refactor
* Update src/Simplex/Chat/Store.hs
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
* refactor
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-10-14 14:57:01 +04:00
JRoberts
3bf8361911
core: group links ( #1194 )
2022-10-13 17:12:22 +04:00
Stanislav Dmitrenko
cf001054c2
core: Fix member role that wasn't applied to a member object ( #1190 )
2022-10-08 19:49:42 +01:00
JRoberts
88645cb003
core: check chat store hasn't changed in APISetChatItemTTL ( #1182 )
2022-10-07 13:53:05 +04:00
JRoberts
6d06dda645
core: allow to call APIGetChats with stopped chat ( #1180 )
2022-10-07 10:55:47 +04:00
JRoberts
3649321b67
core: catch errors during chat item expiration ( #1177 )
2022-10-06 14:00:02 +04:00
JRoberts
135bdf3842
core: optimize bulk chat item deletion 2 ( #1172 )
2022-10-05 19:54:28 +04:00
Evgeny Poberezkin
7a54351f15
core: update simplexmq (connection-level locks) ( #1170 )
...
* core: update simplexmq (connection-level locks)
* update simplexmq
* update simplexmq
* update simplexmq
* only run file tests
* update simplexmq
* enable all tests
* update simplexmq
2022-10-04 17:19:00 +01:00
JRoberts
cd6cad9a96
core: optimize bulk chat item deletion ( #1168 )
...
* core: optimize bulk chat item deletion
* test file deletion
* refactor
* refactor
2022-10-03 22:33:36 +01:00
JRoberts
3808b7415b
core: allow to set chat item ttl when chat is stopped ( #1165 )
2022-10-03 17:44:56 +04:00
Evgeny Poberezkin
58f6b168e6
core: protocol/commands to change member role ( #1159 )
...
* core: protocol/commands to change member role
* change member roles
* add test
* correction
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
* add member profile to group member role events
* resend invitation when invited member role changes
* test role change with invitation, fix
* add delays to tests
* add test delay
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-10-03 09:00:47 +01:00
Evgeny Poberezkin
9c5acd609c
core: author role, allow member to add new members on the receiving end ( #1149 )
...
* core: author role, allow member to add new members on the receiving end
* remove unused name
* remove author role from parser
2022-10-01 20:30:47 +01:00
Evgeny Poberezkin
23212def51
update simplexmq v3.3.0
2022-10-01 15:19:41 +01:00
JRoberts
ef28215284
core: fully delete group chat items instead of overwriting content ( #1154 )
2022-10-01 14:31:21 +04:00
JRoberts
428d3cdba5
core: delete connections asynchronously ( #1151 )
2022-09-30 16:18:43 +04:00
Evgeny Poberezkin
628f119151
core: lints ( #1144 )
2022-09-29 16:26:43 +01:00
JRoberts
9cb2542079
core: scheduled deletion ( #1075 )
...
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-09-28 20:47:06 +04:00
Evgeny Poberezkin
fe6cd91a61
core: connection alias, store invitation link with connection ( #1137 )
...
* core: connection alias, store invitation link with connection
* update contact with connection alias, test
* use type alias
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-09-27 20:45:46 +01:00
Evgeny Poberezkin
31d8f73eac
core: disable connection handshake notifications for groups with disabled notifications ( #1131 )
2022-09-26 18:09:45 +01:00
Evgeny Poberezkin
a977a0dd17
core: single function to initialize the chat controller only if encryption key is correct ( #1107 )
2022-09-23 22:22:56 +04:00
JRoberts
aa6fb2fc12
core: ignore file cancel errors when deleting chat/chat item ( #1093 )
2022-09-22 13:06:50 +04:00
JRoberts
9442656bbe
ios: alerts on connection errors ( #1080 )
...
* ios: alerts on connection errors
* fixes
* refactor
* refactor
* refactor
* translations
* delete contact with groups error
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-09-21 17:18:48 +04:00
Evgeny Poberezkin
a615dbec91
support direct file invitations without contact requests ( #1076 )
2022-09-20 14:46:30 +01:00
Evgeny Poberezkin
5d55657186
core: support sql queries ( #1066 )
...
* core: support sql queries
* remove gradle change
2022-09-17 16:06:27 +01:00
JRoberts
107fa37aa6
core: don't check agent msg matches expected response of async cmd if it's ERR ( #1062 )
2022-09-16 19:41:53 +04:00
JRoberts
e8c14896aa
core: process ERR response to async command ( #1061 )
2022-09-16 19:30:02 +04:00
Evgeny Poberezkin
08e0d7339f
Merge branch 'master' into sqlcipher
2022-09-14 18:46:03 +01:00
JRoberts
c07d4a5e4e
core: use async agent commands when establishing connections w/t user action ( #977 )
...
* wip
* wip
* wip
* schema
* schema
* wip
* wip
* rework
* revert
* update simplexmq
* async commands
* corr id wip
* wip
* update simplexmq
* corr id
* wip
* rename variable
* wip
* refactor
* ACK continuation
* wip
* fix queries
* fix queries
* clean up schema
* update simplexmq, do not lock on stopping chat
* clean up
* refactor
* refactor
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-09-14 19:45:21 +04:00
Evgeny Poberezkin
06835ee3fc
ios: additional db encryption UX ( #1031 )
...
* ios: additional db encryption UX
* typo
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
* fixes
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-09-08 17:36:16 +01:00
Evgeny Poberezkin
7072dd4f7e
core: fix api for encryption ( #1025 )
2022-09-06 21:25:07 +01:00
Evgeny Poberezkin
a611040c41
Merge branch 'master' into sqlcipher
2022-09-05 15:37:08 +01:00
Evgeny Poberezkin
b232b6132f
terminal: commands to mute/unmute contacts and groups ( #1018 )
...
* terminal: commands to mute/unmute contacts and groups
* tests
2022-09-05 15:23:38 +01:00
Evgeny Poberezkin
082e12683b
core: change database encryption API to require current passphrase on all changes ( #1019 )
2022-09-05 14:54:39 +01:00
Evgeny Poberezkin
2b5e3a9459
core: C API to migrate and check database ( #1008 )
...
* core: C API to migrate and check database
* update simplexmq
2022-09-02 16:38:41 +01:00
Evgeny Poberezkin
3613fc953e
core: encrypt chat database ( #988 )
...
* core: encrypt chat database
* check DB key error on start
* function to encrypt database
* encrypt database command
* decrypt, rekey
* remove rekey, refactor
* test for db encryption/decryption
* update simplexmq
2022-08-31 18:07:34 +01:00
Evgeny Poberezkin
02ca7234fb
use SQLCipher ( #981 )
...
* use SQLCipher
* pass encryption key via CLI options
* update dependencies to use git
* add CONTRIBUTING.md
* move flag, enable build in sqlcipher branch
* update dependencies
2022-08-30 12:49:07 +01:00
JRoberts
2fc6873c42
core: simplify incognito feature - remove host/invitee incognito profiles communication; remove incognito mode group creation and join; use same incognito profile known to host when joining ( #978 )
2022-08-27 19:56:03 +04:00
JRoberts
53a71cf28c
core: contact aliases ( #968 )
2022-08-24 19:03:43 +04:00
Evgeny Poberezkin
164426db49
core: catch error when toggling notifications ( #954 )
...
* core: catch error when toggling notifications
* filter current members
* filter active members
2022-08-20 14:47:24 +01:00
JRoberts
e6233722db
core: create incognito membership if direct connection with host is incognito when processing invitation instead of on join ( #953 )
2022-08-20 13:12:20 +04:00
Evgeny Poberezkin
d26083d8b7
core: fix settings api ( #952 )
2022-08-19 22:44:00 +01:00
Evgeny Poberezkin
70168967a3
core: commands to set chat notification settings ( #946 )
...
* core: commands to set chat notification settings
* add API
2022-08-19 15:17:05 +01:00