2962 Commits

Author SHA1 Message Date
Vítor Vasconcellos
4581df2020 Fix server release (#2671) 0.4.2 2024-08-18 01:35:18 +00:00
Vítor Vasconcellos
0af8dbf63d Fix 0.4.2 release (#2670)
* Fix 0.4.2 release

* Fix server release

* Put npm bin dir in PATH before running pnpm prep during server build
2024-08-17 21:47:30 +00:00
Vítor Vasconcellos
ba0ecb6fa2 Fix release workflow (#2668)
* Fix frontend bundle upload
 - Update pnpm

* Revert incorrect removal of fontenf packaging job

* Fix tauri not building updater bundles

* Ensure release action is executed when PRs modify the publish-artifacts action

* Fix unused argument for patchTauri function

* Couple for format fixes

* tauri requires building the app bundle to build the updater
2024-08-17 08:29:32 +00:00
Vítor Vasconcellos
58c986bf99 Format files due to update to prettier and eslint (#2667) 2024-08-17 02:50:56 +00:00
Consoli
7395c2d47b [ENG-1159] Report progress when copying files (#2538)
* Copy ephemeral files by chunks

* Improving buffered writer

* Report progress

* Copy and emit progress as two separated tasks

* Simplify for-if-return with `Iterator::any`

* Docs and use structured tracing

* Simplify code using paths

* wip

* wip

* wip

* wip

* Add report of messages while copying files

* Add info field to job report

* Group paths from OldFileCopierJobStep into a single struct

* Improve progress information

* Remove the need for synchronization

* Error handling for copy

* Clean up frontend

* Make watcher only consider new files

* Fix concurrent renaming of multiple files that have the same name

* Add documentation for file strategist

* Remove editions to ephemeral file copies

* Remove experimental/nightly features from Cargo.toml

* Fix no-case-declarations

* Remove dead comments

* Format code

* Use "Duplicate" instead of "Copy" in the frontend messages

* Remove inline always to make clippy happy

* icons for deleter and copier

* Fix JobManager for copy jobs
 - Fix some types definitions

* Fix Job icon choosing logic
 - Fix Copier job showing two progress bars

* Log which files are not formatted in the Type and style check CI

* fmt

* Forgot an import

* autoformat

---------

Co-authored-by: ameer2468 <33054370+ameer2468@users.noreply.github.com>
Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
2024-08-17 02:00:59 +00:00
Vítor Vasconcellos
1c84e23470 Fix pdf thumbnails (#2666) 2024-08-16 21:19:19 +00:00
Arnab Chakraborty
6e48a75d5a Update to Expo SDK 51 (#2665)
* Update to Expo SDK 51

* Fix `moti` version issue & update iOS runner

* Update pnpm-lock.yaml

* Update .gitignore

* Update mobile-ci.yml

* Hopefully this fixes Maestro?
2024-08-16 20:02:03 +00:00
Vítor Vasconcellos
e300dfad9f Fix prisma generate & Windows compilation (#2663)
* Ensure prisma generation works before continuing CI
 - Add script that list all dependencies with multiple version in Cargo.lock

* Ensure CI runs when custom actions are modified

* Rever windows change in hopes that it fixes prisma generation

* Fix prisma generation check in CI

* Update deps

* Replace prisma-client-rust-cli with oficial prisma cli to fix windows model generation
 - Revert back to windows-rs implementation of get_inode in file-path-helper
 - Adjust Github CI to use oficial prisma cli
 - Update scripts dependencies
 - Fix some new rust warnings due to it trying to compile OS specific code on all plataforms

* Fix windows-rs impl for get_inode_windows in file-path-helper

* More fixes to windows-rs impl for get_inode_windows in file-path-helper

* More fixes to windows-rs impl for get_inode_windows in file-path-helper

* More fixes to windows-rs impl for get_inode_windows in file-path-helper

* More fixes to windows-rs impl for get_inode_windows in file-path-helper

* More fixes to windows-rs impl for get_inode_windows in file-path-helper

* Import windows constant intead of hardcoding its value

* Fix check for prisma files in setup-rust

* Autoformat

* Fix iOS and Android targets in watcher

---------

Co-authored-by: Arnab Chakraborty <11457760+Rocky43007@users.noreply.github.com>
2024-08-16 10:55:38 +00:00
Vítor Vasconcellos
6672c6cffc Remove unused code and update rust deps (#2662)
* Remove deps-generator app
 - It is broken for quite a while and not being used

* Remove unused code and unused deps

* auto format

* Restore incorrectly removed files
 - Remove aws deps and test code using it

* Replace winapi-util with windows-rs
 - Adjust some deps versions

* Autoformat

* Update rand, remove unused dep

* Fix image crate due to changes in pdf-renderer
 - Dont use default features in reqwest
 - Use native-tls tauri

* Remove incorrect notice about blake3
2024-08-15 17:09:03 +00:00
Ericson "Fogo" Soares
8527b42f84 Crypto revamp (#2660)
* Revamping crypto subcrate

* Merge with main

* More tweaks on crypto crate

* Remove some unsused crypto references

* Fix crypto erase example
2024-08-15 06:35:26 +00:00
Arnab Chakraborty
139ba6e1a4 [ENG-1854] Migrate to Tauri v2 Release Candidate (#2654)
* Migrate to Tauri v2 Release Canidate

* Formatting

* Update pnpm

* Update all tauri deps (js and rust) to Release Candidate 2
 - A lot of misc fixes due to changes in the new versions of tauri, rspc and specta

* Recreate pnpm-lock

* Fix pnpm-lock

* Formatting

* Use 10 chars SHA for git deps
 - Update a couple of rust dependencies
 - Add taplo for toml auto formatting
 - Adjust some formatting configurations
 - Updated prettier and its plugins

* Fix formatter settings

* Minor improvements to Cargo.toml format

---------

Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
2024-08-14 18:22:46 +00:00
Lkhsss
d246154c2d Update Chinese Translations (#2656)
* Update Chinses tanstation

Chinese will be used in different ways in different places.If it's just a translation program or a word-for-word translation, it's going to be very stiff. Call me if you need a translator.<a href="mailto:lkhsss1019@gmail.com">lkhsss1019@gmail.com</a>

1.[fix] `"direction": "方向",`to`"direction": "次序",`
2.[fix]`"ascending": "上升",`to`"ascending": "升序",`
3.[fix]`"item_size": "项目大小"`,to`"item_size": "图标大小",`
.........etc   太多了数不过来了。。。

## I Need Some Help
Please send me a screenshot of where these entries are in the app so I can best translate them!(Better tell me where they are in the app.)
- failed_to_open_file_with
- file_from
- file_one
- file_picker_not_supported
- for_library
- image
- incoming_spacedrop
- indexed_new_files
- indexer_rules_error
- indexer_rules_not_available
- accept_files
- app_crashed_description
- collection
- directories
- directory
- do_the_thing
- dont_have_any
- dotfile
- ends_with
- erase
- erase_a_file
- erase_a_file_description
- file_picker_not_supported
- files_many
- for_library
- gitignore
- hosted_locations
- my_sick_location

* Change some translations...
2024-08-13 11:06:56 +00:00
Matthew Yung
16444fbfb4 [ENG-1836] Prevent "zombie" jobs from appearing in the job manager (#2653)
job manager doesn't display zombie jobs while not running
2024-08-12 16:42:54 +00:00
pr
400d8fb9c8 Dim pure white text & increase keybind text size in keybind list (#2643)
* Dim ink white & increase keybind text size in keybind list

* Update menu ink colour tint

* Update sidebar ink colour tint

* Update app ink colour tint

---------

Co-authored-by: Lynx <141365347+iLynxcat@users.noreply.github.com>
2024-08-02 21:23:00 +00:00
Matthew Yung
73a3b8d0d5 [ENG-1707] Fix bug causing both quick preview and search closing with esc (#2646)
fix bug with quick preview and search closing with esc
Co-authored-by: Lynx <iLynxcat@users.noreply.github.com>
2024-07-31 09:20:11 +00:00
Vítor Vasconcellos
df8669c200 [ENG-1838] Fix Debian executable name (#2648)
Fix .desktop incorrect executable name
2024-07-30 23:32:08 +00:00
Arnab Chakraborty
47fc7c5c0e Update to vite ^5.2.0 (#2645)
Fixes weird binary issue with esbuild versions clashing across deps.
2024-07-30 16:39:31 +00:00
Vítor Vasconcellos
0a4e527a4a Fix inconsistencies and update project's gitignore (#2642)
* Improve gitignore

* Update pnpm
2024-07-28 11:25:35 +00:00
Lynx
dbc7cd6547 Bump version to 0.4.1 (#2639) 2024-07-26 21:28:21 +00:00
Zakher Masri
a418442d96 [docs] fixes typo in environment-setup.mdx (#2638)
Update environment-setup.mdx
2024-07-26 14:40:15 +00:00
Matthew Yung
dd3e647dd4 [ENG-1791] Fix right-click sometimes opening native context menu (#2637)
resolve native context menu opening bug
2024-07-26 12:20:12 +00:00
ameer2468
ffa089bfb8 [MOB-115] Cloud sync UX flow (#2636)
* Improved cloud sync UX flow

* fix formatting

* improved UX flow with clearer descriptions of modals

* show cloud modal after 1s

* run formatting
2024-07-24 11:07:02 +00:00
Matthew Yung
75d11b96b1 [ENG-1806] Add zoom shortcuts and pinch to quick preview (#2635)
* added pinch + shortcut support for zoom

* fix tailwind styles

* pnpm autoformat
2024-07-24 09:44:25 +00:00
leo
1c73d86dcd Change openssl-dev dependency to openssh-devel (#2630)
fix: changes openssl-dev to openssl-devel, the former isn't available

Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
2024-07-23 20:06:52 +00:00
Arnab Chakraborty
265e5535bc Update rspc-tauri patch to use updated Tauri API (#2634)
Update patch to use API functions from `2.0.0-beta.15`
2024-07-23 14:25:59 +00:00
Artsiom Voitas
3abd1d72e8 Translate Top Bar and new Overview to Russian and Belarusian (#2628)
* translated new overview section and added pluralized kinds

* Updated keys

* updated sorting
2024-07-23 07:42:31 +00:00
Lynx
727345b771 Fix style-check CI job and patch tailwindcss-animate (#2631)
* Remove explicit ref in checkout for type and style check CI job

This was breaking checkouts for PRs from forks

* add tailwindcss-animate patch to remove duplicate utility class

* use new `animate-duration` for animations

* Run fixed `pnpm autoformat`
2024-07-23 06:39:58 +00:00
Consoli
ffce39c916 Update log messages to prettier, easier-to-read format (#2627)
Better formatting for logs
2024-07-23 01:35:46 +00:00
Arnab Chakraborty
01ffa385e3 Updates to Landing (#2632)
* Updates to Landing Site

- Docker Modal Sizing fixed for mobile
- Matching button looks for copying across the site
- Move to Next.js `v14.2.5`
- Change the banner to `Alpha 0.4 is out` with a link to the release changelog.
- Updates to docs for easier copy-pasting commands.

* Update mobile docs in contributing

* Reorganize to have welcome first

Have welcome first in the list in the developers section of docs

* Formatting
2024-07-22 19:23:50 +00:00
ameer2468
2bd48569e0 [MOB-114] Improve Media View thumbnails and coming soon alerts (#2626)
* improve thumbs of media view, coming soon state for settings routes, and debug bg color change

* alert for lock in sidebar dropdown

* formatting

* Move Coming Soon Alert to it's own component

So, it makes life easier if we need to change wording later.

* autoformat

---------

Co-authored-by: Arnab Chakraborty <11457760+Rocky43007@users.noreply.github.com>
2024-07-22 17:53:30 +00:00
Lynx
bcf4faf308 Update bug report template (#2622)
* Update bug report template

* increase spacing between lines on platform info description

* Remove bug report platform example because it looks bad

* Add space around "Development tool versions" in bug report template
2024-07-22 16:14:03 +00:00
ameer2468
a4e626ba14 [ENG-1830] Change sidebar toggle shortcut (#2625)
* Change sidebar shortcut to cmd/ctrl + s

* tooltip icon
2024-07-22 14:50:14 +00:00
ameer2468
9ea4a64b4c [ENG-1825] Show thumb image if original is not available (#2617)
* show thumb image if original is not available

* remove space

* formatting
0.4.0
2024-07-19 22:33:07 +00:00
Arnab Chakraborty
e2501e7705 Alpha 0.4.0 (#2618)
0.4.0
2024-07-19 22:27:55 +00:00
Arnab Chakraborty
135a663e52 Fix specific keybinds (#2616)
* Fix actual event emits

* Hide file menu

* Add duplicate

* comment out menu shortcuts until emission of events are handled

---------

Co-authored-by: ameer2468 <33054370+ameer2468@users.noreply.github.com>
2024-07-19 15:08:07 +00:00
Ericson "Fogo" Soares
f69cba19c5 Fix a panic on old job system (#2615)
Also fixing errors on watcher, we must not generate thumbs and extract media data for duplicates
2024-07-18 23:22:41 +00:00
Matthew Yung
1982b08c3b [ENG-1827] Update common.json (#2612)
update common.json
2024-07-17 23:38:52 +00:00
Arnab Chakraborty
90a35c5cd3 Hide Sync Tab via Feature Flag (#2611) 2024-07-17 21:47:19 +00:00
Matthew Yung
0bb073e8bb [ENG-1238] Improving job manager feedback and usability (#2607)
* calculate jobs eta

* calculate eta for single + group jobs

* fix issue with clearing running job groups

* clear completed with error tasks

* error handling for ETA

* fix typeerrors and minor styling for ETA

* fix clearing all jobs & types

* Update JobGroup.tsx

* Update JobGroup.tsx

---------

Co-authored-by: ameer2468 <33054370+ameer2468@users.noreply.github.com>
2024-07-17 14:41:06 +00:00
ameer2468
8abff38aae [MOB-87] Improve toasts (#2610)
* improve toasts

* formatting

* restore back regular visibility time

* increase toast time & handle edge case
2024-07-17 13:42:07 +00:00
Ericson "Fogo" Soares
8147f78a55 [ENG-1793] Introduce error handling for sd-core-sync crate (#2556)
* Error handling for sd-core-sync crate
Also a bunch of tweaks and fixes

* Update core.ts

* Auto format

* Comment out background_processing_percentage on frontend too
 - Update rust version in contributing

* Trying to avoid data loss on actor stop

* Stronger linter on sync generator

* Stronger lint on sync subcrate

* Clean back tasks.json file

* TS typechecking

* Autoformat

* Add more verbose errors for Cloud REST API

* Removing some comments

Copilot is fun sometimes lol

* Properly stopping actors

* Fix ingest stop

* Racing on stop for actors

* Error conversion from merge with main

---------

Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
Co-authored-by: Arnab Chakraborty <11457760+Rocky43007@users.noreply.github.com>
2024-07-16 22:30:35 +00:00
Boxuan Zhang
90e0a51243 Repaired some translation errors in Chinese(Simp) and Chinese(Trad) (#2609)
Repair some translation errors in Chinese(Simp) and Chinese(Trad)
2024-07-16 19:31:52 +00:00
Ericson "Fogo" Soares
a0092fcef3 [ENG-1824] Fix Library Statistics (#2601)
* Done

* Updating storage statistics on volume watcher

* Don't sum up directories sizes for statistics

* storage bar ui changes

* changed storage bar colour gradient

* implemented loading state for statistics

* Fix migration

* Solving crashing and removing sleep

* Properly using useState I guess, not a TS dev

* fixed some ui issues

* Fixing reactivity issue

---------

Co-authored-by: myung03 <matthewyungisworking@gmail.com>
2024-07-16 15:17:53 +00:00
ameer2468
740395819b [MOB-113] Job manager layout fix & code cleanups (#2608)
* Fix job manager text alignment, await permissions request, and fix delete button library settings

* run auto-format

* ts
2024-07-16 13:24:36 +00:00
ameer2468
f0e7c7c033 [MOB-112] Media view (#2606)
* media view wip

* update search filters to include image and video only

* os based sizing

* search support media view correctly & fix UI width of drawer locations

* Merge remote-tracking branch 'origin' into mob-112-media-view

* Fix explorer re-rendering and improve file opening performance by using libraryClient for queries and mutation

* cleanup

* use memory-disk cache policy for better performance

* remove commented out code

* formatting

* Mobile media view

update search filters to include image and video only

os based sizing

Disable Vite `clearScreen` (#2594)

Change Vite config to disable clearScreen

Use default props for Top Bar icons (#2593)

* Refactor top bar items to use default props

* oops! revert top bar icon size to 18px

Fix misspelled "vacuum" (#2595)

[MOB-110] Fix for Android Permissions (#2592)

* Fix for Android Permissions

Now actually requests the permissions if they aren't granted.

* Remove `console.log``

* Request multiple permissions sequentially

* Better UX

* Add Note for `Number()` patch

* Remove `console.log()`

Revamp `.gitattributes` for statistics and better PR diffs (#2596)

* Revamp .gitattributes for statistics and better PR diffs

* Mark migration_lock as binary

search support media view correctly & fix UI width of drawer locations

Merge remote-tracking branch 'origin' into mob-112-media-view

Fix explorer re-rendering and improve file opening performance by using libraryClient for queries and mutation

cleanup

use memory-disk cache policy for better performance

remove commented out code

formatting
2024-07-15 21:37:07 +00:00
ameer2468
6472b54a69 [ENG-1818] Fix missing caret when a file is selected in pathbar (#2604)
* fix missing caret when a file is selected in pathbar

* formatting
2024-07-12 14:42:57 +00:00
Arnab Chakraborty
96fda2fa29 Fix Intl namespace not existing on mobile (#2600)
* Adds `intl` namespace to mobile

* Fix ordering

* Update pnpm-lock.yaml

* Fix format

---------

Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
2024-07-10 23:36:49 +00:00
Vítor Vasconcellos
c605b4c857 [ENG-1821] Fix build failing due to new schema validation in @tauri-apps/cli (#2599)
Fix build failing due to tauri schema check
 - Downgrade @tauri-apps/cli to 2.0.0-beta.20
2024-07-10 21:15:43 +00:00
Lynx
337e25de56 Revamp .gitattributes for statistics and better PR diffs (#2596)
* Revamp .gitattributes for statistics and better PR diffs

* Mark migration_lock as binary
2024-07-10 02:27:17 +00:00
Arnab Chakraborty
fb08645fd0 [MOB-110] Fix for Android Permissions (#2592)
* Fix for Android Permissions

Now actually requests the permissions if they aren't granted.

* Remove `console.log``

* Request multiple permissions sequentially

* Better UX

* Add Note for `Number()` patch

* Remove `console.log()`
2024-07-09 23:43:36 +00:00