stashapp / stash

An organizer for your porn, written in Go. Documentation: https://docs.stashapp.cc
https://stashapp.cc/
GNU Affero General Public License v3.0
9.42k stars 804 forks source link

[Feature] add updated_at to StashIDs #3553

Open stg-annon opened 1 year ago

stg-annon commented 1 year ago

Part of #2903

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

As part of a system to support the ability of syncing stash-box data stash_ids would need an additional attribute to determine if the remote scene metadata has been updated since the entity was initially tagged or last updated from that endpoint

Describe the solution you'd like

The addition of the updated_at field to the stash id entities, have them populated, and add functionality to check, display and update scene data for tagged scenes

Describe alternatives you've considered

I have used the local scenes updated_at field to attempt to do something similar with a plugin but this is limited in usefulness as any edit to the scene would be an update not just updates from the specific endpoint

WithoutPants commented 1 year ago

$100 bounty placed (https://opencollective.com/stashapp/orders/636980)

ikmckenz commented 3 months ago

I'm working on this and have it kinda half done in this branch: https://github.com/ikmckenz/stash/tree/updated-at

Will edit this comment and keep it up to date as I make progress in case anyone wants to pick up the work.

I think this is working and reasonably well tested, I will open a pull request!

WithoutPants commented 1 month ago

@ikmckenz please submit an expense to the Open Collective (https://opencollective.com/stashapp/expenses/new) for $86.02 ($100 - fees), or indicate if you'd like to reassign the bounty elsewhere.

ikmckenz commented 4 weeks ago

I would like to reassign to the general expenses fund you get paid out of, please.