Evgeny Poberezkin
b206868730
core: add grop member role "observer" ( #1868 )
...
* core: add grop member role "observer"
* disable observer role until supported by most clients
2023-02-01 13:57:39 +00:00
Evgeny Poberezkin
13bd51b97d
core: prevent making all users inactive when duplicate user is created ( #1862 )
...
* core: prevent making all users inactive when duplicate user is created
* skip async group test
2023-01-31 12:24:18 +00:00
JRoberts
74df35d3b0
core: add multiple users tests for subscription, chat item expiration, timed messages ( #1840 )
2023-01-25 19:29:09 +04:00
JRoberts
bc1d86e303
core: send agent DEL events to view ( #1832 )
2023-01-24 20:07:35 +04:00
JRoberts
2a20f78877
core: use batch connection deletion api ( #1814 )
2023-01-24 16:24:34 +04:00
Evgeny Poberezkin
bcc80be8e9
Merge branch 'master' into users
2023-01-22 23:08:53 +00:00
Evgeny Poberezkin
114b76e3f8
core: update version response ( #1819 )
...
* core: update version response
* add simplexmq commit and version to version info
* refactor
2023-01-22 15:16:45 +00:00
Evgeny Poberezkin
c72aa5d074
Merge branch 'master' into users
2023-01-21 23:14:26 +00:00
Evgeny Poberezkin
8ff8f9d695
core: add build timestamp to version information ( #1816 )
2023-01-21 22:56:33 +00:00
JRoberts
ef15dca0b4
core: don't filter out non active user connections on UP & DOWN agent events; use agent connection id instead of db connection id for ContactRef ( #1807 )
2023-01-20 15:02:27 +04:00
Evgeny Poberezkin
69ca731641
core: process push notifications for any user ( #1806 )
...
* core: process push notifications for any user
* return regardless
* refactor
* more refactor
2023-01-20 10:48:25 +00:00
Stanislav Dmitrenko
ba29d0242e
core: add user to RcvCallInvitation ( #1797 )
...
* core: Include user into RcvCallInvitation
* update build
* parens
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-01-19 16:00:41 +00:00
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
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
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
6e0addbea3
core: add user to CRSmpTestResult response ( #1744 )
2023-01-14 15:45:42 +04:00
JRoberts
e452edb781
core: subscribe all users ( #1743 )
2023-01-14 15:45:13 +04:00
JRoberts
0c3d643408
core: expire chat items for all users ( #1737 )
2023-01-13 21:01:26 +04:00
JRoberts
424328b9d1
core: agent users ( #1727 )
2023-01-13 13:54:07 +04:00
JRoberts
ad1b091b18
Merge branch 'master' into users
2023-01-09 17:02:38 +04:00
Evgeny Poberezkin
4dc2a1b72d
Revert "core: include commit information in /v response ( #1705 )"
...
This reverts commit 3d4e4e2ef9 .
2023-01-08 13:13:13 +00:00
Evgeny Poberezkin
3d4e4e2ef9
core: include commit information in /v response ( #1705 )
2023-01-07 16:38:35 +00: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
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
74245d3f2b
core: agent stats ( #1650 )
2022-12-26 22:24:34 +00: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
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
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