Permalink
Switch branches/tags
Nothing to show
Commits on Feb 20, 2013
  1. devops: add favicon.ico

    yaniv-aknin committed Feb 20, 2013
  2. backend/log: fix setup_logging() for multiple invocations

    yaniv-aknin committed Feb 20, 2013
    Also, add named NullHandler to root logger; otherwise I saw some
    packages that will accidentally think our logging subsystem isn't
    configured and will try to configure it with their defaults.
  3. backend/api: do proper parsing of requests, enrich PUT semantics

    yaniv-aknin committed Feb 20, 2013
    PUT will now do the RESTishly accepted action of 'create the resource if
    not existent and update if it already exists'. Should two requests race
    to create the same resource, one of the user-agents will succeed and the
    other will receive an HTTP 409 CONFLICT. This user-agent can then retry
    the request (or do something else, as it sees fit).
Commits on Feb 18, 2013
  1. backend: make todos the index page

    ybz committed Feb 18, 2013
  2. frontend: use backend persistence

    ybz committed Feb 18, 2013
  3. backend: add todo resources

    ybz committed Feb 18, 2013
  4. todo: register all coffee assets

    ybz committed with yaniv-aknin Feb 17, 2013
  5. frontend/todo: add main app.coffee

    ybz committed with yaniv-aknin Feb 17, 2013
  6. frontend/todo: add Router

    ybz committed with yaniv-aknin Feb 17, 2013
  7. frontend/todo: add TodoView

    ybz committed with yaniv-aknin Feb 17, 2013
  8. frontend/todo: add TodoCollection

    ybz committed with yaniv-aknin Feb 17, 2013
  9. frontend/todo: add TodoModel

    ybz committed with yaniv-aknin Feb 17, 2013
  10. frontend/todo: add css

    ybz committed with yaniv-aknin Feb 17, 2013
  11. backend/views: add todo view

    ybz committed with yaniv-aknin Feb 17, 2013
  12. frontend/todo: add img statics

    ybz committed with yaniv-aknin Feb 17, 2013
  13. devops: add some deployment/provisioning fixes

    yaniv-aknin committed Feb 16, 2013
     - fix project root detection from runcommands.sh
     - add the sandalstrap project bootstrapper as sandalstrap.sh
     - explicitly check for CoffeeScript and JRE
     - remove readline from requirements
        Shouldn't be there in the first place, it's just a sad artifact of
        development on OSX.
  14. backend/log: add detailed request logging

    yaniv-aknin committed Feb 15, 2013
    Every request is logged when the request is received and when the
    response is sent. A uuid is generated and added to each request, and
    will accompany any log line generated in the context of this request.
Commits on Feb 15, 2013
  1. backend/api: patch flask-restful for better serialization and error h…

    yaniv-aknin committed Feb 15, 2013
    …andling
    
    See the code comments for references to github pull requests/issues
    explaining the rationale behind these patches.
  2. utils: add INTERACT

    yaniv-aknin committed Feb 15, 2013
    Often when coding/debugging you'd like to have a shell at a certain
    point in your code. A common Python idiom for that is:
    
        from code import interact
        interact(local=locals())
    
    This commit adds a function called utils.pyutils.interact, which looks
    into the stack and fetches the local scope of its caller, then runs
    an IPython (if available) or Python shell with this local scope.
    
    Also, this function is patched into __builtins__ under the name
    INTERACT. So anywhere in your code, you can just call INTERACT() and get
    a nifty shell with the relevant locals.