1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-05 19:41:55 +02:00
Commit graph

38 commits

Author SHA1 Message Date
SUTJael
4eaf4f7e8a "flagged" (unused) feature removed. Will light DB interaction. All seems good for me, need to check to be sure.
Fix jPlayer theme
2013-11-29 00:23:17 +01:00
Afterster
beae0b97a2 Remove jPlayer for live stream and add Muses Radio Player 2013-11-23 15:57:43 +01:00
Afterster
1745e204cd Fix code style 2013-11-23 01:11:19 +01:00
Afterster
619ca48ffe Add paging to information pages (fix #8) 2013-11-23 01:06:58 +01:00
Afterster
dac2c79fcf Start adding catalog disable/enable (#33). Currently not working for stats and search 2013-11-22 18:46:52 +01:00
Afterster
22cb316a48 Ampache code now respect PSR-2 code style 2013-11-17 18:54:14 +01:00
Paul Arthur
4118b42f47 Drop sort in Query::_serialize()
On second thought, preserving the order might be important.
2013-06-16 01:00:04 -04:00
Paul Arthur
05009329cf Add naive compaction for Query serialization
Can be very efficient with the right input, but probably has
degenerative cases where it increases the size. Worst-case size
increase is one character per ID in the result set, so it shouldn't be
an issue.

String lengths for a large search result that was unstorable before:
serialize: 1991874
json_encode: 756249
cooked: 244

And some with more discontinuity:
serialize: 1772238
json_encode: 674751
cooked: 37950

serialize: 164942
json_encode: 65771
cooked: 25369
2013-06-12 13:46:39 -04:00
Paul Arthur
a957ab19cd Abstract serialization within Query 2013-06-12 13:26:03 -04:00
Paul Arthur
778f5b203d Parameterise queries in Query 2013-06-12 13:26:03 -04:00
Paul Arthur
438a2a9023 Don't cache browses for the API
The API will never request it again, so caching the query just wastes
space.
2013-06-12 13:25:57 -04: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
7703c9431d Query::clean() -> Query::gc() 2013-01-26 00:19:43 -05:00
Paul Arthur
16c3ba34fd Cosmetics: clean up heads in lib/ 2013-01-25 18:38:22 -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
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
Chris Slamar
4910d13fa4 Catalog Filtering Added Bug#60 2011-01-24 19:25:01 -06:00
Paul 'flowerysong' Arthur
733f507937 Browsing by tag is broken. This doesn't fix it. 2010-06-15 21:18:17 +00:00
Paul 'flowerysong' Arthur
4b5756ba9d Miscellaneous cleanup. 2010-06-13 08:11:09 +00:00
Paul 'flowerysong' Arthur
836af45d57 Remove leftover references to $id from before I decided to make Query non-static. 2010-06-12 23:12:13 +00: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
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
45ea1a80fa Make the tag cloud do something, only song browsing for now... 2010-02-23 04:12:42 +00:00
dipsol
a7838e2a13 Replaced almost every dba::query to dba::read or dba::write. 2009-12-14 08:06:20 +00:00
Karl 'vollmerk' Vollmer
d60ba66efd sync of fix for #554 2009-11-19 00:25:50 +00:00
Karl 'vollmerk' Vollmer
e1eff3c586 fix the two remaining identified tag issues from #475 2009-05-26 23:28:36 +00:00
Karl 'vollmerk' Vollmer
8c00ffe255 remove manage democratic playlists under fix link for radio import, prevent non-array elements from causing foreach() errors in resort_results() 2009-03-22 15:24:23 +00:00
Karl 'vollmerk' Vollmer
fdb7c58cb1 fix typo causing height to not display on art retrival, update to db allowing gc of tmp_browse, add extension to api album art image urls 2009-03-15 16:16:04 +00:00
Karl 'vollmerk' Vollmer
35d6670bd5 added sorting to the video browse, also made the api add_lt, add_gt work for artist and album (untested) 2009-03-08 23:42:52 +00:00
Karl 'vollmerk' Vollmer
04bcb58be9 move over to query class as backend for browse 2009-03-08 22:39:38 +00:00
Karl 'vollmerk' Vollmer
2799c89f58 add length to the video browse, put in some stuff for the now playing table up the config version in prep for another alpha 2009-03-08 03:54:04 +00:00
Karl 'vollmerk' Vollmer
abc6eac0e3 maybe fix #404, unconfirmed implemented #405 other misc cleanup 2009-03-01 23:47:36 +00:00