Commit Graph

27 Commits

Author SHA1 Message Date
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
Ericson Fogo Soares
ee3528a8c5 Merging latest main branch commits and some small fixes 2022-07-18 12:39:58 -03:00
Ericson Fogo Soares
75a8b49661 Merging with main 2022-07-11 18:21:50 -03:00
Oscar Beaumont
c685ce5fe9 Library manager (#258) 2022-07-10 19:05:24 -07:00
Ericson Fogo Soares
db1cbf0ffe Removing tokio::spawn_blocking from thumbnail generation 2022-06-29 14:46:47 -03:00
Ericson Fogo Soares
ef2f60ff33 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
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
Jamie Pine
1b1a8c4258 (fix) job queue
- adding a location performs all jobs
- better logging for thumbnailer
2022-06-22 04:40:45 -07:00
Jamie Pine
69c4da954c 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
a6551e8380 remove anyhow
We are using `thiserror` instead.
2022-05-30 22:54:21 +08:00
Oscar Beaumont
6e0c944d2e remove unused code + cleanup Rust imports 2022-05-30 22:26:59 +08:00
Jamie Pine
f193f45734 fixed thumbnailer (#203) 2022-05-30 05:08:12 -07:00
Jamie Pine
834c3cefd8 thumaniler still broken, but jamie unsorted changes needs to go 2022-05-29 00:32:53 -07:00
Jamie Pine
49c25531d6 fixed explorer 2022-05-28 22:23:50 -07:00
Jamie Pine
48056c5eec part two 2022-05-24 20:24:18 -07:00
maxichrome
a0d0938001 format using tabs 2022-05-22 23:07:35 -05:00
Jamie Pine
2a5fd305b1 improvements to landing + ui + rust stuff 2022-05-12 17:10:23 -07:00
Jamie Pine
dd518b914f add name to jobs 2022-05-11 20:09:25 -07:00
Jamie Pine
46f186fe37 fix types & stats render 2022-05-10 21:11:56 -07:00
Jamie Pine
9870d58b35 much 2022-05-10 09:03:20 -07:00
Jamie Pine
40cc780ec1 added unique file identifier 2022-04-23 01:12:35 -07:00
Jamie Pine
1204309813 fixed indexer and core event in prod 2022-04-21 03:49:45 -07:00
Jamie Pine
5c08c211ca upgrade to latest prisma-client-rust 2022-04-20 02:25:50 -07:00
Jamie Pine
ea86486212 fixes, abolish underscores, folder restructure 2022-04-14 14:52:35 -07:00
Jamie Pine
cabc00d5dd ffmpeg progress 2022-04-14 13:46:54 -07:00
Jamie Pine
b121f0fed6 restructure project files layout 2022-03-31 17:41:17 -07:00