Koha/Koha
Tomas Cohen Arazi 15fcd755a2 Bug 26181: Disable override by default in /holds
This patch disables AllowHoldPolicyOverride by default in /holds. It
also adds a header that can be used to request the override explicitly.

Tests are added for this behaviour

To test:
1. Apply the regression tests patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/holds.t
=> FAIL: Tests fail because the behaviour is not implemented
3. Apply this patch
4. Repeat 2
=> SUCCESS: Tests pass!
5. Sign off :-D

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

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

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

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-02-12 12:14:50 +01:00
..
Account Bug 24603: (follow-up) Update to double entry accounting 2020-11-10 15:00:14 +01:00
Acquisition Bug 25670: New orders included only if standing 2021-01-28 16:41:10 +01:00
App Bug 20582: Reset CGI::PARAM_UTF8 to 1 before each CGI request 2020-10-06 14:34:17 +02:00
ArticleRequest
Authority
BackgroundJob Bug 22417: Remove $dbh in Koha::BackgroundJob::* 2020-10-05 15:23:08 +02:00
Biblio Bug 26171: Show biblionumber in Koha::Exceptions::Metadata::Invalid 2021-01-04 13:29:50 +01:00
BiblioUtils
Cache
Cash Bug 26172: Replace _result[set] calls 2020-11-05 15:24:20 +01:00
Charges Bug 23830: Adapt callers 2021-02-08 17:09:34 +01:00
Checkouts Bug 27004: Prevent claim resolution to fail 2021-01-04 13:29:47 +01:00
Club Bug 27330: (follow-up) Cleanup missed on bug 23843 2021-02-01 16:36:38 +01:00
Config Bug 27154: Remove Koha::Util::SystemPreferences 2021-02-08 14:56:00 +01:00
Course Bug 23727: Editing course reserve items is broken 2020-04-17 13:45:56 +01:00
Edifact Bug 18267: Refactored Edifact Price Calculations 2020-11-16 13:46:48 +01:00
Exceptions Bug 26171: (QA follow-up) Add table name and object type to message 2021-01-04 13:29:50 +01:00
Exporter
ExternalContent Bug 25527: Add logger to Koha::ExternalContent 2020-05-18 15:25:03 +01:00
Filter/MARC Bug 26015: Terminology: Fix tons more staff clients to staff interfaces 2020-08-31 16:10:25 +02:00
Illrequest Bug 22818: Add generation and sending of notices 2020-11-11 08:35:10 +01:00
Indexer
Item
Library
List
MetadataRecord Bug 26180: Add descending option to rebuild_elasticsearch.pl 2020-11-04 12:59:33 +01:00
Middleware Bug 25950: Remove <client> in X-Forwarded-For from proxy tests 2020-07-20 12:37:29 +02:00
Misc
Notice
Number Bug 26239: Do not format large negative numbers 2020-08-19 08:22:02 +02:00
OAI/Server Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
Object Bug 26555: (QA follow-up) Add a 'payload' attribute for carrying useful things 2020-10-15 14:50:06 +02:00
Objects
Old Bug 23916: (QA follow-up) Adapt all the things to the new column and accessor names 2020-11-10 15:00:14 +01:00
Patron Bug 26594: (QA follow-up) Make _UpdateBorrowerDebarmentFlags a public method 2020-11-10 15:00:14 +01:00
Patrons Bug 26059: Create guarantor/guarantee links on patron import 2021-02-12 12:14:50 +01:00
pdfformat Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
Plugins Bug 26803: Fix PLUGIN_DIR when plugin_dirs is multivalued 2020-11-04 12:59:33 +01:00
RecordProcessor
REST Bug 26181: Disable override by default in /holds 2021-02-12 12:14:50 +01:00
Schema Bug 24488: Show correct first patron details on Holds to pull 2021-02-08 14:55:59 +01:00
SearchEngine Bug 23763: Create a pagination_bar routine 2021-02-08 17:09:32 +01:00
Serial
Sitemapper
SMS
SMTP Bug 26595: Remove password from the smtp_server API object 2020-10-14 15:53:38 +02:00
Subscription
SuggestionEngine Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
Tags
Template/Plugin Bug 23830: Adapt callers 2021-02-08 17:09:34 +01:00
Util Bug 27154: Remove Koha::Util::SystemPreferences 2021-02-08 14:56:00 +01:00
XSLT
Z3950Responder Bug 27149: Don't strip itemnumber when adding item status via Z3950Responder 2021-01-12 11:33:46 +01:00
Account.pm Bug 25596: Identify overpayment refunds for translation 2020-10-26 00:14:41 +01:00
ActionLog.pm
ActionLogs.pm
AdditionalField.pm
AdditionalFields.pm
AdditionalFieldValue.pm
AdditionalFieldValues.pm
AdvancedEditorMacro.pm Bug 17268: (follow-up) Fix translatability 2020-05-04 08:26:22 +01:00
AdvancedEditorMacros.pm Bug 17268: (follow-up) Fix translatability 2020-05-04 08:26:22 +01:00
ApiKey.pm
ApiKeys.pm
ArticleRequest.pm
ArticleRequests.pm
AudioAlert.pm
AudioAlerts.pm
AuthorisedValue.pm
AuthorisedValueCategories.pm Bug 17355: (QA follow-up) Fix used package name 2020-05-07 19:10:29 -03:00
AuthorisedValueCategory.pm Bug 17355: (QA follow-up) Fix used package name 2020-05-07 19:10:29 -03:00
AuthorisedValues.pm Bug 23830: Make Koha::AuthorisedValues use Koha::Objects::Limit::Library 2021-02-08 17:09:34 +01:00
Authorities.pm
Authority.pm
AuthUtils.pm Bug 23816: (follow-up) Fix many things 2020-09-09 15:39:52 +02:00
BackgroundJob.pm Bug 27127: Make Koha::BackgroundJob->messages return a scalar 2020-12-21 10:07:53 +01:00
BackgroundJobs.pm Bug 22417: Add missing POD and html filters 2020-10-05 15:23:08 +02:00
Biblio.pm Bug 26921: Don't generate an invalid custom cover image if the url cannot be generated 2020-12-21 10:07:48 +01:00
BiblioFramework.pm
BiblioFrameworks.pm
Biblioitem.pm
Biblioitems.pm
Biblios.pm
BiblioUtils.pm Bug 26180: Add descending option to rebuild_elasticsearch.pl 2020-11-04 12:59:33 +01:00
Cache.pm Bug 16067: Remove FastMmap 2020-12-04 15:40:58 +01:00
Caches.pm
Calendar.pm Bug 25802: Change addDate to addDuration 2021-01-22 14:59:27 +01:00
Checkout.pm Bug 25552: (QA follow-up) Improve claim_returned POD 2021-02-01 17:20:37 +01:00
Checkouts.pm Bug 25802: Change addDate to addDuration 2021-01-22 14:59:27 +01:00
CirculationRule.pm
CirculationRules.pm Bug 24083: Add support for unseen_renewals 2020-11-11 16:09:58 +01:00
Cities.pm
City.pm
ClassSortRule.pm
ClassSortRules.pm
ClassSource.pm
ClassSources.pm
ClassSplitRule.pm
ClassSplitRules.pm
Club.pm
Clubs.pm
Config.pm
Course.pm
Courses.pm
CoverImage.pm Bug 26145: Refactoring - Move C4::Images to Koha::CoverImages 2020-10-12 11:28:41 +02:00
CoverImages.pm Bug 26145: Refactoring - Move C4::Images to Koha::CoverImages 2020-10-12 11:28:41 +02:00
CsvProfile.pm
CsvProfiles.pm
Database.pm Bug 25026: Use HandleError to not raise or print error 2021-02-09 10:20:49 +01:00
DateUtils.pm Bug 25617: (bug 25133 follow-up) 12 PM is not 24 but 0 2020-05-29 11:30:02 +02:00
Desk.pm
Desks.pm
EDI.pm Bug 18267: Refactored Edifact Price Calculations 2020-11-16 13:46:48 +01:00
Edifact.pm
Email.pm Bug 22343: Revamped Koha::Email class 2020-10-02 10:54:40 +02:00
Exceptions.pm Bug 26518: Raise exception if the insert failed 2020-11-25 15:18:17 +01:00
ExternalContent.pm Bug 25527: Add logger to Koha::ExternalContent 2020-05-18 15:25:03 +01:00
FrameworkPlugin.pm
Hold.pm Bug 27209: (follow-up) Add ->is_pickup_location_valid 2020-12-21 10:07:45 +01:00
Holds.pm
I18N.pm Bug 25517: Look in all possible places for MO files 2020-05-23 08:31:21 +01:00
Illcomment.pm
Illcomments.pm
Illrequest.pm Bug 23830: Adapt callers 2021-02-08 17:09:34 +01:00
Illrequestattribute.pm
Illrequestattributes.pm
Illrequests.pm
ImportBatch.pm Bug 23019: Add profiles to stage-import-batch and magnage-import-batch pages 2020-11-11 15:55:49 +01:00
ImportBatches.pm Bug 23019: Add profiles to stage-import-batch and magnage-import-batch pages 2020-11-11 15:55:49 +01:00
ImportBatchProfile.pm Bug 23019: (follow-up) Fix other things 2020-11-11 15:55:49 +01:00
ImportBatchProfiles.pm Bug 23019: (follow-up) Fix other things 2020-11-11 15:55:49 +01:00
Item.pm Bug 27003: Item creation log must be done after the item is created 2020-12-04 15:26:52 +01:00
Items.pm Bug 27580: Handle NULL values correctly in Koha::Items->filter_by_visible_in_opac 2021-02-01 16:15:24 +01:00
ItemType.pm Bug 21946: Display parent-child relationship on smart-rules.pl 2020-08-13 10:13:14 +02:00
ItemTypes.pm
KeyboardShortcut.pm
KeyboardShortcuts.pm
Libraries.pm Bug 24368: Remove Koha::Libraries->pickup_locations 2020-05-13 10:30:41 +01:00
Library.pm Bug 26963: (QA follow-up) Convert to ResultSets 2020-11-13 14:20:11 +01:00
Linktracker.pm
Localization.pm
Localizations.pm
Logger.pm Bug 25172: Remove _recheck_logfile 2020-04-22 13:43:58 +01:00
Manual.pm Bug 26944: Point help link to automatic item mod in manual 2020-11-18 12:03:03 +01:00
MarcSubfieldStructure.pm
MarcSubfieldStructures.pm
MessageAttribute.pm Bug 22818: (QA follow-up) Licence and POD fixes 2020-11-11 08:35:10 +01:00
MessageAttributes.pm Bug 22818: Fix TestBuilder.t 2020-11-11 18:03:17 +01:00
MetadataIterator.pm
MetadataRecord.pm
MetaSearcher.pm Bug 17515: Order Z3950 server by rank and preserve ordering 2020-11-02 11:03:09 +01:00
MoreUtils.pm
News.pm
NewsItem.pm Bug 24398: (QA follow-up) Add POD 2020-12-26 17:58:38 +01:00
OAuth.pm
OAuthAccessToken.pm
OAuthAccessTokens.pm
Object.pm Bug 26555: Make sure _messages is always initialized 2020-10-15 14:50:06 +02:00
Objects.pm Bug 27021: Make chaining ->empty always return an empty resultset 2020-11-16 13:46:51 +01:00
Patron.pm Bug 26417: Remove warn in Koha::Patron is_valid_age 2021-01-08 15:17:27 +01:00
Patrons.pm Bug 23916: (QA follow-up) Remove stray changes and fix typo 2020-11-10 15:00:14 +01:00
Plugins.pm Bug 25549: Add error reporting to plugins-home 2020-10-22 10:04:30 +02:00
ProblemReport.pm
ProblemReports.pm
PseudonymizedTransaction.pm Bug 24151: Rename the config key with 'bcrypt_settings' 2020-07-20 15:17:42 +02:00
PseudonymizedTransactions.pm Bug 24151: (QA follow-up) Fix POD warnings from QA tools 2020-07-20 15:17:42 +02:00
Quote.pm Bug 27251: Rewrite QOTD with the Koha REST API 2021-01-29 09:03:45 +01:00
Quotes.pm Bug 16371: Fix inconsistencies with timestamp 2020-08-13 10:15:34 +02:00
Rating.pm
Ratings.pm
RDF.pm
RecordProcessor.pm
Report.pm
Reports.pm
Review.pm
Reviews.pm
Schema.pm
Script.pm
SearchEngine.pm
SearchField.pm
SearchFields.pm
SearchMarcMap.pm
SearchMarcMaps.pm
Serial.pm
Serials.pm
SharedContent.pm
SimpleMARC.pm Bug 26894: Handle subfield 0 and delete empty fields 2021-01-12 16:02:35 +01:00
Sitemapper.pm
Statistic.pm
Statistics.pm
StockRotationItem.pm Bug 23432: Replace 'die' with 'warn' 2020-10-26 00:04:18 +01:00
StockRotationItems.pm
StockRotationRota.pm
StockRotationRotas.pm
StockRotationStage.pm
StockRotationStages.pm
Subscription.pm
Subscriptions.pm
Suggestion.pm
SuggestionEngine.pm
Suggestions.pm
Tag.pm
Tags.pm
Token.pm
UploadedFile.pm
UploadedFiles.pm
Uploader.pm
Virtualshelf.pm
Virtualshelfcontent.pm
Virtualshelfcontents.pm
Virtualshelfshare.pm
Virtualshelfshares.pm
Virtualshelves.pm
Z3950Responder.pm Bug 25292: Flushing L1 on every Z3950 server search 2021-01-11 10:27:37 +01:00
Z3950Server.pm
Z3950Servers.pm