Evgeny Poberezkin
c06a970987
core: message reactions ( #2429 )
...
* core: message reactions
* remove comments
* core: commands to set reactions
* fix tests
* process reaction messages
* store functions
* include reactions on item updates
* remove print
* view, tests
* load reactions for new items
* test removing reaction
* remove spaces
* limit the number of different reactions on one item
* remove unique constraints
* fix permissions
* indexes
* check chat item content before adding reaction
* fix group reactions
* simpler index
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
2023-05-15 11:28:53 +01:00
spaced4ndy
ad7e4488ef
core: time actions on chat start ( #2417 )
2023-05-10 15:18:50 +04:00
Evgeny Poberezkin
5f41cf3c52
core: change default for Disappearing Messages to "allow", mobile: support disabling without prohibiting ( #2192 )
...
* core: change default for Disappearing Messages to "allow", mobile: support disabling without prohibiting
* fix tests
* disable tests back in CI
* fixed tests 2
* remove enable
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
2023-04-17 18:13:10 +01:00
Evgeny Poberezkin
b6876712f0
core: chat preference for audio/video calls ( #2188 )
...
* core: chat preference for audio/video calls
* correction
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
* clean up
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com>
2023-04-17 10:18:04 +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
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
Evgeny Poberezkin
4a58ca60ac
core: split tests ( #1870 )
2023-02-01 17:21:13 +00:00
Evgeny Poberezkin
13bd51b97d
core: prevent making all users inactive when duplicate user is created ( #1862 )
...
* core: prevent making all users inactive when duplicate user is created
* skip async group test
2023-01-31 12:24:18 +00:00
Evgeny Poberezkin
a1ed0a84b8
core: use port 7001 for test server ( #1857 )
...
* core: use port 7001 for test server
* enable only failing tests
* start/stop server for every test
* log message that failed to parse
* stop chat synchronously
* print call stack
* add HasCallStack
* increase test timeout
* add call stacks
* more call stacks
* fix test
* disable failing test
* add delay between the tests
* make delay more visible
* remove change in error message
* reduce test delay, increase timeout
* increase delay between the tests
* run each test with a database in a different folder
* folder name
* refactor
* update nix file, more stacks
2023-01-31 11:07:48 +00:00
Evgeny Poberezkin
91a39cae23
core: fix error handling ( #1761 )
...
* core: fix error handling
* fix tests
2023-01-16 17:25:06 +00: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
e452edb781
core: subscribe all users ( #1743 )
2023-01-14 15:45:13 +04:00
JRoberts
424328b9d1
core: agent users ( #1727 )
2023-01-13 13:54:07 +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
17cd3cdca4
core: make ttl optional in TimedMessagesPreference ( #1583 )
...
* core: make ttl Maybe in TimedMessagesPreference
* omitNothingFields
2022-12-15 18:11:08 +00:00
Evgeny Poberezkin
678dbec3e2
core: different types for chat preferences, to allow parameters ( #1565 )
2022-12-13 14:52:34 +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
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
3bf8361911
core: group links ( #1194 )
2022-10-13 17:12:22 +04:00
Evgeny Poberezkin
a977a0dd17
core: single function to initialize the chat controller only if encryption key is correct ( #1107 )
2022-09-23 22:22:56 +04: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
53a71cf28c
core: contact aliases ( #968 )
2022-08-24 19:03:43 +04:00
JRoberts
5e67654249
core: incognito connections ( #926 )
2022-08-18 11:35:31 +04: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
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
6f195c4167
core add chat_recv_msg_wait and chat_parse_markdown to published API ( #736 )
2022-06-11 11:52:55 +01:00
Evgeny Poberezkin
cf04a9fed3
add AChatItem to snd file events ( #601 )
2022-05-05 13:37:53 +04:00
Evgeny Poberezkin
80c5a151a2
core: fix mac tests ( #600 )
2022-05-05 07:37:33 +01:00
Evgeny Poberezkin
f02dcc851e
core: fix mac tests ( #576 )
...
* core: fix mac tests
* enable all tests
2022-04-26 09:08:39 +01:00
Evgeny Poberezkin
34c513adeb
core: update simplexmq (fixes SMP END from disconnected clients removing active subscriptions) ( #523 )
2022-04-12 12:24:34 +01: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
Evgeny Poberezkin
6daad10210
make condition depend on host os ( #329 )
2022-02-18 09:00:21 +00:00
Evgeny Poberezkin
dd256be4ec
use tagged JSON on android, update tests ( #321 )
2022-02-16 23:24:48 +00: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