Commit Graph

891 Commits

Author SHA1 Message Date
Ericson Soares
538af49220 Properly sync file_path deletion when deleting directories 2024-10-24 01:31:42 -03:00
Ericson Soares
e4e6a116cc More ingestion metrics 2024-10-23 13:14:18 -03:00
Ericson Soares
9913b62ea2 Next attempt at ingestion optimization 2024-10-23 03:01:04 -03:00
Ericson Soares
3190a7b822 Separate timestamp keepers per sync group 2024-10-22 13:26:55 -03:00
Ericson Soares
b8d9a44da7 Introducing partial indexes on crdt_operations and more optimization on ingestion 2024-10-22 12:52:23 -03:00
Ericson Soares
86e4d21d1c More optimization attempts and collecting metrics 2024-10-22 01:39:44 -03:00
Ericson Soares
2313a7f2e3 Small bootstrap fix 2024-10-22 00:51:49 -03:00
Ericson Soares
114d0df4bb New ingester optimization attempt 2024-10-22 00:33:34 -03:00
Ericson Soares
3eba4bb31e bruh 2024-10-21 23:20:34 -03:00
Ericson Soares
f2f9f91e62 Optimize and fix attempt at cloud ingester 2024-10-21 22:27:09 -03:00
Vítor Vasconcellos
2fa90d6463 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
73cb22075f 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
ea92383b78 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
17d82ee20d Ensure single cloud bootstrap ever 2024-10-21 00:32:00 -03:00
Ericson Soares
2c91484dd4 Some tweaks on sync messages send and compression 2024-10-20 22:26:06 -03:00
Ericson Soares
12fdfb8b78 Update sync messages push and pull
Also fix scalability issues on sync design
2024-10-19 02:48:27 -03:00
Ericson Soares
8c41d64cc3 Fix tag assign rspc route 2024-10-16 13:36:09 -03:00
Ericson Soares
14d826c76b Some minor tweaks 2024-10-15 03:59:07 -03:00
Ericson Soares
ddd14acd41 More backfill tweaks 2024-10-15 03:23:50 -03:00
Ericson Soares
92c77f6da7 Can't backfill instance data as it isn't synced anyway 2024-10-15 03:08:44 -03:00
Ericson Soares
663f833925 Tweaking backfill 2024-10-15 03:01:27 -03:00
Arnab Chakraborty
960e7c4ef5 Autoformatting 2024-10-14 22:49:46 -04:00
Ericson Soares
576729334a Many tweaks to improve sync responsiveness and observability 2024-10-14 23:39:52 -03:00
Arnab Chakraborty
c7e87f0862 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
cf68ce3bf2 Only notify other nodes 2024-10-11 23:29:13 -03:00
Ericson Soares
c8b68735e9 Forgot to call needed function 2024-10-11 23:20:57 -03:00
Ericson Soares
c363f61204 Introduce a new sync messages notification system between devices 2024-10-11 22:43:26 -03:00
Ericson Soares
dc52f3e032 Backfill ops on init cloud sync 2024-10-10 13:13:40 -03:00
Ericson Soares
69df6d9c93 Better logs related to joining sync groups 2024-10-10 00:20:46 -03:00
Ericson Soares
6251a3c45f Swap postcard for rmp-serde, due to incompatibility to deserialize sync messages 2024-10-09 23:27:11 -03:00
Ericson Soares
8490173d04 Some tweaks on sync messages encryption and decryption 2024-10-09 22:04:49 -03:00
Ericson Soares
41ca786fc9 Ingest sync ops in correct order 2024-10-08 14:45:14 -03:00
Ericson Soares
fef2e92936 Change database to use device id on everything instead of pub_id 2024-10-07 22:38:45 -03:00
Vítor Vasconcellos
8134160671 Merge remote-tracking branch 'origin/main' into eng-1828-migration-to-new-cloud-api-system 2024-10-06 23:36:06 -03:00
Vítor Vasconcellos
7cd0556f15 [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
d5d94fd99e Merge branch 'main' into eng-1828-migration-to-new-cloud-api-system 2024-10-03 22:23:31 -04:00
Ericson Soares
b53bd44531 Fix sync group join 2024-10-02 03:09:20 -03:00
Ericson Soares
60cfafe77e Update schema and deps 2024-10-01 14:46:27 -03:00
Consoli
0f10476ae2 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
Consoli
1b8ae8d4b9 Handle thumbnail encoder error (#2745)
* Treat thumbnail encoder error

* Use a single instance of WebPConfig for the entire application

* Clippy
2024-09-30 20:00:57 +00:00
Ericson Soares
7cd57c222d Rust fmt 2024-09-29 02:08:59 -03:00
Ericson Soares
9e00227278 Update to new schema tweaking sync groups get route
Also removing some stale fields
2024-09-29 01:15:46 -03:00
Arnab Chakraborty
cec8c9ea86 Working p2p relay backend 2024-09-28 04:01:06 -04:00
Arnab Chakraborty
c1aba8b9cf Update lib.rs 2024-09-28 01:55:59 -04:00
Arnab Chakraborty
264e3f7613 wip 2024-09-27 23:20:10 -04:00
Ericson "Fogo" Soares
fdff139086 Update toolchain and fix a bunch of warnings 2024-09-27 00:38:48 -03:00
Ericson Soares
7987071795 Some specta renaming on cloud services routes 2024-09-26 22:47:41 -03:00
Ericson Soares
e071008fd0 Merge branch 'main' of github.com:spacedriveapp/spacedrive into eng-1828-migration-to-new-cloud-api-system 2024-09-26 00:06:21 -03:00
Ericson Soares
38003f7b61 Refactor out access_token from all routes except bootstrap 2024-09-26 00:06:14 -03:00
Consoli
0699270bab Close file handle after getting its index (windows) (#2728) 2024-09-25 22:08:13 +00:00