Commit Graph

120 Commits (d955d23e91bd1a9f7749991197f3b4b7b1a46e53)

Author SHA1 Message Date
Dustin C. Hatch 92ef80fd61 Copy more attributes from controller callables to partial wrappers 2011-04-15 21:04:24 -05:00
Dustin C. Hatch 92ba7c9387 Added special handling for mapped paths with trailing slashes 2011-04-10 19:19:57 -05:00
Dustin C. Hatch b11438b69c Alter URL generator to return URLs without host info by default 2011-04-07 23:25:38 -05:00
Dustin C. Hatch 0fba1c95b9 Added licensing information and boilerplate messages 2011-04-05 23:47:44 -05:00
Dustin C. Hatch ae0d14df60 Started API reference documentation 2011-04-05 23:40:33 -05:00
Dustin C. Hatch f3b0f44449 Imported authentication-related features from Thunder 2011-04-05 23:35:48 -05:00
Dustin C. Hatch 303b0ff880 Added a `util` module and moved the `asbool` function there 2011-03-30 19:56:38 -05:00
Dustin C. Hatch c744d79422 Ignore egg info 2011-03-29 20:22:46 -05:00
Dustin C. Hatch 132a5c1ffc Export webob.request objects in the milla namespace 2011-03-27 22:04:34 -05:00
Dustin C. Hatch 9fa85fac47 Added an icon and support for automatically serving favicon.ico 2011-03-27 15:24:41 -05:00
Dustin C. Hatch 9b30000a36 Support for `__before__` and `__after__` method calls for controllers
For convenience, a `Controller` class now exists from which all classes wanting to implement these methods should descend. This will allow sane cooperative multiple inheritance.
2011-03-27 14:54:42 -05:00
Dustin C. Hatch 02bc0ea404 Export `webob.responce` objects in the `milla` namespace 2011-03-27 14:52:48 -05:00
Dustin C. Hatch ab4ca55620 Don't copy attributes that don't exist to partial instances
Classes don't have an `__name__` attribute, so when wrapping them in a `functools.partial` instance, don't try to copy it. Same goes for `__doc__`, but most objects should have that.
2011-03-27 14:52:17 -05:00
Dustin C. Hatch 6cf47a0339 Added a traversal dispatch method and cleaned up the router
* Created a dispatcher protocol for classes to implement for path resolution
* Implemented a traversal dispatcher
* Updated the router to implement the dispatcher protocol
* Added unit tests for both dispatchers
* Replaced the Controller class with an Application class
2011-03-26 23:35:31 -05:00
Dustin C. Hatch 5d4b1cf61f Allow string responses from controller methods 2011-03-26 17:29:14 -05:00
Dustin C. Hatch 3df4e4c9ba Fix `package_dir` keyword in `setup.py` 2011-03-18 19:45:18 -05:00
Dustin C. Hatch 7d355f3de5 Basic URL dispatch and controller functionality 2011-03-13 16:49:54 -05:00
Dustin C. Hatch 655f3a8a5d Added setup.py 2011-03-13 16:48:35 -05:00
Dustin C. Hatch cb00115c9d Started documentation 2011-03-13 16:48:16 -05:00
Dustin C. Hatch 5ee673957e Started the Milla project, a simple WSGI web framework 2011-03-13 16:46:42 -05:00