Commit Graph

790 Commits

Author SHA1 Message Date
Arnab Chakraborty
dcb78f079e Working Sync & Thumbnail Sync (#2875)
* First draft on new p2p design

* Test sync

* Sync works

* Update version

* Fix merge conflicts

* More stuff for thumbnail sync

* Get the thumbnail

* Update mod.rs

* Working thumbnail sync

* Format

* Update thumbnails.rs

* Update runner.rs

* Update runner.rs

---------

Co-authored-by: Ericson Soares <ericson.ds999@gmail.com>
2025-03-20 07:34:59 +03:00
Arnab Chakraborty
c45268c571 Attempt to fix linux compile 2025-02-18 05:34:01 +00:00
Nickolay
28a390f167 Fix builds on windows (#2864)
* Fix builds on windows

* Fix rust compile issues

* Autoformat

* Fix windows volumes compile again

---------

Co-authored-by: Arnab Chakraborty <11457760+Rocky43007@users.noreply.github.com>
2025-02-10 22:57:43 +03:00
Arnab Chakraborty
9e932b82f0 Fix linux volume watcher again 2025-02-02 00:24:18 -05:00
Arnab Chakraborty
042dd45289 Rewrite linux volume code 2025-02-02 00:06:18 -05:00
Arnab Chakraborty
fd3188e1c0 Fix linux volume compile 2025-02-01 23:29:35 -05:00
Arnab Chakraborty
94db2c8815 More updates (#2861)
* Fix migrations

* Fix migrations
2025-01-30 07:20:01 +03:00
Jamie Pine
e0c20a71db Landing & Bug Fixes (#2850)
* added companies carousel

* vdfs section wip

* Fix for compile error on Vercel

* better bento boxes and security animation

* goated vault animation

* cloud page

* sike ig thats a pricing page

* improvement to button components

* added yearly pricing

* roadmap updates

* hero updates (wip in figma)

* mobile app section

* upgrade next in hopes of successful deploy

* downgrade next

* changes to content layer for deployment

* Fix vercel compile error, again

* Update next.config.js

* Fix for onboarding

* mut http_client_builder

* fix cloud URL

* Fix mobile compile

* Remove auth

* Fix volumes deadlock

* Update pnpm-lock.yaml

* Update lib.rs

* Get statistics working with volumes

* Disable date filters

* Updates

* Roadmap updates

* Update team members

* Update page.tsx

* Fix to date filters

* Get readable dates & fix date filter search

* Change version to `0.4.3`

---------

Co-authored-by: Arnab Chakraborty <11457760+Rocky43007@users.noreply.github.com>
2025-01-28 04:35:29 +03:00
Arnab Chakraborty
f55d5bcfee Fix crashing due to rapid concurrent writes 2025-01-05 19:00:49 +03:00
James Pine
a9ee1036c6 Added local devices endpoint
Co-authored-by: Ericson "Fogo" Soares <ericson.ds999@gmail.com>
2025-01-03 17:56:41 -08:00
Arnab Chakraborty
152d1c7e07 Save email address for re-login
It saves the email address in the login form so we don't have users always type in their email when they have to log in.
2024-12-15 17:53:46 -05:00
Arnab Chakraborty
58e7151e19 Move Auth Tokens storage from Local Storage to custom encrypted .sdks file (#2831)
* Initial encryption functions

* Storage of encrypted tokens & working login

* Add customized `tauri-plugin-cors-fetch`

We need to have it in our crates folder due to the dependency of `sd-crypto` for the handling of cookies.

* Lint
2024-12-14 19:49:50 -05:00
Jamie Pine
b565339c6b Merge pull request #2815 from spacedriveapp/pro-5-new-landing-page 2024-12-12 17:03:00 -08:00
Jamie Pine
2e6443ec11 Merge branch 'main' into pro-5-new-landing-page 2024-12-12 15:54:43 -08:00
James Pine
0fec6de106 Merge branch 'main' into eng-294-volume-awareness 2024-11-25 19:31:50 -08:00
James Pine
b58e4415bc peer 2024-11-25 01:35:24 -08:00
Ericson "Fogo" Soares
10423e3f7f Update quic-rpc crate (#2805)
* Fix breaking changes on quic-rpc

* Rust fmt
2024-11-15 02:40:43 -05:00
Jamie Pine
8eb831d818 update fingerprint handling, and clean up unused code in volume management 2024-11-04 19:46:59 -08:00
Jamie Pine
30c06e4cbc Implement speed testing for volumes, enhancing event handling and state management. Update VolumeManagerActor and associated logic 2024-11-04 07:12:51 -08:00
James Pine
783709680e modify init flow of actor to match other core managers 2024-11-03 23:38:31 -08:00
James Pine
59fa2e131d Merge branch 'main' into eng-294-volume-awareness 2024-11-03 19:24:20 -08:00
James Pine
b1d5ab6bef Introduce VolumeFingerprint and related types, improving type safety and consistency across the module 2024-11-03 19:22:47 -08:00
Jamie Pine
7a313f7759 reduce state write calls 2024-11-03 16:00:18 -08:00
Jamie Pine
50437e0f9b Implement volume update, mount state change, and error handling in VolumeManagerActor 2024-11-03 05:51:51 -08:00
Jamie Pine
e6e4d3e7bf Add unmount functionality using fingerprint, enhance error handling in volume management, and improve UI integration for ejecting volumes 2024-11-03 05:40:16 -08:00
Jamie Pine
02521f270a Add unique constraint to volume model, refine volume fingerprint generation, and improve database interaction for system volumes 2024-11-03 04:48:07 -08:00
Jamie Pine
9541c9c5fa Refactor volume management to include library awareness, enhance fingerprint handling, and improve system volume interactions 2024-11-03 04:03:21 -08:00
Jamie Pine
e326096597 Implement volume initialization tailored for libraries, optimize volume scanning on startup, and enhance state management 2024-11-03 01:16:29 -08:00
Jamie Pine
085c0b72ab Enhance volume management by refining state handling, simplifying event processing, and optimizing interaction within the watcher system 2024-11-03 01:26:57 -07:00
Jamie Pine
c78901634d Refactor volume management to streamline event handling, state updates, and improve watcher interactions within the system 2024-11-03 00:29:57 -07:00
Jamie Pine
9c1fd9adaf Add volume event logging and improve watcher integration with enhanced state management and maintenance routines 2024-11-02 22:27:31 -07:00
Jamie Pine
339eb4432d Remove unused old volume management module files 2024-11-01 00:04:29 -07:00
Jamie Pine
25436df10d Implement volume tracking, unmounting, and event subscriptions; enhance volume API with new types and improve UI handling 2024-10-31 23:54:44 -07:00
Jamie Pine
57891a8e90 Enhance volume management: add volume watcher, optimize volume APIs, and integrate volume speed tests with refined types and event handling 2024-10-31 21:36:35 -07:00
Ericson Soares
980569329e Fix breaking change on quic-rpc and update schema 2024-10-31 23:34:40 -03:00
Jamie Pine
b0be5d062d Refactor volume handling to replace storage statistics with volume management; adjust related API and schema accordingly 2024-10-24 15:29:32 -07:00
Jamie Pine
728d7edafb Merge remote-tracking branch 'origin/eng-1828-migration-to-new-cloud-api-system' into eng-294-volume-awareness 2024-10-23 21:34:51 -07:00
Jamie Pine
157f543b94 Merge branch 'eng-1828-migration-to-new-cloud-api-system' into eng-294-volume-awareness 2024-10-23 21:34:16 -07:00
Ericson Soares
11d4b7bbd7 Properly sync file_path deletion when deleting directories 2024-10-24 01:31:42 -03:00
Ericson Soares
79be4a58c6 Introducing partial indexes on crdt_operations and more optimization on ingestion 2024-10-22 12:52:23 -03:00
Ericson Soares
b0f4f1288e Small bootstrap fix 2024-10-22 00:51:49 -03:00
Ericson Soares
31f954f38f Optimize and fix attempt at cloud ingester 2024-10-21 22:27:09 -03:00
Vítor Vasconcellos
eb098ebec2 Update iroh and sd-cloud-schema
- Fix usage of deprecated functions
 - Implement clippy beta suggestions
2024-10-21 19:44:08 -03:00
Vítor Vasconcellos
7e7dd8fbde Merge remote-tracking branch 'origin/main' into eng-1828-migration-to-new-cloud-api-system 2024-10-21 14:40:59 -03:00
Vítor Vasconcellos
cc7c9d5793 Improve file thumbnails and Quick Preview (+ some code clean-up and rust deps update) (#2758)
* Update rspc, prisma-client-rust, axum and tanstack-query
 - Deleted some unused examples and fully commented out frontend code
 - Implement many changes required due to the updates
 - Update most rust dependencies

* Re-enable p2p

* Fix server

* Auto format

* Fix injected script format
 - Update some github actions
 - Update pnpm lock file

* Fix devtools showing up when app opens
 - Fix million complaining about Sparkles component

* Fix sd-server

* Fix and improve thumbnails rendering
 - Fix core always saying a new thumbnail was generated even for files that it skiped thumbnail generation
 - Rewrite FileThumb and improve related components

* Ignore tmp files when running prettier

* Improve FileThumb component performance
 - Rework useExplorerDraggable and useExplorerItemData hooks due to reduce unecessary re-renders

* More fixes for thumb component
 - A couple of minor performance improvements to frontend code

* auto format

* Fix Thumbnail and QuickPreview

* Fix logic for when to show 'fail to load original' error message in QuickPreview
 - Updated prisma-client-rust, libp2p, tauri, tauri-specta, rspc and hyper

* Fix type checking
 - Format scripts

* Add script prettier config

* Fix serde missing feature
 - Use rust-libp2p spacedrive fork again
 - Update rspc

* Autoformat + fix pnpm lock

* Fix thumbnail first load again

* Autoformat

* autoformat

* Fix rust-libp2p fork url again?

* Remove usePathsInfiniteQuery hook

* Update tauri 2.0.6
2024-10-21 15:47:40 +00:00
Ericson Soares
ab37341f76 Ensure single cloud bootstrap ever 2024-10-21 00:32:00 -03:00
Ericson Soares
6a69f5f8ef Update sync messages push and pull
Also fix scalability issues on sync design
2024-10-19 02:48:27 -03:00
Jamie Pine
d5f864dc99 volume awareness init 2024-10-17 14:13:26 -07:00
Ericson Soares
8247caac60 Fix tag assign rspc route 2024-10-16 13:36:09 -03:00
Ericson Soares
951f47bbad Some minor tweaks 2024-10-15 03:59:07 -03:00