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

73 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
Afterster
74dabd90d6 Fix waveform temporary file deletion issue if gd library is unavailable
Add PHP-GD test
2016-01-04 21:42:43 +01: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
16d80f8435 Use Composer for dependencies 2015-09-13 23:30:20 +02:00
Anonymous
a5662ed8cc check mbstring.func_overload, so you don't end up with a thousand corrupt files like me :) 2015-08-14 21:45:00 +03:00
Afterster
47a6585c88 Use latest php-cs-fixer version 2015-07-29 21:59:12 +02:00
Afterster
cbf4ddd8b3 Fixed #790: Installing with database connection via unix socket? 2015-04-07 22:08:00 +02:00
Afterster
a6d68fef55 Fix channel htaccess installation 2015-04-05 21:00:38 +02:00
Lawrence Brown
60a653daf4 copyright 2014 -> 2015
janitorial services
2015-01-04 21:36:41 +00:00
Afterster
8d6e5152c0 Add optional simplexml mod install test 2014-11-20 22:16:10 +01:00
Afterster
889b6691e9 Add zlib test check 2014-07-26 08:03:10 +02:00
Afterster
e52146109a Add check for large files manipulation 2014-07-16 23:57:01 +02:00
Afterster
351f43708d Improve installation process to avoid manual action for each config file
Add max upload size check in installation tests
2014-06-14 08:38:15 +02:00
Afterster
862dde3e00 Add .htaccess generation in installation process
Improve installation configuration to be less error-prone
2014-05-18 17:27:29 +02:00
Afterster
98664d2a84 Update copyright years 2014-05-18 09:53:57 +02:00
Afterster
0152ab610f Move ampache-doped to ampache 2014-04-15 20:20:02 +02:00
Afterster
d3f01a3bc7 Save browse filter options in local cookies
Add curl module check
2014-04-13 00:20:54 +02:00
Jean-François Bilger
ff013ef6b7 [MOD] Bootstrapify installation 2014-04-10 22:39:26 +02:00
Afterster
7b64802f62 Rename Ampache to Ampache-doped 2014-02-01 10:30:13 +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
22cb316a48 Ampache code now respect PSR-2 code style 2013-11-17 18:54:14 +01:00
Paul Arthur
d8e9d73608 Split the PDO check in two
It's more helpful this way.
2013-02-03 11:27:54 -05:00
Paul Arthur
dd70337451 Clean up PHP tests and reuse them in init.php
Also move the config-related functions out of debug.lib.php (why they
were there in the first place is anyone's guess.)
2013-02-03 11:16:46 -05:00
Paul Arthur
c8cd1da88f Fix the debug_result convenience function
The point of a convenience function is to be convenient, not to have an
unused first parameter and always be surrounded by the same boilerplate.
2013-02-03 04:55:51 -05:00
Paul Arthur
10d54c9f7f Fix up the tests a bit
The hash check shouldn't be mixed in with the version check, and we now
need JSON.
2013-02-03 04:34:57 -05:00
Paul Arthur
675fd21cf1 Add a check that makes sure PDO is available
Calling an unavailable class is a fatal error, so people without PDO
were left with a fairly useless blank screen and no indicator of what
was wrong. Let's be a bit more user-friendly.
2013-02-03 02:35:13 -05:00
Paul Arthur
de98b1b92d Drop checks for mysql extension
Nothing to replace it for now.
2013-01-30 01:36:02 -05:00
Paul Arthur
ef4d366060 Cosmetics: death to tabs
The refactoring I've been doing has reminded me of my strong preference
for spaces, and I feel inclined to impose my will on the tree.
2013-01-26 03:38:46 -05:00
Paul Arthur
eaa44dcd09 Continue moving things into UI
check_php_iconv() from lib/debug.lib.php becomes UI::check_iconv()
truncate_with_ellipsis() from lib/ui.lib.php becomes UI::truncate()
2013-01-26 01:15:59 -05:00
Paul Arthur
16c3ba34fd Cosmetics: clean up heads in lib/ 2013-01-25 18:38:22 -05:00
Paul Arthur
93251b3c8d Move check_database_inserted into the Dba class 2012-11-08 13:22:56 -05:00
Paul Arthur
d2eaf10b07 Move check_database into the Dba class 2012-11-08 13:15:19 -05:00
Paul Arthur
da5992d679 Fix an off-by-one error in the execution time check 2012-04-09 11:42:25 -04:00
Paul Arthur
89084a1103 Make the install-time execution time check more better 2012-04-09 11:36:52 -04:00
Stephen Shkardoon
3af6e0baef Bug where configuration file was escaped incorrectly
Bug where a timeout of 0 was incorrectly recognized
2012-01-02 23:41:20 +11:00
Paul Arthur
79726ea541 Remove dangling version test 2011-11-30 15:04:21 -05:00
Karl Vollmer
12a7e9bc24 Ampache now requires PHP 5.3 or greater... 'JFDI' 2011-11-30 15:27:17 -04:00
Stephen Shkardoon
eefdaccd39 Escape config values when outputting the config file
Allows for odd characters in the database username and password.
2011-09-19 13:47:04 -04:00
Paul Arthur
99fd9d7fe2 Make debug and install tests friendlier
"PHP putenv support" had nothing to do with putenv.  Split it into
multiple tests and have the output actually correspond to what we're
checking.
2011-09-19 13:40:07 -04:00
Karl Vollmer
ffad56ec18 Install now contains two buttons, Download & Write for the config file, there is also
an additional check before that if the config file is writeable
2011-07-27 14:35:49 -03: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
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
Paul 'flowerysong' Arthur
df80bd7243 Refactored Last.FM recommendations; drop new dependency on curl since
Snoopy works just as well for this application.
2010-08-17 20:59:16 +00:00
momo-i
bb8900e6c4 Check cURL before install.
if cURL have not installed, get_like() should be return false.
2010-07-30 00:11:07 +00:00
Paul 'flowerysong' Arthur
4b5756ba9d Miscellaneous cleanup. 2010-06-13 08:11:09 +00:00
Karl 'vollmerk' Vollmer
45f382b06d Add vim modelines to all php files (Thx ascheel) 2010-03-14 04:53:15 +00:00
dipsol
a7838e2a13 Replaced almost every dba::query to dba::read or dba::write. 2009-12-14 08:06:20 +00:00