Commit Graph

37 Commits (6154f8b6f8181005d022ee6e38cb8fb26a33d399)

Author SHA1 Message Date
Dustin C. Hatch 6154f8b6f8 Fix favicon (fixes #1)
* Include milla.ico in package_data in setup.py
* Use pkg_resources API to load icon instead of milla.__file__
* Allow caller to specify icon content type
2012-10-16 19:59:35 -05:00
Dustin C. Hatch dd2634224c setup: remove useless setup.cfg 2012-10-16 19:55:10 -05:00
Dustin C. Hatch d8bf08df33 doc: bump version 2012-10-16 19:54:43 -05:00
Dustin C. Hatch cf6030f776 Update .hgignore 2012-10-16 19:54:31 -05:00
Dustin C. Hatch f56ca0afab setup: Update URL and classifiers 2011-07-10 23:10:48 -05:00
Dustin C. Hatch 0ab44ed7ea router: Correctly generate application-relative URLs 2011-06-15 19:12:00 -05:00
Dustin C. Hatch 648623772c docs: Change to agogo Shpinx theme 2011-06-04 13:39:41 -05:00
Dustin C. Hatch aeac88c5da setup: Update install_requires
* Remove WebError (not needed)
* Make ArgParse dependent on interpreter version
2011-06-04 13:38:26 -05:00
Dustin C. Hatch f8ef1ee7dc Bump package version 2011-05-30 21:32:59 -05:00
Dustin C. Hatch 39106d4d92 Merge with 7ce7ac4630e72a16cadded867950d3d91e03b31f 2011-05-30 19:59:17 -05:00
Dustin C. Hatch e0b5f5409f Added tag 0.1 for changeset b3553fb88649 2011-05-30 19:58:52 -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 b13bbe9abb Bump PyDev project to grammar version 2.7 2011-05-24 03:28:08 +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 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