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

181 commits

Author SHA1 Message Date
Paul Arthur
f47e8e7f7d Remove unused mysql_* values 2012-03-13 18:32:57 -04:00
Paul Arthur
fe5d18095e Refactor similar init code into new init-tiny.php
Several places were doing operations that were practically the same
(loading core libraries and setting some variables), with varying
levels of success in remembering to do the right things in the right
order. Making a separate minimal init.php that doesn't worry about
some of the sanity checks and session bumpf makes this cleaner and
easier to maintain.
2012-03-13 17:57:07 -04:00
Paul Arthur
7983182503 Use a flag to determine whether an outdated database is OK
This matches the handling of NO_SESSION and gives us some needed leeway
for the CLI tools.
2012-03-06 15:32:56 -05:00
Paul Arthur
34b0eaf233 Clean up uses of Config::set and Config::set_by_array
Consistently pass in a boolean instead of a string or an int for the
clobber flag.
2012-03-06 12:18:57 -05:00
Paul Arthur
3389d513fe Explicitly load vauth in init.php
As there are some code paths that do session manipulation without any
calls to vauth first, relying on autoload may result in our custom
session handler not being used.
2012-03-02 09:45:43 -05:00
Paul Arthur
69ec29517d Move session extension outside the auth block in init.php
This might help ensure that we're always extending the session when we
should.
2012-03-01 23:58:35 -05:00
Paul Arthur
82d0fb5518 Refactor the initial checks in init.php
Reduce the amount of code duplication.
2012-02-21 12:33:21 -05:00
Paul Arthur
295f406fc5 Redirect to /test.php for PHP <5.3 on all platforms
5.3 is now required on all platforms, not just Windows.
2012-02-21 12:08:53 -05:00
Karl Vollmer
1e9aced735 Whups 2011-12-01 20:34:08 -04:00
Karl Vollmer
56eb2ac7dc Fixed two PHP warnings, and some issues with how users were being constructed
in init (which makes me wonder) and started trying to figure out why libre.fm broke
2011-12-01 15:59:33 -04:00
Karl Vollmer
806b0c0b85 Add AmpacheAPI library 2011-11-23 09:38:20 -04:00
Paul Arthur
374e787f7a Remove special case for loading vauth
Synology is (probably) able to load vauth, it just doesn't like our custom
session handler.
2011-11-10 19:22:29 -05:00
Paul Arthur
58a7f6b2a6 Fix custom session handler.
We were manually loading the vauth class (apparently to work around a
bug in Synology's PHP) but not calling vauth::_auto_init(), so the
default session handler was used.  This normally does session locking,
so bad things happened.
2011-11-09 23:01:17 -05:00
dipsol
c6b25468d6 FS#190 - Add support for HTTP_FORWARDED (Forum patch) 2011-09-15 09:21:45 +02: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
add54bc230 test header for phpdoc. now using only classes and libraries. 2011-02-02 16:48:45 +09:00
momo-i
245400143d add force_ssl (for ssl reverse proxy) 2011-02-01 07:16:22 +09:00
Elias Probst
e0f8bbc638 Squashed commit of the following:
commit 8a5127572c89f28f060d3ad0819136f79b65faef
Author: Elias Probst <mail@eliasprobst.eu>
Date:   Wed Dec 8 03:51:20 2010 +0100

    Rewrote the error message for duplicate ACLs. Expose the error message to the UI.
2010-12-08 08:39:38 -04:00
Paul 'flowerysong' Arthur
4f3d8851cf Break everyone's config by changing metadata gathering. 2010-10-06 16:58:31 +00:00
Paul 'flowerysong' Arthur
4b5756ba9d Miscellaneous cleanup. 2010-06-13 08:11:09 +00:00
Karl 'vollmerk' Vollmer
e3a62e8c5f fix notice due to undefined indexes when checking for unset config values 2010-05-04 19:51:23 +00:00
Karl 'vollmerk' Vollmer
7fe0176656 removed stupid require that I should not have put in 2010-03-19 12:18:22 +00:00
Karl 'vollmerk' Vollmer
f182655b2b Add vlc controller - untested, just want it in svn 2010-03-19 12:16:26 +00:00
Paul 'flowerysong' Arthur
1cb0983ed0 Cosmetics: remove trailing whitespace 2010-03-14 20:14:52 +00:00
Paul 'flowerysong' Arthur
9a872491dd Unbreak http auth, make it more sane. Old broken method renamed to null, in
case crazy people still want it.  Add support for redirecting to a SSO 
provider after logout.
2010-03-14 03:40:47 +00:00
Karl 'vollmerk' Vollmer
7e1e044aba make it actually extend the session, also improve debug on the image page 2009-12-23 14:54:45 +00:00
Karl 'vollmerk' Vollmer
d8ea07a04a sync from 3.5.x and fix display issue on playlist view 2009-12-20 16:52:43 +00:00
spocky
69c56f829d After 3 hours, I finally managed to fix the [synology/fast-cgi] bug that prevented __autoload to work in certain cases. 2009-12-16 12:42:22 +00:00
Karl 'vollmerk' Vollmer
d10f33bcd0 Remove XML-RPC functions and start prep for use of new API for ampache catalog syncs 2009-11-19 06:17:55 +00:00
Karl 'vollmerk' Vollmer
28fcb8f8ac It should not have taken me that long to find the one typo 2009-08-20 15:30:24 +00:00
Karl 'vollmerk' Vollmer
2fa487db93 sync from branch 2009-07-08 16:12:01 +00:00
Karl 'vollmerk' Vollmer
94f5610ef6 add MBID support Thx flowerysong 2009-06-02 01:42:55 +00:00
momo-i
b85fa736cf Add phpmailer and change mail function. 2009-05-06 22:41:13 +00:00
Karl 'vollmerk' Vollmer
b5aa4b37d2 bump trunk version and remove 40 sql file mysql 5 is our homeboy now 2009-05-05 23:27:59 +00:00
Karl 'vollmerk' Vollmer
93e718ec4b add Czech translation bump version 2009-05-05 22:24:30 +00:00
Karl 'vollmerk' Vollmer
56689ee293 clean up the install page format wise, and add the pre-reqs check to init so that people who are upgrading still get told they are missings stuff 2009-05-05 15:35:13 +00:00
Karl 'vollmerk' Vollmer
e92db64da3 bump version forward a little more 2009-04-08 03:16:08 +00:00
Karl 'vollmerk' Vollmer
9b50dcc384 last commit for beta2 2009-04-08 02:48:22 +00:00
Karl 'vollmerk' Vollmer
2882879201 bump version in init 2009-03-18 21:14:47 +00:00
Karl 'vollmerk' Vollmer
53be385262 prep for beta1 release, update sql files 2009-03-15 23:56:47 +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
1dff2461c7 bump version 2009-03-08 14:00:23 +00:00
Karl 'vollmerk' Vollmer
a6830fb0a7 commit for alpha2 release 2009-03-08 13:51:34 +00:00
Karl 'vollmerk' Vollmer
ed15ee4a9c Add ability to have anonymouse access of a defined level with manual login of users 2009-03-08 12:29: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
8a0f5b1cc7 tweak the version checking to account for gentoo hippies (it is also a better way of doing it) 2009-03-03 00:59:51 +00:00
momo-i
14ef536151 Add: song_lyrics to Ampache #327 (thx alister55) 2009-02-24 04:18:33 +00:00
Karl 'vollmerk' Vollmer
453eedceae sync from branches/3.4 2009-02-22 23:36:01 +00:00