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

761 commits

Author SHA1 Message Date
Afterster
7b64802f62 Rename Ampache to Ampache-doped 2014-02-01 10:30:13 +01:00
Afterster
253503ad21 Check xbmc controller instance 2014-01-22 22:40:07 +01:00
Afterster
89d7eb8f4c Update CHANGELOG.md 2014-01-18 18:23:40 +01:00
Afterster
8d7ce473d0 Add share feature 2014-01-15 23:55:19 +01:00
Afterster
618973fc69 Updated CHANGELOG 2014-01-06 07:34:02 +01:00
Afterster
0451ee68f7 Added 2 bug fix in CHANGELOG 2014-01-04 10:04:56 +01:00
Afterster
2df89044df Update CHANGELOG 2014-01-04 10:02:58 +01:00
Afterster
d5a7928722 Iframe mode activated by default now, ready for 3.6-doped release 2013-12-31 00:21:15 +01:00
Afterster
42f4ba3fa9 Fix iframe play action reload 2013-12-30 09:42:49 +01:00
Afterster
287406a1ef Remove additional md5 from scrobbler class (password is already stored hashed) 2013-12-29 22:24:48 +01:00
Afterster
1f1ae5e141 Add Headphones support 2013-12-29 13:26:31 +01:00
Afterster
5242ee5b6a Update CHANGELOG.md 2013-12-29 01:58:57 +01:00
Afterster
6b40e51c03 Updated CHANGELOG and version to 3.6-doped 2013-12-29 01:56:19 +01:00
Afterster
8c6c0da872 Fix PLUGINS doc 2013-12-26 22:35:34 +01:00
Afterster
9aa505e320 Fix plugins and add new Process Wanted plugin type 2013-12-26 22:35:02 +01:00
Afterster
a98ecd7376 Requests project replace Snoopy project and update to MusicBrainz API v2 2013-12-26 16:54:04 +01:00
Paul Arthur
348c4034ca Update CHANGELOG 2013-10-30 21:33:31 -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
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
88196ce34b Remove old changelog 2013-06-03 02:08:51 -04:00
Paul Arthur
96d0d4533c Drop validateEmail
PHPMailer will validate the format of the address, and that's all we
really want.
2013-05-30 18:34:53 -04:00
Paul Arthur
acf5cd0a4b Bump PHPMailer to 5.2.6
Development has moved to GitHub: https://github.com/PHPMailer/PHPMailer
2013-05-30 18:12:15 -04:00
Paul Arthur
6a7df20374 Onward to the future 2013-05-30 17:33:06 -04:00
Paul Arthur
22edd18649 Finalise 3.6-alpha6 2013-05-30 17:28:49 -04:00
thinca
c394d51581 Use the correct operator for 'before date' rules 2013-05-30 13:04:27 -04:00
Paul Arthur
78d220fbd5 Register session_write_close shutdown function
http://php.net/manual/en/function.session-set-save-handler.php:
    When using objects as session save handlers, it is important
    to register the shutdown function with PHP to avoid unexpected
    side-effects from the way PHP internally destroys objects on
    shutdown and may prevent the write and close from being called.
    Typically you should register 'session_write_close' using the
    register_shutdown_function() function.

We're not using objects as session save handlers, but some people
(notably, Synology users) seem to be encountering a similar issue
related to the timing of object destruction. Closing the session
earlier in the shutdown process is a perfectly sane thing to do, so
let's do it.
2013-05-30 12:55:00 -04:00
Paul Arthur
eac07ede27 install: Add support for MySQL sockets
If we're using a socket, grant privileges to user@localhost, not
user@socketname.
2013-05-27 19:37:12 -04:00
Paul Arthur
f0454c03e5 Set the memory_limit to at least 32M
'32' != '32M'
2013-05-15 22:16:20 -04:00
Paul Arthur
ecf095fc06 Fix Rating::gc()
The join was incorrect, sometimes resulting in loss of ratings.

Fixes GH #22
2013-05-13 22:13:06 -04:00
Paul Arthur
9a62b49341 Make Catalog::count_songs use the correct variable
Fixes GH#23
2013-05-13 21:36:12 -04:00
Paul Arthur
6e33efbe23 Increase the field size in the ACL entry form
It wasn't large enough to enter IPv6 addresses.
Fixes GH #24
2013-05-13 21:11:38 -04:00
Paul Arthur
f661e4f6cf Add a working check for database existence
Fixes GH #21
2013-05-13 21:11:38 -04:00
Paul Arthur
3ade42684d Fix 'foo all catalogs' via the web interface
Evidently Catalog::get_catalog_ids() wasn't quite as unused as I thought
it was.

Fixes GH #18
2013-05-13 19:43:11 -04:00
Paul Arthur
f22ceb42c2 Add support for nonstandard MySQL ports 2013-05-13 17:33:12 -04:00
Paul Arthur
6bed09fbc9 Bump getID3 version 2013-05-13 16:51:34 -04:00
Paul Arthur
cf5a674965 Update the stream_playlist table to use MyISAM
InnoDB's performance is unacceptable out of the box, and there's no
clean way to batch these insertions into transactions, and stuff.

Benchmarks for 1000 inserts:
InnoDB: 54.826
MyISAM: 0.091
InnoDB transaction: 0.159

Fixes GH #14
2013-04-29 15:18:35 -04:00
Paul Arthur
df92e52dd3 Clean up Random::play_url()
Include the correct type parameter in the URL and rename the random
type parameter to random_type.

Remove unused parameters from the function call.

Should fix issue #11
2013-04-23 14:43:37 -04:00
Paul Arthur
8033c8b7a7 Cosmetics: html5_player.php
Correct vim modeline. Remove useless switch.
2013-04-15 16:47:57 -04:00
Paul Arthur
1113d91bf1 Finalise 3.6-alpha5 2013-04-15 01:39:20 -04:00
Paul Arthur
8cc720fce1 Fix date format in CHANGELOG 2013-04-13 14:32:29 -04:00
Paul Arthur
2a6ac956ed Drop MIGRATION
Should think about making the upgrade section of the README more useful,
but this information isn't particularly helpful nowadays.
2013-03-29 14:46:18 -04:00
Paul Arthur
a5e2c4da3c INSTALL was outdated and wrong and bad. 2013-03-29 14:44:21 -04:00
Paul Arthur
8dde61d1b0 Cosmetics: fix markdown in CHANGELOG 2013-03-29 14:17:33 -04:00
Paul Arthur
a936b779a7 Reformat CHANGELOG some more, move old entries out 2013-03-29 14:14:06 -04:00
Paul Arthur
53e029692c Try slightly reformatting CHANGELOG 2013-03-29 14:02:55 -04:00
Paul Arthur
0ecaf69369 First pass at making a github README 2013-03-27 14:30:49 -04:00
Paul Arthur
453a161a78 Scrub user data in User->update()
Fixes another persistent XSS vulnerability.
2013-02-07 16:36:44 -05:00
Paul Arthur
266f7cea9b Fix persistent XSS vulnerabilities in AJAX editing
Based on merge request #22 from Jean-Lou Hau, but does the escaping for
everything and in a different place.
2013-02-07 15:20:44 -05:00
Paul Arthur
0905271377 Clean up vainfo somewhat
Handling of unknown tags was wrong (we should just pass them through and
hope for the best, not do some weird-ass id3v2 thing).  Add matroska to
the list of known tags. Switch the video types to a generic cleanup
function and move the several-times-duplicated general information
gathering into the general information gathering function where it
belongs.  Treat the general information as another tag type instead of
special-casing it as a complete override through array_merge. Drop the
useless iconv stuff (getID3 already translates tags to our requested
charset). Rename some functions to more closely match their purpose.
Fix some private functions that were marked public. Fix encoding
detection, which has been completely broken for a while.
2013-02-05 11:42:56 -05:00
Paul Arthur
b7c9678012 Switch Dba from mysql to PDO-MySQL
The mysql extension is deprecated in PHP 5.5 and will be removed in the
future.
2013-01-29 03:08:52 -05:00