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

92 commits

Author SHA1 Message Date
Phyks (Lucas Verney)
e86ea9a099 Fix copyright date 2016-08-01 22:02:00 +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
9c3637b879 Change license from GPLv2 to AGPLv3 2015-12-02 20:46:34 +01:00
Afterster
a340c30872 Update code style script with new checks 2015-11-18 22:39:49 +01:00
Afterster
47a6585c88 Use latest php-cs-fixer version 2015-07-29 21:59:12 +02:00
Lawrence Brown
60a653daf4 copyright 2014 -> 2015
janitorial services
2015-01-04 21:36:41 +00:00
Afterster
a9a050daff Disable Beautiful Url on XML-API for retro-compatibility reason 2014-07-18 23:35:33 +02:00
Afterster
98664d2a84 Update copyright years 2014-05-18 09:53:57 +02:00
Afterster
5eceaf2aea Rename Config class to AmpConfig class to avoid conflict with PEAR (fix #68) 2013-12-13 08:36:23 +01:00
Afterster
22cb316a48 Ampache code now respect PSR-2 code style 2013-11-17 18:54:14 +01:00
Paul Arthur
4b4e7decf6 Try to fix remote streaming 2013-03-28 16:56:21 -04:00
Paul Arthur
5bc48fd3b2 Fix xml.server.php after changes to session
It was calling the wrong method in Session, which is entirely my fault.
Also, the correct method was broken. Gah.
2013-02-11 17:23:33 -05:00
Paul Arthur
58a3ab692e Move sessiony things from vauth into Session 2013-01-28 16:57:34 -05:00
Paul Arthur
ef4d366060 Cosmetics: death to tabs
The refactoring I've been doing has reminded me of my strong preference
for spaces, and I feel inclined to impose my will on the tree.
2013-01-26 03:38:46 -05:00
Paul Arthur
9c28ed5ad1 Consistently use _ in two-word class names 2013-01-25 19:54:11 -05:00
Paul Arthur
d87c539500 Cosmetics: clean up heads in server/ 2013-01-25 19:05:28 -05:00
Paul Arthur
f65076b93d Switch from _() to T_()
Even if we move away from php-gettext in the future, it's easy to
write a quick T_() as a simple wrapper; it's not so easy to rewrite
PHP to allow redeclaration of a function.
2012-04-12 21:13:29 -04:00
Paul Arthur
4aa256cb07 Clean up some PHPDoc crap
Remove misleading, unvetted, or in some cases just plain wrong data.
Packages and categories weren't being used correctly.  They still
aren't.
2011-04-04 17:37:10 -04:00
momo-i
f99643663c header comment modified for phpdoc 2011-02-03 09:43:46 +09:00
Karl 'vollmerk' Vollmer
b2efc456d0 Fix typo in api Thx cosmin 2010-03-24 12:03:01 +00:00
Paul 'flowerysong' Arthur
1cb0983ed0 Cosmetics: remove trailing whitespace 2010-03-14 20:14:52 +00:00
Karl 'vollmerk' Vollmer
45f382b06d Add vim modelines to all php files (Thx ascheel) 2010-03-14 04:53:15 +00:00
Karl 'vollmerk' Vollmer
24761d3863 Removed dead xmlrpc files, started work migrating to LastFM v2.0 api 2010-02-05 01:29:20 +00:00
Karl 'vollmerk' Vollmer
ef21e122d1 Finish moving stuff out of doc into class, still needs more work to deal with Version as well as variable response (JSON) 2009-11-23 14:54:19 +00:00
Karl 'vollmerk' Vollmer
e4ca74f2b0 start of move of functions for api from doc to class where they belong 2009-11-19 06:10:36 +00:00
Karl 'vollmerk' Vollmer
3da4eb1621 Sync of fix for #551 2009-11-18 23:11:00 +00:00
Karl 'vollmerk' Vollmer
5d80f343a4 Really really fix democratic localplay methods, now that i can test them 2009-11-14 06:27:09 +00:00
Karl 'vollmerk' Vollmer
890c189dc6 sync from branches fix for #548 2009-11-14 04:56:20 +00:00
Karl 'vollmerk' Vollmer
e6bf50079a Attempt to fix #548 reference function that exists... 2009-11-13 22:32:11 +00:00
Karl 'vollmerk' Vollmer
c4acbd9e64 Correctly reference instanced democratic play object rather then using a static call 2009-10-29 15:20:11 +00:00
Karl 'vollmerk' Vollmer
262beba4f5 Sync from 3.5.x set compatible to 350001, will update API to 360000 soon due to localplay changes 2009-09-15 14:19:35 +00:00
Karl 'vollmerk' Vollmer
d1e6460132 Sync addition of server version to API ping response 2009-09-14 14:00:07 +00:00
Karl 'vollmerk' Vollmer
32e011a25f whups 2009-09-02 14:06:53 +00:00
Karl 'vollmerk' Vollmer
a94d513410 Sync from branch 2009-09-02 14:06:08 +00:00
Karl 'vollmerk' Vollmer
02f8bb52fd fix url to song, and throw some non-working tag cloud crap in 2009-05-19 22:47:49 +00:00
Karl 'vollmerk' Vollmer
d84e62dba7 api fixes, added librefm scrobbler (untested) and fixed minor error in header file with rtl vs ltr languages also removed dead RioPlayer plugin 2009-05-18 17:34:22 +00:00
Karl 'vollmerk' Vollmer
5bd82180f5 some incomplete work cleaning up the api a bit 2009-05-17 15:51:29 +00:00
Karl 'vollmerk' Vollmer
cc36557ebd add in the democratic methods (untested) 2009-03-15 23:40:34 +00:00
Karl 'vollmerk' Vollmer
86ff429b36 template for democratic api stuff, no code 2009-03-15 11:31:38 +00:00
Karl 'vollmerk' Vollmer
eda8070b7f fix tags in the api 2009-03-10 21:45:15 +00:00
Karl 'vollmerk' Vollmer
a3e1bf7850 add video data to the API and add missing count="X" value to tag information 2009-03-10 00:03:16 +00:00
Karl 'vollmerk' Vollmer
242401a915 fix the update/add filters in the api and add them into artist and album 2009-03-09 00:59:44 +00:00
Karl 'vollmerk' Vollmer
ace25154eb do not overlap filters 2009-03-01 23:59:07 +00:00
Karl 'vollmerk' Vollmer
abc6eac0e3 maybe fix #404, unconfirmed implemented #405 other misc cleanup 2009-03-01 23:47:36 +00:00
Karl 'vollmerk' Vollmer
4bfe0a62f0 Correct Typo in Error # 2009-02-25 01:53:13 +00:00
Karl 'vollmerk' Vollmer
211a0c47a6 added localplay controls to api in addition to added/updated filters 2009-02-25 01:52:27 +00:00
Karl 'vollmerk' Vollmer
847ec135fd failed experiement, decent performance boost on verify by removing a bunch of queries, still some to moreve, should be able to make it faster 2009-02-19 05:02:37 +00:00
Karl 'vollmerk' Vollmer
5113c861d7 corrected update_media_from_tags() reference and added debug to api for ping() 2009-02-18 04:01:42 +00:00
Karl 'vollmerk' Vollmer
73809f0c1d improved error messages for api, includes additional information on handshake failure, also translate the errors 2008-11-29 16:48:12 +00:00
Karl 'vollmerk' Vollmer
0be17796f1 added in ping for the xmlapi returns the version, if a authID is passed it extends the session and then returns the version + new expire time 2008-11-19 18:44:46 +00:00