Dustin C. Hatch
0ab44ed7ea
router: Correctly generate application-relative URLs
2011-06-15 19:12:00 -05:00
AdmiralNemo
b0b1080d07
Added a small CLI framework
2011-05-30 13:14:05 -05:00
Dustin C. Hatch
47cbd5c2d2
Patch requests that try to use POST "emulate" some other verb like PUT
2011-05-26 02:00:13 +00:00
Dustin C. Hatch
eeaf1a9afe
Fixed membership test magic method for PermissionContainer
2011-04-18 00:03:16 -05:00
Dustin C. Hatch
a07f6963aa
Added a decorator to easily specify allowed HTTP verbs for controller callables
2011-04-16 11:57:41 -05:00
Dustin C. Hatch
4c4ecbfe52
Respect the allowed methods of controller callables
2011-04-16 11:57:14 -05:00
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
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
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
7d355f3de5
Basic URL dispatch and controller functionality
2011-03-13 16:49:54 -05:00
Dustin C. Hatch
5ee673957e
Started the Milla project, a simple WSGI web framework
2011-03-13 16:46:42 -05:00