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
JRoberts
8d53c569c7
core: fix createOrUpdateContactRequest logic ( #650 )
...
* core: fix createOrUpdateContactRequest logic
* remove do
* fix logic
* rename
* refactor
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-05-13 21:57:24 +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
53e330dac9
core: add missing status transitions for group file transfer; fix group file delivery race condition ( #640 )
2022-05-12 17:37:09 +04:00
Evgeny Poberezkin
885a4ea972
terminal: change default servers ( #633 )
2022-05-11 19:52:08 +04: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
1dc3190159
remove debug logs on deletion; android: context menu on contact link ( #621 )
2022-05-09 10:55:56 +04:00
JRoberts
2c61358cb9
add logs to deleteContact
2022-05-07 19:33:47 +04:00
JRoberts
b3641bdf83
fix deletion of contact with files wip ( #614 )
2022-05-07 18:24:38 +04:00
Evgeny Poberezkin
29990765e7
mobile: webrtc calls state machine ( #606 )
...
* mobile: webrtc calls state machine
* android: call api types
* android: call api methods
* ios: connect calls via chat UI (WIP)
* ios: webrtc call connects via UI
* core: update call duration/status when x.call.end is received
* improve call UX/UI
* audio calls
* different overlay for audio calls
* toggle video/audio in the call
2022-05-07 09:40:46 +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
JRoberts
9d47c8a3d4
core: use filename in quote when there is no message text (MCText) ( #607 )
...
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-05-06 12:04:53 +04:00
Evgeny Poberezkin
e80f617840
core, ios: send_v2 api to send messages as JSON (to support filenames with spaces) ( #604 )
2022-05-05 17:04:03 +04:00
Evgeny Poberezkin
7928cdbfb8
core: update sent file status for direct chats when sending complete ( #603 )
...
* core: update sent file status for direct chats when sending complete
* update snd file status when started and completed
2022-05-05 16:50:19 +04: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
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
Evgeny Poberezkin
20d253ea35
core: webrtc calls API implementation ( #593 )
...
* core: webrtc calls API implementation
* process call messages, send events to the UI
2022-05-03 10:22:35 +01:00
Evgeny Poberezkin
cdb919db96
core: webrtc calls api types ( #590 )
...
* core: webrtc calls api
* call: call state, chat items, update commands/responses
* update sequence diagram
* remove CRCallInvitationSent, add CISCallError
2022-05-02 17:06:49 +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
6c72db58f5
core: return AChatItem in FileAccepted and FileStart events ( #585 )
2022-04-29 15:56:56 +04:00
Evgeny Poberezkin
1df9a1ec2d
core: refactor terminal commands ( #583 )
2022-04-28 08:34:21 +01:00
Evgeny Poberezkin
d9572cef86
terminal: command to show last N items in a chat ( #582 )
2022-04-28 07:26:43 +01:00
JRoberts
645587431d
core: fix asynchronous file transfer ( #572 )
2022-04-26 12:52:41 +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
89c36d42e2
ios: pending contact connections UI, core: delete connections on the server when deleting in UI/db ( #565 )
...
* ios: started pending connections UI
* ios: UI for pending contact connections complete
* this has to be getter, or it would break JSON parsing
* ios: update "initiated" status of connection
2022-04-25 10:39:28 +01:00
Evgeny Poberezkin
0470f9cf36
core: batch contact disconnections and re-subscriptions to one event per server ( #564 )
...
* core: batch contact disconnections and re-subscriptions to one event per server
* update simplexmq
* update query to use temp table
* remove old code
2022-04-25 09:17:12 +01: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
14514050ae
core: api for pending contact connections ( #553 )
...
* core: api for pending contact connections
* core: pending contact connection events / api
2022-04-23 17:32:40 +01:00
Evgeny Poberezkin
8257842914
APIRegisterToken returns NtfTknStatus ( #550 )
2022-04-22 20:32:19 +01:00
Evgeny Poberezkin
7c2edff81f
ios: periodic notifications UI ( #548 )
...
* ios: periodic notifications UI
* add missing import
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-04-22 16:46:05 +04: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
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
02d21145b2
core: replace quoted content with MCText if the message itself is not MCText ( #517 )
...
* core: replace quoted content with MCText if the message itself is not MCText
* core: quoteData in ChatMonad (#518 )
* core: quoteData in ChatMonad
* use throwChatError
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-04-11 09:34:59 +01: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
Evgeny Poberezkin
fd69b673d8
terminal: use up arrow to edit the last message ( #514 )
...
* terminal: use up error to edit the last message
* update help
2022-04-10 12:18:53 +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
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
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
Evgeny Poberezkin
c14f692b68
terminal: edit and delete messages for everyone on the chat ( #497 )
2022-04-03 09:44:23 +01:00
Evgeny Poberezkin
eaa2f4cf04
terminal: send broadcast messages ( #477 )
2022-03-29 08:53:30 +01:00
JRoberts
692f37daa2
core: message delete ( #470 )
2022-03-28 20:35:57 +04:00
JRoberts
897c64e0ba
core: use existential connection request type in file invitations to allow switching groups to "contact" requests (restore #464 ) ( #468 )
2022-03-25 22:23:51 +04:00
Evgeny Poberezkin
d4925b7cdd
core: api to update user profile in one request ( #461 )
2022-03-23 20:52:00 +00:00
Evgeny Poberezkin
3c81a44273
message update and delete ( #451 )
...
* core: message update and delete, protocol and command syntax
* edit logic wip
* message updates
* revert project.pbxproj
* corrections, dependency, editable
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-03-23 15:37:51 +04:00