[koha-commits] main Koha release repository branch master updated. v19.05.00-1001-g768b067
Git repo owner
gitmaster at git.koha-community.org
Tue Oct 22 16:29:37 CEST 2019
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, master has been updated
via 768b06773767948fa2c36057acc3a4a1615a7430 (commit)
via 5555c9d4609935273dbf24757a3dc415253de8ea (commit)
via 03e4c0bf5dbbea74573e0785a9f7b0fa1f3e9738 (commit)
via 8c858f50a85614945a14ded29675a9be409b0a92 (commit)
via 538ca0fb4cdfa753c279b5e6003be123241f98d6 (commit)
via 43f9ad15e70dbd7f4af4ead454972fa778b64c5f (commit)
via d8104c21b6efe006bd5b365f31db1a75c582ddd4 (commit)
via 56bccf6ad57683870f1cca82d4f22fa5aaf02a67 (commit)
via 958c3ae6dfddd322538ac81e09470ee6ceb02b26 (commit)
via a5d32405942f75ea20f12725b315a1c43b451773 (commit)
via 558929d85d1eb909459d42f2ab7288435937206b (commit)
via fcfc6ec13df46beaf2b9679a64c7d14b5d4578b0 (commit)
via 055dc2321b1c56fed01011f96ee6d0e68e131e93 (commit)
via 71b1afd06ecd28886c15bfb86b6fda22c8ba4441 (commit)
via 2bf7ddd112a3d6adb1a3bc7d2ea8f4f288dc5939 (commit)
via e3b90c4cb909eee92af6893a92abaaeaa79eee4b (commit)
via 3df15701d67abb3b08567c6a908f415ea6f361da (commit)
via be162571977b642d976ee12e9db3bdfa5522dc2c (commit)
via 6f4994ff4dc588bab1b83173c414e6161b6d704e (commit)
from eb3a3df937fff981214cd6b8394ab321e09e1f7c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 768b06773767948fa2c36057acc3a4a1615a7430
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date: Tue Oct 22 15:05:15 2019 +0100
Bug 22445: DBRev 19.06.00.042
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 5555c9d4609935273dbf24757a3dc415253de8ea
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Wed Oct 16 09:13:20 2019 +0200
Bug 22445: Replace %% with {}
Sponsored-by: Orex Digital
Signed-off-by: Hayley Mapley <hayleymapley at catalyst.net.nz>
Signed-off-by: Hugo Agud <hagud at orex.es>
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Michal Denar <black23 at gmail.com>
Signed-off-by: Kyle Hall <kyle at bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer at bsz-bw.de>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 03e4c0bf5dbbea74573e0785a9f7b0fa1f3e9738
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date: Tue Oct 22 14:58:52 2019 +0100
Bug 22445: Add new pattern %normalized_isbn%
Quite bad to use C4::Koha from Koha::Biblio :-/
Sponsored-by: Orex Digital
Signed-off-by: Hayley Mapley <hayleymapley at catalyst.net.nz>
Signed-off-by: Hugo Agud <hagud at orex.es>
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Michal Denar <black23 at gmail.com>
Signed-off-by: Kyle Hall <kyle at bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer at bsz-bw.de>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 8c858f50a85614945a14ded29675a9be409b0a92
Author: Owen Leonard <oleonard at myacpl.org>
Date: Mon Mar 18 17:44:30 2019 +0000
Bug 22445: (follow-up) Use CSS to set a max-width for images - Staff client
This patch adds some CSS and markup to staff client templates so that
custom cover images have a maximum width of 140px (to match the width of
generated local cover image thumbnails). This prevents oversized images
from displaying inconsistently compared to images from other services.
This patch also adds a missing </a> to fix display problems.
To test, apply the patch and regenerate the staff client CSS. Post an
oversized image which corresponds to a record in your catalog.
View the following pages to confirm that the image displays well:
- Catalog search results
- Bibliographic detail page
Sponsored-by: Orex Digital
Signed-off-by: Hayley Mapley <hayleymapley at catalyst.net.nz>
Signed-off-by: Hugo Agud <hagud at orex.es>
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Michal Denar <black23 at gmail.com>
Signed-off-by: Kyle Hall <kyle at bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer at bsz-bw.de>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 538ca0fb4cdfa753c279b5e6003be123241f98d6
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date: Tue Oct 22 14:58:29 2019 +0100
Bug 22445: (follow-up) Use CSS to set a max-width for images - OPAC
This patch adds some CSS and markup to OPAC templates so that custom
cover images have a maximum width of 140px (to match the width of
generated local cover image thumbnails). This prevents oversized images
from displaying inconsistently compared to images from other services.
To test, apply the patch and regenerate the OPAC CSS. Post an oversized
image which corresponds to a record in your OPAC which can be added to a
user's checkouts and to a list.
View the following pages to confirm that the image displays well:
- OPAC search results
- Bibliographic detail page
- Shelf browser
- List contents
- Recent comments
- "Your summary"
Sponsored-by: Orex Digital
Signed-off-by: Hayley Mapley <hayleymapley at catalyst.net.nz>
Signed-off-by: Hugo Agud <hagud at orex.es>
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Michal Denar <black23 at gmail.com>
Signed-off-by: Kyle Hall <kyle at bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer at bsz-bw.de>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 43f9ad15e70dbd7f4af4ead454972fa778b64c5f
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Feb 28 19:13:42 2019 -0300
Bug 22445: Custom cover images - search resulta (staff)
Test plan:
Search for bibliographic records, the custom covers should be displayed.
Sponsored-by: Orex Digital
Signed-off-by: Hayley Mapley <hayleymapley at catalyst.net.nz>
Signed-off-by: Hugo Agud <hagud at orex.es>
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Michal Denar <black23 at gmail.com>
Signed-off-by: Kyle Hall <kyle at bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer at bsz-bw.de>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit d8104c21b6efe006bd5b365f31db1a75c582ddd4
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Feb 28 19:11:19 2019 -0300
Bug 22445: Custom cover images - detail (staff)
Test plan:
Staff side now, go the detail page of a bibliographic record
You should see the cover image.
Sponsored-by: Orex Digital
Signed-off-by: Hayley Mapley <hayleymapley at catalyst.net.nz>
Signed-off-by: Hugo Agud <hagud at orex.es>
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Michal Denar <black23 at gmail.com>
Signed-off-by: Kyle Hall <kyle at bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer at bsz-bw.de>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 56bccf6ad57683870f1cca82d4f22fa5aaf02a67
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date: Tue Oct 22 14:58:00 2019 +0100
Bug 22445: Custom cover images - opac user (checkout list)
Test plan:
- Check an item out to a patron
- At the OPAC loggin as this patron
On the checkout list you should see the cover image.
Sponsored-by: Orex Digital
Signed-off-by: Hayley Mapley <hayleymapley at catalyst.net.nz>
Signed-off-by: Hugo Agud <hagud at orex.es>
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Michal Denar <black23 at gmail.com>
Signed-off-by: Kyle Hall <kyle at bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer at bsz-bw.de>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 958c3ae6dfddd322538ac81e09470ee6ceb02b26
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Feb 28 18:58:21 2019 -0300
Bug 22445: Custom cover images - opac reviews (rss)
Test plan:
Same as previous patch, then click on the feeds link
Sponsored-by: Orex Digital
Signed-off-by: Hayley Mapley <hayleymapley at catalyst.net.nz>
Signed-off-by: Hugo Agud <hagud at orex.es>
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Michal Denar <black23 at gmail.com>
Signed-off-by: Kyle Hall <kyle at bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer at bsz-bw.de>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit a5d32405942f75ea20f12725b315a1c43b451773
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Feb 28 18:55:38 2019 -0300
Bug 22445: Custom cover images - opac reviews
Test plan:
- enable OpacShowRecentComments
- make a comment (OPAC)
- approve it (staff)
- click 'Recent comments' (OPAC)
=> You should see the custom cover
Sponsored-by: Orex Digital
Signed-off-by: Hayley Mapley <hayleymapley at catalyst.net.nz>
Signed-off-by: Hugo Agud <hagud at orex.es>
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Michal Denar <black23 at gmail.com>
Signed-off-by: Kyle Hall <kyle at bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer at bsz-bw.de>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 558929d85d1eb909459d42f2ab7288435937206b
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Feb 28 18:50:21 2019 -0300
Bug 22445: Custom cover images - opac shelves
Test plan:
Add a bibliographic record (that has a custom image) to a shelf,
view the shelf (OPAC).
You should see the image.
Sponsored-by: Orex Digital
Signed-off-by: Hayley Mapley <hayleymapley at catalyst.net.nz>
Signed-off-by: Hugo Agud <hagud at orex.es>
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Michal Denar <black23 at gmail.com>
Signed-off-by: Kyle Hall <kyle at bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer at bsz-bw.de>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit fcfc6ec13df46beaf2b9679a64c7d14b5d4578b0
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Thu Feb 28 18:39:59 2019 -0300
Bug 22445: Custom cover images - opac result (rss)
This cannot be tested, it seems that the template is broken.
Sponsored-by: Orex Digital
Signed-off-by: Hayley Mapley <hayleymapley at catalyst.net.nz>
Signed-off-by: Hugo Agud <hagud at orex.es>
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Michal Denar <black23 at gmail.com>
Signed-off-by: Kyle Hall <kyle at bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer at bsz-bw.de>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 055dc2321b1c56fed01011f96ee6d0e68e131e93
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Fri Mar 1 08:01:28 2019 -0300
Bug 22445: Custom cover images - opac detail
Test plan:
Go to the bibliographic record detail page at the OPAC, you should see
the custom cover image.
Sponsored-by: Orex Digital
Signed-off-by: Hayley Mapley <hayleymapley at catalyst.net.nz>
Signed-off-by: Hugo Agud <hagud at orex.es>
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Michal Denar <black23 at gmail.com>
Signed-off-by: Kyle Hall <kyle at bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer at bsz-bw.de>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 71b1afd06ecd28886c15bfb86b6fda22c8ba4441
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Fri Mar 1 08:01:05 2019 -0300
Bug 22445: Custom cover images - opac results
Test plan:
Search for bibliographic records at the OPAC, the custom cover should be
displayed
Sponsored-by: Orex Digital
Signed-off-by: Hayley Mapley <hayleymapley at catalyst.net.nz>
Signed-off-by: Hugo Agud <hagud at orex.es>
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Michal Denar <black23 at gmail.com>
Signed-off-by: Kyle Hall <kyle at bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer at bsz-bw.de>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 2bf7ddd112a3d6adb1a3bc7d2ea8f4f288dc5939
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date: Tue Oct 22 14:56:53 2019 +0100
Bug 22445: Custom cover images - opac shelfbrowser
Test plan:
Go to the detail page of a bibliographic record (at the OPAC)
and confirm the at custom cover images are displayed in the shelf
browser
Sponsored-by: Orex Digital
Signed-off-by: Hayley Mapley <hayleymapley at catalyst.net.nz>
Signed-off-by: Hugo Agud <hagud at orex.es>
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Michal Denar <black23 at gmail.com>
Signed-off-by: Kyle Hall <kyle at bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer at bsz-bw.de>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit e3b90c4cb909eee92af6893a92abaaeaa79eee4b
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date: Tue Oct 22 14:56:40 2019 +0100
Bug 22445: Allow marc fields as pattern
%tag$field%
There is a limitation here, only one replacement will work.
Let see if it is needed later to support several patterns
Sponsored-by: Orex Digital
Signed-off-by: Hayley Mapley <hayleymapley at catalyst.net.nz>
Signed-off-by: Hugo Agud <hagud at orex.es>
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Michal Denar <black23 at gmail.com>
Signed-off-by: Kyle Hall <kyle at bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer at bsz-bw.de>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 3df15701d67abb3b08567c6a908f415ea6f361da
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date: Tue Oct 22 14:56:25 2019 +0100
Bug 22445: Add tests for Koha::Biblio->custom_cover_image_url
Sponsored-by: Orex Digital
Signed-off-by: Hayley Mapley <hayleymapley at catalyst.net.nz>
Signed-off-by: Hugo Agud <hagud at orex.es>
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Michal Denar <black23 at gmail.com>
Signed-off-by: Kyle Hall <kyle at bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer at bsz-bw.de>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit be162571977b642d976ee12e9db3bdfa5522dc2c
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Fri Mar 1 08:00:53 2019 -0300
Bug 22445: Add new method Koha::Biblio->custom_cover_image_url
Sponsored-by: Orex Digital
Signed-off-by: Hayley Mapley <hayleymapley at catalyst.net.nz>
Signed-off-by: Hugo Agud <hagud at orex.es>
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Michal Denar <black23 at gmail.com>
Signed-off-by: Kyle Hall <kyle at bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer at bsz-bw.de>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
commit 6f4994ff4dc588bab1b83173c414e6161b6d704e
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Fri Mar 1 08:00:02 2019 -0300
Bug 22445: Add new prefs *CustomCoverImages*
This patch set adds a new method to display cover images for
bibliographic records.
The idea is to provide a flexible way allowing several use cases:
- local path
- remote url
- webservice
which would follow a given pattern.
So far only the following patterns are available:
- {isbn} will be replaced byt the isbn of the record
- {issn}
- using MARC subfields:
{024$a} to replace with the value in 024$a
(Note that the selector has been changed from %% to {} in a coming
patch)
For example
- /your/local/images/{isbn}.png
- https://covers.openlibrary.org/b/isbn/{isbn}-M.jpb
- etc.
There are 3 new sysprefs:
CustomCoverImagesURL
=> Define the path/url
CustomCoverImages
=> Turn on/off the display of the custom cover image in the staff client
OPACCustomCoverImages
=> Turn on/off the display of the custom cover image at the OPAC
Sponsored-by: Orex Digital
Signed-off-by: Hayley Mapley <hayleymapley at catalyst.net.nz>
Signed-off-by: Hugo Agud <hagud at orex.es>
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Michal Denar <black23 at gmail.com>
Signed-off-by: Kyle Hall <kyle at bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer at bsz-bw.de>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
-----------------------------------------------------------------------
Summary of changes:
C4/Search.pm | 2 ++
C4/ShelfBrowser.pm | 31 +++++++---------
Koha.pm | 2 +-
Koha/Biblio.pm | 38 ++++++++++++++++++++
catalogue/detail.pl | 2 ++
installer/data/mysql/sysprefs.sql | 3 ++
installer/data/mysql/updatedatabase.pl | 15 ++++++++
.../intranet-tmpl/prog/css/src/staff-global.scss | 6 ++++
.../admin/preferences/enhanced_content.pref | 18 +++++++++-
.../prog/en/modules/catalogue/detail.tt | 14 ++++++--
.../prog/en/modules/catalogue/results.tt | 8 +++--
koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss | 6 ++++
.../bootstrap/en/includes/shelfbrowser.inc | 6 ++++
.../opac-tmpl/bootstrap/en/modules/opac-detail.tt | 9 ++++-
.../bootstrap/en/modules/opac-opensearch.tt | 5 +++
.../opac-tmpl/bootstrap/en/modules/opac-results.tt | 9 +++++
.../opac-tmpl/bootstrap/en/modules/opac-shelves.tt | 14 ++++++++
.../bootstrap/en/modules/opac-showreviews-rss.tt | 5 +++
.../bootstrap/en/modules/opac-showreviews.tt | 5 +++
.../opac-tmpl/bootstrap/en/modules/opac-user.tt | 4 +++
opac/opac-shelves.pl | 3 +-
opac/opac-showreviews.pl | 2 ++
opac/opac-user.pl | 7 +++-
t/db_dependent/Koha/Biblios.t | 30 +++++++++++++++-
24 files changed, 214 insertions(+), 30 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list