Evgeny Poberezkin
b7575ec01d
core: encrypt/decrypt WebRTC frames ( #1935 )
...
* core: encrypt/decrypt WebRTC frames
* swift API
* add decrypt stub
* change name
* remove unused type
* move functions
* update cabal file
* copy bytes from encrypted string
2023-02-16 20:25:37 +00:00
Evgeny Poberezkin
a0351d6f99
apps: update chat bots, readme ( #1928 )
...
* apps: update chat bots, readme
* CLI readme
* broadcast bot
* delete messages from non-publishers, better replies, support forwarding low-res images and links
* typo
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
* change
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
2023-02-14 07:57:27 +00:00
JRoberts
5405f44f54
core: 4.5.2.0
2023-02-09 16:34:44 +04:00
Evgeny Poberezkin
9e4499de6d
core: allow admins/owners delete member messages ( #1869 )
...
* core: allow admins/owners delete member messages
* allow message deletion to admins/owners
* deleted by types, schema
* check role
* fix test, view
* view, tests
* comment
* test timed deletion events
* refactor
* refactor
* refactor
---------
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
2023-02-08 11:08:53 +04:00
Evgeny Poberezkin
155ffd16ec
core: 4.5.1.0
2023-02-05 22:06:27 +00:00
Evgeny Poberezkin
2473d14baa
core: 4.5.0.4, update simplexmq
2023-02-03 11:32:32 +00:00
Evgeny Poberezkin
d0f0013755
core: 4.5.0.3
2023-02-02 08:20:12 +00:00
Evgeny Poberezkin
4a58ca60ac
core: split tests ( #1870 )
2023-02-01 17:21:13 +00:00
Evgeny Poberezkin
46d15d1811
core: 4.5.0.2
2023-02-01 00:03:37 +00:00
Evgeny Poberezkin
3eb51eca58
core: v4.5.0.1
2023-01-29 18:52:38 +00:00
Evgeny Poberezkin
86151d4ec2
core: drop index causing slow queries ( #1855 )
...
* core: drop index causing slow queries
* update schema
2023-01-29 15:22:09 +00:00
Evgeny Poberezkin
f5f61c5806
core: update simplexmq, v4.5.0.0
2023-01-28 13:59:46 +00:00
Evgeny Poberezkin
c72aa5d074
Merge branch 'master' into users
2023-01-21 23:14:26 +00:00
Evgeny Poberezkin
8ff8f9d695
core: add build timestamp to version information ( #1816 )
2023-01-21 22:56:33 +00:00
Evgeny Poberezkin
e9e9286fbb
Merge branch 'master' into users
2023-01-20 12:22:29 +00:00
JRoberts
ca64ed9784
core: option to reuse servers for new user; support for users to configure same smp servers (add user_id to smp_servers UNIQUE constraint) ( #1792 )
2023-01-18 18:49:56 +04:00
Evgeny Poberezkin
80e0bfb61f
core: v4.4.4
2023-01-17 18:10:47 +00:00
JRoberts
5c7ad0926c
core: add missing fkey indexes ( #1785 )
2023-01-17 15:45:37 +04:00
JRoberts
cf6afb7687
Merge branch 'master' into users
2023-01-16 16:24:38 +04:00
Evgeny Poberezkin
af414d7f6e
terminal: options for log level and internal queue sizes ( #1755 )
...
* terminal: log levels
* option for internal queue sizes
2023-01-16 09:13:46 +00:00
JRoberts
fb04108b11
Merge branch 'master' into users
2023-01-13 14:19:21 +04:00
JRoberts
424328b9d1
core: agent users ( #1727 )
2023-01-13 13:54:07 +04:00
JRoberts
4c960bdc44
4.4.2
2023-01-12 16:46:28 +04:00
Evgeny Poberezkin
13ebaf587e
4.4.1-beta.1: iOS 112, Android 86
2023-01-10 23:21:37 +00:00
Evgeny Poberezkin
4dc2a1b72d
Revert "core: include commit information in /v response ( #1705 )"
...
This reverts commit 3d4e4e2ef9
.
2023-01-08 13:13:13 +00:00
Evgeny Poberezkin
3d4e4e2ef9
core: include commit information in /v response ( #1705 )
2023-01-07 16:38:35 +00:00
JRoberts
113c67ec95
core: disable connections on repeat AUTH errors ( #1704 )
2023-01-07 19:47:51 +04:00
JRoberts
54190ffff9
core: add db indexes for faster group deletion ( #1664 )
2022-12-30 16:34:42 +04:00
JRoberts
84d2c408ce
core: optimize chat loading time - faster chat previews queries (item_status index for chat stats), fix live file transfers queries ( #1630 )
...
* core: optimize get chat previews queries (item_status index for chat stats)
* cleanup
* optimize chat loading time
* cleanup
* schema
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-12-23 18:37:02 +04:00
Evgeny Poberezkin
da12b651e4
4.4.0
2022-12-22 21:31:07 +00:00
JRoberts
74a20ef70c
core: sort chat previews by chat ts ( #1625 )
2022-12-22 17:43:10 +04:00
JRoberts
9e045a44db
Revert "core: confirm ttl change to ensure consistent setting ( #1587 )"
...
This reverts commit 34e08b2058
.
2022-12-21 14:10:05 +04:00
JRoberts
34e08b2058
core: confirm ttl change to ensure consistent setting ( #1587 )
...
* core: confirm ttl change to ensure consistent setting
* wip
* confirm_pref_pending
* xInfo
* test api
* send confirmPrefProfile
* refactor
* don't return contact
* refactor profile update
* refactor further
* refactor further
* refactor xInfo
* refactor xInfo further
* refactor
2022-12-20 22:00:46 +04:00
Evgeny Poberezkin
6b8705e9f4
core: support for live messages ( #1577 )
2022-12-16 11:51:04 +04:00
JRoberts
0e837ae392
core: timed messages ( #1561 )
...
* docs: disappearing messages rfc
* change schema
* word
* wip
* wip
* todos
* todos
* remove cancel, refactor
* revert prefs
* CITimed
* schema
* time on send direct
* time on send group
* add ttl to msg container, refactor
* timed on receive
* time on read
* getTimedItems, fix tests
* mark read in terminal - view, input, output, fix tests
* refactor
* comment
* util
* insert atomically
* refactor
* use guards
* refactor startTimedItemThread
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-12-15 15:17:29 +04:00
Evgeny Poberezkin
678dbec3e2
core: different types for chat preferences, to allow parameters ( #1565 )
2022-12-13 14:52:34 +00:00
Evgeny Poberezkin
138dc7fe8f
4.3.2: terminal, ios (101), android (78)
2022-12-11 15:51:23 +00:00
Evgeny Poberezkin
33e7538172
core: group description ( #1538 )
...
* core: group description
* support multi-line welcome message
* fix
2022-12-10 08:27:32 +00:00
JRoberts
bcca0998d5
core: optimize group deletion ( #1529 )
2022-12-09 20:01:31 +04:00
Evgeny Poberezkin
95cc9e1e55
core: verify connection ( #1530 )
...
* core: verify connection
* update commands
* api to get/set verification code/status
* add migration
* refactor
* change command / response names
* reset verified status if code from agent doesn't match
2022-12-09 15:26:43 +00:00
JRoberts
0cba3a4bb3
4.3.1
2022-12-07 21:10:45 +04:00
JRoberts
9ad29aa17e
core: full deletion by sender based on preference; don't overwrite item content on "mark deleted" ( #1470 )
2022-11-30 19:42:33 +04:00
Evgeny Poberezkin
1872744543
core, mobile: add group feature to allow direct messages ( #1465 )
...
* core, mobile: split group features to a separate type (to add directAllowed later)
* add directMessages group feature, update tests
2022-11-29 15:19:20 +00:00
JRoberts
ac30602a50
4.3.0
2022-11-26 13:09:09 +04:00
Evgeny Poberezkin
491fe4a9bf
core, ios: advanced server config ( #1371 )
...
* ios: advanced server config
* simplify UI
* core: ServerCfg
* commit migration, update schema
* add preset servers to response
* return default servers if none saved
* fix test
2022-11-16 15:37:20 +00:00
Evgeny Poberezkin
e14ab0fed0
core: support SMP basic auth / server password ( #1358 )
2022-11-14 08:04:11 +00:00
JRoberts
5a2dd7b4bc
4.2.1
2022-11-12 16:01:27 +04:00
JRoberts
1cfbbd3115
core: update simplexmq (3.4.0) ( #1328 )
2022-11-09 14:13:39 +04:00
JRoberts
5243613045
core: group link connection request uri data; automatically join groups over group links ( #1275 )
2022-11-03 14:46:36 +04:00
Stanislav Dmitrenko
4e5a5c11dc
core: Chat preferences ( #1261 )
...
* core: Preferences
* Changes
* fix types
* Follow up
* Review
* Review
* update logic
* update
* update 2
* Tests
* Fixed a bug and tests
* Voice -> voice messages
* refactor
* fix
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-11-01 14:32:49 +00:00
Evgeny Poberezkin
a72f603e13
core: switch connection ( #1277 )
...
* core: switch connection
* chat items for SWITCH
* additional events for connection switch
* update simplexmq
* test
* comment test output
* update messages for connection switch
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
2022-11-01 13:26:08 +00:00
JRoberts
a20f0050b9
4.2.0
2022-10-26 11:36:06 +04:00
JRoberts
d7f319aa9e
core: mark group contacts as used on send, receive, api ( #1253 )
2022-10-25 12:50:26 +04:00
Stanislav Dmitrenko
1470b8d128
core: auto accept via address and incognito mode specified ( #1233 )
...
* core: Auto accept via address and incognito mode specified
* Fix test
* Refactoring
* No forcing
* Apply suggestions from code review
* refactor
* refactor AutoAccept
* Test
* Test
* allow different test output order
* rename
* rename
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
2022-10-21 17:14:12 +01:00
JRoberts
5bcb725ea5
core: exclude contacts accepted via group link from chat previews ( #1234 )
...
* RGEInvitedViaGroupLink
* CRSentGroupInvitationViaLink
* via_group_link filtering
* reset
* refactor
* remove brackets
2022-10-21 17:35:07 +04:00
Stanislav Dmitrenko
213b586f8f
core: Forcing chat unread ( #1228 )
...
* core: Forcing chat unread
* Implementation
* Renaming
* Removed unused code
* test
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-10-19 19:38:44 +01:00
JRoberts
65f8ad4423
Merge branch 'stable'
2022-10-18 18:18:36 +04:00
JRoberts
b115bda8f5
4.1.1
2022-10-18 18:06:47 +04:00
Evgeny Poberezkin
fb03a119ea
core: support inline file transfers ( #1187 )
...
* core: support inline file transfers
* parameterize ChatMessage
* send files inline when accepted
* accept inline file transfers (almost works)
* db error SERcvFileInvalid
* inline file transfer works (TODO fix test)
* inline file transfer tests, change encodings
* fixture
* combine messages into x.file.acpt.inv, refactor
* inline file mode
* decide whether to receive file inline on the recipient side, not only via file invitation
* test inline files "sent" mode
* check that file was offered inline
* update schema
* enable encryption tests
* test name
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
* fix the list of rcv files to subscribe too
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
2022-10-14 13:06:33 +01:00
JRoberts
3bf8361911
core: group links ( #1194 )
2022-10-13 17:12:22 +04:00
JRoberts
3113aab8a8
4.1.0
2022-10-12 19:04:37 +04:00
JRoberts
135bdf3842
core: optimize bulk chat item deletion 2 ( #1172 )
2022-10-05 19:54:28 +04:00
JRoberts
575706c7c7
core: platform independent json encoding for MsgErrorType ( #1163 )
2022-10-03 12:55:59 +04:00
JRoberts
ef28215284
core: fully delete group chat items instead of overwriting content ( #1154 )
2022-10-01 14:31:21 +04:00
JRoberts
9cb2542079
core: scheduled deletion ( #1075 )
...
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-09-28 20:47:06 +04:00
Evgeny Poberezkin
fe6cd91a61
core: connection alias, store invitation link with connection ( #1137 )
...
* core: connection alias, store invitation link with connection
* update contact with connection alias, test
* use type alias
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
2022-09-27 20:45:46 +01:00
JRoberts
c0878769be
4.0.1
2022-09-27 12:36:29 +04:00
JRoberts
edf217111f
4.0.0
2022-09-20 19:11:52 +04:00
Evgeny Poberezkin
08e0d7339f
Merge branch 'master' into sqlcipher
2022-09-14 18:46:03 +01:00
JRoberts
c07d4a5e4e
core: use async agent commands when establishing connections w/t user action ( #977 )
...
* wip
* wip
* wip
* schema
* schema
* wip
* wip
* rework
* revert
* update simplexmq
* async commands
* corr id wip
* wip
* update simplexmq
* corr id
* wip
* rename variable
* wip
* refactor
* ACK continuation
* wip
* fix queries
* fix queries
* clean up schema
* update simplexmq, do not lock on stopping chat
* clean up
* refactor
* refactor
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-09-14 19:45:21 +04:00
Evgeny Poberezkin
6597400f61
Merge branch 'master' into sqlcipher
2022-09-01 17:46:56 +01:00
Evgeny Poberezkin
3613fc953e
core: encrypt chat database ( #988 )
...
* core: encrypt chat database
* check DB key error on start
* function to encrypt database
* encrypt database command
* decrypt, rekey
* remove rekey, refactor
* test for db encryption/decryption
* update simplexmq
2022-08-31 18:07:34 +01:00
JRoberts
74b11d1c5d
3.2.1 ( #992 )
2022-08-31 16:13:40 +04:00
Evgeny Poberezkin
02ca7234fb
use SQLCipher ( #981 )
...
* use SQLCipher
* pass encryption key via CLI options
* update dependencies to use git
* add CONTRIBUTING.md
* move flag, enable build in sqlcipher branch
* update dependencies
2022-08-30 12:49:07 +01:00
JRoberts
53a71cf28c
core: contact aliases ( #968 )
2022-08-24 19:03:43 +04:00
Evgeny Poberezkin
bd7aa81625
core: DB json encoding for group events (platform independent) ( #966 )
...
* core: DB json encoding for group events (platform independent)
* comment, migration
* shorter constructors
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
2022-08-23 16:24:43 +04:00
JRoberts
a06499d710
core: add host_conn_custom_user_profile_id to groups to replace join with connections causing duplicates (avoids complex subqueries) ( #965 )
2022-08-22 23:12:09 +04:00
Evgeny Poberezkin
9f94c6f98a
3.2.0 ( #957 )
2022-08-20 19:52:25 +01:00
Evgeny Poberezkin
70168967a3
core: commands to set chat notification settings ( #946 )
...
* core: commands to set chat notification settings
* add API
2022-08-19 15:17:05 +01:00
JRoberts
5e67654249
core: incognito connections ( #926 )
2022-08-18 11:35:31 +04:00
JRoberts
cc498572cd
core: create indices on chat_items for faster pagination ( #927 )
2022-08-11 15:48:47 +04:00
Evgeny Poberezkin
f150932e44
core: commands to get/set network configuration ( #839 )
2022-07-25 17:04:27 +04:00
Evgeny Poberezkin
4fd13c637c
core: access messaging servers via SOCKS5 proxy ( #835 )
...
* core: access messaging servers via SOCKS5 proxy
* update option info
* update simplexmq
2022-07-23 14:49:04 +01:00
JRoberts
eb89eec5b5
core: backend for group invitations UI (status, db, updates) ( #815 )
2022-07-15 17:49:29 +04:00
Evgeny Poberezkin
36f97b2ea9
v3.0.0
2022-07-09 13:04:18 +01:00
Evgeny Poberezkin
687e3be9ac
iOS: update call invitations when exiting background ( #771 )
...
* core: communicate call invitations state between NSE and app via db
* enable tests
* delete calls, encoding
* load calls on start
* remove line
* remove table alias
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
2022-07-04 14:15:25 +04:00
JRoberts
904945a67d
fix simplexmq range
2022-06-29 17:35:59 +04:00
Evgeny Poberezkin
41c9742b0d
core: auto-reply message for user contact addresses ( #755 )
...
* core: auto-reply message for user contact addresses
* terminal: show auto accept status and message
* test
2022-06-27 19:41:25 +01:00
Evgeny Poberezkin
1f1ed3f3dd
core: remove dependency on zip algorithms bzip2/zstd ( #737 )
...
* core: remove dependency on zip algorithms bzip2/zstd
* enable test log
* disable test log
2022-06-12 11:28:30 +01:00
Evgeny Poberezkin
f341e54128
Export & import storage archive ( #726 )
...
* core: import and export of chat archive
* export chat archive
* import archive, support starting chat after it is stopped
* test for maintenance mode
* test/fix archive with files
* prevent starting chat after chat database was deleted or imported
* update simplexmq
2022-06-06 16:23:47 +01:00
JRoberts
4db7e88ed8
terminal: version 2.2.0
2022-06-01 18:58:06 +04:00
JRoberts
5fd75ee286
terminal: version 2.1.0
2022-05-19 09:21:37 +04:00
Evgeny Poberezkin
295cec7c53
terminal: support to connect via webrtc ( #659 )
...
* terminal: support to connect via webrtc
* npm package
* update webrtc npm package
* remove console.log
* fix test
2022-05-17 08:37:00 +01:00
JRoberts
9bf7821444
core: delete profiles ( #654 )
2022-05-14 21:00:46 +04:00
Evgeny Poberezkin
b7860ad0e8
simplex-chat server & JavaScript/TypeScript SDK/client ( #539 )
...
* simplex-chat server
* typescript types for chat commands and command serialization
* typescript ChatResponse type
* more types
* more types
* websocket chat client
* aligb ts/haskell types
* chat server & TS client via websockets - it works
* TS chat client test
* TS chat client test
* update test
* more api functions
* more api methods, refactor, readme
* squaring chat bot example, fixes
* update readme
* remove console.log
* npm version 0.1.0
2022-05-13 19:44:03 +01:00
JRoberts
e958e45652
terminal: version 2.0.1
2022-05-12 19:03:02 +04:00
JRoberts
81ebf1b696
terminal: version 2.0.0 ( #634 )
...
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-05-11 20:15:09 +04:00
Evgeny Poberezkin
cdb919db96
core: webrtc calls api types ( #590 )
...
* core: webrtc calls api
* call: call state, chat items, update commands/responses
* update sequence diagram
* remove CRCallInvitationSent, add CISCallError
2022-05-02 17:06:49 +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
JRoberts
757ca74482
terminal: version 1.6.0 ( #534 )
2022-04-16 13:01:07 +04:00
Evgeny Poberezkin
fa313caa82
terminal: refactor chat core used in terminal app and in bot examples ( #516 )
...
* terminal: refactor chat core used in terminal app and in bot examples
* fix tests
* refactor
2022-04-10 17:13:06 +01: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
de64f3a1a0
tests: maintain schema dump ( #505 )
2022-04-05 12:44:22 +04:00
JRoberts
a5ca2c2163
core: new files protocol ( #492 )
2022-04-05 10:01:08 +04:00
Evgeny Poberezkin
852421315b
SimpleX Chat bot example ( #499 )
...
* SimpleX Chat bot example
* extract repl bot
* update .cabal
2022-04-04 08:14:42 +01:00
JRoberts
331269a186
terminal: version 1.5.0 ( #498 )
2022-04-03 13:58:38 +04:00
JRoberts
7f7abe1c62
terminal: version 1.4.1 ( #486 )
2022-03-31 16:08:07 +04:00
JRoberts
262c999e5c
terminal: version 1.4.0
2022-03-26 18:22:45 +04:00
JRoberts
8b2ae2d426
terminal: version 1.3.4
2022-03-26 10:49:36 +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
3a28bacf14
Merge branch 'stable'
2022-03-14 21:01:54 +00:00
Evgeny Poberezkin
6ba7d208c8
terminal: version 1.3.2 ( #442 )
2022-03-14 20:58:53 +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
7cf139f856
prepare v1.3.1 ( #398 )
2022-03-05 12:34:48 +04:00
Efim Poberezkin
268eaaa9ca
prepare v1.3.0 ( #378 )
2022-02-26 16:24:56 +04:00
Efim Poberezkin
c242f0079c
core: add fks to messages ( #368 )
2022-02-25 21:59:35 +04:00
Evgeny Poberezkin
51f5982205
markdown: parse emails and phone numbers ( #365 )
...
* markdown: parse emails and phone numbers
* phone parsing
* refactor
2022-02-24 07:55:18 +00:00
Efim Poberezkin
518a15934f
prepare v1.2.1
2022-02-22 22:20:32 +04:00
Evgeny Poberezkin
f74f932dcd
pass IOS devine via GHC options in flake.nix ( #322 )
2022-02-17 08:40:08 +00:00
Evgeny Poberezkin
dd256be4ec
use tagged JSON on android, update tests ( #321 )
2022-02-16 23:24:48 +00:00
Evgeny Poberezkin
ec70670630
update condition in cabal file
2022-02-16 20:11:29 +00:00
Evgeny Poberezkin
ee07921d42
update cabal file - GHC option for android
2022-02-16 18:49:48 +00:00
Efim Poberezkin
928dd27043
prepare v1.2.0 ( #302 )
2022-02-14 21:21:16 +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
771bc6a14d
prepare v1.1.1 ( #289 )
2022-02-10 20:08:29 +04:00
Efim Poberezkin
f5507436f3
chat item status, CRChatItemUpdated api response ( #269 )
2022-02-07 15:19:34 +04: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
Efim Poberezkin
4724669bce
prepare v1.1.0 ( #259 )
2022-02-02 23:50:43 +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
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
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
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
Evgeny Poberezkin
50d83d2374
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>
2022-01-21 18:58:43 +00:00
Evgeny Poberezkin
64381be91d
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>
2022-01-21 11:09:33 +00:00
Evgeny Poberezkin
d29a6542de
1.0.1
2022-01-18 20:19:05 +00:00
Evgeny Poberezkin
895e3878f9
add cabal.project ( #205 )
...
* add cabal.project
* update meta-data in package.yaml
2022-01-12 21:18:54 +00:00
Evgeny Poberezkin
fcee108863
Merge branch 'master' into v1
2022-01-11 21:25:18 +00:00
Evgeny Poberezkin
5a74b8066f
prepare v1 release ( #189 )
...
* update servers
* update version
* update simplexmq version
* update database file names
* update server fingerprints and simlexmq
* update simplexmq commit
* fix port in tests
* update tls fixtures (#193 )
* add -v cli option; print update instructions on -v and /v (#194 )
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
Co-authored-by: Efim Poberezkin <8711996+efim-poberezkin@users.noreply.github.com>
2022-01-11 21:23:57 +00:00
Evgeny Poberezkin
be537f3a24
update chat protocol to use JSON encoding for chat messages ( #182 )
...
* 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>
2022-01-11 08:50:44 +00:00
Efim Poberezkin
7498cd4432
0.5.5 ( #179 )
2022-01-07 11:32:06 +04:00
Efim Poberezkin
5e545b639f
update simplex-chat.cabal ( #178 )
2022-01-07 11:28:39 +04:00
Evgeny Poberezkin
79658b3d8d
update simplexmq to 0.5.2, update resolver ( #175 )
...
* 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>
2022-01-06 16:03:45 +00:00
Efim Poberezkin
f29614058a
0.5.4 ( #171 )
2021-12-30 18:35:39 +04:00
Evgeny Poberezkin
6e48fe3f72
0.5.3
2021-12-24 11:36:04 +00:00
Evgeny Poberezkin
66ab5bc424
0.5.2
2021-12-19 15:43:39 +00:00
Evgeny Poberezkin
0ccf431002
add simplex-chat.cabal file ( #158 )
2021-12-18 13:59:06 +00:00