Commit graph

268 commits

Author SHA1 Message Date
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
Brendan Allan d919dff99e update to latest prisma-client-rust 2022-08-19 08:58:27 +08:00
Jamie Pine 8e96f640b1
Merge branch 'main' of https://github.com/spacedriveapp/spacedrive 2022-08-08 23:10:17 -07:00
Jamie Pine 9583efb6d9
(fix) add new team members 2022-08-06 20:14:13 -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
Brendan Allan fe529543a9 fix almos all lint errors 2022-08-01 11:30:10 +08: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
Jamie Pine 9961c49759
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 ec955e1d82 Merge branch 'main' of github.com:spacedriveapp/spacedrive 2022-07-17 17:28:05 -03:00
Jamie Pine 7839fe43e1
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 471babf4c0 Merge branch 'main' of github.com:spacedriveapp/spacedrive 2022-07-12 09:12:43 -03:00
Ericson Fogo Soares 75a8b49661 Merging with main 2022-07-11 18:21:50 -03: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
Ericson Fogo Soares 149a2e8d2c 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 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 ff9df3f8d1 (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 d11b9d0f15 (chore): added better loggin 2022-06-21 22:53:07 -07:00
Jamie Pine dd77aabc47 (fix) dropdown ui tweak + identifier code comments + add log 2022-06-21 21:31:39 -07:00
Jamie Pine b7d1a6d7a6
Fixed file creation date (#274)
Indexing files shows correct file creation date
2022-06-21 08:39:16 -07:00
Jamie Pine 7cffba2fe5
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 77713bab7e
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 498da6a73e
[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 6a9f3f05d5
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 79fa96c3bd
Fix CI (#242) 2022-06-14 22:27:03 +08:00
Oscar Beaumont 50838c77c2
Merge branch 'main' into eng-136-file-crud 2022-06-14 13:24:33 +08:00
xPolar 4191234956 Add code gen stuff 2022-06-13 22:23:53 -07:00
xPolar 78d709c025 Location CRUD 2022-06-13 22:20:19 -07:00
xPolar 9ce9a0e0aa Crud for locations. 2022-06-13 22:11:02 -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 1d015d4666
Include entire unix filesystem prelude
Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2022-05-31 10:47:30 +08: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
Oscar Beaumont 562efe3c6b build(deps): update dependencies across workspace 2022-05-30 20:45:37 +08:00
Jamie Pine f193f45734
fixed thumbnailer (#203) 2022-05-30 05:08:12 -07:00
maxichrome aa0fb6c2d1
Merge branch 'main' into jamie-unsorted-changes 2022-05-29 02:39:29 -05: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
Polar 026b559d77 various grammar and typo fixes. 2022-05-27 14:54:56 -07:00
Jamie Pine 4e6df4fa0c fix identifier! 2022-05-26 14:32:58 -07:00
Jamie Pine 94b928c9aa 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 2882dee06b wip towards identifier working again 2022-05-26 02:08:32 -07:00
maxichrome 59bc2ee9db
Merge remote-tracking branch 'origin/main' into jamie-unsorted-changes 2022-05-26 03:22:36 -05:00
Brendan Allan d164db7fc3 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 7a51c93a3a fix indentifier path (WIP) 2022-05-26 01:11:04 -07:00
Jamie Pine 48056c5eec part two 2022-05-24 20:24:18 -07:00
Jamie Pine 4fe8e26266 waitlist ui 2022-05-24 13:46:00 -07:00
Oscar Beaumont 01610e008e
Update package.json license field to GPL-3.0-only (#184) 2022-05-24 14:00:01 -05:00
Jamie Pine 8356f39737 landing prep 2022-05-23 03:16:23 -07:00
Jamie Pine 5175dcbbfb database fixes 2022-05-22 22:28:33 -07:00
maxichrome 05402f63c1
Merge branch 'jamie-unsorted-changes' of github.com:spacedriveapp/spacedrive into jamie-unsorted-changes 2022-05-23 00:03:48 -05:00
maxichrome 1918869ad0
Merge branch 'main' into jamie-unsorted-changes 2022-05-23 00:03:45 -05:00
Jamie Pine 363bdaeacd remove migration history (#173), fix incorect name 2022-05-22 22:02:18 -07: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 86dd403933 improved sync schema 2022-05-22 20:42:41 -07:00
Jamie Pine 19e833ba16 removed redundant schema column + some demo data (unfinished) 2022-05-21 18:48:51 -07: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 09087202b5 commit 2022-05-11 11:12:35 -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
matt 8ea2dcc727
make directories not have extensions (#83)
* fix: #78

* Update core/src/file/indexer/scan.rs

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

Co-authored-by: maxichrome <33473181+maxichrome@users.noreply.github.com>
2022-05-06 20:12:18 -07:00
Jamie Pine 0a52b22f93 add device dialog, fixed traffic light svgs, added icon prop to button 2022-05-04 02:12:20 -07:00
Brendan Allan 9fb16c6f36 fix: remove auto bindings generation 2022-05-01 21:30:44 +08:00
Brendan Allan 9ad71a2d66
Merge pull request #46 from Brendonovich/new-ci
New CI
2022-05-01 17:37:45 +08:00
maxichrome 98dbceb90c update github repo url 2022-05-01 12:56:15 +08:00
Koding f8c1c85a60 Fixed windows scanning + improved progress UI (#59) 2022-05-01 12:20:08 +08:00
Koding d1b5289fda
Fixed windows scanning + improved progress UI (#59) 2022-04-30 20:54:24 -07:00
Brendan Allan a8c136897d Merge remote-tracking branch 'upstream/main' into new-ci 2022-05-01 09:38:07 +08:00
Brendan Allan b03f3ddf5a Merge remote-tracking branch 'upstream/main' into new-ci 2022-05-01 09:36:12 +08:00
Koding 5ae3218f9a
Add file/directory check to scanner (#48) 2022-04-29 03:11:22 +08:00
Jamie Pine 181c51e76c better statistics 2022-04-27 20:42:28 -07:00
Jamie Pine eee8efb99a added semi functional statistics, working macos traffic lights 2022-04-27 19:15:55 -07:00
Jamie Pine dd7454d9cd fix library loader, add library statistics, tag flicker fix 2022-04-27 16:25:47 -07:00
Oscar Beaumont d834fe3b2c feature gated p2p + update deps + pushed bindings 2022-04-27 17:22:26 +08:00
Jamie Pine 9d41f42e35 scrollbar + rust fix 2022-04-26 00:20:09 -07:00
Jamie Pine d198d8671a remove purge database 2022-04-25 23:19:13 -07:00
Jamie Pine 5bf08e0199 test deploy, commit core ts bindings 2022-04-25 22:45:48 -07:00
Jamie Pine 0287561f48 wip 2022-04-24 09:50:22 -07:00
Jamie Pine b89f5a367c better unique file identifier 2022-04-24 04:47:28 -07:00
Jamie Pine 4d22008fbe improved scrollbars and landing mobile layout 2022-04-24 01:02:35 -07: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
Brendan Allan 0fd0b548e4 update ci + check in ts bindings 2022-04-22 19:38:26 +08:00
Jamie Pine 622457f4b5 fix windows build x2 2022-04-22 00:01:29 -07:00
Jamie Pine a4806b0e3b fix windows build 2022-04-21 23:35:35 -07:00
Brendan Allan 8a91e2f05d
Basic CI (#12)
* ci:

* ci: run ci on ci branch

* ci: update pnpm version

* ci: Standardise naming

* ci: update lockfile

* ci: install ffmpeg on unix ci

* ci: run codegen prep before build

* ci: add libavutil to ubuntu dependencies

* ci: add libavutil-dev to ubuntu dependencies

* ci: dependencies

* ci: fix ubuntu dependencies

* ci: only build frontend with desktop

* ci: setup cmake and vcpkg for windows

* ci: install ffmpeg on windows

* ci: fix windows ffmpeg install

* ci: fix conditional windows ci commands

* ci: remove vcpkg from windows

* ci: optimizations

* ci: use custom rust cache version
2022-04-22 02:26:03 +08:00
Brendan Allan b6a49681e5 fix: use new prisma cli in package.json 2022-04-21 19:44:08 +08: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 5b591c47dc rename file 2022-04-16 06:23:23 -07:00
Jamie Pine ea86486212 fixes, abolish underscores, folder restructure 2022-04-14 14:52:35 -07:00
Jamie Pine 4a8d2b24d2 fix cargo rev 2022-04-14 13:50:47 -07:00
Jamie Pine 1b103877b8 Merge branch 'main' of https://github.com/spacedriveapp/spacedrive 2022-04-14 13:49:39 -07:00
Jamie Pine cabc00d5dd ffmpeg progress 2022-04-14 13:46:54 -07:00
Brendan Allan d4abf9e38f feat: update prisma-client-rust 2022-04-15 04:04:35 +08:00
Jamie Pine 65b9dcf71c working location creation + thumbnail gen 2022-04-12 19:38:50 -07:00
Jamie Pine 61a251c000 big explorer improvements 2022-04-12 15:31:17 -07:00
Jamie Pine fc1ccc3800 sync engine + big schema changes 2022-04-12 00:05:58 -07:00
Jamie Pine 9728b6ae49 debug + derive dep 2022-04-11 21:46:57 -07:00
Jamie Pine e9a4eea48d derive macro
Co-authored-by: Oscar Beaumont <oscar@otbeaumont.me>
2022-04-11 21:41:17 -07:00
Oscar Beaumont af9d435086
fix: react-query working in production builds + fix Linux compilation issue 2022-04-09 02:19:27 +08:00
Jamie Pine 118a35835a explorer upgrades
- file navigation works
- thumbnails display
2022-04-08 02:44:57 -07:00
Jamie Pine 12ddce1a80 better rust formating 2022-04-01 07:41:42 -07:00
Jamie Pine 6ef869fe69 fixed indexer time + added thumbnail generation 2022-04-01 07:28:09 -07:00
Jamie Pine b910b4b12c linked up thumbnail generation [WIP]
- added purge database helper button
- added temp checksum to file_paths for time being, until files table is impl
2022-04-01 00:26:27 -07:00
Jamie Pine 077bf760ee fix first time library creation 2022-03-31 22:37:18 -07:00
Jamie Pine ad01e0d553 improve package.json + comment unused job queue 2022-03-31 20:31:49 -07:00
Jamie Pine c27c59da53 fix a bunch of dependency issues & remove web 2022-03-31 20:18:25 -07:00
Jamie Pine cec729d1c0 fix codegen script 2022-03-31 18:20:35 -07:00
Jamie Pine b862b73cda remove forgotten codegen file 2022-03-31 18:14:05 -07:00
Jamie Pine 6cf3933b80 remove codegen'd files + update dev docs 2022-03-31 18:10:56 -07:00
Jamie Pine b121f0fed6 restructure project files layout 2022-03-31 17:41:17 -07:00