Commit Graph

867 Commits

Author SHA1 Message Date
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
Arnab Chakraborty
564e9acfb4 Fix cors issue & start auto bootstrapping cloud 2024-09-23 22:56:59 -04:00
Arnab Chakraborty
9d52280c08 Working on p2p stuff 2024-09-23 00:02:00 -04:00
Ericson Soares
0150107c2e Trying to fix iroh discovery 2024-09-22 23:37:43 -03:00
Arnab Chakraborty
e581f79e83 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
4430fdd370 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
9034b55ca0 Add SQLite pragmas to optimize performace (#2715)
* add pragmas

* clean up
2024-09-20 06:25:47 +00:00
Ericson Soares
1d22a755af bruh 2024-09-20 00:48:45 -03:00
Ericson Soares
cd897b7de8 Fix prisma issue on exif data 2024-09-20 00:33:35 -03:00
Ericson Soares
fcdf854eeb Fix identifier bug 2024-09-19 22:02:32 -03:00
Arnab Chakraborty
16b1fd7e03 Formatting 2024-09-19 00:36:16 -04:00
Arnab Chakraborty
60e1258efe 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
d70adf7b75 Converting internal pub_id to schema pub_id 2024-09-18 22:26:52 -03:00
Ericson Soares
9ccd9f4157 Initialize cloud sync 2024-09-13 19:27:34 -03:00
Arnab Chakraborty
4d662b2ff6 Get sd core to compile on mobile + deps update 2024-09-13 14:16:01 -04:00
Ericson Soares
c15ee018b9 Fix key size mismatch between opaque and sd_crypto 2024-09-13 12:54:36 -03:00
Arnab Chakraborty
a810327846 Working device registration and listing 2024-09-13 09:01:10 -04:00
Arnab Chakraborty
dc19f79408 Device routes & registering of device (mostly)
Still wip though
2024-09-11 00:52:40 -04:00
Ericson Soares
ed8c59eb02 Adding accepted TLS signature verifiers 2024-09-10 23:04:50 -03:00
Arnab Chakraborty
20c157c673 Fix token parsing + start of device registering 2024-09-09 19:23:38 -04:00
Ericson Soares
d98332e6b9 bruh 2024-09-09 16:50:26 -03:00
Ericson Soares
e515e11479 Ingester actor 2024-09-09 16:50:05 -03:00
Ericson Soares
84e327f285 Forgot to include the error 2024-09-09 16:26:50 -03:00
Ericson Soares
4d1443e65f Fixing access token decoding 2024-09-09 16:24:15 -03:00
Ericson Soares
1f491cc6b2 Relating tables to device 2024-09-06 23:53:35 -03:00