Evgeny Poberezkin
e273bd1239
Merge branch 'master' into master-ghc8107
2023-09-27 22:04:00 +01:00
Evgeny Poberezkin
ea319313f1
core: return error response when wrong passphrase is passed to start
2023-09-27 21:15:19 +01:00
Evgeny Poberezkin
98a3fc214d
Merge branch 'master' into master-ghc8107
2023-09-27 16:04:25 +01: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
Moritz Angermann
761ddac55d
core: use GHC 9.6.2 ( #2641 )
...
* Make it compiler with 9.6
Can be built with:
cabal build all -j --allow-newer=base --allow-newer=ghc-prim --allow-newer=template-haskell --allow-newer=bytestring --allow-newer=memory --allow-newer=cryptonite
Using ghc 9.6
It mostly runs afoul of https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0366-no-ambiguous-field-access.rst
* compile with GHC 9.6.2: dependencies, imports, code
* update GHC version in CI
* update GHC version in desktop build scripts
* update simplexmq, sha256map.nix
* update compiler
* update simplexmq, direct-sqlcipher
* remove missing files from .cabal
* building on desktop
* mac build changes
* added version back
* building libffi from source
* update simplexmq
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
Co-authored-by: Avently <7953703+avently@users.noreply.github.com >
2023-08-24 21:56:37 +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
527a5bc6b5
core: replace catchError with Exception.catch in archive import ( #2495 )
2023-05-23 18:38:40 +04:00
spaced4ndy
9644dcb9b4
core: ArchiveError ( #2493 )
2023-05-23 15:54:44 +04:00
spaced4ndy
bcbfc1758e
core: catch errors on archive import ( #2486 )
...
* core: catch errors on archive import
* return list
* refactor
* rename
* rename
* refactor
* Update src/Simplex/Chat/Archive.hs
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
* fix syntax
* refactor
* CRArchiveImported
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-05-23 13:51:23 +04:00
spaced4ndy
761fbf7757
core: remove temp files directory when deleting storage ( #2446 )
2023-05-16 15:05:18 +04:00
Evgeny Poberezkin
d7f9e17bcb
core: use XFTP to send and receive files ( #1993 )
...
* core: use XFTP to send and receive files
* xftp files progress
* xftp reception stubs, migration
* update simplexmq
* xftp sequence diagram
* additional chat events
* send file via XFTP
* send XFTP file description inline when file is uploaded
2023-03-13 10:30:32 +00:00
Evgeny Poberezkin
a72f603e13
core: switch connection ( #1277 )
...
* core: switch connection
* chat items for SWITCH
* additional events for connection switch
* update simplexmq
* test
* comment test output
* update messages for connection switch
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-11-01 13:26:08 +00:00
Evgeny Poberezkin
628f119151
core: lints ( #1144 )
2022-09-29 16:26:43 +01: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
3f5ca84c84
core: fix error reporting of sqlcipher export errors ( #1029 )
2022-09-07 17:20:47 +01:00
Evgeny Poberezkin
de2d169fbc
core: report passphrase error separately from others ( #1027 )
2022-09-06 23:14:58 +01:00
Evgeny Poberezkin
a611040c41
Merge branch 'master' into sqlcipher
2022-09-05 15:37:08 +01:00
Evgeny Poberezkin
082e12683b
core: change database encryption API to require current passphrase on all changes ( #1019 )
2022-09-05 14:54:39 +01:00
Evgeny Poberezkin
a8216bbd54
core: add error strings to SQLCipher encrypt/decrypt commands ( #1014 )
2022-09-03 19:32:21 +01:00
Evgeny Poberezkin
3613fc953e
core: encrypt chat database ( #988 )
...
* core: encrypt chat database
* check DB key error on start
* function to encrypt database
* encrypt database command
* decrypt, rekey
* remove rekey, refactor
* test for db encryption/decryption
* update simplexmq
2022-08-31 18:07:34 +01:00
JRoberts
ba9a6f3ab6
android: database export & import ( #787 )
...
* android: database export & import wip
* fix import
* import, delete
* disabled during in progress
* footer
* ChatArchiveView
* refactor
* disable settings
* more chat running interactions
* more chat running interactions
* fixes
* rename
* fixes
* fix
* change ts format
* chatWasStopped model variable
* remove logs
* reset chatWasStopped
* chat was stopped preference
* fixes
* unconditional chatRunning
* remove intermediary view
* refactor
* mkInstantPreference
* refactor
* refactor
* refactor
* DatabaseItem
* remove todos
* refactor
* refactor
* refactor
* translations
* translations
* refactor import
* refactor import
2022-07-08 17:16:28 +04:00
JRoberts
e290309cd1
core: add optional parentTempDirectory to ArchiveConfig ( #788 )
...
* core: add optional parentTempDirectory to ArchiveConfig
* swift
* brackets
* Update src/Simplex/Chat/Archive.hs
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
* logs
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-07-06 21:45:29 +04:00
Evgeny Poberezkin
16bd9ccc4f
core: send SMP notification msg flag based on chat message ( #733 )
...
* core: send SMP notification msg flag based on chat message
* update simplexmq
* remove unnecessary condition
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-06-07 14:14:54 +01:00
Evgeny Poberezkin
f341e54128
Export & import storage archive ( #726 )
...
* core: import and export of chat archive
* export chat archive
* import archive, support starting chat after it is stopped
* test for maintenance mode
* test/fix archive with files
* prevent starting chat after chat database was deleted or imported
* update simplexmq
2022-06-06 16:23:47 +01:00