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
a611040c41
Merge branch 'master' into sqlcipher
2022-09-05 15:37:08 +01:00
Evgeny Poberezkin
b232b6132f
terminal: commands to mute/unmute contacts and groups ( #1018 )
...
* terminal: commands to mute/unmute contacts and groups
* tests
2022-09-05 15:23:38 +01:00
Evgeny Poberezkin
2b5e3a9459
core: C API to migrate and check database ( #1008 )
...
* core: C API to migrate and check database
* update simplexmq
2022-09-02 16:38:41 +01: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
2fc6873c42
core: simplify incognito feature - remove host/invitee incognito profiles communication; remove incognito mode group creation and join; use same incognito profile known to host when joining ( #978 )
2022-08-27 19:56:03 +04: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
JRoberts
985f3dffd3
core: read host's connection custom_user_profile_id into group info ( #960 )
2022-08-22 11:04:34 +04: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
Evgeny Poberezkin
e43be1ad8b
core: support multiple hostnames in server addresses ( #930 )
...
* core: support multiple hostnames in server addresses
* add onion hosts
* update simplexmq, fix test
* fix parsing servers with multiple hostnames
2022-08-13 11:53:53 +01:00
JRoberts
cc498572cd
core: create indices on chat_items for faster pagination ( #927 )
2022-08-11 15:48:47 +04:00
JRoberts
7531791f1b
core: chat search ( #914 )
2022-08-08 22:48:42 +04:00
JRoberts
cd28ba62a1
core: fix chat pagination filtering ( #911 )
2022-08-08 14:13:51 +04:00
Evgeny Poberezkin
7a00a3e324
core: remove logs, remove log for A_DUPLICATE error ( #896 )
2022-08-04 20:59:05 +01:00
Evgeny Poberezkin
13e7925348
core: fully remove invited member ( #901 )
...
* core: fully remove invited member
* deleteMemberConnection
2022-08-04 18:39:31 +01:00
Evgeny Poberezkin
55adbb4692
core: clear group content on deletion, break transaction to prevent error on Android, more logs ( #892 )
...
* core: log group deletion
* clear group content, break transaction, add logs
2022-08-04 11:12:50 +01:00
Evgeny Poberezkin
9e210256d2
core: add delete group logs ( #879 )
2022-08-03 16:56:35 +04:00
JRoberts
35eeac194e
core: split group deletion into two transactions to prevent crashes on android ( #865 )
2022-08-02 14:10:03 +04:00
Evgeny Poberezkin
999923bcf9
core: allow creating groups with the same display name; mobile: update group status when group deleted by another member or user removed ( #859 )
2022-07-31 18:54:49 +01:00
Evgeny Poberezkin
0c58adff08
core: editing group profiles (no conflict resolution) ( #851 )
...
* core: editing group profiles with conflict resolution
* update group profiles
* fix group update
* add test, add group profile to chat items, update terminal output
* Update apps/android/.idea/gradle.xml
2022-07-29 19:04:32 +01:00
JRoberts
b232226590
core: read group chat items in separate queries
2022-07-22 15:48:04 +04:00
Evgeny Poberezkin
3c03c96a53
core: show contact and group member servers ( #824 )
...
* core: show contact and group member servers (WIP)
* contact and member information
* update simplexmq
2022-07-20 14:57:16 +01:00
Evgeny Poberezkin
13fbb66a21
core: use batched subscriptions ( #818 )
...
* core: use batched subscriptions
* update simplexmq
* remove comments
* clean up
* refactor
* remove todo
* revert change
* revert change
* remove comment
* add delay to the async group test
* add more delay in test
2022-07-17 15:51:17 +01:00
JRoberts
eb89eec5b5
core: backend for group invitations UI (status, db, updates) ( #815 )
2022-07-15 17:49:29 +04:00
JRoberts
ad5edeba6c
core: groups api ( #806 )
2022-07-12 19:20:56 +04:00
JRoberts
ab848e8c13
ios: refresh call invitations and report call on start and activation; core: restore calls on activation ( #776 )
2022-07-05 15:15:15 +04: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
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
4bf5125c51
core: support combining store functions in one transaction ( #740 )
...
* refactor store functions (WIP - does not compile yet)
* update chat
* update simplexmq
2022-06-18 20:06:13 +01:00
Evgeny Poberezkin
c62d99ab97
core: remove connection pool ( #738 )
...
* core: remove connection pool
* remove local ref from cabal.project
* update simplexmq
* log test
* fix test
2022-06-16 20:00:51 +01:00
Evgeny Poberezkin
16bd9ccc4f
core: send SMP notification msg flag based on chat message ( #733 )
...
* core: send SMP notification msg flag based on chat message
* update simplexmq
* remove unnecessary condition
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-06-07 14:14:54 +01:00
Evgeny Poberezkin
89908ef5dc
core: chat item on skipped messages ( #705 )
...
* core: chat item integrity
* create chat item on skipped messages (but only on content items)
* report skipped messages on all messages, not only content messages
* remove type signature
* remove migration
* update rfc
2022-05-28 19:13:07 +01:00
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