Hover over the log to see the full commit message.
Clone
e880791 (HEAD -> master) 04/03/2019 14:24:05
by
RAJfix broken date handling after previous commit changed date strings to DateTime object; bring tests up-to-date
bc48b6a01/03/2019 16:02:48
by
RAJmove pluralise function to 'before_template_render' hook for consistency with symbolise function
4563a1d01/03/2019 15:29:45
by
RAJdisplay last-login number of days ago in users list
b08eac201/03/2019 14:22:36
by
RAJcss tweak to try and align nav section underneath inverted curve of logo, independent of browser width
e6d726901/03/2019 11:39:55
by
RAJupdate 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
7f9bf2c28/02/2019 23:12:27
by
RAJadd last_login to draft_report_users table; new function to update users 'active' status
9ca53d327/02/2019 13:15:28
by
RAJadd 'active' column to draft_report_users table - now required for login
7b063a827/02/2019 12:49:22
by
RAJnew function to list all users
948bbfe28/06/2018 10:21:32
by
RAJMerge branch 'hotfix'
ea4ce2328/06/2018 10:21:21
by
RAJno warnings uninitialized - ENV param only set for dev & test
fb4546525/05/2018 09:56:23
by
RAJMerge branch 'pod-update'
2ea9bd425/05/2018 09:56:12
by
RAJupdate documentation, no significant code change
d252ac724/05/2018 12:45:19
by
RAJMerge branch 'refactor-dpae-authenticate-user'
511067c24/05/2018 12:45:04
by
RAJsimplify 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
42ea6ed23/05/2018 16:01:52
by
RAJMerge branch 'fix-mysql-gone-away'
dcffdbb23/05/2018 16:01:35
by
RAJfix 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
07c0a2a21/05/2018 10:27:20
by
RAJMerge branch 'fix-session-roles'
267bca021/05/2018 10:16:34
by
RAJfix 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
29de0b418/05/2018 16:49:33
by
RAJtidy up & comment
23923d418/05/2018 16:30:11
by
RAJMerge branch 'fix-plackup-issue'
cf974c218/05/2018 16:29:54
by
RAJfix 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
62b6f3c18/05/2018 15:05:14
by
RAJMerge branch 'fix-plackup-issue'
b38265418/05/2018 14:46:01
by
RAJfix 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)
7c7237017/05/2018 13:30:46
by
RAJMerge branch 'test-registration-email'
361fc2817/05/2018 13:28:06
by
RAJchange 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
1593db117/05/2018 10:02:21
by
RAJMerge branch 'test-registration-email'
278d01517/05/2018 10:02:07
by
RAJchange email 'from' address; new tests for registration email
c26d0c216/05/2018 14:24:44
by
RAJMerge branch 'dpae-provider-database'
215e1db16/05/2018 14:15:37
by
RAJfix 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
2a5a80819/02/2018 17:48:55
by
RAJreplace Config DPAE provider with database provider; had to adjust Data::Printer alias in Routes to avoid errors due to possible clash with another package
e741d5519/02/2018 14:59:15
by
RAJinclude 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
3d42a2e18/01/2018 14:25:26
by
RAJswitch on file query logging - now off by default (RfC361L)
87cd73929/04/2016 16:17:40
by
RAJadded js expand to lab results & result summary sections
6caa82f23/11/2015 10:44:28
by
RAJlc field_filters on user registration validation
ae69ca220/11/2015 17:51:05
by
RAJmodified 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)
50be95f09/11/2015 11:48:19
by
RAJbugfix for email_registration() default transport
8009f0c19/10/2015 16:01:01
by
RAJchanged specimen summary key/value names and 'f' label to 'n'
2c7f9bd15/10/2015 10:39:09
by
RAJadded specimen frequency breakdown to reports summary display
bc4f53d15/10/2015 09:32:24
by
RAJadded 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
2fd587a14/10/2015 16:39:50
by
RAJuser can download pdf index of draft reports
66be17211/10/2015 10:44:29
by
RAJmoved some of recent pagination code from routes & model to Local::Paginator
29e8d2210/10/2015 14:13:03
by
RAJmoved 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
6ffed8409/10/2015 16:40:10
by
RAJapplied pagination to previous reports block
c364d2608/10/2015 15:00:48
by
RAJadded authentication function using D2::Plugin::Auth::Extensible; new admin function to register new user; removed GET /login route - using auto_page()
54976ec05/10/2015 12:33:11
by
RAJchanged 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
b54fdd129/09/2015 11:28:48
by
RAJtidy up before migration of repo to new server
e47b76a31/08/2015 10:51:10
by
RAJargs to Local::DB either dsn or dbname; integration with other apps and Local::QueryLogger; switched off query logging for test scripts
3e9939617/08/2015 12:36:13
by
RAJpassed D2 config through app to model so authenticate_user can exempt passwd for development platform
609191917/08/2015 11:26:21
by
RAJswitched off auto-inflate dates in Local::DB pending removal of dates -> datetimes in app/templates
bb0119330/07/2015 11:57:04
by
RAJadapted forms for IE8 inability to respond to html5 validation
32cb16228/07/2015 16:53:55
by
RAJfix 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
0d8992f24/07/2015 17:01:54
by
RAJfix 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
ed4b7f624/07/2015 00:16:43
by
RAJnew 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
24f144822/07/2015 16:01:01
by
RAJcustom 500.tt for errors; replaced 'var' with 'token' in before_template_render - useage breaks custom error tt rendering
1ef5bf821/07/2015 21:15:08
by
RAJfix 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
3999a8316/07/2015 21:02:28
by
RAJmoved get_diagnoses string length test from routes class to model
eda3e2416/07/2015 16:38:10
by
RAJprovided get_table_cols method in SQL::Lib; provided method calls for app version & git history
d599fa715/07/2015 16:19:52
by
RAJreturns 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
e9131c312/07/2015 13:26:37
by
RAJretrieve list of previously reported requests at login
f6f183a06/07/2015 12:49:43
by
RAJbugfixes - cannot call main data var 'request' or clashes with D2 request
af5cdba06/07/2015 12:16:39
by
RAJbugfixes - 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
aca7aa406/07/2015 10:41:37
by
RAJmodified HTML::FormHandler validation class to return same data structure as Data::FormValidator class
4e1088f02/07/2015 11:55:32
by
RAJmoved Dancer2/Session/DB.pm to perl-lib/Local/Dancer2/Session/DBIx.pm; dev config uses lims_test db for sessions
a29a0a301/07/2015 17:07:42
by
RAJnew D2::Session::DB class for db sessions
35c81da29/06/2015 12:02:04
by
RAJswitched model & app validation classes - DFV currently more suitable for model than HTML::FormHandler: eg manipulating validation profile required fields in model instead of template
ad8e8b526/06/2015 15:29:29
by
RAJcss formatting; fixed z-index issue with predictive text ajax function - items display behind secondary diagnosis textbox
b71853b26/06/2015 14:52:35
by
RAJretrieves previous requests on nhs_number match; fixed t/validation.t after validation code change
c4025d825/06/2015 21:47:02
by
RAJseparated 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
be1b46524/06/2015 17:01:15
by
RAJreplaced 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
be4b2bb23/06/2015 14:21:45
by
RAJqueries 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
0427d6122/06/2015 09:45:38
by
RAJmoved sql query construction to new Reporter::SQL::Library class using Local::QueryLibrary & SQL::Abstract::More
f3bf0a420/06/2015 11:17:13
by
RAJadded validation class; made login a global requirement; added more model methods
c57d8e516/06/2015 16:38:31
by
RAJrefactored app to Reporter::Routes, Reporter, Reporter::Model & Reporter::DB classes
24a321c16/06/2015 14:31:09
by
RAJbasic login functionality; pre-refactor to Routes, Model & DB classes