Commits

Show all
Author Commit Message Labels Comments Date
Lee McFadden
Fixed stupid and easily catchable bug - need tests badly
Tags
0.1a1
Lee McFadden
Fixed validation to use Clutch's new systems - forms to be validated are Django forms (ugh)
Lee McFadden
Refactored. All WSGI dependent code is now in clutch.wsgiapp.BaseApp and everything that needs the environ/request/response objects is on the controller (self.url_for, self.redirect, etc)
Lee McFadden
Early validation support
Lee McFadden
Fixed syntax error
Lee McFadden
Changed validation to expect django forms
Lee McFadden
Added validation for tw2 forms
Lee McFadden
Added the redirect decorator for ease of use
Lee McFadden
Made any object with a __json__ method decodable by simplejson as a priority
Lee McFadden
Fixed bug when expose tries to find a non-existant mako template
Lee McFadden
Fixed bug in json encoder and added encoding of gae's users.User
Lee McFadden
Fixed some issues with circular imports and pkg_resources being a bitch on App Engine
Lee McFadden
Slight change to DottedTemplateLookup so it doesn't have the responsibility of instanciating a DottedFilenameFinder
Lee McFadden
Added dotted template lookups
Lee McFadden
Changed executable bit
Lee McFadden
* Removed some of the extraneous controller "caching" from wsgiapp.py - GAE is single thread/process so we don't have to worry about caching anything on this level * added ContextProxy class to __init__ to allow imports of request/response before they're initialised by expose
Lee McFadden
Added template helpers into mako.before_render()
Lee McFadden
url renamed url_for. url was too ambiguous and begged to get overwritten in locals.
Lee McFadden
Added clutch.util
Lee McFadden
Updated to use a global request/response and to preserve a controller method's function signature
Lee McFadden
* Shuffled ExposeBase methods for better readability * Removed locals(). Not required in the app engine environment due to the single threaded nature of the beast
Lee McFadden
* Fixed config issues * Added update_config() which should be used in main.py to add the configs in any config modules throughout the project
Lee McFadden
Removed extraneous import and fixed whitespace
Lee McFadden
More tests and fixes
Lee McFadden
Fixed the tests so attrs are no longer dingii when they're not expected to be
Lee McFadden
Added first round of tests
Lee McFadden
* Moved more imports * Added a clutch.config global object * Removed the current (non-working) validation code in anticipation of the new validation middleware factory
Lee McFadden
Moved as many imports inside their required functions as possible. This should mean that imports are done on the fly, speeding up requests
Lee McFadden
Added initial support for validation
Lee McFadden
Added more docstrings
  1. Prev
  2. Next