Go to file
Paul Derscheid 84a49dbcbb
Bug 36275: The displayed values for Client ID and Secret need copy to clipboard buttons in apikeys.tt
This patch adds:
- A new include with a prepared button that sets the passed
  copy_to_clipboard_value as the data-value attribute.
- A script, which is an IIFE that can also be used elsewhere that then
  adds event listeners for clicks on the above buttons (or other buttons
  with data-copy-to-clipboard)
- The included buttons and the associated js to apikeys.tt.

To test:
1) Activate the  RESTOAuth2ClientCredentials syspref.
2) Search for a patron, e.g. 42
3) Go to more -> Manage API keys
4) Generate a new client id/key pair
5) Notice that there are copy to clipboard buttons next to the client id
   and secret
6) Click one of them
7) Paste your clipboard into the top search input for example
8) Verify it works and the value is identical to the value you copied
9) Sign off

https://bugs.koha-community.org/show_bug.cgi?id=36275
Signed-off-by: Emmanuel Bétemps <e.betemps@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Emmanuel Bétemps <e.betemps@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2025-04-25 08:46:39 +02:00
C4 Bug 38142: Choose language to report from authority to bibliographic record. 2025-04-25 08:46:38 +02:00
Koha Bug 39652: Rename new_from_statistic 2025-04-24 19:53:17 +02:00
acqui Bug 39319: Fixes for Pod::Checker 2025-04-14 08:51:21 +02:00
admin Bug 35604: Move available_backends() to Koha::ILL::Request::Config 2025-04-14 08:51:10 +02:00
api Bug 38905: change permissions for item creation and modification 2025-04-22 08:46:52 +02:00
authorities Bug 39559: YY is not interpreted as a default value for authorities 2025-04-14 08:51:01 +02:00
basket Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
bin
…
bookings Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
catalogue Bug 39485: Fix wide character in print-warn in opac-export 2025-04-23 09:35:13 +02:00
cataloguing Bug 25015: (QA follow-up) Slide together 2025-04-22 08:46:42 +02:00
circ Bug 31167: Only mark due dates in the past red on overdues report 2025-03-21 17:50:27 +01:00
clubs Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
course_reserves Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
debian Bug 39367: Add new dependency 2025-04-23 09:35:16 +02:00
docs Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
erm Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
errors Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
etc Bug 36954: (follow-up) Return to the two logfiles pattern 2025-02-18 10:55:27 +01:00
ill Bug 38685: Remove useless batch_create code 2025-04-22 08:46:45 +02:00
installer Bug 38142: DBRev 24.12.00.029 2025-04-25 08:46:38 +02:00
koha-tmpl Bug 36275: The displayed values for Client ID and Secret need copy to clipboard buttons in apikeys.tt 2025-04-25 08:46:39 +02:00
labels Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
lib Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
members Bug 14250: Patron with fines cannot be discharged anymore 2025-04-22 08:46:26 +02:00
misc Bug 39652: (QA follow-up) Update misc/maintenance/pseudonymize_statistics.pl 2025-04-24 19:53:17 +02:00
offline_circ Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
opac Bug 39365: Fix 3 files 2025-04-23 09:35:18 +02:00
patron_lists Bug 37266: patron_lists/delete.pl should have CSRF protection 2025-03-06 13:54:49 +01:00
patroncards Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
plugins Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
pos Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
preservation Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
recalls Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
reports Bug 37784: (QA follow-up) Bail out to new definition 2025-04-14 08:51:24 +02:00
reserve Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
reviews Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
rotating_collections Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
serials Bug 34971: (QA follow-up) Op is now cud-reopen 2025-02-12 15:28:17 +01:00
services Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
skel
…
suggestion Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
svc Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
t Bug 38142: Choose language to report from authority to bibliographic record. 2025-04-25 08:46:38 +02:00
tags Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
tools Bug 26744: (QA follow up) Tidy 2025-03-10 11:42:32 +01:00
virtualshelves Bug 37434: Sort by publicationyear when copyrightdate is set in UNIMARC 2025-02-13 16:18:02 +01:00
xt Bug 39365: Add tests 2025-04-23 09:35:17 +02:00
.editorconfig
…
.git-blame-ignore-revs Bug 39096: Add 'tidy all' commits to a git blame ignore file 2025-02-17 13:10:25 +01:00
.gitignore Bug 35402: Update the OPAC and staff interface to Bootstrap 5 2024-08-23 15:58:41 +02:00
.htaccess
…
.mailmap Bug 39447: Update mailmap to reflect PTFS-Europes rename 2025-03-26 12:28:44 +01:00
.perlcriticrc
…
.perltidyrc Bug 30002: Adjust perltidy 2023-06-08 08:32:42 -03:00
.prettierrc.js Bug 38664: Treat .vue files like other JS files 2025-02-11 14:58:25 +01:00
.proverc.dist
…
.stylelintrc.json Bug 31528: (follow-up) A few additional rules 2022-10-03 08:23:15 -03:00
INSTALL
…
Koha.pm Bug 38142: DBRev 24.12.00.029 2025-04-25 08:46:38 +02:00
LICENSE
…
MANIFEST.SKIP
…
Makefile.PL Bug 39149: Tidy .PL files 2025-02-18 15:35:53 +01:00
README
…
README.md
…
README.robots
…
about.pl Bug 39154: Add sip.log test in about 2025-03-07 18:02:58 +01:00
app.psgi Bug 36149: Add userenv middleware to app.psgi 2024-05-14 15:04:37 -03:00
build-resources.PL Bug 32609: Use the current yarn.lock to generate node_modules 2023-02-10 11:07:57 -03:00
changelanguage.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
cpanfile Bug 39367: Add new dependency 2025-04-23 09:35:16 +02:00
cypress.config.ts Bug 38770: Remove @vue/cli-service and babel 2025-01-16 15:56:15 +01:00
eslint.config.mjs Bug 38524: Enable ESLint for .ts and .vue files 2025-01-16 15:56:17 +01:00
fix-perl-path.PL Bug 39149: Tidy .PL files 2025-02-18 15:35:53 +01:00
gulpfile.js Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
help.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
kohaversion.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
mainpage.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
package.json Bug 39188: Fix ESLint by Updating "globals" node package 2025-04-11 09:52:37 +02:00
rewrite-config.PL Bug 39149: Tidy .PL files 2025-02-18 15:35:53 +01:00
rspack.config.js Bug 38993: (follow-up) Add 'fetch' alias to rspack config 2025-03-17 11:59:52 +01:00
tsconfig.json Bug 32030: Move cypress to t - fix build_js/watch_js 2022-11-08 09:44:52 -03:00
webpack.config.js Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
yarn.lock Bug 39188: Update yarn.lock 2025-04-11 09:52:38 +02:00

README.md

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

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

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