-
-
Notifications
You must be signed in to change notification settings - Fork 317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding copyright to albums #1838 #1880
Conversation
Bringing the data of copyright to the frontend and adding a new route on api.php to edit the copyright value.
Thank you for your pull request. :) Could you please add two tests:
Also what should be the default value when it is not present? You may also consider adding some localization strings: Like Copyright, Set copyright etc.. in the |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files |
Co-authored-by: Benoît Viguier <ildyria@users.noreply.github.com>
@ildyria |
tested for editing the copyright value. Creating a different endpoint for removing copyright might not be necessary as the copyright value can be edited to be "".
add the keys (the tests will require it anyway) and don't bother with google translate, just put the English. If someone wants to do the translation for their language, we will take the PR :) |
Co-authored-by: Benoît Viguier <ildyria@users.noreply.github.com>
@ThanasisMpalatsoukas I fixed the conflicts with master. We will merge this PR when:
😃 |
@ThanasisMpalatsoukas any updates ? :( |
@ildyria Hey, was busy with work and stuff. Will probably take a look at it this week :) |
I know that feeling quite well. :') |
@ThanasisMpalatsoukas any updates ? :( |
@ildyria Is it still pending? |
Well yes. Those points have still not been resolved.
Though what I would suggest is to fork this Pull request and start integrating against the Livewire branch of #1303 as it will make it significantly easier for the user to add tests and not have to care for the JS front side. |
I'm interested on this. While finalising that interest, I would like to ping @ThanasisMpalatsoukas in case he's on this but forgot. |
@ARMeeru thank you for being considerate and pinging me on this, sadly i have too personal work and am unable to continue with this at this point in time. You can go on and finalize this feature :) |
@ARMeeru If you decide to go on this feature, I strongly advise you to have a look at #2035 before. You will probably want to check the following files: https://github.com/LycheeOrg/Lychee/blob/livewire/app/Livewire/Components/Forms/Album/Properties.php And associated tests: This should be a good read too: https://lycheeorg.github.io/docs/livewire.html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested LGTM.
Fixes #1838
Bringing the data of copyright to the frontend and adding a new route on api.php to edit the copyright value.
for issue #1838. After getting this PR accepted i will work on the frontend side and push on frontend the rest