1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-03 09:49:30 +02:00
Commit graph

4725 commits

Author SHA1 Message Date
Phyks (Lucas Verney)
4c2b098c57 Fix error message in the logs due to include
When include is not passed to `artists` or `albums` API function, it
will default to `NULL`. Make it default to `[]` to avoid a message in
the error log.
2016-08-06 21:28:43 +02:00
Phyks (Lucas Verney)
2053264888 Allow a user to overcome limit limitation by passing limit=none 2016-08-05 14:20:59 +02:00
Phyks (Lucas Verney)
4df21cc3ea Return total count of items
Return total count of items in API actions which make use of `filter`
and `offset` parameters. This way, the user of the API can know easily
if he should query for more items or not, and implement a pagination
mechanism on his side.
2016-08-05 13:58:48 +02:00
Phyks (Lucas Verney)
e1887f88de Remove DEPRECATED comment 2016-08-05 13:58:15 +02:00
Afterster
e5211ffe69 Merge pull request #1358 from plabadens/develop
Minor correction to tab theming for reborn theme
2016-08-05 08:21:18 +02:00
Afterster
b6bf4268ae Merge pull request #1357 from Phyks/issue_1356
Fix issue #1356
2016-08-05 08:14:18 +02:00
Afterster
f76e7e6228 Merge pull request #1269 from Phyks/issue_1260
Fix coding guidelines incoherence (fix #160)
2016-08-05 08:14:06 +02:00
Pierre Labadens
2dfb3a26ba Minor correction to tab theming for reborn theme
Override tab color in light.css and dark.cdd
2016-08-03 14:57:57 +02:00
Phyks (Lucas Verney)
7895409a2d Fix issue #1356
Invalid URL type for input fields for paths

Some input fields were wrongly assigned a "url" type and browsers were
enforcing a valid URL to be put in these fields. Set them back to text.

Closes #1356.
2016-08-02 18:52:28 +02:00
Phyks (Lucas Verney)
8e0b38e0c0 Some extra PHPCS fixes 2016-08-01 22:10:12 +02:00
Phyks (Lucas Verney)
e86ea9a099 Fix copyright date 2016-08-01 22:02:00 +02:00
Phyks (Lucas Verney)
3c508686ca Fix for PSR0 compatibility
Not sure how relevant it is.
2016-08-01 21:55:14 +02:00
Phyks (Lucas Verney)
2bb142eeb8 Fix issue #1260
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.
2016-08-01 21:55:14 +02:00
Afterster
178e53a82e Merge pull request #1354 from Phyks/issue-template
Update issue template
2016-07-31 10:00:18 +02:00
Afterster
8d3a9e927f Merge pull request #1348 from Phyks/api_update
Basic include support in the XML API
2016-07-31 10:00:05 +02:00
Lucas Verney
8eba3649cf Update ISSUE_TEMPLATE.md 2016-07-30 23:22:19 +02:00
Lucas Verney
68aeefc30a Update issue template 2016-07-30 23:15:35 +02:00
Phyks (Lucas Verney)
31ef95a3ed Basic include support in the XML API
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`.
2016-07-25 11:14:47 +02:00
Afterster
a0d76171de Merge pull request #1346 from Phyks/issue_1339
Use correct fields type in modules and localplay
2016-07-24 15:51:10 +02:00
Afterster
d1537e32c0 Merge pull request #1342 from Gano16/patch-2
Fix typo: s/quiting/quitting/
2016-07-24 15:37:11 +02:00
Afterster
2f502c036f Merge pull request #1344 from Phyks/issue_1337
Bump Guzzle version, mitigate HTTPOXY.
2016-07-24 15:36:22 +02:00
Afterster
82a80837de Merge pull request #1345 from Psy-Virus/develop
POT Update related to #1342
2016-07-24 15:36:04 +02:00
Afterster
c88f354586 Merge pull request #1343 from Phyks/issue_1292
[WIP] Improve API, as discussed in #1292
2016-07-24 15:35:52 +02:00
Phyks (Lucas Verney)
088fa00b36 Use correct fields type in modules and localplay
This fixes #1339.
2016-07-22 16:11:41 +02:00
Manuel
e6d8bfa6ef POT Update related to #1342
POT Update related to #1342
2016-07-22 15:55:07 +02:00
Phyks (Lucas Verney)
21b321098c Improve API, as discussed in #1292
* 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.
2016-07-22 15:52:55 +02:00
Phyks (Lucas Verney)
4bafb4247f Bump Guzzle version, mitigate HTTPOXY.
Fixes #1337.
2016-07-22 15:48:39 +02:00
Morgan
1cdd89b4e5 Fix typo: s/quiting/quitting/ 2016-07-22 11:12:22 +02:00
Afterster
c4a51bc1b1 Merge pull request #1309 from gturri/develop
Fix typo: s/folowing/following/
2016-07-20 21:12:09 +02:00
Afterster
52303fa1a0 Merge pull request #1335 from Psy-Virus/develop
General translation update...
2016-07-20 21:11:02 +02:00
Manuel
025fbdaa9f General translation update...
...due to changes on Transifex and the re-pluralization.

Some small changes to harmonize the texts and make them more
clear/userfriendly.

Fixes #1301

:-)
2016-07-20 17:19:35 +02:00
Guillaume Turri
0801fc93a9 Fix typo: s/folowing/following/ 2016-07-20 07:27:15 +02:00
Afterster
22eadddd59 Merge pull request #1327 from AshotN/patch-1
Fix Timeline Function
2016-07-13 06:36:52 +02:00
Afterster
86f5905088 Merge pull request #1330 from Psy-Virus/develop
General Translation update
2016-07-13 06:35:58 +02:00
Manuel
b48c1e360a General Translation update
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.
2016-07-12 19:10:37 +02:00
Ashot Nazaryan
e36a8e2615 Fix Timeline Function 2016-07-12 01:49:54 -07:00
Afterster
4c9d8fb639 Merge pull request #1326 from Tetram76/develop
Activate jplayer "preload" option
2016-07-12 07:21:46 +02:00
Tetram76
aeb7fee0b9 activate jplayer "preload" option 2016-07-11 11:37:44 +02:00
Afterster
b17f8d792a Merge pull request #1319 from Phyks/issue_1211
Fix issue #1211
2016-07-08 07:19:38 +02:00
Phyks (Lucas Verney)
10075e4fbe Fix issue #1211
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.
2016-07-07 10:39:29 +02:00
Afterster
cb460be05b Merge pull request #1310 from Niols/issue_1294
Add support for unicode in notifications
2016-07-04 21:02:30 +02:00
Niols
03ba705bdc add support for unicode in notifications
fix #1294
2016-06-30 10:06:45 +02:00
Afterster
c053d43816 Merge pull request #1275 from Phyks/codacy
Codacy fixes
2016-06-30 07:57:10 +02:00
Afterster
b53920bbcb Merge pull request #1288 from Phyks/issue_955
Fix issue #955
2016-06-30 07:55:26 +02:00
Afterster
c78b0f7c9d Merge pull request #1276 from Phyks/issue_1232
Bump composer.lock to update xbmc-php-rpc version
2016-06-30 07:43:12 +02:00
Afterster
40ec5ee989 Merge pull request #1289 from Phyks/issue_1203
DSub not playing music over Subsonic API, attempt to give more infos
2016-06-29 08:30:45 +02:00
Afterster
49cc81713f Merge pull request #1287 from Psy-Virus/develop
General translation update
2016-06-29 08:28:08 +02:00
Afterster
fc8f756a99 Merge pull request #1283 from Phyks/issue_1282
Fix issue #1282
2016-06-29 08:27:02 +02:00
Afterster
c0d0162f56 Merge pull request #1280 from BoBeR182/develop
Add DuckDuckGo search engine
2016-06-29 08:17:09 +02:00
Phyks (Lucas Verney)
3ab820a101 Fix issue #1203
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.
2016-06-23 23:19:32 +02:00