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

1512 commits

Author SHA1 Message Date
Paul Arthur
383c21ffa9 Use Dba::fetch_assoc instead of mysql_fetch_assoc 2011-06-24 11:55:37 -04:00
Paul Arthur
1ad8c46833 Flush in update_text to improve interface responsiveness 2011-06-24 11:54:18 -04:00
Paul Arthur
7852811c2a Add clear_cache() to database_object 2011-06-24 11:53:42 -04:00
Paul Arthur
998f74ac71 Make require_session work with local auth. 2011-05-31 23:08:06 -04:00
Paul Arthur
7c491ec1c7 Clean up API::handshake
Use Access::check_network to check the ACLs. Be more restrictive about
validating timestamps.  Miscellaneous cleanup (line wraps, etc.)
2011-05-26 18:35:30 -04:00
Paul Arthur
bddc208c19 Clean up Access::check_network
Remove unused cases and duplicate SQL queries.  Return false if the ACL
type isn't in the list of approved types.
2011-05-26 18:27:34 -04:00
Stephen A. Goss
a46d320e98 fix broken xml.server.php login on 32 bit servers 2011-05-23 12:20:16 -07:00
Paul Arthur
edb297d4ba Consistently use $album_disk in Catalog::check_album 2011-05-04 17:15:15 -04:00
Paul Arthur
edd458690d Remove unused metadata functions from Song class 2011-05-03 00:04:30 -04:00
Paul Arthur
3afd338a9c Do some clean up of the code for finding duplicate songs
No joins were necessary for what it was doing; cartesian joins even less
so.  Limiting display to two duplicates was bogus.  Ordering by the
number of duplicates in ascending order was an odd choice.
2011-04-29 16:02:29 -04:00
Paul Arthur
916d2e7f59 On login, set password to the correct value if we have a mangled one stored 2011-04-26 16:59:06 -04:00
Paul Arthur
d18fe3e95d Reset $attribute inside keyed_array loop.
Also avoids PHP warnings due to uninitialised variables.
2011-04-26 16:37:53 -04:00
Paul Arthur
ed6dc3df9e Prevent spurious API login failure messages. 2011-04-26 16:36:43 -04:00
Paul Arthur
073ea584dc Fix forced transcoding. FS#163 2011-04-21 19:36:27 -04:00
Paul Arthur
a273b0e566 Set the correct variable. 2011-04-11 00:52:37 -04:00
Paul Arthur
f7c1e57cf0 Transcoding/streaming cleanup.
Derive our new filesize from the length, not the previous bitrate and
size.  Allow higher bitrates than the source when they're different
formats.  Return HTTP error codes when an error occurs.  Minor cleanup.
2011-04-08 23:26:21 -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
Paul Arthur
32db091453 Remove obsolete function 2011-04-04 15:35:23 -04:00
Paul Arthur
aa791a400b Replace useless return with useful return. 2011-04-04 15:24:58 -04:00
Paul Arthur
fd718fe786 Remove outdated comment. 2011-04-04 15:12:20 -04:00
Paul Arthur
ec14f90bbc Remove unnecessary hack. 2011-04-04 15:06:06 -04:00
Paul Arthur
90786a8c85 Catalog work
Reduce the frequency of some expensive database operations when
processing multiple catalogs.  More debugging output.  Remove
unnecessary or unused parameters from function calls.
2011-04-02 15:43:38 -04:00
Paul Arthur
ac8b89708c Fix FS#156
PHP is being overly persnickety here, but I suppose we don't *have* to
use the conditional operator.
2011-04-02 01:02:04 -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
Paul Arthur
91a6eb3a68 Clean up theme config loading, add some debugging. 2011-03-31 14:21:10 -04:00
Paul Arthur
fa505d7708 Add support for autodetecting encoding for broken id3v2 tags
Mostly untested.  Must be enabled in config, so we won't be breaking
people's perfectly valid tags by default.
2011-02-21 15:13:08 -05:00
Paul Arthur
997c05143c Fixed issue with updating ACLs under Windows (reported by Citlali) 2011-02-21 14:00:44 -05:00
Paul Arthur
1817f6098b Partial revert of 678cf4b6aa
id3v2 encoding detection was removed for a reason: it breaks valid tags,
and id3v2 has proper support for multiple standard multibyte encodings.
2011-02-21 13:46:43 -05:00
momo-i
626308280b modified comment for phpdoc 2011-02-21 07:23:49 +09:00
momo-i
60fa5f5846 Merge gitorious.org:~momo-i/ampache/momo-is-ampache
Conflicts:
	config/ampache.cfg.php.dist
2011-02-17 13:26:41 +09:00
momo-i
a1fa4d54e2 modified tag broken problems 2011-02-17 13:22:48 +09:00
momo-i
e3d5874b99 some id3tags still broken. 2011-02-17 10:49:08 +09:00
momo-i
e46abf8a80 modified debug_event 2011-02-17 08:47:56 +09:00
momo-i
ee70584ae4 maybe all green! 2011-02-17 08:40:45 +09:00
momo-i
a89b5152ab remove @todo 2011-02-17 08:21:31 +09:00
momo-i
678cf4b6aa try to get id3v2 tag! 2011-02-16 08:36:47 +09:00
momo-i
8b5aadb73b update getid3 version 1.8.2 -> 2.0.0b6
modified vainfo class (not complete)
2011-02-08 08:39:47 +09:00
momo-i
fa8573d480 Merge gitorious.org:ampache/ampache
Conflicts:
	lib/security.lib.php
2011-02-07 17:12:31 +09:00
momo-i
4f51409a6f Added security check function (this is experimental.) 2011-02-07 17:01:16 +09:00
momo-i
4aed0b90f2 momotest 2011-02-07 16:47:51 +09:00
momo-i
5526a807b8 momo-i merge test 2011-02-07 16:39:52 +09:00
momo-i
ce4f426103 Update admin sidebar menu.
Rename function name.
2011-02-07 07:19:43 +09:00
momo-i
3c57bff0b3 Modified translation words 2011-02-05 10:48:14 +09:00
momo-i
b3289a24f4 Add function that check ampache and php version from each website. 2011-02-04 14:34:11 +09:00
momo-i
115500a3e8 added @todo id3tag broken
http://ampache.org/bugs/task/158 this is my task.
2011-02-04 10:18:08 +09:00
momo-i
17bba7eedd art.class.php temporarily fixed.
Added $type = 'album' to constructor
2011-02-04 10:16:28 +09:00
momo-i
9ce63661d1 Fixed indent and add translation words 2011-02-03 14:03:16 +09:00
momo-i
7ef24e84c6 Updated a few informations of function. 2011-02-03 11:56:48 +09:00
momo-i
5da3caed31 Modified header comment for phpdoc 2011-02-03 10:25:54 +09:00
momo-i
f99643663c header comment modified for phpdoc 2011-02-03 09:43:46 +09:00