Evgeny Poberezkin
1f15cf54af
Merge branch 'master' into xftp
2023-03-27 18:57:14 +01:00
Evgeny Poberezkin
c96ba30018
core: support down migrations to allow reverting to the previous version ( #2072 )
...
* core: support down migrations to allow reverting to the previous version
* update schema
* update simplexmq
* rename errors
* remove unused functions
* migration UI, test migration
* update migration UI
* return current migrations in CRVersionInfo
* update simplexmq
* test down migrations
* cleanup ios
* show migrations in log
2023-03-27 18:34:48 +01:00
spaced4ndy
babbca48f8
Merge branch 'master' into xftp
2023-03-23 13:58:23 +04:00
Evgeny Poberezkin
06a0dbd0f2
core, iOS: hidden and muted user profiles ( #2025 )
...
* core, ios: profile privacy design
* migration
* core: user profile privacy
* update nix dependencies
* update simplexmq
* import stateTVar
* update core library
* update UI
* update hide/show user profile
* update API, UI, fix test
* update api, UI, test
* update api call
* fix api
* update UI for hidden profiles
* filter notifications on hidden/muted profiles when inactive, alerts
* updates
* update schema, test, icon
2023-03-22 15:58:01 +00:00
spaced4ndy
60d6a47bdb
xftp: delete agent rcv files on completion, error, item delete ( #2040 )
2023-03-21 15:21:14 +04:00
spaced4ndy
9b7fbfd513
core: rcv file events ( #2002 )
2023-03-14 15:26:40 +04:00
Evgeny Poberezkin
d7f9e17bcb
core: use XFTP to send and receive files ( #1993 )
...
* core: use XFTP to send and receive files
* xftp files progress
* xftp reception stubs, migration
* update simplexmq
* xftp sequence diagram
* additional chat events
* send file via XFTP
* send XFTP file description inline when file is uploaded
2023-03-13 10:30:32 +00:00
Evgeny Poberezkin
7d49209f79
core: initial group member role when joining via link ( #1975 )
...
* core: initial group member role when joining via link
* fix tests
* set role when joining group via link, enable observer test
* show group link when role changes
* amend test
* check role is member or observer when creating a link
2023-03-06 09:51:42 +00: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
86151d4ec2
core: drop index causing slow queries ( #1855 )
...
* core: drop index causing slow queries
* update schema
2023-01-29 15:22:09 +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
JRoberts
5c7ad0926c
core: add missing fkey indexes ( #1785 )
2023-01-17 15:45:37 +04:00
JRoberts
424328b9d1
core: agent users ( #1727 )
2023-01-13 13:54:07 +04: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
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
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
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
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
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
JRoberts
352a4f3d2a
core: clean up incognito profiles ( #1262 )
2022-10-27 14:25:48 +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
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
135bdf3842
core: optimize bulk chat item deletion 2 ( #1172 )
2022-10-05 19:54:28 +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
e8c14896aa
core: process ERR response to async command ( #1061 )
2022-09-16 19:30:02 +04: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
JRoberts
53a71cf28c
core: contact aliases ( #968 )
2022-08-24 19:03: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
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
JRoberts
eb89eec5b5
core: backend for group invitations UI (status, db, updates) ( #815 )
2022-07-15 17:49:29 +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