Evgeny Poberezkin
c37f41c171
use sync commands ( #306 )
2022-02-14 19:36:15 +00:00
Evgeny Poberezkin
44d8b549c4
return version number to mobile ( #303 )
2022-02-14 21:51:50 +04:00
Efim Poberezkin
928dd27043
prepare v1.2.0 ( #302 )
2022-02-14 21:21:16 +04: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
92409820fb
enable async commands ( #290 )
...
* enable async
* fix async command error response
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-02-11 12:03:34 +04:00
Efim Poberezkin
771bc6a14d
prepare v1.1.1 ( #289 )
2022-02-10 20:08:29 +04: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
Evgeny Poberezkin
408a30c25b
simplify mobile API to have single controller ( #274 )
...
* simplify mobile API to have single controller
* update chat response in swift
* add async to stack
2022-02-06 16:18:01 +00:00
Evgeny Poberezkin
7d06d0660d
Merge pull request #266 from simplex-chat/ep/fix-utf8-api
...
fix utf8 encoding for C API requests
2022-02-04 12:46:45 +00:00
Evgeny Poberezkin
c34eddb82a
fix utf8 encoding for C API requests
2022-02-04 12:41:43 +00:00
Efim Poberezkin
9969606432
fix utf8 encoding when writing to database
2022-02-04 14:30:00 +04:00
Evgeny Poberezkin
71a60795cf
Merge pull request #263 from simplex-chat/ep/ios-fixes
...
configure build for device/simulator
2022-02-04 08:17:18 +00:00
Evgeny Poberezkin
d07ce0b8f4
use 8 byte characters, as encoding is handled elsewhere
2022-02-04 08:15:25 +00:00
Evgeny Poberezkin
565bc70843
sync commands
2022-02-04 08:02:48 +00:00
Efim Poberezkin
7924861810
sort chat items by id ( #264 )
2022-02-04 11:12:12 +04:00
Efim Poberezkin
4724669bce
prepare v1.1.0 ( #259 )
2022-02-02 23:50:43 +04:00
Evgeny Poberezkin
292c334460
make slow commands asynchronous ( #258 )
2022-02-02 21:47:27 +04:00
Evgeny Poberezkin
dafdf66ada
update entity connection status to report it correctly ( #257 )
2022-02-02 17:01:12 +00: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
Evgeny Poberezkin
1d1ba8607e
send message integrity errors to view as a separate notification ( #253 )
2022-02-02 11:43:52 +00:00
Evgeny Poberezkin
9f6385f763
update connection status in entity used in controller notifications ( #252 )
...
* update connection status in entity used in controller notifications
* remove unused code
2022-02-02 11:31:01 +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
Evgeny Poberezkin
0b86402ce3
fix constructor name for JSON encoding ( #248 )
2022-02-01 07:16:02 +00:00
Evgeny Poberezkin
2295f7a92b
update commands ( #247 )
2022-02-01 09:31:34 +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
Evgeny Poberezkin
15a91278d6
API to send direct and group messages ( #239 )
...
* API to send direct and group messages
* update API parsing
2022-01-30 10:49:13 +00:00
Evgeny Poberezkin
8425be0612
use aeson fork with nullableToObject option to make JSON compatible with Swift ( #236 )
2022-01-29 20:21:37 +00:00
Efim Poberezkin
d97a8c1934
getGroupChat, getGroupChatPreviews_ ( #233 )
2022-01-29 16:06:08 +04:00
Efim Poberezkin
55dde3531e
most recent chat items in getDirectChatPreviews_ ( #232 )
2022-01-28 19:24:31 +04:00
Evgeny Poberezkin
c3a8ae1eb5
chats API for mobile ( #230 )
...
Co-authored-by: Efim Poberezkin <8711996+efim-poberezkin@users.noreply.github.com >
2022-01-28 14:41:09 +04:00
Efim Poberezkin
edc9560d36
getDirectChat ( #227 )
...
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-01-28 11:52:10 +04:00
Evgeny Poberezkin
37cfb93217
switch to JSON single field encodings for sum types to align with Swift enums ( #229 )
2022-01-27 22:01:15 +00:00
Evgeny Poberezkin
0ba4598ca2
JSON encoding for ChatResponse and all other types used in mobile API ( #226 )
...
* JSON encoding for ChatResponse and all other types used in mobile API
* omit null corrId in response, refactor
* more JSON field names
2022-01-26 21:20:08 +00:00
Efim Poberezkin
ecb5b0fdeb
add getChatPreviews to Store ( #225 )
2022-01-26 21:19:46 +04:00
Efim Poberezkin
6cf23f1fd1
chat items ( #223 )
...
* add chat items migration
* chat and chat items types
* queries draft
* ChatInfo with optional ChatItem
* schema adjustments
* flat schema and queries
* refactor ChatResponse using ChatItem types
* schema adjustments
* refactor GroupInfo to include GroupMember of the user
* remove Message
* createNewChatItem, sendDirectChatItem
* refactor to use GroupInfo in Chat type and all ChatResponses
* replace ContactName with Contact in some ChatResponse constructors
* remove Group selectors
* minor correction
* refactor
* refactor 2
* nullable created_by_msg_id
* remove normalized schema and queries
* ON DELETE CASCADE / SET NULL
* CIContent to Text
* files chat_item_id
* fix
* apply ciContentToText
* queries folder
* refactor
* moar refactor
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-01-26 16:18:27 +04:00
Evgeny Poberezkin
b86f034c0b
update C api to return JSON messages via chat_recv_msg ( #224 )
2022-01-24 22:52:55 +00:00
Evgeny Poberezkin
b38d5f3465
started chat model ( #221 )
...
* started chat model
* refactor processing commands and UI events
* message chat event processing
* groups: delayed delivery of messages and introductions to announced members (#217 )
* combine migrations, rename fields
* show all view messages vis ChatResponse type
* serialize chat response
* update C api
* remove unused extensions, fix typos
Co-authored-by: Efim Poberezkin <8711996+efim-poberezkin@users.noreply.github.com >
2022-01-24 16:07:17 +00:00