Commit graph

2412 commits

Author SHA1 Message Date
ameer2468 968bf8985a
Quick fix for isLocationIndexing (#1679)
Update useIsLocationIndexing.ts
2023-10-26 11:22:03 +00:00
Ericson "Fogo" Soares 033e61ac33
[ENG-1320 | ENG-1340] Separate thumbnails FS location by library | Make the thumbnails actor report back its progress (#1656)
* Renaming error type on ffmpeg subcrate

* Version manager overhaul

* Reworked thumbnail actor

* Updating sharding scheme

* New migration system for thumbnails

* Updating search to new actor

* Updating custom_uri to new thumbnail improvements

* Updating library to new thumbnail stuff

* LibraryId type alias

* Updating indexer to new thumbnail actor

* Updating watcher to new thumbnail actor

* Update location manager to use LibraryId type alias

* Updating location metadata to new LibraryId type alias

* New LocationPubId type alias

* Updating ephemeral walker to new thumbnail stuff

* Updating media processor to new thumbnail actor

* New thumbnailer actor state manager

* Introducing the concept of job phases

* Segregating the thumbnailer actor worker fn

* Fixes on job pausing

* Processing batches with progress reporting

* Updated actor

* Updated media processor

* Small tweaks

* Updating non indexed walker

* Changing a UI string
2023-10-26 04:48:29 +00:00
Utku ed6c76fe90
add space between os and arch (#1676) 2023-10-25 21:31:23 +00:00
Utku 91dc29d944
Fix landing analytics (#1675)
fixerino
2023-10-25 19:52:18 +00:00
ameer2468 75ae798644
Missed edge case (#1674)
Update account.tsx
2023-10-25 19:00:28 +00:00
ameer2468 78eabdd3cb
[ENG-1206] Account page (#1673)
* account page

* Remove spacedrive account from general
2023-10-25 18:29:21 +00:00
Vítor Vasconcellos f7277d602f
Frontend misc fixes and deps update (#1650)
Dependencies overhaul
 - Update dependencies for all projects (except Mobile-only deps)
 - Remove unused dependencies from all projects (except Mobile-only deps)
 - Fix Storybook failing to import sd/ui style
 - Add Node 21 as not supported due to sass-loader not working on it yet
 - Add work-around for new rook version requiring webpack specific global property
 - Fix landing dev not working due to missing default env value on dev
 - Fix some incorrect uses of phosphor-icons non server side icons on server components on landing
 - Fix some incorrect uses of phosphor-icons server side icon on client components on landing
 - Fix landing fail to build on dev due to always required a Github Token to get the latest release
 - Fix new Next.js version not suporting Response.redirect due to immutable Headers
 - Add Gitlab as social link for teams page
 - Update Vítor's team photo
 - Add Vítor's twitter link
 - Fix some warning due to missing useEffect dependencies
 - Remove test-files dir
 - Fix QuickPreview unblurred buttons in Linux
 - Formatting
2023-10-24 07:51:58 +00:00
ameer2468 4f6b37ee0f
remove import (#1667) 2023-10-23 16:28:08 +00:00
Tilo 80f358b7ec
[ENG-870] Fix wording for delete dialog (#1516)
* The Delete-Dialog now accepts two props, which specify the type of files to be deleted.
Based on this information the wording is adjusted.

* Added variant with item count

* [ENG-860] Added default props

* [ENG-860] implemented suggested method

* [ENG-860] Added file counts to deletemenu via shortcut
2023-10-23 16:07:05 +00:00
ameer2468 3d0991a76e
[ENG-1354] Shortcut to reveal in finder/explorer (#1665)
* Shortcut to reveal in finder/explorer

* Update useKeyRevealFinder.ts

* update keybinds page

* move hook

* fix import paths
2023-10-23 14:48:49 +00:00
Brendan Allan 46397010e4
Individually quote each line of release modal commit message (#1666)
individually quote each line of commit message
2023-10-23 14:47:35 +00:00
Brendan Allan d12ee7e678
[ENG-1342] Prompt for tagline and category when creating release (#1664)
* modal + prompt for tagline and category + refactor

* move createSlashCommand to utils
2023-10-23 14:19:34 +00:00
ameer2468 f1bb69324f
[ENG-1327] Loading indicator if a location is indexing (#1663)
* Loading indicator if a location is indexing

* Change check to completed_task_count rather than complete
2023-10-23 12:22:07 +00:00
Brendan Allan dc33cac7f3
[ENG-1339] Don't allow releasing if branch with same name already exists (#1662)
* zod babyyy

* add api docs references
2023-10-23 09:54:52 +00:00
devqore 5b09c615c9
Improve error message with rustup not found (#1659)
* Improve error message with rustup not found

* Improve error message with rustup not found on the mobile devices

* Fix `err` function in setup.sh

Fix `err` function printing repeated error lines

---------

Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
2023-10-22 15:42:37 +00:00
Brendan Allan 4c785eaca0
Use www.spacedrive.com instead of spacedrive.com (#1658)
use www.spacedrive
2023-10-22 05:34:17 +00:00
jake 76e6dfa2fc
major fix: hide frame and border if macos is fullscreen (#1655)
hide frame and border if macos is fullscreen
2023-10-21 23:01:32 +00:00
ameer2468 b39a108886
check correction for mouse navigation (#1653)
Update useMouseNavigate.ts
2023-10-21 18:36:56 +00:00
Brendan Allan c64eabfac8
Fix account card shrink + overview scrollbar (#1643)
* don't shrink account card

* fix perma-scroll on overview

* Update SpacedriveAccount.tsx
2023-10-21 17:26:24 +00:00
jake 83538f22a1
bump core and tauri to 0.1.2 (#1651)
core and tauri to 0.1.2
2023-10-21 15:19:38 +00:00
Jamie Pine a0629d92e9
Show hidden files false by default (#1652)
bool
2023-10-21 15:14:58 +00:00
Vítor Vasconcellos ce568981c1
[ENG-1338] Fix fresh Spacedrive install failing to start due to attempting to query a nonexistent Library (#1649)
Fix Spacedrive failing to start due to attempting to query a nonexistent Library
 - Rename useShoudRedirect to useRedirectToNewLocations
 - Improve behaviour for the immedite redirection after adding a new location
2023-10-21 15:02:54 +00:00
jake e51a58fe28
[ENG-1283, ENG-1284, partially ENG-1303] Fix MacOS window bar showing when full-screen (#1582)
* fix(UI): remove the swift code that was causing the top bar to show when the window is maximized

* fix(UI): limit the keybind handler to the `$libraryId` layout

The keybind handler is how we get MacOS menu bar events to the front-end, and to navigate to the settings page correctly we need the current library UUID. We should hide/disable the settings button (and any future buttons that require a library/certain state - e.g. during onboarding) from the menu bar.

* chore(swift): remove unused function

* fix(UI): git didn't detect hook rename

* fix(deps): revert tauri version downgrade

Was probably caused by a bad merge

* fix(UI): remove rounding of window borders on macos

This was allowing the borders to still show on MacOS, despite the app being fully maximized. This doesn't impact non-maximized styling of the app, as we have native window decorations enabled within the Tauri config (well, that's my best guess as to why this fixes the issue).

* fix(UI): conditionally enable/disable menu items on macos

This is dependent on whether a library is present or not. If there's no library, we disable things such as copy/paste/select all.

* fix(UI): try and conditionally show the border radius

I think some cached files aren't being rebuilt correctly as this *should* work fine, it uses the same conditions as the traffic lights do to determine if we're fullscreen or not.

* remove copy/select all/paste as they have uses outside of the explorer

* feat(UI): overhaul native macos menu

* fix: add toast for quick rescan and free up the ctrl+r keybind

* more menu rearrangements

* update menu further

* add comment about rounded edges

* some polish

* add working overview redirect

* fix(UI): correct border edges when non-maximized, and full corners when maximized

* cleanup event handling

* add media view and disable non-working buttons

* fix(UI): raise sidebar on fullscreen to prevent empty corner

* adjust settings padding when maximized on macos

* failed sidebar animation

* rm old stuff

* fix(UI): better transitions (i'm learning!)

* add comment about why new library is disabled during onboarding

* make the settings page static and `pt-6`

* add mock-up library selector in menu

* `maximized` -> `fullScreen`

* fix animation when fullscreening

* clippy

* change animation to 300ms

---------

Co-authored-by: ameer2468 <33054370+ameer2468@users.noreply.github.com>
2023-10-21 11:57:04 +00:00
jake cc72f54c3d
[ENG-1210] Navigate to location after adding it (#1454)
* remove annoying log

* return location id on creation

* add checkbox to open new location once it's been added

* redirect if checkbox was true and a location id was provided, and update bindings

* add `new()` for `MissingFieldError`

* return location id on location relink

* working, clean redirecting

* accordion closing tag

* navigate to location after adding

* chore: remove erroneous `{' '}`

* multiple location redirect support

* oops missed check

* cleanup

* fix bad merge

---------

Co-authored-by: ameer2468 <33054370+ameer2468@users.noreply.github.com>
2023-10-20 21:01:13 +00:00
pr 5f417e7c1b
Job text tabular-nums to reduce jumpiness (#1647)
job text tabular-nums to reduce jumpiness
& swap Scanning: and Found: text to also reduce jumpiness
2023-10-20 16:56:34 +00:00
Brendan Allan 53883edd3f
Set shortDescription to Spacedrive (#1642)
set shortDescription to Spacedrive
2023-10-20 09:41:05 +00:00
Oscar Beaumont 758ee5bbe2
[ENG-1332] Fix regression causing P2P to be disabled by default (#1641)
lol, lmao, rofl
2023-10-20 08:57:19 +00:00
Oscar Beaumont 51d99cdb3a
[ENG-1331] Fix app startup without IPv6 network stack (#1638)
can i haz ipv6
2023-10-20 08:56:42 +00:00
ameer2468 092d0901bd
[ENG-1315] Port buttons (#1639)
* port ui

* Update general.tsx
2023-10-20 08:27:36 +00:00
Vítor Vasconcellos baf4fc3b59
[ENG-1325] Vendor openssl in tauri (#1636)
* Vendor openssl dependency

* Remove bindgen, seems like windows don't like it
 - Add OPENSSL_RUST_USE_NASM to force windows to use nasm

* Add native-tls-vendored to reqwest
 - Shouldn't change much as the openssl crates override was already dealing with the vendoring anyway
2023-10-20 08:22:36 +00:00
Brendan Allan d898b16cb9
[ENG-1328] Persist window position (#1637)
add tauri-plugin-window-state
2023-10-20 08:09:41 +00:00
Alex 5e272f796b
Landing page GitHub releases pulling (#1633)
* new route for latest version

* client side fetching from own API

* Server side fetching

* implement changes

* remove LatestVersion

* typescript

---------

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2023-10-20 05:32:30 +00:00
nikec a709f2b642
[ENG-1324] Fix show object size on ephemeral locations (#1629)
Fix show object size on ephemeral locations
2023-10-20 04:30:15 +00:00
nikec d8ac61eeba
[ENG-1317] Ephemeral location notice (#1628)
* wip

* ephemeral notice
2023-10-20 04:11:54 +00:00
Vítor Vasconcellos b827f9cc66
Enable thumbnail support for webp images (#1634)
* Enable thumbnail support for webp images

* Remove webp optional dep from sd-images crate
2023-10-20 03:33:55 +00:00
nikec 0f3d7a2a64
[ENG-955] Hide media view on network, ephemeral, and nodes explorer (#1630)
layouts option
2023-10-19 23:43:53 +00:00
Ericson "Fogo" Soares 801473191a
[ENG-1224] Duplicate folder duplicates files inside (#1635)
Properly handling directory renaming duplicates
2023-10-19 21:28:41 +00:00
Gedeon d52b4f9f22
really small typo fix (#1631) 2023-10-19 18:32:32 +00:00
Vítor Vasconcellos 34fe26e442
[ENG-1229] Show hidden files not working correctly (#1583)
* Ensure hidden prop is updated when file is modified

* Fix show hidden files in ephemeral locations

* Restore hidden prop for NonIndexedPathItem
2023-10-19 05:14:42 +00:00
Ericson "Fogo" Soares 7ea5a0ee5b
[ENG-1308] Jobs shouldn't get stuck forever (#1625)
Look mom, unstuckable jobs!
2023-10-19 03:50:45 +00:00
pr 427d8845aa
job manager: utils/formatNumber all numbers (#1511) 2023-10-19 03:23:27 +00:00
nikec ace3527bfc
[ENG-1305] "Add Locations" onboarding flow (#1611)
* locations onboarding flow

* optional

* Backend for default location on library creation

* Rust fmt

* Enhancing error handling and introducing more resilience

* Removing .spacedrive metadata on library deletion

* Rust fmt again

* default to videos

---------

Co-authored-by: Ericson Fogo Soares <ericson.ds999@gmail.com>
2023-10-19 03:18:36 +00:00
ameer2468 1fe61700e0
OS check for mouse navigate (#1621)
Update useMouseNavigate.ts
2023-10-18 08:32:25 +00:00
AhmedKaram a4acd2c533
Update README.md (#1521)
* Update README.md

adding links for available realses

* Update README.md

done i believe

* Update README.md

* reformat

---------

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2023-10-18 05:59:09 +00:00
Brendan Allan 7373031ea2
/release slack command (#1613)
* /release slack command

* use signing secret from env

* restrict /releases to specific channel

* add note about version number increment

* stupid

* remember command

* generate_release_notes

* pnpm lock

* remove slack-edge

* man idk

* bruh

* why

* skip category if no slug

* we good
2023-10-18 05:27:31 +00:00
Julian Braha 1b2d89f3db
Fix casing switch in "Log in" button (#1619)
Fix casing inconsistency
2023-10-18 04:26:39 +00:00
Brendan Allan f05f6563b6
[ENG-1290] In-app changelog + GitHub releases as CMS (#1602)
* improve docs

* in-app changelog

* derive site changelogs from github releases

* cleanup + static changelog generation

* metadata

* fix metadata fns

* update tauri handler
2023-10-18 04:26:20 +00:00
Brendan Allan 5d350472a9
[ENG-1314] Re-enable cache factory on all main commits (#1608)
re-enable cache factory on all main commits
2023-10-18 04:22:41 +00:00
Oscar Beaumont f67b7e807a
[ENG-1291] enable/disable P2P & configurable port (#1609)
* it works pog

* UI for when networking is disabled

* Fix Clippy issues

* clippy tings
2023-10-18 03:52:54 +00:00
Arnab Chakraborty 1783da9ac2
Get mobile app to build on Android (#1617)
Add sourceSets to module build.gradle
2023-10-18 03:33:27 +00:00