Commit Graph

529 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
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
d91bb9aa1d Merge branch 'main' into non-unique-objects 2023-01-30 12:11:35 +08:00
Brendan Allan
224ed772ac store cas ids on file paths 2023-01-28 11:42:24 +08:00
brxken128
253739c83e Merge branch 'main' into eng-348-async-crypto 2023-01-25 22:02:23 +00: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
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
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
a86c83e85f update bindings and TS mutations 2023-01-24 14:57:44 +00:00
Brendan Allan
320e6a834f update to latest swift-rs (#536)
* update to latest swift-rs

* remove redundant configs
2023-01-23 14:48:23 -08:00
brxken128
5abc0a0fde fix missing trashsimple icon 2023-01-23 11:33:50 +00:00
brxken128
ff05b7c83e update bindings 2023-01-23 11:05:10 +00:00
brxken128
766564afaa Merge branch 'main' into eng-345-cut-copy-duplicate-actions 2023-01-23 11:03:27 +00:00
Brendan Allan
eb84add14b Merge branch 'main' into eslint-overhaul 2023-01-23 01:44:28 -08:00
Brendan Allan
aaf6763e4c Merge pull request #544 from niikeec/switch-thumb-classname
Separate thumb class name
2023-01-22 18:03:35 -08:00
nikec
4b0fad3da5 wrap item with menu item 2023-01-22 18:27:46 +01:00
nikec
3f54fcaf6a separate thumb class name 2023-01-22 18:26:13 +01:00
nikec
d3941c1438 overlay panel ctx, closable job manager 2023-01-22 17:54:11 +01:00
Brendan Allan
ec86e6109c ignore empty funtion for tw helper 2023-01-22 16:34:03 +08:00
Brendan Allan
5a81ff8bbd fix dependencies 2023-01-22 16:09:28 +08:00
Brendan Allan
3e4ca13766 simplify eslint configs + add CI job 2023-01-22 16:01:15 +08:00
maxichrome
8494cab1b4 re-add rspc codegen 2023-01-21 00:10:50 -08:00
maxichrome
66c0f08a51 fix prettier unparseable file issues 2023-01-20 23:40:30 -08:00
maxichrome
f1834c0a24 remove rspc codegen 2023-01-20 23:38:52 -08:00
Brendan Allan
87286dba13 Refactor routes (#535)
* refactor routes

* use default export for screens

* use "route" relative routing

* don't use absolute import for root screens

* no absolute importing folders!!!

* fine we can absolute import folders
2023-01-20 12:40:36 -08:00
brxken128
bfe14c5668 clean things up a tad 2023-01-20 14:02:36 +00:00
brxken128
0579d9a356 remove unused icon 2023-01-20 13:26:07 +00:00
brxken128
1def37d975 add "nice data" for jobs 2023-01-20 13:26:04 +00:00
brxken128
10e71b145f attempt to move duplicate over to copy job 2023-01-20 13:23:17 +00:00
brxken128
1db17b1b14 use files.cutFiles route within TS 2023-01-20 13:21:05 +00:00
brxken128
712442b415 add frontend ground work for cut/copy actions 2023-01-20 13:18:11 +00:00
brxken128
8f9cee2e62 basic single file duplication 2023-01-20 13:12:11 +00:00
Brendan Allan
9c0c870964 Fix webkit reload (#534)
* wrap WKWebView in UnsafePointer

* formatting

* more formatting
2023-01-20 00:25:12 -08:00
maxichrome
d49ea55bf7 Merge branch 'main' of github.com:spacedriveapp/spacedrive into consistent-formatting-please 2023-01-19 20:41:59 -08:00
Brendan Allan
75cd78a484 make alias resolver independent of package/app 2023-01-20 12:21:20 +08:00
maxichrome
1b42826056 cleanup(don't hate me): prettier format everything 2023-01-19 19:32:35 -08:00
Brendan Allan
30cccd9e73 New dialog system (#531)
* use new dialog system

* rename + cleanup

* fix util imports

* remove GenericAlertDialog*

* remove unnecessary setShow
2023-01-19 19:23:22 -08:00
jake
aa02720460 [ENG-257] File erasure and deletion (#524)
* add helper functions for getting context-menu related filesystem info

* update comments and such

* add a barebones delete job

* add file deletion route

* add (empty but working) delete file dialog

* add super experimental file erase function

* update function doc

* add erase files route

* add erase files job

* tweak file erasing in crypto crate

* bindings

* add erase files dialog

* add missing `?`

* fix erase file form trickery

* remove unused imports

* terrible attempt at recursion for file erase

* IT WORKS

* code cleanup + clippy

* async just dropped (not for erase yet)

* async erase just dropped (+async crypto crate)

* add "nice data" for jobs
2023-01-18 19:55:14 -08:00
Brendan Allan
190de183fd stop doing useRef outside component (#530) 2023-01-18 19:49:17 -08:00
Brendan Allan
e1b878d917 use latest swift-rs (#526)
* use latest swift-rs

* update cargo lock
2023-01-17 06:37:32 -08:00
jake
92a7e66755 [ENG-328] Keymanager mounting queue (#514)
* add `get_queue` and `is_queued` to KM and router

* mark keys as being mounted/finished mounting, use a `DashSet` instead of vec

also includes temporary `dbg!()`s for manual valdiation that it works

* remove dbg and fix build (works great)

* mark key manager as unlocking correctly

* cleanup keys api

* add `KeyAlreadyQueued` error

* use react mounting queue

* fully prevent against multiple mount jobs of the same key with the rust queue

* show keymanager as unlocking in the UI

* handle query invalidation for `isKeyManagerUnlocking` with a closure (semi-temporary)

* revert changing text (doesn't work where the keymanager is unlocked from, only the other unlock screen)

* clippy

* add `useRef` for mounting queue within react

* pass `ref.current` to `Key` instead
2023-01-17 06:19:54 -08:00
Jeremy Möglich
d5f922e517 Desktop - Add more tooltips (#519) 2023-01-16 17:32:14 -08:00
Brendan Allan
80f85d6f7c Eng 332 auto generate sync ids (#523)
* generate sync ids and use model name from ModelActions

* cleanup AddLocationDialog imports

* rustfmt
2023-01-15 07:25:11 -08:00
Brendan Allan
2589359ce2 Begin form abstraction (#515) 2023-01-12 07:26:59 -08:00