Commit graph

1316 commits

Author SHA1 Message Date
brxken128 22bf284150 further cleanup 2023-01-20 13:23:21 +00:00
brxken128 639ce36242 remove duplicate 2023-01-20 13:23:21 +00:00
brxken128 cb240099e2 slowly start to cleanup copy code 2023-01-20 13:23:21 +00:00
brxken128 e9b79358bd basic file duplication with the copy job 2023-01-20 13:23:21 +00:00
brxken128 508c6bdd6b attempt to move duplicate over to copy job 2023-01-20 13:23:17 +00:00
brxken128 99440c4930 super nice file AND directory copying (the new duplicate too) 2023-01-20 13:21:08 +00:00
brxken128 8b9f05f168 working single file copy 2023-01-20 13:21:08 +00:00
brxken128 efc7843c24 use files.cutFiles route within TS 2023-01-20 13:21:05 +00:00
brxken128 6196df4e48 add (working!) cut job 2023-01-20 13:18:17 +00:00
brxken128 1397d84e15 add file cutter to files route 2023-01-20 13:18:17 +00:00
brxken128 6b5af02b87 add frontend ground work for cut/copy actions 2023-01-20 13:18:11 +00:00
brxken128 b9f4d59bf4 fully working file duplicator 2023-01-20 13:12:26 +00:00
brxken128 bd8b6446aa cleanup duplicator job 2023-01-20 13:12:26 +00:00
brxken128 e86ed4e212 working dir duplication 2023-01-20 13:12:26 +00:00
brxken128 f81c1b35a8 basic single file duplication 2023-01-20 13:12:11 +00:00
Brendan Allan 24de617b92
Fix webkit reload (#534)
* wrap WKWebView in UnsafePointer

* formatting

* more formatting
2023-01-20 00:25:12 -08:00
maxichrome 0be71dc955
Merge pull request #533 from spacedriveapp/consistent-formatting-please
Enforce consistent formatting
2023-01-19 21:51:48 -08:00
maxichrome 49218cb1bb Merge branch 'main' of github.com:spacedriveapp/spacedrive into consistent-formatting-please 2023-01-19 20:41:59 -08:00
maxichrome 10258bbb88 rm not-strictly-necessary pnpm before lefthook install 2023-01-19 20:31:35 -08:00
maxichrome 7a107f134c refresh pnpm lockfile 2023-01-19 20:29:51 -08:00
maxichrome 9903625d15 don't use symlinked binaries (pnpm bugfix!) 2023-01-19 20:29:32 -08:00
Brendan Allan ff5b80cc1a Merge branch 'main' of https://github.com/spacedriveapp/spacedrive 2023-01-20 12:21:23 +08:00
Brendan Allan 77fb8a27e8 make alias resolver independent of package/app 2023-01-20 12:21:20 +08:00
maxichrome cda8236de6 prefix lefthook install with pnpm because executability is broken 2023-01-19 19:58:49 -08:00
Ericson "Fogo" Soares 50a8eb689b
[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 ec4352a30a cleanup(don't hate me): prettier format everything 2023-01-19 19:32:35 -08:00
maxichrome 62bcd3e0f6 don't let prettier ruin vite config :( 2023-01-19 19:30:55 -08:00
maxichrome 5e7e484753 let prettier determine its own supported types 2023-01-19 19:27:46 -08:00
maxichrome dd6a72cedc ensure more things are ignored by prettier 2023-01-19 19:27:10 -08:00
maxichrome 5ba70c79b0 Merge branch 'main' of github.com:spacedriveapp/spacedrive into consistent-formatting-please 2023-01-19 19:24:04 -08:00
Brendan Allan c2ab9466f5
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 a682e8c9a8 format & comment prettier ignore 2023-01-19 19:22:13 -08:00
maxichrome 7268495b6f install lint-staged 2023-01-19 19:19:35 -08:00
maxichrome 58dacf5eef prettier: ignore pnpm lockfile 2023-01-19 19:19:19 -08:00
Brendan Allan edfccd9f54 update prettierignore 2023-01-20 11:17:56 +08:00
maxichrome 289fc109fd i love lint-staged 2023-01-19 19:15:33 -08:00
maxichrome cfbd0d16aa better sort packages by external/package/local 2023-01-19 18:30:59 -08:00
maxichrome fc2e1e3ae5 integrate lefthook precommit formatting 2023-01-19 13:08:55 -08:00
maxichrome 62d731aeb9 update prettier config 2023-01-19 13:08:55 -08:00
jake 0a31e7f8ce
[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 2059c64e1f
stop doing useRef outside component (#530) 2023-01-18 19:49:17 -08:00
Brendan Allan 1041cb6e3c
use latest swift-rs (#526)
* use latest swift-rs

* update cargo lock
2023-01-17 06:37:32 -08:00
jake 0ef7f64bbb
[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 31d04d5594
[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 1a1ddf3409
Desktop - Add more tooltips (#519) 2023-01-16 17:32:14 -08:00
Brendan Allan a53b162f4b
make separate tsconfig for landing server (#525) 2023-01-16 17:18:20 -08:00
Ericson "Fogo" Soares 31b5c4b1db
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 8e479f736f
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 02b4c2eba6 remove stray comma on Spaces page 2023-01-13 22:11:50 -08:00
Ericson "Fogo" Soares 6b17409a72 Fixing unit tests for MacOS 2023-01-13 17:02:57 -03:00