Commit Graph

2815 Commits

Author SHA1 Message Date
Consoli
bf227a791c Close file handle after getting its index (windows) (#2728) 2024-09-25 22:08:13 +00:00
Consoli
aff2eddcb0 Use mimalloc as the global memory allocator (#2723)
* Experimenting with mimalloc as the global allocator for desktop

* Format toml file
2024-09-25 19:18:37 +00:00
Ameer Al Ashhab
e7dba1e84f [ENG-1897,1900,1901] Quick add tag fix & more (#2720)
* quick view to quick preview & fix add tag in quick preview

* Make sure color picker shows when creating a tag in quick preview
2024-09-24 18:56:36 +00:00
Ameer Al Ashhab
9792d9ea81 [MOB-123,122,121] Fix & improve navigation issues (#2718)
* Fix drawer opening on initial pages only and location in settings to take you to edit location

* fix ts
2024-09-23 19:53:01 +00:00
Jamie Pine
136b1b7ab1 Add SQLite pragmas to optimize performace (#2715)
* add pragmas

* clean up
2024-09-20 06:25:47 +00:00
Madison Konig
f981abc756 fix windows multiple tab spacing (#2713) 2024-09-19 04:32:26 +00:00
Consoli
874a268735 Update pdfium-render version (#2701)
* Revert "Fix pdf thumbnails (#2666)"

This reverts commit c240047e05.

* Bump pdfium-render dep

* Bring back custom fork
 - Bump the minimum pdfium lib api version (updated bundled lib in native-deps)
 - Custom fork is still required because upstream added a hard limit on chono version 0.4.31, which is incompatible with some of our dependencies which require newer versions

---------

Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
2024-09-17 14:44:03 +00:00
Vítor Vasconcellos
b4d1a295ff [ENG-1840, ENG-1842] Add native dependencies for iOS (#2693)
* Implement dowload of mobile native deps
 - Add a spinner animation to `pnpm prep`
 - Change abandoned dependency @iarna/toml with smol-toml
 - Validate cargo config.toml after generating it from mustache template
 - Disabled HTTP2 downloads with udici, it is very broken

* Initial ios native deps xcframework logic

* Remove logic for handling dynamic iOS libs, using static libs now

* Fix PATH in build-rust.sh
 - Remove app.json

* Restore crates/images/src/pdf.rs

* minor fix .editorconfig

* Finally ios successfully compiles with ffmpeg enabled
 - Change SDCore.podspec to add extra libraries required by ffmpeg
 - Fix heif linking for ios in config.toml template
 - Add symlink logic for extra libraries required to compile ios in build-rust.sh
2024-09-17 02:27:42 +00:00
Madison Konig
9c9fde2245 Fix "open with" list ordering (#2697)
* Add sorting to "open with" menu

* Added sorting of open with in rust

* made prettier

* reduced variables used

* format issues

* revert rust back to no sorting
2024-09-14 05:28:14 +00:00
markrieder
c4c8fbaec5 Update appearance Czech language.tsx (#2699)
* Update appearance Czech language.tsx

* Create common.json

---------

Co-authored-by: Arnab Chakraborty <11457760+Rocky43007@users.noreply.github.com>
2024-09-11 07:33:13 +00:00
Madion Konig
928c406887 Add "Duplicate current tab" keybind (#2679)
* Implemented duplicating current tab

* prettier fixes

* Disable non-functional "New window" menu shortcut
This was preventing "Duplicate current tab" from firing

* use proper casing in RedirectPath type name

* Revert locale changes from "Implemented duplicating current tab"

This partially reverts commit a822f54569.

There were unrelated changes to locale files that should be scoped to their own PR.

* SImplify new location definition

* Remove accidentally committed change lol

* Use cmd-shift-t for duplicate same tab

* Remove navToSettings shortcut

* remove references to now-missing navToSettings keybind

---------

Co-authored-by: lynx <141365347+iLynxcat@users.noreply.github.com>
2024-08-28 18:11:46 +00:00
ameer2468
41e57b155c [ENG-1874] Always show windows top bar options (#2692)
always show windows top bar options
2024-08-27 13:57:07 +00:00
ameer2468
f3910c0c43 [MOB-116] Fix Drawer appearing & visual improvements (#2691)
* Fixes, visual improvements, and more

* rename const
2024-08-26 11:09:32 +00:00
Sarah Bobbe
d21f72b28d Fix typos in introduction.mdx (#2685)
Deleted extra ";" and corrected incorrect use of "its."
2024-08-20 22:28:06 +00:00
ameer2468
b113b6503e [ENG-1694] Dialogs visual improvements (#2684)
Improve how dialogs look + add location modal improvements
2024-08-20 17:20:30 +00:00
ameer2468
1cc370a7b3 [MOB-101] Improve object renaming UX (#2683)
Improve object renaming ux

cleanup

remove unused imports
2024-08-20 09:34:29 +00:00
Artsiom Voitas
ce729c1a7c Added translation keys for FileKindStats, general (settings) and StarfieldEffect components (#2673)
* feat: added missed translation keys

Added missed translation keys for FileKindStats and general settings components. Translated those keys on Belarusian and Russian

* feat: added plurals for delete warning, sorted all i18n keys

* clean up

* second clean up

* fixed translation on Arabic
2024-08-19 20:41:24 +00:00
ameer2468
caa2886dd4 [ENG-1866] Overview: fix storage progress device value (#2678)
Fix storage device value
2024-08-19 18:27:06 +00:00
Artsiom Voitas
beb6953a6f Added Windows Control buttons to the TopBar on "Peer" tab (#2674)
added windows control buttons to the "Peer" tab
2024-08-19 09:37:02 +00:00
Vítor Vasconcellos
3a42ef322a Fix server release (#2671) 2024-08-18 01:35:18 +00:00
Vítor Vasconcellos
fa55d48257 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
287a809de0 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
f2f39a2a46 Format files due to update to prettier and eslint (#2667) 2024-08-17 02:50:56 +00:00
Consoli
9e09d92f03 [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
c240047e05 Fix pdf thumbnails (#2666) 2024-08-16 21:19:19 +00:00
Arnab Chakraborty
8d75697768 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
3675675d31 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
df1f503867 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
8482ed59b0 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
8cfbd374e3 [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
5fcdf7f7f0 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
9bcc4efb1e [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
d654d085d8 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
710a7ba903 [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
06aa7181d8 [ENG-1838] Fix Debian executable name (#2648)
Fix .desktop incorrect executable name
2024-07-30 23:32:08 +00:00
Arnab Chakraborty
3bbbf779fe 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
1813bef30c Fix inconsistencies and update project's gitignore (#2642)
* Improve gitignore

* Update pnpm
2024-07-28 11:25:35 +00:00
Lynx
0ef6d9a93a Bump version to 0.4.1 (#2639) 2024-07-26 21:28:21 +00:00
Zakher Masri
2c0edd8e79 [docs] fixes typo in environment-setup.mdx (#2638)
Update environment-setup.mdx
2024-07-26 14:40:15 +00:00
Matthew Yung
c1801f8929 [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
0a179fe825 [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
e60e3a7cf9 [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
da837d450f 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
e3d4894b0d 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
4c5c274344 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
415aa55021 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
472f4ed230 Update log messages to prettier, easier-to-read format (#2627)
Better formatting for logs
2024-07-23 01:35:46 +00:00
Arnab Chakraborty
d7894748c1 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
d5cfe1622f [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
505792ee0b 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