Permalink
Commits on Sep 6, 2016
  1. Regenerated README

    bigpresh committed Sep 6, 2016
  2. Silly typo fix (thanks to @mestia)

    bigpresh committed Sep 6, 2016
    Closes #54
Commits on Sep 1, 2016
  1. Suggest choosing a secure algo

    bigpresh committed Sep 1, 2016
    Suggest that the user take care to use a secure algo if they use
    Crypt::SaltedHash directly to hash a password rather than use the included
    script.
  2. Default to more secure hashing algo.

    bigpresh committed Sep 1, 2016
    SHA-1 is somewhat weak; use SHA-512.
    
    See #34
  3. Merge pull request #53 from bigpresh/cache_user_details

    bigpresh committed Sep 1, 2016
    Revamp user caching
  4. Test that cached data is usable, too.

    bigpresh committed Sep 1, 2016
    Just to make sure that the data that comes from the cache is actually right, as
    that's nice to know too.
  5. Remove call-counting from Example provider.

    bigpresh committed Sep 1, 2016
    I mistakenly thought the test app used the Example provider.
  6. Monkeypatch Provider::Config to count calls

    bigpresh committed Sep 1, 2016
    The test app uses the Config provider.  Monkey-patch the get_user_details method
    to count how many times it gets called, so we can see that we do in fact get the
    expected count.
Commits on Aug 31, 2016
  1. Merge branch 'master' into cache_user_details

    bigpresh committed Aug 31, 2016
    Conflicts:
    	lib/Dancer/Plugin/Auth/Extensible/Provider/Database.pm
  2. Test that caching is working

    bigpresh committed Aug 31, 2016
  3. Remove caching from Database provider.

    bigpresh committed Aug 31, 2016
    it's done at a higher level now.
  4. Cache at higher level so all providers benefit.

    bigpresh committed Aug 31, 2016
    I originally added caching to D::P::D::Provider::Database, but this is something
    all providers can benefit from - other providers can be expensive to query too,
    e.g. LDAP, IMAP, etc.
    
    Doing it here means that all providers benefit from it without them having to do
    anything special.
Commits on Aug 25, 2016
  1. Er, cache the details per-user.

    bigpresh committed Aug 25, 2016
    That would probably help!
  2. Merge pull request #51 from bigpresh/cache_user_details

    bigpresh committed Aug 25, 2016
    Cache logged in user details and roles.
  3. Merge pull request #50 from bigpresh/spinoff_ldap_provider

    bigpresh committed Aug 25, 2016
    Spinoff ldap provider
  4. Whoops, re-nuke these.

    bigpresh committed Aug 25, 2016
    The merge from master brought them back it seems
  5. Merge branch 'master' into spinoff_ldap_provider

    bigpresh committed Aug 25, 2016
    Conflicts:
    	lib/Dancer/Plugin/Auth/Extensible/Provider/LDAP.pm
    	t/02-ldap.t
    	t/ldap/config.yml
  6. Nuke LDAP provider.

    bigpresh committed Aug 25, 2016
    It now lives at
    https://github.com/bigpresh/Dancer-Plugin-Auth-Extensible-Provider-LDAP
    
    It will be its own separate CPAN dist.
  7. No longer require Mock::Quick

    bigpresh committed Aug 25, 2016
    It's used only by the LDAP provider, which is about to be spun out to its own
    repo and dist
  8. Merge pull request #33 from mestia/master

    bigpresh committed Aug 25, 2016
    attempt to make LDAP provider to work with generic ldap configurations
  9. Cache logged in user details and roles.

    bigpresh committed Aug 25, 2016
    Cache the details of the logged in user, and the roles they have, for the
    duration of a request, so that repeated calls to `logged_in_user` or checking
    roles don't cause a load of database queries.
    
    @joshrabinowitz noticed this in particular with Dancer::Plugin::SimpleCRUD which
    does various checks for roles, but it would apply to anything that calls
    C<logged_in_user>, C<user_roles>, C<user_has_role> etc repeatedly.
Commits on Apr 30, 2015
  1. Bump version to 0.40 instead

    bigpresh committed Apr 30, 2015
  2. Update Changes

    bigpresh committed Apr 30, 2015
  3. Bump version to 0.31

    bigpresh committed Apr 30, 2015
  4. Merge pull request #46 from mjg17/mjg17/kwalitee-use-warnings

    bigpresh committed Apr 30, 2015
    Mjg17/kwalitee use warnings
  5. Merge pull request #45 from mjg17/mjg17/kwalitee-prereqs-perlver

    bigpresh committed Apr 30, 2015
    Mjg17/kwalitee prereqs perlver
  6. Merge pull request #43 from mjg17/mjg17/manifest

    bigpresh committed Apr 30, 2015
    Add bin/generate-crypted-password to MANIFEST.
  7. Merge pull request #44 from mjg17/mjg17/travis

    bigpresh committed Apr 30, 2015
    travis: add YAML to cpanm install list.
Commits on Oct 29, 2014
  1. Merge pull request #40 from racke/pr/ganerate-typo

    bigpresh committed Oct 29, 2014
    Fix typo in documentation for generating hashed passwords.
  2. Typo fix; closes #39.

    bigpresh committed Oct 29, 2014