Commits on Jun 3, 2014
  1. Moved initial defaults into a separate function

    Also made them a series of INSERT statements rather than a single multi-
    insert statement.
    committed Jun 3, 2014
Commits on Jun 2, 2014
  1. Setting up Unit Tests for \Core\Process\Login::action()

    * Correct Object\Log::setup() to actually define the logs table
    * Add some sensible defaults to the config values
    * Return log values for troubleshooting
    * Update log messages on login failure
    * Don't log login failure twice!
    * Add initial unit test (working test only, not failure test)
    committed Jun 2, 2014
Commits on May 17, 2014
  1. Tweaks to the login scrips make it unit testable

    * Adjusted the phpdoc text for the MOTP and HOTP classes
    * Made the process\login::action have a datetime resolver built in.
    #todo requires unit testing :)
    committed May 17, 2014
  2. Incomplete login success/failure recording

    * Needs more work on the Log class.
    committed May 17, 2014
  3. Identify token types

    committed May 17, 2014
  4. Add Skew tracking to TOTP

    committed May 17, 2014
Commits on May 16, 2014
  1. Various fixes to the Object classes

    * Following a code_sniff, tidy up whitespace and bracket placement
    * Correctly name all the ClientGroup and UserGroup functions, table
    names, etc. - including the class names!
    * Add a skew value to the token classes and tests
    committed May 16, 2014
Commits on May 8, 2014
  1. Create user groups to block group memberships together

    * Added a function to the user object to search for the group membership
    * Added the userGroup object which is just a naming class
    * Added the userGroupMembership object which links a user to a group, or
    a group to a parent group
    committed May 8, 2014
  2. Moved and renamed the DatabaseObject abstract. Adjusted the objects

    In particular, added the key protected values to the top of the objects.
    * Cleaned up the Client class, including adding key searching and
    * Users class finding functions moves \PDO to the start of the object,
    followed by the username to search for, and corrected the tests
    committed May 8, 2014
Commits on May 6, 2014
  1. Added loginSuccess and loginFailure functions to User class

    These functions permit standard lockout adjustment actions to be
    performed with little knowledge by the subsequent function calls.
    committed May 6, 2014
  2. Added standard database operations to the User object & support locko…

    …ut fields
    * Created "DatabaseObject" abstract class to extend all subsequent
    objects from
    * Updated User Object with required DatabaseObject values (strTableName,
    arrColumns and strKeyColumn)
    * Added epochLastLoggedIn, intFailedLogins to User object
    * Updated Unit Tests.
    committed May 6, 2014
Commits on Apr 21, 2014
  1. Add slim as our router

    committed Apr 21, 2014
Commits on Apr 18, 2014
  1. Another .travis.yml fix

    committed Apr 18, 2014
Commits on Apr 17, 2014
  1. A lot of moving stuff around, and refactoring of namespaces, composer.

    I was reading up a bit on the various PSRs, and this is an attempt to
    make the code at least look a bit like PSR-2 compliant.
    Here, we set up composer for it's autoloader. We move all the files
    which were called /Libraries/ into /src/MotpAppServer/Core/ and test
    files which were called /Tests/ go into
    I've re-namespaced all the files to match this new world. To comply with
    PSR-0, all error, results, failure etc. classes are in their own files
    in a directory for the namespace header.
    The configuration.xml loads the Composer autoload.php, while the
    bootstrap.php does the same, just incase either fails. The .travis.yml
    has been adjusted to match too.
    .gitignore now ignores the /vendor path too - incase we add anything
    later, the composer.json should load everything we need.
    committed Apr 17, 2014
Commits on Apr 4, 2014
Commits on Apr 3, 2014
  1. A series of changes to the authenticator types and associated unit tests

    * HOTP class now also has a way to check for a window of HOTP checks
    * HOTP Result class now tracks the counter used, for later reuse
    * MOTP class now records and returns skew (in seconds)
    * MOTP class has better documentation and variable naming
    * Adjusted unit testing for HOTP class and MOTP class to support the
    committed Apr 3, 2014
Commits on Apr 2, 2014
Commits on Mar 24, 2014
  1. Make \Otp\Object_Client::findClientByHostname a static

    Thanks! :)
    committed Mar 24, 2014