Evgeny Poberezkin
6b8705e9f4
core: support for live messages ( #1577 )
2022-12-16 11:51:04 +04:00
JRoberts
0e837ae392
core: timed messages ( #1561 )
...
* docs: disappearing messages rfc
* change schema
* word
* wip
* wip
* todos
* todos
* remove cancel, refactor
* revert prefs
* CITimed
* schema
* time on send direct
* time on send group
* add ttl to msg container, refactor
* timed on receive
* time on read
* getTimedItems, fix tests
* mark read in terminal - view, input, output, fix tests
* refactor
* comment
* util
* insert atomically
* refactor
* use guards
* refactor startTimedItemThread
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-12-15 15:17:29 +04:00
Evgeny Poberezkin
7b8f5be821
core: type for group preference for timed messages ( #1568 )
...
* core: type for group preference for timed messages
* remove unused func
2022-12-14 12:30:24 +04:00
Evgeny Poberezkin
146d5f99bc
core: clear connection verification status ( #1540 )
2022-12-10 12:09:45 +00:00
Evgeny Poberezkin
33e7538172
core: group description ( #1538 )
...
* core: group description
* support multi-line welcome message
* fix
2022-12-10 08:27:32 +00:00
Evgeny Poberezkin
95cc9e1e55
core: verify connection ( #1530 )
...
* core: verify connection
* update commands
* api to get/set verification code/status
* add migration
* refactor
* change command / response names
* reset verified status if code from agent doesn't match
2022-12-09 15:26:43 +00:00
Evgeny Poberezkin
6f59df4e33
prohibit direct messages to group contacts unless group preferences allow them ( #1476 )
...
* prohibit direct messages to group contacts unless group preferences allow them
* tests
* refactor
* more test
2022-12-03 18:06:21 +00:00
JRoberts
9ad29aa17e
core: full deletion by sender based on preference; don't overwrite item content on "mark deleted" ( #1470 )
2022-11-30 19:42:33 +04:00
Evgeny Poberezkin
1872744543
core, mobile: add group feature to allow direct messages ( #1465 )
...
* core, mobile: split group features to a separate type (to add directAllowed later)
* add directMessages group feature, update tests
2022-11-29 15:19:20 +00:00
Evgeny Poberezkin
8af0229f52
terminal: set voice message preferences ( #1447 )
...
* terminal: set voice message preferences
* enable all tests
2022-11-27 13:54:34 +00:00
Evgeny Poberezkin
7f0355ec67
core: only send voice messages without acceptance ( #1444 )
...
* core: only send voice messages without acceptance
* remove some unnecessary changes
* update
* refactor receiveInlineMode
2022-11-26 22:39:56 +00:00
Evgeny Poberezkin
388aaec80b
core: config to send inline files ( #1406 )
...
* core: config to send inline files
* update config
* add/update tests
* fix tests
2022-11-23 16:08:33 +00:00
JRoberts
828b502431
ios: load and save preferences ( #1373 )
2022-11-16 20:26:43 +04:00
Evgeny Poberezkin
491fe4a9bf
core, ios: advanced server config ( #1371 )
...
* ios: advanced server config
* simplify UI
* core: ServerCfg
* commit migration, update schema
* add preset servers to response
* return default servers if none saved
* fix test
2022-11-16 15:37:20 +00:00
Evgeny Poberezkin
f8302e2030
core: SMP server connection test ( #1367 )
...
* core: SMP server connection test
* fix test
* update simplexmq
2022-11-15 18:31:29 +00:00
JRoberts
b5a812769b
core: full/merged preferences in User, Contact, GroupInfo types ( #1365 )
...
* core: preferences in User, Contact, GroupInfo types
* user and group preferences
* refactor
* linebreak
* remove synonyms
* refactor
* refactor
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-11-15 10:31:44 +04:00
Evgeny Poberezkin
b1d8600215
cli: message search in CLI app ( #1362 )
...
* cli: message search in CLI app
* type synonym
2022-11-14 08:42:54 +00:00
Evgeny Poberezkin
e14ab0fed0
core: support SMP basic auth / server password ( #1358 )
2022-11-14 08:04:11 +00:00
Evgeny Poberezkin
b6696e901b
core: update receiveChunks option to 6 (~90kb)
2022-11-04 17:51:57 +00:00
Evgeny Poberezkin
89de5497ef
core: update chat preferences ( #1292 )
...
* core: update chat preferences
* refactor, types
* rename types
* rename types
* make voice on by default
* create new user with empty preferences
* fix test
2022-11-04 21:05:21 +04:00
JRoberts
1bf3154488
core: add hostContact to CRUserAcceptedGroupSent (to transition from pending connection to group in ui) ( #1295 )
2022-11-04 19:46:27 +04:00
Stanislav Dmitrenko
4e5a5c11dc
core: Chat preferences ( #1261 )
...
* core: Preferences
* Changes
* fix types
* Follow up
* Review
* Review
* update logic
* update
* update 2
* Tests
* Fixed a bug and tests
* Voice -> voice messages
* refactor
* fix
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-11-01 14:32:49 +00:00
Evgeny Poberezkin
a72f603e13
core: switch connection ( #1277 )
...
* core: switch connection
* chat items for SWITCH
* additional events for connection switch
* update simplexmq
* test
* comment test output
* update messages for connection switch
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-11-01 13:26:08 +00:00
JRoberts
deeb2e891a
core: add viaGroupLink to Connection ( #1248 )
2022-10-24 14:28:58 +04:00
JRoberts
15c1f9f9c8
core: group link contact connecting(ed) events to avoid adding previews in ui ( #1242 )
...
* core: group link contact connecting(ed) events to avoid adding ui previews
* fix test
* refactor
* ios types
* android types
* type in bot
2022-10-23 21:18:15 +01:00
Evgeny Poberezkin
dfb6dafd6f
core: record constructors for UserContactLink ( #1244 )
2022-10-22 22:33:59 +01:00
Evgeny Poberezkin
7f544da6cf
core: debug chat and agent locks, update simplexmq ( #1243 )
...
* core: debug chat and agent locks, update simplexmq
* add connId
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
* update lock strings
* fix encoding test
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-10-22 21:22:44 +01:00
Stanislav Dmitrenko
1470b8d128
core: auto accept via address and incognito mode specified ( #1233 )
...
* core: Auto accept via address and incognito mode specified
* Fix test
* Refactoring
* No forcing
* Apply suggestions from code review
* refactor
* refactor AutoAccept
* Test
* Test
* allow different test output order
* rename
* rename
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-10-21 17:14:12 +01:00
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
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
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
3bf8361911
core: group links ( #1194 )
2022-10-13 17:12:22 +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
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
a977a0dd17
core: single function to initialize the chat controller only if encryption key is correct ( #1107 )
2022-09-23 22:22:56 +04:00
Evgeny Poberezkin
5d55657186
core: support sql queries ( #1066 )
...
* core: support sql queries
* remove gradle change
2022-09-17 16:06:27 +01: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
de2d169fbc
core: report passphrase error separately from others ( #1027 )
2022-09-06 23:14:58 +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
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
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