* 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>
* 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>
* initial mobile app design draft
* add proposals
* xcode project
* refactor function to send to view as parameter
* export C interface
* remove unused files
* run chat from chatInit
* split chatStart to a separate function
* replace file-embed with QQ
* add mobile views
* server using IP address
* pass dbFilePrefix as parameter to chatInit
* comment on enabling logging
* fix mobile db config
* update C API, make user non-optional in ChatController
* restore SMP server addresses
* revert the change in the tests
* flip dependency - now Controller depends on Terminal
* make ChatController independent of terminal package
* fix Main.hs
* add iOS .gitignore
* refactor Simplex.Chat.Terminal
Co-authored-by: Efim Poberezkin <8711996+efim-poberezkin@users.noreply.github.com>
* started chat protocol
* text message example
* events json
* same style comments
* jsonc
* num for rendering
* try to fix comment rendering
* revert num
* chat protocol: make msg params closer to types
* AppMessage type
* combine new and old simplexmq dependencies
* json parsers
* version-compatible types for connection requests
* more parsers
* remove import
* decode/encode from/to AppMessage
* make group invitation a property in params
* switch chat to the new agent
* remove "compatibility" attempt
* new JSON encoding for chat messages
* simplexmq from github
* update MsgContent name
Co-authored-by: Efim Poberezkin <8711996+efim-poberezkin@users.noreply.github.com>
* groups when in status invited - list as invitations on /gs
* don't list on start
* test
* refactor
* getUserGroupDetails
* update simplexmq to 0.5.2, update resolver
Co-authored-by: Efim Poberezkin <8711996+efim-poberezkin@users.noreply.github.com>