patches to support Debian 9 test server * replaced hard-coded wkhtmltopdf-<version> with wkhtmltopdf (symlink) as only loaded once for entire app * added return 0 if undefined \$user_location to avoid apache log warnings on non-logged-in user * added block to ftp genomics_transfer.log to main xml_transfer.pl script (no longer need Deb6 curl hack) * lims.fcgi accepts CENTRE arg for use with apache mod_fcgid
refactored Roles::PDF so that all reports are generated by same method inline_html_to_pdf_no_webkit() so reports should be identical whether by print run, individual print or print_run.pl cron, and only have one sub to define pdf settings for all functions; print_run.pl takes getopt -t for test; moved family_id validation prefix definition to settings.cfg so test & live can have different values; new entry for pcr_and_sequencing_worksheet.tt
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)
genomics sample linkage form; xsd validation for genomics_xml.pl; bugfix for audit/turnaround_percentile.tt - subtraction only performed if values exist
logic to determine whether to set request status to complete considers result summary datetime relative to authorisation datetime; replaced io unlink() with system unlink in render_pdf - was giving occasional errors; replaced M::Base::does_authorisation method with Moose attr to save repeat db queries; fixed oversight in _archive_report_details() causing history log to record amended specimen_date at every authorisation; gallium_data.pl checks for comment field to prevent fatal error; more report_status.t tests to test for status change on delayed result summary entry
added _centre to %settings in lims_config.pl as $ENV{CENTRE} not available to app so Admin::Config::Settings::_get_settings could not load correct file for Oxford, Cambridge, etc; added base_href setting for wkhtmltopdf use in templates