Main Koha release repository https://koha-community.org
Find a file
Tomas Cohen Arazi 8d0c445785
Bug 25411: Add special handling for public plugin routes
This patch implements the required logic in the API code so plugins are
not affected by the new RESTPublicAnonymousRequests system preference.
It is up to the plugin develpers to handle this

To test:
1. Apply the tests patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/REST/Plugin/PluginRoutes.t
=> FAIL: Notice the tests fail
3. Apply this patch
4. Repeat 2
=> SUCCESS: Tests pass! Yay! Not bad for a friday evening!
5. Sign off :-D

Sponsored-by: ByWater Solutions
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-05-22 09:04:06 +01:00
acqui Bug 24163: UTF-8 encode the output 2020-05-05 11:08:44 +01:00
admin Bug 25278: add clear_search_fields_cache method 2020-05-18 15:28:42 +01:00
api/v1 Bug 25502: Adapt Advanced macros routes to current guidelines 2020-05-19 15:21:16 +01:00
authorities Bug 22437: (follow-up) Move deletion of merge requests to DelAuthority 2020-05-12 11:02:05 +01:00
basket
C4 Bug 25531: Debar patron if needed when checkin is backdated 2020-05-19 16:49:25 +01:00
catalogue Bug 23591: Hide archived suggestions 2020-04-14 16:36:41 +01:00
cataloguing Bug 25248: (bug 23463 follow-up) Adjust second occurrence 2020-05-11 14:18:48 +01:00
circ Bug 25133: Handle 12hr format for dt_from_string 2020-05-04 08:51:22 +01:00
clubs
course_reserves Bug 22970: Allow to change homebranch in batch add course reserves 2020-05-12 11:40:54 +01:00
debian Bug 25284: chown /var/log/koha log files on koha-create 2020-05-20 09:15:45 +01:00
docs
errors
etc Bug 25277: Don't specify a field in query if none passed 2020-05-18 15:27:11 +01:00
ill Bug 23173: (follow-up) Small improvements in efficiency 2020-04-06 11:05:09 +01:00
installer Bug 13881: (RM follow-up) Fix terminology 2020-05-19 08:19:49 +01:00
Koha Bug 25411: Add special handling for public plugin routes 2020-05-22 09:04:06 +01:00
koha-tmpl Bug 13881: (RM follow-up) Fix terminology 2020-05-19 08:19:49 +01:00
labels
members Bug 20443: (follow-up) Remove C4::Members::AttributeTypes 2020-05-07 17:05:32 +02:00
misc Bug 25501: Supress warnings on installing translation 2020-05-19 15:19:56 +01:00
offline_circ
opac Bug 25416: Let OPAC XSLTs know if the context is an anonymous session 2020-05-15 09:33:22 +01:00
patron_lists
patroncards
plugins
pos Bug 25139: Corrections to date picker handling 2020-04-15 08:33:07 +01:00
reports Bug 24940: Serials statistics wizard: order vendor list alphabetically 2020-04-08 11:46:21 +01:00
reserve Bug 25516: Fix for "Can't call method unblessed on unblessed reference" 2020-05-19 08:29:34 +01:00
reviews
rotating_collections
serials Bug 25081: Fix wrong comment 2020-04-08 11:53:37 +01:00
services
skel
suggestion Bug 24819: (follow-up) Rename suggestor to suggester 2020-04-20 13:36:42 +01:00
svc Bug 4461: Fix status and borrowernumber fields in problem_reports and more 2020-04-06 11:18:59 +01:00
t Bug 25411: Regression tests 2020-05-22 09:03:51 +01:00
tags
tmp/modified_authorities
tools Bug 8132: Delete the items in a transaction and rollback if something wrong 2020-05-11 09:56:17 +01:00
virtualshelves
xt Bug 24897: (RM follow-up) Drop tests for es-ES notices 2020-04-28 06:55:56 +01:00
.editorconfig
.eslintrc.json
.gitignore
.htaccess
.mailmap
.scss-lint.yml
about.pl Bug 25172: Identify and display possible problems on the about page 2020-04-22 13:44:12 +01:00
changelanguage.pl
cpanfile Bug 24823: Fix spelling error and remove last of Catmandu 2020-05-12 11:43:26 +01:00
fix-perl-path.PL
gulpfile.js
help.pl
INSTALL
Koha.pm Bug 13881: DBRev 19.12.00.091 2020-05-19 08:18:23 +01:00
koha_perl_deps.pl
kohaversion.pl
LICENSE
mainpage.pl Bug 4461: Fix status and borrowernumber fields in problem_reports and more 2020-04-06 11:18:59 +01:00
Makefile.PL Bug 25149: Fix Zebra language code for Greek 2020-04-29 17:14:30 +01:00
MANIFEST.SKIP
package.json
README
README.md
README.robots
rewrite-config.PL
yarn.lock

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: This is a synced mirror of the official Koha repo.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo