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
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
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
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
6c72db58f5
core: return AChatItem in FileAccepted and FileStart events ( #585 )
2022-04-29 15:56:56 +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
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
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
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
JRoberts
692f37daa2
core: message delete ( #470 )
2022-03-28 20:35:57 +04:00
JRoberts
0b45ddfc79
mobile: message update (restore #460 ) ( #469 )
2022-03-25 22:26:05 +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
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
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
c242f0079c
core: add fks to messages ( #368 )
2022-02-25 21:59:35 +04:00
Evgeny Poberezkin
8f21453e82
fix markdown type for Colored, add types/parsing for formatted text to iOS/android ( #358 )
2022-02-23 08:45:49 +00:00
Evgeny Poberezkin
0d88fcc758
core: send parsed markdown via API ( #349 )
2022-02-22 14:05:45 +00:00
Efim Poberezkin
4419051347
connection precedence logic in getContact_ (fixes asynchronous establishment of connection) ( #300 )
2022-02-14 18:49:42 +04:00
Efim Poberezkin
dc306dfcd0
option to auto-accept contact requests ( #296 )
2022-02-14 14:59:11 +04:00
Efim Poberezkin
c1c55ca700
deduplicate contact requests ( #287 )
...
* deprecate XContact
* XInfoId
* xInfoId tests
* merging
* saving on connection
* connectByAddress
* remove old connect
* deduplicate contact requests
* check on contact acceptance
* test
* rename response
* reuse CRContactRequestAlreadyAccepted
* Update src/Simplex/Chat.hs
* createConnReqConnection
* simplify controller logic
* store methods + profile change
* index
* more indices
* unXInfoId
* simplify
* XInfo with ID -> XContact
* sync reply to Connect when contact already exists
* update view for sync CRContactAlreadyExists command response
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-02-13 09:19:24 +00:00
Efim Poberezkin
ff7a8cade1
test chat items ( #285 )
2022-02-09 20:58:02 +04:00
Efim Poberezkin
7af4cdffee
add unreadCount and minUnreadItemId stats to Chat type ( #283 )
2022-02-08 20:38:57 +04:00
Efim Poberezkin
b06838b651
add APIChatRead chat command ( #282 )
2022-02-08 17:27:43 +04:00
Efim Poberezkin
855881094b
add CRContactConnecting api response ( #281 )
2022-02-08 13:04:17 +04:00
Efim Poberezkin
d11d66fa90
connection precedence logic in getDirectChatPreviews_; update item status in object ( #279 )
2022-02-07 18:34:54 +04:00
Efim Poberezkin
f5507436f3
chat item status, CRChatItemUpdated api response ( #269 )
2022-02-07 15:19:34 +04:00
Evgeny Poberezkin
8efb8b2f86
use simplified chat controller, fix keyboard removing on tap ( #275 )
2022-02-06 18:26:22 +00:00
Efim Poberezkin
7924861810
sort chat items by id ( #264 )
2022-02-04 11:12:12 +04:00
Efim Poberezkin
88a33990b7
sort chats w/t items by time of creation; created_at & updated_at in all tables; merge v1.1 migrations ( #255 )
...
* merge migrations; timestamps
* contact created_at
* group, contact request created_at
* sort
* redundant imports
2022-02-02 16:25:36 +00:00
Efim Poberezkin
a8a7bb3c99
return accepted contact from APIAcceptContact ( #250 )
2022-02-01 17:04:44 +04:00
Efim Poberezkin
228c118714
api for chat pagination ( #249 )
2022-02-01 15:05:27 +04:00
Efim Poberezkin
6d5b5ab44f
getContactRequestChatPreviews_ ( #245 )
2022-01-31 22:43:39 +04:00
Efim Poberezkin
0a18985e68
contact requests api ( #244 )
...
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-01-31 21:53:53 +04:00
Efim Poberezkin
047aa7deef
delete contact api ( #243 )
...
* delete contact api
* chat command
2022-01-31 11:14:56 +00:00
Efim Poberezkin
945ed3f7cb
fix queries returning duplicate contacts ( #242 )
2022-01-31 13:20:26 +04:00
Evgeny Poberezkin
e29ea99d2c
getChats returns [Chat] with 0-1 item instead of [ChatPreview] ( #240 )
2022-01-30 21:51:23 +00:00