Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Large refactoring of view code backed by adding tests for sqlalchemy model classes #4

Open
wants to merge 27 commits into
base: master
Choose a base branch
from

Commits on Feb 4, 2014

  1. start to pin versions for deform, requests and pyramid in setup.py,

    depend on SQLAlchey 0.8.0 in requirements.txt, add first Integration
    test, remove unused context from views.ToDoViews, apply this change in
    README as well
    Sascha Gottfried committed Feb 4, 2014
    Configuration menu
    Copy the full SHA
    36effd9 View commit details
    Browse the repository at this point in the history
  2. refactor Items<->Tags many-to-many relationship in order to enable te…

    …stability of TodoItem, add several tests inserting TodoItems, all tests pass, update version in setup.py to 1.1, move model-related code from scripts.initializedb.main to create_dummy_content
    Sascha Gottfried committed Feb 4, 2014
    Configuration menu
    Copy the full SHA
    7026b52 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2014

  1. continue refactoring, move SQLAlchemy related code from views into mo…

    …dels to hide model implementation details, better utilize model relationships to enable application features, add more tests, all tests pass
    Sascha Gottfried committed Feb 5, 2014
    Configuration menu
    Copy the full SHA
    51d2383 View commit details
    Browse the repository at this point in the history
  2. extend README with notes about using IPython to explore SQLAlchemy mo…

    …dels
    Sascha Gottfried committed Feb 5, 2014
    Configuration menu
    Copy the full SHA
    59b668b View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2014

  1. refactor code that updates user account preferences into user model,

    refactor code that filters todos by tag into user model, add __repr__ to
    model classes 'Tag' and 'TodoItem' to support working with IPython,
    added IPython session as docstring to next test class
    Sascha Gottfried committed Feb 10, 2014
    Configuration menu
    Copy the full SHA
    ed5adf3 View commit details
    Browse the repository at this point in the history
  2. pin pyramid_deform in requirements.txt to version 0.2

    Sascha Gottfried committed Feb 10, 2014
    Configuration menu
    Copy the full SHA
    88c649c View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2014

  1. create several FormViews based on pyramid_deform helper class to break

    up big large existing view that handles everything, form views use
    SQLAlchemy models to change application state, move todoitem.due_date
    timezone conversion into existing SQLAlchemy domain models - TDB in
    todogrid, add new XHR route for todos to support AJAX-based loading of
    todo into modal task form, change URL generation to use route
    configuration, revisited inclusion of deform JS/CSS dependencies into
    global template, include pyramid add-ons from paster configuration
    files, all tests pass
    Sascha Gottfried committed Feb 11, 2014
    Configuration menu
    Copy the full SHA
    e63fc21 View commit details
    Browse the repository at this point in the history
  2. small changes to README

    Sascha Gottfried committed Feb 11, 2014
    Configuration menu
    Copy the full SHA
    3b5f46c View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2014

  1. add Travis CI file - closes #23

    Sascha Gottfried committed Apr 3, 2014
    Configuration menu
    Copy the full SHA
    054aba7 View commit details
    Browse the repository at this point in the history
  2. small changes for TRAVIS CI to pick up the repo

    Sascha Gottfried committed Apr 3, 2014
    Configuration menu
    Copy the full SHA
    e0462cd View commit details
    Browse the repository at this point in the history
  3. fix travis install command

    Sascha Gottfried committed Apr 3, 2014
    Configuration menu
    Copy the full SHA
    d4ab254 View commit details
    Browse the repository at this point in the history
  4. add TRAVIS CI build status to README.md

    Sascha Gottfried committed Apr 3, 2014
    Configuration menu
    Copy the full SHA
    e85def5 View commit details
    Browse the repository at this point in the history
  5. tests try to import unittest2 for python 2.6 compatibility

    Sascha Gottfried committed Apr 3, 2014
    Configuration menu
    Copy the full SHA
    8ae4f46 View commit details
    Browse the repository at this point in the history
  6. switch to nose2 as testrunner

    Sascha Gottfried committed Apr 3, 2014
    Configuration menu
    Copy the full SHA
    ffef465 View commit details
    Browse the repository at this point in the history
  7. run nose2 as TRAVIS CI testrunner

    Sascha Gottfried committed Apr 3, 2014
    Configuration menu
    Copy the full SHA
    9e0825b View commit details
    Browse the repository at this point in the history
  8. try pip option --allow-external and remove deprecated option --use-mi…

    …rrors
    Sascha Gottfried committed Apr 3, 2014
    Configuration menu
    Copy the full SHA
    e8bc022 View commit details
    Browse the repository at this point in the history
  9. remove pip option --allow-external

    Sascha Gottfried committed Apr 3, 2014
    Configuration menu
    Copy the full SHA
    6a7d59b View commit details
    Browse the repository at this point in the history
  10. switch back to nose, because nose2 dependency argparse==1.2.1 can not…

    … be installed inside TRAVIS CI
    Sascha Gottfried committed Apr 3, 2014
    Configuration menu
    Copy the full SHA
    c817db0 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2014

  1. make DB session and user available available from request object (closes

    #25), handle gracefully a connection loss to database and log out and
    notify user (closes #26)
    Sascha Gottfried committed Apr 4, 2014
    Configuration menu
    Copy the full SHA
    2952afa View commit details
    Browse the repository at this point in the history
  2. closes #7

    saschagottfried committed Apr 4, 2014
    Configuration menu
    Copy the full SHA
    b9c0ca5 View commit details
    Browse the repository at this point in the history
  3. revert to handling transaction outside of content creation function,

    because it fits to the existing two use-cases.
    saschagottfried committed Apr 4, 2014
    Configuration menu
    Copy the full SHA
    ee94eeb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9d4a462 View commit details
    Browse the repository at this point in the history
  5. closes #29

    saschagottfried committed Apr 4, 2014
    Configuration menu
    Copy the full SHA
    f4faa81 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    abe3ccc View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2014

  1. move site-menu/navbar logic in from global_layouts.pt to layouts.py, …

    …add includeme() function for integration testing, reenable skipped test for anonymous HomePage view, all tests pass - refs #30, closes #19
    saschagottfried committed Apr 15, 2014
    Configuration menu
    Copy the full SHA
    baa2c71 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    559b4ed View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2014

  1. add link to OpenShift deployment

    ToDoPyramid is now running on OpenShift using a Free Plan
    saschagottfried committed Jun 12, 2014
    Configuration menu
    Copy the full SHA
    10af11f View commit details
    Browse the repository at this point in the history