Commit Graph

4553 Commits

Author SHA1 Message Date
Victor Grousset/tuxayo f2b9cd02ea Increment version for 20.11.18 release
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2022-04-26 02:59:33 +02:00
Victor Grousset/tuxayo 94830b5bb1 Increment version for 20.11.17 release
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2022-03-24 04:44:15 +01:00
Andrew Fuerste-Henry b5bcdaf2cb Bug 29596: DBRev 20.11.16.001
Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
(cherry picked from commit e6faadbc86)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2022-03-18 03:30:36 +01:00
Tomas Cohen Arazi 97528e1d57 Bug 29596: Add Yiddish language
This patch adds the Yiddish language to Koha. The language codes were
taken from https://www.loc.gov/standards/iso639-2/php/code_list.php

Sponsored-by: Universidad Nacional de San Martín

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: David Nind <david@davidnind.com>

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

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 808fb2679b)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
(cherry picked from commit c014c4bc53)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2022-03-18 01:16:34 +01:00
Victor Grousset/tuxayo 522c83a4b0 Merge branch '20.11.x-security' into 20.11.x
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2022-03-12 00:31:47 +01:00
Victor Grousset/tuxayo 739db0e1ba Increment version for 20.11.16 release
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2022-03-11 16:20:45 +01:00
Fridolin Somers c8c99b1f34 Bug 29722: (QA follow-up) Replace unusual single quote
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit a4c5a16691)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
(cherry picked from commit 7b8a548a8b)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2022-02-24 23:31:13 +01:00
Aleisha Amohia 86b716bd5b Bug 29722: Add more sample quotes
This patch adds sample quotes from women, women of colour, trans women,
Black and Indigenous women, and people who weren't US Presidents!

To test:
1. Install a fresh Koha and import sample quotes
2. Go to Tools -> Quote editor
3. Confirm the quotes show

Sponsored-by: Catalyst IT

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 97692b4bba)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
(cherry picked from commit 63670a5251)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2022-02-24 23:31:13 +01:00
Victor Grousset/tuxayo 57e05b8d62 Increment version for 20.11.15 release
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2022-02-24 01:04:25 +01:00
Andrew Fuerste-Henry b2c5d03cd2 Bug 29495: DBRev 20.11.14.002
Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
(cherry picked from commit 7e1e62d69b)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2022-02-23 22:47:12 +01:00
Martin Renvoize d26dc0867c Bug 29495: Drop issue_id constraint from return_claims
This patch removes the issue_id constraint from return_claims.

Due to the nature of our dual table approach to checkouts/old_checkouts
we can't safely hae this constraint and not lose data.  Prior to this
commit, when an item is checked in we move the checkout from checkouts
to old_checkouts.. this therefore triggers the delete of the issue_id
from the return_claims table as described by the foreign key constraint.

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
(cherry picked from commit f8125ecc18)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2022-02-23 20:36:54 +01:00
Andrew Fuerste-Henry 82a2a8273a Bug 29457: DBRev 20.11.14.001
Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
(cherry picked from commit 7a87c3ddb3)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2022-02-11 23:58:39 +01:00
Martin Renvoize 178cd55fb4 Bug 29457: Generic warning at upgrade
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Amended: Adding exec flag and two dots.
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>

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

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 1dec6d9468)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
(cherry picked from commit a28dd48b5e)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2022-02-11 23:27:12 +01:00
Victor Grousset/tuxayo 32a252c615 Increment version for 20.11.14 release
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2022-01-31 20:09:51 +01:00
Victor Grousset/tuxayo c2eb9ee3ce Increment version for 20.11.13 release
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2021-12-23 23:08:43 +01:00
Fridolin Somers 40281bc6bc Increment version for 20.11.12 release
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-11-29 20:47:17 -10:00
Kyle Hall 6fb901ac87 Bug 29341: DBRev 20.11.11.002
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit c2430c6ee0)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-11-19 15:55:33 -10:00
Jonathan Druart aa2ec37ce1 Bug 29341: Remove foreign keys on pseudonymized_transactions
Behave like the statistics table and don't remove the code even if the
branch or patron's category is removed.

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 f4c61260f5)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-11-19 14:32:29 -10:00
Kyle Hall 9c5e3ef1c9 Bug 29386: DBRev 20.11.11.001
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 78e28dc804)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-11-12 13:06:50 -10:00
Jonathan Druart 6d74511c5c Bug 29386: Extend background_jobs.data to LONGTEXT
TEXT is too small, we must extend it to allow bigger jobs.

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 d79599b7ec)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-11-12 12:57:42 -10:00
Nick Clemens 082646bd62 Bug 26374: update from bug 19974 is not idempotent
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 61b005822b)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-11-10 13:45:11 -10:00
Fridolin Somers f05ae32c34 Increment version for 20.11.11 release
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-10-28 10:29:16 -10:00
Kyle Hall dbf315fc3d Bug 29137: DBRev 20.11.10.002
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-10-20 18:02:44 -10:00
Jonathan Druart 7c211dfe3f Bug 29137: Add new syspref to disable AV creation within the cataloguing module
"I don't like this patch at all!"
"We will see a cataloger revolt if we do not find a way to make this
optional for catalogers."

I imagined a hord of catalogers running behind me and I got scared.

This patch will allow to turn the new feature added by bug 25728 off.

Test plan:
Confirm that the new CreateAVFromCataloguing will permit to turn the
feature off.

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.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 4aaf9847c9)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-10-20 18:01:24 -10:00
Kyle Hall e490a0860e Bug 28826: DBRev 20.11.10.001
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-10-20 17:55:12 -10:00
Nick Clemens d8f2674cc2 Bug 28826: Add FacetOrder system preference
This bug adds a system preference to control ordering of facets and
adds the control to both Zebra and Elasticsearch

To test:
1 - Have a koha that can use both Zebra and ES
2 - Set 'displayFacetCount' to true
3 - Search in ES and Zebra
4 - Note facets in Zebra sorted alphabetically, ES by usage
5 - Apply patch, updatedatabase
6 - Search in ES and Zebra, facets are alphabetically sorted in both
7 - Find new syspref FacetOrder and set to 'by usage'
8 - Search in both engines, facets sorted by usage

Signed-off-by: David Nind <david@davidnind.com>
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 ef40ba17ae)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-10-20 17:53:00 -10:00
Fridolin Somers 60b5328a37 Increment version for 20.11.10 release
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-09-22 10:45:27 -10:00
Victor Grousset/tuxayo fb64f96f6f Bug 28772: DBRev 20.11.09.002 2021-09-20 20:24:26 -10:00
Marcel de Rooy 8c6d83bff9 Bug 28772: (QA follow-up) Apply change to other dbrev too [STABLE]
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
2021-09-20 20:21:00 -10:00
Tomas Cohen Arazi cf7a741381 Bug 28772: Update existing keys [STABLE]
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
2021-09-20 20:21:00 -10:00
Kyle M Hall 05f73a551e Bug 28774: DBRev 20.11.09.001
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 4892d29352)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-09-08 10:45:14 -10:00
Nick Clemens d4e16785a3 Bug 28774: Don't store blank values for rental discount
This patch adds 'can_be_blank => 0' for the rentaldiscount rule to prevent
storing blank values in the database

Additionally, if there is no charge we do not need to check for a discount
and can simply return

To test:
1 - Set rental discount to "" to a rule in circulation rules
2 - Checkout an item that will follow this rule
3 - Check the intranet log:
    [WARN] Argument "" isn't numeric in subtraction (-) at /kohadevbox/koha/C4/Circulation.pm line 3385.
4 - Apply patch and restart all
5 - Update database
6 - Set the rule to "" again
7 - Check the DB, no rule is stored
    SELECT * FROM circulation_rules WHERE rule_name = 'rentaldiscount';
8 - Checkout the item again
9 - No warns in log

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

Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 11ec644edf)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-09-08 10:42:58 -10:00
Fridolin Somers 06e9d51a60 Increment version for 20.11.09 release 2021-08-24 16:09:50 -10:00
Jonathan Druart 8e417216ca Bug 28567: DBRev 21.06.00.011
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit bf4223067b)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-08-11 09:17:41 -10:00
Jonathan Druart 60675ace19 Bug 28567: Fix 0 vs "" vs undef on the admin library form
There are two things here:
* Branches.pickup_location has a default = 1 in DB, we should not set to undef if 0
or it will be set to 1 when stored.
* The other fields are all text (varchar, mediumtext or longtext) and
can be NULL. They are correct set to NULL when a new library is created
but set to an empty string when the library is modified. That's not
consistent

Test plan:
0. Don't apply the patch
1. Create a new library, set pickup location to "No"
2. Save
=> Pickup location is set to YES
=> In DB notice that the different values you didn't fill in are set to
NULL
3. Edit the library
4. Save
=> In DB notice that the different values you didn't fill in are now set
to an empty string
5. Apply the patch, restart_all
6. Run the updatedatabase script
=> In DB all the empty string values are set to NULL
7. Repeat 1 to 4 and confirm that everything is now working as expected

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

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 a844a2211f)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-08-11 09:16:02 -10:00
Victor Grousset/tuxayo 572823d5fc Increment version for 20.11.08 release
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2021-07-23 14:12:24 +02:00
Victor Grousset/tuxayo b5337823a3 Increment version for 20.11.07 release
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2021-06-28 01:52:27 +02:00
Fridolin Somers 31b2116ea3 Increment version for 20.11.06 release
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-05-25 15:20:14 +02:00
Alex Arnaud c5116ab2ff Bug 28298: fix DB update 19.12.00.076
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 1426cfce0e)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-05-12 15:58:39 +02:00
Nick Clemens e50b7c6d2f Bug 27842: (follow-up) Correct existing serail/subscriptionhistory before deletion
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit f29a41288c)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-05-12 15:58:29 +02:00
Jonathan Druart db2a7a4a6b Bug 28244: DBRev 20.11.05.004
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 36c54d8185)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-05-11 12:08:08 +02:00
David Cook 0e6320cde5 Bug 28244: Fix typo in Ukrainian in language tables in English
This changes the English of Ukranian to Ukrainian.

1) Apply patch
2) Go to http://localhost:8080/cgi-bin/koha/opac-search.pl
3) Click on "Language" drop-down
4) Note near the bottom it says "Ukrainian" instead of "Ukranian"

Signed-off-by: Henry Bolshaw <bolshawh@parliament.uk>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 945548533b)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-05-11 12:07:08 +02:00
Jonathan Druart 5e6b81899b Bug 28258: DBRev 20.11.05.003
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit e09cfd5d55)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-05-11 12:05:21 +02:00
Jonathan Druart 71d1d1b84d Bug 28258: Fix existing occurrence
I think it's good to fix the original problem as well

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

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

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit d299e1ffc6)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-05-11 12:01:36 +02:00
Lucas Gass 2412990733 Bug 28258: Update bad formatting in AUTO_RENEWALS notice
To test:
-Look at the AUTO_RENEWALS notice and see the syntax [% checkout.date_due as_due_date => 1 %]
-Apply patch, updatedatabase
-Look at the AUTO_RENEWALS notice and see the syntax [% checkout.date_due | $KohaDates as_due_date => 1%]

Additional test:
1 - Checkout an item to a patron
2 - Find their borrowernumber, the itemnumber, and the biblionumber
3 - Use the get_prepared_letter script to test the letter content
    perl misc/devel/get_prepared_letter.pl --module circulation --letter-code AUTO_RENEWALS --tables="{\"borrowers\": 5,\"issues\": 1040,\"items\": 1040,\"biblio\": 2 }"

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

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

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit d8491c6eb2)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-05-11 12:01:36 +02:00
Fridolin Somers 6ccc9d5849 Revert "Bug 27842: (follow-up) Correct existing serail/subscriptionhistory before deletion"
This reverts commit 7fadc22cd0.
2021-05-07 10:50:34 +02:00
Nick Clemens 7fadc22cd0 Bug 27842: (follow-up) Correct existing serail/subscriptionhistory before deletion
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit f29a41288c)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-04-30 11:10:06 +02:00
Caroline Cyr La Rose 5bf03017ac Bug 27852: Link YES_NO authorized value category to 942dev in Default framework
This patch add the YES_NO authorised value category to
942dev in the Default framework and sets the default value
to 0 (No).

To test:
1) Load the yaml file
1) Load the yaml file
(I used the load_yaml.pl script after deleting the values from my database)
2) Go to cataloging and open an empty cataloging form
using the Default framework
2) Go to 942dev: the value should read No and there should
be a drop down choice between Yes and No

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>
(cherry picked from commit 3ae4f91f3b)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-04-29 15:05:56 +02:00
Jonathan Druart 712d93cb6e Bug 20854: DBRev 20.12.00.034
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit da29bf48db)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-04-29 13:58:53 +02:00
Matthias Meusburger 26e7262963 Bug 20854: Allow correct redirect on logout for Cas servers 3.0 and superior.
Test plan:

 1) Apply the patch
 2) Set the system preference casLogout to "Yes"
 3) Set the new system preference CasServerVersion to "CAS 3 or superior"
 4) Check that you are redirected to Koha after a CAS logout from a CAS 3 server
 5) Set the new system preference CasServerVersion to "CAS 2 or inferior"
 6) Check that you are redirected to Koha after a CAS logout from a CAS 2 server

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

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

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 91307707ed)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2021-04-29 13:57:51 +02:00