Commit Graph

1559 Commits

Author SHA1 Message Date
brxken128
1db17b1b14 use files.cutFiles route within TS 2023-01-20 13:21:05 +00:00
brxken128
d88eab4aa5 add (working!) cut job 2023-01-20 13:18:17 +00:00
brxken128
4fac04de47 add file cutter to files route 2023-01-20 13:18:17 +00:00
brxken128
712442b415 add frontend ground work for cut/copy actions 2023-01-20 13:18:11 +00:00
brxken128
e376a2a46a fully working file duplicator 2023-01-20 13:12:26 +00:00
brxken128
bdbaff020d cleanup duplicator job 2023-01-20 13:12:26 +00:00
brxken128
972a51ed49 working dir duplication 2023-01-20 13:12:26 +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
747a83c8cf Merge pull request #533 from spacedriveapp/consistent-formatting-please
Enforce consistent formatting
2023-01-19 21:51:48 -08:00
maxichrome
d49ea55bf7 Merge branch 'main' of github.com:spacedriveapp/spacedrive into consistent-formatting-please 2023-01-19 20:41:59 -08:00
maxichrome
d7ff841441 rm not-strictly-necessary pnpm before lefthook install 2023-01-19 20:31:35 -08:00
maxichrome
2fb1cc14f1 refresh pnpm lockfile 2023-01-19 20:29:51 -08:00
maxichrome
a1e2535ed0 don't use symlinked binaries (pnpm bugfix!) 2023-01-19 20:29:32 -08:00
Brendan Allan
2580ecae32 Merge branch 'main' of https://github.com/spacedriveapp/spacedrive 2023-01-20 12:21:23 +08:00
Brendan Allan
75cd78a484 make alias resolver independent of package/app 2023-01-20 12:21:20 +08:00
maxichrome
6271fd25ff prefix lefthook install with pnpm because executability is broken 2023-01-19 19:58:49 -08:00
Ericson "Fogo" Soares
c532688745 [ENG-342] Block location watcher for files that are being actively modified (#522)
* Introducing LocationManager to stop and reinit watching a location

* Temporarely ignore events for a path at location manager

* Refactoring some functions to a functional style
Also introducing a tracing directive to use info level on manager logs
and fixing pnpm prep due to a conditional compilation error

* Refactoring location manager actor

* Fixing pnpm prep due to conditional compilation problems
2023-01-19 19:49:23 -08:00
maxichrome
1b42826056 cleanup(don't hate me): prettier format everything 2023-01-19 19:32:35 -08:00
maxichrome
650c2aee8a let prettier determine its own supported types 2023-01-19 19:27:46 -08:00
maxichrome
0ab848061d ensure more things are ignored by prettier 2023-01-19 19:27:10 -08:00
maxichrome
cf0e7b59a0 Merge branch 'main' of github.com:spacedriveapp/spacedrive into consistent-formatting-please 2023-01-19 19:24:04 -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
maxichrome
bb80e39713 format & comment prettier ignore 2023-01-19 19:22:13 -08:00
maxichrome
7975db33f8 install lint-staged 2023-01-19 19:19:35 -08:00
maxichrome
8d20481624 prettier: ignore pnpm lockfile 2023-01-19 19:19:19 -08:00
Brendan Allan
0319eed792 update prettierignore 2023-01-20 11:17:56 +08:00
maxichrome
2b43dde5ba i love lint-staged 2023-01-19 19:15:33 -08:00
maxichrome
3a4c0a583e better sort packages by external/package/local 2023-01-19 18:30:59 -08:00
maxichrome
3780703e94 integrate lefthook precommit formatting 2023-01-19 13:08:55 -08:00
maxichrome
e7dfcf29e4 update prettier config 2023-01-19 13:08:55 -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
Ericson "Fogo" Soares
49d649b26f [ENG-333] Handle .spacedrive existing instead of throwing error (#521)
* Removing metadata files that failed to be deserialized

* Reintroducing deserialize error for location metadata on prod builds
2023-01-17 06:17:14 -08:00
Jeremy Möglich
d5f922e517 Desktop - Add more tooltips (#519) 2023-01-16 17:32:14 -08:00
Ericson "Fogo" Soares
c5eed27fa6 Merge pull request #517 from spacedriveapp/eng-304-too-many-files-macos-unhappy-with-prod
[ENG-304] "Too many files" macOS unhappy with prod!
2023-01-16 20:03:45 -03: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
maxichrome
ff78169f06 remove stray comma on Spaces page 2023-01-13 22:11:50 -08:00
Ericson "Fogo" Soares
328776dee7 Fixing unit tests for MacOS 2023-01-13 17:02:57 -03:00
Ericson "Fogo" Soares
c9b529dd2e MacOS file system event handling using FSEvents backend 2023-01-13 15:55:16 -03:00
Brendan Allan
2589359ce2 Begin form abstraction (#515) 2023-01-12 07:26:59 -08:00
Brendan Allan
542716d2d0 use origin instead of url for web 2023-01-12 18:56:26 +08:00
Ericson Fogo Soares
7b8f7959a1 Trying to figure out why events didn't matched 2023-01-11 19:46:34 -03:00
Ericson Fogo Soares
acd0c2d298 Checking MacOS file system events using FSEvents instead od Kqueue 2023-01-11 18:57:41 -03:00
jake
3c0729e7aa [ENG-331] StoredKey overhaul (#513)
* add wip storedkey versioning

* storedkey versioning! (not pretty, but it never will be)

* add version to `StoredKey` and re-gen migrations to handle serde

* use `serde` for interacting with the DB + handle errors
2023-01-11 05:15:08 -08:00
Utku
9de6f00c1d Mobile Explorer (#512)
* Fix spacing

* Primitive popup menu

* Sort by & layout menu

* Add sort direction

* Style sort by menu

* new file icons

* thumb wrapper

* update packages & fix folder color

* explorer list & grid views

* Fix grid view spacing

* Grid image sizing

* Explorer store + calculation of grid item size

* Explorer list view

* Explorer store on filerow too
2023-01-11 14:39:19 +03:00
jake
9f45d04bec Detect SD-encrypted files and display them as such (#511)
* add encrypted file magic bytes/extension

* use archive icon for encrypted files temporarily

* use pascal case for encrypted extensions

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2023-01-11 00:40:49 -08:00
jake
d3b400be6f [ENG-329] Crypto dialog refactor (#509)
* update backup restoration dialog

* restructure MPC dialog

* refactor `EncryptFileDialog`

* dialog changes

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2023-01-11 00:38:45 -08:00