Commit Graph

2575 Commits

Author SHA1 Message Date
Victor Grousset/tuxayo babbb930b0 Update release notes for 20.11.18 release
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2022-04-26 05:16:55 +02:00
Victor Grousset/tuxayo 84c5cac381 Fix translations for Koha 20.11.18
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2022-04-26 02:57:23 +02:00
Koha translators 68ba9d5d54 Translation updates for Koha 20.11.18
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2022-04-26 02:24:36 +02:00
Victor Grousset/tuxayo a4ff2ed94d Update release notes for 20.11.17 release
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2022-03-24 04:45:13 +01:00
Victor Grousset/tuxayo 82876babd7 Fix translations for Koha 20.11.17
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2022-03-24 02:29:36 +01:00
Koha translators 7ebef0885d Translation updates for Koha 20.11.17
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2022-03-24 01:43:52 +01:00
Victor Grousset/tuxayo a36f5604df Update release notes for 20.11.16 release
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2022-03-11 16:32:28 +01:00
Victor Grousset/tuxayo 42a17ea13f Update release notes for 20.11.15 release
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2022-02-24 13:51:08 +01:00
Victor Grousset/tuxayo e95ffd2a68 Fix translations for Koha 20.11.15
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2022-02-24 01:00:29 +01:00
Koha translators 82e82081a2 Translation updates for Koha 20.11.15
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2022-02-24 00:17:28 +01:00
Victor Grousset/tuxayo 81d83994a0 Update release notes for 20.11.14 release
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2022-01-31 20:47:08 +01:00
Victor Grousset/tuxayo 1ca294f6f5 Fix translations for Koha 20.11.14
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2022-01-31 20:06:12 +01:00
Koha translators 3089bb94a1 Translation updates for Koha 20.11.14
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2022-01-31 19:16:03 +01:00
Victor Grousset/tuxayo 68428d0eeb Update release notes for 20.11.13 release
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2021-12-24 15:50:20 +01:00
Victor Grousset/tuxayo d38e104834 Fix translations for Koha 20.11.13
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2021-12-23 23:06:12 +01:00
Koha translators 861b3d6042 Translation updates for Koha 20.11.13
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2021-12-23 22:42:43 +01:00
Fridolin Somers b4aec2b7f0 Update release notes for 20.11.12 release
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-11-29 20:55:44 -10:00
Victor Grousset/tuxayo 5ee3dca8e0 Fix translations for Koha 20.11.12
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-11-29 20:29:27 -10:00
Koha translators 701619c513 Translation updates for Koha 20.11.12 2021-11-30 03:20:10 -03:00
Kyle M Hall dbde899421 Bug 28474: Pass process_message_queue.pl params to before_send_messages plugin hooks
It would be useful to send most of the process_message_queue.pl script parameters to any plugin before_send_messages hooks. For example, the Twilio Voice plugin uses before_send_messages to send phone messages, but if the script is called with "-t email", it doesn't know and will make phone calls! If that info were passed in, the plugin could be made aware of it and only make calls if no "-t" or a "-t phone" were set in the parameters.

Test Plan:
1) Apply this patch
2) Install Kitchen Sink plugin v2.2.0 or later
   https://github.com/bywatersolutions/dev-koha-plugin-kitchen-sink/releases/download/v2.2.0/dev-koha-plugin-kitchen-sink-2.2.0.kpz
3) Run misc/cronjobs/process_message_queue.pl with any or all non-email
   related paramters
4) Note the plugin output shows the parameters were passed to the plugin

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit f386c8ce85)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-11-12 12:32:45 -10:00
Fridolin Somers 6618a23e8c Update release notes for 20.11.11 release
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-10-28 10:39:05 -10:00
Victor Grousset/tuxayo 491b278158 Fix translations for Koha 20.11.11
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-10-28 10:28:38 -10:00
Fridolin Somers 6ba0d620f5 Merge remote-tracking branch 'translate/20.11.11-translate-20211028' into 20.11.x 2021-10-28 10:28:09 -10:00
Koha translators 88d4cae213 Translation updates for Koha 20.11.11 2021-10-28 17:24:35 -03:00
Caroline Cyr La Rose 184d678010 Bug 29216: Correct --where documentation in update_patrons_category.pl
This patch removes two misleading examples of the --where parameter
documentation in update_patrons_category.pl

To test:

1. Apply patch
2. In your favourite text editor, open misc/cronjobs/update_patrons_category.pl
3. Look for the documentation for the --where parameter (around line 133 or so)
4. Make sure the examples and their explanations make sense
5. Sign off :)

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit e85d5b3af1)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-10-22 16:15:31 -10:00
Nick Clemens 294d43597a Bug 28352: Only check authorised values mapped to DB fields
The errors reported seem to be caused by authorised values mapped to MARC fields
but not mapped to a koha field.

We should additionally make sure to check the Default framework

Also, adding comment to indicate we only check records with items, because we do

TO test:
1 - In a framework that is not the default map a MARC field to an authorised value, but not a koha field
2 - In SQL, force the kohafield to NULL for the mapping you just make
    UPDATE marc_subfield_structure SET kohafield = NULL WHERE frameworkcode='BKS' and authorised_value='HINGS_AS'
3 - perl misc/maintenance/search_for_data_inconsistencies.pl
4 - get the following errors:
Use of uninitialized value $tmp_kohafield in pattern match (m//) at /kohadevbox/koha/misc/maintenance/search_for_data_inconsistencies.pl line 151.
Use of uninitialized value $tmp_kohafield in substitution (s///) at /kohadevbox/koha/misc/maintenance/search_for_data_inconsistencies.pl line 154.
Can't call method "get_column" on an undefined value at /kohadevbox/koha/misc/maintenance/search_for_data_inconsistencies.pl line 157.
5 - Apply patch
6 - Repeat
7 - No more errors

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 392f673cae)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-10-20 18:07:15 -10:00
Marcel de Rooy 0fe18806e6 Bug 29078: Resolve division by zero in touch_all scripts
Illegal division by zero at misc/maintenance/touch_all_biblios.pl line 102.

Trivial fix.
Funny that the percentage is not even shown without verbose flag ;)

Test plan:
Run misc/maintenance/touch_all_biblios.pl -where 'biblionumber<0'
You should now see:
Good: 0, Bad: 0 (of 0) in 0 seconds

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 3e0d610031)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-10-20 17:46:19 -10:00
Nick Clemens 5dc1e73143 Bug 29076: Fetch the zebraqueue entries when not confirm
This patch remove a check for confirm when fetching the entries
for possible deletion from the zebraqueue

Without this we die when we try to access the entries for counting

To test:
1 - perl  misc/cronjobs/cleanup_database.pl --sessions --zebraqueue 10 --list-invites --z3950 --logs 180 --mail 375 -v
2 - Dies
3 - Apply patch
4 - Repeat 1
5 - Success!

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 619e60fd55)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-10-08 16:18:12 -10:00
Fridolin Somers f71a106c1d Update release notes for 20.11.10 release
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-09-22 10:50:36 -10:00
Victor Grousset/tuxayo c2846ebd0e Fix translations for Koha 20.11.10
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-09-22 10:43:52 -10:00
Koha translators 7b6a0a8fc3 Translation updates for Koha 20.11.10 2021-09-22 17:41:01 -03:00
Fridolin Somers b5c77a293a Update release notes for 20.11.09 release
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-08-24 16:28:39 -10:00
Victor Grousset/tuxayo 0f11955a89 Fix translations for Koha 20.11.09
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-08-24 16:04:43 -10:00
Koha translators f9ecae70d9 Translation updates for Koha 20.11.09 2021-08-24 22:57:43 -03:00
Jonathan Druart 6198b5033e Bug 28399: Remove txn error from batchRebuildItemsTables.pl
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit f131e51984)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-08-02 11:10:03 -10:00
Victor Grousset/tuxayo 9cfb5a5668 Update release notes for 20.11.08 release
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2021-07-23 14:12:26 +02:00
Victor Grousset/tuxayo a6b1634c4f Fix translations for Koha 20.11.08
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2021-07-23 14:12:19 +02:00
Koha translators 37f40cadfe Translation updates for Koha 20.11.08
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2021-07-23 04:57:18 +02:00
Victor Grousset/tuxayo c94e306cc0 Update release notes for 20.11.07 release
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2021-06-28 01:52:27 +02:00
Victor Grousset/tuxayo e686f97505 Fix translations for Koha 20.11.07
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2021-06-28 01:52:27 +02:00
Koha translators 7ee59b4741 Translation updates for Koha 20.11.07
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2021-06-28 01:51:56 +02:00
Fridolin Somers 997f5a9f47 Revert "Bug 28503: Unit tests"
This reverts commit 77515dbb4d.
2021-06-22 14:21:22 +02:00
Nick Clemens 77515dbb4d Bug 28503: Unit tests
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit a4cdeaae3f)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-06-21 15:31:08 +02:00
Jonathan Druart 0f9066903e Bug 28487: Fallback to default template in overdue_notices
There is no fallback to the "default" language if there is no
language-specific template for the lang of the patron.

I am not really sure why we are not using GetPreparredLetter here (which
defaults), but this needs to be backported into all stable branches and
so as small as possible.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 09fcc66ab8)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-06-21 14:38:06 +02:00
Fridolin Somers d8c998fa3e Update release notes for 20.11.06 release
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-05-25 15:53:52 +02:00
Fridolin Somers 028407d8bc Fix translations for Koha 20.11.06
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-05-25 14:51:47 +02:00
Fridolin Somers 795a15afb6 Merge remote-tracking branch 'translate/20.11.06-translate-20210525' into 20.11.x 2021-05-25 14:44:28 +02:00
Koha translators f10bfe8202 Translation updates for Koha 20.11.06 2021-05-25 09:32:23 -03:00
Nick Clemens c47fe0c6d8 Bug 15720: Add connexion user and password options to connexion daemon
Currently the connexion daemon does not utilize the user and password passed in the requests, it expects a
user and password to be defined in the config file and for that user to be a valid Koha user with
cataloging permissions.

With that user in place all requests to the daemon are authorized.

As the connections are over TCP we allow defining a new connexion user and password to protect Koha account information.

If not defined current behaviour is preserved. Connexion user and password must both be set it either is set.

Sample config file:
host:
port: 8888
koha:http://localhost:8081
log:/var/log/koha/kohadev/connexion.log
match:ISBN
user:kohauser
password:kohapass
overlay_action:replace
nomatch_action:create_new
item_action:always_add
import_mode:redirect
debug:1

To test:
 1 - Create connexion file and save on the Koha serve
 2 - perl misc/bin/connexion_import_daemon.pl -c /kohadevbox/koha/connexion.cnf
 3 - Ensure the user specified above (connexuser) exists and has edit catalogue permissions
 4 - In another terminal make a request to the server:
        echo -en 'U6turtleA9connexionP5shell00024    a62clear00024   4500' | nc -v localhost 8888
 5 - The request should succeed and record added to batch (probably the import fails, but not important)
 6 - Add to config file
        connexion_user:conuser
 7 - Stop and restart the daemon - it should fail on missing connexion_password
 8 - Comment out connexion_user and add
        connexion_password:conpass
 9 - Stop and restart daemon, it fails on missing connexion_user
10 - Uncomment the user and restart
11 - Make another request
        echo -en 'U6turtleA9connexionP5shell00024    a62clear00024   4500' | nc -v localhost 8888
12 - It fails 'Unauthorized request'
13 - Make another request
        echo -en 'U7conuserA9connexionP7conpass00024    a62clear00024   4500' | nc -v localhost 8888
14 - It succeeds!

Signed-off-by: Allison Blanning <ablanning@hotchkiss.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2021-05-24 10:00:42 +02:00
Nick Clemens bac2651c60 Bug 28255: Follow up to bug 23463 - use item_object in misc/cronjobs/delete_items.pl
This looks like just an assumption that the $item variable was an object

Correct the code to use $item_object

To test:
1 - perl misc/cronjobs/delete_items.pl -where="barcode LIKE '%8'" --commit --verbose
2 - Can't call method "safe_delete" on unblessed reference at /usr/share/koha/bin/cronjobs/delete_items.pl line 67.
3 - Apply patch
4 - Repeat
5 - Success! You deleted a bunch of items

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 423421eb64)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-05-20 14:52:48 +02:00