Commit graph

2022 commits

Author SHA1 Message Date
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
Vítor Vasconcellos 417d5d3be3
[ENG-811] Fix server Dockerfile + create CI workflow to build and publish docker image (#1012)
* Fix server docker build failing due to apt locking error
 - Replace ffmpeg dep with only the libav* and related required lib (reduce size)
 - Add warning to tauri build command when DMG background is missing
 - Minor rust fmt

* Enable assets feature for server Dockerfile
 - Fix web app not using the correct address in prod
 - Add build step for web assets in server Dockerfile

* Enable repository to be defined in server's Dockerfile
 - Enable server's release workflow to specify which repository to build to allow external PRs to work

* Fix pnpm docker cache not working
2023-06-25 15:16:11 +00:00
Gedeon 5a790ac996
[ENG-803] Set date upon tag creation (#1021)
* set date_created to tag

* update tag date modified when edited

* use `FIxedOffset` for tag `date_created`

* remove dead code and use fixedoffset

* discard duplicate code

* remove dead code & add current time to field

* remove unused code

* no longer needed in data

* set creation time for tags

* fix tag creation time

* fix & finalize timestamps

* `update_many` was not needed here

---------

Co-authored-by: brxken128 <77554505+brxken128@users.noreply.github.com>
2023-06-25 13:44:21 +00:00
Utku 72ff8b87b9
update teams (#1011)
* update teams

* reverse banner hover state

* decrease navbar divider to 1px

* remove deb from release
2023-06-24 14:30:22 +00:00
Ericson "Fogo" Soares 697dfffe37
[ENG-670 / ENG-774] Resumable and Pausable jobs / Queued jobs don't show in the job manager (#961)
* Fixing some warnings

* Optimizing job workers

* Removing the delay from getting job reports

* remove some commented out stuff

* Trying to optimize job report route

* fix thread 'tokio-runtime-worker' panicked at 'attempt to subtract with overflow'

* fix progress bar

* Now pause works from the UI

* Fix

* Now the worker set job report to paused

* show errors for job pause/resume

* bunch 'o ui fixes

* order location in the sidebar

* fix some text

* fix clear all jobs

* fix clear jobs & job group ui

* show queued jobs

* object validator job text

* make cancel button work

* better executable logo

* Now cancel button works instantly

* disable resume button

* remove disabled props from pause/resume buttons

* remove large comments

* show paused progress

---------

Co-authored-by: James Pine <ijamespine@me.com>
Co-authored-by: Jamie Pine <32987599+jamiepine@users.noreply.github.com>
2023-06-24 07:23:30 +00:00
Vítor Vasconcellos 4dcd0fbd6a
[ENG-791] Open location directory in native file explorer (#1007)
Open folder in native file explorer
 - Remove verbose console.log
2023-06-23 16:40:31 +00:00
nikec 50c6402033
[ENG-789] Add topbar page scroll (#1010)
Add topbar page scroll
2023-06-23 16:39:13 +00:00
Oscar Beaumont b980a6f630
[ENG-792] App no starty (#1004)
* lul, message parsing with a response is cringe

* deadlocks hurt me physically

* super secret commit with many secret secrets

---------

Co-authored-by: Jamie Pine <32987599+jamiepine@users.noreply.github.com>
2023-06-23 06:22:24 +00:00
nikec 1a4d6bce62
[ENG-741] Add explorer item cut style (#1006)
Add cut style
2023-06-23 06:10:05 +00:00
Vítor Vasconcellos bffa22681d
Revert some schema changes from #992 (#1003)
- Revert useExplorerSearchParams removal
 - Move schemas to a rout-schemas file
 - Formatting
2023-06-23 05:57:19 +00:00
Brendan Allan 8e056a9758
Enable updater by default (#1005)
enable updater by default
2023-06-23 05:44:39 +00:00
nikec 14ee1d481e
Fix tooltip overflow (#1002) 2023-06-23 02:28:13 +00:00
Ericson "Fogo" Soares 187ec933f4
[ENG-770 / ENG-773] Copy/paste / Explorer context menu duplicate (#992)
* Fixing copy, cut and paste

* Bug on duplicating files without extensions

* Fix paste only ignoring the location origin when validating relative paths
 - Add Error handling to all context menu actions
 - Hide FS actions in Overview and MediaView
 - Remove redundant useExplorerSearchParams
 - Add default schema to the Zod param hooks

* Hide FS actions in all Explorers but location ones
 - Fix react warnings in RenameTextBox
 - Fix ReactTextBox not selecting the whole file name, instead of just up to file extension
 - Fix react warning due to inputing missing onChange

* basic show jobs for cut, copy and delete in job manager

* tweaks

* Fixing some warnings and minor tweaks

* Rust fmt

* Fix cut between locations on Linux

* Change how routes retrieve route params
 - Replace useZodRouteParams with useLoader
 - Define all schemas in the router file instead of in the route Component
 - Parse schema in loader to avoid requiring the route Components having to import the schema from the router file

* Remove default argument from useZodRouteParams

---------

Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
Co-authored-by: Jamie Pine <32987599+jamiepine@users.noreply.github.com>
Co-authored-by: James Pine <ijamespine@me.com>
2023-06-22 23:41:29 +00:00
Brendan Allan 993e3524bd
Swift fix (#1000)
* swift fix

* fix

* fix again
2023-06-22 15:27:28 +00:00
Jamie Pine 9fa49fe1e5
[ENG-785] Location online indicator fix + UI fixes (#995)
* new icons, location online indicator UI, etc

* hol up

* tag n ball

---------

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2023-06-22 15:27:13 +00:00
nikec 10c7af5ae2
[ENG-763] Fix list view categories loop (#999)
Fix list view categories loop
2023-06-22 13:56:34 +00:00
Utku 361c57064a
fix (#998)
Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2023-06-22 12:27:11 +00:00
Brendan Allan 32824a88be
[ENG-782] Seeded tags (#994)
* seeded tags infra

* dumb

* here's my seed

---------

Co-authored-by: James Pine <ijamespine@me.com>
Co-authored-by: Jamie Pine <32987599+jamiepine@users.noreply.github.com>
2023-06-22 12:08:38 +00:00
Utku 7acd584d6f
[ENG-786] Hide List view on categories and hide columns view (#996)
* hide list view on categories and hide columns view

* bruh
2023-06-22 11:53:38 +00:00
jake f5d7a99a70
[ENG-737] Location deletion hanging (#978)
* fix concurrency issue with lib deletion

* clear only completed jobs

* slight fixes

* experimental but faster i think

* lower chunk size
2023-06-22 10:49:21 +00:00
Oscar Beaumont 7198775ea7
[ENG-783] rename node (#993)
rename node + hide some stuff
2023-06-22 08:35:09 +00:00
Vítor Vasconcellos a73b6f325e
[ENG-764] Fix macOS shortcuts showing on all OSes (#990)
* WIP

* Add keybind utility

* Fix Ctrl instead of Cmd in macOS

* Fix keyboard shortcuts for search
 - Implement keyboard shortcut for inspector

* Minor fix for setup script

* Implement shortcut for new tag and for opening files
 - Change quickpreview shortcut logic to follow others
 - Fix OpenFilePath not reporting error

* fix types

---------

Co-authored-by: Utku Bakir <74243531+utkubakir@users.noreply.github.com>
2023-06-22 07:03:17 +00:00
Jamie Pine e8d3ad6005
[ENG-779] Finalize UI (#986)
* [ENG-779] Finalize UI
This is one branch with a variety of UI changes

add tag select mode bar without functionality 

fix group job status 

add notice icon with info to stat icons

add WIP notice to media view 

add modal before add location with greyed out clouds

remove disappearing add location button

add WIP spacedrop page 

bring back limited key manager UI 

add options bar on search page without functionality 

Add greyed out encrypt library button or setting

See more button on locations

Show locations on node screen

Fix overview category left padding

* key manager placeholder

* stat info

* nodes screen

* location click yay

* fix size in bytes

Co-authored-by: Brendan Allan <Brendonovich@users.noreply.github.com>

* small ui improvements

* sh*tty see more button

* last touches

* fix merge boo boo

* Fix mobile
 - Move `getItemObject`, `getItemFilePath`, `getItemLocation`, `getExplorerItemData` to @sd/core to allow mobile to use them

* Formatting

* Normalize displayed file size between all screens
 - Replace every use of internal formatBytes with byte-size dep

---------

Co-authored-by: Brendan Allan <Brendonovich@users.noreply.github.com>
Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
2023-06-22 06:34:45 +00:00
jake f92ba1b57f
bump copyright and team up in onboarding (#979)
* bump copyright up in onboarding

* update team

* revert changes

* revert this too

* update ci to run required stuff on every pr

* simplify codeowners

* type

* add landing

---------

Co-authored-by: Utku Bakir <74243531+utkubakir@users.noreply.github.com>
Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
2023-06-22 05:13:51 +00:00
nikec 4e8e0fdb6b
[ENG-777] Revert disabled categories (#984)
Revert disabled categories
2023-06-21 19:24:32 +00:00
Ericson "Fogo" Soares de85f00efc
[ENG-768 / ENG-769] Regen thumbnails / Generate checksums (#983)
* Making sub_path api for jobs harder to misuse

* re-enable context menu options

---------

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2023-06-21 12:55:19 +00:00
Brendan Allan c6786f0c3f
Better tag unassign (#989)
better tag unassign
2023-06-21 12:22:20 +00:00
jake aa57b153a7
Remove useless clone from mutation (#988)
* remove useless clone from mutation

* fix clippy too
2023-06-21 10:53:49 +00:00
Oscar Beaumont 87ba027f54
Fix reset button (#987)
fix
2023-06-21 10:06:18 +00:00
jake ccaf8ad1c6
Fix tag removal (#985)
fix tag removal
2023-06-21 08:47:59 +00:00
Abe 82e4874931
Bug fix: Remove unnecessary horizontal scrollbar on grid list to remove white square (#982)
Remove unnecessary horizontal scrollbar on grid list
2023-06-21 06:10:11 +00:00
nikec 80f44ec6a1
[ENG-721] Disable context menu items and categories (#980)
* Disable context menu items

* disable categories

* Enable recents
2023-06-20 22:16:17 +00:00
nikec a349fe8d50
[ENG-762] Fix rename (#981)
Fix rename cache
2023-06-20 22:12:14 +00:00
Oscar Beaumont 37bf788ca5
[ENG-685] Sqlite Multithreaded (#917)
* pragma moment

* Try socket_timeout?

* bye

---------

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2023-06-20 20:09:52 +00:00
Marques Scripps 021a5de4f7
feat: Updated the background on the landing page to use react-three-f… (#966)
* feat: Updated the background on the landing page to use react-three-fiber to generate the backgrounds

* fix types & lint & pnpm-lock file

* fix popover import

* reverted the blue glow

* added back the blue glow

* feat: Fixed the issue where it was not displaying the image. + some optional UI changes

* feat: Updated based on feedback

---------

Co-authored-by: Marques Scripps <marques@rcracecontrol.com>
Co-authored-by: Utku Bakir <74243531+utkubakir@users.noreply.github.com>
2023-06-20 15:06:56 +00:00
Ericson "Fogo" Soares 437f18081a
[ENG-743 / ENG-744] Duplicate item / Delete explorer item (#977)
* Fixing a bunch of small bugs related to FS

* cleanup

---------

Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2023-06-20 09:44:13 +00:00
Brendan Allan 92f2f185d7
Add COLLATE NOCASE back to migrations (#975)
* reintroduce collate nocase

* whoops
2023-06-20 09:01:55 +00:00
ameer2468 91e5a3759a
Quick message for reset spacedrive button (#976)
* Added a quick message for reset spacedrive button as requested

* Update ErrorFallback.tsx
2023-06-19 21:46:15 +00:00
nikec b103c82b39
[ENG-761] Fix light theme colours & add light theme alpha bg (#974)
Fix light theme colors
2023-06-19 16:02:40 +00:00
Abe 96baa6c42b
bug fix: Fix window flash when cmd+clicking on a link (#973)
* Fix window flash when cmd+clicking on a link

* Added `disabled` condition to preventDefault
2023-06-19 13:24:30 +00:00
Brendan Allan 5df37d3a2d
Do all category logic on server (#972)
* do all category logic on server

* cleanup
2023-06-19 12:21:32 +00:00
Brendan Allan fdda0dd280
Fix categories queries (#971)
* more stringent hidden filter check

* add missing migration case

* don't do sync stuff when sync disabled

* remove old stuff
2023-06-19 11:28:07 +00:00
Vítor Vasconcellos 9e8223529c
Improvements to CONTRIBUTING.md + Change ffmpeg-windows base container (#969)
Improve CONTRIBUTING.md
 - Remove CONTRIBUTING.md section about M1 users requiring x86 rust
 - Replace ffmpeg-windows base container with a stable one
2023-06-19 09:15:24 +00:00
Oscar Beaumont 43647479a9
ordering for create library is wrong (#970) 2023-06-19 09:01:56 +00:00
Oscar Beaumont 0f7a669e5a
[ENG-732] Pairing by library (#943)
* library keypair

* allow opening stream to non-connected node + more

* library identity

* fix types

* fix maybe undefined

* don't forgor migrations file

* library manager inside p2p manager

* rename

* `NodeInformation` struct

* node info exchange

* fill in info

* streamify tunnel

* use tunnel for p2p events

* libp2p is annoying + stop leaking private key's

* Clippy cleanup
2023-06-19 05:13:30 +00:00
Brendan Allan 6975ebb664
Replace some default fields (#968)
replace some default fields
2023-06-19 00:48:38 +00:00
Brendan Allan d683d22c82
Remove owned sync (#967)
* remove owned sync + cleanup

* no more atomic records

* byebye owned

* remove owned ops from schema
2023-06-18 23:45:06 +00:00