Commit graph

2720 commits

Author SHA1 Message Date
Oscar Beaumont 2848782e8e
OpenDAL - Ephemeral Locations (#2283)
* `sd-indexer` crate

* more wip

* wip

* fix

* IndexerRules + error handling

* wip

* Fix it

* Thumbnailer

* Link locations

* Workaround rspc's requiring `Sync` for streams.

* I hate this

* Sorting

* fix

* fix

* fix paths

* Fix double file extension

* Fix thumbnailer

* Clippy

* Fix indexer rules

* fix

* lockfile
2024-04-12 06:51:51 +00:00
Arnab Chakraborty 66063d22c2
[ENG-1365] Move to Trash (#2318)
* Working System Trash Connection

* small changes and prettier

---------

Co-authored-by: Utku Bakir <74243531+utkubakir@users.noreply.github.com>
2024-04-12 05:01:37 +00:00
Oscar Beaumont 9f5396133b
Basic HTTP auth for sd-server (#2314)
* basic http auth

* fix types

* Fix

* auth docs
2024-04-12 03:31:38 +00:00
Brendan Allan 785dd74297
fix types (#2316) 2024-04-12 03:02:42 +00:00
Oscar Beaumont c1e3f47f7d
size ordering for ephemeral locations (#2311) 2024-04-11 05:21:22 +00:00
Brendan Allan 40fa3380e5
[ENG-1722] Numeric sync model IDs (#2298)
* numeric sync model ids

* migration

* fix test compilation
2024-04-11 03:46:30 +00:00
jake 73a9b41c2a
[ENG-1734]: Check that Cargo.lock is up-to-date (#2309)
* feat: check that `Cargo.lock` is up-to-date

* test: malform `Cargo.lock` to test PR

* revert: "test: malform `Cargo.lock` to test PR"

This reverts commit 2cdfbe5ae3.
2024-04-11 03:37:42 +00:00
Utku d19ff363e1
Minor changes (#2308)
* move things around

* enable sort by/direction for list view

* more machine generated translations yey + minor stuff
2024-04-11 01:44:04 +00:00
nikec b71c046aa9
[ENG-1731] Explorer grid selection behaviour for windows (#2307)
* Add windows explorer selection behavior

* update media view
2024-04-11 01:41:39 +00:00
Vítor Vasconcellos 56cee3c64d
Fix CI (due to python 3.12 update) + Fix migration CI check (#2306)
* Fix migration check not always failing when it should on main
 - Fix check due to Github using `refs/heads/gh-readonly-queue/main/` as ref when merging a PR from merge-queue to main
 - Add migration due to changes made in #2161

* Fix missing migration error message being showed when it shouldn't
 - Filter out empty migrations files from check testing if a migration is missing

* Prevent inner grep from failling the whole command
 - Fix last grep outputting gibberish when not receiving any file

* Fix xargs and grep command on macOS

* auto format

* Configure python 3.11 version on Github CI
 - Python 3.12 is the default on CI now, which breaks node-gyp and most of the native dependencies installations
 - Fix _new_migrations having lead and trailing spaces

* Remove migration, already included in #2302
2024-04-10 16:32:46 +00:00
Ericson "Fogo" Soares 67554c89b3
[ENG-1724] Introduce scan state for location (#2302)
Done
2024-04-10 16:19:59 +00:00
Vítor Vasconcellos 606c007514
Add support for OS level network proxy in pnpm prep (#2304) 2024-04-10 00:13:05 +00:00
ameer2468 1b83a6fd8a
[ENG-1710] Context menu path bar (#2305)
* context menu on path bar

* Open in new tab

* locales

* Update ExplorerPath.tsx
2024-04-10 00:03:18 +00:00
Utku f48a91b124
[MOB-82] Switch to expo image & inspector long press (#2301)
* open action modal on long press

* fix styling on about screen

* better/optimized image component
2024-04-09 12:13:27 +00:00
Brendan Allan 504242f97e
[ENG-1723] better sync status (#2299)
* better sync status

* cleanup
2024-04-09 03:14:51 +00:00
Ericson "Fogo" Soares 6b760b0b2a
[ENG-1628] Write new indexer with the task system (#2161)
* Moving file-path-helper to a sub-crate on core

* Parallel walker tested and working

* Change inner core crate names to sd-core-* naming scheme

* Moving stuff around

* Save and Update tasks for the new indexer job

* Some initial drafts on the new job system

* More drafts on job system

* Changing walker task to a more explicit state machine
Also drafting more of job system

* More drafting on job resume

* Completed the draft on job system inner workings

* New job context abstraction to decouple library stuff from job system

* Properly use composition on task dispatcher

* First draft on indexer job

* Job serialization

* Handling ancestors in the distributed walker for indexer

* Saving computed directories sizes on a location to db

* Enable a way to check if jobs are running in a location

* Progress reporting on indexer job

* Reorganizing modules

* Shallow indexer

* Rust fmt

* Attempting windows CI fix

* Attempting windows CI fix again

* Attempting windows CI fix again
2024-04-08 14:32:44 +00:00
Vítor Vasconcellos 11555c583a
CI now checks if a migration is missing (#2295)
* CI now checks if a migration is missing
 - Fail CI on main and tag releases if a new migration should be created due to changes in the db schema
 - Add error msg to schema.prisma file if a migration is not created to reflect changes made to db schema, but do NOT fail action

* Change schema to test CI changes

* Add debug to prisma generate CI script

* Removem prisma cache to test

* Fix grep for migrations

* Revert changes made for testing

* Only cache prisma data on main or cache-factory
2024-04-06 04:31:22 +00:00
Utku 8e14bc68bc
fix weird translations (#2294)
fix some size translations
2024-04-06 00:46:47 +00:00
Utku 3ce4d5d171
Alpha 0.2.11 (#2291)
lul
2024-04-05 21:08:04 +00:00
Vítor Vasconcellos 1749306cd8
Add missing production migration for search improvements made in #2262 (#2290) 2024-04-05 19:41:25 +00:00
Arnab Chakraborty 20d9878968
Disable Labeler (#2288)
* Disable Labeler

* Auto format and lint

* Comment out regen labels context menu entry

* Comment out some more labels references

---------

Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
2024-04-05 19:41:11 +00:00
Utku 6090df938e
Alpha 0.3.0 (#2287)
alpha 0.3.0
2024-04-05 17:12:51 +00:00
nikec 7d0eee2e02
[ENG-1714] Fix black bars (#2289)
* fix black bars

* Update Original.tsx
2024-04-05 17:11:47 +00:00
Brendan Allan f168b5e45d
Better search (#2262)
* Revert "Revert "remove fixed filters" (#2261)"

This reverts commit 5b40cefe37.

* search sources

* only set default filters if no filters

* key saved search page on id and use raw search as searchbar default

* fix crate versions

* put media view filters in a dedicated hook

* remove ts-reset

* add comment about <Inner>

* generics!

* cleanup

* search paths/objects switch (#2278)

* feature flag target switcher

* use useZodParams in saved search route
2024-04-05 15:40:46 +00:00
Vítor Vasconcellos 6bb94e3507
Fix pnpm prep fails to download native-deps on some specific network env (#2275)
* Fix pnpm prep failing to download native-deps on some specific network configurations

* Eslint/Prettier auto-format
2024-04-04 14:19:49 +00:00
Vítor Vasconcellos 595172a33a
Implement test retry for Mobile CI (#2281) 2024-04-04 14:19:35 +00:00
ameer2468 475d8bd88c
Correct width for button (#2284)
correct width for button
2024-04-04 10:41:22 +00:00
Arnab Chakraborty 888ab5639b
[ENG-1483] Right Click -> New File (#2276)
* feat: Right Click -> New File

Creates an empty file called `Untitled` and adds `(1) -> (n)` for n number of files with the same `Untitled` name.

* feat: Seperate into Text File and Empty File

* chore: `cargo fmt`

* fix: Forgot to type convert to String

* feat: Working creation

* fix: i18n changes

* More i18n

* All added tags now translated

* With proper types checking now!

* Fix types

* chore: formatting
2024-04-04 04:20:31 +00:00
Oscar Beaumont 232cbb33c2
Drop Tauri Plugin Window State (#2271)
do the thing
2024-04-03 17:58:43 +00:00
ameer2468 e34f37ddf9
[MOB-80] Drawer design improvement & more (#2274)
* draw design improvement

* lint

* view all buttons

* tweaks

* widths
2024-04-03 16:37:56 +00:00
ameer2468 ad964058e2
[ENG-1705] Locales for sizing units (#2273)
* locales for sizing units

* size_ keys

* keys

* Update common.json
2024-04-03 16:30:04 +00:00
Arnab Chakraborty 50282cd697
[ENG-1701] No More Infinite Text File Scrolling (#2272)
fix: No More Infinite Code Scrolling
2024-04-02 17:50:52 +00:00
ameer2468 c7df18d3b7
Improve location list item layout (#2270)
* Improve location list item layout

* remove unused import
2024-04-01 22:13:27 +00:00
ameer2468 5aa0e30c28
[ENG-1704] Location fixed width sizing (#2268)
Update ListItem.tsx
2024-04-01 18:31:52 +00:00
ameer2468 12f15fc96f
[ENG-1702] Fix space for command palette (#2269)
* Fix space for command palette

* Update index.tsx
2024-04-01 18:30:44 +00:00
nikec 862cd05c27
[ENG-1703] Fix file name overflow (#2267)
fix overflow
2024-04-01 10:52:36 +00:00
Utku f5c258e627
[MOB-77] Mobile Drawer (#2255)
* drawer and navigation

* Remove old job manager code

* make edit location/tags UX better

* hide settings bcs it exist on tabs

* we don't do index on mobile for screens + some organization

* make max w percantage
2024-04-01 10:41:00 +00:00
ameer2468 08825dd22f
[MOB-67] Saved search UI (#2265)
save search ui
2024-03-30 20:56:58 +00:00
ameer2468 21a0ec0869
[ENG-1699] Pin Job manager (#2264)
* wip

* minor cleanup

* Update Popover.tsx

* remove prop
2024-03-29 16:48:05 +00:00
Vítor Vasconcellos 5a7d15d284
Don't fail CI job if dorny/paths-filter step fails (#2263)
Don't fail CI job if `dorny/paths-filter` step fails
2024-03-29 06:28:00 +00:00
Utku 5b40cefe37
Revert "remove fixed filters" (#2261)
* Revert "remove fixed filters (#2257)"

This reverts commit 1959226fb9.

* bump 0.2.10
2024-03-29 01:35:28 +00:00
Utku 44c2854205
Alpha 0.2.9 (#2260)
release 0.2.9
2024-03-28 23:05:04 +00:00
Brendan Allan 1959226fb9
remove fixed filters (#2257)
* remove fixed filters

* fix: remove blank `console.log`

---------

Co-authored-by: jake <77554505+brxken128@users.noreply.github.com>
2024-03-28 22:46:55 +00:00
Vítor Vasconcellos 99ed9006cf
Make Cypress tests more resilient (#2249)
* Replace macos-14 with ubuntu runner in cypress
- Replace macos-14 with macos-13 runner in clippy
 - macos14 runner has weaker hardware than other runners: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories

* Remove pre-installed incompatible packages from ubuntu runner

https://github.com/actions/runner-images/issues/9546#issuecomment-2014940361

* Use ubuntu-20.04 for Cypress CI

* Adjust Cypress CI to follow common steps for linux env

* Debug preprep script

* Fix copy/paste typo

* Install playwright native dependencies

* Update release.yml

* Add  Remove 32-bit libs to setup-system

* Change Cypress CI to macos-13
 - Some small test fixes
 - Fix onboarding test must skip testing default location screen if no default locations os available

* Back to ubuntu for Cypress and back to macos-14 to clippy
- Attempt to fix empty default locations on ubuntu CI runner

* Oops

* Install playwright native deps

* Replace path regexs with consts
 - Click on share minimum when doing a fastOnboarding

* Try macos-14 again
2024-03-28 22:45:25 +00:00
nikec a6737e4440
[ENG-1698] Fix invisible thumbnails (#2258)
* fix size condition

* listen for listViewIconSize change

* fix invisible condition
2024-03-28 11:02:48 +00:00
Arnab Chakraborty a4a1f1b40a
Add Warning for SD Docker Container (#2256)
* Update setup.mdx

* Update items.ts

* Update items.ts
2024-03-28 04:52:36 +00:00
nikec 2f5271e453
[ENG-1215] List view size customisation (#2254)
* base

* calculate line height on demand

* fix max update

* fix max update on resize

* read types directly

* sizing

* better size handling

* also handle text box padding on demand
2024-03-27 15:15:07 +00:00
nikec b776e4c55c
[ENG-1696] Fix Asian characters text wrapping (#2253)
no wrap
2024-03-27 10:27:23 +00:00
Brendan Allan 902ed24ffd
[ENG-1674] fix request drop test and add write_ops test (#2252)
fix request drop test and add write_ops test
2024-03-27 06:40:57 +00:00
Arnab Chakraborty b69733ffd9
Update Hover Text on Landing Page (#2251)
Update page.tsx
2024-03-27 05:51:40 +00:00