Commit Graph

271 Commits

Author SHA1 Message Date
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
Seth House
1013a08994 Added local_async client docs 2013-03-20 09:19:59 -06:00
Seth House
6006d771ea Fixed inconsistent workding 2013-03-18 17:13:46 -06:00
Seth House
f1dd5579b1 Merge pull request #62 from holmboe/test-suite
Add a test suite.
2013-03-18 13:09:33 -07:00
Henrik Holmboe
278d66edf5 Add a test suite.
More information in maillist thread:
https://groups.google.com/d/msg/salt-users/JIZoC4wVVag/_yAhZuD_c6sJ
2013-03-16 21:14:26 +01:00
Seth House
828ddd67d1 Merge pull request #60 from kaptk2/develop
Updated file to be conform to Fedora packaging standards.
2013-03-12 12:51:54 -07:00
Andrew Niemantsverdriet
0bb126e977 Updated file to be conform to Fedora packaging standards. 2013-03-12 13:47:01 -06:00
Seth House
5f9ff43a79 Merge pull request #57 from holmboe/develop
Ignore PyCharm files.
2013-03-11 08:58:24 -07:00
Henrik Holmboe
f8b50ca950 Ignore PyCharm files. 2013-03-11 13:52:20 +01:00
Seth House
d6c9b8c138 Added stand-alone WSGI app 2013-03-05 09:39:36 -07:00
Seth House
6d703c9575 Factor out starting the CherryPy server 2013-03-05 09:39:36 -07:00
Seth House
a4cd38b54c Rename CherryPy app to app.py
This move is to facilitate being able to start the WSGI app with other
WSGI-compliant servers.
2013-03-04 17:38:32 -07:00
Seth House
109f38bd3d Added more docs; clarified usage of the REST module 2013-03-04 15:18:47 -07:00
Seth House
b039a45d93 Added explicit heading so the heading shows up in TOC entries 2013-03-04 15:17:52 -07:00
Seth House
d410e1611f Formatting / clarification cleanups 2013-03-04 15:17:52 -07:00
Seth House
77c2987735 Merge pull request #53 from s0undt3ch/issues/52
Provide `salt-api`'s configuration defaults. Refs #52.
2013-03-04 10:24:01 -08:00
Pedro Algarvio
eb77df1e74 Provide salt-api's configuration defaults. Refs #52.
We now override the necessary keys to adapt the salt-master default configuration to salt-api and feed that to `salt.config.master_config`.
There no need to do our own `include` code since that's also done in `salt.config.master_config`.
2013-03-04 17:26:35 +00:00
Seth House
d649bd263f Added logging output if the rest_cherrypy module is partially configured
Added minimum version check for CherryPy.

Fixes #38
Fixes #48
2013-02-27 14:29:45 -07:00
Seth House
7834f58c26 Merge pull request #51 from s0undt3ch/hotfix/make-logfile-logging-work
Hotfix/make logfile logging work
2013-02-27 10:47:34 -08:00
Pedro Algarvio
3734f1440e Update cli to use the new MergeConfigMixIn.
The purpose of the above MixIn is to override the options on the configuration file with the options passed from the console.
2013-02-27 12:29:13 +00:00
Pedro Algarvio
6f34684d21 Add some logging to let the users know what's happening. Minor PEP-8. 2013-02-27 12:22:07 +00:00
Seth House
f17e818ddd Merge pull request #45 from kaptk2/develop
Changed naming to conform to standard
2013-02-20 13:05:46 -08:00
Andrew Niemantsverdriet
de1e9fc7a7 Changed naming to conform to standard 2013-02-20 11:57:38 -07:00
Seth House
257d449756 Merge pull request #44 from kaptk2/develop
Added salt-api.spec file
2013-02-19 22:37:38 -08:00
Andrew Niemantsverdriet
2fc86183b4 Moved the salt-api.spec file to the proper location. 2013-02-19 11:37:41 -07:00
Andrew Niemantsverdriet
68e3853361 Added RPM spec file 2013-02-19 10:49:40 -07:00
Seth House
9ec2a85277 Merge pull request #43 from kaptk2/develop
Added the service.d file
2013-02-13 10:20:38 -08:00
Andrew Niemantsverdriet
b3b5f100a3 Added the service.d file 2013-02-13 11:11:20 -07:00
Seth House
10ab1554f3 Merge pull request #42 from holmboe/init-script
Add an init script
2013-02-13 08:35:45 -08:00
Henrik Holmboe
61adf94187 Fix the LSB header
I got complaints from insserv that the LSB header was not compliant. It was
missing required keywords, which must be there even if they are empty.
2013-02-13 16:36:15 +01:00
Henrik Holmboe
97335f61f1 Add an init script
This is a straight adaption of the salt-master init script (plus my recent
patch to it in holmboe/salt@464ca9dd1f).
2013-02-13 15:43:10 +01:00
Seth House
d96944fee0 Unabbreviated "external auth" 2013-02-12 15:08:43 -07:00
Seth House
cd552c9cb6 Minor rST reformatting & cross-referencing 2013-02-12 15:05:00 -07:00
Seth House
c14eece991 Added the quickstart doc to the TOC and main page 2013-02-12 14:59:00 -07:00
Seth House
4498e4aa22 Merge pull request #41 from kaptk2/develop
Inital version of a quickstart guide for salt-api
2013-02-12 13:43:30 -08:00