Commit Graph

1559 Commits

Author SHA1 Message Date
Jules Guesnon
638f8cd166 [Fix] Dropdown focus when app is launching (#563)
fix(Interface): Removed the focus when app is launching
2023-02-08 13:37:25 -08:00
Oscar Beaumont
a636f05879 fix invalid submodule 2023-02-08 14:24:20 +08:00
Brendan Allan
23fbb1e408 Move location online status out of database (#560)
* move location online status out of database

* remove useLibrarySubscription

* remove old code
2023-02-07 05:58:47 -08:00
Brendan Allan
b901a72208 Merge branch 'main' of https://github.com/spacedriveapp/spacedrive 2023-02-07 21:26:06 +08:00
Brendan Allan
4602690751 damn i'm stupid 2023-02-07 21:00:27 +08:00
jake
e5b45d8f49 [ENG-355] Keychain integration (and some typesafety) (#558)
* update crypto MSRV

* rename `keychain` to `keyring`

* make a start on the keymanager unlock refactor/keychain integration

* update routes

* update bindings

* add const identifiers

* add UI/front-end support for unlocking KM with OS keychains

* remove SK from lib creation dialog

* update query name

* add keyring functions

* attempt to update `change_master_password()` to use the keychain

* cleanup, fix master password change ui, better secret key in keyring detection

* cleanup TS a little

* add route for getting secret key from keyring

* update bindings

* update var names + show secret key in keys settings

* add `react-qr-code` and option to view the secret key (if it's in the OS keyring)

* allow copying SK to clipboard

* add `key_type` so we're not reliant on specific UUIDs for root/verification key handling

* clippy

* fix mobile typecheck

* fix typecheck, fix typo and tweak balloon hash parameters

* minor cleanup + typo fix

* use newtype structs

* WIP type refactoring (major readability boost!)

* update `use`

* add tokio `sync` feature

* too many structs? idk

* more cleanup

* add `generate` and `Nonce`

* `Nonce` and `Key` typesafety (beautiful)

* clippy + cleanup

* update code & examples

* fix bug & remove `ProtectedVec` as it looked out of place

* use `Key`

* add a query invalidation to make the UI extremely responsive

* ci pls work

* remove `keyringHasSk` route
2023-02-07 12:03:12 +00:00
Brendan Allan
ed42c465e6 move data_dir dev check to desktop only 2023-02-06 17:46:55 +08:00
Brendan Allan
d6280b7066 Merge pull request #556 from spacedriveapp/update-msrv
update msrv to 1.67
2023-02-01 12:30:31 +08:00
Brendan Allan
b9089bf065 update msrv to 1.67 2023-02-01 12:21:34 +08:00
Brendan Allan
174c8e3ef7 Merge pull request #553 from spacedriveapp/non-unique-objects
Store CAS ids on file paths
2023-02-01 12:11:03 +08:00
Brendan Allan
bd37ca0d14 remove TryInto usage in sync manager 2023-02-01 11:42:43 +08:00
Brendan Allan
1ca84a2d33 remove temp_cas_id 2023-02-01 11:23:59 +08:00
jake
d97ebc4a67 [ENG-341] OS Keychains (#554)
* super barebones keychain start

* working+unfinished linux keychain

* add `copy` to `Identifier` and add `delete()`

* add generic errors + code cleanup

* cleanup code & add support for apple keychains

* remove `users` dep

* use uppercase UUID and tweak apple `account` variable

* revert uppercase change and clean up linux labels

* code cleanup & add a readme to the crypto crate

* remove useless `map`

* correctly handle keyring not supported errors

* add `Send` to `Box<dyn Keyring>`

* remove useless `cfg`s

* only return `Ok()` if we support keychains (pls work CI)

* clippy

* Minor fixes

---------

Co-authored-by: Ericson Fogo Soares <ericson.ds999@gmail.com>
2023-02-01 00:11:03 +00:00
Ericson Fogo Soares
c1944005b7 A bunch of minor fixes 2023-01-31 20:02:23 -03:00
brxken128
6a94f47148 remove tokio git patch and update to 1.25.0 2023-01-31 23:38:33 +08:00
Brendan Allan
d91bb9aa1d Merge branch 'main' into non-unique-objects 2023-01-30 12:11:35 +08:00
Brendan Allan
d6895f5735 Merge pull request #549 from spacedriveapp/eng-348-async-crypto
[ENG-348] Asynchronous crypto
2023-01-29 03:00:40 -08:00
Brendan Allan
224ed772ac store cas ids on file paths 2023-01-28 11:42:24 +08:00
brxken128
c26f2edd92 make requested changes 2023-01-26 10:39:18 +00:00
brxken128
b86ec247c8 update things to use workspace tokio 2023-01-25 22:03:10 +00:00
brxken128
253739c83e Merge branch 'main' into eng-348-async-crypto 2023-01-25 22:02:23 +00:00
Ericson "Fogo" Soares
1247a6d2fb Merge pull request #552 from spacedriveapp/eng-351-tokio-git
[ENG-351] Tokio git patch
2023-01-25 16:34:28 -03:00
brxken128
9fbc9f83ed use a tokio::sync::Mutex just to be safe 2023-01-25 18:20:29 +00:00
brxken128
8502241c0d use spacedriveapp/tokio 2023-01-25 15:00:24 +00:00
brxken128
f6845d7927 tell everything to use workspace tokio + add tokio git patch 2023-01-25 14:36:29 +00:00
brxken128
5bd86f5d60 change fs and macros tokio features to dev-deps 2023-01-25 14:03:00 +00:00
brxken128
db9b999f94 add correct features to tokio dep 2023-01-25 12:47:26 +00:00
Brendan Allan
77d6e730ec Merge pull request #551 from spacedriveapp/shared-sync-infra
update shared sync functions to use new system
2023-01-24 21:20:26 -08:00
Brendan Allan
6a71936252 update shared sync functions to use new system 2023-01-25 13:17:01 +08:00
Brendan Allan
208f67ed4a Merge pull request #542 from niikeec/closable-job-manager
Inner closable overlay panel
2023-01-24 20:38:51 -08:00
Brendan Allan
27be1da60c Merge branch 'main' into closable-job-manager 2023-01-25 12:25:05 +08:00
Brendan Allan
a8f1d2667a convert overlay to popover 2023-01-25 12:24:38 +08:00
nikec
d3455d7cf8 Update Popover.tsx 2023-01-25 02:02:00 +01:00
brxken128
c641b03b2f fix stream reading due to read()
Co-authored-by: Ericson Fogo Soares <ericson.ds999@gmail.com>
2023-01-24 23:28:16 +00:00
nikec
098ed47fd8 popover 2023-01-24 23:54:01 +01:00
nikec
95b436f6f1 Revert "overlay panel ctx, closable job manager"
This reverts commit d3941c1438.
2023-01-24 22:53:57 +01:00
brxken128
ec6fbed75e bring in Salt, Key and EncryptedKey type aliases 2023-01-24 17:01:50 +00:00
brxken128
d41a759058 add ProtectedVec type alias 2023-01-24 16:47:41 +00:00
brxken128
74f1a5268b clippy 2023-01-24 16:35:31 +00:00
brxken128
0ebb58b5d4 fix broken forms 2023-01-24 16:23:03 +00:00
brxken128
1d2f6baa2b use alertDialog within key mnanager panel 2023-01-24 16:22:48 +00:00
brxken128
0baf2f1928 update cli to use async crypto 2023-01-24 16:19:30 +00:00
brxken128
a86c83e85f update bindings and TS mutations 2023-01-24 14:57:44 +00:00
brxken128
ab75e426a7 disable benchmarks as they need async support 2023-01-24 14:25:42 +00:00
brxken128
04b17a6e54 update examples 2023-01-24 14:25:19 +00:00
brxken128
73dd4df26b async crypto! 2023-01-24 14:19:27 +00:00
brxken128
7f5396249a return to match/for statements for async iterators (until rust gets better support) 2023-01-24 14:04:18 +00:00
brxken128
fe2538a603 more async crypto 2023-01-24 13:50:46 +00:00
brxken128
d4b9dcaada mostly async keymanager 2023-01-24 13:16:47 +00:00
brxken128
48622104f5 async stream encryption and decryption 2023-01-24 12:49:54 +00:00