From: Banana Date: Sun, 10 Dec 2023 18:52:35 +0000 (+0100) Subject: merge X-Git-Tag: 1.6~8^2 X-Git-Url: http://91.132.146.200/gitweb/?a=commitdiff_plain;h=0caaea04c7525a484b2485a84f604c5967aed807;p=bibliotheca-php.git merge --- 0caaea04c7525a484b2485a84f604c5967aed807 diff --cc CHANGELOG index 360c593,8f40272..cafe2b3 --- a/CHANGELOG +++ b/CHANGELOG @@@ -1,15 -1,17 +1,19 @@@ 1.x - Chizra - * Config change: Added new entry. See upgrade/from-version-1.5.txt. It won't work if it is missing. + * Config change. Added new entries. See upgrade/from-version-1.5.txt. It won't work if it is missing. + * Config change: Added new theme config. See upgrade/from-version-1.5.txt. It won't work if it is missing. + * Added: #6 Feature: Duplicate search + This is a very limited like search based on the title field. Needs improvement and better search data. * Licence change to GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 - * Cleanups * Fixed: #21 Debug? string in error log * Fixed: #22 98 theme. Attachment selection checkbox are not all selectable * Fixed: #26 98 theme. max column with * Fixed: #25 98 design. Sort direction select does not show the correct selected option * Fixed: #23 basic search result order * Fixed: Bulkedit in 98 theme and default + * Fixed: #24 Image upload. Automatic resize? + * Updated: PHP-IMDB-Grabber to https://github.com/FabianBeiner/PHP-IMDB-Grabber/releases/tag/v6.2.1 + with some heavy modifications. + * Cleanups 1.5 - Sacred Passage 2023-05-01 * Added google books parser. See upgrade file for more infos. diff --cc upgrade/from-version-1.5.txt index 007e8a8,9872986..85a0b80 --- a/upgrade/from-version-1.5.txt +++ b/upgrade/from-version-1.5.txt @@@ -1,13 -1,15 +1,24 @@@ -# Added new const to config.php file. -Use config.php.default as a help. The new line is: +## Added new constants to config.php file. +Use config.php.default as a help. The new lines are: const LOGFILE = PATH_SYSTEMOUT.'/bibliotheca.log'; +# CURL browser settings +const BROWSER_AGENT = 'Mozilla/5.0 (X11; Linux x86_64; rv:120.0) Gecko/20100101 Firefox/120.0'; +const BROWSER_ACCEPT = 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'; +const BROWSER_ACCEPT_LANG = 'en-US,en;q=0.5'; + - +## Updated tools configs +Please compare the default config files for googlebooks, imdbweb and musicbrainz and make the required +changes. ++ + # Added new theme config to config.php file + Use config.php.default as a help. The new setting is: + # additional config for each theme with fallback + const UI_THEME_CONFIG = array( + 'default' => array( + 'coverImageMaxWidth' => 260 // in pixel. Supports image/jpeg, image/png, image/webp + ), + '98' => array( + 'coverImageMaxWidth' => 500 // in pixel. Supports image/jpeg, image/png, image/webp + ) -); ++);