1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-03 17:59:21 +02:00
Commit graph

17 commits

Author SHA1 Message Date
Afterster
b4b8f33b85 Add OpenID authentication (fix #113) 2014-01-18 17:49:41 +01:00
Afterster
26b0320c4a Add song previews on missing albums, EchoNest API support 2013-12-28 16:40:35 +01: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
b69b5a44f7 Fix code style 2013-12-12 08:36:11 +01:00
SUTJael
d803fdfbee Ability to see used backend in "recently played" table (Fix #62) 2013-12-11 15:23:08 +01:00
Afterster
f50d8a93a5 Add optional client name when playing 2013-12-07 09:41:20 +01:00
Afterster
22cb316a48 Ampache code now respect PSR-2 code style 2013-11-17 18:54:14 +01: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
ee85e4d08d Change Dba::error() and audit its callers
Will hopefully return more useful information during installation, which
is the only place it's actually used and useful.
2013-05-27 20:32:02 -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
205ce073b5 Fix the session type exception for use_auth=false
The table definition changed slightly and the old workaround didn't
work.  If auth is disabled, we really don't care that much, so just drop
the attempt to constrain type in that case.
2013-01-31 15:37:19 -05:00
Paul Arthur
54ccd127d7 Use Horde_Browser for browser detection in Session
That's one of the reasons we have it, after all.
2013-01-29 10:42:33 -05:00
Paul Arthur
4c03d447a5 Use parameterised queries in Session 2013-01-29 10:42:33 -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
Paul Arthur
fbbb015950 Use Session for stream sessions 2013-01-28 21:46:00 -05:00
Paul Arthur
ad4ba9ff9a Drop stale references to 'xml-rpc' 2013-01-28 21:23:15 -05:00
Paul Arthur
58a3ab692e Move sessiony things from vauth into Session 2013-01-28 16:57:34 -05:00