aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/command/serve.py
Commit message (Collapse)AuthorAgeFilesLines
* Ran update-copyright.py.W. Trevor King2012-02-161-10/+10
|
* Run update_copyright.py.W. Trevor King2011-05-251-1/+2
|
* Fix test_log_request (broken by commit 36699d82).W. Trevor King2011-05-111-1/+1
|
* Add summary line to the Serve command.W. Trevor King2011-05-011-1/+6
| | | | Thanks to Christian Heinrich for pointing this out.
* Add --notify to `be serve`.W. Trevor King2011-04-161-3/+51
|
* Bumped to version 1.0.01.0.0Chris Ball2011-01-081-1/+1
|
* Ran update_copyright.pyW. Trevor King2010-06-221-11/+12
|
* Fixed docstrings so only Sphinx errors are "autosummary" and "missing attribute"W. Trevor King2010-02-071-49/+94
|
* Use numpydoc and generate-libbe-txt.py to autogenerate API documentationW. Trevor King2010-02-061-3/+0
|
* Streamlined libbe.command.serve, adding --auth option, #/bea/c1b#, and testing.W. Trevor King2010-01-271-176/+735
|
* Added --ssl to `be serve` using cherrypy.wsgiserver.W. Trevor King2010-01-251-61/+211
|
* Convert libbe.command.serve to WSGI for increased flexibility.W. Trevor King2010-01-251-256/+271
| | | | | | | The Python Web Server Gateway Interface (WSGI) is a simple and universal interface between web servers and web applications or frameworks. See PEP 333 for details. http://www.python.org/dev/peps/pep-0333/
* Adjust command.serve.Serve doctest to clarify remaining test failures.W. Trevor King2010-01-191-1/+4
| | | | | | | | | | | | | | | | | Current test output $ python test.py libbe ... FAILED (failures=1, errors=3) All failures and errors due to unimplemented functionality Errors: * Darcs._vcs_isdir() not implemented (for Darcs <= 2.3.1) * Arch._vcs_path() not implemented * Arch._vcs_changed() not implemented Failures: * command.serve.Serve tests not implemented
* Add .changed support to HTTP storage backend.W. Trevor King2010-01-181-1/+20
| | | | Also work around urlparse.parse_qs location in Python <= 2.5.
* Add ancestors support to HTTP storageW. Trevor King2010-01-181-1/+18
|
* Fixed update_copyright.py's subproc import and updated copyrightsW. Trevor King2010-01-011-4/+1
|
* Serve.handle_*() now raise _HandlerError so the .do_*() methods know.W. Trevor King2010-01-011-8/+17
| | | | | Before there wasn't a good way to tell if the handler had experienced an error, or just didn't want to return anything.
* Fixed commit handling in commands.serve and storage.httpW. Trevor King2010-01-011-3/+7
|
* Use more kwargs in libbe.command.serveW. Trevor King2010-01-011-11/+10
| | | | | | | | kwargs make things easier to maintain. Also make sure the .handle_*() methods return two items (content,ctype) even when both are None.
* Improved POST and error handling in `be serve`W. Trevor King2010-01-011-22/+43
| | | | | | | | | | | | | | POST handling: Drop the cgi.FieldStorage() in favor of the old urlparse.parse_qs(). We need a dictionary, which FieldStorage is not. However, I added .read_post_data() since my old self.rfile.read() was hanging. The read_post_data() implementation comes from the FieldStorage.__init__(). Error handling: wrap .handle_*() blocks in try/except to handle Storage errors
* Improved POST parsing, fixed Serve._long_help(), added --read-only.W. Trevor King2010-01-011-49/+40
| | | | | POST parsing via cgi.FieldStorage from Doug Hellmann's http://blog.doughellmann.com/2007/12/pymotw-basehttpserver.html
* Added libbe.command.serve and libbe.storage.http for HTTP backend.W. Trevor King2010-01-011-0/+346
Now the following works: some-BE-dir$ ./be serve $ ./be --repo http://localhost:8000 list I haven't come up with a clean idea for testing this yet, so other commands may be broken, but once we get the testing working, it shouldn't be too hard to get everything working over HTTP :).