Alexander Bondarenko
cf102da4d3
remote: add test for rejected ca detection and stability ( #3382 )
...
* add test for rejected ca detection and stability
* update mq commit
2023-11-17 11:19:33 +00:00
Evgeny Poberezkin
4da1d21c81
Merge branch 'master' into remote-desktop
2023-11-14 14:43:58 +00:00
spaced4ndy
5bbde22ffa
core: new message decryption error - ratchet synchronization ( #3367 )
2023-11-14 18:23:05 +04:00
Evgeny Poberezkin
c91625b32a
core: update remote host session state, terminate TLS in one more case ( #3364 )
...
* core: update remote host session state, terminate TLS in one more case
* name
2023-11-13 20:16:34 +00:00
Evgeny Poberezkin
b1101fbce4
Merge branch 'master' into remote-desktop
2023-11-11 09:49:22 +00:00
Evgeny Poberezkin
f7b4e4b16a
core: 5.4.0.3
2023-11-11 09:36:16 +00:00
Evgeny Poberezkin
97fd6a993e
Merge branch 'master' into remote-desktop
2023-11-10 22:22:04 +00:00
Evgeny Poberezkin
02225df274
core: remote control command/response encryption and signing inside TLS ( #3339 )
...
* core: remote control command/response encryption inside TLS (except files, no signing)
* sign/verify
* update simplexmq
* fix lazy
* remove RSNone
2023-11-10 16:10:10 +00:00
Stanislav Dmitrenko
fcdd8ce7c1
windows: script for building the lib ( #3340 )
...
* windows: script for building the lib
* changes
* change
* change
2023-11-10 11:49:53 +00:00
Alexander Bondarenko
f41861c026
core: terminate remote control TLS connection on both sides ( #3338 )
...
* handle session setup errors
* add command/async wrapper
* move furniture around
* detect disconnects and force them with closeConnection
* simplify http server log
* close TLS in other cases
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-11-09 22:43:44 +00:00
Stanislav Dmitrenko
96d94d3438
android, desktop: fix linking ( #3333 )
...
Co-authored-by: avently <avently@local>
2023-11-09 07:55:01 +00:00
Alexander Bondarenko
b729144773
core: use xrcp protocol for desktop/mobile connection ( #3305 )
...
* WIP: start working on /connect remote ctrl
OOB is broken, requires fixing simplexmq bits.
* WIP: pull CtrlCryptoHandle from xrcp
* place xrcp stubs
* WIP: start switching to RemoteControl.Client types
* fix http2 sha
* fix sha256map.nix
* fix cabal.project
* update RC test
* WIP: add new remote session
* fix compilation
* simplify
* attach HTTP2 server to TLS
* starting host session in controller (WIP)
* more WIP
* compiles
* compiles2
* wip
* pass startRemote' test
* async to poll for events from host, test to send messages fails
* move xrcp handshake test to simplexmq
* detect session stops
* fix connectRemoteCtrl
* use step type
* app info
* WIP: pairing stores
* plug in hello/appInfo/pairings
* negotiate app version
* update simplexmw, remove KEM secrets from DB
* fix file tests
* tone down http2 shutdown errors
* Add stored session test
* bump simplexmq tag
* update simplexmq
* refactor, fix
* removed unused errors
* rename fields, remove unused file
* rename errors
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-11-08 20:13:52 +00:00
Evgeny Poberezkin
3839267f88
Merge branch 'master' into remote-desktop
2023-11-08 13:10:42 +00:00
Evgeny Poberezkin
d233d07ddc
ci: ghc 9.6.3 ( #3328 )
2023-11-08 12:50:56 +00:00
Evgeny Poberezkin
2776d864a8
Merge branch 'master' into remote-desktop
2023-11-06 11:44:12 +00: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
177112ab18
update simplexmq
2023-11-04 19:04:40 +00:00
Evgeny Poberezkin
0cc26d192d
update sha256map.nix
2023-11-02 14:07:51 +00:00
Evgeny Poberezkin
8546c937b2
Merge branch 'master' into remote-desktop
2023-11-02 14:04:10 +00:00
Evgeny Poberezkin
34b07d6a3b
core: update simplexmq (http2 lib update to fix sending files)
2023-11-02 10:44:24 +00:00
Stanislav Dmitrenko
fad5128a83
android, desktop: updated Compose and changed mac notarization tool ( #3303 )
...
* android, desktop: updated Compose and changed mac notarization tool
* imports
* desktop (mac): fix lib building
* imports
---------
Co-authored-by: Avently <avently@local>
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-11-01 19:11:04 +00:00
Evgeny Poberezkin
8482dbfd99
core: update remote API commands/events ( #3295 )
...
* core: update remote API
* Add session verification event between tls and http2
* roll back char_ '@' parsers
* use more specific parser for verification codes
* cabal.project.local for mac
---------
Co-authored-by: IC Rainbow <aenor.realm@gmail.com >
2023-11-01 19:08:36 +00:00
Evgeny Poberezkin
9568279b0f
update simplexmq
2023-10-29 18:21:51 +00:00
spaced4ndy
b0f55d6de5
core: update simplexmq (check snd queue) ( #3280 )
2023-10-25 10:45:36 +04:00
spaced4ndy
ed1eef7362
core: update simplexmq (inv locks) ( #3274 )
2023-10-24 17:38:16 +04:00
Evgeny Poberezkin
8891314507
core: update simplexmq (fixes ordering issue during message delivery)
2023-10-22 14: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
Moritz Angermann
73b3ea3648
Drop entropy patch ( #3191 )
...
* Drop entropy patch
We don't need the patch anymore. We can set -fDoNotGetEntropy these days to achieve the same.
* remove entropy.patch
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-10-09 14:04:29 +01:00
Evgeny Poberezkin
b05a45f559
core: updated simplexmq (add tag to platform-specific sum type encoding that uses single field objects with swift/iOS)
2023-10-07 12:32:39 +01:00
Stanislav Dmitrenko
91fc238ddc
desktop: libs refactoring ( #3169 )
...
* desktop: libs refactoring
* mac fix
* windows fix
* .gitignore
* unused lines
* desktop (windows): adapting Windows build to new libs
* removed unused code
---------
Co-authored-by: avently <avently@local>
2023-10-04 17:06:23 +01:00
Stanislav Dmitrenko
695d47da2d
desktop: Windows build ( #3143 )
...
* desktop: Windows build
* temp
* temp
* new way of libs loading
* new way of libs loading
* Revert "new way of libs loading"
This reverts commit 8632f8a8f7 .
* made VLC working on Windows
* unused lib
* scripts
* updated script
* fix path
* fix lib loading
* fix lib loading
* packaging options
* different file manager implementation on Windows
---------
Co-authored-by: Avently <avently.local>
Co-authored-by: avently <avently@local>
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-10-01 13:33:15 +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
Stanislav Dmitrenko
c1854b7d50
desktop: fix script for building the lib ( #3141 )
2023-09-28 11:39:43 +01:00
Stanislav Dmitrenko
7e17ed7b1b
desktop (mac): removing rpaths ( #3136 )
...
* desktop (mac): removing rpaths
* one more lib
* added check for dir existence in linking
* new line
* patching libapp on mac
2023-09-27 15:34:46 +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
Stanislav Dmitrenko
9ac13a3433
action: prevent AppImage generator from failing a job ( #3096 )
...
* action: prevent AppImage generator from failing a job
* corrected
2023-09-21 22:43:48 +01:00
Stanislav Dmitrenko
2d7655281f
desktop: video and audio players ( #3052 )
...
* desktop: video and audio players
* making player working without preinstalled VLC
* mac support
* don't use vlc lib when not needed
* updated jna version
* changes in script
* video player lazy loading
* mac script changes
* updated build gradle for preserving atrributes of file while copying
* apply the same file stats on libs to make VLC checker happy
* updated script
* changes
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-09-21 18:03:47 +01:00
Stanislav Dmitrenko
5b87206c22
desktop: AppImage metadata ( #2952 )
...
* desktop: AppImage metadata
* update appimage metadata
* add screenshots
* update screenshots
* update
* update URLs
* update link
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2023-09-21 13:19:24 +01:00
Evgeny Poberezkin
bbd778a6be
core: update simplexmq (fix xftp agent)
2023-09-21 12:01:21 +01:00
Evgeny Poberezkin
b08768ea71
5.3-beta.8: desktop 8 ( #3086 )
...
* unpin unix package
* desktop: 1.6.0, build 8
* action: file hashes (#3087 )
* action: file hashes
* better output
* correct name
---------
Co-authored-by: Stanislav Dmitrenko <7953703+avently@users.noreply.github.com >
2023-09-20 21:21:56 +01:00
Evgeny Poberezkin
f16388323b
ui: translations ( #3083 )
...
* Translated using Weblate (Russian)
Currently translated at 100.0% (1381 of 1381 strings)
Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/ru/
* Translated using Weblate (Russian)
Currently translated at 100.0% (1244 of 1244 strings)
Translation: SimpleX Chat/SimpleX Chat iOS
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/ios/ru/
* Translated using Weblate (French)
Currently translated at 100.0% (1381 of 1381 strings)
Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/fr/
* Translated using Weblate (French)
Currently translated at 100.0% (1244 of 1244 strings)
Translation: SimpleX Chat/SimpleX Chat iOS
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/ios/fr/
* Translated using Weblate (Italian)
Currently translated at 100.0% (1381 of 1381 strings)
Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/it/
* Translated using Weblate (Italian)
Currently translated at 100.0% (1244 of 1244 strings)
Translation: SimpleX Chat/SimpleX Chat iOS
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/ios/it/
* Translated using Weblate (Dutch)
Currently translated at 100.0% (1381 of 1381 strings)
Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/nl/
* Translated using Weblate (Dutch)
Currently translated at 100.0% (1244 of 1244 strings)
Translation: SimpleX Chat/SimpleX Chat iOS
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/ios/nl/
* Translated using Weblate (Arabic)
Currently translated at 99.5% (1375 of 1381 strings)
Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/ar/
* Translated using Weblate (Polish)
Currently translated at 100.0% (1381 of 1381 strings)
Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/pl/
* Translated using Weblate (Polish)
Currently translated at 100.0% (1244 of 1244 strings)
Translation: SimpleX Chat/SimpleX Chat iOS
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/ios/pl/
* Translated using Weblate (Bulgarian)
Currently translated at 100.0% (1244 of 1244 strings)
Translation: SimpleX Chat/SimpleX Chat iOS
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/ios/bg/
* Translated using Weblate (Bulgarian)
Currently translated at 100.0% (1381 of 1381 strings)
Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/bg/
* Translated using Weblate (Russian)
Currently translated at 100.0% (1381 of 1381 strings)
Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/ru/
* Translated using Weblate (Russian)
Currently translated at 100.0% (1244 of 1244 strings)
Translation: SimpleX Chat/SimpleX Chat iOS
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/ios/ru/
* Translated using Weblate (French)
Currently translated at 100.0% (1381 of 1381 strings)
Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/fr/
* Translated using Weblate (French)
Currently translated at 100.0% (1244 of 1244 strings)
Translation: SimpleX Chat/SimpleX Chat iOS
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/ios/fr/
* Translated using Weblate (Italian)
Currently translated at 100.0% (1381 of 1381 strings)
Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/it/
* Translated using Weblate (Italian)
Currently translated at 100.0% (1244 of 1244 strings)
Translation: SimpleX Chat/SimpleX Chat iOS
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/ios/it/
* Translated using Weblate (Dutch)
Currently translated at 100.0% (1381 of 1381 strings)
Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/nl/
* Translated using Weblate (Dutch)
Currently translated at 100.0% (1244 of 1244 strings)
Translation: SimpleX Chat/SimpleX Chat iOS
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/ios/nl/
* Translated using Weblate (Arabic)
Currently translated at 99.5% (1375 of 1381 strings)
Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/ar/
* Translated using Weblate (Polish)
Currently translated at 100.0% (1381 of 1381 strings)
Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/pl/
* Translated using Weblate (Polish)
Currently translated at 100.0% (1244 of 1244 strings)
Translation: SimpleX Chat/SimpleX Chat iOS
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/ios/pl/
* Translated using Weblate (Bulgarian)
Currently translated at 100.0% (1244 of 1244 strings)
Translation: SimpleX Chat/SimpleX Chat iOS
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/ios/bg/
* Translated using Weblate (Bulgarian)
Currently translated at 100.0% (1381 of 1381 strings)
Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/bg/
* Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1381 of 1381 strings)
Translation: SimpleX Chat/SimpleX Chat Android
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/android/zh_Hans/
* Translated using Weblate (Chinese (Simplified))
Currently translated at 99.2% (1235 of 1244 strings)
Translation: SimpleX Chat/SimpleX Chat iOS
Translate-URL: https://hosted.weblate.org/projects/simplex-chat/ios/zh_Hans/
* import/export localizations
---------
Co-authored-by: Ophiushi <41908476+ishi-sama@users.noreply.github.com >
Co-authored-by: Random <random-r@users.noreply.hosted.weblate.org >
Co-authored-by: M1K4 <oomikaoo@gmail.com >
Co-authored-by: jonnysemon <jonnysemon@users.noreply.hosted.weblate.org >
Co-authored-by: B.O.S.S <BxOxSxS@protonmail.com >
Co-authored-by: elgratea <weblate@fastmail.com >
Co-authored-by: Citrus <cwuni@126.com >
2023-09-20 14:48:26 +01:00
Evgeny Poberezkin
0d0097326e
core: update simplexmq
2023-09-18 21:55:39 +01:00
Evgeny Poberezkin
fedc31c72c
Merge branch 'master' into master-ghc9
2023-09-10 21:11:35 +01:00
Alexander Bondarenko
2dff6c8859
core: do not subscribe to new connections from iOS NSE (subscribe=off flag), subscribe in app when it activates ( #3016 )
...
* Trace auto-subs flag
* Replace Bool with SubscriptionMode
* Add subscriptionMode to chat controller
* Start using subscriptionMode in event handlers
* Add need_subs to chat connections
* Add onlyNeeded to subscribeUserConnections
* Post-rebase fixes
* Pass onlyNeeded to Store functions
* Drop needs_sub for connections registered with agent
* update simplexmq, fix activate
* fix rebase, reduce diff
* fix rebase, tests
* fix rebase, executeMany, always subscribe on activate
* test
* update queries
* Update src/Simplex/Chat.hs
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
* unset connections to subscribe on start
* update simplexmq
---------
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2023-09-10 20:40:15 +01:00
Evgeny Poberezkin
281d9c7f79
ios: add Finnish and Ukranian interface languages ( #3040 )
2023-09-08 13:21:56 +01:00
spaced4ndy
b6c23b59ca
core: change logic of checking if peer supports feature (check if peer version is compatible) ( #3024 )
2023-09-06 17:48:37 +04:00
Evgeny Poberezkin
0ec3e0c18d
core: add debug info for subscriptions ( #3014 )
2023-09-04 23:19:24 +01:00
Evgeny Poberezkin
461142b875
core: update simplexmq (import stateTVar)
2023-09-01 22:27:03 +01:00
Evgeny Poberezkin
0b214acf97
core: support encrypted local files ( #2989 )
...
* core: support encrypted local files
* add migration
* update agent api, chat api
* fix query, exported functions to read/write files
* update simplexmq
* remove formatting changes
* test, fix file size
* reduce diff
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
* fail when receiving SMP files with local encryption
* update simplexmq
* remove style changes
---------
Co-authored-by: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com >
2023-09-01 19:43:27 +01:00