Evgeny Poberezkin
a403f2051a
core: add timestamp to call invitation ( #700 )
2022-05-27 09:30:01 +04: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
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
JRoberts
84bf815e5c
core: fully delete direct chat items; clear chat API ( #658 )
2022-05-17 11:22:09 +04: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
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
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
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