Commit graph

2899 commits

Author SHA1 Message Date
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
Jamie Pine a13a0545ed
Roadmap updates (#2209)
* roadmap updates

* moved target

* Update setup.mdx

* Update setup.mdx

Add Notice about possible Docker Warning that Spacedrive Server runs the best on Linux/amd64.

Also added a warning that mobile is not ready for public beta testing yet.

* fix setup

* docs: add note about appimage log viewing

* docs: add URL to github issues regarding bug reporting

---------

Co-authored-by: Utku <74243531+utkubakir@users.noreply.github.com>
Co-authored-by: Arnab Chakraborty <11457760+Rocky43007@users.noreply.github.com>
Co-authored-by: jake <77554505+brxken128@users.noreply.github.com>
2024-03-16 01:34:11 +00:00
ameer2468 52d7c572be
[MOB-66] Black theme & more (#2213)
* wip, black theme and updates

* wip

* More tweaks and adjustments

* eslint

* Move some components into their own file

* lint interface onboarding

* remove mobile obj and move into app

* remove navback prop since native stack does it
2024-03-16 00:56:34 +00:00
Utku 57edc36772
Use native navigator on mobile (#2214)
* native

* types
2024-03-15 23:33:14 +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
nikec ae4e65de93
[ENG-1685] Fix 'ExplorerContext.Provider not found!' (#2210)
fix context
2024-03-14 12:07:58 +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
Jamie Pine 747cf02bbb
.spacedrive fail silent fix (#2206)
fix
2024-03-14 04:38:41 +00:00
Oscar Beaumont 27c6570c2f
Rename P2P crate (#2207)
`sd_p2p2` to `sd_p2p`
2024-03-14 04:38:31 +00:00
Jamie Pine aa789199ef
Landing updates (#2205)
* team page mods

* remove bloom, always hated it on this screen

* fix matthew url

* add arnab
2024-03-14 00:39:46 +00:00
Brendan Allan 6a2e5bc857
add message request drop test (#2201)
* Fix sync tests

* fix build

* add message request drop test

* fix: clippy

---------

Co-authored-by: jake <77554505+brxken128@users.noreply.github.com>
2024-03-13 22:16:51 +00:00
ameer2468 1fd217c9af
[ENG-1679] Video intro fix & darker color (#2204)
* Fix bg

test vid update

fix vid fragments

fix intro

black mobile intro

lint

* update vid

* pascal case

* file glitch

* files

* Update GetStarted.tsx
2024-03-13 21:50:21 +00:00
Utku 4fc8dcfb48
[MOB-69] Infinite scroll & explorer query hooks (#2197)
* run sim before everything

* move passwordmeter

* annoying maestro

* remove bad extension from recom

* move explorer query logic to @sd/client

* update mobile packages

* working explorer

* search with the new query

* tag explorer

* revert maestro version bump
2024-03-13 20:53:00 +00:00
ameer2468 72451a07bc
[ENG-1683] Prevent mouse-side buttons from drag selection (#2203)
* Update index.tsx

* Add coming soon toast for add device button
2024-03-13 16:15:39 +00:00
Oscar Beaumont 2ca88a5d6b
Refactor P2P Hooks (#2193)
* Basic AF server

* wip

* Add autonat to relay server

* Add autonat client + fixes

* Deploy script

* wip

* Debug view

* wip

* wip

* relay all events

* wip

* fix

* wip

* libp2p man spoke

* dctur

* Relay config file

* Advertise relay server

* Dynamic relay configuration

* wip

* p2p relay config

* cleanup

* push instances into p2p state

* fix

* Fix up TS

* refactor p2p hooks

* fix backend state

* Skip self

* a

* b

* Relay config in debug query

* Fix method name

* tsc is broken on my machine

* a

* Incorrect typecasts. Can we just ban them

* fix types
2024-03-13 06:43:22 +00:00
Brendan Allan 79530f1e4e
Fix sync tests (#2194)
* Fix sync tests

* fix build
2024-03-13 05:34:14 +00:00
jake a0d1061017
[ENG-1682] Update team page (#2199)
* feat(team-image): add image for jake

* docs(team): alter descriptions for utku and jake
2024-03-13 01:23:54 +00:00
Utku d60789e588
Make eslint happy (#2198)
* eslint maxing

* @sd/ui too
2024-03-12 20:41:41 +00:00
ameer2468 4b74c0af04
[ENG-1680] Show error messages for feedback form (#2196)
Update FeedbackButton.tsx
2024-03-12 13:17:29 +00:00
jake 471db4a691
Clippy the entire repo (#2195)
* fix(clippy): for the entire repo

* fix: make function non-const fn
2024-03-12 11:27:23 +00:00
Oscar Beaumont 926ae4fc65
P2P holepunching + relay (#2147)
* Basic AF server

* wip

* Add autonat to relay server

* Add autonat client + fixes

* Deploy script

* wip

* Debug view

* wip

* wip

* relay all events

* wip

* fix

* wip

* libp2p man spoke

* dctur

* Relay config file

* Advertise relay server

* Dynamic relay configuration

* wip

* p2p relay config

* cleanup

* push instances into p2p state

* fix

* Fix up TS
2024-03-12 06:18:58 +00:00
Brendan Allan d1fa6af7be
Add tests for CompressedCRDTOperation (#2189) 2024-03-12 00:39:57 +00:00
Utku a5f74b19c2
Mobile components directory organization (#2190)
* organization

* imports

* format

* fix location query

* woops
2024-03-11 18:48:52 +00:00
ameer2468 779290bad2
[MOB-32] Search filters (#2179)
* mobile search filters wip

* Layout transitions

* mob search wip

* mob search button actions

* MacOS: Fix video intro (#2165)

* macos use mp4 - others use webm

* macos use mp4 - others use webm

* [ENG-1662] Fix thumb black bars (#2167)

fix resize loop

* [ENG-1661] Windows explorer scrollbar (#2166)

Fix windows scrollbar

* [ENG-1663] Prevent middle-click opening new tab (#2168)

Update Link.tsx

* [MOB-23] Mobile Hardware Information for Overview Page (#2106)

* wip for iDevices

* Working HardwareModel Info for iOS

* wip

* Merge 'main' into 'mob-hw-info-overview'

* Half-Working `get_volume()`

* Objective c bridge to talk to FS

* Working objc bridge

The bridge works now, and we can now access the iOS file system using the native objective-c APIs instead for proper values, including on the simulator.

* Isolate `icrate` for `ios` deployments only

* Working Stats for Android

* Clean Up + `pnpm format`

* Fix to FSInfoResult Type

Due to the RNFS fork change, I had to change the types to make it so it doesn't fail building and CI.

* iOS Device Name Fix

* paginate sync backfill (#2163)

* paginate sync backfill

* add backfill timeout

* use gt instead of gte

* Revert Tracing-Subscriber filter level (#2169)

Update lib.rs

Forgot to update the tracing-subscriber level from debug to info. Oops.

* Layout transitions

* Filters bar wip

* Code improvements

* mob search: in its finals - more ui tweaks coming

* pr adjustments

* Mob search

* Update pnpm-lock.yaml

* github glitch?

* Create Filters.tsx

* improve switch statement and remove empty string values

* Update FiltersBar.tsx

* Update FiltersBar.tsx

---------

Co-authored-by: nikec <43032218+niikeec@users.noreply.github.com>
Co-authored-by: Arnab Chakraborty <11457760+Rocky43007@users.noreply.github.com>
Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2024-03-11 11:05:02 +00:00
Brendan Allan 62d22c9295
move CompressedCRDTOperation and add docs around sync (#2188) 2024-03-11 09:35:53 +00:00
Julian Braha fdf1c18dd6
p2p-block: check for out-of-bounds indexing (#2187)
Return err on index OOB instead of panicking
2024-03-11 06:41:14 +00:00
Arnab Chakraborty cea93c444e
Make fullRescan button work on mobile (#2185)
Update EditLocationSettings.tsx
2024-03-10 05:20:36 +00:00
Utku f522bbae68
Add mobile tests back (#2183)
* add tests back

* fix tests
2024-03-09 06:56:24 +00:00
jake 6e61849536
[ENG-1321] Webview reload keybind change and make MacOS reload explorer menu item functional (#2093)
* feat: cmd+r to quick rescan the current location, and change reload webview keybind

* chore: lockfile update

* fix: provide a location id to quick rescan in keybind event handler

* fix: add cooldown to quick rescan to prevent double-rescans

* refactor: use `explorerStore` instead
2024-03-09 06:11:14 +00:00
Brendan Allan f91c6fa2fb
separate bundle and archive exts in artifact publisher (#2181)
* separate bundle and archive exts in artifact publisher

* actually build the damn action ffs
2024-03-08 05:31:27 +00:00
jake 6ed0d5edfb
[ENG-1668] Update resvg and related code (#2177)
deps: update `resvg` and related code
2024-03-07 18:22:04 +00:00
ameer2468 71272d5976
[ENG-1669] Fade out intro (#2178)
* Fade out intro

* Update Layout.tsx
2024-03-07 16:34:17 +00:00
jake 355ac191b8
[ENG-440] Crypto Refactor (#2115)
* rebase: `crates/crypto` into current `main`

* refactor: remove `mnemonic` module

* feat: disable secure erase temporarily

* fix: tsc

* fix: tsc due to unused import

* fix: remove `cli` crypto info

* deps: update

* chore: remove dead comment

* refactor: remove `bincode` feature

* refactor: give `keyring` a dedicated feature so it's not reliant on `sys` as well

* fix: remove `aes-gcm` as it's no longer supported

* refactor: remove dead comment

* fix: update `keyring` imports

* refactor: change tests to `aes-256-gcm`

* feat: make `Key` a `Box<>` internally to ensure it's heap allocated (and fix tests)

* chore: clippy

* fix: hashing tests now that `const` keys aren't available

this will be cleaned up with test vectors and `include_bytes!()`

* chore: clippy

* refactor: remove dead code

* test: bring back `encrypt_with_invalid_nonce` test

* fix: secret service keyring

* fix: `zbus` build issues

* doc: update comment for clearer reasoning

* fix: cargo fmt

* fix: use bytes directly

* deps: update lockfile

* fix: secret service keyring

* fix: comment out windows keyring for now

* fix: use session keyring if no keyring backend

* fix: completely remove keyring module if no keyring is available for that OS

* fix: clippy

* fix: move iimport to correct conditional compilation

* fix: fmt
2024-03-07 08:00:37 +00:00
wany-oh 68a10502cb
add japanese (#2174) 2024-03-07 04:08:04 +00:00
Vítor Vasconcellos 54acb0dd86
Gate iOS only imports (#2175)
- Fix Windows build
 - Clippy auto
2024-03-07 03:10:50 +00:00
Utku 05782165e7
Update roadmap dates (#2172)
a bit less optimistic
2024-03-06 21:33:22 +00:00
ameer2468 f754b315de
[ENG-1664] Close quickpreview on ESC (#2171)
Close quickpreview on ESC
2024-03-06 16:47:06 +00:00
Brendan Allan 63b17adb10
switch sync to msgpack instead of json (#2164)
* switch sync to msgpack instead of json

* use rmpv

* more rmpv

* use msgpack in cloud

* receive operations as msgpack
2024-03-06 10:15:29 +00:00
Arnab Chakraborty 04c5a7fef0
Revert Tracing-Subscriber filter level (#2169)
Update lib.rs

Forgot to update the tracing-subscriber level from debug to info. Oops.
2024-03-06 07:25:53 +00:00
Brendan Allan 26d7a240db
paginate sync backfill (#2163)
* paginate sync backfill

* add backfill timeout

* use gt instead of gte
2024-03-06 07:13:44 +00:00
Arnab Chakraborty 3bd1622e93
[MOB-23] Mobile Hardware Information for Overview Page (#2106)
* wip for iDevices

* Working HardwareModel Info for iOS

* wip

* Merge 'main' into 'mob-hw-info-overview'

* Half-Working `get_volume()`

* Objective c bridge to talk to FS

* Working objc bridge

The bridge works now, and we can now access the iOS file system using the native objective-c APIs instead for proper values, including on the simulator.

* Isolate `icrate` for `ios` deployments only

* Working Stats for Android

* Clean Up + `pnpm format`

* Fix to FSInfoResult Type

Due to the RNFS fork change, I had to change the types to make it so it doesn't fail building and CI.

* iOS Device Name Fix
2024-03-06 06:46:22 +00:00
ameer2468 55d2ec7a6a
[ENG-1663] Prevent middle-click opening new tab (#2168)
Update Link.tsx
2024-03-06 00:37:31 +00:00
ameer2468 c11ecd2457
[ENG-1661] Windows explorer scrollbar (#2166)
Fix windows scrollbar
2024-03-05 19:46:17 +00:00
nikec eeea776292
[ENG-1662] Fix thumb black bars (#2167)
fix resize loop
2024-03-05 18:37:53 +00:00
ameer2468 a1c5639b03
MacOS: Fix video intro (#2165)
* macos use mp4 - others use webm

* macos use mp4 - others use webm
2024-03-05 16:01:57 +00:00
Brendan Allan 267cc9c97a
fetch library list alongside retrieving cache (#2162) 2024-03-05 12:27:36 +00:00