1Revision history for Dancer-Plugin-Auth-Extensible 2 31.00 2016-08-26 4 [ ENHANCEMENTS ] 5 - Cache logged in user and roles (GH-51) 6 70.40 2015-04-30 8 [ ENHANCEMENTS ] 9 - Login handlers go straight to homepage if user was already logged in 10 (thanks to @colinmkeith, GH-32) 11 - Kwalitee improvements from Michael Gray (mjg17) as part of the awesome 12 pull request challenge (GH-43, GH-44, GH-45, GH-46) 13 14 [ SECURITY ] 15 - Ensure the username and password we got were straight scalars, to 16 avoid potential for "JSON SQL injection" if they came from a 17 deserialised JSON POST body, and contained a hashref that, if fed to 18 e.g. SQL::Abstract or such, would cause a different query to what we'd 19 expect. 20 210.30 2013-11-14 22 [ ENHANCEMENTS ] 23 - Typo fix and whatis entry courtesy of Debian team 24 - POD fix (Matt West) 25 260.20 2013-01-30 27 [ ENHANCEMENTS ] 28 - Use return_url to redirect back to requested page after logging in 29 (GH #14, thanks to @dagolden) 30 - require_role can now take a regex to match (GH #16, thanks to 31 @chenryn) 32 33 [ BUG FIXES ] 34 - authenticate_user is now exported (thanks to melmothX on IRC) 35 360.10 2012-12-19 37 [ ENHANCEMENTS ] 38 - WARNING: backwards incompatible change! 39 The original approach using subroutine attributes was pretty, but not 40 always reliable (particularly with regards to thread safety, or 41 running under the debugger or Devel::Cover etc). 42 Since this module is still in it's early life and not widely used, 43 I've refactored entirely, to use new requires_login / requires_role 44 etc keywords, which wrap the provided coderef in a coderef which 45 checks if the user is logged in / has the required role(s), before 46 running the route handler provided. 47 - Configurable /login, /logout URLs - Rene (hertell) 48 490.04 2012-12-15 50 [ BUG FIXES ] 51 - Throw an error properly if not configured correctly - safer to refuse 52 for anything to be served than to potentially serve stuff the user 53 expected to be protected if their config is wrong. 54 550.03 2012-12-07 56 [ BUG FIXES ] 57 - import Dancer DSL keywords, so call to debug() if user record is not 58 found doesn't cause horrific fiery explosions (reported by rwb) 59 600.02 2012-12-07 61 [ BUG FIXES ] 62 - Various bug fixes and improvements, including POD fix from cebjyre, 63 fixing broken register_plugin call by racke 64 650.01 Date/time 66 First version, released on an unsuspecting world. 67 68