[koha-commits] main Koha release repository branch 19.11.x updated. v19.11.06-66-gd411d6b47c
Git repo owner
gitmaster at git.koha-community.org
Mon Jun 22 00:56:00 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, 19.11.x has been updated
via d411d6b47c6e2ed311efc79ed622347614bb8299 (commit)
via f6589ccf9049a9d8ad52d1385e3d165c43f8450f (commit)
via bdb8edb5b51e11f10e06ddbe4a9fc48d90ddd0db (commit)
via e18744fd4f5ea2a988a1ec558df258e4dbcf2f0d (commit)
via 8b315919124b6caa4ba0a5ad918da723cf7d317e (commit)
via abc29825ee913c7d7c0f313620d87ff9472bc12e (commit)
via 4efbb9bd613c38956d82e77a31bab40fbad93f4f (commit)
via 554cf13b1bfb0bc3fe85bda41580f2e5b7c59206 (commit)
via 811d468dc42df5f87415160a327386b2d1b93c64 (commit)
from 99a3d1193ebfcb1ae5046bf36d60b1e53f8c2e93 (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 d411d6b47c6e2ed311efc79ed622347614bb8299
Author: Aleisha Amohia <aleishaamohia at hotmail.com>
Date: Mon Jun 22 10:19:38 2020 +1200
[19.11.x] Bug 25045: (follow-up) Fix typo adding the RESTPublicAnonymousRequests syspref
Signed-off-by: Aleisha Amohia <aleishaamohia at hotmail.com>
commit f6589ccf9049a9d8ad52d1385e3d165c43f8450f
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date: Mon Apr 27 13:42:11 2020 +0100
Bug 25045: (RM follow-up) Correction to updatedatebase.pl
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
(cherry picked from commit 733874e24eb20b10e8387d2a9df565fad284b510)
Signed-off-by: Aleisha Amohia <aleishaamohia at hotmail.com>
commit bdb8edb5b51e11f10e06ddbe4a9fc48d90ddd0db
Author: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Date: Mon Apr 27 11:51:08 2020 +0100
Bug 25045: (RM follow-up) Add the RESTPublicAnonymousRequests syspref
The atomic update alos included a quoting mistake
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
(cherry picked from commit 19a241c131f03a2640044ac3280759b2e6fd35bc)
Signed-off-by: Aleisha Amohia <aleishaamohia at hotmail.com>
commit e18744fd4f5ea2a988a1ec558df258e4dbcf2f0d
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Mon Apr 27 12:47:08 2020 +0200
Bug 25045: (follow-up) Add the RESTPublicAnonymousRequests syspref
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
(cherry picked from commit 8d77db27691f22f697c665821f5fb3ddaa69be14)
Signed-off-by: Aleisha Amohia <aleishaamohia at hotmail.com>
commit 8b315919124b6caa4ba0a5ad918da723cf7d317e
Author: Aleisha Amohia <aleishaamohia at hotmail.com>
Date: Mon Jun 22 10:09:42 2020 +1200
Bug 25045: DBRev 19.11.06.001
Signed-off-by: Aleisha Amohia <aleishaamohia at hotmail.com>
commit abc29825ee913c7d7c0f313620d87ff9472bc12e
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Mon Apr 13 11:47:30 2020 -0300
Bug 25045: (follow-up) Add a note to OpacPublic
This patch tweaks the OpacPublic system preference description so users
don't expect, incorrectly, this syspref to disable the public API
anonymous access.
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
(cherry picked from commit 3d3a07c5ee0098c3fe504009144b5c0545c0e75f)
Signed-off-by: Aleisha Amohia <aleishaamohia at hotmail.com>
commit 4efbb9bd613c38956d82e77a31bab40fbad93f4f
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Mon Apr 13 11:40:48 2020 -0300
Bug 25045: Allow restricting anonymous requests on the public API
This patch introduces a check on the authenticate_api_request method for
the RESTPublicAnonymousRequests system preference. If disabled,
anonymous requests get rejected.
The idea is to replicate the homologous OpacPublic system preference
behaviour.
To test:
1. Apply the Unit tests patch
2. Run:
$ kshell
k$ prove t/db_dependent/api/v1/auth_authenticate_api_request.t
=> FAIL: Tests fail, 200 is answered instead of 401 on the route.
3. Apply this patch
4. Repeat 2.
=> SUCCESS: Tests pass!
5. Sign off :-D
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
(cherry picked from commit ec99043a2ede2f994dae72ee2f68884174f94d4c)
Signed-off-by: Aleisha Amohia <aleishaamohia at hotmail.com>
commit 554cf13b1bfb0bc3fe85bda41580f2e5b7c59206
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Mon Apr 13 11:40:44 2020 -0300
Bug 25045: Unit tests
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
(cherry picked from commit 78cb447c7cd13bd37a48f7b3e2d2aa47b5d7b4d9)
Signed-off-by: Aleisha Amohia <aleishaamohia at hotmail.com>
commit 811d468dc42df5f87415160a327386b2d1b93c64
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Mon Apr 13 11:36:12 2020 -0300
Bug 25045: Add the RESTPublicAnonymousRequests syspref
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
(cherry picked from commit 5394e8443fcba3e307c4add97bef1216fcaa2b11)
Signed-off-by: Aleisha Amohia <aleishaamohia at hotmail.com>
-----------------------------------------------------------------------
Summary of changes:
Koha.pm | 2 +-
Koha/REST/V1/Auth.pm | 12 +++++---
installer/data/mysql/sysprefs.sql | 1 +
installer/data/mysql/updatedatabase.pl | 17 +++++++++++
.../prog/en/modules/admin/preferences/opac.pref | 3 +-
.../en/modules/admin/preferences/web_services.pref | 6 ++++
.../api/v1/auth_authenticate_api_request.t | 35 +++++++++++++++++++++-
7 files changed, 69 insertions(+), 7 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list