JRoberts
17cd3cdca4
core: make ttl optional in TimedMessagesPreference ( #1583 )
...
* core: make ttl Maybe in TimedMessagesPreference
* omitNothingFields
2022-12-15 18:11:08 +00:00
JRoberts
aa264690ab
core: add ttl to XMsgUpdate ( #1581 )
2022-12-15 17:29:46 +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
677c6aeb2e
core: types for timed and live messages ( #1572 )
...
* core: types for timed and live messages
* add protocol tests
2022-12-14 16:16:11 +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
678dbec3e2
core: different types for chat preferences, to allow parameters ( #1565 )
2022-12-13 14:52:34 +00: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
a4f207875f
show /create link command when group is created ( #1536 )
2022-12-09 18:22:03 +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
JRoberts
9893aa665a
core: don't mark contacts as used on api get chat ( #1522 )
2022-12-07 19:05:32 +04:00
JRoberts
4319a581ca
core: more test cases checking deletion of unused contacts and incognito profiles ( #1513 )
2022-12-06 20:19:01 +04:00
JRoberts
fb05218558
core: delete unused contacts after deleting group ( #1503 )
2022-12-06 17:12:39 +04: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
Evgeny Poberezkin
bc28568c63
core: update broker error type ( #1474 )
...
* core: update broker error type
* fix test
* fix test
2022-12-02 15:01:26 +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
60fedbf5d2
core: only create feature items in used contacts ( #1421 )
...
* core: only create feature items in used contacts
* fix, test
2022-11-25 15:37:36 +00:00
Evgeny Poberezkin
4485d46307
mobile: simplex links in UI, core: trusted uri for simplex links ( #1410 )
2022-11-24 17:14:56 +00:00
Evgeny Poberezkin
a7345ee4d9
core: markdown for simplex invitation links ( #1408 )
...
* core: markdown for simplex invitation links
* update markdown for simplex links
* update markdown
* update
* stabilize test
2022-11-24 13:13:26 +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
Evgeny Poberezkin
e6e5faeb9c
core: chat items for group preferences ( #1402 )
...
* core: chat items for group preferences
* chat items for group preference changes and sent item for contact/user prerences changes
* prohibited features, tests
* enable all tests
* fix
2022-11-23 11:04:08 +00:00
Evgeny Poberezkin
2b09fb425d
core: chat items showing preference changes ( #1399 )
2022-11-22 12:50:56 +00:00
Evgeny Poberezkin
7544d2f9e7
core: fix preset servers ( #1392 )
...
* core: fix preset servers
* simplify
* fix
2022-11-21 07:43:41 +00:00
JRoberts
0cb8f8ad82
core: fix group preferences update ( #1385 )
2022-11-18 16:07:40 +04:00
JRoberts
5c2b70a214
core: fix test name
2022-11-17 14:42:28 +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
e14ab0fed0
core: support SMP basic auth / server password ( #1358 )
2022-11-14 08:04:11 +00:00
JRoberts
8b794b2285
core: fix group link tests sporadically failing due to non deterministic events order ( #1353 )
2022-11-12 14:13:34 +04:00
JRoberts
f80f56de61
core: allow repeat connection via group link if group was deleted but contact with host is present ( #1335 )
2022-11-09 21:11:05 +04:00
Evgeny Poberezkin
ad1432e0ee
core: make parsing independent of the order ( #1332 )
...
* core: make parsing independent of the order
* test
* fix
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-11-09 14:48:24 +04:00
JRoberts
21ffe0ad49
core: repeated invite correctly updates role if changed ( #1327 )
2022-11-09 14:12:42 +04: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
5243613045
core: group link connection request uri data; automatically join groups over group links ( #1275 )
2022-11-03 14:46:36 +04:00
Stanislav Dmitrenko
0d0de1da86
core: Test for incognito mode ( #1280 )
2022-11-01 16:05:05 +00: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
179b9e093f
core: merge contacts when connecting via group link ( #1265 )
2022-10-27 23:38:03 +04:00
JRoberts
385ebd2298
core: update deleteGroupMember logic and its usages (no items & expiration) ( #1258 )
2022-10-26 13:37:17 +04:00
JRoberts
d7f319aa9e
core: mark group contacts as used on send, receive, api ( #1253 )
2022-10-25 12:50:26 +04: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
JRoberts
26984b62fe
core: delete broken chat item when removing invited member connected via group link; test removing invited member
2022-10-22 14:23:03 +04: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