Evgeny Poberezkin
4e861cc93a
core: only send changed contacts in api response on user profile update ( #2971 )
2023-08-22 19:16:38 +01:00
Evgeny Poberezkin
c98b9cda85
core: change profile update API to return updated contacts ( #2967 )
2023-08-22 16:13:57 +01:00
spaced4ndy
34cf672bc6
core: show count and average time for slow queries ( #2939 )
2023-08-16 21:21:12 +04:00
spaced4ndy
4a5dd0a3a4
core: add indexes to improve slow queries performance ( #2931 )
...
* core: add indexes to improve slow queries performance
* idx_chat_items_group_id
* update simplexmq, schema
* update simplexmq
* remove index
* update simplexmq
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-08-16 10:41:52 +04:00
Evgeny Poberezkin
e326227d06
cli: change default member role from "admin" to "member" ( #2915 )
2023-08-14 07:37:04 +01:00
Evgeny Poberezkin
d0f4533a09
Merge branch 'stable'
2023-08-12 21:21:45 +01:00
Evgeny Poberezkin
113669ac16
core: track slow SQL queries ( #2904 )
...
* core: track slow SQL queries
* fixes
* update simplexmq
2023-08-12 18:27:10 +01:00
Moritz Angermann
85ddb646af
core: explicitly set encoding to utf-8 (fixes unicode filenames on mobile) ( #2908 )
...
* Explicitly set encoding to utf-8 on mobile
GHC's rts tries to obtain the encoding from iconv, however this is not
really available on iOS. It therefore defaults to US-ASCII, and then
breaks with unicode data. We now explicitly set this to utf-8 here.
* ormolu
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-08-12 18:15:11 +01:00
Evgeny Poberezkin
0176bc3b2c
core: improve members query performance ( #2903 )
2023-08-12 13:53:08 +01:00
spaced4ndy
d80ee14f77
Revert "Revert "core: rework incognito mode - set per connection ( #2838 )""
...
This reverts commit b003d659e4 .
2023-08-08 17:25:28 +04:00
Evgeny Poberezkin
53662ef077
directory: store log ( #2863 )
...
* directory: store log
* store log test (fails)
* fix store log
2023-08-07 08:25:15 +01:00
Evgeny Poberezkin
4826a62d36
directory: list groups with group member counts ( #2855 )
...
* directory: list groups with group member counts
* list groups, test
* superuser can list all groups
* rename command
* remove type synonym
* add member count to search results
* fix test
2023-08-06 11:56:40 +01:00
Evgeny Poberezkin
e2d5ad0e48
Merge branch 'master' into directory-service
2023-08-02 16:25:56 +01:00
Evgeny Poberezkin
e34a8ef719
Merge branch 'stable'
2023-08-02 16:23:17 +01:00
Evgeny Poberezkin
e30f7695ab
core, ios: fix markdown ( #2837 )
2023-08-02 16:22:20 +01:00
Evgeny Poberezkin
2b69103055
SimpleX Directory Service ( #2766 )
...
* SimpleX Directory Service
* more events
* update events
* fix
* Apply suggestions from code review
metavar
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
* metavar 2
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
* process events
* remove command serialization
* update
* update
* process group profile update
* basic group registration flow
* search works
* better messages
* improve messages
* test broadcast bot
* test for directory service
* better processing of group profile change, test
* refactor
* de-list group when owner or service is removed from the group, tests
* fix: removing any member or any member leaving should not delist the group
* refactor
* more tests, fixes
* disable bot tests in CI
* remove comment
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2023-08-01 20:54:51 +01:00
spaced4ndy
c935e8aff3
core: fix status parsing 2 ( #2809 )
2023-07-31 15:52:42 +01:00
spaced4ndy
a0a567f5f7
core: fix status parsing ( #2807 )
2023-07-31 15:52:02 +01:00
spaced4ndy
98e68c8e74
core: read unparsable item status as unknown ( #2805 )
2023-07-31 15:46:31 +01:00
Evgeny Poberezkin
03edde18eb
core: update preset smp relays ( #2804 )
2023-07-31 15:19:28 +01:00
spaced4ndy
fff8935b94
core: fix status parsing 2 ( #2809 )
2023-07-31 15:26:29 +04:00
spaced4ndy
9e7a45c734
core: fix status parsing ( #2807 )
2023-07-31 14:20:24 +04:00
spaced4ndy
98e53fb35b
core: read unparsable item status as unknown ( #2805 )
2023-07-31 11:54:39 +04:00
Evgeny Poberezkin
cb4aa29549
core: update preset smp relays ( #2804 )
2023-07-30 15:15:41 +01:00
spaced4ndy
ae9b83515c
core: group snd status ( #2763 )
...
* core: group snd status
* schema, implementation
* refactor direct, tests
* configure, tests
* item info
* refactor
* refactor
* remove do
* rename
* remove receipts on events
* refactor
* refactor
* refactor
* refactor
* tests
* rename tests
* aggregates
* fix name
* refactor
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-07-26 14:49:35 +04:00
Evgeny Poberezkin
9c49b038cd
core: split preferences to separate file
2023-07-22 11:43:03 +01:00
Evgeny Poberezkin
a715e847ad
core: split preferences to separate file
2023-07-21 21:32:28 +01:00
spaced4ndy
d63c7d2abc
core: silence group errors to reduce load on UI event log ( #2735 )
2023-07-20 16:15:57 +04:00
spaced4ndy
05b292ac00
core, mobile: fix editable interactions, item menu actions ( #2733 )
2023-07-20 13:50:31 +04:00
spaced4ndy
938bd56c3a
core: check item status is not already SndRcvd before updating to SndSent ( #2708 )
2023-07-17 15:25:32 +04:00
Evgeny Poberezkin
0f4473d272
core: delivery receipts ( #2644 )
...
* core: delivery receipts
* update simplexmq
* preference, migration
* add activated state to receipts preference, update tests
* set receiveReceipts as activated on new profiles
* update simplexmq, fix tests
* update simplexmq, fix withAckMessage
* one more option
* more
* use tryChatError in ack message
* enable all tests
* rename pref
* update item status on delivery receipts
* show receipts for tests
* remove chat preference for delivery receipts
* add user, contact and group settings for delivery receipts
* only send delivery receipts if enabled for the contact or user profile (and not disabled for the contact)
* fix tests
* reuse event, test
* configure per contact - db, api, test
* rename commands
* update simplexmq
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2023-07-13 23:48:25 +01:00
Evgeny Poberezkin
7a8db16791
core: catch IO exceptions in ExceptT ( #2669 )
...
* core: catch IO exceptions in ExceptT
* catch IO exceptions for ACK
* simplify, remove unnecessary changes
* fix, update simplexmq
* update simplexmq, enable all tests
* fix
* update simplexmq (fix finally)
* update sha256map.nix
2023-07-09 23:24:38 +01:00
spaced4ndy
ae17566a94
core: ratchet synchronization ( #2653 )
2023-07-05 19:44:21 +04:00
Evgeny Poberezkin
5d9b6266ea
ios, core: pull to reconnect relays ( #2652 )
...
* ios, core: pull to reconnect relays
* update simplexmq
* update texts
2023-07-05 09:09:56 +01:00
Evgeny Poberezkin
6da18d9b2a
core: group permision to allow files and media ( #2610 )
...
* core: group permision to allow files and media
* test
2023-06-24 12:36:07 +01:00
spaced4ndy
da2622f00e
core: moderate messages that have arrived after the event of moderation ( #2604 )
...
* core: moderate messages that have arrived after the event of moderation
* remove index
* test, delete moderation
* unused selector
* rework
* refactor
* change error
* parameter
* fix syntax
* refactor
* Nothing
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-06-22 20:38:09 +04:00
spaced4ndy
15b00f6110
core, mobile: unhide share address (reverts #2468 ) ( #2600 )
2023-06-20 10:15:28 +04:00
spaced4ndy
d929c34e71
core: include ConnectionStats into switch api response ( #2594 )
2023-06-19 16:07:17 +04:00
Evgeny Poberezkin
5c105cb746
core: mark chats as favorite ( #2591 )
2023-06-18 12:46:38 +01:00
Evgeny Poberezkin
e1370e8f3c
core: split Store.hs to multiple files for faster re-compilation ( #2589 )
...
* core: split Store.hs to multiple files for faster re-compilation
* remove unused compiler pragmas
2023-06-18 10:20:11 +01:00
Evgeny Poberezkin
9fbcc2b5bb
core: rename module ( #2587 )
2023-06-17 11:03:22 +01:00
Evgeny Poberezkin
53d77b25ed
core: count successes and failures for batch operations, only log errors in info log-level ( #2585 )
...
* core: count successes and failures for batch operations, only log errors in info log-level
* correction
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2023-06-17 10:34:04 +01:00
spaced4ndy
6d3cb0ea2e
core: api to abort connection switch; update simplexmq ( #2544 )
2023-06-16 19:05:53 +04:00
Evgeny Poberezkin
46c6f5e615
cli: option to auto-accept files ( #2540 )
...
* cli: option to auto-accept files
* auto-accept works
* test
* add missing field
2023-06-16 13:43:06 +01:00
spaced4ndy
425c7b947f
core: optimize group deletion (delays deletion of unused contacts) ( #2560 )
...
* core: optimize group deletion (wip)
* delay deletion of unused contacts
* clean up, fix test
* rename field
* remove from type, more checks, remove ctx
* remove space
* rename functions
* rename
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-06-12 13:45:39 +04:00
spaced4ndy
92cf945e10
core: update default mobile servers ( #2548 )
2023-06-11 07:48:03 +01:00
spaced4ndy
cc0f55c245
core, mobile: track contact connection network status when new contact joins group ( #2566 )
2023-06-09 16:43:53 +04:00
spaced4ndy
f581e91f19
core, mobile: correctly check whether date is recent ( #2559 )
2023-06-08 11:23:04 +04:00
spaced4ndy
fb72dfcdee
core: calculate local item ts in view instead of having it in type ( #2551 )
2023-06-08 11:07:21 +04:00
spaced4ndy
875282e9ec
core: fix parsing multiple servers passed as cli argument ( #2549 )
2023-06-06 14:17:14 +04:00