Commit Graph

1319 Commits

Author SHA1 Message Date
Brendan Allan
ef9fe5b75f Merge pull request #539 from spacedriveapp/eslint-overhaul
Eslint overhaul
2023-01-23 01:45:02 -08:00
Brendan Allan
ba6b417bd7 Merge branch 'main' into eslint-overhaul 2023-01-23 01:44:28 -08:00
maxichrome
1b6b3d8a48 Add clean command (#540)
Co-authored-by: maxichrome <maxichrome@users.noreply.github.com>
2023-01-22 22:38:52 -08:00
Brendan Allan
30058aff5d Merge pull request #544 from niikeec/switch-thumb-classname
Separate thumb class name
2023-01-22 18:03:35 -08:00
Brendan Allan
22d4bed197 Merge pull request #546 from niikeec/dropdown
Closable dropdown menu
2023-01-22 18:03:20 -08:00
nikec
da91836381 wrap item with menu item 2023-01-22 18:27:46 +01:00
nikec
764e32c40f separate thumb class name 2023-01-22 18:26:13 +01:00
Brendan Allan
64bf19abc4 ignore empty funtion for tw helper 2023-01-22 16:34:03 +08:00
Brendan Allan
f0da8b037f update name of eslint job 2023-01-22 16:14:59 +08:00
Brendan Allan
c064d094d5 fix dependencies 2023-01-22 16:09:28 +08:00
Brendan Allan
d3737cea97 simplify eslint configs + add CI job 2023-01-22 16:01:15 +08:00
Brendan Allan
100787a349 Merge pull request #538 from spacedriveapp/fix-prettier-issues
Fix prettier issues
2023-01-21 01:38:48 -08:00
maxichrome
d7dee1bf9c re-add rspc codegen 2023-01-21 00:10:50 -08:00
maxichrome
394851efd8 Update CODEOWNERS 2023-01-21 00:02:21 -08:00
maxichrome
a0975ec8c0 fix prettier unparseable file issues 2023-01-20 23:40:30 -08:00
maxichrome
8477d5e73d add types to prettierrc 2023-01-20 23:39:10 -08:00
maxichrome
5b45458939 remove rspc codegen 2023-01-20 23:38:52 -08:00
Brendan Allan
e4e80fa603 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
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