RSS Git Download  Clone
Hover over the log to see the full commit message.
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • |\
  • | *
  • |/
  • *
  • |\
  • | *
  • |/
  • *
  • |\
  • | *
  • |/
  • *
  • |\
  • | *
  • |/
  • *
  • |\
  • | *
  • |/
  • *
  • *
  • |\
  • | *
  • * |
  • |\|
  • | *
  • |/
  • *
  • |\
  • | *
  • |/
  • *
  • |\
  • | *
  • |/
  • *
  • |\
  • | *
  • | *
  • |/
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • *
  • e880791 (HEAD -> master) 04/03/2019 14:24:05 by RAJ   fix broken date handling after previous commit changed date strings to DateTime object; bring tests up-to-date
  • bc48b6a 01/03/2019 16:02:48 by RAJ   move pluralise function to 'before_template_render' hook for consistency with symbolise function
  • 4563a1d 01/03/2019 15:29:45 by RAJ   display last-login number of days ago in users list
  • b08eac2 01/03/2019 14:22:36 by RAJ   css tweak to try and align nav section underneath inverted curve of logo, independent of browser width
  • e6d7269 01/03/2019 11:39:55 by RAJ   update user status changes * require confirmation to update user status * status-change function returns update result for flash message * changed function names for updating user status
  • 7f9bf2c 28/02/2019 23:12:27 by RAJ   add last_login to draft_report_users table; new function to update users 'active' status
  • 9ca53d3 27/02/2019 13:15:28 by RAJ   add 'active' column to draft_report_users table - now required for login
  • 7b063a8 27/02/2019 12:49:22 by RAJ   new function to list all users
  • 948bbfe 28/06/2018 10:21:32 by RAJ   Merge branch 'hotfix'
  • ea4ce23 28/06/2018 10:21:21 by RAJ   no warnings uninitialized - ENV param only set for dev & test
  • fb45465 25/05/2018 09:56:23 by RAJ   Merge branch 'pod-update'
  • 2ea9bd4 25/05/2018 09:56:12 by RAJ   update documentation, no significant code change
  • d252ac7 24/05/2018 12:45:19 by RAJ   Merge branch 'refactor-dpae-authenticate-user'
  • 511067c 24/05/2018 12:45:04 by RAJ   simplify DPAE authenticate_user function: * Reporter::DPAE::DB authenticate_user didn't do user credential validation (already done in model) so it only needs to set user-roles and return true * get_user_details returns user from session as it's always present when called * improve documentation in /login route
  • 42ea6ed 23/05/2018 16:01:52 by RAJ   Merge branch 'fix-mysql-gone-away'
  • dcffdbb 23/05/2018 16:01:35 by RAJ   fix mysql-has-gone-away error due to DPAE::DB using its own dbh * due to expiry and failure in plugin to check still active * solved by replacing DPAE::DB dbh with Reporter::DB
  • 07c0a2a 21/05/2018 10:27:20 by RAJ   Merge branch 'fix-session-roles'
  • 267bca0 21/05/2018 10:16:34 by RAJ   fix user roles to always return from session, even when empty (to save repeat lookups) * change Model authenticate_user method name to validate_user_credentials to avoid confusion with inbuilt DPAE method * recovered ordering on grouped data for mysql db queries (not for sqlite) * app only loads 1 Routes file so all requests handled by same file, routes.t loads 2 routes so ajax call doesn't need login and to demonstrate how to run 2 apps with .psgi script
  • 29de0b4 18/05/2018 16:49:33 by RAJ   tidy up & comment
  • 23923d4 18/05/2018 16:30:11 by RAJ   Merge branch 'fix-plackup-issue'
  • cf974c2 18/05/2018 16:29:54 by RAJ   fix app to work properly with app.psgi as command-line or apache: * moved ajax route back to Routes::AJAX * Routes & Routes::AJAX load private instances of Reporter.pm, no longer shared * moved dbname logic from 2 routes files to Reporter dbname builder so only happens once in app routes.t uses Plack::Builder for app, same as app.psgi
  • 62b6f3c 18/05/2018 15:05:14 by RAJ   Merge branch 'fix-plackup-issue'
  • b382654 18/05/2018 14:46:01 by RAJ   fix ajax calls when app running from app.psgi * dance() deprecated in favour of to_app() * but to_app() didn't load Routes::AJAX routes so couldn't find ajax_get_diagnoses route * see bin/app.psgi.readme * modifying app.psgi to use Plack::Builder fixed it but not when used by Apache (which used bin/app.pl->dance) * recurrent problems with separate AJAX route so combined the only 1 into main Routes file, prefixed as '/ajax' * separated test schema into its own file and separated reports.t into routes.t & model.t * change reporter.fgci (Apache script) to use bin/app.psgi (->to_app)
  • 7c72370 17/05/2018 13:30:46 by RAJ   Merge branch 'test-registration-email'
  • 361fc28 17/05/2018 13:28:06 by RAJ   change registration email testing: * change env param MY_EMAIL_SENDER_TRANSPORT to EMAIL_SENDER_TRANSPORT * replace /tmp file with 'email_as_string' tt param and use Email::Sender::Simple->default_transport->deliveries for testing email params * allow command-line override of default EMAIL_SENDER_TRANSPORT setting to force email failure
  • 1593db1 17/05/2018 10:02:21 by RAJ   Merge branch 'test-registration-email'
  • 278d015 17/05/2018 10:02:07 by RAJ   change email 'from' address; new tests for registration email
  • c26d0c2 16/05/2018 14:24:44 by RAJ   Merge branch 'dpae-provider-database'
  • 215e1db 16/05/2018 14:15:37 by RAJ   fix authentication using DPAE::DB * re-writing user profile into session after loading roles replaced draft_report_users.id with users.id so previous reports did not load (expects draft_report_users.id) - now adding roles to existing user-profile * replace mysql-specific functions with sqlite-compatible equivalents * new reports.t for testing model functions and user authentication * fix main.tt error - loaded /register link because an empty grep is true
  • 2a5a808 19/02/2018 17:48:55 by RAJ   replace Config DPAE provider with database provider; had to adjust Data::Printer alias in Routes to avoid errors due to possible clash with another package
  • e741d55 19/02/2018 14:59:15 by RAJ   include password in call to DPAE authenticate_user() - something changed in DPAE so that password now required for authentication to get logged_in_user & logged_in_user_realm session entries
  • 3d42a2e 18/01/2018 14:25:26 by RAJ   switch on file query logging - now off by default (RfC361L)
  • 87cd739 29/04/2016 16:17:40 by RAJ   added js expand to lab results & result summary sections
  • 6caa82f 23/11/2015 10:44:28 by RAJ   lc field_filters on user registration validation
  • ae69ca2 20/11/2015 17:51:05 by RAJ   modified calculation to load either next pagination link or pdf download link - was failing to provide link when total reports = multiples of entries_per_page (20, 40, 60, etc)
  • 50be95f 09/11/2015 11:48:19 by RAJ   bugfix for email_registration() default transport
  • 8009f0c 19/10/2015 16:01:01 by RAJ   changed specimen summary key/value names and 'f' label to 'n'
  • 2c7f9bd 15/10/2015 10:39:09 by RAJ   added specimen frequency breakdown to reports summary display
  • bc4f53d 15/10/2015 09:32:24 by RAJ   added specimen type to reports summary display; adjusted layout on reports summary pdf; amended order by requests.created_at to request_draft_report.created_at so now correctly displayed by report date
  • 2fd587a 14/10/2015 16:39:50 by RAJ   user can download pdf index of draft reports
  • 66be172 11/10/2015 10:44:29 by RAJ   moved some of recent pagination code from routes & model to Local::Paginator
  • 29e8d22 10/10/2015 14:13:03 by RAJ   moved paginator code into own sub; separated model get_report_counts into own sub, using new count() method in Local::DB; new config item paginator.siblings; general code tidy
  • 6ffed84 09/10/2015 16:40:10 by RAJ   applied pagination to previous reports block
  • c364d26 08/10/2015 15:00:48 by RAJ   added authentication function using D2::Plugin::Auth::Extensible; new admin function to register new user; removed GET /login route - using auto_page()
  • 54976ec 05/10/2015 12:33:11 by RAJ   changed user authentication from hilis4.users to hilis4.draft_report_users - automatically creates new entry in draft_report_users table if user exists in hilis.users table
  • b54fdd1 29/09/2015 11:28:48 by RAJ   tidy up before migration of repo to new server
  • e47b76a 31/08/2015 10:51:10 by RAJ   args to Local::DB either dsn or dbname; integration with other apps and Local::QueryLogger; switched off query logging for test scripts
  • 3e99396 17/08/2015 12:36:13 by RAJ   passed D2 config through app to model so authenticate_user can exempt passwd for development platform
  • 6091919 17/08/2015 11:26:21 by RAJ   switched off auto-inflate dates in Local::DB pending removal of dates -> datetimes in app/templates
  • bb01193 30/07/2015 11:57:04 by RAJ   adapted forms for IE8 inability to respond to html5 validation
  • 32cb162 28/07/2015 16:53:55 by RAJ   fix for 'mysql gone away' problem in Routes::AJAX - app definition was incorrect, and gave it a 'before' hook to check_db_connection as precaution; removed debugging info in DB::check_db_connection
  • 0d8992f 24/07/2015 17:01:54 by RAJ   fix for persistence of broken dbix in DB::sql_lib; added debug info to DB for mysql timeout - used in conjunction with Local::DB debug info
  • ed4b7f6 24/07/2015 00:16:43 by RAJ   new Routes::Test class for testing app; replaced 'dance' with 'true' in Reporter::Routes file - was causing 002_index_routes.t to load app as service
  • 24f1448 22/07/2015 16:01:01 by RAJ   custom 500.tt for errors; replaced 'var' with 'token' in before_template_render - useage breaks custom error tt rendering
  • 1ef5bf8 21/07/2015 21:15:08 by RAJ   fix for 'mysql server has gone away' message - new DB check_db_connection() method clears dbix object if no ping received from db, forcing dbix object recreation; wrapped 'horrible' deferred keyword in flash() method; dev logger uses Console::Colored output
  • 3999a83 16/07/2015 21:02:28 by RAJ   moved get_diagnoses string length test from routes class to model
  • eda3e24 16/07/2015 16:38:10 by RAJ   provided get_table_cols method in SQL::Lib; provided method calls for app version & git history
  • d599fa7 15/07/2015 16:19:52 by RAJ   returns message to report screen after submission; forced 'updated_at' timestamp as ON UPDATE doesn't seem to work; moved generation of previous reports list from login to search page and out of session into var; prevented ajax lookup if < 3 chars (seems to generate persistent error if db does search with undef param); moved SQL::Lib methods query construction to new create_query() method; moved 'deferred' display to main layout tt
  • e9131c3 12/07/2015 13:26:37 by RAJ   retrieve list of previously reported requests at login
  • f6f183a 06/07/2015 12:49:43 by RAJ   bugfixes - cannot call main data var 'request' or clashes with D2 request
  • af5cdba 06/07/2015 12:16:39 by RAJ   bugfixes - switched deployment to YAML file sessions as DBIx not working - maybe cookie handling issue; removed line-break in textarea markup causing 'required' flag to fail
  • aca7aa4 06/07/2015 10:41:37 by RAJ   modified HTML::FormHandler validation class to return same data structure as Data::FormValidator class
  • 4e1088f 02/07/2015 11:55:32 by RAJ   moved Dancer2/Session/DB.pm to perl-lib/Local/Dancer2/Session/DBIx.pm; dev config uses lims_test db for sessions
  • a29a0a3 01/07/2015 17:07:42 by RAJ   new D2::Session::DB class for db sessions
  • 35c81da 29/06/2015 12:02:04 by RAJ   switched model & app validation classes - DFV currently more suitable for model than HTML::FormHandler: eg manipulating validation profile required fields in model instead of template
  • ad8e8b5 26/06/2015 15:29:29 by RAJ   css formatting; fixed z-index issue with predictive text ajax function - items display behind secondary diagnosis textbox
  • b71853b 26/06/2015 14:52:35 by RAJ   retrieves previous requests on nhs_number match; fixed t/validation.t after validation code change
  • c4025d8 25/06/2015 21:47:02 by RAJ   separated Reporter::Validation class into RV::SearchForm & RV::ReportForm to isolate profiles; handles failure to find request from search form; ajax find diagnosis function required info key (ICDO3) to be not undef; hide some page elements in print view
  • be1b465 24/06/2015 17:01:15 by RAJ   replaced HTTP::Validate with Data::Formvalidator in Reporter::Validator; retrieval of request data includes previous report if submitted by same user otherwise new draft report created; request data saved in session for template in case db update/insert fails and original data needs to be re-displayed; changed validation from HTML::FormHandler to Data::FormValidator, pending ability to select validation profiles; app now fully functional
  • be4b2bb 23/06/2015 14:21:45 by RAJ   queries to retrieve test results & result summaries from db; new route class for ajax calls; formatted report_form.tt; provided some tt vars via before_template_render hook
  • 0427d61 22/06/2015 09:45:38 by RAJ   moved sql query construction to new Reporter::SQL::Library class using Local::QueryLibrary & SQL::Abstract::More
  • f3bf0a4 20/06/2015 11:17:13 by RAJ   added validation class; made login a global requirement; added more model methods
  • c57d8e5 16/06/2015 16:38:31 by RAJ   refactored app to Reporter::Routes, Reporter, Reporter::Model & Reporter::DB classes
  • 24a321c 16/06/2015 14:31:09 by RAJ   basic login functionality; pre-refactor to Routes, Model & DB classes
  • 8ab06fe 15/06/2015 11:59:35 by RAJ   initial commit