Commit graph

695 commits

Author SHA1 Message Date
Vítor Vasconcellos 2c777e53f1
Fix core test (#2386)
* Fix core test

* Import CompressedCRDTOperations

---------

Co-authored-by: Ericson "Fogo" Soares <ericson.ds999@gmail.com>
2024-04-24 23:37:38 +00:00
Utku 3bed56d4d9
Alpha 0.2.12 (#2382)
* pnpm

* alpha 0.2.12

* make pnpm version non strict
2024-04-24 14:25:22 +00:00
Oscar Beaumont 0b6bd050a0
Fix main (#2381)
* fix

* fix
2024-04-24 10:09:18 +00:00
Oscar Beaumont ae6c49b0ba
Improved p2p settings (#2379)
improved p2p settings
2024-04-24 08:43:30 +00:00
Brendan Allan 918c2a987d
Batch ingest sync operations (#2378)
batch ingest sync operations
2024-04-24 08:26:50 +00:00
Oscar Beaumont 643bd3a142
Block size (#2377)
Block size + some Clippy
2024-04-24 08:27:31 +00:00
Arnab Chakraborty b4037d6537
Open Trash from the application (#2338)
* Open Trash from the application

* Working Trash Sidebar Button

* Small UI fixes

* Update common.json

* Move openTrash to Tauri Command instead of RSPC

* format and remove type assertion

---------

Co-authored-by: Utku Bakir <74243531+utkubakir@users.noreply.github.com>
2024-04-22 19:46:10 +00:00
Oscar Beaumont 959ccdfd98
Reintroduce P2P Settings (#2365)
* redo backend to be less cringe

* fixed up
2024-04-22 12:43:44 +00:00
Oscar Beaumont ef969f1ada
Remove indexer rules from ephemeral indexer (#2319)
remove indexer rules from ephemeral indexer
2024-04-22 11:47:47 +00:00
Brendan Allan 548fff1e96
Ignore empty object/filepath search filters (#2371) 2024-04-22 10:29:54 +00:00
Oscar Beaumont 52c5c2bfe7
Show errors creating P2P listeners on startup (#2372)
* do it

* fix accuracy

* `useRef` as god intended
2024-04-22 10:28:35 +00:00
Oscar Beaumont 947354f6c0
Remove files over p2p feature (#2364)
* goodbye

* types

* a
2024-04-20 03:21:20 +00:00
Brendan Allan e4dd2b73ec
[ENG-1709] Smarter params merging in search api (#2346)
do smarter params merging in search api
2024-04-18 14:16:18 +00:00
Brendan Allan 663d1e9f1e
Group create and initial update operations into Create (#2329)
* ignore update after delete in sync

* Group create and initial update operations into Create

* fix ts

* fix sync generator

* fix sync debug route

* oops
2024-04-18 03:53:16 +00:00
Brendan Allan a315dd632d
ignore update after delete in sync (#2327) 2024-04-17 04:57:45 +00:00
Brendan Allan b99a1adfca
[ENG-1740] Add sempahore for generating sync operation timestamps (#2335)
add sempahore for generating sync operation timestamps
2024-04-16 08:14:08 +00:00
Arnab Chakraborty 20b8a2b93b
Disable trash crate on mobile (#2332) 2024-04-15 15:30:33 +00:00
Oscar Beaumont e77a475e61
Date header is not working (#2321)
* wip

* more

* bindings

* show date taken

* improve date lookup and include placeholder

* date taken

---------

Co-authored-by: nikec <nikec.job@gmail.com>
2024-04-15 12:53:11 +00:00
Oscar Beaumont 8be59659d8
DB Vacuum Button (#2312)
* Do the thing

* Retry

* fix types

---------

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2024-04-12 18:15:56 +00:00
Brendan Allan effee2140d
Tag preferences (#2313)
* tag preferences

* types
2024-04-12 10:17:46 +00:00
Oscar Beaumont 2848782e8e
OpenDAL - Ephemeral Locations (#2283)
* `sd-indexer` crate

* more wip

* wip

* fix

* IndexerRules + error handling

* wip

* Fix it

* Thumbnailer

* Link locations

* Workaround rspc's requiring `Sync` for streams.

* I hate this

* Sorting

* fix

* fix

* fix paths

* Fix double file extension

* Fix thumbnailer

* Clippy

* Fix indexer rules

* fix

* lockfile
2024-04-12 06:51:51 +00:00
Arnab Chakraborty 66063d22c2
[ENG-1365] Move to Trash (#2318)
* Working System Trash Connection

* small changes and prettier

---------

Co-authored-by: Utku Bakir <74243531+utkubakir@users.noreply.github.com>
2024-04-12 05:01:37 +00:00
Brendan Allan 40fa3380e5
[ENG-1722] Numeric sync model IDs (#2298)
* numeric sync model ids

* migration

* fix test compilation
2024-04-11 03:46:30 +00:00
Ericson "Fogo" Soares 67554c89b3
[ENG-1724] Introduce scan state for location (#2302)
Done
2024-04-10 16:19:59 +00:00
Brendan Allan 504242f97e
[ENG-1723] better sync status (#2299)
* better sync status

* cleanup
2024-04-09 03:14:51 +00:00
Ericson "Fogo" Soares 6b760b0b2a
[ENG-1628] Write new indexer with the task system (#2161)
* Moving file-path-helper to a sub-crate on core

* Parallel walker tested and working

* Change inner core crate names to sd-core-* naming scheme

* Moving stuff around

* Save and Update tasks for the new indexer job

* Some initial drafts on the new job system

* More drafts on job system

* Changing walker task to a more explicit state machine
Also drafting more of job system

* More drafting on job resume

* Completed the draft on job system inner workings

* New job context abstraction to decouple library stuff from job system

* Properly use composition on task dispatcher

* First draft on indexer job

* Job serialization

* Handling ancestors in the distributed walker for indexer

* Saving computed directories sizes on a location to db

* Enable a way to check if jobs are running in a location

* Progress reporting on indexer job

* Reorganizing modules

* Shallow indexer

* Rust fmt

* Attempting windows CI fix

* Attempting windows CI fix again

* Attempting windows CI fix again
2024-04-08 14:32:44 +00:00
Utku 3ce4d5d171
Alpha 0.2.11 (#2291)
lul
2024-04-05 21:08:04 +00:00
Vítor Vasconcellos 1749306cd8
Add missing production migration for search improvements made in #2262 (#2290) 2024-04-05 19:41:25 +00:00
Arnab Chakraborty 20d9878968
Disable Labeler (#2288)
* Disable Labeler

* Auto format and lint

* Comment out regen labels context menu entry

* Comment out some more labels references

---------

Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
2024-04-05 19:41:11 +00:00
Utku 6090df938e
Alpha 0.3.0 (#2287)
alpha 0.3.0
2024-04-05 17:12:51 +00:00
Brendan Allan f168b5e45d
Better search (#2262)
* Revert "Revert "remove fixed filters" (#2261)"

This reverts commit 5b40cefe37.

* search sources

* only set default filters if no filters

* key saved search page on id and use raw search as searchbar default

* fix crate versions

* put media view filters in a dedicated hook

* remove ts-reset

* add comment about <Inner>

* generics!

* cleanup

* search paths/objects switch (#2278)

* feature flag target switcher

* use useZodParams in saved search route
2024-04-05 15:40:46 +00:00
Arnab Chakraborty 888ab5639b
[ENG-1483] Right Click -> New File (#2276)
* feat: Right Click -> New File

Creates an empty file called `Untitled` and adds `(1) -> (n)` for n number of files with the same `Untitled` name.

* feat: Seperate into Text File and Empty File

* chore: `cargo fmt`

* fix: Forgot to type convert to String

* feat: Working creation

* fix: i18n changes

* More i18n

* All added tags now translated

* With proper types checking now!

* Fix types

* chore: formatting
2024-04-04 04:20:31 +00:00
Utku 5b40cefe37
Revert "remove fixed filters" (#2261)
* Revert "remove fixed filters (#2257)"

This reverts commit 1959226fb9.

* bump 0.2.10
2024-03-29 01:35:28 +00:00
Utku 44c2854205
Alpha 0.2.9 (#2260)
release 0.2.9
2024-03-28 23:05:04 +00:00
nikec 2f5271e453
[ENG-1215] List view size customisation (#2254)
* base

* calculate line height on demand

* fix max update

* fix max update on resize

* read types directly

* sizing

* better size handling

* also handle text box padding on demand
2024-03-27 15:15:07 +00:00
Brendan Allan 902ed24ffd
[ENG-1674] fix request drop test and add write_ops test (#2252)
fix request drop test and add write_ops test
2024-03-27 06:40:57 +00:00
Utku 83332dc94e
Alpha 0.2.8 (#2247)
alpha 0.2.8
2024-03-26 21:55:44 +00:00
Brendan Allan 94ca18925d
[ENG-1691] Sync status subscription (#2246)
* sync status subscription

* clippy
2024-03-26 07:26:37 +00:00
ameer2468 b34359e688
Alpha 0.2.7 (#2244)
* Alpha 0.2.7

* Update Cargo.lock
2024-03-25 19:42:01 +00:00
Julian Braha ff4d0cc519
Make quic field of P2PManager private (#2234)
Make P2PManager.quic private
2024-03-24 03:45:12 +00:00
Utku 904f210fc1
Alpha 0.2.6 (#2232)
* bump 0.2.6

* Double Cypress timeouts when running on CI

---------

Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
2024-03-23 01:27:11 +00:00
Brendan Allan d99b65f385
upsert sync timestamp rather than overwrite (#2230)
* upsert sync timestamp rather than overwrite

* rename create_instance to upsert_instance

* bruh

* bruh
2024-03-22 06:33:35 +00:00
Oscar Beaumont f2477d47d9
Remove IdentityOrRemoteIdentity (#2220)
* wip

* wip

* fix migrations

* fix

* Fix Prisma migrations + fire new app migration

---------

Co-authored-by: jake <77554505+brxken128@users.noreply.github.com>
2024-03-22 01:18:50 +00:00
Vítor Vasconcellos 16354b0f72
Fix a couple of tests after #2218 (#2219)
- Fix some rust warnings
2024-03-19 02:23:42 +00:00
Lynx 1acf90e8cf
Hide .spacedrive file on Windows (#2216)
* Hide `.spacedrive` file on Windows

* Use hard-coded hidden file attribute

* Remove winapi crate

* fix: use `?` operator instead of `unwrap`

---------

Co-authored-by: jake <77554505+brxken128@users.noreply.github.com>
2024-03-18 12:28:54 +00:00
Brendan Allan 3afc3bd34f
fix cloud sync and operations (#2218)
* fix cloud sync and operations

* remove some logs

* cleanup
2024-03-18 08:51:16 +00:00
Oscar Beaumont edffe46536
Fix node rename with P2P (#2217)
ezy clap
2024-03-18 08:27:39 +00:00
Oscar Beaumont 7fe77c9f0e
Serve remote files over p2p (#2211)
should work?
2024-03-15 06:48:57 +00:00
Arnab Chakraborty 4768fddef4
Working Location-Watcher system for Android app (#2212)
* Update android.rs

* Clean up

* import `debug`

* `cargo fmt`
2024-03-15 05:38:32 +00:00
Oscar Beaumont 7dc0880f8b
P2P Metadata Cache + Sidebar (#2208)
* wip

* wip

* Render peers in sidebar

* clippy

* stringify on server

* don't stringify

---------

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2024-03-14 09:12:29 +00:00