~mythbuntu-dev/mythtv/+git/mythweb:fixes/0.28

Last commit made on 2020-03-03
Get this branch:
git clone -b fixes/0.28 https://git.launchpad.net/~mythbuntu-dev/mythtv/+git/mythweb

Branch merges

Branch information

Name:
fixes/0.28
Repository:
lp:~mythbuntu-dev/mythtv/+git/mythweb

Recent commits

0ad3007... by Stuart Auchterlonie <email address hidden>

Merge pull request #22 from yunosh/more-star-rating-fixes

More star rating fixes

af896ae... by Stuart Auchterlonie <email address hidden>

Fixes #13191 - Make mythweb use of CDN optional.

Adds a new database setting 'mythweb_use_cdn' which defaults
to true. If you wish to use local copies of the libraries or
run on an isolated network you will need to set this to false

There is no gui in the mythweb setting page to configure this
at this time. Patches for this will be accepted.

In addition this add the updated libraries locally.

(cherry picked from commit ef998f4172565743307b89fe2eb2fb90abf81e8b)

ed8d6a1... by Peter Bennett <email address hidden>

Fixes #12822 - Duplicate programs showing in listings.

(cherry picked from commit ece58ebc66872e5a9b6e748f36304bd474d8c902)

fdfca90... by Steve Campbell <email address hidden>

Fixes #13041 - Update mythweb jquery and prototype libraries and use CDN

Signed-off-by: Stuart Auchterlonie <email address hidden>
(cherry picked from commit 9f14a8e65cab36de8fd53dd8f2598afb3e46f69b)

bf9a083... by Philipp Matthias Hahn <email address hidden>

Fixes #13007 - Handle .m4v as video/mp4

Strictly speaking mp4 is the *container* format, which can either
contain auido only or audio+video. Therefore it is quiet commont to name
audio files .m4a and video files .m4v

Signed-off-by: Stuart Auchterlonie <email address hidden>
(cherry picked from commit 7eb91453d30c9007a9d52c8297d84d5c07afe1d8)

d94cf0b... by Stuart Auchterlonie <email address hidden>

Fixes #12981 [php7.1] Use of this is no longer allowed

(cherry picked from commit 52ff70ecfdad06b0b66f8a5ec67cefc1b55a1861)

f6b74a7... by Jan Schneider

Improve usability of star rating select boxes.

Instead of the weird calculation of fractional number of stars, use the stars that we use use anywhere else (1 to 5).

3188994... by Jan Schneider

Fix quick search with stars.

We have a maximum of five stars in the web UI, so use that for calculating the float value.

4b4b417... by Jan Schneider

More places to fix calculation of star rating values.

Use number_format() for locale reasons, and workaround inaccuracies of FLOAT fields when doing comparisons.

7ed09ed... by Charles

[mythweb] Remove/changed some deprecated PHP7 functions:
* split() by preg_split()
* eregi() by preg_match()
* mysql_*() by mysqli_*()
* PHP4 constructors (http://cweiske.de/tagebuch/php4-constructors-php7.htm)

Fixes #12731

Signed-off-by: Stuart Auchterlonie <email address hidden>
(cherry picked from commit 42ea1a1d20fc2ca1cddac3f851b17d1c8cdda465)