Skip to content

Commit

Permalink
Prepare changelog for next release (and update version information to…
Browse files Browse the repository at this point in the history
…o this time!)
  • Loading branch information
julmud committed Jan 8, 2023
1 parent f24f049 commit 09cb795
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 29 deletions.
13 changes: 11 additions & 2 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
Version 20230108 (phpdvdprofiler.20230108.zip)
Changes since version 20230102 (phpdvdprofiler.20230102.zip)
- new: the mediatype banner can now be forced to be displayed on every media (see AddBannerOnThumbnails in siteconfig.php)
- new: support dates pre-1970 for release date, purchase date, ...
- fix: better handling of DB connection problems
- fix: don't count ignored profiles in added counter during collection update
- fix: the interface wasn't displayed if the collection (or search result) was empty

Version 20230102 (phpdvdprofiler.20230102.zip)
Changes since version 20200130 ()
- support for PHP 8.0 and 8.1
Changes since version 20200130 (phpdvdprofiler.20200130.zip)
- support for PHP 7.4, 8.0 and 8.1 (thanks Sebastian for PHP 8.0 support)
- preliminary support for PHP 8.2
- better quality images for the Swiss DVD age system

Version 20200130 (phpdvdprofiler.20200130.zip)
Changes since version 20200115 (phpdvdprofiler.20200115.zip)
Expand Down
1 change: 1 addition & 0 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
error_reporting(E_ALL);
require_once 'php-8.1-strftime.php';
use function PHP81_BC\strftime;
include_once('version.php');

if (!defined('IN_SCRIPT')) {
die('This script should not be manually executed ... Possible Hacking attempt');
Expand Down
2 changes: 1 addition & 1 deletion global.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
}

include_once('functions.php');
include_once('version.php');

// Force GET/POST,etc. arguments to _not_ be quoted, and push GET and POST into the namespace
// Ensure that we can find superglobals
Expand Down Expand Up @@ -693,7 +694,6 @@
if ($mobileshow)
$mobilepage = 'smallshow.php';

$code_schema_version = '2.10';
$db_schema_version = 'Unknown';

$db = new sql_db($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false, $debugSQL, true);
Expand Down
54 changes: 29 additions & 25 deletions phpdvdprofiler-install.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,14 @@ Andrea Whitlock (andrea [at] mobius-soft [dot] com).
3) a MySQL database (others may work; contact me for assistance)

Specifically, this software needs an installation of PHP which has php-xml
installed and with either the mysql or the mysqli extentions. Versions of PHP
previous to PHP 5 generally have the mysql extentions already installed. The
software should work with almost any version of MySQL, although it is tested
primarily on my system, which has MySQL 3.23.42.
installed and with the mysqli extensions. The software should work with almost
any version of MySQL, although it is tested primarily on my system, which has MariaDB 10.10.2.

The following PHP extensions are needed:
* mysqli
* mbstring
* intl
* gd2 (optional, used to resize the covers and generate thumbnails)

All of the things which require configuration are in the file siteconfig.php,
which is extensively documented regarding what the available options are.
Expand Down Expand Up @@ -75,47 +79,47 @@ collection. Set these to whatever you'd like.
--------------------------------------------------------------------------------

Change permissions on files so apache can read them.
Remember to also give execute permissions on the directories. After you setup
siteconfig.php, you might want to make apache own the file and have no one else
with permissions on it, so no one on your system can look at your settings in
Remember to also give execute permissions on the directories. After you setup
siteconfig.php, you might want to make apache own the file and have no one else
with permissions on it, so no one on your system can look at your settings in
the file (database user names, passwords, web page logins, etc.).

Change group on images/thumbnails to apache and make it group writeable
(everyone else has read and execute permissions on it).
(everyone else has read and execute permissions on it).

--------------------------------------------------------------------------------

Export dvdprofiler collection to DVDAll.xml (on your PC) and transfer
Export dvdprofiler collection to DVDAll.xml (on your PC) and transfer
DVDAll.xml to your web server into ~/public_html/phpdvdprofiler. You can use
whatever name you like rather than DVDAll.xml; it is configured in siteconfig.php

--------------------------------------------------------------------------------

Transfer copies of all jpg files in
C:\Program Files\InterVocative Software\DVD Profiler\IMAGES to
Transfer copies of all jpg files in
C:\Program Files\InterVocative Software\DVD Profiler\IMAGES to
~/public_html/phpdvdprofiler/images.

Transfer copies of all jpg files in
C:\Program Files\InterVocative Software\DVD Profiler\IMAGES\THUMBNAILS to
Transfer copies of all jpg files in
C:\Program Files\InterVocative Software\DVD Profiler\IMAGES\THUMBNAILS to
~/public_html/phpdvdprofiler/images/thumbnails.

Don't forget to CHMOD the image files so that the Apache user can read them.

Here is some DVD Profiler trivia. You might notice that there is an IMAGES
directory and an IMAGES\THUMBNAILS directory for DVD Profiler. And some
pictures are not in the THUMBNAILS directory. The thumbnails are created
when you run a report that displays thumbnails. If you have not run a recent
report that uses thumbnails and have entered in new DVDs, there will only be
pictures for the new DVDs in the IMAGES directory and not in the THUMBNAILS
directory. You should run a report (I recommend the IVS Classic DVD Listing
report with Options set to "Standard (show all records, sort by title)") to
refresh all the pictures in THUMBNAILS and then copy the files
from C:\Program Files\InterVocative Software\DVD Profiler\IMAGES\THUMBNAILS
to your web server (~/public_html/phpdvdprofiler/images/thumbnails).
Here is some DVD Profiler trivia. You might notice that there is an IMAGES
directory and an IMAGES\THUMBNAILS directory for DVD Profiler. And some
pictures are not in the THUMBNAILS directory. The thumbnails are created
when you run a report that displays thumbnails. If you have not run a recent
report that uses thumbnails and have entered in new DVDs, there will only be
pictures for the new DVDs in the IMAGES directory and not in the THUMBNAILS
directory. You should run a report (I recommend the IVS Classic DVD Listing
report with Options set to "Standard (show all records, sort by title)") to
refresh all the pictures in THUMBNAILS and then copy the files
from C:\Program Files\InterVocative Software\DVD Profiler\IMAGES\THUMBNAILS
to your web server (~/public_html/phpdvdprofiler/images/thumbnails).

--------------------------------------------------------------------------------

I set $dbuser to guest in siteconfig.php, so I did the following commands to
I set $dbuser to guest in siteconfig.php, so I did the following commands to
create a mysql database called phpdvdprofiler for the user guest.

$ mysqladmin -u root -p create phpdvdprofiler
Expand Down
3 changes: 2 additions & 1 deletion version.php
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
<?php
$VersionNum = '3.8.2.1';
$VersionNum = '20230108';
$code_schema_version = '2.10';

0 comments on commit 09cb795

Please sign in to comment.