[koha-commits] main Koha release repository branch master updated. v20.05.00-819-gef3b7eedc0
Git repo owner
gitmaster at git.koha-community.org
Wed Aug 26 15:52:48 CEST 2020
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 ef3b7eedc0efc726329f2f608c0f676e93fd5566 (commit)
via 9e97dbca2983163e1ffc19fc435ac8bea6550c82 (commit)
via 6d51b74ff22384fb302ba2796b08465defa59aff (commit)
via 4d9ab04a9391a4960a6155d983fdf839467bfdf4 (commit)
via 9e4eb6cbd19342cb1b64c00175d646b29558fe71 (commit)
via 58a30f1b44c700f461a9f5028dfab2d7f7048375 (commit)
via e0a4bad3fccb67b9459b0e245d4f9647c2b3b428 (commit)
from 88f64019536887c094b0178007d3583a048917f2 (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 ef3b7eedc0efc726329f2f608c0f676e93fd5566
Author: Katrin Fischer <katrin.fischer.83 at web.de>
Date: Sun May 24 01:27:49 2020 +0200
Bug 25129: Update German (de-DE) web installer sample files for 20.05
This translates the new notices and CSV profie for late orders,
makes some minor changes to the patron category descriptions
and numbering patterin labelling.
To test:
- Make sure German language is installed, see:
https://wiki.koha-community.org/wiki/Installation_of_additional_languages_for_OPAC_and_INTRANET_staff_client
- Run the web installer and choose de-DE
- Select all sample files
- Make sure they all install without any errors
Bonus:
- If you can speak German, you can check the translations as well :)
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit 9e97dbca2983163e1ffc19fc435ac8bea6550c82
Author: Katrin Fischer <katrin.fischer.83 at web.de>
Date: Fri Jul 17 22:03:28 2020 +0000
Bug 26013: Fix formatting for dates on "Manage stage MARC records" page
The "staged" dates were not formatted according to system
preferences DateFormat and TimeFormat as the appropriate TT
filters were missing.
To test:
- Stage a record in MARC format
- Go to Staged MARC management
- Check the date in the list of imports
- Click on the import and check the "Staged:" date
- Apply patch
- Repeat and verify formatting is now correct
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Joonas Kylmälä <joonas.kylmala at helsinki.fi>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit 6d51b74ff22384fb302ba2796b08465defa59aff
Author: Katrin Fischer <katrin.fischer.83 at web.de>
Date: Fri Jul 17 23:07:07 2020 +0000
Bug 26014: Add publication year and edition to Z39.50 results in acquisition
The publication year and edition columns were present in
the Z39.50 results in cataloguing, but were missing in
acquisitions.
To test:
- Go to acquisitions
- Create a new basket
- Create an order within it from 'external source'
- Search for a title, for example with LOC
- In a separate tab, go to cataloguing
- Search the same record with Z39.50
- Compare result lists, date and edition are missing from acq
- Apply the patch
- Repeat search in acquisitions
- Verify result lists now match up
- Bonus: Date was changed to Year which is more fitting and
will translate better.
Signed-off-by: Amit Gupta <amit.gupta at informaticsglobal.com>
Signed-off-by: Joonas Kylmälä <joonas.kylmala at helsinki.fi>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit 4d9ab04a9391a4960a6155d983fdf839467bfdf4
Author: Fridolin Somers <fridolin.somers at biblibre.com>
Date: Fri Aug 7 10:58:51 2020 +0200
Bug 26175: Remove warn if undefined barcode in misc/export_records.pl
When using misc/export_records.pl --deleted_barcodes if barcode is NULL you get warn :
Use of uninitialized value in say at /home/koha/src/misc/export_records.pl
Also exporting barcode if empty string makes no sense.
Test plan :
1) Delete an item with barcode = NULL
2) Run : misc/export_records.pl --date=`date +%d/%m/%Y` --deleted_barcodes --filename=/tmp/deleted_barcodes
3) Check you se no warn "Use of uninitialized value in say ..."
4) Delete an item with barcode = ''
5) Run 2)
6) Check there is no empty line in /tmp/deleted_barcodes
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit 9e4eb6cbd19342cb1b64c00175d646b29558fe71
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Tue Aug 25 12:00:28 2020 -0300
Bug 23653: Add license information in about.pl
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
JD Amended patch
<p>The included <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/schemas/v2.0/schema.json">api/swagger-v2-schema.json</a> file is licensed under the[-the-] <a href="https://github.com/OAI/OpenAPI-Specification/tree/master/schemas/v2.0">Apache License, Version 2.0</a>, by the <a href="https://www.openapis.org/about">OpenAPI Initiative [-(OAI)</a></p>-]{+(OAI)</a>.</p>+}
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit 58a30f1b44c700f461a9f5028dfab2d7f7048375
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Mon Aug 10 10:59:46 2020 +0200
Bug 23653: Remove uneeded cond test
rel_file returns the path anyway
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
commit e0a4bad3fccb67b9459b0e245d4f9647c2b3b428
Author: David Cook <dcook at prosentient.com.au>
Date: Wed Jul 1 02:26:01 2020 +0000
Bug 23653: use local copy of swagger v2 schema
By default, JSON::Validator::OpenAPI tries to fetch the
swagger v2 schema from http://swagger.io/v2/schema.json.
If you've installed from CPAN, JSON::Validator::OpenAPI will
come with a cached copy, so it won't try to fetch it over HTTP.
However, if you've installed from libjson-validator-perl
from Debian/Ubuntu, the Debian package excludes the cached copy,
so JSON::Validator::OpenAPI tries to fetch it over HTTP.
Unfortunately, today and other days in the past, the file at
http://swagger.io/v2/schema.json has been unavailable, and this causes
Koha to crash in a perpetual loop.
This patch includes a copy of the swagger v2 schema, and it loads
it locally rather than fetching over HTTP.
The changes to Koha/REST/Plugin/PluginRoutes.pm are not required,
since the validator isn't currently called there, but I've added
a patch to future proof it.
To Test:
0a) Remove /usr/share/perl5/JSON/Validator/cache/36d1bd12eeed51e86c8695bd8876a9df
if it exists
0b) Block external access to http://swagger.io/v2/schema.json or
test during an outage when it's unavailable
0c) Do not apply patch
1) koha-plack --restart kohadev
2) Note that it crashes in a loop and is unavailable in web browser
3) Apply patch
4) koha-plack --restart kohadev
5) Note that Koha comes up and there are no errors in the Plack logs
Signed-off-by: Victor Grousset/tuxayo <victor at tuxayo.net>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
-----------------------------------------------------------------------
Summary of changes:
Koha/REST/Plugin/PluginRoutes.pm | 13 +-
Koha/REST/V1.pm | 3 +
api/swagger-v2-schema.json | 1607 ++++++++++++++++++++
.../data/mysql/de-DE/mandatory/sample_notices.sql | 110 +-
.../de-DE/mandatory/sample_numberpatterns.sql | 10 +-
.../data/mysql/de-DE/optional/csv_profiles.sql | 2 +-
.../mysql/de-DE/optional/patron_categories.sql | 10 +-
koha-tmpl/intranet-tmpl/prog/en/modules/about.tt | 3 +
.../prog/en/modules/acqui/z3950_search.tt | 4 +
.../prog/en/modules/cataloguing/z3950_search.tt | 2 +-
.../prog/en/modules/tools/manage-marc-import.tt | 5 +-
misc/export_records.pl | 1 +
12 files changed, 1697 insertions(+), 73 deletions(-)
create mode 100644 api/swagger-v2-schema.json
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list