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
Evgeny Poberezkin
f9c691cab1
ios: change member role ( #1164 )
...
* ios: change member role
* chat item types, error alerts
* update alert
* translations
* update messages
* translation
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
* translation
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
* translation
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
* update translations
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-10-04 09:53:43 +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
JRoberts
575706c7c7
core: platform independent json encoding for MsgErrorType ( #1163 )
2022-10-03 12:55:59 +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
Evgeny Poberezkin
5c49e8f7ea
core: add localAlias to Contact when it is created
2022-10-01 11:38:54 +01:00
JRoberts
ef28215284
core: fully delete group chat items instead of overwriting content ( #1154 )
2022-10-01 14:31:21 +04:00
JRoberts
7f70fe4d64
core: fix /image command error messages ( closes #1153 ) ( #1156 )
2022-10-01 14:29:02 +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
3f5ca84c84
core: fix error reporting of sqlcipher export errors ( #1029 )
2022-09-07 17:20:47 +01:00
Evgeny Poberezkin
de2d169fbc
core: report passphrase error separately from others ( #1027 )
2022-09-06 23:14:58 +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
a8216bbd54
core: add error strings to SQLCipher encrypt/decrypt commands ( #1014 )
2022-09-03 19:32:21 +01:00
Evgeny Poberezkin
7999e88554
core: fix chatInitKey to pass database key to agent store ( #1010 )
2022-09-02 20:20:43 +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
JRoberts
e6551abc68
ios: incognito mode ( #945 )
...
* ios: incognito types
* wip
* wip
* wip
* wip
* wip
* cleaner interface
* CIGroupInvitationView logic
* masks not filled
* ui improvements
* wip
* wip
* incognito may be compromised alerts
* help
* remove modifier
* Update apps/ios/Shared/Views/Chat/ChatItem/CIGroupInvitationView.swift
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
* Update apps/ios/Shared/Views/Chat/Group/AddGroupMembersView.swift
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
* Update apps/ios/Shared/Views/UserSettings/IncognitoHelp.swift
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
* Update apps/ios/Shared/Views/UserSettings/IncognitoHelp.swift
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
* Update apps/ios/Shared/Views/UserSettings/IncognitoHelp.swift
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
* Update apps/ios/Shared/Views/UserSettings/IncognitoHelp.swift
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
* Update apps/ios/Shared/Views/UserSettings/IncognitoHelp.swift
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
* Update apps/ios/Shared/Views/UserSettings/IncognitoHelp.swift
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
* contact request
* texts
* ;
* prepare for merge
* restore help
* wip
* update help
* wip
* update incognito help
* the
* Update apps/ios/Shared/Views/UserSettings/IncognitoHelp.swift
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
* wording
* translations
* secondary color
* translations
* translations
* fix Your Chats title
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-08-23 18:18:12 +04:00
Evgeny Poberezkin
bd7aa81625
core: DB json encoding for group events (platform independent) ( #966 )
...
* core: DB json encoding for group events (platform independent)
* comment, migration
* shorter constructors
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-08-23 16:24:43 +04:00
JRoberts
a06499d710
core: add host_conn_custom_user_profile_id to groups to replace join with connections causing duplicates (avoids complex subqueries) ( #965 )
2022-08-22 23:12:09 +04:00
JRoberts
985f3dffd3
core: read host's connection custom_user_profile_id into group info ( #960 )
2022-08-22 11:04:34 +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