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
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
50b90c4814
core: use 12 bytes IV for WebRTC frame encryption with AES-GCM ( #1951 )
...
* core: use 12 bytes IV for WebRTC frame encryption with AES-GCM
* refactor
2023-02-25 17:52:23 +00:00
Evgeny Poberezkin
a2e5733be6
core: update/fix webrtc frame encryption function to return error ( #1950 )
...
* core: update/fix webrtc frame encryption function to return error
* ios: update C header
* more tests
2023-02-24 20:55:59 +00:00
Evgeny Poberezkin
0ebf1da05d
core: WebRTC frames encryption ( #1942 )
...
* core: WebRTC frames encryption
* test
2023-02-19 23:51:50 +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
Evgeny Poberezkin
b7575ec01d
core: encrypt/decrypt WebRTC frames ( #1935 )
...
* core: encrypt/decrypt WebRTC frames
* swift API
* add decrypt stub
* change name
* remove unused type
* move functions
* update cabal file
* copy bytes from encrypted string
2023-02-16 20:25:37 +00:00
Evgeny Poberezkin
a0351d6f99
apps: update chat bots, readme ( #1928 )
...
* apps: update chat bots, readme
* CLI readme
* broadcast bot
* delete messages from non-publishers, better replies, support forwarding low-res images and links
* typo
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
* change
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2023-02-14 07:57:27 +00:00
JRoberts
bd3325a889
core: show/keep message as moderated for moderator ( #1916 )
2023-02-08 22:29:36 +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
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
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
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
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
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
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
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
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