1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-06 03:49:56 +02:00
ampache/lib/class
Maniac 90acb6822c Fixed image size checking and Google image search
Image size checking did not handle empty values (e.g. max height/width was not set in config).
As result, any image would be "not in range" even when the user would expect that it would.
To get better information while debugging the error message has also be expanded to include
the configured/assumed min/max value and the current height/width which was checked.

Second fix in this commit addresses broken google image search.
Google has changed the image search page some time ago. This causes the old code to get an error 404
when trying to retrive images.
In addition to the broken URL, the way to parse the HTML result was also broken.
Google now sends some sort of JSON and HTML mix string.
Currently some simple regex will try to find all image urls, maybe someone will find a better solution.
2016-05-14 10:59:55 +02:00
..
Interfaces Change license from GPLv2 to AGPLv3 2015-12-02 20:46:34 +01:00
Metadata Change license from GPLv2 to AGPLv3 2015-12-02 20:46:34 +01:00
access.class.php Rename Error class to AmpError (fix php7 Error class name conflict) 2015-12-04 14:00:01 +01:00
ajax.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
album.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
ampache_rss.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
ampconfig.class.php add default value tu AmpConfig::get 2016-02-21 10:20:58 +01:00
amperror.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
api.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
art.class.php Fixed PHP error when using image_dimensions with empty parameter 2016-05-14 10:59:32 +02:00
artist.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
artist_event.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
auth.class.php rework LDAP auth 2016-02-21 10:40:34 +01:00
autoupdate.class.php New position for update notification: 2016-04-05 03:57:27 +02:00
bookmark.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
broadcast.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
broadcast_server.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
browse.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
catalog.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
channel.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
clip.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
core.class.php Fixed image size checking and Google image search 2016-05-14 10:59:55 +02:00
daap_api.class.php Update daap_api.class.php 2016-03-21 21:36:18 +05:00
database_object.abstract.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
DatabaseObject.php Change license from GPLv2 to AGPLv3 2015-12-02 20:46:34 +01:00
dba.class.php Add option to ignore song duplicate import 2016-02-27 20:35:03 +01:00
democratic.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
graph.class.php Change license from GPLv2 to AGPLv3 2015-12-02 20:46:34 +01:00
label.class.php Add browse filter and light sidebar options 2016-02-29 22:51:42 +01:00
ldap.class.php enhance external auth 2016-05-03 17:11:42 +02:00
library_item.interface.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
license.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
live_stream.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
localplay.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
localplay_controller.abstract.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
mailer.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
media.interface.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
memory_object.class.php Change license from GPLv2 to AGPLv3 2015-12-02 20:46:34 +01:00
movie.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
openid.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
personal_video.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
playable_item.interface.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
playlist.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
playlist_object.abstract.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
plex_api.class.php Add missing slash in album batch download link 2016-02-16 06:22:39 +01:00
plex_xml_data.class.php Fix Plex to Ampache resource resolution when library uuid is missing 2016-02-13 13:12:06 +01:00
plugin.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
podcast.class.php Add browse filter and light sidebar options 2016-02-29 22:51:42 +01:00
podcast_episode.class.php Add browse filter and light sidebar options 2016-02-29 22:51:42 +01:00
preference.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
privatemsg.class.php Rename Error class to AmpError (fix php7 Error class name conflict) 2015-12-04 14:00:01 +01:00
query.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
random.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
rating.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
recommendation.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
registration.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
Repository.php Change license from GPLv2 to AGPLv3 2015-12-02 20:46:34 +01:00
scrobbler.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
scrobbler_async.class.php Change license from GPLv2 to AGPLv3 2015-12-02 20:46:34 +01:00
search.class.php Update version to 3.8.2 2016-02-03 21:59:24 +01:00
session.class.php Change license from GPLv2 to AGPLv3 2015-12-02 20:46:34 +01:00
share.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
shoutbox.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
slideshow.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
song.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
song_preview.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
stats.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
stream.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
stream_playlist.class.php Add licensing to song list column if enabled 2016-03-03 22:34:40 +01:00
stream_url.class.php Change license from GPLv2 to AGPLv3 2015-12-02 20:46:34 +01:00
subsonic_api.class.php Fix Subsonic scrobble submission check (fix #1141) 2016-02-21 09:39:53 +01:00
subsonic_xml_data.class.php Add starred information directly on subsonic item description 2016-03-05 09:08:59 +01:00
tag.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
tmp_playlist.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
tvshow.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
tvshow_episode.class.php Add browse filter and light sidebar options 2016-02-29 22:51:42 +01:00
tvshow_season.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
ui.class.php Display large covert arts if grid view is disabled for target item type 2015-12-19 15:55:12 +01:00
update.class.php Fix tag map per user check (fix #1094) 2016-03-05 11:02:30 +01:00
upload.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
upnp_api.class.php Add Podcast feature 2015-12-20 23:19:23 +01:00
user.class.php enhance external auth 2016-05-03 17:11:42 +02:00
useractivity.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
userflag.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
vainfo.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
video.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
wanted.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
waveform.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00
webdav_auth.class.php Change license from GPLv2 to AGPLv3 2015-12-02 20:46:34 +01:00
webdav_catalog.class.php Change license from GPLv2 to AGPLv3 2015-12-02 20:46:34 +01:00
webdav_directory.class.php Change license from GPLv2 to AGPLv3 2015-12-02 20:46:34 +01:00
webdav_file.class.php Change license from GPLv2 to AGPLv3 2015-12-02 20:46:34 +01:00
webplayer.class.php Fix issue that blocks webplayer when transcoding 2016-03-06 22:31:01 +01:00
xml_data.class.php fix 1201 and rewrite LDAP class 2016-05-03 17:11:42 +02:00