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

784 commits

Author SHA1 Message Date
Paul Arthur
37fc03bb48 Make the CLI database installation tool more robust
Using a relative path required it to be run from the top-level
directory; we already do voodoo to figure out the correct prefix, so we
should use that.
2012-04-17 17:53:52 -04:00
Dominik George
b64649e720 FS#225 - xml_from_array() produces runtime error
Newer versions of the PCRE library changed behaviour so we can't
replace invalid characters by listing them, since it now requires
that the characters in a pattern are valid Unicode characters. Use an
inverted character class instead.

Might work.
2012-04-15 23:31:17 -04:00
Paul Arthur
4aa37feccc Fix disk number parsing for ID3v2
According to the changelog, getID3 1.7.9 standardised on part_of_a_set
as the key for this info (pulled from TPOS or TPA, depending on the
minor version of ID3v2); we were looking for 'pos', which is wrong.
2012-04-15 03:02:29 -04:00
Paul Arthur
0ccf7d76bb Fixup CHANGELOG 2012-04-13 18:59:16 -04:00
Paul Arthur
a0cc08abe4 Updated changelog for i18n changes 2012-04-12 21:13:29 -04:00
Paul Arthur
50e4c54558 Fix pluralisation issue in Recently Played
Previously we would say things like "1 seconds" and "1 hours". Using
the magic of ngettext and sprintf we can get rid of the static
concatenation order and become theoretically more translatable as well
as more correct in English.

Also changed the logic a bit, since the old looping method was
unfriendly to my brain.
2012-04-12 15:33:36 -04:00
Paul Arthur
1c2de30150 Add support for parsing MBIDs in M4A files 2012-04-11 19:13:32 -04:00
Brian Hasselbeck
2888851fa3 FS#224 - generated .pls playlist doesn't work in some players
Initial tag is case sensitive; we were emitting [Playlist] but some
players don't accept that. There is unfortunately no real standard to
check, but this does match what Winamp (ack, pthbbt) does.
2012-04-11 16:52:16 -04:00
Paul Arthur
f2e01ab7d5 Increase the size of the mbid column in artist
Picard is putting multiple MBIDs in the tags now that MusicBrainz' new
schema is live.  The easiest way to deal with this is to store all of
them as an aggregate value and match against that.
2012-03-31 22:29:09 -04:00
Paul Arthur
425ecbbb3a Don't run filename patterns through preg_quote twice
This would result in extra slashes, e.g.
    '/\/([0-9]+?)\s\\\-\s(.+?)\..+$/' instead of
    '/\/([0-9]+?)\s\-\s(.+?)\..+$/'

There are some unrelated cosmetic changes as well.
2012-03-31 20:44:41 -04:00
Paul Arthur
65ad781927 Fix display of logic operator in search
It could be in either $_REQUEST or a playlist object, so we need to
check the correct one.
2012-03-31 19:26:10 -04:00
Paul Arthur
f2e3668528 Fix regex for parsing rules
ID can be multiple digits, so we should capture all of them.
2012-03-19 12:21:22 -04:00
Paul Arthur
dbb0657010 Update changelog 2012-03-09 14:32:50 -05:00
Paul Arthur
e8f4577d9a Clean JSON output of user-controlled strings
JSON has some strict rules about what can be escaped, and we should have
been scrubbing to entities all along.
2012-03-09 14:02:50 -05:00
Paul Arthur
40e8484a57 FS#213 - User Registration
Add an option to have newly registered accounts disabled by default.
2012-03-01 14:06:03 -05:00
Paul Arthur
e9e350b71e Lengthen varchar for tmp_playlist.session
Sessions can be longer than 32 characters.  Bump to 64.
2012-02-21 00:08:20 -05:00
Sébastien LIENARD
591a522824 FS#209 - Google Chrome doesn't show album art when album name contains commas
It seems that Chrome believes that commas end header values (it's
probably correct in this belief).  Quoting the value should avoid this,
and potentially other issues.
2012-02-20 23:43:12 -05:00
lotan_rm
073f49c3e8 FS#212 - Incorrect album art uri
Missing ampersand.
2012-02-20 23:38:48 -05:00
Karl Vollmer
12a7e9bc24 Ampache now requires PHP 5.3 or greater... 'JFDI' 2011-11-30 15:27:17 -04:00
Paul Arthur
ca3fe67e49 FS#201 - Video files broken in search
Video searching was trying to use explode instead of implode.  That
won't work.
2011-11-28 13:35:24 -05:00
Karl Vollmer
5adf408104 Updated changelog 2011-11-23 16:28:31 -04:00
Paul Arthur
914261dcdd Add the ability to locally cache passwords validated by external means
This can, for instance, be used to allow LDAP authenticated users to use the
API without manually setting a password, as long as they've logged in using
the web interface at least once.
2011-11-18 15:38:59 -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
Paul Arthur
1599f59619 FS#195 - Unable to gather album art from lastfm
Cleaned up the code, might work now.  Untested.
2011-11-09 04:32:40 -05:00
Paul Arthur
0518055309 Update Captcha PHP to 2.3
http://freshmeat.net/projects/captchaphp
2011-10-27 20:50:35 -04:00
Paul Arthur
51893b1ee5 Update getID3 to 1.9.1 2011-10-27 20:41:26 -04:00
Paul Arthur
8e89cb990a Update PHPMailer to 5.2.0 2011-10-27 20:23:38 -04:00
Paul Arthur
e199182773 FS#193 - Localplay MPD cannot turn off Repeat or Random
The rewritten MPD module did not allow passing false values to MPD.
Using isset instead of boolean evaluation fixes this.
2011-10-10 21:45:26 -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
3b296619c0 Null is an acceptable session auth type if use_auth=false. FS#182. 2011-09-12 10:25:27 -04:00
Paul Arthur
e511420add Fix FS#175 - Advanced Random Resets Item Count to 1 2011-08-12 16:17:55 -04:00
Paul Arthur
46d4bb84b6 Some Catalog cleanup and enhancement. 2011-08-12 12:11:59 -04:00
Paul Arthur
fb40835e42 Make the API return more data for songs 2011-06-28 14:50:41 -04:00
Paul Arthur
1e05bfe554 Fix broken API method
Api::search_songs needed to declare a type, and Search::run needed to
honour that declaration.
2011-06-28 14:30:52 -04:00
Paul Arthur
998f74ac71 Make require_session work with local auth. 2011-05-31 23:08:06 -04:00
Paul Arthur
c1bcad2abc Partial fix for catalog filtering
Acting on 'click' sends the AJAX request as soon as the user clicks to
make the dropdown drop down; watch for 'change' instead.
2011-05-26 19:25:55 -04:00
Paul Arthur
0fbeda9047 UI fix for toggling artwork 2011-05-26 19:08:50 -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
830a739c89 Cosmetics: Changelog grammar 2011-05-26 18:32:43 -04:00
Paul Arthur
da07f041e3 JS-less install should work better. 2011-05-04 16:23:58 -04:00
Paul Arthur
3bb7665421 Changelog entry. 2011-05-04 13:16:18 -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
c19e98f068 Add some missing changelog entries 2011-04-27 18:35:26 -04:00
Paul Arthur
04d77b1a7c Fix display not updating during catalog updates.
Consistently use $this instead of $catalog or (no longer set) local
variables that duplicated class variables in the templates, minor
quoting cosmetics.
2011-04-18 15:12:42 -04:00
Adam Grissom
36bc6d5107 Fix display of duplicate search 2011-04-18 13:01:56 -04:00
Brady Wetherington
d70300c284 Fix byterange bug
Byteranges can start with zero - e.g. 0-1 is a valid byterange, and should
invoke 'byterange' mode.
2011-03-29 12:02:23 -04:00
Paul Arthur
997c05143c Fixed issue with updating ACLs under Windows (reported by Citlali) 2011-02-21 14:00:44 -05: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
b52f576671 Update docs 2011-02-04 08:48:16 +09:00
Elias Probst
77311f6f0e Implement ldap_require_group
Squashed commit of the following:

commit 4cba31ed7a607cf955b39131ca598d4f8b7553b6
Author: Elias Probst <mail@eliasprobst.eu>
Date:   Tue Dec 7 23:08:47 2010 +0100

    Improved LDAP group matching regex to make sure, the whole string is matched.

commit 1a056e6fdac3c3c3f141283dad25a407a4c897a1
Author: Elias Probst <mail@eliasprobst.eu>
Date:   Tue Dec 7 23:08:02 2010 +0100

    Implementation for the still missing 'ldap_require_group' feature. Including changes suggested in http://ampache.org/bugs/task/150#comment103
2010-12-07 20:22:16 -05:00