Major update to print run function: * print run returns single pdf instead of html page, to allow individual report page headers and numbers * avoided breaking section summaries across new page in report * moved report page numbering to footer.html * expanded horizontal space for "Amended report by" details * fixed error in PDF::WebKit->configure options format Other updates: * exempted print_run from Devel::Cycle code block in devel mode (already exempt in deployment) * debug() returns undef instead of '0' so .tt doesn't display return value * stopped logging process_size in QueryLog - was activated by script errors * moved notification about danger of using 2nd tab for record update to top of file * fixed time zone setting in new message notification log (was not allowing for BST) * fixed error in chart loading function, now only loads in required lab section instad of all Fix added 7th Nov: * added NCH PNH (PB) to turnaround times audit category (was included in PB category)
* used Capture::Tiny in Local::DevelCycle - works OK with fastcgi process dumping fastcgi captured cycles to logfile, test harness & dev box fatal * user_agent string captured using HTTP::BrowserDetect
* new messages tab * patched Local::DevelCycle to suppress "Unhandled type: REGEXP" warning so test scripts can use find_cycle() * bug fix to user_messages.tt - div_name clashed with css div name
adapted new_messages.cgi to use Template to render same tt as ajax/seek_new_messages; adjusted white-space above h2.header at top of (most) HILIS pages
reverted new_messages.pl print header() location - was causing error; enabled Devel::Gladiator arena_table for debugging HILIS4 memory allocation; new kidreaper.pl to kill processes by cron
changed user message handling: * site.status.tt calls ajax/seek_new_messsages as jQuery on page load * site/status.tt calls new_messages.cgi every minute until 1 min before session timeout * set idle-timeout value in session user_profile, created at new login if no existing user profile * user session user_profile idle-timeout value in LIMS::_authen_config $authen_timeout sub * new $LIMS::Local::QueryLog::SKIP_LOG_QUERY to avoid logging specific queries (eg ajax/seek_new_messages) * updated new_messages.cgi with logging and formatted return msg to same as ajax/seek_new_messages
patched comment history to return app warning if no entry found in request_report_history table - was generating fatal error; fixed all syntax errors in _get_request_status_query_args
changed result_summary_opts from AoA to HoA in C::Roles::ResultHandler::process_raw_lab_test_data() to make hadnling optgroup in template easier; result/default.tt handles optgroup and numerical order in construction of select menus; re-authentication sets flash message if user email address empty; fixed some html syntax errors in templates
modified LIMS::cgiapp_prerun() to check for new messages after re-authentication - will mainly benefit external users where idle timeout equals ajax poll new msgs frequency, so will never see ajax notification