Commit Graph
2125 Commits
Author SHA1 Message Date
Oscar Beaumont fef0ec2b08 [ENG-1368] - Web shouldn't have rounded corners (#1697)
fix it
2023-10-29 15:07:28 +00:00
nikec b97abebfa2 [ENG-1378] Add gridGap to preferences (#1696)
Add gridGap to preferences
2023-10-29 14:19:15 +00:00
Julian Braha ce8b362ded Remove unused dependencies from server (#1694)
* Remove unused dependencies from Cargo.lock

* Remove unused dependencies from Cargo.toml
2023-10-29 05:59:16 +00:00
Vítor Vasconcellos 609e7e1228 Fix Windows CI (#1695)
* Add Nasm to setup.ps1
 - Nasm is now required to compile the `openssl-sys` crate

* Run Clippy CI when setup or prep scripts change

* Ensure nasm is also installed in Windows CI
 - Add nasm to setup.sh
 - Remove openssl-dev from setup.sh

* Ensure nasm is installed in macOS too

* Dumb ctrl+c/ctrl+v mistake

* 's/==/=/'
2023-10-29 00:25:26 +00:00
HardikBandhiya 7819428e6b fix: changed "Twitter" Logo "𝕏" in README.md (#1692)
* Update README.md

changed "Twitter" Logo "𝕏"

* Update README.md

removed 𝕏 as per suggested
2023-10-28 19:31:09 +00:00
Julian Braha 0f2512a567 Add installation of libvips for arch systems to setup script (#1688)
Add libvips package for arch systems to setup script
2023-10-27 20:31:30 +00:00
ameer2468 615a83615a [ENG-1362] Logging in loading state improvement (#1686)
Update AuthRequiredOverlay.tsx
2023-10-27 16:08:26 +00:00
ameer2468 1e7c5cda9d [ENG-1361] MacOS fix copy, paste, undo, redo, select all functionality (#1684)
* Update menu.rs

* ts gaurd and correct plural for Locations title
2023-10-27 15:22:26 +00:00
Utkuandjake a3dfcb1635 Fix mobile onboarding (#1670)
* attempts

* expo stop using spaces pls

* attempt

* you used to work without this sir

* fixed

* use serde instead of specta

* remove `serde(default`) and update bindings

* fix mobile

* fix types

---------

Co-authored-by: jake <77554505+brxken128@users.noreply.github.com>
2023-10-26 17:38:15 +00:00
ameer2468 c4d9439cca Quick fix for isLocationIndexing (#1679)
Update useIsLocationIndexing.ts
2023-10-26 11:22:03 +00:00
Ericson "Fogo" Soares 9adf088010 [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 02afab97e2 Fix landing analytics (#1675)
fixerino
2023-10-25 19:52:18 +00:00
ameer2468 a40c709660 Missed edge case (#1674)
Update account.tsx
2023-10-25 19:00:28 +00:00
ameer2468 81421b5ba8 [ENG-1206] Account page (#1673)
* account page

* Remove spacedrive account from general
2023-10-25 18:29:21 +00:00
Vítor Vasconcellos 1181cd2709 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 62e3648ba9 remove import (#1667) 2023-10-23 16:28:08 +00:00
Tilo 3f39991482 [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 f8d00832f7 [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
ameer2468 91138f42c5 [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
devqoreandVítor Vasconcellos fb3f672c6a 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 d4f9c501f1 Use www.spacedrive.com instead of spacedrive.com (#1658)
use www.spacedrive
2023-10-22 05:34:17 +00:00
jake f0907dcefc 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 e73e29bf6c check correction for mouse navigation (#1653)
Update useMouseNavigate.ts
2023-10-21 18:36:56 +00:00
Brendan Allan fa43374278 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 2328c74114 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 35982e007a Show hidden files false by default (#1652)
bool
2023-10-21 15:14:58 +00:00
Vítor Vasconcellos 7e42135053 [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
jakeandameer2468 cc6466a5d0 [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
jakeandameer2468 38004a162e [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 a77b06aa84 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 6eec92d505 Set shortDescription to Spacedrive (#1642)
set shortDescription to Spacedrive
2023-10-20 09:41:05 +00:00
Oscar Beaumont 9a2e304711 [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 b885f7e224 [ENG-1331] Fix app startup without IPv6 network stack (#1638)
can i haz ipv6
2023-10-20 08:56:42 +00:00
ameer2468 2ffb1a8fa3 [ENG-1315] Port buttons (#1639)
* port ui

* Update general.tsx
2023-10-20 08:27:36 +00:00
Vítor Vasconcellos 99faecacc4 [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 e43602d3c7 [ENG-1328] Persist window position (#1637)
add tauri-plugin-window-state
2023-10-20 08:09:41 +00:00
nikec 6a63f01e06 [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 4558d48291 [ENG-1317] Ephemeral location notice (#1628)
* wip

* ephemeral notice
2023-10-20 04:11:54 +00:00
Vítor Vasconcellos b78f8726ca 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 f890fd0003 [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 6999aa961f [ENG-1224] Duplicate folder duplicates files inside (#1635)
Properly handling directory renaming duplicates
2023-10-19 21:28:41 +00:00
Gedeon d4f34c495d really small typo fix (#1631) 2023-10-19 18:32:32 +00:00
Vítor Vasconcellos a412e8eac2 [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 64e2d6c089 [ENG-1308] Jobs shouldn't get stuck forever (#1625)
Look mom, unstuckable jobs!
2023-10-19 03:50:45 +00:00
pr 70c965d212 job manager: utils/formatNumber all numbers (#1511) 2023-10-19 03:23:27 +00:00
nikecandEricson Fogo Soares a2c1838973 [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 75b2a1383a OS check for mouse navigate (#1621)
Update useMouseNavigate.ts
2023-10-18 08:32:25 +00:00
AhmedKaramandBrendan Allan 4a0b3bf79d 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 7bc07eeaff /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 e0bfe6e8ba Fix casing switch in "Log in" button (#1619)
Fix casing inconsistency
2023-10-18 04:26:39 +00:00