Commit Graph

684 Commits

Author SHA1 Message Date
nikec
4c484abb33 [ENG-1659] Rename through inspector (#2155)
renamable path trough inspector
2024-03-01 16:04:48 +00:00
Vítor Vasconcellos
8e271c007f Lock version of patched dependencies (#2151)
Fix eslint warning
 - Fix some subdependencies requiring an older @typescript-eslint/parser version that is incompatible with the current version of typescript
 - Add react-router and react-router-dom version lock to ensure pnpm doesn't download a version incompatible with our patched @remix/router
 - Add version lock to @remix-run/router to avoid incompatibilities with our patched version
2024-03-01 01:57:27 +00:00
Oscar Beaumont
2cc828c4af Everything over P2P (#2135)
* Fix websockets over P2P + multi-node cache

* cleanup features

* Explorer over P2P demo

* wip

* wip

* working for ephemeral stuff

* Button to get out of remote viewer

* remove

* Cleanup

* more cleanup

* Fix cross-node library queries

* Files over P2P

* Drop `Header::File`

* Fix Clippy

* Don't let noobs get hacked
2024-02-29 07:46:30 +00:00
Brendan Allan
54ea279df3 fix actors debug page (#2146) 2024-02-29 07:29:28 +00:00
Brendan Allan
69a6edb99f Move online locations query to subcomponent (#2143)
* move online locations query to subcomponent

* silly

* pass location
2024-02-29 03:43:01 +00:00
Vítor Vasconcellos
5a103fb21b [ENG-1472] Frontend bug fixes and dependencies update (#2137)
* Fix onboarding sometimes not redirecting to Explorer on prod builds
 - Fix failure trying to compile landing prod builds outside Vercel
 - Fix Server docker failing to restart due to some incorrecting logic for creating the unprivileged users erroring out
 - Fix Storybook failing to build due to updates to Vite
 - Update Storybook dependencies
 - Remove unused Inter font dependency
 - Fix some incorrect references to NodeJS types inside web code
 - Fix $libraryId index using the incorrect redirect function
 - Improve error handling for the $libraryId index route
 - Fix Prism not being correctly loaded, and failing to register its plugins
 - Improve Prism loading error handling
 - Small improvement to the text highlight logic
 - Fix SCSS deprecation for untyped hsl values
 - Fix library query cache incorrectly saving empty values, which lead to the onboarding redirect bug
 - Patch contentLayer to fix an error during the final part of it's build process
 - Update most dev dependencies
 - Update publish-artifact to be compatible with new @actions/artifact
 - Fix issue with new vite-plugin-solid failing to build our .ts files due to the removal of the typescript plugin
 - Fix pnpm overrides not applying due to incorrect placement in package.json
 - Replace deprecated react-tsparticles and updated three used by the Bubbles background in the landing page
 - Rework Bubbles background to be compatible with new @tsparticles/react
 - Update @sd/config dependencies
 - Update @sd/scripts dependencies

* Implement suggestions
 - Replace mobile JS node setup with custom setup-pnpm action
 - Handle GITHUB_SECRET default value in code and throw a warning when it is not set
 - Fix pnpm now resolving the correct node version when building Spacedrive server docker
 - Add missing getent command to spacedrive server docker
 - Fix typo in entrypoint.sh
 - Implement a more robust check if the user is already in a group
 - Fix adduser failing due to missing default group
 - Disconnect IntersectionObserver on component unmount
 - Improve prism import comment

* Implement more suggestions
 - Pin genent version to latest stable release of UClibc
 - Add checksum checks for all ADD clauses in Spacedrive server Dockerfile

* Increase Maestro timeout to reduce CI failures due to slow simulator startup

* Dowgrade maestro to workaround CI timeout

* Improvements to the script that run maestro mobile tests
 - Increase the amount of retries for a maestro test run to 6
 - Increase Maestro driver startup timeout to 2 minutes

* Let run-maestro-tests.sh decide how to run itself

* ¯\_(ツ)_/¯
2024-02-28 23:52:24 +00:00
nikec
b6515a3467 [ENG-1460] Fix inspector path overflow (#2141)
fix overflow
2024-02-28 15:37:05 +00:00
nikec
09599da15c [ENG-1642] Fix location status height (#2140)
fix height
2024-02-28 15:36:23 +00:00
nikec
46dc7e8669 [ENG-1643] Fix remove tag button size (#2139)
Fix button size
2024-02-28 15:36:15 +00:00
nikec
a87d53e309 [ENG-1641] Use 'delItem' shortcut (#2138)
replace del items shortcut hooks
2024-02-28 15:36:07 +00:00
Utku
b6c7ead854 [MOB-4] Toast messages (#2132)
* cleanup and add toast package

* fix screen container & use scrollview by default

* more cleanup and toast api

* now it works hmm

* toasts
2024-02-28 09:33:24 +00:00
ameer2468
b038b3cf5d [ENG-1640] Correct locations folder icon (#2130)
* Show correct icon for locations list

* run lint fix
2024-02-27 16:44:49 +00:00
Brendan Allan
068c6dd169 [ENG-1605] updater i18n (#2123)
* updater i18n

* more translations

* interpolate version number in translations

* [ENG-1598] Don't show update toast if no previous version (#2125)

don't show update toast if no previous version
2024-02-27 16:17:06 +00:00
nikec
399b8264f4 [ENG-1639] Copy paste improvements (#2129)
improvements
2024-02-27 15:30:04 +00:00
Brendan Allan
c8dc7e3d4d [ENG-1613] Enable sync operation generation with backfill (#2128)
Enable sync operation generation with backfill
2024-02-27 09:37:34 +00:00
ameer2468
53713a9f59 [ENG-1625] Spacedrop UI correct hover condition & spacing (#2127)
* improve spacedrop ui with correct hover & spacing

* remove
2024-02-26 15:53:37 +00:00
Matteo Galiazzo
6f27504e5f added it locale, added it entry (#2066)
* added it locale, added it entry

* Apply suggestions from code review

Co-authored-by: Matteo Martellini <matteo@mercxry.me>

* add missing keys and a readme about the script

---------

Co-authored-by: Utku <74243531+utkubakir@users.noreply.github.com>
Co-authored-by: Matteo Martellini <matteo@mercxry.me>
2024-02-26 15:20:41 +00:00
Oscar Beaumont
aa0b4abf85 rspc over P2P (#2112)
* wip: rspc over p2p

* wip

* rspc over P2P

* Cleanup + error handling

* slight cleanup

* Using Hyper for HTTP streaming + websockets
2024-02-26 07:23:48 +00:00
nikec
d007b55763 [ENG-1619] Add spacedrop to the context menu (#2119)
add spacedrop to context menu
2024-02-22 12:53:02 +00:00
ameer2468
dd0acad2e7 [ENG-1618] Spacedrop UI (#2118)
* spacedrop ui update

* i18n and description

* glitch: remove !

* already in progress i18n

* more i18n
2024-02-22 12:47:08 +00:00
Utku
b638fc2177 [MOB-37, MOB-38, MOB-39] Preview for PDF, Text and Media files (#2098)
* version & microphonePermission text & eslint

* remove polyfill as hermes supports intl now

* why do we have solid on mobile?

* cleanup

* add solid back =_=

* pnpm lock

* we hate relative paths here

* android config

* open file logic

* visual tweaks

---------

Co-authored-by: ameer2468 <33054370+ameer2468@users.noreply.github.com>
2024-02-21 13:26:05 +00:00
Oscar Beaumont
519b1b6c46 Fix P2P not working for libraries (#2031)
* P2P Debug route

* Remove legacy peer to peer pairing process

* Fix error typo

* Sync instances with cloud

* Upgrade deps + extended instance data

* Create instance with extended metadata

* Auto sync instances

* Actually `.await`

* bruh

* sync library info

* this isn't gonna work

* only sleep cloud receiver when no more messages (#1985)

* [ENG-1567] Fix renaming (#1986)

fix rename

* only sleep cloud receiver when no more messages

* use in memory instances during cloud receive (#1995)

* use in memory instances during cloud receive

* is_empty

---------

Co-authored-by: nikec <43032218+niikeec@users.noreply.github.com>

* fix type error

* wip

* make mdns mdns better

* rebuild state

* Add hooks + listeners + discovered state

* Split into crates

* wip fixing core + wip merging Spacetime into `sd-p2p2`

* `SmartLockGuard` + `Listener`

* Make `sd-core` compile

* Reenable all operation receivers

* Fix all broken code within `sd-core`

* minor fixes found in review

* Bring in `libp2p` + restructure `sd-p2p` for the gazillion-th time

* whoops

* Compile no matter the (runtime) cost

* fixing merge issues

* wip

* a

* b

* C

* Handle port betterer

* c

* Migrate node config

* a

* no crash on startup

* wip

* a

* jdfhskjfsg

* a

* fix discovery

* a bunch of fixes

* getting Spacedrop working

* I don't get why it no worky

* debug example

* a

* wip

* wip

* removing logging from stream impl

* wip: shit is fucked

* Redo quic integration  + Spacedrop working

* Fix shutdown - deadlocks + shutdown peers

* Add Prisma migrations

* Fix shutdown

* a

* fix

* cleanup

* The lord clippy hath spoken

* disable P2P settings for now

---------

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
Co-authored-by: nikec <43032218+niikeec@users.noreply.github.com>
2024-02-21 08:13:40 +00:00
ameer2468
abd5ecbe8d mousedown fix (#2108)
quick mistake fix
2024-02-20 10:05:53 +00:00
Brendan Allan
9bc1a472a8 Basic sync operation backfill (#2101)
* basic sync operation backfill

* no changes
2024-02-20 09:22:34 +00:00
ameer2468
19b224370e [ENG-1615] bg intro video fixed (#2104)
* video intro bg

* test hsl

* test video bg

* run tests

* comment

* mob intro

* git glitch

* git

* webm type
2024-02-19 20:45:29 +00:00
ameer2468
e8450821df [ENG-1612] Fix mouse nav forwards and backwards (#2105)
Fix mouse nav forwards and backwards
2024-02-19 15:23:20 +00:00
ameer2468
bd1f11b0d9 remove intro video (#2097)
* all tags screen, visual improvements, and bug fix

* More sync support for file paths + saved searches (#2067)

more sync support for file paths + saved searches

* windows video intro fix

* remove video intro

* back for mob

---------

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2024-02-14 21:04:34 +00:00
nikec
1fd35d0a81 [ENG-1609] Shortcuts refactor (#2092)
small refactor
2024-02-14 15:08:59 +00:00
nikec
4afe3a3ecb [ENG-1606] Hide ephemeral dir size in inspector (#2091)
hide ephermal dir size
2024-02-14 12:15:04 +00:00
Vítor Vasconcellos
7aae22e83f Fix Linux release (#2081)
* Fix Linux release
 - Pin appimage-builder to latest master
 - Add required cmp option to AppImageBuilder.yml
 - Disable intro video on Linux (it breaks onboarding for some reason)

* Auto format

* Fix typecheck
2024-02-13 18:26:19 +00:00
nikec
a18d60aa27 [ENG-1602] Prevent default keybind events (#2085)
* prevent default events

* disable for dev
2024-02-13 17:06:12 +00:00
ameer2468
74d9406c53 [ENG-1599] Overview count design (#2088)
* all tags screen, visual improvements, and bug fix

* More sync support for file paths + saved searches (#2067)

more sync support for file paths + saved searches

* fix count display

---------

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2024-02-13 16:06:49 +00:00
nikec
63a60f363e [ENG-1604] Change key matcher to use real OS (#2087)
useOperatingSystem(true)
2024-02-13 12:44:33 +00:00
nikec
1efaf97188 [ENG-1601] Fix job manager keybind toggle (#2084)
fix job manager toggle
2024-02-13 12:25:56 +00:00
Vítor Vasconcellos
72efcc9f62 [ENG-1595] Fix some problems with the AI system (#2063)
* Fix some problems with the AI system
 - Fix downloading model using an internal rust string representation as path for the model file
 - Fix Linux loading onnx shared lib from a hardcoded path
 - Fix App should not crash when the AI system fails to start
 - Fix sd-server failing to start due to onnxruntime incorrect linking
 - Some extra clippy auto fixes

* Use latest ort

* Fix dangling sd_ai reference
 - Use entrypoint.sh to initilize container

* Fix server Dockerfile
 - Fix cargo warning

* Workaround intro video breaking onboarding for the web version

* Fix rebase
2024-02-12 17:45:17 +00:00
nikec
74e2d23c11 [ENG-951] Media view date header (#2076)
* Split up grid into grid and media view, drag select, key selection, date header

* fix types

* header shadow

* set selecto drag container

* make shadow more visible and make text smaller

* fix date by key and sort direction

* fix truncated text jumping

* bump virtual-grid and replace totalCount

* cleanup a bit

* remove allowMultiselect option
2024-02-12 17:43:26 +00:00
ameer2468
7d12a890aa [MOB-53] All tags screen - visual improvements - and more (#2074)
all tags screen, visual improvements, and bug fix
2024-02-09 17:13:37 +00:00
Utku
2dc233f1b4 Update readme & contributing guide & language stuff (#2071)
* updates

* keep common errors

* fix selector being empty for english

* sort by label

* update contributing

* update ndk and docs

* Update CONTRIBUTING.md
2024-02-09 15:42:42 +00:00
Brendan Allan
177b2a23d6 sync support for labels (#2070)
* more sync support for file paths + saved searches

* sync support for labels

* update sync prisma generator to support more than tags

* workey

* don't do illegal db migration

* use name as label id in explorer
2024-02-09 13:20:51 +00:00
Artsiom Voitas
1469ef6ac6 Added Belarusian localization (#2072)
feat: Added Belarusian localization

Added Belarusian localization, added entries in settings.json and general.tsx
2024-02-08 20:47:39 +00:00
Artsiom Voitas
53506a76cd feat: added russian localization (#2061)
* feat: added russian language

* fix: minor translation changes

* Added and translated new entries on Russian

* fixed misspelling

* some translation inaccuracies have been corrected

---------

Co-authored-by: Artsiom Voitas <artsiom.voitas@proton.me>
2024-02-08 15:20:35 +00:00
ameer2468
bda9a1b6ee [MOB-55] Video animation for onboarding on mobile and desktop (#2065)
* video animation for onboarding on mobile and desktop

run assets gen

cleanup

declare mp4 type

* update metro config to transform video files from sd assets

* test ci without native video exclude

* casing?

* remove to add back again due to github

* add videos back

* versions

* no need to transform

---------

Co-authored-by: Utku Bakir <74243531+utkubakir@users.noreply.github.com>
2024-02-07 17:25:04 +00:00
Utku
da2841b37a More translations (#2051)
* translations

* more translation keys

* all the translations
2024-02-07 13:47:55 +00:00
ameer2468
2899aa3fa5 [ENG-1594] Change online to connected (#2060)
: This is a combination of 3 commits.

Change online to connected

remove offline

json
2024-02-06 16:30:53 +00:00
Jesse Rodrigo
4e70246467 Dutch locale (#2054)
* nl locale

* add nl entry

* improve some wording
2024-02-06 10:41:05 +00:00
Utku
2ff1ffcb9c Fix Chinese language (#2050)
* fix chinese

* remove console.log
2024-02-04 20:52:26 +00:00
Jx
2320716523 Small adjustments to the Spanish language locale file. (#2043)
Small adjustments to language locales

Just some tweaks to certain words that seemed a bit out of place. They are mostly subtleties that I noticed after using the desktop app.
2024-02-03 11:28:29 +00:00
Utku
e2175aaf19 [ENG-1578] Missing localization & language detect and settings (#2037)
* i18n privacy screen

* more missing translations

* language detector

* Language Settings

* sort german

* bump version to 0.2.3
2024-02-02 22:16:01 +00:00
Oscar Beaumont
a30deaa144 Cloud + P2P (#1970)
* P2P Debug route

* Remove legacy peer to peer pairing process

* Fix error typo

* Sync instances with cloud

* Upgrade deps + extended instance data

* Create instance with extended metadata

* Auto sync instances

* Actually `.await`

* bruh

* sync library info

* this isn't gonna work

* only sleep cloud receiver when no more messages (#1985)

* [ENG-1567] Fix renaming (#1986)

fix rename

* only sleep cloud receiver when no more messages

* use in memory instances during cloud receive (#1995)

* use in memory instances during cloud receive

* is_empty

---------

Co-authored-by: nikec <43032218+niikeec@users.noreply.github.com>

* fix type error

* wip

* make mdns mdns better

* response

* remove renames

---------

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
Co-authored-by: nikec <43032218+niikeec@users.noreply.github.com>
2024-02-02 09:31:11 +00:00
Brendan Allan
74d97d4957 [ENG-1592] Correctly assign tab titles on desktop (#2030)
* correctly set tab titles

* use selectedTabIndex

* empty tabId

* prettier
2024-02-01 15:40:38 +00:00