Evgeny Poberezkin
f5bd6eb4c3
core: do not mark live items as editied until it's no longer live ( #1590 )
...
* core: do not mark live items as editied
* Update src/Simplex/Chat/Store.hs
* mark item as edited when it stops being live
2022-12-16 12:31:35 +00: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
JRoberts
e00ef7c7da
core: improve stability of file transfer handshake by using async agent commands ( #1541 )
2022-12-12 16:33:07 +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
fb05218558
core: delete unused contacts after deleting group ( #1503 )
2022-12-06 17:12:39 +04:00
Evgeny Poberezkin
6f59df4e33
prohibit direct messages to group contacts unless group preferences allow them ( #1476 )
...
* prohibit direct messages to group contacts unless group preferences allow them
* tests
* refactor
* more test
2022-12-03 18:06:21 +00:00
JRoberts
07ef6e4090
ios: marked deleted chat items, full deletion preference; android: types ( #1473 )
...
* ios: marked deleted chat items; full deletion preference
* text_, menu, backend
* android types
* more android types
* fix
* refactor ios
* restore previews
* box
* refactor menu
* revert unnecessary content.text changes
* Update apps/ios/Shared/Views/Chat/ChatItem/CIVoiceView.swift
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
* revert layered framed items
* clever framed view
* improve look
* restore previews
* restore previews
* refactor
* refactoring, almost looks good
* look
* add previews
* more previews
* remove preview of legacy item
* ChatItemDeleted
* flip if
* remove text_
* refactor
* abstract pref property
* move marked deleted
* revert pref change
* undo menu
* fix - change to constants
* undo pref logic
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-12-03 15:40:31 +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
56a3f98dc0
core: create certain informational chat items as read ( #1452 )
2022-11-28 16:27:22 +04:00
JRoberts
0cb8f8ad82
core: fix group preferences update ( #1385 )
2022-11-18 16:07:40 +04:00
JRoberts
7e3f91f87c
core: add sanity checks in sql to include quoted items only from the same chat ( #1379 )
2022-11-17 14:38:14 +04:00
Evgeny Poberezkin
f54faebff3
core: fix sql that was doubling a group in the list of chats when member joined the group twice ( #1378 )
2022-11-17 09:58:52 +00:00
JRoberts
828b502431
ios: load and save preferences ( #1373 )
2022-11-16 20:26:43 +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
JRoberts
b5a812769b
core: full/merged preferences in User, Contact, GroupInfo types ( #1365 )
...
* core: preferences in User, Contact, GroupInfo types
* user and group preferences
* refactor
* linebreak
* remove synonyms
* refactor
* refactor
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-11-15 10:31:44 +04:00
Evgeny Poberezkin
b1d8600215
cli: message search in CLI app ( #1362 )
...
* cli: message search in CLI app
* type synonym
2022-11-14 08:42:54 +00:00
Evgeny Poberezkin
e14ab0fed0
core: support SMP basic auth / server password ( #1358 )
2022-11-14 08:04:11 +00:00
JRoberts
b780a41272
core: client that joins via group link to probe contacts, not host ( #1343 )
2022-11-11 18:34:32 +04:00
JRoberts
f80f56de61
core: allow repeat connection via group link if group was deleted but contact with host is present ( #1335 )
2022-11-09 21:11:05 +04:00
Evgeny Poberezkin
89de5497ef
core: update chat preferences ( #1292 )
...
* core: update chat preferences
* refactor, types
* rename types
* rename types
* make voice on by default
* create new user with empty preferences
* fix test
2022-11-04 21:05:21 +04:00
JRoberts
d432dfba21
core: include pending group link connections into chat previews on joining side ( #1291 )
2022-11-04 12:00:03 +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
JRoberts
179b9e093f
core: merge contacts when connecting via group link ( #1265 )
2022-10-27 23:38:03 +04:00
JRoberts
352a4f3d2a
core: clean up incognito profiles ( #1262 )
2022-10-27 14:25:48 +04:00
JRoberts
385ebd2298
core: update deleteGroupMember logic and its usages (no items & expiration) ( #1258 )
2022-10-26 13:37:17 +04:00
JRoberts
d7f319aa9e
core: mark group contacts as used on send, receive, api ( #1253 )
2022-10-25 12:50:26 +04:00
JRoberts
deeb2e891a
core: add viaGroupLink to Connection ( #1248 )
2022-10-24 14:28:58 +04:00
JRoberts
15c1f9f9c8
core: group link contact connecting(ed) events to avoid adding previews in ui ( #1242 )
...
* core: group link contact connecting(ed) events to avoid adding ui previews
* fix test
* refactor
* ios types
* android types
* type in bot
2022-10-23 21:18:15 +01:00
JRoberts
26984b62fe
core: delete broken chat item when removing invited member connected via group link; test removing invited member
2022-10-22 14:23:03 +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
JRoberts
98cb1c39f2
core: allow to delete contacts that are in groups; group contacts management rfc ( #1229 )
2022-10-20 19:27:00 +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
e57b9f4cea
core: don't calculate chat stats to speed up loading individual chats ( #1218 )
2022-10-18 10:16:28 +01:00
JRoberts
1b3984f52f
core: create group invitation connection asynchronously on group link auto-accept ( #1211 )
2022-10-15 14:48:07 +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
f7da034cf1
core: use acceptContactAsync on auto-accept, reuse incognito profile for contacts accepted via group link ( #1208 )
...
* update simplexmq (acceptContactAsync)
* acceptContactRequestAsync, single profile
* refactor
* refactor 2
* refactor
* Update src/Simplex/Chat/Store.hs
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
* refactor
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-10-14 14:57:01 +04: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
cd6cad9a96
core: optimize bulk chat item deletion ( #1168 )
...
* core: optimize bulk chat item deletion
* test file deletion
* refactor
* refactor
2022-10-03 22:33:36 +01:00
JRoberts
575706c7c7
core: platform independent json encoding for MsgErrorType ( #1163 )
2022-10-03 12:55:59 +04:00
Evgeny Poberezkin
58f6b168e6
core: protocol/commands to change member role ( #1159 )
...
* core: protocol/commands to change member role
* change member roles
* add test
* correction
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
* add member profile to group member role events
* resend invitation when invited member role changes
* test role change with invitation, fix
* add delays to tests
* add test delay
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-10-03 09:00:47 +01:00
Evgeny Poberezkin
5c49e8f7ea
core: add localAlias to Contact when it is created
2022-10-01 11:38:54 +01:00
JRoberts
ef28215284
core: fully delete group chat items instead of overwriting content ( #1154 )
2022-10-01 14:31:21 +04:00
Evgeny Poberezkin
628f119151
core: lints ( #1144 )
2022-09-29 16:26:43 +01:00