Fix coding guidelines incoherences. Code should match PSR1/2 now, and
php-cs is set to check it on each commit.
Also fixed the Git hook to take into account only added, modified,
copied and renamed files (preventing errors when trying to check deleted
files).
Closes#1260.
Includes are specified by the `include[]` array `GET` parameter.
Supported includes as of now are:
* For `artists` and `artist` actions, you can include `albums` and/or `songs`.
* For `albums` action, you can include `songs`.
* Provide artists art in the `artists` method.
* Add `name` as an alias for `title` attribute for `songs` and stuff.
* Add a `.htaccess` file to enable CORS headers.
Closes#1292.
...due to changes on Transifex and the re-pluralization.
Some small changes to harmonize the texts and make them more
clear/userfriendly.
Fixes#1301
:-)
Fixed: plurals aren't recognized by `gather-messages.sh` since #1239
Translations and Translation catalog updated to the latest state and
plurals are readded to the POT.
Wrong gettext function calls
There were some issues when gettext is not installed on the system, due
to direct function calls to gettext and not to the encapsulated ones.
Closes#1211.
DSub not playing music over Subsonic API
The return value from `curl_exec` call in `Subsonic_API::follow_stream`
was not checked, leading to silent error when an incorrect URL was
provided (typically when `local_web_path` was not correctly set).
Also, the use of curl in `follow_stream` function was quite
counter-intuitive and unclear, I added a comment about it to help others
digging into the code.
Translation update as always^^
Modified `lib/general.lib.php` to fit current supported languages and
show more detailed what languages are not listed.
:-)
Not sure if it is a better template or not. I tried to rework it a bit,
making use of HTML comments which are interpreted by Github to provide
extra information to the reporter, while not polluting resulting issue.
I also tried to remove the checkboxes templates which was resulting in
"1 out of 7 tasks done" in the issues list and could be misleading.
Let me know what you think about it.