[Bug 41994] New: REST API route to list system preferences
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41994 Bug ID: 41994 Summary: REST API route to list system preferences Initiative type: --- Sponsorship --- status: Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: REST API Assignee: jonathan.druart@gmail.com Reporter: jonathan.druart@gmail.com QA Contact: testopia@bugs.koha-community.org CC: tomascohen@gmail.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41994 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |41834 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41834 [Bug 41834] Remove systempreferences's options, explanation and type DB values -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41994 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |41995 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41995 [Bug 41995] Autocomplete for syspref search -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41994 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41994 --- Comment #1 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 194491 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194491&action=edit Bug 41994: Implement /sysprefs route to list system preferences This new route will be used in a follow-up bug to auto-complete sysprefs when using the header to search for sysprefs. Note that this is based on top of bug 41834 that NULL options, explanation and type in DB, but a future enhancement will populate the response to return the values present in the yaml files. Test plan: 1. Bundle the swagger specs and reload plack: yarn api:bundle && koha-plack --reload kohadev 2. Fetch the sysprefs using the new route: curl -u koha:koha --request GET 'http://${INSTANCE}-intra.localhost/api/v1/sysprefs' --header "Content-Type: application/json" | jq 3. Confirm that the tests pass prove t/db_dependent/api/v1/sysprefs.t -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41994 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off Patch complexity|--- |Small patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41994 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #194491|0 |1 is obsolete| | --- Comment #2 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 194496 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194496&action=edit Bug 41994: Implement /sysprefs route to list system preferences This new route will be used in a follow-up bug to auto-complete sysprefs when using the header to search for sysprefs. Note that this is based on top of bug 41834 that NULL options, explanation and type in DB, but a future enhancement will populate the response to return the values present in the yaml files. Test plan: 1. Bundle the swagger specs and reload plack: yarn api:bundle && koha-plack --reload kohadev 2. Fetch the sysprefs using the new route: curl -u koha:koha --request GET 'http://${INSTANCE}-intra.localhost/api/v1/sysprefs' --header "Content-Type: application/json" | jq 3. Confirm that the tests pass prove t/db_dependent/api/v1/sysprefs.t Signed-off-by: Owen Leonard <oleonard@myacpl.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41994 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=40790 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41994 Jan Kissig <bibliothek@th-wildau.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bibliothek@th-wildau.de QA Contact|testopia@bugs.koha-communit |bibliothek@th-wildau.de |y.org | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41994 Jan Kissig <bibliothek@th-wildau.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41994 Jan Kissig <bibliothek@th-wildau.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #194496|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41994 --- Comment #3 from Jan Kissig <bibliothek@th-wildau.de> --- Created attachment 195694 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=195694&action=edit Bug 41994: Implement /sysprefs route to list system preferences This new route will be used in a follow-up bug to auto-complete sysprefs when using the header to search for sysprefs. Note that this is based on top of bug 41834 that NULL options, explanation and type in DB, but a future enhancement will populate the response to return the values present in the yaml files. Test plan: 1. Bundle the swagger specs and reload plack: yarn api:bundle && koha-plack --reload kohadev 2. Fetch the sysprefs using the new route: curl -u koha:koha --request GET 'http://${INSTANCE}-intra.localhost/api/v1/sysprefs' --header "Content-Type: application/json" | jq 3. Confirm that the tests pass prove t/db_dependent/api/v1/sysprefs.t Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Jan Kissig <bibliothek@th-wildau.de> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41994 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrew@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41994 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41994 Bug 41994 depends on bug 41834, which changed state. Bug 41834 Summary: Remove systempreferences's options, explanation and type DB values https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41834 What |Removed |Added ---------------------------------------------------------------------------- Status|Needs documenting |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41994 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)| |26.05.00 released in| | Status|Passed QA |Pushed to main -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41994 --- Comment #4 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Nice work everyone! Pushed to main for 26.05 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41994 Jacob O'Mara <jacob.omara@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to main |Needs documenting --- Comment #5 from Jacob O'Mara <jacob.omara@openfifth.co.uk> --- This will not be backported to 25.11.x due to it being deemed an enhancement or a dependancy not being met -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org