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

39 commits

Author SHA1 Message Date
Phyks (Lucas Verney)
e86ea9a099 Fix copyright date 2016-08-01 22:02:00 +02:00
Phyks (Lucas Verney)
2bb142eeb8 Fix issue #1260
Fix coding guidelines incoherences. Code should match PSR1/2 now, and
php-cs is set to check it on each commit.

Also fixed the Git hook to take into account only added, modified,
copied and renamed files (preventing errors when trying to check deleted
files).

Closes #1260.
2016-08-01 21:55:14 +02:00
Phyks (Lucas Verney)
62b2b3e3b4 Fix issue #955
Introduce a "lang" cookie, and use it to translate `test.php`.

Closes #955.
2016-06-23 20:07:11 +02:00
Afterster
9c3637b879 Change license from GPLv2 to AGPLv3 2015-12-02 20:46:34 +01:00
Afterster
5124a5ed4c Merge branch 'develop' of https://github.com/Psy-Virus/ampache into Psy-Virus-develop
Conflicts:
	templates/show_album_row.inc.php
	templates/show_artist_row.inc.php
	templates/show_label_row.inc.php
	templates/show_playlist_song_row.inc.php
	templates/show_song_row.inc.php
	templates/show_video_row.inc.php

Apply align_equals and concat_with_spaces on code style
2015-11-07 08:08:59 +01:00
Afterster
47a6585c88 Use latest php-cs-fixer version 2015-07-29 21:59:12 +02:00
Afterster
517cef69b3 Close sql connection before sending media stream
Add cookie with authenticated username, for JavaScript use and better cache handling on visitors
2015-05-19 21:51:12 +02:00
Afterster
242f7b830a Fix login form when loading in dynamic page 2015-01-28 07:15:31 +01:00
Lawrence Brown
60a653daf4 copyright 2014 -> 2015
janitorial services
2015-01-04 21:36:41 +00:00
Afterster
fad7de7894 Add session_destroy() to Session::destroy method 2014-11-12 22:23:27 +01:00
Afterster
2c221e8216 Add user geolocation and user statistical graphs 2014-10-06 01:05:17 +02:00
Afterster
160c59dea2 Fix Scrutinizer issues 2014-09-30 07:47:21 +02:00
Afterster
3ad1653a89 Add username to session data when creating a session through 'remember me' 2014-09-01 17:37:47 +02:00
Afterster
a195839fdf Destroy remember_cookie at explicit logout only 2014-09-01 17:28:12 +02:00
Afterster
44d97d4b74 Real 'remember me' feature
Change song_preview to plugins
Fix 7digital preview (2 legged oauth authentication)
2014-08-31 22:40:50 +02:00
Afterster
80cd08ed04 Fix Scrutinizer reported errors 2014-07-09 23:27:14 +02:00
Afterster
b4e932c741 Fix 'Ampache User' on broadcasts (fix #244) and broadcast initial song position (fix #243)
Add access-control header and remove JSON xmlns attribute on Subsonic API
2014-06-10 06:20:56 +02:00
Afterster
b16958f44e Remove old code and fix old php errors 2014-05-25 22:54:04 +02:00
Afterster
814297a030 Fix create democratic playlist
Fix democratic web player play
Removed search descriptor lib/init.php inclusion
Update CHANGELOG.md
2014-05-25 12:22:57 +02:00
Afterster
98664d2a84 Update copyright years 2014-05-18 09:53:57 +02:00
SUTJael
7e4e12f53b Fix #173. Fix rating. Fix plenty of Warnings. 2014-03-27 15:28:58 +01:00
Afterster
6e5122302c Add myPlex support 2014-02-17 07:49:22 +01:00
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