Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

sort chats w/t items by time of creation; created_at & updated_at in all tables; merge v1.1 migrations #255

Merged
merged 5 commits into from
Feb 2, 2022

Conversation

spaced4ndy
Copy link
Contributor

No description provided.

@spaced4ndy spaced4ndy changed the title merge migrations; timestamps sort chats w/t items by time of creation; created_at & updated_at in all tables; merge v1.1 migrations Feb 2, 2022
@spaced4ndy spaced4ndy marked this pull request as ready for review February 2, 2022 15:17
@epoberezkin epoberezkin merged commit 88a3399 into master Feb 2, 2022
@epoberezkin epoberezkin deleted the e/timestamps branch February 2, 2022 16:25
epoberezkin added a commit that referenced this pull request Feb 3, 2022
* readme: building from stable branch

* add option to enable logging (#216)

Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>

* fix Windows CI to fail when commands fail, use fixed terminal package (#214)

* fix windows CI

* use fixed terminal package

Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>

* add loggin option to test

* export C interface, started mobile app (#210)

* 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>

* prepare v1.0.2 (#218)

* update dependencies

* update version and dependencies

* add tls@1.5.7 to stack.yaml

* update readme

Co-authored-by: Efim Poberezkin <8711996+efim-poberezkin@users.noreply.github.com>

* test android app (#219)

* use Haskell library (#220)

* 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>

* haskell nix flake CI (#222)

* Adds preliminary flake

This nix flake should be enough to try and build an android library.

* add sha256map

* bump

* bump index-state

Co-authored-by: Moritz Angermann <moritz.angermann@gmail.com>

* update C api to return JSON messages via chat_recv_msg (#224)

* 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>

* add getChatPreviews to Store (#225)

* 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

* update sha256map.nix

* switch to JSON single field encodings for sum types to align with Swift enums (#229)

* getDirectChat (#227)

Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>

* chats API for mobile (#230)

Co-authored-by: Efim Poberezkin <8711996+efim-poberezkin@users.noreply.github.com>

* most recent chat items in getDirectChatPreviews_ (#232)

* swift API for chat, started chat UI (#228)

* started swift API for chat

* skeleton UI

* show all chat responses in Terminal view

* show chat list in UI

* refactor swift API

* getGroupChat, getGroupChatPreviews_ (#233)

* add readme for ios setup (#234)

* use aeson fork with nullableToObject option to make JSON compatible with Swift (#236)

* ios: group chat preview (#235)

* show received messages in chat, send command on Enter, fix Date parsing (#237)

* refactor UI and API, send command on Enter, fix Date parsing

* UI sheets to create connection and groups

* show received messages

* readme

* API to send direct and group messages (#239)

* API to send direct and group messages

* update API parsing

* iOS: send/receive messages in chats, connect via QR code (#238)

* send messages from chats

* update API to use chat IDs

* send messages to groups

* generate invitation QR code

* connect via QR code

* getChats returns [Chat] with 0-1 item instead of [ChatPreview] (#240)

* fix queries returning duplicate contacts (#242)

* delete contact api (#243)

* delete contact api

* chat command

* contact requests api (#244)

Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>

* getContactRequestChatPreviews_ (#245)

* iOS: chats and messages layout (#241)

* iOS: chats and messages layout

* model update for updated API

* improve chat list view

* chat view layouts

* delete contacts

* larger headers, clean up, move message reception loop to ContentView

* settings: user profile

* update API commands syntax

* update commands (#247)

* fix constructor name for JSON encoding (#248)

* api for chat pagination (#249)

* return accepted contact from APIAcceptContact (#250)

* add support for user addresses (#246)

* add support for user addresses

* started processing contact requests

* update command syntax

* fix: make Profile Codable

* accept/reject contact requests

* update API, accept/reject contact requests

* connect via link with simplex: protocol (#251)

* update connection status in entity used in controller notifications (#252)

* update connection status in entity used in controller notifications

* remove unused code

* send message integrity errors to view as a separate notification (#253)

* ios: fix message view updates (refactor model to make it shallow) (#254)

* 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

* refactor files, auto-scrollback for messages (#256)

* update entity connection status to report it correctly (#257)

* make slow commands asynchronous (#258)

* prepare v1.1.0 (#259)

* create release as prerelease; fix windows build (#261)

* add animations (#260)

* add animations

* improve settings screen

* app icons

* iOS version 1.0.1

Co-authored-by: Efim Poberezkin <8711996+efim-poberezkin@users.noreply.github.com>
Co-authored-by: Moritz Angermann <moritz.angermann@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants