2243 Commits

Author SHA1 Message Date
jake
83538f22a1 bump core and tauri to 0.1.2 (#1651)
core and tauri to 0.1.2
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
ameer2468
de0267fa98 fix bg (#1615)
Update Space.tsx
2023-10-17 21:05:38 +00:00
ameer2468
563531c8c4 [ENG-1226] Link locations button in inspector (#1612)
Link locations button in inspector
2023-10-17 15:30:28 +00:00
nikec
557bb36e8f [ENG-1316] Better explorer count handling (#1610)
count
2023-10-17 10:34:02 +00:00
jake
a32ba7470b [ENG-1289] Reload webview support for Windows and Linux (#1590)
* full webview reload for linux/windows

* cleanup platform-specific code

* code cleanup & bindings

* add reload to the debug popover

* try to fix windows builds

* even better fix
2023-10-17 07:17:56 +00:00
Oscar Beaumont
1b856848e8 [ENG-1310, ENG-1300] Spacedrop better testing + fix zero-sized files (#1606)
* unit tests save lives

* Support for zero-sized files

* fix: clippy

---------

Co-authored-by: jake <77554505+brxken128@users.noreply.github.com>
2023-10-17 06:12:38 +00:00
Oscar Beaumont
a7ad24c641 [ENG-625] Spacedrop improvements (#1447)
* Fist fight with the abstraction

* Prevent opening multiple Spacedrop dialogues

* Infinite renders = infinite power

* Comment be gone

* Spacedrop multiple files

* correlate connection id's

* fixes

* thanks Typescript

* Clippy errors + fix cfg's from main
2023-10-17 04:31:42 +00:00
Oscar Beaumont
f38e7871ff Bump .nvmrc version (#1605)
Update .nvmrc
2023-10-17 03:58:50 +00:00
Jamie Pine
3709ab4883 [END-1309] Fix explorer query invalidation (#1604)
fix
2023-10-17 03:54:41 +00:00
Ericson "Fogo" Soares
bfe5a65949 [ENG-1267] Move thumbnails generation away from media processor (#1585)
* New vscode task to start developing

* Updating db in case of library updates just in case

* Done

* Forgot to remove some debug logs

* Rust fmt

* Saving thumbnails processing state on app shutdown

* bruh
2023-10-17 02:09:36 +00:00
ameer2468
97ee8a21c6 [ENG-1304] hidden files shortcut (#1603)
hidden files shortcut
2023-10-16 21:03:35 +00:00
ameer2468
fe345d2375 [ENG-1301] mouse4 mouse5 dont work when hovering (#1601)
* Fix mouse navigation bug when file/folder is hovered

* remove imports
2023-10-16 15:29:18 +00:00
Harry Yep
0e49256063 fix: update release version (#1599) 2023-10-16 14:18:49 +00:00
ameer2468
5c439c9add [ENG-1294] Mac - Delete shortcut (#1597)
* Delete shortcut fixed for Mac

improve types and fix incorrect icon

Update Contents.tsx

formatting

* shouldn't toggle if no items are selected
2023-10-16 12:24:18 +00:00
Tilo
d1e6f08c5e [ENG-1252] Hidden files will now be 50% opacity. (#1548)
* [ENG-1252] Hidden files will now be grayscale and at 50% opacity.

* [ENG-1252] Removed grayscale

* [ENG-1252] Make enverything opacity 50
2023-10-16 10:44:01 +00:00
Brendan Allan
d4ad5c97f3 Migrate landing page to app dir (#1587)
* app dir yay

* better docs route

* fix icon sizing

* mobile sidebars

* detect webgl in useEffect

* separate zxcvbn
2023-10-16 04:28:16 +00:00
ameer2468
f352a28dc8 Popover keybind state fix (#1593)
Update Popover.tsx
2023-10-15 11:32:44 +00:00
ameer2468
2dd28540f1 [ENG-1288] Copy, cut, and paste shortcuts (#1591)
* copy paste shortcut

* add cut shortcut
2023-10-15 10:47:03 +00:00
pr
3d844aeee7 some light mode fixes (#1581) 2023-10-14 07:42:31 +00:00
Vítor Vasconcellos
65f13bf204 [ENG-1268] Fix custom indexer rule crashing location scanning (#1584)
Fix custom indexer rule crashing location scanning
2023-10-14 06:33:37 +00:00