This patch set replaces and extends Koha's current sound options.
This is implemented be removing the existing sound system, and
re-engineering using a table of selector/sound combinations such that
the highest precedence selector that is found in the DOM will trigger
and audio alert. The existing audio behaviors are implemented as a set
of default audio alerts.
Test Plan:
1) Apply this patch set
2) Run updatedatabase.pl
3) Enable the AudioAlerts system preference
4) Test existing sounds
5) Enter the new alerts editor in the admin section
6) Add a new audo alert with the following selector:
"body:contains('Check in message')",
choose any sound alert you wish, make sure it's not one of the 3
sounds already used! Make this selector precedence 1
4) Browse to the checkins page, you should hear the default sound
5) Attempt to return an invalid barcode, you should hear your custom sound!
Signed-off-by: Nick Clemens <nick@quecheelibrary.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
|
||
|---|---|---|
| .. | ||
| add_message.pl | ||
| bookcount.pl | ||
| branchoverdues.pl | ||
| branchtransfers.pl | ||
| circulation-home.pl | ||
| circulation.pl | ||
| del_message.pl | ||
| hold-transfer-slip.pl | ||
| offline-mf.pl | ||
| offline.pl | ||
| on-site_checkouts.pl | ||
| overdue.pl | ||
| pendingreserves.pl | ||
| renew.pl | ||
| reserveratios.pl | ||
| returns.pl | ||
| selectbranchprinter.pl | ||
| stats.pl | ||
| transfer-slip.pl | ||
| transferstoreceive.pl | ||
| view_holdsqueue.pl | ||
| waitingreserves.pl | ||
| ypattrodue-attr-search-authvalue.pl | ||
| ysearch.pl | ||