Commit Graph

218 Commits

Author SHA1 Message Date
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
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
3e4ca13766 simplify eslint configs + add CI job 2023-01-22 16:01:15 +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
Brendan Allan
2589359ce2 Begin form abstraction (#515) 2023-01-12 07:26:59 -08:00
Brendan Allan
45bc9eacb9 Use import aliases (#508)
* implement a bunch of aliases

* build packages with tsc for turbo
2023-01-06 20:21:36 -08:00
Brendan Allan
3cc7a44435 relative imports in @sd/interface (#504) 2023-01-06 19:07:24 -08:00
Brendan Allan
666c663115 Fix Vercel Deployments (#503) 2023-01-04 20:32:46 -08:00
Ericson "Fogo" Soares
3b142c6180 ENG 223 Location Awareness (#468)
* Introducing location online/offline checks and location relink

* Some initial drafts for location watchers

* Location metadata relink and add library

* Many improvements at job system
Now using prisma batching at identifier job
Removing blocking I/O from extension subcrate
Implementing lazy generation of thumbnails
New current directory identifier job to be used on light rescans

* Some optimizations on identifier and object validator jobs

* merge jamie's identifier PR

* fully repaired identifier job

* properly hooked up object kind

* inspector fix

* fix video badge

* small improvements to libraries settings

* identifier and inspector improvements

* fix feature flags and hook up context menu location utilities

* BETTER CONTEXT MENU x100

* test-files

* style tweaks

* new icon designs

* manifest

* fix thumbnails on web

* media data

* New Location Watcher and some minor fixes

* disable broken media_data extractor, wip

* wip

* function name fix

* Fixing pnpm prep and some warnings

* Solving a race condition beetween indexer job and FS event handlerSome other minor warnings

* Generating thumbnails on watcher

* Remove event handler on watcher

* Some initial works on modify events and other small fixes

* File update event

* Trying to be more generic with used events and some tests to validate our assumptions

* Turning on location metadata file

* Introducing core unit tests on CI pipeline

* Submiting new unit test assumptions to validate on windows CI

* Fixing unit tests

* Fixing unit tests again

* Fixing unit tests

* Fixing unit tests for macos

* Fixing unit tests for macos again

* New structure for platform dependent event handling
Implementing event handlers for Linux and MacOS

* minor fixes + rustfmt + clippy

* Windows event handling

* Introducing a feature gate to only use location watching on desktop app for now

* Putting more stuff behind feature gates to avoid warnings

* Adding feature to cargo test on CI

* Changing some debug logs to trace logs and removing Jamie specific stuff

* Make location removal from manager less async

* fix build when "location-watcher" feature disabled

* fix types + clippy

* make location manager non-static

* remove uses of `to_string_lossy`

* more invalidate_query calls

* Expose `library_ctx` directly to avoid needless clones

* New materialized_path handling for directories

* Removing cascade delete between file_path and object
- Some other minor stuff

* remove unused `CurrentDirFileIdentifierJob`

Co-authored-by: Jamie Pine <ijamespine@me.com>
Co-authored-by: Oscar Beaumont <oscar@otbeaumont.me>
2022-12-31 00:53:24 +08:00
jake
7d73163af9 Crypto Hotfixes (#477)
* fix annoying typo that was breaking master password changing under certain conditions

* move `Select` boxes out of `react-hook-form` so they work

* add `DummyKey` and rework the UI a little

* fix bug where user could select a hashing algorithm (it did nothing)

* fix bug where encryption algorithm would be inherited from the key, not the user's choice
2022-12-09 22:05:32 +08:00
jake
ed8fd999e1 [ENG-251] Crypto Jobs (#475)
* add base crypto job

* leave hashing to the KM and not keyslots

* add latest header object versions and update examples

* add a very experimental (local file!) encrypt job

* working file encryption with default key

* working file decryption

* non-working encrypt file dialog

* general code cleanup

* comments and correct feature locking

* fix the `Dialog`

Co-authored-by: maxichrome <maxichrome@users.noreply.github.com>

* WIP encrypt dialog

* massive encrypt dialog overhaul

* add generic explorer alert dialog

* better key naming/numbering, alerts for unsupported scenarios

* cleanup + decrypt file dialog

* remove debugging stuff

* remove dead code & fix a bug with key select being empty

* clean up dialog UI massively

* add support for setting output path

* add correct button type to prevent early dialog submits

* add "nice" job data for encrypt/decrypt

* tweak functionality of key setting in encrypt dialog

* include full file metadata if selected, and lay out groundwork for preview media inclusion

* add comment about not restoring metadata/pvm just yet

* general cleanup

Co-authored-by: maxichrome <maxichrome@users.noreply.github.com>
2022-12-07 15:16:13 +00:00
Brendan Allan
cc84db49c8 Utilise tsconfig paths for workspace module resolution (#454)
* use @sd/client for tsconfig extends

* move all svgs to @sd/assets

* only use vite-tsconfig-paths

* remove ui from web

* use relative extends for ui tsconfig

* remove aliases from landing?

* use wacky landing vite config

* try using tsconfig paths and root on landing

* Revert "try using tsconfig paths and root on landing"

This reverts commit 43bd2a0f84.

* remove tsconfig-paths from landing
2022-11-06 20:18:41 -08:00
Jamie Pine
4476a52dd7 Update Team Page (#440)
update team page
2022-10-27 00:45:03 -07:00
Jamie Pine
63a846c56d Polish Icon Usage (#437) 2022-10-25 18:47:09 -07:00
Oscar Beaumont
d2798d1e5e Fix types 2022-10-25 11:48:00 +10:00
Oscar Beaumont
d536824ca1 Fix enter key not submitting dialog 2022-10-25 10:11:07 +10:00
Jamie Pine
dc52360593 more styles 2022-10-24 03:04:52 -07:00
Jamie Pine
9094d64d1e Merge branch 'spacedrive-but-themable' of github.com:spacedriveapp/spacedrive into spacedrive-but-themable 2022-10-24 01:18:05 -07:00
Jamie Pine
ecc24a43d8 job indicator + styling 2022-10-24 01:17:10 -07:00
Oscar Beaumont
41752bff43 debug mode + minor fixes 2022-10-24 17:48:52 +10:00
Jamie Pine
b2a0cd1b5c more style tweaks 2022-10-23 18:20:36 -07:00
Jamie Pine
b696f2a510 various style fixes 2022-10-23 18:09:15 -07:00
Jamie Pine
5b39400070 style tweaks, fix TS CI 2022-10-23 16:17:53 -07:00
Jamie Pine
7495192662 finish theming 2022-10-23 03:24:46 -07:00
Jamie Pine
7a58887048 more theming 2022-10-22 22:46:46 -07:00
Jamie Pine
5948593bd7 further tweaking 2022-10-22 07:01:59 -07:00
Jamie Pine
54e27dba47 more theming 2022-10-22 04:24:00 -07:00
Jamie Pine
71f987a4dc morpe stuf 2022-10-22 00:02:35 -07:00
Jamie Pine
83f86eeaba styled explorer top bar 2022-10-21 23:21:22 -07:00
Jamie Pine
55c81e18c9 Merge remote-tracking branch 'refs/remotes/origin/spacedrive-but-themable'
Conflicts:
	packages/interface/src/screens/settings/client/GeneralSettings.tsx
	packages/ui/src/Dropdown.tsx
2022-10-21 21:53:45 -07:00
Jamie Pine
4b9b8f335f refactor switch component + update styles 2022-10-21 21:50:47 -07:00
Brendan Allan
18d3c947f7 dropdown refactor 2022-10-22 01:35:03 +08:00
Jamie Pine
23a45563df refactor progress 2022-10-21 04:45:53 -07:00
Jamie Pine
237c5a12af Merge branch 'eng-259-identify-objectkind'
Conflicts:
	apps/landing/package.json
	apps/landing/vite.config.ts
	packages/interface/src/AppLayout.tsx
	packages/interface/src/components/explorer/Explorer.tsx
	packages/interface/src/components/explorer/ExplorerTopBar.tsx
	packages/ui/src/ContextMenu.tsx
	pnpm-lock.yaml
2022-10-20 22:49:15 -07:00
Jamie Pine
ed20c0ca1d merge 2022-10-20 21:55:39 -07:00
Brendan Allan
3bf95b2993 add CreateLibraryDialog to sidebar dropdown 2022-10-21 11:26:15 +08:00
Brendan Allan
276cf43a70 disable dropdown storybook 2022-10-21 10:30:19 +08:00
Brendan Allan
d4ad33e9c1 refactor dropdown 2022-10-21 10:29:50 +08:00
Brendan Allan
4ed63cc85d use custom tailwind styled function (#426)
* use custom tailwind styled function

* update pnpm lock

* fix landing vite config
2022-10-20 17:34:40 -07:00
Jamie Pine
3d0994f5df some esm vite plugin thing (#425) 2022-10-20 16:21:50 -07:00