Commit Graph

33 Commits

Author SHA1 Message Date
Brendan Allan
723058e060 merge main into update-rspc-and-more 2022-10-05 08:58:03 +08:00
Brendan Allan
ed06e3051e [ENG-84] Sync library (#394)
* new sql lib stuff

* add sync stuff + rename all crates

* build sd-core

* add sync/example/dist to source

* fix sync example in monorepop

* appease clippy

* update lockfile

* update commit hooks

* fix typescript

* fix typescript build

* please rustfmt
2022-10-04 05:25:12 -07:00
Brendan Allan
e3f92ab4ec please rustfmt 2022-10-04 20:07:05 +08:00
Oscar Beaumont
60e228ec94 upgrade rspc 2022-10-02 01:16:11 +08:00
Ericson "Fogo" Soares
6fd620087b Video thumbnails (#376)
* Preparing some scaffolding for video thumbnails

* Implemented thumbnail generation for videos
* Propagating errors of `Node` creation
* Using ffmpeg feature gate

* Introducing ffmpegthumbnailer-rs as a subcrate on core

* - rename to thumbnailer
- fix explorer thumbnail bug
- add more supported video types
- re-fix explorer performance

* remove nested licence

Co-authored-by: Jamie Pine <ijamespine@me.com>
2022-09-24 01:21:13 -07:00
Brendan Allan
6e07435a15 Use PCR for migrations (#385)
* use pcr migrations branch

* use 0.6.2 branch with migrations

* use latest prisma stuff

* allow force reset of db in dev

* remove .spacedrive file

* update rspc in apps/server

* use rspc 0.0.5 in all crates

* add os to prisma client cache key

* add runner os to clippy prisma cache
2022-09-22 00:50:21 -07:00
maxichrome
4673867ad1 Merge remote-tracking branch 'origin/main' into use-rust-shortcuts 2022-09-15 02:15:40 -05:00
maxichrome
119b8176f2 Merge remote-tracking branch 'origin/main' into use-rust-shortcuts 2022-09-14 15:59:59 -05:00
Oscar Beaumont
dd04625a4f properly shutdown the core when using server 2022-09-14 19:02:11 +08:00
maxichrome
2c3eed2359 ignore server library data 2022-09-13 18:49:45 -05:00
Oscar Beaumont
c7441d1d64 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
Oscar Beaumont
ea92af57f8 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
Ericson "Fogo" Soares
85e5eec993 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
Oscar Beaumont
d7794bad4e make the Socket have named fields for clarity 2022-07-12 19:33:04 +08:00
Oscar Beaumont
7e9d036aee allow events to work from web 2022-07-11 16:38:02 +08:00
Oscar Beaumont
c685ce5fe9 Library manager (#258) 2022-07-10 19:05:24 -07:00
Jamie Pine
2cc3f3d95d 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
maxichrome
59bc2ee9db Merge remote-tracking branch 'origin/main' into jamie-unsorted-changes 2022-05-26 03:22:36 -05:00
Oscar Beaumont
01610e008e Update package.json license field to GPL-3.0-only (#184) 2022-05-24 14:00:01 -05:00
maxichrome
f5e0666d11 Format existing code with new conventions 2022-05-22 23:24:43 -05:00
maxichrome
a0d0938001 format using tabs 2022-05-22 23:07:35 -05:00
Jamie Pine
9870d58b35 much 2022-05-10 09:03:20 -07:00
Oscar Beaumont
d834fe3b2c feature gated p2p + update deps + pushed bindings 2022-04-27 17:22:26 +08:00
Harry Hopkinson
d7cbba7a12 Linted Files according to the .prettierrc. 2022-04-24 21:16:55 +01:00
Jamie Pine
0287561f48 wip 2022-04-24 09:50:22 -07:00
Oscar Beaumont
a8696d8faa @sd/server in Docker and deploy to Kubernetes 2022-04-24 14:55:20 +08:00
Oscar Beaumont
bdc074b0d9 added Dockerfile for sdserver 2022-04-23 23:41:11 +08:00
Jamie Pine
93d80233d7 server transport via websocket
Co-authored-by: Oscar Beaumont <oscar@otbeaumont.me>
Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2022-04-23 06:50:17 -07:00
Jamie Pine
40cc780ec1 added unique file identifier 2022-04-23 01:12:35 -07:00
Jamie Pine
4c4325619f server start, landing tweaks 2022-04-20 23:35:48 -07:00
Jamie Pine
c27c59da53 fix a bunch of dependency issues & remove web 2022-03-31 20:18:25 -07:00
Jamie Pine
eac6d2ee13 react query working with Rust
- other stuff
2022-03-12 10:00:58 -08:00
Jamie
5adb888926 init monorepo 2021-12-24 01:13:21 -08:00