Commit Graph

114 Commits

Author SHA1 Message Date
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
Oscar Beaumont
572ce1cdb9 remove anyhow
We are using `thiserror` instead.
2022-05-30 22:54:21 +08:00
Oscar Beaumont
52fd99bebe remove unused code + cleanup Rust imports 2022-05-30 22:26:59 +08:00
Oscar Beaumont
bd17602ae6 build(deps): update dependencies across workspace 2022-05-30 20:45:37 +08:00
Jamie Pine
5cb0aaf22d fixed thumbnailer (#203) 2022-05-30 05:08:12 -07:00
maxichrome
d6d00f878c Merge branch 'main' into jamie-unsorted-changes 2022-05-29 02:39:29 -05:00
Jamie Pine
77fd5df514 thumaniler still broken, but jamie unsorted changes needs to go 2022-05-29 00:32:53 -07:00
Jamie Pine
fa5c7e0761 fixed explorer 2022-05-28 22:23:50 -07:00
Polar
7babc6619d various grammar and typo fixes. 2022-05-27 14:54:56 -07:00
Jamie Pine
0584462b3a fix identifier! 2022-05-26 14:32:58 -07:00
Jamie Pine
be8540e189 Merge branch 'jamie-unsorted-changes' of https://github.com/spacedriveapp/spacedrive into jamie-unsorted-changes 2022-05-26 02:08:34 -07:00
Jamie Pine
bb16bdf570 wip towards identifier working again 2022-05-26 02:08:32 -07:00
maxichrome
ff3f154490 Merge remote-tracking branch 'origin/main' into jamie-unsorted-changes 2022-05-26 03:22:36 -05:00
Brendan Allan
2e6ff18347 cleanup + update to prisma-client-rust 0.5.0
still waiting to rebase for changes to identifier
2022-05-26 16:17:46 +08:00
Jamie Pine
eb5536c1eb fix indentifier path (WIP) 2022-05-26 01:11:04 -07:00
Jamie Pine
4851970f90 part two 2022-05-24 20:24:18 -07:00
Jamie Pine
372371b9de waitlist ui 2022-05-24 13:46:00 -07:00
Oscar Beaumont
65f60c4b24 Update package.json license field to GPL-3.0-only (#184) 2022-05-24 14:00:01 -05:00
Jamie Pine
113432d433 landing prep 2022-05-23 03:16:23 -07:00
Jamie Pine
e587480bc4 database fixes 2022-05-22 22:28:33 -07:00