Permalink
Commits on Feb 14, 2011
  1. Added url to the activatelogin page when user that is not activate tr…

    …y to login.
    
    Fixed the redirect to None page when next query string is not present.
    Hong Quach committed Feb 14, 2011
Commits on Feb 13, 2011
  1. Added permission restriction to routes.

    Hong Quach committed Feb 13, 2011
  2. Updated session to g.identity.

    Hong Quach committed Feb 13, 2011
  3. Fixed bug activatelogin page to check for present of the activation c…

    …ode query string before accessing it.
    
    Implemented permission system.
    Hong Quach committed Feb 13, 2011
  4. Update User schema to include Action.

    Hong Quach committed Feb 13, 2011
  5. Added permission system.

    Hong Quach committed Feb 13, 2011
  6. Added administorator as a default user.

    Hong Quach committed Feb 13, 2011
Commits on Feb 1, 2011
  1. Added 'actions' table and initialized it with: read, insert, delete, …

    …and edit.
    Hong Quach committed Feb 1, 2011
Commits on Jan 31, 2011
  1. Added activatelogin test.

    Hong Quach committed Jan 31, 2011
  2. Improved the work around for generating the activation code for user.

    The URL (with code) is shown on the /activatelogin.html page.
    Hong Quach committed Jan 31, 2011
  3. Changed from RoleNeed to ActionNeed for read, insert, modify, and del…

    …ete actions.
    Hong Quach committed Jan 31, 2011
  4. Fixed import statements to import flaskext.Principal and added initpr…

    …incipal().
    Hong Quach committed Jan 31, 2011
  5. Added Flask-Principal to the build dependency.

    Hong Quach committed Jan 31, 2011
  6. Fixed typo

    Hong Quach committed Jan 31, 2011
Commits on Jan 27, 2011
  1. Manually merged change with https://github.com/dcolish/Cockerel.git m…

    …aster
    
    Limited line lenght to 79 chars.
    Hong Quach committed Jan 27, 2011
  2. New template to support user activation.

    Hong Quach committed Jan 27, 2011
  3. Added code to display form's errors.

    Indented code to be consistent with other templates.
    Hong Quach committed Jan 27, 2011
  4. Added import for hashlib, smtplib, and ActivateLoginForm.

    Factored "gen = Generator()" to the top of each function to avoid repeat code.
    login():  Added logic to login() to properly handle user input and check for user.activestatus; and modified the logic to display single error message when user failed to login (either invalid username or password).
    singup():  Added code to support user.activestatus and work around email feature to display on the signup.html page.
    activatelogin():  New function to support account activation.
    send_activationcode():  New function to support account activation;  This feature use smtplib to send mail but require SMTP server infomation to go live;  The work around is to return a tuple including email body.
    get_activationcode():  New function to support account activation.
    Hong Quach committed Jan 27, 2011
  5. Rename variable to match PEP8 guideline.

    Changed db data type from String to Boolean.
    Hong Quach committed Jan 27, 2011
  6. Added ActivateLoginForm class

    Hong Quach committed Jan 27, 2011
  7. Import ActivateLoginForm

    Hong Quach committed Jan 27, 2011
Commits on Jan 26, 2011
  1. @dcolish
Commits on Jan 24, 2011
Commits on Jan 19, 2011
  1. Change from if statement to for statement so that it would consitent …

    …with the other login form. This also fixed the display of the error message by itself rather in the list format surounded by [].
    Hong Quach committed Jan 19, 2011
  2. Undo indentation and additional HTML tags back to the original versio…

    …n, and also removed the <ul> tags in the original version..
    Hong Quach committed Jan 19, 2011
  3. Undo indentation and additional HTML tags back to the original versio…

    …n, except for the added form action.
    Hong Quach committed Jan 19, 2011
  4. Rewrite attemp to overload __init__() to accept additional fields if …

    …provided
    Hong Quach committed Jan 19, 2011
Commits on Jan 18, 2011
  1. Removed outdate files. Implemented 'Confirm password' field in signup…

    … form with password validation. Added error message and added code to validate signup form. Fixed minors layout format of error message in login.html. Updated User model to initialize with all users values and update SetUser to create new session variables to hold user's new attributes.
    Hong Quach committed Jan 18, 2011
Commits on Jan 17, 2011
  1. @dcolish

    give the forms their own submodule outside of webapp, fix the naming …

    …issues in auth.security
    dcolish committed Jan 17, 2011
  2. @dcolish
  3. @dcolish