Add structured logging to IntranetController actions
Extensive structured logging was added throughout IntranetController and all invoice/account handlers to improve traceability and debugging. Logging now covers action entry/exit, error conditions, and key parameters (user IDs, invoice IDs, etc.). Handlers log warnings for missing/invalid input and info/debug for significant events. Minor refactoring extracts form values for better logging. The jQuery `rwText` plugin was hardened against null input. Updated minified JS, font assets, and OCORE submodule. No functional changes to `tools.js`.
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1317,7 +1317,7 @@ function getMonday(d) {
|
||||
$.fn.rwText = function (text, addtitle, options) {
|
||||
var tgt = $(this).empty();
|
||||
options = $.extend({ wrap: true }, options);
|
||||
var sa = Array.isArray(text) === true ? text : (text || '').split('\n');
|
||||
var sa = Array.isArray(text) === true ? text : (text == null ? '' : String(text)).split('\n');
|
||||
$.each(sa, function (ti, tx) {
|
||||
if ((tx || '') !== '') {
|
||||
if (ti > 0) {
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user