Commit Graph

307 Commits

Author SHA1 Message Date
Seth House
124510e218 Added Sphinx docs for rest_wsgi netapi module 2013-04-12 23:57:03 -06:00
Seth House
678f84fe91 Added deployment docs to main doc page 2013-04-12 23:57:03 -06:00
Seth House
de92298f22 Clarified deployment options 2013-04-12 23:57:03 -06:00
Seth House
2255ea4cc4 Added documentation for the rest_wsgi netapi module 2013-04-12 23:57:03 -06:00
Seth House
ca8b3598e5 Added simplistic no-dep REST module using bare wsgi
Fixes #73
2013-04-12 23:56:53 -06:00
Seth House
7740c55f8a Moved importing the local app.py module into the start() function
Having this import at the module-level was breaking all the
user-friendly error checking in the __virtual__() function when CherryPy
isn't installed.

Fixes #71
2013-04-10 13:17:43 -06:00
Sean Channel
57a2a0a3b0 Merge pull request #72 from seanchannel/develop
you need a working package, bro! :) hope you don't mind I proceed here.
2013-04-10 12:04:29 -07:00
Sean Channel
5b3fb32755 recommend CherryPy3 instead of require 2013-04-10 11:58:32 -07:00
Sean Channel
72b738b23d version bump 2013-04-10 08:42:41 -07:00
Sean Channel
e074f61985 add upstart 2013-04-10 08:42:26 -07:00
Sean Channel
9d587af806 require cherrypy and saltmaster 2013-04-10 08:41:50 -07:00
Seth House
2559738c74 Added openSUSE package instructions 2013-04-09 15:53:02 -06:00
Seth House
0fc1b3af6c Fixed links to rest_cherrypy 2013-04-09 08:44:17 -06:00
Seth House
59b3435c20 Updated link on docs home to describe installation not development 2013-04-09 08:40:12 -06:00
Seth House
c402c533eb Added installation instructions for packages
Fixes #47
2013-04-09 08:38:18 -06:00
Seth House
b03531744d Merge pull request #68 from holmboe/docfix-logout-url
Fix logout URL in release notes.
2013-04-09 07:03:25 -07:00
Henrik Holmboe
7c0f4047d5 Fix logout URL in release notes. 2013-04-09 12:18:57 +02:00
Seth House
1275a352a4 Add default if `debug` is not set in config 2013-04-08 19:59:16 -06:00
Seth House
99614987c6 Added requirements.txt to MANIFEST.in 2013-04-08 19:48:54 -06:00
Seth House
1d32045752 Added release notes for 0.8.0 2013-04-08 19:39:51 -06:00
Seth House
e53dbb216d Bumped version number to 0.8.0 2013-04-08 19:36:09 -06:00
Seth House
c6bf1898f1 Fixed docstring for consistency with the actual file name 2013-04-08 19:34:21 -06:00
Seth House
acb925e0b2 Use yaml.safe_dump instead of yaml.dump to coerce Python objects
This was outputting unicode strings as Python objects.
2013-04-08 17:50:47 -06:00
Seth House
e93ba2bc42 Added salt import; removed unused salt.output import 2013-04-03 12:24:02 -06:00
Seth House
d28fd3fbd0 Moved loading the auth module from the method to the class __init__
Refs #61
2013-04-03 12:22:21 -06:00
Seth House
f547b94a84 Content-Length value is a string 2013-03-28 14:17:37 -06:00
Seth House
254c5b6a2f Replace the current session after expiring it 2013-03-28 14:06:42 -06:00
Seth House
565bafaf80 Added decorator to optionally call the Content-Type processors
The custom Content-Type processors did not respect CherryPy's flag to
optionally not process the request body.
2013-03-28 12:52:14 -06:00
Seth House
0223fdf928 Do not process the request body if Content-Length is empty or missing 2013-03-28 12:52:14 -06:00
Seth House
70fe8b3a70 Added decorator to optionally call the Content-Type processors
The custom Content-Type processors did not respect CherryPy's flag to
optionally not process the request body.
2013-03-27 16:32:32 -06:00
Seth House
69a720b31b Remove explicitly adding 'static' into global opts
The static setting will get added when updating the global opts with the
api opts dictionary *if* that setting has actually been set.

Fixes #66
2013-03-25 11:27:18 -06:00
Seth House
dcdaea2d69 Login return should be contained in a list for consistency 2013-03-23 16:41:48 -06:00
Seth House
ca946b26c6 Pulled CherryPy into opt_requirements.txt 2013-03-21 09:28:53 -06:00
Seth House
84be9279f0 Merge pull request #63 from holmboe/requirements
Add requirements for install and tests.
2013-03-21 08:27:20 -07:00
Seth House
8d5ea749cd Added /run to docs 2013-03-20 19:22:30 -06:00
Seth House
f0e83e7e42 Removed stray debugging statement 2013-03-20 19:21:04 -06:00
Seth House
6c66afb91c Conditionally add 'token' to the lowstate if we have one to add 2013-03-20 19:20:20 -06:00
Seth House
33302ceb0f Add convenience URL to bypass CherryPy session handling
Fixes #65
2013-03-20 19:20:20 -06:00
Seth House
b7e3c1755e Added a central check so that Salt's eauth is always run 2013-03-20 19:20:19 -06:00
Seth House
59d39ee638 Added versionadded to Logout docs 2013-03-20 17:14:08 -06:00
Seth House
cd9310f8bb Added Logout view to docs 2013-03-20 17:13:05 -06:00
Seth House
1766c2d175 Added /logout URL
Fixes #64
2013-03-20 15:04:51 -06:00
Seth House
72c06b3921 Added note about changed /login behavior 2013-03-20 13:47:06 -06:00
Seth House
a63c24289f Be consistent with 'result' key in return data 2013-03-20 13:42:47 -06:00
Seth House
32e7e60da4 Output the full traceback and not just the exception message 2013-03-20 13:36:18 -06:00
Seth House
057fdaa40d Merge branch 'no-login-redirect' into develop 2013-03-20 13:12:10 -06:00
Seth House
d9bd58f1e1 Updated docstring for /login 2013-03-20 13:11:39 -06:00
Seth House
b57b416ece Replace Login 302 with a regular return containing useful info
Fixes #58
2013-03-20 13:10:14 -06:00
Seth House
0ae20409bb Added seealso links to LocalClient docs for both 'local*' client docs 2013-03-20 09:37:59 -06:00
Seth House
a3bad60bbe Minor rewording; added link to Salt's Python API docs 2013-03-20 09:36:59 -06:00