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
Evgeny Poberezkin
c14f692b68
terminal: edit and delete messages for everyone on the chat ( #497 )
2022-04-03 09:44:23 +01:00
Evgeny Poberezkin
ea343b634d
core: fix multiline mardown ( #478 )
...
* core: fix multiline mardown
* add test
2022-03-29 13:18:44 +01:00
JRoberts
692f37daa2
core: message delete ( #470 )
2022-03-28 20:35:57 +04:00