Evgeny Poberezkin
89908ef5dc
core: chat item on skipped messages ( #705 )
...
* core: chat item integrity
* create chat item on skipped messages (but only on content items)
* report skipped messages on all messages, not only content messages
* remove type signature
* remove migration
* update rfc
2022-05-28 19:13:07 +01:00
Evgeny Poberezkin
b56ad77502
core: mark accepted and rejected call items read ( #704 )
2022-05-28 12:34:40 +01:00
Evgeny Poberezkin
a403f2051a
core: add timestamp to call invitation ( #700 )
2022-05-27 09:30:01 +04:00
Evgeny Poberezkin
546ad01fcb
ios: integrating webrtc calls with callkit ( #686 )
...
* ios: integrating webrtc calls with callkit
* accept call via chat item (e.g. when DND is on, and callkit blocks the call); refactor
* fix remote video, support logging from ios
* use callkit depending on CallController setting
* call sound
* update incoming call view
* fixing audio encryption
* refactor encryption webrtc fix
* log ontrack success/error
* accept / ignore call via notification
* remove unused imports
* remove unused file
* remove comments
2022-05-24 19:34:27 +01:00
JRoberts
6ad2eeec89
terminal: add /image command to send file as image ( #681 )
...
* terminal: add /image command sending file as image
* terminal: forward file commands
* terminal: update help
* terminal: update placeholder image
* Update src/Simplex/Chat/Help.hs
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
* help
* allow forwarding sent file
* typo
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-05-21 15:17:15 +01:00
JRoberts
3f2ca8f902
mobile: use updated_at in chat previews ( #671 )
...
* mobile: use updated_at in chat previews
* use updated_at returned from chat response
* refactor
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-05-20 12:00:58 +04:00
Evgeny Poberezkin
9c9f6d8443
webrtc: show connection information, mark call as missed if it ends while pending ( #672 )
2022-05-20 07:43:44 +01:00
JRoberts
d50ebbd061
core: mark cleared chat as updated to keep it in the same place on restart ( #670 )
2022-05-19 21:57:31 +04:00
Evgeny Poberezkin
0a134e2ded
terminal: update chat help ( #666 )
2022-05-19 09:18:38 +04:00
Evgeny Poberezkin
e4a66c767c
core: fix webrtc state machine ( #665 )
2022-05-18 18:46:45 +01:00
Evgeny Poberezkin
dc418923ac
mobile: webrtc calls ( #661 )
...
* mobile: webrtc calls work on Android and iOS separately
* core: only send public key with offer if invitation/current call supports e2ee
* update npm module
2022-05-18 10:01:32 +04:00
JRoberts
106dceabfc
mobile: clear chat; allow to delete items deleted by sender ( #660 )
...
* ios: clear chat
* android: clear chat
* fix chat stats
* fixes
* check if deleted
* delete from files for groups
* android - fixes
* Update apps/android/app/src/main/java/chat/simplex/app/model/ChatModel.kt
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
* Update apps/android/app/src/main/java/chat/simplex/app/model/ChatModel.kt
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-05-17 22:48:54 +04: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
9bf7821444
core: delete profiles ( #654 )
2022-05-14 21:00:46 +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
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
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
ca4d1910db
split delete transaction ( #620 )
2022-05-08 22:03:45 +04:00
JRoberts
8773a058bf
delete from files; delete from chat_items
2022-05-07 21:25:29 +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
96b514af45
core: update webrtc types ( #599 )
2022-05-04 23:32:46 +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
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
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
fc5cdc5eb1
mobile: use batched DOWN/UP events, core: include pending contacts ( #573 )
...
* mobile: use batched DOWN/UP events, core: include pending contacts
* query style
2022-04-26 07:51:06 +01: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