Giter Site home page Giter Site logo

qdraw / starsky Goto Github PK

View Code? Open in Web Editor NEW
9.0 5.0 2.0 57.21 MB

Accelerator to find and organize images driven by meta information. Browse and search images in your own cloud.

Home Page: https://docs.qdraw.nl/

License: MIT License

Shell 1.36% JavaScript 2.32% TypeScript 29.24% C# 63.80% PowerShell 0.91% Dockerfile 0.12% HTML 0.71% CSS 1.53% Assembly 0.01% Batchfile 0.01%
netcore assets-management react exif-metadata photography photo-browser photo photo-management photo-metadata

starsky's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

starsky's Issues

Fix chmod on startup *nix when downloaded ExifTool can not be excuted

Describe the bug

When a user is new with starsky Exiftool is downloaded. there is done a chmod +x for the exiftool but when the rights are not enough this can give issues in the background

To Reproduce
Give the temp folder not enough rights. This only happens when there not enough rights on the temp folder or ./exitfool
[UPDATE] This behavior is produced by a deploy script

Expected behavior
It should work or warn a user that there is action needed

Layout '40' in datetime

Describe the bug

it should fit in the box

40

To Reproduce
Steps to reproduce the behavior:

  1. Go to DetailView
  2. Click on Change Datetime
  3. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

When press clean cache /info cache sould also be cleaned

Describe the bug
When press clean cache /info cache sould also be cleaned

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

When remove a folder, the files within the folder are still in the database

Describe the bug

When remove a folder, the files within the folder are still in the database

To Reproduce
Steps to reproduce the behavior:

  1. Go to Select
  2. Click on a folder
  3. Click on More > Move to Trash
  4. Click on Trash and remove folder
    And the database still has those files

Expected behavior
Folder and child items are deleted from the database

Screenshots
N/a

Chrome 81+ Exif rotation on non-thumbnail images

Describe the bug

Looks like one of the oldest bugs in Chromium has been fixed. Chrome used to display images in landscape orientation even if they were taken in portrait on a phone.

https://stackoverflow.com/a/61196140
https://paul.kinlan.me/correct-image-orientation-for-images-chrome-81/
https://www.fxsitecompat.dev/en-CA/docs/2020/jpeg-images-are-now-rotated-by-default-according-to-exif-data/
https://developer.mozilla.org/en-US/docs/Web/CSS/image-orientation#Browser_compatibility

To Reproduce
When a image is not converted to a thumbnail

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):
Chrome 81+

Additional context
Add any other context about the problem here.

Keyboard accelerator Command / Ctrl A

Is your feature request related to a problem? Please describe.
When pressing command/ctrl a it should select all files

Describe the solution you'd like
Easy access to feature by using keyboard shortcuts

Describe alternatives you've considered
More -> Select All

Additional context
n/a

Zoom in detailView

Is your feature request related to a problem? Please describe.
When viewing in DetailView mode

Describe the solution you'd like
Option to zoom in a picture

Describe alternatives you've considered
open the source image

Additional context
Add any other context or screenshots about the feature request here.

AppSettings API

Values that are true are overwritten when summing new value

3FE15B01-0A59-4A52-90FA-AA549E45177B

Delete removes collection items

Describe the bug
When trashing items first in non-collection mode and then in the trash delete, both images are deleted

To Reproduce
Steps to reproduce the behavior:

  1. Go to collections=false
  2. Click on Trash Image
  3. Go to Trash and press delete
  4. See error
  • Two images are deleted instead of one

Expected behavior
One image is deleted instead of two

Screenshots
n/a

Additional context
n/a

Web Publisher - first image as other thumbnail format

Is your feature request related to a problem? Please describe.
When you publish an selection, for example social media there is a 1 image thumbnail needed

Describe the solution you'd like
Option to generate a thumbnail for the first time

Describe alternatives you've considered
n/a

Additional context
Add any other context or screenshots about the feature request here.

Export/Download Zipper does not export directory structure

Is your feature request related to a problem? Please describe.
When you press Export the content is exported as flat zip

Describe the solution you'd like
To have folders inside the zip that represents the structure of the original content
This behaviour is supported in publish

Import time of videos is UTC instead of the local time

Describe the bug
Import time of videos is UTC instead of the local time. This is making it hard to find videos back

To Reproduce

  • import a mp4 or quicktime video thats contains dateTime

Expected behavior
It should give the right time or easy to fix option

back-end issue
Browser context is not needed

DbUpdateConcurrencyException not handled

Describe the bug

Start indexing /2020/10/2020_10_24
.
/2020/10/2020_10_24  Unhandled exception. Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException: Database operation expected to affect 1 row(s) but actually affected 0 row(s). Data may have been modified or deleted since entities were loaded. See http://go.microsoft.com/fwlink/?LinkId=527962 for information on understanding and handling optimistic concurrency exceptions.
   at Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.ThrowAggregateUpdateConcurrencyException(Int32 commandIndex, Int32 expectedRowsAffected, Int32 rowsAffected)
   at Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.ConsumeResultSetWithoutPropagation(Int32 commandIndex, RelationalDataReader reader)
   at Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(RelationalDataReader reader)
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelationalConnection connection)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1 commandBatches, IRelationalConnection connection)
   at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChanges(IList`1 entries)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(IList`1 entriesToSave)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(DbContext _, Boolean acceptAllChangesOnSuccess)
   at Pomelo.EntityFrameworkCore.MySql.Storage.Internal.MySqlExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Boolean acceptAllChangesOnSuccess)
   at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean acceptAllChangesOnSuccess)
   at Microsoft.EntityFrameworkCore.DbContext.SaveChanges()
   at starsky.foundation.database.Query.Query.RemoveItem(FileIndexItem updateStatusContent)
   at starskycore.Services.SyncService.CheckMd5Hash(IEnumerable`1 localSubFolderDbStyle, IReadOnlyCollection`1 databaseFileList)
   at starskycore.Services.SyncService.SyncFiles(String subPath, Boolean recursive)
   at starskycore.Services.SyncServiceCli.Sync(String[] args, ISync syncService, AppSettings appSettings, IConsole console, IThumbnailCleaner thumbnailCleaner, ISelectorStorage selectorStorage)
   at starskysynccli.Program.Main(String[] args)
Aborted

Expected behavior
Directory is scanned

FileIndexItemJsonParser is incomplete

Describe the bug

Incomplete feature to handle
Sometime referenced as .meta.json or .starsky.filename.jpg.json

Expected behavior
Make feature complete

Rename files with structure settings

Is your feature request related to a problem? Please describe.

When files already imported. There is no nice way to rename them based on a creation date

  • include xmp files
  • include other sidecar files
  • dng/raw and jpeg

Describe the solution you'd like
rename_photos

Describe alternatives you've considered
using other tools

Additional context

StarskyApp should see map

Describe the bug
Should see map when using StarskyApp

To Reproduce
Steps to reproduce the behavior:

  1. Go to DetailView
  2. Click on location
  3. Window opens

Expected behavior
Should see map

Screenshots
starskyapp_bug

Desktop (please complete the following information):
StarskyApp 0.2.5 and newer only

Folder cache issue new files added but detailview is a 404

Describe the bug
When you add a new file via the CLI, and already have visited the folder where the new image is added. Its not shown. When you search for that same image its shown in the results. but when go there the page is not found.

Expected behavior
It should refetch the item and update the folder

  • Backend issue

Ignore pattern for sync

Is your feature request related to a problem? Please describe.
To have control to ignore specific folders to scan with the sync

Describe the solution you'd like
Config to ignore folders to be scanned

Describe alternatives you've considered
Work-around is to use params starskysynccli -s /2020

Additional context
Make a global scan option easier to use

Files that already are deleted is not shown visualy

If a file is already deleted its not always shown

Inital state

{
   "fileIndexItem":{
      "fileName":"20200517_160810_d.jpg",
      "isDirectory":false,
      "keywords":[
         "Keyword"
      ],
      "tags":"Keyword",
      "status":"Ok",
      "collectionPaths":[
         "/2020/05/2020_05_17/20200517_160810_d.jpg"
      ]
   },
   "colorClassActiveList":[
   ],
   "pageType":"DetailView",
   "isDirectory":false,
   "subPath":"/2020/05/2020_05_17/20200517_160810_d.jpg",
   "isReadOnly":false
}

after pushing update

[
   {
      "filePath":"/2020/05/2020_05_17/20200517_160810_d.jpg",
      "keywords":[
         "Keyword",
         "!delete!"
      ],
      "tags":"Keyword, !delete!",
      "status":"Deleted",
      "collectionPaths":[
         "/2020/05/2020_05_17/20200517_160810_d.jpg"
      ]
   }
]

Importer disposed object

Describe the bug
Importing files with starsky mail

 at starsky.feature.import.Services.Import.Importer(ImportIndexItem importIndexItem, ImportSettingsModel importSettings) in D:\a\1\s\starsky\starsky.feature.import\Services\Import.cs:line 403
0|starsky  |    at starsky.feature.import.Services.Import.<>c__DisplayClass19_0.<<Importer>b__0>d.MoveNext() in D:\a\1\s\starsky\starsky.feature.import\Services\Import.cs:line 366

Expected behavior
No duplicate files

Screenshots
Schermafbeelding 2020-06-01 om 22 01 37

Schermafbeelding 2020-06-01 om 22 11 52

Server

Additional context
Add any other context about the problem here.

XMP Creating issues on some files

Describe the bug

Not on all files, but on some files there are xmp files created that

��Exiv2����Exif��MM�*�����������������J�����������R�(�����������������������%���������Z�������H�������H��������������������������N�����������������������E����������������������������������������������2�������5������	

20200820_094441_DSC02371.arw

To Reproduce
Not clear

Expected behavior
Normal xml valid file

Screenshots

Backend

Move file to root folder

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
See short movie

20201106_move_to_root_bug.mp4.zip

  • more move to root it does not exist at all
  • move to other folder when pressing close its not listed

Expected behavior
should move file successfully

Screenshots
n/a

Desktop (please complete the following information):
Firefox 48

CSP Legacy websocket issue

Describe the bug

image

In a very old version of Firefox 48 when websockets are enabled

Also for safari 13.1.2 on iPad OS 13.7

DateTime shifting for multiple items

Is your feature request related to a problem? Please describe.
When the datetime is set wrong its very difficult to fix this. There are exiftool commands needed

Schermafbeelding_2018-09-17_om_20 23 20

Describe the solution you'd like
A clear UI to fix this issue

Describe alternatives you've considered
To do it with command line tools

Additional context
n/a

Download folders with + not found

Describe the bug
Download folders with + not found

To Reproduce
Steps to reproduce the behavior:

  1. Go to Photo with + in name
  2. Click on Download
  3. See error

Expected behavior
Should download

Develop improvements release pipeline

Is your feature request related to a problem? Please describe.

For version 0.4.2 I forget to update the package Json and csproj files, but in the branch and tag name it's updated. This is bad because the client is told to update but this the latest version

Describe the solution you'd like
Add to the pipelines a check on tag/brache name for GitHub actions/ local git / ado to make sure the version is updated

Describe alternatives you've considered
Don't make this human error

Additional context
N/a

Publisher improvements

Is your feature request related to a problem? Please describe.

  • when pressing create 404 are. this should be a 206
  • Command Line interface allows only the first item
  • Allow from search results #298
  • Make component stateless so the app can work behind a load balancer

Importer fail improvements

Describe the bug
When you abort a import session before its ended the database isn’t updated

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Show activity while remove from trash

Is your feature request related to a problem? Please describe.

Show activity while remove from trash

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Geo location ui components on mobile Safari layout

Describe the bug

Geo location ui components on mobile Safari layout is missing

To Reproduce
Missing icon

Expected behavior
Clickable icon

Screenshots
image

Smartphone (please complete the following information):

  • Device: iOS iPad
  • OS: 13.6.1
  • Browser Safari

Publish with Metadata does not work

Describe the bug
Publish with Metadata does not work

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Check if the latest version

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Redirect bug

Describe the bug

.Net/starsky/Search?t=-Datetime%3E2%20-ImageFormat-tiff
To
.net/search?t=-Datetime%3E2%20-ImageFormat-tiff&p=0

And should have the prefix /starsky/

View folders realtime

Is your feature request related to a problem? Please describe.

To update the database when files are changed out-of-the-box supported

Describe the solution you'd like
To find out that folders are updated realtime

Describe alternatives you've considered
https://stackoverflow.com/questions/32494481/fast-way-to-check-if-a-large-set-of-file-pairs-are-identical

It's going to be a tradeoff between speed and reliability. You want to try the fastet method first, then go to something more precise. Here is the algorithm followed by fdupes:

compare file sizes
=> if different, then action (in your case, copy)
compare MD5 signatures
=> if different, copy
compare byte-by-byte
=> if different, copy
else do nothing

Preparing this answer, I just learned that fdupes now add an intermediate step with partial MD5:

http://en.wikipedia.org/wiki/Fdupes

Additional context
n/a

Notify other users when a file or folder is moved

Is your feature request related to a problem? Please describe.

Notify other users when a file or folder is moved

Describe the solution you'd like
Currently the UI isn't updated when a file or folder is moved

Describe alternatives you've considered
Manual pressing F5

Import backup (what todo with structure)

Is your feature request related to a problem? Please describe.
When importing first backup the content in a different folder

Describe alternatives you've considered
running importer two times 1. without index and 2. with index enabled

Additional context
n/a

In Application background polling sync-scanning

Is your feature request related to a problem? Please describe.

Background sync of the application within the main web process. Not manual but every 10 minutes or something like that.

Describe the solution you'd like
Setting to enable background setting

Describe alternatives you've considered
crontab -e starskysync*

Swiping images on mobile devices

Is your feature request related to a problem? Please describe.
To go the next image is hard for new users.

Describe the solution you'd like
Swipe to go next. But allow users to zoom as well

Describe alternatives you've considered
Next icon

Current location while viewing GPX file

Is your feature request related to a problem? Please describe.

To view the current location if you in the neighboorhood of trail

  • needed: option to unlock the map

Describe the solution you'd like
to see your current location

Describe alternatives you've considered

  • finding yourself by switching apps

Additional context

  • use for example when hiking

Label fast copy does not save with titles

Describe the bug
It should copy all the labels and save them afterwards. instead there are entered in the field but not saved. when you go to the next images it still there, it should be gone then.

To Reproduce
see clip below:
output_1000

Desktop (please complete the following information):

  • at least in starskyapp (chromium 85)

iOS 13 removes exif on upload

Describe the bug
The default behaviour of Safari is to not expose Exif information when HEIC is selected in the Camera Settings

To Reproduce
Upload an image with HEIC option selected

Desktop (please complete the following information):

  • OS: 11 or newer
  • Browser Safari

Folder/Directory renaming in front-end

Is your feature request related to a problem? Please describe.
To rename folders
with api like this: starksy.corp/sync/rename

Describe the solution you'd like
To rename folders

Describe alternatives you've considered
Use OS and resync

Additional context
n/a

Search details show exact query behind modal

Is your feature request related to a problem? Please describe.

(Added) Frond-end Search details show exact query behind modal

Describe the solution you'd like
A modal to view how the search query is build up

Describe alternatives you've considered
Looking into debugger

Additional context
MOB013-SearchResultsQueryInfo@2x

Move multiple files

Is your feature request related to a problem? Please describe.
Move multiple files from archive view to a different folder

Describe the solution you'd like
To move files

Describe alternatives you've considered
Single file move

Additional context
Add any other context or screenshots about the feature request here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.