4121 Commits

Author SHA1 Message Date
Arnab Chakraborty
94c4b3d11e Update setup instructions for Cargo config generation
Clarified the process for generating .cargo/config.toml using `cargo run -p xtask -- setup` in both .cargo/README.md and README.md. Updated documentation to reflect the new setup command and its purpose.
2025-12-01 19:15:37 -05:00
Arnab Chakraborty
51fa853f63 Add cargo-xtask install to README 2025-12-01 19:08:33 -05:00
Jamie Pine
b5a77c403e Simplify database migration logic - error if both files exist 2025-12-01 15:00:59 -08:00
Jamie Pine
e127a5aa0b Fix database migration to handle existing library.db files 2025-12-01 14:57:55 -08:00
Jamie Pine
4a314fadb2 Rename database.db to library.db with automatic migration 2025-12-01 14:44:09 -08:00
Jamie Pine
60a96b31ed Rewrite docs introduction to reflect current state and testing period 2025-12-01 14:14:02 -08:00
Jamie Pine
527ee1f818 Rewrite Problem/Vision section to reflect multi-device computing philosophy 2025-12-01 14:02:11 -08:00
Jamie Pine
0b867f872d Fix IMPORTANT callout syntax in README 2025-12-01 13:42:48 -08:00
Jamie Pine
d4c9bab2e2 Update README to emphasize Spacedrive v2 announcement and adjust formatting; mark subproject commits as dirty in multiple apps 2025-12-01 13:40:28 -08:00
Jamie Pine
9c8fe660d3 Remove all emojis from codebase 2025-12-01 13:33:00 -08:00
Jamie Pine
73befe0f0f cleanup 2025-12-01 13:30:30 -08:00
Jamie Pine
4288dd3555 Update AGENTS.md to focus on Tauri instead of iOS prototypes 2025-12-01 13:26:20 -08:00
Jamie Pine
0ca86ad74a Update README formatting to NOTE and spacing 2025-12-01 13:23:04 -08:00
Jamie Pine
f268acf57a Add name and cmd to ShellScopeEntryAllowedArg 2025-12-01 13:18:41 -08:00
Jamie Pine
62564471dc Replace Running Examples with Running Tests section 2025-12-01 13:17:15 -08:00
Jamie Pine
4bd3978c50 Add CLI and Server to Apps section 2025-12-01 13:12:30 -08:00
Jamie Pine
184a2d7ad9 Add CLI and Server to Apps section in Tech Stack 2025-12-01 13:12:08 -08:00
Jamie Pine
b4ee7d7086 Make v2 rewrite note more prominent with GitHub alert syntax 2025-12-01 13:11:06 -08:00
Jamie Pine
24b76052a7 Update docs links - add v2.spacedrive.com and fix whitepaper path 2025-12-01 13:04:24 -08:00
Jamie Pine
f8a2ccecfb Update README to reflect Tauri architecture and daemon model 2025-12-01 12:59:15 -08:00
Jamie Pine
5ddaace099 Enable all platforms in CI and uncomment desktop builds 2025-12-01 12:51:15 -08:00
Jamie Pine
0506f9a45a Update version to 2.0.0-pre.1 2025-12-01 12:45:10 -08:00
Jamie Pine
01ec19d352 Bump version to 2.0.0-pre 2025-12-01 12:41:57 -08:00
Jamie Pine
9329179e11 Remove GitHub Actions dist artifacts and add to gitignore 2025-12-01 12:36:05 -08:00
Jamie Pine
aafd80e692 Clean up remaining LaTeX build artifacts 2025-12-01 12:30:49 -08:00
Jamie Pine
4b896f5426 Add LaTeX build artifacts to gitignore and clean whitepaper directory 2025-12-01 12:30:32 -08:00
Jamie Pine
ec91994408 Refactor ListView to use table-based row rendering with useTable hook 2025-12-01 11:48:07 -08:00
Jamie Pine
142008dead Add Active Jobs API and Path Checks Plus UI Prefs 2025-12-01 10:07:31 -08:00
Jamie Pine
9acf86a9ea Add location export/import and schema changes 2025-11-30 17:27:31 -08:00
Jamie Pine
3730776fd4 Remove redundant StateSyncHandler and send peer device in state requests
to get only their state resources (device owned data)
2025-11-28 10:36:00 -08:00
Jamie Pine
1e4992f454 Generate watermark during snapshot-only sync 2025-11-28 09:52:43 -08:00
Jamie Pine
00eebd6c23 Add per peer watermark store for shared sync
- Introduce PeerWatermarkStore to track max HLC received per peer for
shared resource incremental sync - Initialize the
peer_received_watermarks table at startup - Persist received watermarks
during backfill and after backfill completion - Query the max watermark
across peers via PeerWatermarkStore - Expose the new module and export
PeerWatermarkStore from sync
2025-11-28 09:35:40 -08:00
Jamie Pine
3791372f57 Apply current_state snapshot before backfill
Process the pre-sync current_state data in dependency order before
applying HLC-ordered log entries. This ensures base records exist for FK
constraints, and then resolves dependent changes after inserting
snapshot records. Extend FK error handling to recognize foreign key
failures and extract missing UUIDs for buffering and retry.
2025-11-28 08:58:13 -08:00
Jamie Pine
7c864e9588 Buffer shared changes when FK dep missing 2025-11-28 08:37:27 -08:00
Jamie Pine
e4c60c58ca Guard against self-watermarks and apply backfill
Skip self-watermarks when peer is the local device; log a warning. Apply
current_state in dependency order by computing registry order. Fall back
to unordered if the computation fails. On automatic backfill failure,
reset device state to Uninitialized. This triggers a retry and clears
backfill_attempted.
2025-11-28 08:20:28 -08:00
Jamie Pine
0e5e9827d1 Add native drag and drop and update submodules 2025-11-28 06:57:00 -08:00
Jamie Pine
ace39839a2 Improve subscription handling and RPC reliability
- Flush RPC writer after sending responses to ensure delivery - Add
cancellation guard in useNormalizedQuery to avoid leaks - Make
SubscriptionManager concurrency-safe: deduplicate in-flight subscribes -
Track pending subscriptions to avoid races and add centralized cleanup
logic - Introduce createSubscription helper and centralized cleanup
logic - Update docs with Sync State Machine, HLC update algorithm, retry
queue, metrics, and protocol messages - Reflect new config defaults for
timeouts and intervals
2025-11-27 12:48:50 -08:00
Jamie Pine
97cc3853b5 Batch load tags for entries and refine path filter 2025-11-27 10:05:11 -08:00
Jamie Pine
83138f798e Emit direct virtual resources and apply tags 2025-11-27 10:05:11 -08:00
Jamie Pine
41fa50433c Add fullscreen quick preview via portal layer 2025-11-27 10:05:11 -08:00
James Pine
ce595235b5 fix build 2025-11-26 11:54:17 -08:00
Jamie Pine
f7977c779f remove tracked files 2025-11-26 11:09:47 -08:00
Jamie Pine
c7eff9589d refactor: update main.rs and backfill.rs for improved error handling 2025-11-26 11:09:00 -08:00
Jamie Pine
4c35d6d7f7 refactor: update Cargo.toml and FK handling 2025-11-26 11:08:59 -08:00
Jamie Pine
db1dbf6655 Add Node ID field for cross-network pairing 2025-11-26 08:43:49 -08:00
Jamie Pine
35af15aefc Add deterministic UUIDs for library defaults
- Introduce deterministic UUID generation for library defaults (spaces,
groups, and items) - Add post-backfill rebuild support in the sync
registry (with_rebuild) - Export BatchFkMapResult type via the sync API
- Track per-peer RTT latency via SyncMetricsCollector integration - Use
deterministic IDs when creating default space and related items in
LibraryManager
2025-11-26 08:19:24 -08:00
Jamie Pine
35263791cf Revert to November 16 baseline for realtime sync
- Revert to the November 16 baseline for realtime sync - Use a single
state watermark and drop per-resource watermarks, counts, and hashes
from watermark messages - Revert DataAvailableNotification handling and
the updated FK filtering approach in favor of NULL-based handling - Add
registry helper get_model_type_by_table to map tables to models for FK
resolution - Update mocks and tests to reflect the baseline (linkage
stats in summary) - Fix test infrastructure: remove block_in_place usage
and minor imports - Remove obsolete test fixture file
2025-11-25 15:42:25 -08:00
Jamie Pine
400f923772 Register syncable models via inventory system
Introduce inventory-based registration for Syncable models. Add
SyncableInventoryEntry and macros to register models to register models
at link time. Refactor registry and FK mapper to use the registry for FK
resolution and lookups. Add post-backfill hooks and per-model FK
callbacks. Register all entities via the new macros.
2025-11-25 14:45:01 -08:00
Jamie Pine
73da2bf1e9 Migrate pairing to pkarr-based remote discovery
- Remove relay-URL based pairing flow and rely on pkarr/DNS for remote
discovery - Extend pairing code with optional node_id and adopt version
2 QR format - Generate pairing codes using node_id and drop relay_url in
non-QR flows - Enable combined mDNS, pkarr, and DNS discovery in the
endpoint - Cache relay_url in persisted device info for reconnection
optimization - Update protocol handlers to propagate node_id and
pkarr-based flow - Adjust tests and logging to reflect the new
cross-network pairing
2025-11-25 13:57:41 -08:00
Jamie Pine
524b7e7507 Enable FK to UUID conversion for space entities 2025-11-25 10:11:32 -08:00