When calling the API method pwg.images.setInfo for modifying an image description written in HTML, or the method pwg.categories.setInfo for modifying an album description written in HTML, the provided description is modified as observed in #1949. Very annoying for some users of the iOS app.
When calling the API method `pwg.images.setInfo` for modifying an image description written in HTML, or the method `pwg.categories.setInfo` for modifying an album description written in HTML, the provided description is modified as observed in #1949. Very annoying for some users of the iOS app.
<!-- github-sync-id:3307806224 -->
I think we should do what I did recently for the user comments API method. Add a text_comment field to the response to get only the text of the description.
I think we should do what I did recently for the user comments API method. Add a text_comment field to the response to get only the text of the description.
<!-- github-comment-id:3236248710 -->
Tests confirm that since Piwigo 14 (commit eb0759ef12), the token is required to modify the description of an image or an album.
Tests confirm that since Piwigo 14 (commit eb0759ef123b1dce365f75c9125c3d1df5c39683), the token is required to modify the description of an image or an album.
<!-- github-comment-id:3462774562 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
When calling the API method
pwg.images.setInfofor modifying an image description written in HTML, or the methodpwg.categories.setInfofor modifying an album description written in HTML, the provided description is modified as observed in #1949. Very annoying for some users of the iOS app.I think we should do what I did recently for the user comments API method. Add a text_comment field to the response to get only the text of the description.
Tests confirm that since Piwigo 14 (commit
eb0759ef12), the token is required to modify the description of an image or an album.