spaced4ndy
c0e8740f50
core: group message forwarding ( #3360 )
...
* core: group message forwarding types
* xgrpmemcon
* rework xgrpmemcon to use intros table
* only forward w/t error
* forward msg
* xGrpMsgForward, check integrity outside
* deduplicate group messages
* test
* change error
* item forwarded flag
* intro_chat_protocol_version, bump version
* comment
* highly available client option
* more comments
* notify xgrpmemcon on deduplication
* member vrange
* encoding
* remove MsgForward
* remove import
* exclude files from forwarding
* refactor
* rename to align with protocol
* forward more message types
* add events
* remove unused error, function
* add x.file.cancel, x.info and x.grp.mem.new to forwarded messages
* remove unused x.msg.file.cancel
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-11-18 17:52:01 +00:00
spaced4ndy
5bbde22ffa
core: new message decryption error - ratchet synchronization ( #3367 )
2023-11-14 18:23:05 +04:00
Evgeny Poberezkin
a2fe5cfb66
core: fix incorrect JSON serialization ( #3361 )
2023-11-13 17:45:10 +00:00
spaced4ndy
5beeff5cb6
core: take chat lock when synchronizing ratchet ( #3349 )
2023-11-12 12:41:41 +00:00
spaced4ndy
8722d35278
core: fix deletion of contact without connections ( #3327 )
2023-11-08 13:15:08 +04:00
spaced4ndy
ee6bd0f839
core: add image to simplex contact profile ( #3326 )
2023-11-08 10:56:55 +04:00
spaced4ndy
a04dc5d05b
core: preset simplex contact ( #3321 )
2023-11-07 17:45:59 +04:00
Evgeny Poberezkin
b33fe01e49
core: switch to GHC 9.6.3 ( #3307 )
...
* Various fixes aggregated
- windows definisions
- set compile rto 9.6.3
- flake adjust to 9.6.3
- update haskellNix
- add various patches
* Unbreak iOS
* update script and sha256map.nix
* ios: update core lib
---------
Co-authored-by: Moritz Angermann <moritz.angermann@gmail.com >
2023-11-06 11:43:43 +00:00
Evgeny Poberezkin
4816150b99
core: contacts without connections ( #3313 )
...
* core: contacts without connections
* compiles (some tests don't pass)
* remove commented code
* filter out user contact (fixes tests)
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2023-11-03 18:15:07 +00:00
Evgeny Poberezkin
c8c17a2f68
core: fix uri parse to not include trailing punctuation in URIs ( #3296 )
...
* core: fix uri parse to not include trailing punctuation in URIs
* simplify
2023-11-01 13:10:19 +00:00
spaced4ndy
f34bbdbd9c
core: improve group link protocol (immediately establish group connection without first creating contact) ( #3288 )
2023-10-30 20:40:20 +04:00
Evgeny Poberezkin
9568279b0f
update simplexmq
2023-10-29 18:21:51 +00:00
Evgeny Poberezkin
4a8da196ad
core: more permissive display name validation, only allow single quotes in CLI for the names with spaces ( #3282 )
2023-10-25 11:55:06 +01:00
spaced4ndy
239765e482
core: create new group with incognito membership ( #3277 )
2023-10-24 20:59:06 +04:00
spaced4ndy
f8332bac7f
core: take chat lock earlier when joining group ( #3272 )
2023-10-24 18:13:19 +04:00
Evgeny Poberezkin
5c57987e9f
add smp11, 12 and 14 to preset servers
2023-10-22 13:58:51 +01:00
spaced4ndy
87d84cfccc
core: filter connection plan query results by user_id ( #3251 )
2023-10-21 19:13:32 +04:00
Evgeny Poberezkin
2219cea026
core: fix type for JSON
2023-10-18 21:15:37 +01:00
Evgeny Poberezkin
706d6bf65b
core, ui: prevent old sent items re-added to chat, and "new" status overriding "sent" ( #3246 )
...
* core, ui: prevent old sent items re-added to chat, and "new" status overriding "sent"
* clear item statuses when changing current chat
* remove iOS hack
* remote state/published from chatItemStatuses
2023-10-18 11:23:35 +01:00
Evgeny Poberezkin
a02886ca5d
core: fix editing and status changes removing reactions from view ( #3245 )
...
* core: fix editing and status changes removing reactions from view
* refactor
* refactor 2
* case
2023-10-18 10:19:24 +01:00
spaced4ndy
e4c8386f3f
core: replace simplex:/ with simplex.chat links in view; remove trustedUri flag from simplex links markdown format ( #3235 )
2023-10-16 19:23:38 +04:00
spaced4ndy
9ed31261e1
core: check saved links and hashes by both connection request uri schemas for connection plan ( #3233 )
2023-10-16 16:16:03 +04:00
spaced4ndy
4b6df43e97
core: confirm to reconnect via address plan ( #3212 )
...
* core: confirm to reconnect plan
* rework query to prefer connections with contacts
2023-10-16 16:10:56 +04:00
Evgeny Poberezkin
c2a320640b
core: local encryption for auto-received inline files (e.g. small voice messages) ( #3224 )
...
* core: local encryption for auto-received inline files
* update view, test
2023-10-15 18:16:12 +01:00
Evgeny Poberezkin
ab290fb068
core: track network statuses, use in commands/events ( #3211 )
...
* core: track network statuses, use in commands/events
* ui types, test
* remove comment
2023-10-13 11:51:01 +01:00
Evgeny Poberezkin
8ff6b392c2
core: rename "reference" to "mention"
2023-10-11 21:15:31 +01:00
Evgeny Poberezkin
bca9473d77
core: settings to hide member messages, to show only reply (and mention) notifications ( #3190 )
...
* core: settings to hide member messages, to show only reply (and mention) notifications
* change type for showMessages
* commands for member settings
* member and notification settings
* test
* take member settings into account when showing messages and notifications
* fix to show sent messages
* store blocked items
* types
* rename to MFMentions
2023-10-11 19:10:38 +01:00
Evgeny Poberezkin
4ecf94dfad
core: move CLI notifications and active chat to view layer (for remote CLI) ( #3196 )
...
* core: move CLI notifications to view layer (to allow notifications in remote CLI)
* remove unused
* refactor activeTo
* move activeTo to ChatTerminal
* refactor
* move back
* remove extension
2023-10-11 09:50:11 +01:00
spaced4ndy
a67b79952b
core: connection plan api; check connection plan before connecting in terminal api ( #3176 )
2023-10-10 21:19:04 +04:00
Evgeny Poberezkin
f31b4e4632
Merge branch 'stable'
2023-10-09 16:00:24 +01:00
spaced4ndy
ab46cbc5dd
core: relax contact probing: don't send probe hashes to new contacts except group link hosts; still send probe hashes to group members ( #3180 )
2023-10-09 09:46:58 +04:00
Evgeny Poberezkin
985b9837c3
core: api to close database connection ( #3186 )
2023-10-08 16:22:53 +01:00
spaced4ndy
303d0eedf5
core: merge new contacts with existing contacts and group members ( #3173 )
2023-10-04 20:58:22 +04:00
Evgeny Poberezkin
38be27271f
core: profile names with spaces ( #3105 )
...
* core: profile names with spaces
* test
* more test
* update name validation, export C API
* refactor
* validate name when creating profile in CLI
* validate display name in all APIs when it is changed
2023-10-02 21:56:11 +01:00
spaced4ndy
d4cbef1ba1
core: notify about contact deletion only if contact is ready, catch errors ( #3160 )
2023-10-02 16:29:13 +04:00
Alexander Bondarenko
5ce388522e
Move toView and withStore* to a common module ( #3147 )
2023-09-29 15:50:20 +01:00
Evgeny Poberezkin
70a65e8969
core: close stores before import/delete/encryption operations to make compatible with windows, make encryption more resilient ( #3146 )
...
* core: close stores before import/delete/encryption operations to make compatible with windows, make encryption more resilient
* remove file names
* do not remove files if already removed
2023-09-29 13:09:48 +01:00
Evgeny Poberezkin
1d34500fba
core: revert stop/close changes made for Windows ( #3145 )
...
* Revert "core: return error response when wrong passphrase is passed to start"
This reverts commit ea319313f1 .
* Revert "core: support closing/re-opening store on chat stop/start (#3132 )"
This reverts commit 3c7fc6b0ee .
2023-09-29 11:14:10 +01:00
spaced4ndy
bc7baf560b
core: filter out connections of deleted contacts and group members on subscribe ( #3144 )
2023-09-29 11:24:16 +04:00
spaced4ndy
957f3b3eb0
core: delete unused contact silently ( #3140 )
2023-09-28 13:16:03 +04:00
Evgeny Poberezkin
ea319313f1
core: return error response when wrong passphrase is passed to start
2023-09-27 21:15:19 +01:00
spaced4ndy
c64d1e8361
core: notify contact about contact deletion ( #3131 )
2023-09-27 19:36:13 +04:00
Evgeny Poberezkin
3c7fc6b0ee
core: support closing/re-opening store on chat stop/start ( #3132 )
...
* core: support closing/re-opening store on chat stop/start
* update .nix refs
* kotlin: types
* add test
* update simplexmq
2023-09-27 15:26:03 +01:00
spaced4ndy
9b107fbdeb
core: fix invited member contact (do not display invitation context in UI) ( #3122 )
2023-09-25 16:39:27 +04:00
Evgeny Poberezkin
b3e880ee54
core: optimize C apis ( #3100 )
...
* core: optimize C apis
* more
* fix tests
* use pokeByteOff
* write lazy bytestring to buffer without conversion to strict
* avoid conversion of JSON to strict bytestrings
2023-09-22 13:45:16 +01:00
Evgeny Poberezkin
92ac3e2a8a
core: update contact and member profiles for both sides when contact is created with member (WIP) ( #3081 )
...
* core: update contact and member profiles for both sides when contact is created with member (WIP)
* send both sides, correctly process update
* refactor
* revert diff
* comments
* test
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2023-09-20 16:45:04 +04:00
Evgeny Poberezkin
52966e7e3d
core: optionally encrypt SMP files ( #3082 )
...
* core: optionally encrypt SMP files
* encrypt to temp file and rename or remove encryption args if it fails
* fix file encryption error handling
2023-09-20 13:05:09 +01:00
spaced4ndy
1928256b09
core: connect existing contacts to new members when profile matches, enable skipping direct connections in groups ( #3056 )
...
* core: test group members are assigned different LDNs in group when direct connections aren't created
* disable test output
* core: connect existing contacts to new members when profile matches (#3059 )
* core: connect existing contacts to new members when profile matches
* fix migration
* progress
* xInfoProbeOk for member
* fix tests
* add test
* fix tests
* tests
* remove deleteSentProbe
* remove deleteContactProfile_
* views
* don't check connections in deleteUnusedProfile_
* Revert "don't check connections in deleteUnusedProfile_"
This reverts commit 2016a0efde .
* fix test
* core: update member merge
* update saved schema
* fix queries and tests
* rename tables to original names
* remove index, corrections
* update schema dump
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-09-19 21:26:03 +01:00
Evgeny Poberezkin
ed3fb0b222
core: refactor incognito membership ( #3079 )
2023-09-19 18:50:10 +01:00
Evgeny Poberezkin
f1101b09ce
core: update for GHC 9.6.2
2023-09-18 21:52:51 +01:00