Seth House
5b8b555a8d
Updated docs for 302 -> 202 change
2013-01-18 11:22:21 -07:00
Seth House
ab396c358a
Changed response on /minions from 302 to 202
...
Arguably this is a more appropriate response code. In addition, the
original intent with the 302 was to supply the job ID in order to be
able to reference it later, however 3XX responses are not available via
the XHR object in browsers nor do they communicate intent.
2013-01-18 10:32:18 -07:00
Seth House
a7a8b9787d
Don't enable staticdir if static isn't set in the config
2013-01-15 15:18:58 -07:00
Seth House
80e7aa2025
Hack-ish fix for urlencoded data
2013-01-12 01:42:21 -07:00
Seth House
1c754a35d0
Fixed the login to use the processed request body
2013-01-12 00:43:05 -07:00
Seth House
9f1f5b9c17
Improved docs for the 'static' config setting
2013-01-11 16:19:21 -07:00
Seth House
271446b6e0
Added 'static' config setting to global opts
2013-01-11 16:15:30 -07:00
Seth House
c7607b98e4
Fixed synxtax error assembling a list for accept()
2013-01-11 15:35:40 -07:00
Seth House
ff2aab3d35
Added a few explanatory comments
2013-01-11 15:13:36 -07:00
Seth House
9a5dba0da6
wip: Removed HTML as an output option; if HTML is requested serve static files
2013-01-11 15:13:09 -07:00
Seth House
77c42d6cf4
Default to JSON if requested Content-Type is *.* or not supported
2013-01-11 10:23:51 -07:00
Seth House
70588f2f69
Loop over all lowstates, not just the first o_O
2013-01-11 10:08:58 -07:00
Seth House
b69bbd2654
Remove sys.doc from the /minions call
...
This is better done via the sys.doc runner so you don't get (likely)
duplicate docs back from each and every minion.
2013-01-11 10:08:58 -07:00
Seth House
fe0374de8e
Default session length to same as the Salt token
...
Fixes #31
2012-12-27 13:35:52 -07:00
Seth House
fc99a10344
Return the correct status code on auth errors from Salt
2012-12-23 20:07:00 -07:00
Seth House
f0b811ac23
Use regular JSON/YAML instead of Salt outputters
2012-12-23 00:26:50 -07:00
Seth House
08eeffb9a8
Removed Angular
2012-12-13 17:25:20 -07:00
Seth House
dbdf4e841f
Added RequireJS
2012-12-11 15:02:32 -07:00
Seth House
30cd7def62
Added more JS libs
...
This giant mess will be refactored out in short order.
2012-12-04 19:45:54 -07:00
Seth House
79b954697b
Use the HTML5 data- prefix
2012-12-04 19:45:35 -07:00
Seth House
adfe4ed8a4
Renamed salt-ui -> saltui
2012-12-03 19:09:33 -07:00
Seth House
c82188c33f
Removed empty whitespace
2012-12-01 21:15:05 -07:00
Seth House
b94eae835f
Fixed Accept -> Alternates header name
2012-11-30 13:01:38 -07:00
Seth House
ce32c36e17
Updated the root form params docs to reference general lowstate
...
Mentioning specific lowstate keys was too specific and the various
client interface docs should be linked instead.
2012-11-30 11:21:05 -07:00
Seth House
76eee0fee3
Added convenience URLs for minions and jobs
2012-11-30 11:21:05 -07:00
Seth House
fc0e6e8e86
Added better default for staticdir
...
The 'tmpl' directory is somewhat arbitrary, but it's a place on the
filesystem that we know will exist. If we ever put salt-ui static file
builds in this repo that will also be a good place for them.
Thanks to dthom91 for the bug report!
2012-11-29 20:09:20 -07:00
Seth House
86f2f7c709
Added a bunch of bootstrap javascript
2012-11-26 19:43:35 -07:00
Seth House
24f922c3c3
Moved to non-minified version
2012-11-21 17:05:09 -07:00
Seth House
682783cefc
Fixed lowdata -> lowstate typo
2012-11-21 11:52:14 -07:00
Seth House
a8af4e0c3f
Removed note about specific Content-Types
...
This information should be available in headers. Also we support HTML
now. :)
2012-11-21 11:49:17 -07:00
Seth House
e0a1593d8b
Changed all Content-Type processors to store Low State in request
...
This change makes our hypermedia_in processors consistent in the kind of
data they format (Low State) and where that data is placed
(request.lowstate).
2012-11-21 11:47:38 -07:00
Seth House
6af934c986
Removed unused import
2012-11-21 11:47:38 -07:00
Seth House
06cb3a5a9b
Updated HTML skeleton with req'd angular markup
2012-11-21 11:47:38 -07:00
Seth House
f48dca4610
Move config specific to the REST app into that handler
2012-11-20 20:12:01 -07:00
Seth House
76453826df
Added serving static media from a configurable directory
2012-11-20 20:12:00 -07:00
Seth House
addca3c47b
Document function/class params
2012-11-20 14:27:52 -07:00
Seth House
45bceaaf7b
Corrected casting 'arg' to a list
2012-11-20 11:10:57 -07:00
Seth House
23159e1244
Patch the auth token into the lowdata
2012-11-20 11:10:57 -07:00
Seth House
876788a9ee
Added a tool to patch the custom auth header into the cookie dict
...
This allows us to continue happily using CherryPy sessions.
2012-11-20 11:10:57 -07:00
Seth House
3d024801f6
Don't shoe-horn complicated low-data structures into urlencoded params
...
Fixes #24
2012-11-19 18:24:04 -07:00
Seth House
2df1ddd1e4
Bumped version to 0.7.1
2012-11-17 09:48:32 -07:00
Seth House
fa38b05726
Bumped version to 0.7.0
2012-11-16 11:40:17 -07:00
Seth House
ce85644f7e
Removed the rest_flask module
2012-11-16 11:36:05 -07:00
Seth House
4822123afd
Improved the APIClient docstrings
2012-11-16 11:18:04 -07:00
Seth House
5ad538d183
Added a (short) explanation page on Salt's client interfaces
2012-11-16 10:45:40 -07:00
Seth House
2c3f5d3b11
Fleshed out the remaining rest_cherrypy docstrings
2012-11-16 10:39:48 -07:00
Seth House
344f57c4f6
Fixed adding an actual wsgi app from switch from cheroot to cherrypy
2012-11-15 21:28:16 -07:00
Seth House
38fd2da0ec
Fixed ssl_adapter for switch from cheroot to cherrypy
2012-11-15 21:28:16 -07:00
Seth House
84f8889a1c
Moved custom tools out of the module namespace
2012-11-15 21:10:31 -07:00
Seth House
71fd69927a
Don't output traceback if debug is not set
2012-11-15 19:59:47 -07:00