Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Kyle Hall 1942dbe881
Bug 32057: Add optional stack trace to action logs
It can be useful to know where in Koha a particular logged action was generated from, and how. We should add the ability to attach a syspref controlled basic stack trace with the caller depth controlled via the syspref. We can the call caller() until the specified depth has been reached.

Test Plan:
1) Apply this patch
2) Run updatedatabase.pl
4) Restart all the things!
5) Set the new syspref ActionLogsTraceDepth to a number ( e.g. 3 )
6) Update a syspref or trigger another enabled log action
7) Query the database: SELECT * FROM action_logs WHERE trace IS NOT NULL
8) Note the stack trace was created!

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-03-14 08:49:32 -03:00
..
acqui Bug 32746: Standardize structure around action fieldsets in acquisitions 2023-03-10 11:15:24 -03:00
admin Bug 32057: Add optional stack trace to action logs 2023-03-14 08:49:32 -03:00
authorities Bug 33144: Unescape text from authority lookup for advanced editor 2023-03-14 08:49:28 -03:00
basket
batch
catalogue Bug 31028: (follow-up) Remove special:undefined 2023-03-07 14:54:38 -03:00
cataloguing Bug 32952: Standardize action fieldsets in authorities, cataloging, and circulation 2023-03-10 12:04:09 -03:00
circ Bug 30624: (QA follow-up) Use C4:Context to get permissions 2023-03-13 15:23:20 -03:00
clubs
course_reserves
erm Bug 32924: Add the ability to filter agreement by logged in user 2023-03-07 15:03:41 -03:00
errors Bug 32973: Use template wrapper for breadcrumbs: about, main, and error page 2023-02-27 11:39:31 -03:00
ill Bug 32576: Replace panels with page-sections 2023-03-02 09:37:43 -03:00
installer
labels
mana
members Bug 32977: Add callnumber column to boraccount.tt 2023-03-10 11:15:24 -03:00
offline_circ
onboarding
patron_lists
patroncards
plugins Bug 33189: Make plugin upload look for .kpz files in file picker 2023-03-10 10:17:04 -03:00
pos
recalls
reports Bug 33063: Make sure correct subgroup is pre-selected when duplicating reports 2023-03-10 11:15:23 -03:00
reserve
reviews
rotating_collections
serials Bug 33014: (QA follow-up) Move filters before navigation in sidebar 2023-02-24 17:04:20 -03:00
services
suggestion Bug 29935: Archived suggestions filter always visible 2023-03-10 11:15:37 -03:00
tags
test
tools Bug 32021: Don't show 'appear in position' for Pages 2023-03-10 11:47:20 -03:00
virtualshelves
about.tt Bug 3831: Add a warning to about page when there is no FA framework 2023-03-10 10:19:05 -03:00
auth.tt
intranet-main.tt Bug 31028: Only show pending concerns if there are some 2023-03-06 11:23:17 -03:00