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
ea64be55e1
core: fix cancelling inline file transfer ( #1867 )
...
* core: fix cancelling inline file transfer
* fix test
2023-02-01 00:01:22 +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
Evgeny Poberezkin
a1ed0a84b8
core: use port 7001 for test server ( #1857 )
...
* core: use port 7001 for test server
* enable only failing tests
* start/stop server for every test
* log message that failed to parse
* stop chat synchronously
* print call stack
* add HasCallStack
* increase test timeout
* add call stacks
* more call stacks
* fix test
* disable failing test
* add delay between the tests
* make delay more visible
* remove change in error message
* reduce test delay, increase timeout
* increase delay between the tests
* run each test with a database in a different folder
* folder name
* refactor
* update nix file, more stacks
2023-01-31 11:07:48 +00:00
Evgeny Poberezkin
86151d4ec2
core: drop index causing slow queries ( #1855 )
...
* core: drop index causing slow queries
* update schema
2023-01-29 15:22:09 +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
Evgeny Poberezkin
b386346cf1
core: update syntact for /_delete ( #1831 )
2023-01-24 16:00:32 +00:00
JRoberts
a7a56ea1d9
core: use batch delete api when deleting unused group contacts ( #1830 )
2023-01-24 17:58:08 +04:00
JRoberts
2a20f78877
core: use batch connection deletion api ( #1814 )
2023-01-24 16:24:34 +04:00
Evgeny Poberezkin
e3b22d83ad
Merge branch 'master' into users
2023-01-23 18:45:24 +00:00
Evgeny Poberezkin
3bc4fd222c
core: fix cancelling sending inline files ( #1826 )
...
* core: fix cancelling sending inline files
* add comments
* typos
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2023-01-23 21:17:42 +04:00
JRoberts
1b01dcec6d
core: fix inline file transfer - optional connection ids in RcvFileInfo, update rcv_file_inline on accept ( #1823 )
...
* core: optional connection id in RcvFileInfo
* query
* check snd cancel
* Revert "check snd cancel"
This reverts commit f16651345d .
* update rcv_file_inline
2023-01-23 15:55:19 +00: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
c337a6888d
core: delete previous contact calls when receiving a new one ( #1812 )
2023-01-21 16:40:24 +04:00
JRoberts
e72d4638d2
core: exlude muted chats from user unread count ( #1810 )
2023-01-20 20:48:24 +04:00
JRoberts
7dd4dc3b40
core: support accepting contact requests for non active users (for accepting via notification) ( #1809 )
...
* core: support accepting contact requests for non active users (for accepting via notification)
* getContactRequest'
2023-01-20 17:55:57 +04:00
Evgeny Poberezkin
e9e9286fbb
Merge branch 'master' into users
2023-01-20 12:22:29 +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
JRoberts
cf4105e256
core: add connection id to ContactRef ( #1798 )
2023-01-19 20:54:00 +04: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
Evgeny Poberezkin
84237f79fc
core: refactor ( #1764 )
2023-01-18 10:20:55 +00:00
Evgeny Poberezkin
19881703e5
core: increase default internal queue max size to 1024
2023-01-17 14:07:47 +00:00
JRoberts
a668bd5736
core: cleanup obsolete chat item deletion code (see #1625 ) ( #1787 )
2023-01-17 16:58:36 +04:00
JRoberts
5c7ad0926c
core: add missing fkey indexes ( #1785 )
2023-01-17 15:45:37 +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
3ed5e6e50b
core: support receiving file by id for any user (not only current) ( #1759 )
2023-01-16 17:51:25 +04: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
a040fa65bb
core: run cleanup for all users ( #1746 )
2023-01-14 19:21:10 +04:00
JRoberts
9fc26ca799
core: start chat item expiration thread for new users ( #1745 )
2023-01-14 17:52:40 +04: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
9290fcc6b2
core: set active prompt to none when changing current user ( #1738 )
2023-01-13 21:01:36 +04:00
JRoberts
0c3d643408
core: expire chat items for all users ( #1737 )
2023-01-13 21:01:26 +04:00
Evgeny Poberezkin
e63e158b2d
core: refactor withUserId ( #1735 )
...
* refactor withUserId
* update
* more
2023-01-13 16:24:54 +04:00
JRoberts
fb04108b11
Merge branch 'master' into users
2023-01-13 14:19:21 +04:00
JRoberts
424328b9d1
core: agent users ( #1727 )
2023-01-13 13:54:07 +04:00
JRoberts
dcb82951ed
core: catch errors when sending messages in loops where they haven't been previously caught ( #1729 )
2023-01-12 16:31:27 +04:00