JRoberts
ca64ed9784
core: option to reuse servers for new user; support for users to configure same smp servers (add user_id to smp_servers UNIQUE constraint) ( #1792 )
2023-01-18 18:49:56 +04:00
JRoberts
a227e21fcf
core: support user deletion ( #1788 )
...
* core: support user deletion
* doSendCancel
* Apply suggestions from code review
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
* sendCancel
* refactor
* error to view
* refactor
* refactor
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-01-18 17:08:48 +04:00
JRoberts
2f39cfd86f
core: support marking chat items read for any user ( #1784 )
2023-01-17 13:08:51 +04:00
JRoberts
2fdc23274d
core: return user unread counts on ListUsers command ( #1763 )
...
* core: return user unread counts on ListUsers command
* split
* tests
* refactor
* viewUserInfo
* refactor
* remove omit nothing
* corrections
* fix
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-01-16 18:57:31 +00:00
Evgeny Poberezkin
91a39cae23
core: fix error handling ( #1761 )
...
* core: fix error handling
* fix tests
2023-01-16 17:25:06 +00:00
JRoberts
24c47657f4
Merge branch 'master' into users
2023-01-16 16:37:13 +04:00
JRoberts
cf6afb7687
Merge branch 'master' into users
2023-01-16 16:24:38 +04:00
Evgeny Poberezkin
774af334fd
terminal: command to show the most recent chats ( #1756 )
...
* terminal: command to show the list of the last active chats
* indent for chats without messages, help
* update command in the test
2023-01-16 12:10:47 +00:00
JRoberts
9dc6c1327f
core: manage calls for all users ( #1748 )
2023-01-16 15:06:03 +04:00
Evgeny Poberezkin
af414d7f6e
terminal: options for log level and internal queue sizes ( #1755 )
...
* terminal: log levels
* option for internal queue sizes
2023-01-16 09:13:46 +00:00
JRoberts
e452edb781
core: subscribe all users ( #1743 )
2023-01-14 15:45:13 +04:00
JRoberts
cccdcef914
core: add delays to tests to prevent output races ( #1736 )
2023-01-13 16:26:55 +04:00
JRoberts
424328b9d1
core: agent users ( #1727 )
2023-01-13 13:54:07 +04:00
JRoberts
7323bb4333
Merge branch 'master' into users
2023-01-11 18:38:55 +04:00
JRoberts
41e873d5ca
core: multiple users view, tests ( #1710 )
2023-01-11 11:00:28 +04:00
JRoberts
810f248c74
core: test async file transfer (sender & receiver restarts); close files in stopChatController; handle openFile error in getFileHandle ( #1716 )
2023-01-10 20:52:59 +04:00
JRoberts
ad1b091b18
Merge branch 'master' into users
2023-01-09 17:02:38 +04:00
JRoberts
113c67ec95
core: disable connections on repeat AUTH errors ( #1704 )
2023-01-07 19:47:51 +04:00
JRoberts
ae5deab8d3
core: print error context on agent errors ( #1697 )
2023-01-06 13:11:21 +04:00
JRoberts
bb0482104c
core, ios, android: add UserId to api commands ( #1696 )
2023-01-05 20:38:31 +04:00
Evgeny Poberezkin
edfece3206
core: test for live messages ( #1694 )
2023-01-05 09:08:31 +00:00
JRoberts
fa9e0086f6
core: multiple users api ( #1679 )
...
* api
* UCR
* Revert "UCR"
This reverts commit 1f98d25192 .
* comment
* events User
* events in api User
* CRActiveUser in APISetActiveUser
* process message with/without connection
* refactor
* mute error
* user in api responses
* name
* lost response
* user in CRChatCmdError
* compiles
* user in CRChatError
* -- UserId
* mute unused warning
* catch in withUser
* remove comment
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-01-04 21:06:28 +04:00
Evgeny Poberezkin
13090ff6ed
core: do not log TLS handshake errors by default, option to enable ( #1652 )
...
* core: do not log TLS handshake errors by default, option to enable
* update simplexmq
2022-12-27 12:05:13 +00:00
Evgeny Poberezkin
74245d3f2b
core: agent stats ( #1650 )
2022-12-26 22:24:34 +00:00
Evgeny Poberezkin
aae0802ec8
core: chat items with offered feature ( #1620 )
...
* core: chat items with offered feature
* texts
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
* new preference items
* test
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-12-22 14:56:29 +00:00
JRoberts
ece928d57e
core: update ttl in contact user preference on profile update, fix api, tests; fix global user preferences not being updated in controller state ( #1617 )
2022-12-21 19:54:44 +04:00
JRoberts
9e045a44db
Revert "core: confirm ttl change to ensure consistent setting ( #1587 )"
...
This reverts commit 34e08b2058 .
2022-12-21 14:10:05 +04:00
JRoberts
34e08b2058
core: confirm ttl change to ensure consistent setting ( #1587 )
...
* core: confirm ttl change to ensure consistent setting
* wip
* confirm_pref_pending
* xInfo
* test api
* send confirmPrefProfile
* refactor
* don't return contact
* refactor profile update
* refactor further
* refactor further
* refactor xInfo
* refactor xInfo further
* refactor
2022-12-20 22:00:46 +04:00
Evgeny Poberezkin
5e9b7366cc
core: refactor chat item updates ( #1611 )
...
* core: refactor chat item updates
* removed unused function
* refactor
* refactor
2022-12-20 12:58:15 +00:00
Evgeny Poberezkin
64fb1f0b85
core: do not start disappearing timer for live messages until they stop being live, and start it on item update instead, provided they are read ( #1609 )
...
* core: do not start disappearing timer for live messages until they stop being live, and start it on item update instead, provided they are read
* change delays in tests
* diffInSeconds
2022-12-20 10:17:29 +00:00
JRoberts
84e43c57f6
core: ttl in feature chat items, view responses ( #1595 )
...
* core: ttl in feature chat items, view responses
* fix tests
* fix test
* view
* refactor
* use prefChangedValue
* use groupPrefChangedValue
* use cupIntValue
* simplify types
* groupFeatureState
* groupPrefToText
* prefToText, view
* remove prefFeature
* rename intValue -> param
* int -> param
* timedTTLText
* remove pragma
* restore pragma
* simplify
* timedTTLText
* fix tests
* off, after
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-12-19 21:18:59 +04:00
Evgeny Poberezkin
86271fe109
terminal: support live messages ( #1597 )
...
* terminal: toggle live message updates
* terminal: send live messages (#1599 )
* terminal: send live messages
* show edited messages
* send and continue live message with Alt-Enter
* truncate live messages to full words
* remove comments
* refactor
* refactor to avoid clearing live message prompt and show it faster
* $
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-12-19 11:16:50 +00:00
JRoberts
5dab099b5c
core: increase thread delays in timed messages tests
2022-12-19 11:21:51 +04:00
Evgeny Poberezkin
4ab7e5e1c8
terminal: command to get last item ID (to reference it in the tests) ( #1596 )
...
* terminal: command to get last item ID (to reference it in the tests)
* lastItemId
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-12-17 19:33:58 +04:00
JRoberts
f128ebac87
core: timed messages terminal api, tests ( #1591 )
2022-12-17 14:49:03 +04:00
JRoberts
cee403c1ed
core: simplify terminal mark messages read logic ( #1589 )
2022-12-16 15:56:16 +04:00
Evgeny Poberezkin
6b8705e9f4
core: support for live messages ( #1577 )
2022-12-16 11:51:04 +04:00
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