Commit Graph

133 Commits

Author SHA1 Message Date
Jamie Pine
3aa7285917 Merge remote-tracking branch 'origin/eng-237-explorer-performance-2' into eng-237-explorer-performance-2 2022-09-07 19:45:53 -07:00
Ericson Fogo Soares
6f887a11b9 A wrong premise about report on a running job 2022-09-07 23:43:39 -03:00
Jamie Pine
410726c685 Merge remote-tracking branch 'origin/eng-237-explorer-performance-2' into eng-237-explorer-performance-2 2022-09-07 19:25:43 -07:00
Ericson Fogo Soares
fac10845df Missing job error from serde_json::Error 2022-09-07 23:23:04 -03:00
Jamie Pine
5ee47060bd Merge remote-tracking branch 'origin/eng-237-explorer-performance-2' into eng-237-explorer-performance-2 2022-09-07 19:12:49 -07:00
Ericson Fogo Soares
3a8d0c91e9 Implementing metadata for jobs 2022-09-07 23:08:11 -03:00
Jamie Pine
ed8d32ec87 hotfix for identifier orphan query 2022-09-07 14:05:33 -07:00
Jamie Pine
6b5a6fd39c (fix) identifier job: better error handling 2022-09-06 23:21:58 -07:00
Brendan Allan
90afd62b73 cleanup identifier job 2022-09-07 10:15:55 +08:00
Jamie Pine
a45735ad57 fix indexer lag (reimplement debounced progress event for jobs) 2022-09-06 17:44:48 -07:00
Jamie Pine
f3b8e6b14a replaced interface store with Valtio 2022-09-04 18:20:22 -07:00
Jamie Pine
d621145f49 Assignable Tags (#370)
* Tag queries + Identifier bug fix

- added empty pages for docs
- added non-functional "New Library" button to sidebar
- to accomplish above, moved dialog logic to component folder
- fixed Identifier bug where location id was not considered in the orphan files query, meaning it would attempt to identify many non-existent paths and fail to create the legitimate ones

* (fix) maintain file item aspect ratio in grid view
(fix) get tag query + get all tags

* codegen

* resurrected context menu

* fix window flash

* remove location based thumb sorting + update react on landing

* add is_archived to location

* improved context menu

* assign tag + refactor explorer store

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

* assign/unassign tags from context menu

* fix lint

* keep context menu open on tag change

* fix brendan feedback + merge main

* fix type

* codegen

* style changes

* revert windows size and xcode proj

* remove outdated doc

* coming sooooooon

* updated release notes

* release notes

* dashes > dots

* clean up docs

* more docs!

* restore entitlements

* remove unused util

* regenerated migrations post merge
- some additional error handling added to migration runner, needs more work!

* refactor explorer to support tags

* fix error and revert explorer bg color

* put it in a box they said

* revert location id store removal

* upgrade hero icons + style tweaks

Co-authored-by: maxichrome <maxichrome@users.noreply.github.com>
2022-09-04 13:00:24 -07:00
Ericson "Fogo" Soares
ddd638723a Introducing Indexer rules (#363)
* Introducing indexer rules for the indexer job
* Solving a minor race condition at `Worker::spawn`
* Many refactors at database accesses with prisma
* Documenting some features of indexer rules

* Updating to new prisma rev

* Updating photo

* Some documentation tweaks

* fix note editing

* Implementing some requested changes
* Fixing unit tests on walk function
* Using rsps::Error::with_cause instead of new

* Introducing a compoung unique key between `node_id` and `local_path` at `locations` table

Co-authored-by: Oscar Beaumont <oscar@otbeaumont.me>
2022-09-01 16:38:26 -07:00
Oscar Beaumont
1bcbf782c5 new invalidate_query + add IOS sim to setup script 2022-08-31 18:42:06 +08:00
Oscar Beaumont
624a7c12c1 remove phantom file + update rspc bindings
A PR must have been merged incorrect introducing this file which is not used.
2022-08-30 10:50:08 +08:00
Oscar Beaumont
b01887c5ab Rustify mobile (#361)
* Refactor navigation flow & types

* Remove drawer screen wrapper

* Remove DrawerItem + cleanup

* Switch to JS Stack Nav & header animations

* [WIP] Spacedrive core on Android & IOS

* Update Podfile and cleanup Contributing guide.

* Remove @sd/core from mobile

* File Modal

* Prettify File Modal & Add date-fns

* IOS subscriptions

* Update package versions

* Custom header for stack screens

* android subscriptions

* Animate Drawer button & template for Search screen

* Search header

* Fix Search icon being weird

* Merge branch 'main' into rustify-mobile

* fix rspc dep + setup script for mobile

* Less margin on header

* Move shared assets & drawer logo for mobile

* support for IOS simulator

* add type safe rspc hooks to mobile

* Cleanup PR & Update packages

* Updated bindings from main

* Update lefthook.yml

* Remove `tag` folder from core
The `tag` folder came back from the dead. Maybe it got confused in merge conflict?

* update pnpm lockfile + fix tsc errors

* fix asset import

Co-authored-by: Utku Bakir <74243531+utkubakir@users.noreply.github.com>
2022-08-29 04:59:09 -07:00
Brendan Allan
f7efb72a23 update to latest prisma-client-rust 2022-08-19 08:58:27 +08:00
Jamie Pine
711eef1950 Merge branch 'main' of https://github.com/spacedriveapp/spacedrive 2022-08-08 23:10:17 -07:00
Jamie Pine
52c4bf0943 (fix) add new team members 2022-08-06 20:14:13 -07:00
Oscar Beaumont
3804f034f1 Move Rust backend to rspc (#345)
* move Rust backend to rspc

* move server to Axum + remove parts of old bridge

* move frontend over to @rspc/client

* move core to rspc + update deps

* fix Typescript errors + upgrade deps

* document invalidate_query! macro

* general cleanup + upgrade to PCR 0.6.0

* prisma error handling

* upgrade to rspc 0.0.4

* update vite-plugin-ssr

* fix typescript

* fix builds

* put landing page app name back

* hardcode ffmpeg version on Windows

* rename 'command' to 'mutation' to line up with react-query terminology

* upgrade rspc to v0.0.5 + fix types

* use shared ffmpeg binaries

* general Typescript cleanup

* fix clippy workflow failing due to tauri proc-macro

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2022-08-03 08:36:03 -07:00
Brendan Allan
302651dba2 fix almos all lint errors 2022-08-01 11:30:10 +08:00
Ericson "Fogo" Soares
1d30850c21 Resumable Jobs + Lefthook Integration (#344)
* Introducing Lefthook for git hooks automation
* TypeScript typechecking and linting
* Rust formatting and linting
* Spellchecking (also corrected spell errors in some files)
* Check links in md files

* Introducing resumable jobs
* Abstractions to pause and resume jobs automatically when application exits and is started
* Changing database to use Bytes for UUID fields
* Changing uuid fields on core to use uuid::Uuid instead of String
* Updating some dependencies and introducing msg_pack serialization to save job state on database

* Fixing some clippy warnings

* Fixing a regression introduced on identifier job, doing too much db accesses concurrently
2022-07-27 00:06:34 -07:00
Ericson Fogo Soares
34195e2d51 Merging latest main branch commits and some small fixes 2022-07-18 12:39:58 -03:00
Jamie Pine
47ae02b743 Bunch 'O Features (#336)
* CRUD for tags.

* Implement tags query in open.rs and make some changes to CRUD.

* Tag update.

* Hopefully working get tags.

* added node config + spaces schema

* add missing routes

* begin tag ui

* renaming query names to better fit convention

* tags progress

* tag edit

* fix delete tag description

Co-authored-by: xPolar <polar@polar.blue>
2022-07-17 20:45:04 -07:00
Ericson Fogo Soares
7c5aa70963 Merge branch 'main' of github.com:spacedriveapp/spacedrive 2022-07-17 17:28:05 -03:00
Jamie Pine
75f9e34a6c Explorer Grid View (#334)
added grid view, as well as:
- moved location context to client lib
- merged library settings with main settings
- added some missing settings
- removed demo locations due to FileItem props syntax change, they are currently being replaced anyway by Oscar in another PR
- added functioning favorite button to the inspector, that works now
2022-07-14 13:50:48 -07:00
Ericson Fogo Soares
7d59a25041 Merge branch 'main' of github.com:spacedriveapp/spacedrive 2022-07-12 09:12:43 -03:00
Ericson Fogo Soares
428bd9be80 Merging with main 2022-07-11 18:21:50 -03:00
Oscar Beaumont
c0bc7745e3 allow events to work from web 2022-07-11 16:38:02 +08:00
Oscar Beaumont
017ef8b005 Library manager (#258) 2022-07-10 19:05:24 -07:00
Ericson Fogo Soares
f06911e08a Removing tokio::spawn_blocking from identifier job
* Some small optimizations to await many queries concurrently
2022-06-30 00:04:37 -03:00
Ericson Fogo Soares
b96944a346 Removing tokio::spawn_blocking from thumbnail generation 2022-06-29 14:46:47 -03:00
Ericson Fogo Soares
86ba1bd04a Fixing Clippy warnings
* Using tokio on all filesystem operations
* Some minor tweaks to be more consistent on paths between &str, AsRef<Path> and PathBuf
* Using logging instead of println
2022-06-28 22:56:49 -03:00
Jamie Pine
efd322c6d7 Location Settings (#302)
* Delete locations

+ Show online status

* style tweaks

* tweaks

* location rescan button

* fix location delete db locking bug

* opting to remove self referencial relation on file_path

* correct query

* consolodate migration

* consolodate migrations
2022-06-24 06:26:45 -07:00
Jamie Pine
7f826b2a94 (fix) job queue
- adding a location performs all jobs
- better logging for thumbnailer
2022-06-22 04:40:45 -07:00
Jamie Pine
5309391531 (fix) notes: they work predictably
- added lodash for debounce outside react tree
- added command function to bridge
- updated FAQ
2022-06-22 04:13:11 -07:00
Jamie Pine
ce796eb1c5 (chore): added better loggin 2022-06-21 22:53:07 -07:00
Jamie Pine
b3c0b6e956 (fix) dropdown ui tweak + identifier code comments + add log 2022-06-21 21:31:39 -07:00
Jamie Pine
f20f0140b9 Fixed file creation date (#274)
Indexing files shows correct file creation date
2022-06-21 08:39:16 -07:00
Jamie Pine
6c169643a1 Identifier Exponential Lag (#269)
A little refactor of the identifier job to remove memory leak and improve performance.
2022-06-21 07:39:31 -07:00
xPolar
d0d31e42c6 Notes on files. (#253)
* Temp fix for build.rs

* Note implementation

* Notes work now, need to iron out some things.

* Finish file notes.

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

* Remove lodash debounce

* Fix pnpm locl

Co-authored-by: maxichrome <maxichrome@users.noreply.github.com>
2022-06-20 21:14:05 -07:00
maxichrome
fa2585b7ed [macOS] native sidebar blur effect (#239)
* wip rust bindings

* wip rust bindings

* attempt raw objc for window blur -- still nothing

* some minor blurring success...

* Fix macOS sidebar blur

* darken sidebar

* lock to dark theme

* remove commented, unused window-blur lines

* remove xcode user state

* ADD SWIFT WINDOW CODE

* refactor: use swift window code

* remove stupid cas warning

* add webview swift util for reload

* remove objc and cocoa

* remove old unused swift build fix

* simplify swift package fn calls

* enumify app theme

* fix main content view not expanding

* fix sidebar folder item layout

* fix swift version requirement

* fix landing package json

* landing tweaks

* sidebar style tweaks for macOS

Co-authored-by: maxichrome <maxichrome@users.noreply.github.com>
Co-authored-by: Jamie Pine <ijamespine@me.com>
2022-06-15 13:53:42 -07:00
Benjamin Akar
df74c9d133 New team page (#229)
* Wrote blog

* feat: implement new team page

* refactor: reusable link comp

* chore: update images

* perf: compress images

* refactor: update link

* refactor: update icons, remove white border in favor or rounded corners, add investors

* changes to roles

* team changes

* refactor: add a few changes

* style: slightly better styling

* update team images paths

* use proper image element

* update haris to match team style + keep constant

* improve team member styling

* use vite import pattern

* team tweaks

* fix brendan crop

* fix text and gradient color to match brand colors

* engineer not developer!!!

* add annoucement banner since this can not be merged until post annoucement anyway

* fade in stuff

* better copy

* better haris.jpg

* style: slight update to styling

* Update apps/landing/src/pages/team.tsx

* update my image

* chore: remove unused log

* Update team.tsx

* use incorp'd name everywhere

* update team credits

* hoist headings in credits

* consistent marketing copy in cargo

* fix types

* style tweaks

* blog updates

* blog title tweaks

* fix demo

* jj said lets round it up

Co-authored-by: Lu Hill <email@lewie.me>
Co-authored-by: Jamie Pine <ijamespine@me.com>
Co-authored-by: maxichrome <maxichrome@users.noreply.github.com>
Co-authored-by: xPolar <50601857+xPolar@users.noreply.github.com>
2022-06-14 13:13:09 -07:00
Oscar Beaumont
461c7b20d8 Fix CI (#242) 2022-06-14 22:27:03 +08:00
Oscar Beaumont
a128118528 Merge branch 'main' into eng-136-file-crud 2022-06-14 13:24:33 +08:00
xPolar
3453085fe4 Add code gen stuff 2022-06-13 22:23:53 -07:00
xPolar
2c6f38f33e Location CRUD 2022-06-13 22:20:19 -07:00
xPolar
f9b70c19a3 Crud for locations. 2022-06-13 22:11:02 -07:00
Jamie Pine
7c67d4dba6 Identifier improvements (#205)
* fixed thumbnailer

* fix location id

* fixed cas id miss-assignment

Co-authored-by: Oscar Beaumont <oscar@otbeaumont.me>

* potentially slow fix for missing cas ids during identifier job + fix thumbnailer error

Co-authored-by: Oscar Beaumont <oscar@otbeaumont.me>
2022-06-02 00:28:33 -07:00
Oscar Beaumont
019c89915f Include entire unix filesystem prelude
Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2022-05-31 10:47:30 +08:00