Commit Graph

2411 Commits

Author SHA1 Message Date
Matteo Galiazzo
ed037df4c1 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
jake
7cae4cb78b Clean-up MacOS window closing behaviour code (#2124)
* fix: delete dead/unused file

* refactor: add the window event handler with the rest of them

* refactor: formatting
2024-02-26 15:17:28 +00:00
Oscar Beaumont
4ef515d974 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
Utku
3eb8cfe4af Fix android thumbs (#2121)
* replace react-native-fs with an active fork

* time sink

* fix
2024-02-23 16:26:58 +00:00
ameer2468
ca10749a9c Mob: cleanup warning (#2122)
Update Categories.tsx
2024-02-22 21:28:35 +00:00
ameer2468
0e3b4d84e5 MOB: Settings paddings (#2120)
padding tweaks
2024-02-22 13:08:41 +00:00
nikec
e92d96ff05 [ENG-1619] Add spacedrop to the context menu (#2119)
add spacedrop to context menu
2024-02-22 12:53:02 +00:00
ameer2468
edfbdeb9d7 [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
ameer2468
b4edf5b210 [MOB-62] Spacing & padding tweaks (#2117)
Spacing & padding tweaks
2024-02-22 12:20:31 +00:00
Vítor Vasconcellos
f4e68497ed Fix core test and CI breaking (#2116)
Fix core test passing inverted arguments to sync_db_entry macro
2024-02-22 06:15:36 +00:00
ameer2468
f2ce41b9b4 Mob: better visually width fitting for categories (#2114)
* Visually width fitting for categories

* remove padding
2024-02-21 14:19:40 +00:00
Vítor Vasconcellos
a0b7cf21fc Fix mobile CI + Some small CI improvements (#2113)
Fix mobile CI
 - Use rust envvars in all workflows
 - Use rust envvars and mold when build sd-server docker
2024-02-21 14:18:15 +00:00
Utku
badae3c75a [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
Brendan Allan
bfd6e813c0 media data sync (#2102)
* basic sync operation backfill

* media data sync

* sync entry helpers

* fix sync generator

* nicer

* re-add key_id
2024-02-21 11:42:10 +00:00
Vítor Vasconcellos
c1e98dcb0d Update github actions due to nodejs 16 deprecation (#2107)
* Update github actions due to nodejs 16 deprecation
 - Replace archived actions-rs/clippy-check with maintained fork actions-rs-plus/clippy-check
 - Replace redhat-actions/push-to-registry with updated fork Eusebiotrigo/push-to-registry
 - Point redhat-actions/buildah-build and softprops/action-gh-release to current master to fix nodejs deprecation

* Build the correct ios core rust arch for CI runs

* Build ios app for the same arch as the host in Mobile CI

* Some changes to try and make cache-factory faster and avoid failing so much

* Add trigger to run cache-factory on pull requests when there are changes to itself

* Attempt to fix sed usage on macOS

* Don't treat warning as errors

* Fix windows

* Fix windows 2

* Use target ad cache key for rust to differentiate between macOS x86_64 and arm64

* Use faster/better linkers to compile for macOS, Linux and Windows

* Fix missing shell in action

* Fix typo

* Fix missing shell in action 2

* Fix mold download
 - Replace bsdtar with plain tar

* Fix permission denied when extracting mold

* Remove zld

* Don't restore cache for rustfmt
 - Remove target symlink to C:/ in an attempt to speed-up windows CI

* Fix typo

* Restore target symlink on windows
 - Removing it didn't make CI faster

* Run Mobile on macos-14
2024-02-21 09:27:40 +00:00
Oscar Beaumont
a7d836a922 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
Julian Braha
146838d19e Improve error handling by using decode::Error instead of io::Result (#2078)
Use decode::Error instead of io::Result
2024-02-20 20:06:05 +00:00
ameer2468
145cd20805 [MOB-59] Empty UI for locations and tags screen (#2110)
Empty UI for locations and tags screen
2024-02-20 19:59:11 +00:00
ameer2468
704d03a329 [MOB-60] locations & tags query invalidation on updates (#2111)
Trigger UI updates on location adding/delete and tags

lint

name
2024-02-20 19:47:14 +00:00
ameer2468
45b9e35744 mousedown fix (#2108)
quick mistake fix
2024-02-20 10:05:53 +00:00
Brendan Allan
25f9f03010 Basic sync operation backfill (#2101)
* basic sync operation backfill

* no changes
2024-02-20 09:22:34 +00:00
Arnab Chakraborty
ce0203ff74 New Android Build Script (#2096)
* New Android Build Script

* Clean up + Works for CI now

* Simplify android build.sh
 - Fix /var/home/vitor fallback for Linux systems
 - Run a single cargo ndk for all targets (not parallel build, but a bit faster)
 - Fix android target s/x86/x86_64/
 - Format setup.sh
 - Minor improvements to rust mobile targets installation step in setup.sh

* Add notice to CONTRIBUTING that only Java <= 17 is supported for building android
 - Make prettier ignore some mobile build artifacts

* When in CI, Fix build android core for host architecture

---------

Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
2024-02-20 06:33:52 +00:00
ameer2468
d280895d28 [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
9742dc7ab4 [MOB-58] Settings routes new design & more (#2103)
* wip: redesigning settings pages

* Edit location redesign & more

* right actions

* cleanup
2024-02-19 16:12:11 +00:00
ameer2468
94008de7f3 [ENG-1612] Fix mouse nav forwards and backwards (#2105)
Fix mouse nav forwards and backwards
2024-02-19 15:23:20 +00:00
ameer2468
53651f05b3 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
ameer2468
126666aacb [MOB-57] Overview screen (#2083)
* 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

* mobile overview screen

* cleanup

* Update BrowseLocations.tsx

* Update StatCard.tsx

* only show new card when locations empty

* disable pods cache for now

* eslint

* fix cocoapods version

* cleanup

* Update Categories.tsx

* ScreenContainer component instead of repeating code

---------

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
Co-authored-by: Utku Bakir <74243531+utkubakir@users.noreply.github.com>
2024-02-14 20:44:02 +00:00
Vítor Vasconcellos
6bd9c6cb16 Fix macOS release workflow (#2095)
Fix base64 call in macOS release workflow
2024-02-14 17:15:25 +00:00
nikec
d756882e3c [ENG-1609] Shortcuts refactor (#2092)
small refactor
2024-02-14 15:08:59 +00:00
nikec
a05bbccb02 [ENG-1606] Hide ephemeral dir size in inspector (#2091)
hide ephermal dir size
2024-02-14 12:15:04 +00:00
Utku
b40fd0eb15 Bump version to 0.2.4 (#2080)
* bump

* cargo

* bump height so it doesn't block onboarding

* disable parallelism for image labeler

---------

Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
2024-02-14 07:40:01 +00:00
Vítor Vasconcellos
90c1acb648 Fix non macOS builds after #2082 (#2089)
* Fix non macOS builds after #2082

* fmt
2024-02-13 22:26:16 +00:00
Julian Braha
d83d1533c7 Use Apple Silicon runner for release, clippy, and cache factory workflows (#2035)
* Change release workflow to use apple silicon runner

* Use apple silicon runner for clippy and cache factory

* Update release and cache-factory to macos-14 and part of CI to ubuntu-latest

* Revert to ubuntu-latest for creating a release

---------

Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
2024-02-13 21:25:53 +00:00
Vítor Vasconcellos
6e6e5f7674 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
5cbcf5d90b [ENG-1602] Prevent default keybind events (#2085)
* prevent default events

* disable for dev
2024-02-13 17:06:12 +00:00
ameer2468
41a33ae31d [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
359458f3d1 [ENG-1600] Fix cmd+w not closing window on macOS (#2082)
hide window
2024-02-13 12:45:07 +00:00
nikec
aed37d2ce3 [ENG-1604] Change key matcher to use real OS (#2087)
useOperatingSystem(true)
2024-02-13 12:44:33 +00:00
nikec
84e48cae69 [ENG-1603] Add search light icon (#2086)
add search light icon
2024-02-13 12:26:08 +00:00
nikec
917b77fb7a [ENG-1601] Fix job manager keybind toggle (#2084)
fix job manager toggle
2024-02-13 12:25:56 +00:00
Vítor Vasconcellos
cc94b57cb4 [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
76ce21dbbd [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
edbf3363cb [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
d51773caaf 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
76de9d5fa4 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
Brendan Allan
d3236ae735 More sync support for file paths + saved searches (#2067)
more sync support for file paths + saved searches
2024-02-09 08:17:04 +00:00
Artsiom Voitas
c99f7f35c5 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
03c663d2aa 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
4cf750e8a8 fix mobile ci (#2068)
remove tests for now
2024-02-08 12:58:09 +00:00
ameer2468
ec55d9f182 [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