Evgeny Poberezkin
66ea2d5d71
Merge branch 'stable'
2023-03-18 08:38:10 +00:00
Evgeny Poberezkin
3dd5b5d835
core: 4.5.4.2 (add stateTVar imports)
2023-03-18 07:59:43 +00:00
Evgeny Poberezkin
428db2f8f4
core: fix unused contact deletion ( #2023 )
...
* core: failing test for leaving and deleting the group joined via link
* fix test
* merge logic
* fix
* add condition
* refactor
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
* compiles
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2023-03-17 16:03:19 +04:00
Evgeny Poberezkin
f915eb2a20
core: initial group member role when joining via link ( #1975 )
...
* core: initial group member role when joining via link
* fix tests
* set role when joining group via link, enable observer test
* show group link when role changes
* amend test
* check role is member or observer when creating a link
2023-03-16 22:19:51 +00:00
Evgeny Poberezkin
2bc1236a2c
terminal: update help, remove user ID from terminal /smp test command ( #1973 )
...
* terminal: update help, remove user ID from terminal /smp test command
* update mobile api
* update help
2023-03-16 22:19:22 +00:00
Evgeny Poberezkin
f2f4b26c35
core: update agent protocol to parameterize by entity type ( #1988 )
...
* core: update agent protocol to parameterize by entity type
* update simplexmq
2023-03-10 17:23:04 +00:00
Evgeny Poberezkin
2817306659
core: types to support xftp ( #1971 )
...
* core: types to support xftp
* migration, amend types
* update protocol / types
* update protocol, types
* update schema, simplexmq
2023-03-09 11:01:22 +00:00
Evgeny Poberezkin
7d49209f79
core: initial group member role when joining via link ( #1975 )
...
* core: initial group member role when joining via link
* fix tests
* set role when joining group via link, enable observer test
* show group link when role changes
* amend test
* check role is member or observer when creating a link
2023-03-06 09:51:42 +00:00
Evgeny Poberezkin
b2e285c2c7
terminal: update help, remove user ID from terminal /smp test command ( #1973 )
...
* terminal: update help, remove user ID from terminal /smp test command
* update mobile api
* update help
2023-03-04 22:33:17 +00:00
Evgeny Poberezkin
2b77920dcd
teminal: option to log errors and service messages to file, closes #1516 ( #1957 )
...
* teminal: option to log errors and service messages to file, closes #1516
* rename function
2023-02-28 23:26:08 +00:00
Evgeny Poberezkin
d5f6b76ec5
core: increase default queue sizes to 1024, fix broadcast bot not to lock when queue is smaller than the number of contacts ( #1955 )
2023-02-26 16:36:11 +00:00
Evgeny Poberezkin
35a1ce4903
core: separate core options to use in bots ( #1937 )
...
* core: separate core options to use in bots
* ci: install pkg-config for mac
2023-02-18 17:39:16 +00:00
Evgeny Poberezkin
7c4c627ee9
terminal: support multiline messages (as JSON strings) ( #1936 )
...
* terminal: support for multiline messages
* fix
* fix tests
2023-02-18 15:16:50 +00:00
JRoberts
bd3325a889
core: show/keep message as moderated for moderator ( #1916 )
2023-02-08 22:29:36 +04:00
JRoberts
9e347484eb
core: avoid using wickAckMessage handler on messages leading to connection deletion ( #1915 )
2023-02-08 21:23:53 +04:00
Evgeny Poberezkin
9e4499de6d
core: allow admins/owners delete member messages ( #1869 )
...
* core: allow admins/owners delete member messages
* allow message deletion to admins/owners
* deleted by types, schema
* check role
* fix test, view
* view, tests
* comment
* test timed deletion events
* refactor
* refactor
* refactor
---------
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2023-02-08 11:08:53 +04:00
Evgeny Poberezkin
155ffd16ec
core: 4.5.1.0
2023-02-05 22:06:27 +00:00
Evgeny Poberezkin
49b6979ff0
core: update simplexmq (not to fail batch subscriptions), terminal: log contact errors with -c option ( #1890 )
2023-02-04 23:13:20 +00:00
Evgeny Poberezkin
0427d2e578
core: prevent failure to acknowledge a group message in case its parsing or saving fails (potential cause for stuck delivery) ( #1887 )
2023-02-04 12:25:11 +00:00
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
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
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
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
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