Lawrence Brown
60a653daf4
copyright 2014 -> 2015
...
janitorial services
2015-01-04 21:36:41 +00:00
Lawrence Brown
d95703ca37
sort languages alphabetically in source code, too
2015-01-03 18:45:00 +00:00
Lawrence Brown
81f9bbe9d8
organize comments, spacing and prepend English US to languages list
2015-01-03 18:41:45 +00:00
Lawrence Brown
32df467096
sort list of languages by country code
2015-01-03 18:32:51 +00:00
Lawrence Brown
447647910e
loop over directories the "correct" way
...
see http://php.net/manual/en/function.readdir.php - specifically:
/* This is the correct way to loop over the directory. */
while (false !== ($entry = readdir($handle))) {
echo "$entry\n";
}
/* This is the WRONG way to loop over the directory. */
while ($entry = readdir($handle)) {
echo "$entry\n";
}
2015-01-03 16:29:17 +00:00
René Bigler
430e7c6cce
Fix code styles through php-cs-fixer
2014-10-21 20:28:17 +02:00
SUTJael
3972c20d9e
Add ability to write directly the new configuration file additionally to the generate action.
2014-10-20 18:47:03 +02:00
Afterster
2c221e8216
Add user geolocation and user statistical graphs
2014-10-06 01:05:17 +02:00
Afterster
8c452f6638
Add Missing Artist search on top search
2014-10-04 00:27:40 +02:00
Afterster
160c59dea2
Fix Scrutinizer issues
2014-09-30 07:47:21 +02:00
Afterster
9d8f57d16d
Declare apache_request_headers and getallheaders if missing ( #212 )
2014-05-28 00:44:13 +02:00
Afterster
b16958f44e
Remove old code and fix old php errors
2014-05-25 22:54:04 +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
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
78c889f4b3
Remove remaining Prototype call and replace tinybox by prettyPhoto
2013-11-20 22:12:01 +01:00
John Moore
f4d7b64fd0
Merge branch 'master' of https://github.com/ampache-doped/ampache
...
Conflicts:
lib/class/ajax.class.php
lib/general.lib.php
themes/fresh/templates/default.css
2013-11-19 19:27:31 -06:00
Afterster
22cb316a48
Ampache code now respect PSR-2 code style
2013-11-17 18:54:14 +01:00
John Moore
39257b44a7
fix issue where encoded objects in database where not decoded before displaying
2013-07-27 19:56:22 -05:00
Paul Arthur
1105e0487f
Don't reset the PHP memory_limit when it's -1
...
This function is never supposed to lower the limit, and -1 is a flag
value for no limit.
2013-05-15 22:09:30 -04:00
Paul Arthur
79b6eb98e7
Fix scrub_in to be safer
2013-02-07 15:17:24 -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
499aef7414
Fix sed error
2013-01-26 05:00:17 -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
8a750c3e87
Move [un]format_bytes() from general.lib.php to UI
2013-01-26 02:36:58 -05:00
Paul Arthur
16c3ba34fd
Cosmetics: clean up heads in lib/
2013-01-25 18:38:22 -05:00
Paul Arthur
4ea8af4968
Remove more code that only ran on PHP <5.3
2012-07-01 22:30:32 -04:00
Paul Arthur
567b27954b
Clean up set_memory_limit
...
ini_set should be passed an integer byte value; shorthand byte values
should only be used in php.ini. It's bad to assume that values are
always in megabytes; we could enforce it in our config file if we
cared, but not in PHP's.
2012-07-01 17:09:36 -04:00
Paul Arthur
408e71344a
escapeshellarg's behaviour is locale-dependent
...
Reimplement it locally so it isn't. Might fix FS#252.
2012-05-25 16:52:57 -04:00
Paul Arthur
5f2f81fa8f
Use spl_autoload_register instead of __autoload
...
Might be useful in the future, __autoload is discouraged according to
the PHP documentation.
2012-04-18 00:54:54 -04:00
Paul Arthur
f65076b93d
Switch from _() to T_()
...
Even if we move away from php-gettext in the future, it's easy to
write a quick T_() as a simple wrapper; it's not so easy to rewrite
PHP to allow redeclaration of a function.
2012-04-12 21:13:29 -04: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
63031fb6c1
Use a function to format bytes -> human-readable sizes. Also bump catalog build
...
memory profiling logging to level 5; fixes FS#141.
2010-10-15 19:16:42 +00:00
Paul 'flowerysong' Arthur
dc495ea8ea
Clean up general.lib.php and ui.lib.php: remove unused functions, group related
...
functions, simplify implementation of some functions.
2010-06-13 07:58:43 +00:00
Paul 'flowerysong' Arthur
c1ed41a16d
Remove some unused genre stuff.
2010-06-10 01:19:14 +00:00
Paul 'flowerysong' Arthur
6873ed87ef
Remove unused function format_time.
2010-06-07 08:28:05 +00:00
Karl 'vollmerk' Vollmer
3ce42f5e88
More changes to art - have not removed old functionality yet
2010-03-21 20:53:15 +00:00
Karl 'vollmerk' Vollmer
45f382b06d
Add vim modelines to all php files (Thx ascheel)
2010-03-14 04:53:15 +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
dipsol
a7838e2a13
Replaced almost every dba::query to dba::read or dba::write.
2009-12-14 08:06:20 +00:00
dipsol
4243f13bc3
Passwords can be shorter then asked. Changed the way its generated.
2009-11-05 15:00:16 +00:00
momo-i
f7ddaf7f4c
fixed #479 if PHP version is 5.3.0 or larger, don't use magic_quotes.
2009-05-27 22:30:05 +00:00
momo-i
da6a97ce35
Update HTML header for RTL language.
...
add debug_event for stream type check
2009-05-06 13:15:22 +00:00
momo-i
96acc29016
Added: lyrics get from getid3 (pls test by any mp3s)
...
Added: debug_print function (pre tag for print_r)
2009-02-24 23:37:19 +00:00
momo-i
34e797623a
Updated: Norwegian into general.lib.php
...
Added: Norwegian stat in LANGLIST
2009-02-19 02:42:05 +00:00
Karl 'vollmerk' Vollmer
97c538e24f
slight tweak to dba class to try to make it a little more bullet proof, commented added functions
2009-02-04 01:27:45 +00:00
momo-i
1b3ef2951f
Added: checkdnsrr and getmxrr function for Win
2009-02-03 07:18:00 +00:00