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

53 commits

Author SHA1 Message Date
Paul Arthur
1e05bfe554 Fix broken API method
Api::search_songs needed to declare a type, and Search::run needed to
honour that declaration.
2011-06-28 14:30:52 -04:00
Paul Arthur
7c491ec1c7 Clean up API::handshake
Use Access::check_network to check the ACLs. Be more restrictive about
validating timestamps.  Miscellaneous cleanup (line wraps, etc.)
2011-05-26 18:35:30 -04:00
Stephen A. Goss
a46d320e98 fix broken xml.server.php login on 32 bit servers 2011-05-23 12:20:16 -07:00
Paul Arthur
ed6dc3df9e Prevent spurious API login failure messages. 2011-04-26 16:36:43 -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
Paul Arthur
ec14f90bbc Remove unnecessary hack. 2011-04-04 15:06:06 -04:00
Paul Arthur
a9da6a6fa2 Reworked search
Still has tentacles and should have been integrated into the existing
API/Browse implementation better, but it's functional.
2011-04-02 00:48:58 -04:00
momo-i
f99643663c header comment modified for phpdoc 2011-02-03 09:43:46 +09:00
momo-i
d703009677 header comment for phpdoc 2011-02-03 07:30:23 +09:00
momo-i
add54bc230 test header for phpdoc. now using only classes and libraries. 2011-02-02 16:48:45 +09:00
momo-i
bc7344c9f5 test for phpdoc 2011-02-02 13:35:26 +09:00
Paul 'flowerysong' Arthur
7f36693353 Change Browse from static to instantiable. Among other things, fixes FS#13;
probably also breaks things.  Most things appear to still work, but I may have
missed some cases.
2010-06-10 05:33:57 +00:00
Paul 'flowerysong' Arthur
c29052f9bc Use strpos correctly in the API class. Fixes FS#68, reported by Bryce Geiser. 2010-05-03 17:35:17 +00:00
Paul 'flowerysong' Arthur
feae94b52b Cosmetics. %s/assoicated/associated/g 2010-04-28 22:25:23 +00:00
Paul 'flowerysong' Arthur
1cb0983ed0 Cosmetics: remove trailing whitespace 2010-03-14 20:14:52 +00:00
Paul 'flowerysong' Arthur
d78c207f76 Cosmetics: use tabs for indentation, tweak some indentation/coding style. 2010-03-14 06:10:27 +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
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
28fcb8f8ac It should not have taken me that long to find the one typo 2009-08-20 15:30:24 +00:00
Karl 'vollmerk' Vollmer
f2f017d2b8 add video counts to api handshake 2009-03-31 20:53:39 +00:00
Karl 'vollmerk' Vollmer
9b8d212ef2 escape after log entry and ptoning 2009-03-17 15:12:04 +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
9eca0afefa add clean to handshake information 2009-03-02 00:08:25 +00:00
Karl 'vollmerk' Vollmer
ace25154eb do not overlap filters 2009-03-01 23:59:07 +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
0bdecac947 change handshake date format to ISO 8601 2009-02-24 16:33:38 +00:00
Karl 'vollmerk' Vollmer
b9a2603025 Finish IPv6 support 2009-02-01 01:06:46 +00:00
Karl 'vollmerk' Vollmer
245b69d645 some other minor changes, nothing big 2008-11-29 18:38:46 +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
2562b5a00b add in require_localnet_session configuration 2008-11-15 06:41:41 +00:00
Karl 'vollmerk' Vollmer
0a08d312b7 move to sha256 for passwords API and Interface 2008-10-30 17:17:27 +00:00
Karl 'vollmerk' Vollmer
9a251be9a6 switched to sha1() api authentication method 2008-10-30 15:12:55 +00:00
Kevin James 'purdyk' Purdy
e912d72ed4 Updated handshake stats SQL broken by lack of genre column in songs table. 2008-08-14 22:34:40 +00:00
Karl 'vollmerk' Vollmer
97bcd21404 added direct links back in, added batch download to single artist view, removed useless cruft 2008-05-26 08:28:09 +00:00
Kevin James 'purdyk' Purdy
7bd22a36da Typo bugfix 2008-05-02 20:28:30 +00:00
Karl 'vollmerk' Vollmer
d2b70bbc61 added genre and playlist count to the xmlapi handshake per devs request 2008-04-27 06:25:19 +00:00
Karl 'vollmerk' Vollmer
311ac99112 minor fixes to the playlist, fixed up the democratic playlist kinda, still does not work completely 2008-03-10 05:24:59 +00:00
Karl 'vollmerk' Vollmer
bd270b0227 fixed the acl issue... sigh 2008-03-07 06:51:52 +00:00
Karl 'vollmerk' Vollmer
2c337852cf major corrections to reading of preferences and a few misc fixes which I have now forgotten 2008-02-29 06:14:46 +00:00
Karl 'vollmerk' Vollmer
31d5e782de removed ip2int, int2ip custom functions fixed browse issues when adding filters in specific order 2008-02-28 05:44:49 +00:00
Karl 'vollmerk' Vollmer
34b92d2dd5 fixed now playing for the API and lack of session extend when using the API 2007-12-24 01:28:07 +00:00
Karl 'vollmerk' Vollmer
ea8f3e685b fixed API calls, cleaned up old functions that are no longer needed 2007-12-23 09:01:09 +00:00
Karl 'vollmerk' Vollmer
897b35aedd fixed issues with user edit and create, fixed seek errors (Thx Karl Hungus) started digging myself out of the session tarded hole I created, API is broken with this commit 2007-12-20 07:31:00 +00:00
Karl 'vollmerk' Vollmer
9661434379 fixed three bugs found by purdyk with the api 2007-12-19 01:36:16 +00:00
Karl 'vollmerk' Vollmer
77bc16f525 fixed dbl negative on xml api and enabled the timestamp check as well as fixed a typo in the config file 2007-12-18 15:16:02 +00:00
Karl 'vollmerk' Vollmer
d3176c22e9 added little note on access add as to the defaults, fixed api to use session_length added check for session functions with redirect to /test.php on failure 2007-12-15 08:54:54 +00:00
Karl 'vollmerk' Vollmer
67cbb218cd renamed xml-rpc acl to rpc, added default mime type of image/jpg and added config options for batch download to the fs, no garbage collection for non-completed downloads yet. 2007-11-22 17:44:10 +00:00
Karl 'vollmerk' Vollmer
8c99cc8770 added genres as a new xml method, and improved logging 2007-11-20 08:32:15 +00:00
Karl 'vollmerk' Vollmer
5869da3fe5 little more work on the xml api, artists and albums now works 2007-11-20 06:23:05 +00:00