JRoberts
a040fa65bb
core: run cleanup for all users ( #1746 )
2023-01-14 19:21:10 +04:00
JRoberts
9fc26ca799
core: start chat item expiration thread for new users ( #1745 )
2023-01-14 17:52:40 +04:00
JRoberts
6e0addbea3
core: add user to CRSmpTestResult response ( #1744 )
2023-01-14 15:45:42 +04:00
JRoberts
e452edb781
core: subscribe all users ( #1743 )
2023-01-14 15:45:13 +04:00
JRoberts
9290fcc6b2
core: set active prompt to none when changing current user ( #1738 )
2023-01-13 21:01:36 +04:00
JRoberts
0c3d643408
core: expire chat items for all users ( #1737 )
2023-01-13 21:01:26 +04:00
Evgeny Poberezkin
e63e158b2d
core: refactor withUserId ( #1735 )
...
* refactor withUserId
* update
* more
2023-01-13 16:24:54 +04: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
dcb82951ed
core: catch errors when sending messages in loops where they haven't been previously caught ( #1729 )
2023-01-12 16:31:27 +04:00
JRoberts
7323bb4333
Merge branch 'master' into users
2023-01-11 18:38:55 +04:00
JRoberts
41e873d5ca
core: multiple users view, tests ( #1710 )
2023-01-11 11:00:28 +04:00
JRoberts
810f248c74
core: test async file transfer (sender & receiver restarts); close files in stopChatController; handle openFile error in getFileHandle ( #1716 )
2023-01-10 20:52:59 +04:00
JRoberts
813fecddfe
core: fix live file transfers queries ( #1715 )
2023-01-10 16:22:21 +04:00
JRoberts
ad1b091b18
Merge branch 'master' into users
2023-01-09 17:02:38 +04: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
37262b3ed5
core: fix view agent error context text ( #1700 )
2023-01-06 19:58:03 +04:00
JRoberts
58f06aa821
core: print error context on store internal errors ( #1699 )
2023-01-06 14:22:16 +04:00
JRoberts
ae5deab8d3
core: print error context on agent errors ( #1697 )
2023-01-06 13:11:21 +04:00
JRoberts
bb0482104c
core, ios, android: add UserId to api commands ( #1696 )
2023-01-05 20:38:31 +04:00
JRoberts
fa9e0086f6
core: multiple users api ( #1679 )
...
* api
* UCR
* Revert "UCR"
This reverts commit 1f98d25192 .
* comment
* events User
* events in api User
* CRActiveUser in APISetActiveUser
* process message with/without connection
* refactor
* mute error
* user in api responses
* name
* lost response
* user in CRChatCmdError
* compiles
* user in CRChatError
* -- UserId
* mute unused warning
* catch in withUser
* remove comment
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-01-04 21:06:28 +04:00
JRoberts
54190ffff9
core: add db indexes for faster group deletion ( #1664 )
2022-12-30 16:34:42 +04:00
JRoberts
96ad9faa85
docs: user profiles rfc ( #1656 )
2022-12-28 16:28:07 +04:00
Evgeny Poberezkin
13090ff6ed
core: do not log TLS handshake errors by default, option to enable ( #1652 )
...
* core: do not log TLS handshake errors by default, option to enable
* update simplexmq
2022-12-27 12:05:13 +00:00
Evgeny Poberezkin
74245d3f2b
core: agent stats ( #1650 )
2022-12-26 22:24:34 +00: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
8dac96f415
core: wait chat started in deleteTimedItem threads ( #1626 )
2022-12-22 19:18:38 +04:00
Evgeny Poberezkin
aae0802ec8
core: chat items with offered feature ( #1620 )
...
* core: chat items with offered feature
* texts
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
* new preference items
* test
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-12-22 14:56:29 +00:00
JRoberts
74a20ef70c
core: sort chat previews by chat ts ( #1625 )
2022-12-22 17:43:10 +04:00
JRoberts
ece928d57e
core: update ttl in contact user preference on profile update, fix api, tests; fix global user preferences not being updated in controller state ( #1617 )
2022-12-21 19:54:44 +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
5e9b7366cc
core: refactor chat item updates ( #1611 )
...
* core: refactor chat item updates
* removed unused function
* refactor
* refactor
2022-12-20 12:58:15 +00:00
Evgeny Poberezkin
64fb1f0b85
core: do not start disappearing timer for live messages until they stop being live, and start it on item update instead, provided they are read ( #1609 )
...
* core: do not start disappearing timer for live messages until they stop being live, and start it on item update instead, provided they are read
* change delays in tests
* diffInSeconds
2022-12-20 10:17:29 +00:00
JRoberts
84e43c57f6
core: ttl in feature chat items, view responses ( #1595 )
...
* core: ttl in feature chat items, view responses
* fix tests
* fix test
* view
* refactor
* use prefChangedValue
* use groupPrefChangedValue
* use cupIntValue
* simplify types
* groupFeatureState
* groupPrefToText
* prefToText, view
* remove prefFeature
* rename intValue -> param
* int -> param
* timedTTLText
* remove pragma
* restore pragma
* simplify
* timedTTLText
* fix tests
* off, after
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-12-19 21:18:59 +04:00
Evgeny Poberezkin
ffa37b1684
terminal: use Ctrl-L to start/continue live message, as Alt-Enter is not always supported ( #1607 )
...
* terminal: use Ctrl-L to start/continue live message, as Alt-Enter is not always supported
* refactor
2022-12-19 13:05:54 +00:00
Evgeny Poberezkin
86271fe109
terminal: support live messages ( #1597 )
...
* terminal: toggle live message updates
* terminal: send live messages (#1599 )
* terminal: send live messages
* show edited messages
* send and continue live message with Alt-Enter
* truncate live messages to full words
* remove comments
* refactor
* refactor to avoid clearing live message prompt and show it faster
* $
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-12-19 11:16:50 +00:00
Evgeny Poberezkin
4ab7e5e1c8
terminal: command to get last item ID (to reference it in the tests) ( #1596 )
...
* terminal: command to get last item ID (to reference it in the tests)
* lastItemId
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-12-17 19:33:58 +04:00
Evgeny Poberezkin
d105e59655
core: set item that was live as 0, that was never live as NULL (Maybe Bool type) ( #1594 )
...
* core: set item that was live as 0, that was never live as NULL (Maybe Bool type)
* fix
2022-12-17 13:58:16 +00:00
JRoberts
f128ebac87
core: timed messages terminal api, tests ( #1591 )
2022-12-17 14:49:03 +04:00
JRoberts
e410fc7736
core: fix mark read queries ( #1592 )
2022-12-16 14:32:37 +00:00
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
JRoberts
cee403c1ed
core: simplify terminal mark messages read logic ( #1589 )
2022-12-16 15:56:16 +04:00
Evgeny Poberezkin
8786e2147a
core, mobile: logic for enabling disappearing messages ( #1588 )
...
* core: logic for enabled for disappearing messages
* refactor
* update feature enabled in UI
2022-12-16 10:27:59 +00:00
Evgeny Poberezkin
6b8705e9f4
core: support for live messages ( #1577 )
2022-12-16 11:51:04 +04:00
JRoberts
17cd3cdca4
core: make ttl optional in TimedMessagesPreference ( #1583 )
...
* core: make ttl Maybe in TimedMessagesPreference
* omitNothingFields
2022-12-15 18:11:08 +00:00
JRoberts
aa264690ab
core: add ttl to XMsgUpdate ( #1581 )
2022-12-15 17:29:46 +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