Commit Graph

752 Commits

Author SHA1 Message Date
Ericson Soares
980569329e Fix breaking change on quic-rpc and update schema 2024-10-31 23:34:40 -03: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
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
Ericson Soares
cb8c29ce3d Tweaking backfill 2024-10-15 03:01:27 -03:00
Arnab Chakraborty
99d453797b Sync profile page & Update mobile device names
DO NOT TRY ANDROID. IT IS BROKEN AND PANICKING ON CORE WHEN COMPILED.
2024-10-14 21:18:28 -04:00
Ericson Soares
f063283fd1 Introduce a new sync messages notification system between devices 2024-10-11 22:43:26 -03:00
Ericson Soares
ee7044232c Backfill ops on init cloud sync 2024-10-10 13:13:40 -03:00
Ericson Soares
88862f7c4b Better logs related to joining sync groups 2024-10-10 00:20:46 -03:00
Ericson Soares
3208ef5dd2 Change database to use device id on everything instead of pub_id 2024-10-07 22:38:45 -03:00
Vítor Vasconcellos
cdc50140b0 [ENG-1928] Update to tauri 2.0.1 stable (#2752)
* Update to tauri 2.0.0 stable
 - Update a some othe dependencies
 - Autoformat rust and toml files

* Fix clippy complain

* Update tauri 2.0.1
 - Update rspc
 - Update some frontend files due changes in rspc
 - Update some frontend build dependencies

* Revert babel update

* Fix code typing typing and style + a couple of bugs

* More type fixes
2024-10-05 21:17:30 +00:00
Arnab Chakraborty
2c0d94abc4 Merge branch 'main' into eng-1828-migration-to-new-cloud-api-system 2024-10-03 22:23:31 -04:00
Ericson Soares
8833bbd4f5 Fix sync group join 2024-10-02 03:09:20 -03:00
Ericson Soares
ce548b5dde Update schema and deps 2024-10-01 14:46:27 -03:00
Consoli
8ce9f30121 Remove dependency on once_cell and use std types (#2746)
* Remove dependency on once_cell and use std types

* Bump MSRV across the project to 1.81

* Cargo fmt

* Update rust-toolchain to 1.81
2024-09-30 21:19:59 +00:00
Ericson Soares
70ea030c97 Rust fmt 2024-09-29 02:08:59 -03:00
Ericson Soares
16f37c9216 Update to new schema tweaking sync groups get route
Also removing some stale fields
2024-09-29 01:15:46 -03:00
Arnab Chakraborty
e4edbee965 Working p2p relay backend 2024-09-28 04:01:06 -04:00
Arnab Chakraborty
d6de24fa37 Update lib.rs 2024-09-28 01:55:59 -04:00
Ericson "Fogo" Soares
3a97ede562 Update toolchain and fix a bunch of warnings 2024-09-27 00:38:48 -03:00
Ericson Soares
b7493e8441 Refactor out access_token from all routes except bootstrap 2024-09-26 00:06:14 -03:00
Arnab Chakraborty
1a712493fb Fix cors issue & start auto bootstrapping cloud 2024-09-23 22:56:59 -04:00
Arnab Chakraborty
9ecde77c9c Working on p2p stuff 2024-09-23 00:02:00 -04:00
Ericson Soares
5f9277f169 Trying to fix iroh discovery 2024-09-22 23:37:43 -03:00
Arnab Chakraborty
46a944ccc9 Work on getting request_join working
Currently have debug routes on how the flow of joining a sync group works, and there a few bugs internally still giving us issues.
2024-09-22 11:03:44 -04:00
Ericson Soares
6e5e99b6f5 Merge branch 'main' of github.com:spacedriveapp/spacedrive into eng-1828-migration-to-new-cloud-api-system 2024-09-20 21:01:31 -03:00
Jamie Pine
136b1b7ab1 Add SQLite pragmas to optimize performace (#2715)
* add pragmas

* clean up
2024-09-20 06:25:47 +00:00
Ericson Soares
d0e52a4342 Fix identifier bug 2024-09-19 22:02:32 -03:00
Arnab Chakraborty
6ac688b42b Lots of changes
- Constant for Auth server URL
- Modify config to save Pretty Name of device
- Properly list devices from Cloud Backend
2024-09-18 22:28:38 -04:00
Ericson Soares
3094a35a5a Initialize cloud sync 2024-09-13 19:27:34 -03:00
Arnab Chakraborty
e0d53c0fe6 Get sd core to compile on mobile + deps update 2024-09-13 14:16:01 -04:00
Ericson Soares
03e9de497b Fix key size mismatch between opaque and sd_crypto 2024-09-13 12:54:36 -03:00
Arnab Chakraborty
8ce9a95301 Working device registration and listing 2024-09-13 09:01:10 -04:00
Arnab Chakraborty
0251cbc4ea Device routes & registering of device (mostly)
Still wip though
2024-09-11 00:52:40 -04:00
Ericson Soares
51a8338d17 bruh 2024-09-09 16:50:26 -03:00
Ericson Soares
2f270cca2a Ingester actor 2024-09-09 16:50:05 -03:00
Ericson Soares
9f8005c479 Relating tables to device 2024-09-06 23:53:35 -03:00
Arnab Chakraborty
278fccba0f Formatting 2024-09-06 10:24:34 -04:00
Ericson Soares
872ca1deec Receiver actor for cloud sync 2024-09-04 01:50:22 -03:00
Arnab Chakraborty
8cf67d0a0d Update Tauri Version & Try fixing CORS issues 2024-08-30 07:36:11 -04:00
Ericson Soares
25f0f4fb1a Sender actor for cloud sync messages 2024-08-30 03:34:03 -03:00
Ericson Soares
d691e79ef3 First draft on cloud sync api with rspc 2024-08-28 02:03:19 -03:00