Skip to content
Commits on Jun 10, 2011
  1. @sean-

    Merge branch 'release/r0.1.1'

    sean- committed
    Conflicts:
    	TODO
    	skeleton/templates/layout/base.html
    
    Signed-off-by: Sean Chittenden <sean@chittenden.org>
  2. @sean-

    Update the TODO based on work that was completed in this last micro r…

    sean- committed
    …elease.
    
    Signed-off-by: Sean Chittenden <sean@chittenden.org>
  3. @sean-
  4. @sean-

    Improve the error reporting for module loading.

    sean- committed
    I'm not entirely sure this is a step forward, but I want to push this set of changes up to github.
    
    Signed-off-by: Sean Chittenden <sean@chittenden.org>
  5. @sean-

    Add a small example to demonstrate the use of Flask-Babel. Teach aaa.…

    sean- committed
    …user how to get the timezone from a session_id.
    
    Signed-off-by: Sean Chittenden <sean@chittenden.org>
  6. @sean-

    Import Flask-Babel in to the application.

    sean- committed
    Signed-off-by: Sean Chittenden <sean@chittenden.org>
  7. @sean-

    Update the list of requirements to include Flask-Babel-dev from github.

    sean- committed
    Signed-off-by: Sean Chittenden <sean@chittenden.org>
  8. @sean-

    Ignore the src/ directory.

    sean- committed
    Signed-off-by: Sean Chittenden <sean@chittenden.org>
  9. @sean-

    Add GAE's pytz support. Sneak in the loading of this data during runs…

    sean- committed
    …erver. Also update to SQLA 0.7.1 while I'm here.
    
    Signed-off-by: Sean Chittenden <sean@chittenden.org>
  10. @sean-

    Add a ProfileForm() and profile page for users to edit their profile …

    sean- committed
    …information. Editing the profile information doesn't work entirely and won't until the User model is updated to use proxy objects for the columns that are housed in a VIEW. This example will be forthcoming.
    
    Signed-off-by: Sean Chittenden <sean@chittenden.org>
  11. @sean-

    Rename user_id_get() to get_user_id_by_email(). Teach aaa.user's get_…

    sean- committed
    …user_id to load user_id's from either email or session_id's.
    
    Signed-off-by: Sean Chittenden <sean@chittenden.org>
  12. @sean-

    Fix the aaa.user view so that it uses user_id instead of id. I'm rese…

    sean- committed
    …rving "id" for tables that are actually the PRIMARY KEY().
    
    Signed-off-by: Sean Chittenden <sean@chittenden.org>
  13. @sean-

    Rename email_id_get() to get_email_id_by_email()

    sean- committed
    Signed-off-by: Sean Chittenden <sean@chittenden.org>
  14. @sean-

    We're using a new-enough version of Jinja2 that we don't need to expl…

    sean- committed
    …icitly escape the HTML fields.
    
    Signed-off-by: Sean Chittenden <sean@chittenden.org>
  15. @sean-

    If style(9) existed for SQL functions....

    sean- committed
    Signed-off-by: Sean Chittenden <sean@chittenden.org>
  16. @sean-

    Add aaa.email_id_get() and aaa.user_id_get() helper functions.

    sean- committed
    Signed-off-by: Sean Chittenden <sean@chittenden.org>
  17. @sean-

    Fix the aaa."user" view. Use a LEFT OUTER JOIN. Duh. For example, aaa…

    sean- committed
    ….user_info could contain empty rows if the user hasn't set their timezone.
    
    Signed-off-by: Sean Chittenden <sean@chittenden.org>
  18. @sean-

    Add the trigger to shadow.aaa_email_confirmation_log().

    sean- committed
    Signed-off-by: Sean Chittenden <sean@chittenden.org>
  19. @sean-

    Fix the login form so that it begins explaining why you can't login (…

    sean- committed
    …if you're allowed to know why you can't log in).
    
    Signed-off-by: Sean Chittenden <sean@chittenden.org>
  20. @sean-

    Fixup changing the ownership of the aaa.login() now that login() acce…

    sean- committed
    …pts an extra bool for secure cookies.
    
    Signed-off-by: Sean Chittenden <sean@chittenden.org>
  21. @sean-

    Include an instructional bit that tells a user how to confirm an emai…

    sean- committed
    …l address so they can log in after registering.
    
    Signed-off-by: Sean Chittenden <sean@chittenden.org>
  22. @sean-

    Add a few memoized helper functions that get a user id and a user's t…

    sean- committed
    …imezone.
    
    Signed-off-by: Sean Chittenden <sean@chittenden.org>
  23. @sean-

    When a user registers, let them pick their timezone.

    sean- committed
    Signed-off-by: Sean Chittenden <sean@chittenden.org>
  24. @sean-

    Clean up the db perms to include skeleton_dba as a user that is inclu…

    sean- committed
    …ded in the chain of explicit REVOKEs and GRANTs.
    
    Signed-off-by: Sean Chittenden <sean@chittenden.org>
  25. @sean-

    Add a UserInfo model complete with timezone_id and timezone

    sean- committed
    Signed-off-by: Sean Chittenden <sean@chittenden.org>
Commits on Jun 9, 2011
  1. @sean-

    Update the docs to use skeleton_root.

    sean- committed
    Signed-off-by: Sean Chittenden <sean@chittenden.org>
  2. @sean-

    Fix loading the aaa_login_attempts schema. Residual breakage from rem…

    sean- committed
    …oving the logout_utc column.
    
    Signed-off-by: Sean Chittenden <sean@chittenden.org>
  3. @sean-

    Rename skeleton_rw_dba to skeleton_root. Everyone gets that root is "…

    sean- committed
    …god mode." Calling it rw_dba only confuses the issue. Totally not sure why I broke from the convention that I'm using. dba = can see, but can't touch. root = finger of god.
    
    Signed-off-by: Sean Chittenden <sean@chittenden.org>
  4. @sean-

    Use two roles: a per-user role for read-only operations and a read-wr…

    sean- committed
    …ite role for read-write operations. Only you can prevent forest fires.
    
    Updated perms commit coming in just a few minutes.
    
    Signed-off-by: Sean Chittenden <sean@chittenden.org>
  5. @sean-

    Add a duplicate login decorator, @fresh_login_required in order to pr…

    sean- committed
    …eemptively be compatible with Flask-Login.
    
    Signed-off-by: Sean Chittenden <sean@chittenden.org>
  6. @sean-

    For better or worse, coopt the skeleton/models directory for "site gl…

    sean- committed
    …obal" data. This irks be something fierce. I may move this to "global" in just a few minutes it ticks off my sense of tab-completion so bad.
    
    Signed-off-by: Sean Chittenden <sean@chittenden.org>
  7. @sean-

    While I'm at it, split out the INDEXes. These are loaded after the in…

    sean- committed
    …itial data has been loaded.
    
    Signed-off-by: Sean Chittenden <sean@chittenden.org>
  8. @sean-

    Move foreign keys out of the table definitions that way we can easily…

    sean- committed
    … define table a non-linear set of table dependencies.
    
    Signed-off-by: Sean Chittenden <sean@chittenden.org>
  9. @sean-

    Prefix each .sql file with an env statement that signals to the user …

    sean- committed
    …which database and user to connect as.
    
    Signed-off-by: Sean Chittenden <sean@chittenden.org>
  10. @sean-

    Break out the trivial mod1-mod3 examples in to their own self-contain…

    sean- committed
    …ed .sql file. Similarly, move VIEWs out and TABLES.
    
    Signed-off-by: Sean Chittenden <sean@chittenden.org>
Something went wrong with that request. Please try again.