Commit Graph

1868 Commits

Author SHA1 Message Date
Ericson "Fogo" Soares
7cd00dab49 [ENG-884] Update file_path metadata (#1077)
* Partitioned paths to be updated on walker

* Updating file_paths in indexer

* Properly tracking modified date on renames

---------

Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
2023-07-11 15:14:11 +00:00
Vítor Vasconcellos
121b5b4bfe Fix clippy not running for some rust changes (#1088) 2023-07-11 07:20:38 +00:00
nikec
5df1d9a091 [ENG-893] Fix categories offset (#1086)
Fix categories offset
2023-07-07 15:48:08 +00:00
nikec
33e8f2188d [ENG-889] Display options based on selected view (#1079)
* Update slider color

* Update tooltip color

* Display options based on view
2023-07-07 10:57:25 +00:00
Vítor Vasconcellos
3cbdefced5 Fix Brave Aggressively block fingerprinting mode (#1078)
Attempt fix Brave `Aggressively block fingerprinting` mode
2023-07-06 05:10:57 +00:00
Vítor Vasconcellos
0a91633969 [ENG-886] Landing page does't work without WebGL (#1076)
* Use Bubbled background when WebGL is not available

* typecheck

* Revert last commit, fix pnpm-lock.yaml

* destructuring

---------

Co-authored-by: jake <77554505+brxken128@users.noreply.github.com>
2023-07-06 01:56:58 +00:00
Vítor Vasconcellos
72745ba3ad [ENG-883] Fix macOS close button exiting app instead of hiding main window (#1073)
* Fix macOS close button exiting app instead of hiding main window

* Revert removal of logging initialization
 - Remove superflous cfg attribute
2023-07-06 00:59:21 +00:00
nikec
9d800eec31 [ENG-885] Move online locations to lib store (#1074)
* Enable trace logging for invalidate query

* Fixing quick rescan on explorer
And annotating wrong quick rescan usage on top bar reload button

* Move online locations to lib store

* Fix topbar reload path

* fix mobile

* Remove unused imports + format
 - Adjust `arraysEqual` arguments type

---------

Co-authored-by: Ericson Soares <ericson.ds999@gmail.com>
Co-authored-by: Utku Bakir <74243531+utkubakir@users.noreply.github.com>
Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
2023-07-05 22:27:38 +00:00
Vítor Vasconcellos
f83f29c720 [ENG-765] Reported Total capacity and Free space are wrong (#1066)
* Attempt at fixing stats

* Fix macOS disk stats retrieve logic
 - Ignore mounted dmgs when calculation disk total/free size
 - Only take into account disk mounted by macOS

* macos only import

* Fix Linux

* Replace byte-size with a custom implementation that supports BigInt

* Fix NaN in Statistics

* clippy

* fmt

* Move linux get_volumes to a specilized function
 - Fix ZFS handling
 - Improve handling of disk symlinks and multiple mounts

* Fix macOS
2023-07-05 18:22:56 +00:00
Jamie Pine
1af516a57f [ENG-869] Fix identifier missing comma (#1060)
* fix, untested

* formatNumber util

---------

Co-authored-by: Utku <74243531+utkubakir@users.noreply.github.com>
Co-authored-by: jake <77554505+brxken128@users.noreply.github.com>
2023-07-04 15:34:37 +00:00
nikec
ee4ccf511d [ENG-882] Overview page scroll position on category change (#1071)
* Page layout context & overview page scroll on category change

* Move PageLayout
2023-07-04 12:14:33 +00:00
Brendan Allan
f1ceeba2fd Refactor category scroll handlers (#1069)
* state enum

* combine some useEffects

* combine all useeffects

* formatting
2023-07-04 00:59:31 +00:00
nikec
b7a47c9f02 [ENG-880] Categories scroll and drag improvements (#1068)
Scroll and drag improvements
2023-07-03 15:41:17 +00:00
Matthias Berchtold
52c5d1d2e9 Indexer rule No Git (#1048)
feat: no git indexer

Co-authored-by: Utku <74243531+utkubakir@users.noreply.github.com>
2023-07-03 11:45:36 +00:00
nikec
99651ed18d [ENG-879] File rename improvements (#1067)
File rename improvements
2023-07-03 11:45:15 +00:00
nikec
6bb8eefc4d [ENG-807] List view improvements (#1065)
* Switch from window resize to ref resize

* Prevent dragging changing the cursor style

* List view improvements

* Update layout context

* Update useIsTextTruncated hook

---------

Co-authored-by: Jamie Pine <32987599+jamiepine@users.noreply.github.com>
2023-07-03 07:12:13 +00:00
Brendan Allan
f1239d166a Search filter cleanup (#1063)
cheeky cleanup
2023-07-03 03:02:57 +00:00
Vítor Vasconcellos
caaacc8f92 [ENG-866, ENG-535] Thumbnailer fixes (double-free, thumbnails for portrait videos) (#1059)
* Fix double-free during MovieDecoder Drop
 - Fix broken thumbnails for portrait videos
 - Fix some inconsistencies between our MovieDecoder impl and ffmpegthumbnailer impl
 - Make sd-desktop-macos use the correct macOS deployment target

* fmt

---------

Co-authored-by: Jamie Pine <32987599+jamiepine@users.noreply.github.com>
Co-authored-by: jake <77554505+brxken128@users.noreply.github.com>
Co-authored-by: Utku <74243531+utkubakir@users.noreply.github.com>
2023-06-30 11:00:04 +00:00
ameer2468
a04da012ed [ENG-760] Overview draggable categories (#1064)
* Draggable categories

* Update Categories.tsx

* fix storybook

---------

Co-authored-by: Utku Bakir <74243531+utkubakir@users.noreply.github.com>
2023-06-30 10:37:54 +00:00
Vítor Vasconcellos
f433995de6 [ENG-867] Remove unnecessary encoders from our FFmpeg bundle (#1061)
* Greatly improve our ffmpeg build

* Remove not needed deps

* Remove libpng from windows ffmpeg build
2023-06-30 04:35:52 +00:00
Brendan Allan
942bf50638 Append emoji to feedback properly (#1058)
false
2023-06-30 01:56:38 +00:00
Brendan Allan
95363be7d1 Allow desktop to work offline (#1057)
allow desktop to work offline
2023-06-30 00:13:55 +00:00
nikec
81067f81d9 [ENG-861] Organize explorer parent context menu (#1055)
Organize context menu
2023-06-29 15:37:26 +00:00
nikec
77304b353e [ENG-851] Fix explorer view context menu (#1054)
* Fix explorer view context menu

* Update to check for undefined
2023-06-29 13:06:46 +00:00
Brendan Allan
a41d5df60c [ENG-858] Source analytics paths from router rather than regex replacement (#1053)
* no more regex replacing in interface

* fix location create event

* onSuccess is crine

* documentation

* typescript

---------

Co-authored-by: brxken128 <77554505+brxken128@users.noreply.github.com>
2023-06-29 08:10:26 +00:00
Ericson "Fogo" Soares
dcd071d229 [ENG-850] Wrongly labelled .ts files (as video) (#1052)
* Fixing conflits of mts code files showing as video

* Introducing a reidentify_objects param on fullRescan

* Fix job output metadata in case of completed with errors
2023-06-29 02:58:33 +00:00
jake
7bb107d840 [ENG-857] Fix telemetry regex (#1050)
* fix regex

* change back to `replace`
2023-06-29 02:56:14 +00:00
Ericson "Fogo" Soares
5d49c8a74a [ENG-823] Fixing bad handling of dots in directory name (#1051)
* Fixing bad handling of dots in directory name

* fix ci not running on rust

---------

Co-authored-by: Utku Bakir <74243531+utkubakir@users.noreply.github.com>
2023-06-28 21:41:55 +00:00
jake
47d450636c [ENG-856] Additional debugging into contribution guidelines (#1049)
* add xcode fix info

* ci test

* apply the same filter to rustfmt

* i love yaml

* pls work

* fix

* move filter higher

* add if statements

* works?

* works x2

* fix

---------

Co-authored-by: Utku Bakir <74243531+utkubakir@users.noreply.github.com>
2023-06-28 19:55:21 +00:00
Ericson "Fogo" Soares
1dce6380fe Job System and Watcher improvements (#1030)
* Trying to make watcher more resilient between creates and updates

* More checks on create vs update

* Rust fmt

* PCR rev

* Windows CI fix

* Some indexer improvements

* Builder pattern for jobs and reports

* fix list view invalid date

* fix progress bar

* Normalizing job metadata output

* fixed job metadata

* Removing inner report struct from identifier job

---------

Co-authored-by: Jamie Pine <32987599+jamiepine@users.noreply.github.com>
Co-authored-by: Utku <74243531+utkubakir@users.noreply.github.com>
Co-authored-by: Jamie Pine <ijamespine@me.com>
2023-06-28 16:30:19 +00:00
Brendan Allan
d8210f13f6 Rename field components + asyncify onSubmits (#1046)
rename field components + asyncify onSubmits
2023-06-28 09:44:40 +00:00
Brendan Allan
444a6d23c0 [ENG-806] Better library name handling (#1043)
better library name handling
2023-06-28 09:11:24 +00:00
Brendan Allan
ff5fce28a4 Cleanup empty notice (#1042)
* cleanup empty notice + move tag assign options

* typescript
2023-06-28 06:59:29 +00:00
Brendan Allan
d71921b030 [ENG-798] Override new tab behaviour for NavLink on desktop (#1037)
override new tab behaviour for NavLink on desktop
2023-06-28 05:09:57 +00:00
Brendan Allan
f440cf8736 [ENG-818] Use date_indexed properly in inspector (#1041)
use date_indexed properly in inspector
2023-06-28 04:44:59 +00:00
Brendan Allan
2f0952c9c6 Add context menu back to overview (#1040)
add context menu back to overview
2023-06-28 04:33:08 +00:00
Brendan Allan
c5ce9b1c22 pin PCR to different commit (#1039)
* pin PCR to different commit

* skill issue
2023-06-28 02:31:55 +00:00
Brendan Allan
cb5b99e180 Hide DismissibleNotice when no items (#1038)
hide DismissibleNotice if items.length === 0
2023-06-28 02:09:30 +00:00
Brendan Allan
3cf96441c0 [ENG-829] Render QuickPreview in Explorer/View (#1036)
formatting + render QuickPreview in Explorer/View
2023-06-28 02:07:22 +00:00
Utku
bc100f2505 Fix job resuming/pausing and cancelling (#1035)
why this works?
2023-06-27 19:26:59 +00:00
Brendan Allan
06de379169 [ENG-816, ENG-821] Re-implement reveal in finder + ContextMenu overhaul (#1029)
* mostly there

* native opening working

* more

* cleanup

* reorganise

* remove unnecessary import

* uncomment some stuff

* spacing

* store quickview ref inside provider

* fix linting

* clippy

---------

Co-authored-by: Utku <74243531+utkubakir@users.noreply.github.com>
Co-authored-by: Jamie Pine <32987599+jamiepine@users.noreply.github.com>
2023-06-27 15:34:53 +00:00
nikec
f2629a9f9a [ENG-836] Fix modal layout padding (#1034)
Fix modal layout padding
2023-06-27 13:54:57 +00:00
jake
3b86c99d74 [ENG-828-FIX-2] Actually generate thumbnails (#1033)
damn binary operations
2023-06-27 10:55:43 +00:00
jake
9e206b3cc9 [ENG-828-FIX] Make trivial changes to the previous ENG-828 merge (#1032)
remove old error and cleanup
2023-06-27 10:05:47 +00:00
Oscar Beaumont
d5ddfcc667 Job System - Simplify data (#1017)
* yeet

* destructure `JobState` when passed to `finalize`.
Let him cook.

* `impl Job for JobInitData` instead of it being `Job::Init`
The pan is on high heat and the 3 sh-meats are coming out.

* Remove `JobInitData` & `IntoJob` & `Job::new`

* clean up a little

* Remove `Job.stateful_job` in favor of `Job.state.init`
Yeah this isn't great but lets get these changes working and then think again about it.

* Properly call `StatefulJob.finalize`

* she'll be right

* fix `initialize_resumable_job`

* builder syntax for creating jobs

* Have Rust gone too far?

* Minor fixes

* fixes

---------

Co-authored-by: Ericson Soares <ericson.ds999@gmail.com>
2023-06-27 07:15:49 +00:00
Oscar Beaumont
f86b6c8b52 [ENG-823] Fix some stuff (#1024)
* SQLite journal bug

* Remove "job.report" indexes thing

* resume button - job not found?

* panic hook with logging

* it did

* large pain

* fix `check_nested_location`

---------

Co-authored-by: Utku Bakir <74243531+utkubakir@users.noreply.github.com>
2023-06-27 05:12:04 +00:00
jake
0dae7f7a63 [ENG-828, ENG-633] Fix corrupt videos force crashing the app (#1028)
* fix corrupt videos crashing the app

* fix typo

* self-proclaimed genius
2023-06-27 05:04:40 +00:00
Oscar Beaumont
ac5f6323a5 Job System - Better Progress (#1015)
yeet

Co-authored-by: Ericson "Fogo" Soares <ericson.ds999@gmail.com>
2023-06-26 17:49:55 +00:00
Utku
0975d135f8 fix action (#1023) 2023-06-26 15:00:12 +00:00
ameer2468
1079171e44 [ENG-804, ENG-802, ENG-800] Minor UI Fixes (#1016)
* Minor UI Fixes

* adjustments

* show file name and extension only if truncated and with tooltip

* name

* oops

* truncate lib name

* cleanup

---------

Co-authored-by: Utku Bakir <74243531+utkubakir@users.noreply.github.com>
2023-06-25 16:27:03 +00:00