| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Check the things in an order that makes sense and minimise duplication.
|
| |
|
|
|
|
|
| |
Maybe if there are multiple examples for transcode_cmd people will
stop and think about what they're doing.
|
|
|
|
|
| |
Will hopefully return more useful information during installation, which
is the only place it's actually used and useful.
|
| |
|
|
|
|
|
|
|
|
|
| |
If we're not connecting locally, tell MySQL to allow our new user to
connect from any host. Previously we restricted them to connecting
from the database host, which is clearly wrong.
It would be slightly better to properly restrict it to the Ampache
host, but let's not overcomplicate the install and confuse the users.
|
|
|
|
|
| |
If we're using a socket, grant privileges to user@localhost, not
user@socketname.
|
| |
|
|
|
|
|
|
| |
Splitting some things off to ampache-catalog doesn't really make sense
to me and makes it harder to see the entire process during catalog
operations.
|
|
|
|
| |
'32' != '32M'
|
|
|
|
|
| |
This function is never supposed to lower the limit, and -1 is a flag
value for no limit.
|
|
|
|
| |
Return false and unset the id if the song isn't in the database.
|
|
|
|
| |
This matches what the config files claims is the default.
|
|
|
|
|
|
| |
The join was incorrect, sometimes resulting in loss of ratings.
Fixes GH #22
|
|
|
|
| |
Fixes GH#23
|
|
|
|
|
| |
It wasn't large enough to enter IPv6 addresses.
Fixes GH #24
|
|
|
|
| |
Fixes GH #21
|
| |
|
|
|
|
|
| |
Remove lang/charset copypasta, unnecessary setting of $prefix,
unnecessary constants.
|
|
|
|
|
|
|
| |
Evidently Catalog::get_catalog_ids() wasn't quite as unused as I thought
it was.
Fixes GH #18
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Correct vim modeline. Remove useless switch.
|
| |
|
| |
|
|
|
|
| |
Also fixes democratic voting.
|
| |
|
| |
|
|
|
|
|
| |
'download' wasn't in the list of allowed types for Stream_Playlist, so
download attempts were processed as M3U playlists.
|
| |
|
|
|
|
|
| |
We should only look up by MBID if we actually have an MBID. Might fix
this issue.
|
|
|
|
|
| |
Should think about making the upgrade section of the README more useful,
but this information isn't particularly helpful nowadays.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
It gets its own directory containing the minimally modified contents of
its upstream source tarball.
|
| |
|
|
|
|
| |
It didn't work.
|
|
|
|
| |
Strong and stupid indeed.
|
| |
|
| |
|
|
|
|
| |
http://dbareactions.tumblr.com/post/41455377237/when-i-see-app-passwords-stored-in-clear-text-in
|