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
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
Evgeny Poberezkin
fe0e5e8b89
terminal: version 1.3.3 ( #447 )
...
* terminal: show version from .cabal file
* update welcome message
* terminal: helo on message quotes
* terminal: allow replies in groups without specifying a member
* core: update version to 1.3.3
2022-03-19 09:04:53 +00:00
Evgeny Poberezkin
3340bea150
core: api to remove profile image ( #448 )
2022-03-19 07:42:54 +00:00
Evgeny Poberezkin
148474e1ba
core: change quoted messages types/protocol ( #443 )
...
* core: change quoted messages types/protocol
* remove comments and unused field
* rename CIQuote type
* change type for quote direction to allow unknown group member, use QuotedMsg to save received chat item
* change queries of quoted items when the sending group member is known
* refactor
* fix: make ciQuote polymorphic
2022-03-16 13:20:47 +00:00
Evgeny Poberezkin
806f417e99
message replies and chat item references ( #394 )
...
* rfc for message replies and chat item references
* update replies rfc
* save received/sent shared message ids, migration and types for replies
* include reply/forward into MsgContent type
* add sharedMsgId to CIMeta
* save/get shared_msg_id to/from chat items table
* parameterize CIRef by chat type
* add CIRef to ChatItem when it is read from the db
* terminal command to send message replies
* include quoted content into chat items
* quoted message direction in direct chats (TODO test)
* test for replies with quotes to group messages - own and others
* split MsgContainer from MsgContent
* make quoting usable in the terminal
* add formattedText to quotes
* rename migration
* update JSON encoding for MsgContainer
* allow quoted replies to messages from clients not supporting it/not sending msg IDs
* update rfc
* fix group replies
* add APISendMessageQuote and use it for terminal commands
* change how quoted messages are shown in groups
2022-03-13 19:34:03 +00:00
John Roberts
90a18186d9
configurable smp servers ( #366 , #411 ); core: profile images ( #384 )
...
* core: configurable smp servers (#366 )
* core: update simplexmq hash
* core: update simplexmq hash (fix SMPServer json encoding)
* core: fix crashing on supplying duplicate SMP servers
* core: update simplexmq hash (remove SMPServer FromJSON)
* core: update simplexmq hash (merged master)
* core: profile images (#384 )
* adding initial RFC
* adding migration SQL
* update RFC
* linting
* Apply suggestions from code review
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
* refine RFC
* add avatars db migration to Store.hs
* initial chages to have images in users/groups
* fix protocol tests
* update SQL & MobileTests
* minor bug fixes
* add missing comma
* fix query error
* refactor and update functions
* bug fixes + testing
* update to parse base64 web format images
* fix parsing and use valid padded base64 encoded image
* fix typos
* respose to and suggestions from review
* fix: typo
* refactor: avatars -> profile_images
* fix: typo
* swap updateProfile parameters
* remove TODO
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
* ios, android: configurable smp servers (only model and api for android) (#392 )
* android: configurable smp servers (ui)
* fix thumb color, fix text field color in dark mode
* update simplexmq hash (configurable servers in master)
Co-authored-by: IanRDavies <ian_davies_@hotmail.co.uk >
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-03-10 15:45:40 +04:00
Efim Poberezkin
722f836714
core: sort group messages by timestamp ( #400 )
2022-03-05 20:32:29 +04:00
Efim Poberezkin
5961b7d951
asynchronously subscribe to user connections ( #310 )
...
* asynchronously subscribe to user connections
* send subscription status summaries to view/api
* refactor
* add help messages in summaries
* update simplexmq
* rename config field
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-02-25 12:29:36 +00:00
Evgeny Poberezkin
51f5982205
markdown: parse emails and phone numbers ( #365 )
...
* markdown: parse emails and phone numbers
* phone parsing
* refactor
2022-02-24 07:55:18 +00:00
Evgeny Poberezkin
48dbd079cf
core: improve markdown parsing and recognise URIs ( #352 )
2022-02-22 22:18:35 +04:00
Evgeny Poberezkin
0d88fcc758
core: send parsed markdown via API ( #349 )
2022-02-22 14:05:45 +00:00
Evgeny Poberezkin
739990c732
terminal: make input responsible for echo to keep commands synchronous (as in mobile) and avoid echo delays ( #343 )
...
* terminal: make input responsible for echo to keep commands synchronous (as in mobile) and avoid echo delays
* use echo
Co-authored-by: Efim Poberezkin <8711996+efim-poberezkin@users.noreply.github.com >
Co-authored-by: Efim Poberezkin <8711996+efim-poberezkin@users.noreply.github.com >
2022-02-21 12:05:00 +00:00