Evgeny Poberezkin
c06a970987
core: message reactions ( #2429 )
...
* core: message reactions
* remove comments
* core: commands to set reactions
* fix tests
* process reaction messages
* store functions
* include reactions on item updates
* remove print
* view, tests
* load reactions for new items
* test removing reaction
* remove spaces
* limit the number of different reactions on one item
* remove unique constraints
* fix permissions
* indexes
* check chat item content before adding reaction
* fix group reactions
* simpler index
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
2023-05-15 11:28:53 +01:00
spaced4ndy
88059a2cc5
core: allow to set disappearance interval when sending message; don't check content change on live item updates ( #2423 )
...
* core: allow to set disappearance interval when sending message
* remove commented code
* enable tests
* don't check content change on live item updates
* update logic
* rename variable
* refactor, restore that received message can disabled disappearing
* refactor
* Revert "refactor"
This reverts commit 60dee29d76
.
* separate event
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2023-05-11 16:00:01 +04:00
spaced4ndy
ad7e4488ef
core: time actions on chat start ( #2417 )
2023-05-10 15:18:50 +04:00
spaced4ndy
63f344bde6
ios: view edit history; core: prohibit item updates w/t changes ( #2413 )
...
* ios: view edit history; core: prohibit item updates w/t changes
* read more less wip
* Revert "read more less wip"
This reverts commit 8e0663377b
.
* comment for translations
2023-05-09 20:43:21 +04:00
Evgeny Poberezkin
0b8d9d11e2
core, iOS: support for self-destruct password ( #2412 )
...
* core, iOS: support for self-destruct password
* disable test logging
* core: fix tests, iOS: remove notifications on removal
* change alerts
2023-05-09 09:33:30 +01:00
spaced4ndy
c87f4e68f7
core: keep chat item edit history ( #2410 )
2023-05-08 20:07:51 +04:00
spaced4ndy
54fc052e47
core: remove msg_delivery_events unique constraint (recreates table); cleanup old messages ( #2376 )
2023-05-05 13:49:09 +04:00
Evgeny Poberezkin
5116bfa79c
cli: option to disable notifications, closes #2340 ( #2373 )
2023-05-03 16:40:11 +01:00
spaced4ndy
e3011a1cb0
core: disable creation of decryption errors chat items ( #2365 )
2023-05-02 19:38:58 +04:00
spaced4ndy
0b57cc08a7
core, ios: include contact addresses in profiles ( #2328 )
...
* core: include contact links in profiles
* add connection request link to contact and group profiles
* set group link on update, view, api
* core: include contact addresses in profiles
* remove id from UserContactLink
* schema, fix test
* remove address from profile when deleting link, tests
* remove diff
* remove diff
* fix
* ios wip
* learn more, confirm save, reset on delete
* re-use in create link view
* remove obsolete files
* color
* revert scheme
* learn more with create
* layout
* layout
* progress indicator
* delete text
* save on change, layout
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2023-04-27 17:19:21 +04:00
Evgeny Poberezkin
591aa9eaa5
core: get all chat items API ( #2333 )
...
* core: get all chat items API
* test
2023-04-27 08:12:34 +01:00
spaced4ndy
a06393f520
core: file status command for XFTP files ( #2222 )
2023-04-21 13:36:44 +04:00
spaced4ndy
4d700d113d
core, ios: mark files to receive from NSE, receive marked files on chat start ( #2218 )
2023-04-20 16:52:55 +04:00
spaced4ndy
b386cc83a7
core, mobile: enable xftp by default ( #2198 )
2023-04-18 13:49:09 +04:00
spaced4ndy
09481e09b6
core, mobile: file error statuses, cancel sent file ( #2193 )
2023-04-18 12:48:36 +04:00
Evgeny Poberezkin
5f41cf3c52
core: change default for Disappearing Messages to "allow", mobile: support disabling without prohibiting ( #2192 )
...
* core: change default for Disappearing Messages to "allow", mobile: support disabling without prohibiting
* fix tests
* disable tests back in CI
* fixed tests 2
* remove enable
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
2023-04-17 18:13:10 +01:00
spaced4ndy
9edbe2e589
core: fix sending file to empty group ( #2191 )
2023-04-17 15:33:15 +04:00
Evgeny Poberezkin
b6876712f0
core: chat preference for audio/video calls ( #2188 )
...
* core: chat preference for audio/video calls
* correction
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
* clean up
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
2023-04-17 10:18:04 +01:00
Evgeny Poberezkin
5b4c183466
core: do not create decryption error chat items for earlier messages ( #2189 )
...
* core: do not create decryption error chat items for earlier messages
* do not report earlier error, mobile items, fix tests
2023-04-16 18:30:25 +01:00
Evgeny Poberezkin
aea526f69d
core: add chat items to indicate decryption failures due to ratchets being out of sync ( #2175 )
...
* core: add chat items to indicate decryption failures due to ratchets being out of sync
* show ratchet errors in chat items, show all integrity errors
* show decryption errors, tests
* ios: chat items, remove item for duplicate messages
* android: decryption errors chat items
* eol
2023-04-16 11:35:45 +01:00
spaced4ndy
90dffc975a
core: request and save extra recipient file descriptions ( #2170 )
2023-04-12 14:47:54 +04:00
Evgeny Poberezkin
1a3f0bed47
core: update servers API to include XFTP servers, ios: generalize UI to manage servers ( #2140 )
...
* core: update servers API to include XFTP servers, ios: generalize UI to manage servers
* add test
* update migrations to pass tests
* fix readme
* update simplexmq
2023-04-05 21:59:12 +01:00
Evgeny Poberezkin
10301aa742
terminal: autocomplete contacts, groups and commands ( #2125 )
...
* terminal: autocomplete contacts, groups and commands
* autocomplete for commands and member names
* update commands
* show variants
* improve
* improve
* do not show user in contacts, better state machine for tab states
* update CI runners
2023-04-04 14:58:26 +01:00
Evgeny Poberezkin
12fb2a4ec5
ci: move to ubuntu 20/22, disable 2 tests in CI ( #2142 )
...
* ci: move to ubuntu 20/22
* skip test on mac
* skip some tests on mac CI
* skip test on CI
* skip test unconditionally
* skip on CI only
2023-04-04 13:09:07 +01:00
spaced4ndy
73638129bc
core: cancel file transfer when chat item is marked deleted ( #2137 )
2023-04-03 18:49:22 +04:00
spaced4ndy
1a7a79d504
core: allow repeat receive after cancel for XFTP files ( #2134 )
2023-04-03 16:31:18 +04:00
spaced4ndy
f00cfa9108
core, mobile: CRSndFileCompleteXFTP event ( #2107 )
2023-03-30 19:45:18 +04:00
spaced4ndy
b20824e16c
core: notify about xftp errors ( #2105 )
2023-03-30 18:36:39 +04:00
spaced4ndy
6b725a8ef7
ios, android: cancel file UI; core: cancel file fixes ( #2100 )
...
backend fixes:
- check file is not complete on CancelFile,
- check file is not cancelled when processing XFTP events,
- mark SMP file cancelled if recipient cancelled in direct chat.
2023-03-30 14:10:13 +04:00
Evgeny Poberezkin
935d826a21
core, ios: unhiding user profiles always requires password ( #2101 )
2023-03-29 19:28:06 +01:00
Evgeny Poberezkin
a8c8137ade
core: fix current user becoming incorrect after hiding or (un)muting inactive user profile ( #2098 )
...
* core: fix current user becoming incorrect after hiding or (un)muting inactive user profile
* refactor test
2023-03-29 17:39:04 +01:00
spaced4ndy
af73e5993d
core: test xftp group file transfer ( #2088 )
2023-03-28 15:22:42 +04:00
Evgeny Poberezkin
0c3dc8a6e9
core: add down migrations and fix test
2023-03-27 19:39:22 +01:00
Evgeny Poberezkin
1f15cf54af
Merge branch 'master' into xftp
2023-03-27 18:57:14 +01:00
Evgeny Poberezkin
c96ba30018
core: support down migrations to allow reverting to the previous version ( #2072 )
...
* core: support down migrations to allow reverting to the previous version
* update schema
* update simplexmq
* rename errors
* remove unused functions
* migration UI, test migration
* update migration UI
* return current migrations in CRVersionInfo
* update simplexmq
* test down migrations
* cleanup ios
* show migrations in log
2023-03-27 18:34:48 +01:00
spaced4ndy
babbca48f8
Merge branch 'master' into xftp
2023-03-23 13:58:23 +04:00
spaced4ndy
2a9c138a23
xftp: set xftp config ( #2059 )
2023-03-22 22:20:12 +04:00
Evgeny Poberezkin
06a0dbd0f2
core, iOS: hidden and muted user profiles ( #2025 )
...
* core, ios: profile privacy design
* migration
* core: user profile privacy
* update nix dependencies
* update simplexmq
* import stateTVar
* update core library
* update UI
* update hide/show user profile
* update API, UI, fix test
* update api, UI, test
* update api call
* fix api
* update UI for hidden profiles
* filter notifications on hidden/muted profiles when inactive, alerts
* updates
* update schema, test, icon
2023-03-22 15:58:01 +00:00
spaced4ndy
47c6daf0cc
xftp: set app tmp directory ( #2054 )
2023-03-22 18:48:38 +04:00
spaced4ndy
60d6a47bdb
xftp: delete agent rcv files on completion, error, item delete ( #2040 )
2023-03-21 15:21:14 +04:00
Evgeny Poberezkin
858f0f2650
Merge branch 'master' into xftp
2023-03-18 08:38:27 +00:00
Evgeny Poberezkin
66ea2d5d71
Merge branch 'stable'
2023-03-18 08:38:10 +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
spaced4ndy
34a3387830
core: xftp servers option; use local xftp server in tests ( #2015 )
2023-03-16 14:12:19 +04:00
spaced4ndy
12200a74ff
core: XFTP file transfer test ( #2009 )
2023-03-16 10:49:57 +04: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
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
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
4a58ca60ac
core: split tests ( #1870 )
2023-02-01 17:21:13 +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
2a20f78877
core: use batch connection deletion api ( #1814 )
2023-01-24 16:24:34 +04:00
Evgeny Poberezkin
a0bf298b66
Merge branch 'master' into users
2023-01-23 18:45:52 +00:00
JRoberts
ab4e4e1db9
core: test cancelling inline file transfer ( #1827 )
...
* core: test cancelling inline file transfer
* tests
2023-01-23 18:27:44 +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
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
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
Evgeny Poberezkin
bc28568c63
core: update broker error type ( #1474 )
...
* core: update broker error type
* fix test
* fix test
2022-12-02 15:01:26 +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
60fedbf5d2
core: only create feature items in used contacts ( #1421 )
...
* core: only create feature items in used contacts
* fix, test
2022-11-25 15:37:36 +00:00
Evgeny Poberezkin
4485d46307
mobile: simplex links in UI, core: trusted uri for simplex links ( #1410 )
2022-11-24 17:14:56 +00:00
Evgeny Poberezkin
a7345ee4d9
core: markdown for simplex invitation links ( #1408 )
...
* core: markdown for simplex invitation links
* update markdown for simplex links
* update markdown
* update
* stabilize test
2022-11-24 13:13:26 +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
Evgeny Poberezkin
e6e5faeb9c
core: chat items for group preferences ( #1402 )
...
* core: chat items for group preferences
* chat items for group preference changes and sent item for contact/user prerences changes
* prohibited features, tests
* enable all tests
* fix
2022-11-23 11:04:08 +00:00
Evgeny Poberezkin
2b09fb425d
core: chat items showing preference changes ( #1399 )
2022-11-22 12:50:56 +00:00
Evgeny Poberezkin
7544d2f9e7
core: fix preset servers ( #1392 )
...
* core: fix preset servers
* simplify
* fix
2022-11-21 07:43:41 +00:00
JRoberts
0cb8f8ad82
core: fix group preferences update ( #1385 )
2022-11-18 16:07:40 +04:00
JRoberts
5c2b70a214
core: fix test name
2022-11-17 14:42:28 +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
Evgeny Poberezkin
f8302e2030
core: SMP server connection test ( #1367 )
...
* core: SMP server connection test
* fix test
* update simplexmq
2022-11-15 18:31:29 +00:00
JRoberts
b5a812769b
core: full/merged preferences in User, Contact, GroupInfo types ( #1365 )
...
* core: preferences in User, Contact, GroupInfo types
* user and group preferences
* refactor
* linebreak
* remove synonyms
* refactor
* refactor
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-11-15 10:31:44 +04:00
Evgeny Poberezkin
e14ab0fed0
core: support SMP basic auth / server password ( #1358 )
2022-11-14 08:04:11 +00:00
JRoberts
8b794b2285
core: fix group link tests sporadically failing due to non deterministic events order ( #1353 )
2022-11-12 14:13:34 +04:00
JRoberts
f80f56de61
core: allow repeat connection via group link if group was deleted but contact with host is present ( #1335 )
2022-11-09 21:11:05 +04:00
Evgeny Poberezkin
ad1432e0ee
core: make parsing independent of the order ( #1332 )
...
* core: make parsing independent of the order
* test
* fix
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
2022-11-09 14:48:24 +04:00
JRoberts
21ffe0ad49
core: repeated invite correctly updates role if changed ( #1327 )
2022-11-09 14:12:42 +04:00
Evgeny Poberezkin
89de5497ef
core: update chat preferences ( #1292 )
...
* core: update chat preferences
* refactor, types
* rename types
* rename types
* make voice on by default
* create new user with empty preferences
* fix test
2022-11-04 21:05:21 +04:00
JRoberts
5243613045
core: group link connection request uri data; automatically join groups over group links ( #1275 )
2022-11-03 14:46:36 +04:00
Stanislav Dmitrenko
0d0de1da86
core: Test for incognito mode ( #1280 )
2022-11-01 16:05:05 +00:00
Stanislav Dmitrenko
4e5a5c11dc
core: Chat preferences ( #1261 )
...
* core: Preferences
* Changes
* fix types
* Follow up
* Review
* Review
* update logic
* update
* update 2
* Tests
* Fixed a bug and tests
* Voice -> voice messages
* refactor
* fix
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-11-01 14:32:49 +00:00
Evgeny Poberezkin
a72f603e13
core: switch connection ( #1277 )
...
* core: switch connection
* chat items for SWITCH
* additional events for connection switch
* update simplexmq
* test
* comment test output
* update messages for connection switch
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
2022-11-01 13:26:08 +00:00
JRoberts
179b9e093f
core: merge contacts when connecting via group link ( #1265 )
2022-10-27 23:38:03 +04:00
JRoberts
385ebd2298
core: update deleteGroupMember logic and its usages (no items & expiration) ( #1258 )
2022-10-26 13:37:17 +04:00
JRoberts
d7f319aa9e
core: mark group contacts as used on send, receive, api ( #1253 )
2022-10-25 12:50:26 +04:00
Evgeny Poberezkin
7f544da6cf
core: debug chat and agent locks, update simplexmq ( #1243 )
...
* core: debug chat and agent locks, update simplexmq
* add connId
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
* update lock strings
* fix encoding test
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
2022-10-22 21:22:44 +01:00
JRoberts
26984b62fe
core: delete broken chat item when removing invited member connected via group link; test removing invited member
2022-10-22 14:23:03 +04:00
Stanislav Dmitrenko
1470b8d128
core: auto accept via address and incognito mode specified ( #1233 )
...
* core: Auto accept via address and incognito mode specified
* Fix test
* Refactoring
* No forcing
* Apply suggestions from code review
* refactor
* refactor AutoAccept
* Test
* Test
* allow different test output order
* rename
* rename
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
2022-10-21 17:14:12 +01:00
JRoberts
5bcb725ea5
core: exclude contacts accepted via group link from chat previews ( #1234 )
...
* RGEInvitedViaGroupLink
* CRSentGroupInvitationViaLink
* via_group_link filtering
* reset
* refactor
* remove brackets
2022-10-21 17:35:07 +04:00
JRoberts
98cb1c39f2
core: allow to delete contacts that are in groups; group contacts management rfc ( #1229 )
2022-10-20 19:27:00 +04:00
Evgeny Poberezkin
c4fc8a97b1
core: option to receive file inline up to maximum "offered" size ( #1232 )
...
* core: option to receive file inline up to maximum "offered" size
* comment
2022-10-20 14:32:20 +01:00
Stanislav Dmitrenko
213b586f8f
core: Forcing chat unread ( #1228 )
...
* core: Forcing chat unread
* Implementation
* Renaming
* Removed unused code
* test
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-10-19 19:38:44 +01:00
Evgeny Poberezkin
fb03a119ea
core: support inline file transfers ( #1187 )
...
* core: support inline file transfers
* parameterize ChatMessage
* send files inline when accepted
* accept inline file transfers (almost works)
* db error SERcvFileInvalid
* inline file transfer works (TODO fix test)
* inline file transfer tests, change encodings
* fixture
* combine messages into x.file.acpt.inv, refactor
* inline file mode
* decide whether to receive file inline on the recipient side, not only via file invitation
* test inline files "sent" mode
* check that file was offered inline
* update schema
* enable encryption tests
* test name
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
* fix the list of rcv files to subscribe too
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
2022-10-14 13:06:33 +01:00
JRoberts
3bf8361911
core: group links ( #1194 )
2022-10-13 17:12:22 +04:00
JRoberts
135bdf3842
core: optimize bulk chat item deletion 2 ( #1172 )
2022-10-05 19:54:28 +04:00
JRoberts
cd6cad9a96
core: optimize bulk chat item deletion ( #1168 )
...
* core: optimize bulk chat item deletion
* test file deletion
* refactor
* refactor
2022-10-03 22:33:36 +01:00
Evgeny Poberezkin
58f6b168e6
core: protocol/commands to change member role ( #1159 )
...
* core: protocol/commands to change member role
* change member roles
* add test
* correction
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
* add member profile to group member role events
* resend invitation when invited member role changes
* test role change with invitation, fix
* add delays to tests
* add test delay
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
2022-10-03 09:00:47 +01:00
Evgeny Poberezkin
9c5acd609c
core: author role, allow member to add new members on the receiving end ( #1149 )
...
* core: author role, allow member to add new members on the receiving end
* remove unused name
* remove author role from parser
2022-10-01 20:30:47 +01:00
JRoberts
a3bd51a5fa
core: speed up tests ( #1157 )
2022-10-01 14:54:02 +04:00
JRoberts
ef28215284
core: fully delete group chat items instead of overwriting content ( #1154 )
2022-10-01 14:31:21 +04:00
JRoberts
428d3cdba5
core: delete connections asynchronously ( #1151 )
2022-09-30 16:18:43 +04:00
JRoberts
9cb2542079
core: scheduled deletion ( #1075 )
...
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-09-28 20:47:06 +04:00
Evgeny Poberezkin
fe6cd91a61
core: connection alias, store invitation link with connection ( #1137 )
...
* core: connection alias, store invitation link with connection
* update contact with connection alias, test
* use type alias
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
2022-09-27 20:45:46 +01:00
Evgeny Poberezkin
6c7e81777e
ci: windows build ( #1128 )
...
* ci: windows build
* enable windows build
* fix intermittently failing test
2022-09-26 17:02:06 +01:00
Evgeny Poberezkin
a977a0dd17
core: single function to initialize the chat controller only if encryption key is correct ( #1107 )
2022-09-23 22:22:56 +04:00
Evgeny Poberezkin
08e0d7339f
Merge branch 'master' into sqlcipher
2022-09-14 18:46:03 +01:00
JRoberts
c07d4a5e4e
core: use async agent commands when establishing connections w/t user action ( #977 )
...
* wip
* wip
* wip
* schema
* schema
* wip
* wip
* rework
* revert
* update simplexmq
* async commands
* corr id wip
* wip
* update simplexmq
* corr id
* wip
* rename variable
* wip
* refactor
* ACK continuation
* wip
* fix queries
* fix queries
* clean up schema
* update simplexmq, do not lock on stopping chat
* clean up
* refactor
* refactor
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-09-14 19:45:21 +04:00
Evgeny Poberezkin
06835ee3fc
ios: additional db encryption UX ( #1031 )
...
* ios: additional db encryption UX
* typo
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
* fixes
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
2022-09-08 17:36:16 +01:00
Evgeny Poberezkin
3f5ca84c84
core: fix error reporting of sqlcipher export errors ( #1029 )
2022-09-07 17:20:47 +01:00
Evgeny Poberezkin
7072dd4f7e
core: fix api for encryption ( #1025 )
2022-09-06 21:25:07 +01:00
Evgeny Poberezkin
a611040c41
Merge branch 'master' into sqlcipher
2022-09-05 15:37:08 +01:00
Evgeny Poberezkin
b232b6132f
terminal: commands to mute/unmute contacts and groups ( #1018 )
...
* terminal: commands to mute/unmute contacts and groups
* tests
2022-09-05 15:23:38 +01:00
Evgeny Poberezkin
082e12683b
core: change database encryption API to require current passphrase on all changes ( #1019 )
2022-09-05 14:54:39 +01:00
Evgeny Poberezkin
2b5e3a9459
core: C API to migrate and check database ( #1008 )
...
* core: C API to migrate and check database
* update simplexmq
2022-09-02 16:38:41 +01:00
Evgeny Poberezkin
3613fc953e
core: encrypt chat database ( #988 )
...
* core: encrypt chat database
* check DB key error on start
* function to encrypt database
* encrypt database command
* decrypt, rekey
* remove rekey, refactor
* test for db encryption/decryption
* update simplexmq
2022-08-31 18:07:34 +01:00
Evgeny Poberezkin
02ca7234fb
use SQLCipher ( #981 )
...
* use SQLCipher
* pass encryption key via CLI options
* update dependencies to use git
* add CONTRIBUTING.md
* move flag, enable build in sqlcipher branch
* update dependencies
2022-08-30 12:49:07 +01:00
JRoberts
2fc6873c42
core: simplify incognito feature - remove host/invitee incognito profiles communication; remove incognito mode group creation and join; use same incognito profile known to host when joining ( #978 )
2022-08-27 19:56:03 +04:00
JRoberts
53a71cf28c
core: contact aliases ( #968 )
2022-08-24 19:03:43 +04:00
JRoberts
5e67654249
core: incognito connections ( #926 )
2022-08-18 11:35:31 +04:00
Evgeny Poberezkin
e9cddd6ca3
core: add search parameter name to /_get chat api ( #939 )
2022-08-16 19:56:21 +01:00
Evgeny Poberezkin
aac80dacf7
core: host connection events
2022-08-13 14:18:12 +01:00
Evgeny Poberezkin
e43be1ad8b
core: support multiple hostnames in server addresses ( #930 )
...
* core: support multiple hostnames in server addresses
* add onion hosts
* update simplexmq, fix test
* fix parsing servers with multiple hostnames
2022-08-13 11:53:53 +01:00
JRoberts
7531791f1b
core: chat search ( #914 )
2022-08-08 22:48:42 +04:00
Evgeny Poberezkin
7f959103c1
docs: SimpleX Chat Protocol ( #906 )
...
* docs: SimpleX Chat Protocol
* chat message JTD schema, protocol draft
* update protocol, group diagram
* update heading
* add protocol reference to readme
* skip async group test
2022-08-07 16:43:09 +01:00
Evgeny Poberezkin
55adbb4692
core: clear group content on deletion, break transaction to prevent error on Android, more logs ( #892 )
...
* core: log group deletion
* clear group content, break transaction, add logs
2022-08-04 11:12:50 +01:00
Evgeny Poberezkin
4ad1abcbfa
core: support passing all network configuration to the agent ( #868 )
...
* core: support passing all network configuration to the agent
* update simplexmq
2022-08-02 15:36:12 +01:00
Evgeny Poberezkin
999923bcf9
core: allow creating groups with the same display name; mobile: update group status when group deleted by another member or user removed ( #859 )
2022-07-31 18:54:49 +01:00
Evgeny Poberezkin
0c58adff08
core: editing group profiles (no conflict resolution) ( #851 )
...
* core: editing group profiles with conflict resolution
* update group profiles
* fix group update
* add test, add group profile to chat items, update terminal output
* Update apps/android/.idea/gradle.xml
2022-07-29 19:04:32 +01:00
JRoberts
aa7e377bce
ios: groups miscellaneous ( #843 )
...
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-07-27 11:16:07 +04:00
Evgeny Poberezkin
4fd13c637c
core: access messaging servers via SOCKS5 proxy ( #835 )
...
* core: access messaging servers via SOCKS5 proxy
* update option info
* update simplexmq
2022-07-23 14:49:04 +01:00
JRoberts
5e71deaa3d
core: auxiliary group chat items ( #821 )
2022-07-20 16:56:55 +04:00
Evgeny Poberezkin
13fbb66a21
core: use batched subscriptions ( #818 )
...
* core: use batched subscriptions
* update simplexmq
* remove comments
* clean up
* refactor
* remove todo
* revert change
* revert change
* remove comment
* add delay to the async group test
* add more delay in test
2022-07-17 15:51:17 +01:00
JRoberts
eb89eec5b5
core: backend for group invitations UI (status, db, updates) ( #815 )
2022-07-15 17:49:29 +04:00
JRoberts
db87984dda
core: group invitation chat item ( #814 )
2022-07-14 22:04:23 +04:00
JRoberts
494de9bc43
core: test async group connections ( #804 )
2022-07-12 14:59:53 +04:00
Evgeny Poberezkin
111acb0813
core: use NTF scheme for notification server address ( #774 )
...
* core: use NTF scheme for notification server address
* simplexmq
2022-07-06 08:46:04 +01:00
Evgeny Poberezkin
687e3be9ac
iOS: update call invitations when exiting background ( #771 )
...
* core: communicate call invitations state between NSE and app via db
* enable tests
* delete calls, encoding
* load calls on start
* remove line
* remove table alias
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
2022-07-04 14:15:25 +04:00
Evgeny Poberezkin
13603f009b
update simplexmq (fixes v2 connecting to v1 contact link)
2022-06-29 09:04:53 +01:00
Evgeny Poberezkin
41c9742b0d
core: auto-reply message for user contact addresses ( #755 )
...
* core: auto-reply message for user contact addresses
* terminal: show auto accept status and message
* test
2022-06-27 19:41:25 +01:00
Evgeny Poberezkin
4bf5125c51
core: support combining store functions in one transaction ( #740 )
...
* refactor store functions (WIP - does not compile yet)
* update chat
* update simplexmq
2022-06-18 20:06:13 +01:00
Evgeny Poberezkin
c62d99ab97
core: remove connection pool ( #738 )
...
* core: remove connection pool
* remove local ref from cabal.project
* update simplexmq
* log test
* fix test
2022-06-16 20:00:51 +01:00
Evgeny Poberezkin
6f195c4167
core add chat_recv_msg_wait and chat_parse_markdown to published API ( #736 )
2022-06-11 11:52:55 +01:00
Evgeny Poberezkin
716a941dc6
core: use duplex handshake (agent v2) ( #735 )
...
* core: use duplex handshake (agent v2)
* version test matrix
* update simplexmq
2022-06-09 14:52:12 +01:00
Evgeny Poberezkin
16bd9ccc4f
core: send SMP notification msg flag based on chat message ( #733 )
...
* core: send SMP notification msg flag based on chat message
* update simplexmq
* remove unnecessary condition
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
2022-06-07 14:14:54 +01:00
Evgeny Poberezkin
f341e54128
Export & import storage archive ( #726 )
...
* core: import and export of chat archive
* export chat archive
* import archive, support starting chat after it is stopped
* test for maintenance mode
* test/fix archive with files
* prevent starting chat after chat database was deleted or imported
* update simplexmq
2022-06-06 16:23:47 +01:00
Evgeny Poberezkin
295cec7c53
terminal: support to connect via webrtc ( #659 )
...
* terminal: support to connect via webrtc
* npm package
* update webrtc npm package
* remove console.log
* fix test
2022-05-17 08:37:00 +01:00
JRoberts
84bf815e5c
core: fully delete direct chat items; clear chat API ( #658 )
2022-05-17 11:22:09 +04:00
Evgeny Poberezkin
82445ec8d5
android: refactor webrtc calls, compress webrtc session info, make compatible with Safari (with flag) ( #642 )
...
* use simplex.chat relay
* update webrtc settings
* WebRTCView to use command/response types
* compress WebRTC session descriptions, simple web UI for calls
* update webrtc ui
* use webworked in desktop browser
* use RTCRtpScriptTransform in safari
* update android type
* refactor
* add await
2022-05-16 19:27:58 +01:00
JRoberts
03eaa94324
test: delay after mobile tests to fix SQLite IO error on Mac ( #653 )
2022-05-14 20:10:46 +04:00
Evgeny Poberezkin
b7860ad0e8
simplex-chat server & JavaScript/TypeScript SDK/client ( #539 )
...
* simplex-chat server
* typescript types for chat commands and command serialization
* typescript ChatResponse type
* more types
* more types
* websocket chat client
* aligb ts/haskell types
* chat server & TS client via websockets - it works
* TS chat client test
* TS chat client test
* update test
* more api functions
* more api methods, refactor, readme
* squaring chat bot example, fixes
* update readme
* remove console.log
* npm version 0.1.0
2022-05-13 19:44:03 +01:00
Evgeny Poberezkin
c1eed47463
core: mark chat as read without specifying the items range, closes #647 ( #648 )
...
* core: mark chat as read without specifying the items range, closes #647
* moar tests
2022-05-13 09:38:14 +01:00
JRoberts
0262ab53bf
core: improve file cancel ( #627 )
...
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-05-11 16:18:28 +04:00
JRoberts
4dcf1f8d15
test: add missing fields to ServerConfig
2022-05-09 18:53:39 +04:00
Evgeny Poberezkin
e575e97019
core: update _send api, remove _send_quote, use new api in tests ( #608 )
2022-05-06 09:17:49 +01:00
Evgeny Poberezkin
dbf6b1f673
core: use filename in quote when there is no message text ( #602 )
2022-05-05 14:52:32 +04:00
Evgeny Poberezkin
cf04a9fed3
add AChatItem to snd file events ( #601 )
2022-05-05 13:37:53 +04:00
Evgeny Poberezkin
80c5a151a2
core: fix mac tests ( #600 )
2022-05-05 07:37:33 +01:00
Evgeny Poberezkin
96b514af45
core: update webrtc types ( #599 )
2022-05-04 23:32:46 +01:00
Evgeny Poberezkin
3e19e495de
Merge branch 'master' into webrtc-calls
2022-05-04 13:39:40 +01:00
Evgeny Poberezkin
1ddd17839b
core: calls api - support multiple calls, process status updates from webview, refactor, tests ( #595 )
...
* core: tests for call api (WIP, test fails)
* fix test
* add APICallStatus, tests
* update call status based on webview events, refactor
2022-05-04 13:31:00 +01:00
JRoberts
260a758b82
test: fix race condition caused by small file transfer (sender cancelled) ( #596 )
2022-05-04 09:09:59 +04:00
Evgeny Poberezkin
63f531259d
fix test for /t
2022-05-02 10:57:35 +01:00
Evgeny Poberezkin
26d3e71c4e
fix test for /t
2022-05-01 14:07:37 +01:00
Evgeny Poberezkin
2b1ab01efe
terminal: /tail all messages (for all chats) ( #589 )
...
* terminal: /tail all messages (for all chats)
* tests
2022-04-30 21:23:14 +01:00
JRoberts
dd592c7db3
core: discontinue old file protocol (send); use MCFile when sending and receiving files ( #587 )
2022-04-30 19:18:46 +04:00
Evgeny Poberezkin
305052ecaf
core: api to resubscribe connections ( #586 )
...
* core: api to resubscribe connections
* update simplexmq
2022-04-30 12:47:50 +01:00
JRoberts
c48a516586
core: MCFile ( #580 )
2022-04-28 09:40:51 +04:00
JRoberts
645587431d
core: fix asynchronous file transfer ( #572 )
2022-04-26 12:52:41 +04:00
Evgeny Poberezkin
f02dcc851e
core: fix mac tests ( #576 )
...
* core: fix mac tests
* enable all tests
2022-04-26 09:08:39 +01:00
JRoberts
762024dfd9
test: fix race condition caused by small file transfer ( #577 )
2022-04-26 11:51:46 +04:00
Evgeny Poberezkin
cd2eb9c88e
core: test async handshake ( #569 )
...
* core: test async handshake
* Update tests/ChatTests.hs
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
2022-04-25 19:30:21 +04:00
Evgeny Poberezkin
48ba6472b6
core: add updatedAt to UserContactRequest and to PendingContactConnection, use it to sort the list of chats, tests ( #563 )
2022-04-24 09:05:54 +01:00
Evgeny Poberezkin
9de28c46a0
core: update test ( #561 )
2022-04-23 18:23:29 +01:00
Evgeny Poberezkin
f594774579
ios: push notifications ( #482 )
...
* ios: get device token for push notifications
* ios: receive messages when background notification is received
* add notifications API, update simplexmq
* chat API to register and verify notification token
* update AppDelegate to recognize different notification types, update simplexmq
* core: api to enable periodic background notifications
* update simplexmq
* chat API to delete device notification token
* use base64url encoding in verification code
* update simplexmq for notifications
2022-04-21 20:04:22 +01:00
JRoberts
effd37402a
SMP AUTH error processing and descriptions ( #544 )
...
* SMP AUTH error descriptions
* change text
* android error description
* Update apps/android/app/src/main/res/values/strings.xml
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
* Update apps/android/app/src/main/res/values-ru/strings.xml
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
* fix translations
* Apply suggestions from code review
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-04-21 11:50:24 +04:00
Evgeny Poberezkin
2058e904e6
core: refactor files folder support ( #532 )
...
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
2022-04-15 16:16:34 +04:00
JRoberts
e560ed8327
core: support files folder for mobile, delete files, chat item in CRRcvFileComplete ( #530 )
2022-04-15 09:36:38 +04:00
Evgeny Poberezkin
fa313caa82
terminal: refactor chat core used in terminal app and in bot examples ( #516 )
...
* terminal: refactor chat core used in terminal app and in bot examples
* fix tests
* refactor
2022-04-10 17:13:06 +01:00
JRoberts
13f84f2a96
core: sending messages with files ( #507 )
...
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-04-10 13:30:58 +04:00
Evgeny Poberezkin
8ef27de503
update simplexmq, cabal flag, fix tests
2022-04-08 09:21:56 +01:00
JRoberts
8dd324b9b3
core: images api ( #506 )
...
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-04-06 13:21:06 +04:00
JRoberts
de64f3a1a0
tests: maintain schema dump ( #505 )
2022-04-05 12:44:22 +04:00
JRoberts
a5ca2c2163
core: new files protocol ( #492 )
2022-04-05 10:01:08 +04:00
Evgeny Poberezkin
7012005feb
core: MsgContent for link previews, API to parse markdown ( #504 )
2022-04-04 19:51:49 +01:00