salt-ui
Deprecated. See the Halite project.
Deprecated in favor of Halite
License: BSD 2-Clause "Simplified" License
Deprecated. See the Halite project.
Hi,
I am wondering about implementing the "login routage" (and by that all routes) in salt-ui instead of salt-api. This technique could apply:
http://www.espeo.pl/2012/02/26/authentication-in-angularjs-application
The rest API doesn't really need a redirection to a "login.html" page and the tmpl directory could be removed for clarity sake.
There would be not much to be deleted on the cherrypy page, probably just https://github.com/saltstack/salt-api/blob/develop/saltapi/netapi/rest_cherrypy/__init__.py#L83-L93 and a couple of other related lines.
I can have a go and give you a pull request if you believe in the idea.
What do you think ?
Cheers
I currently have two minions up. When I try a simple test.ping
command multiple times in a row, sometimes I get one minion back as a result, sometimes I get both of them.
This erratic behavior is rather constant and easy to reproduce.
When I try a more complicated command (e.g disk.usage
) I only receive the reply back from a single minion.
I have run the same query with the salt-api and it seems to run without any glitches (with both test.ping
or disk.usage
):
curl -v http://myserver/minions -H "Accept: application/x-yaml" -H "X-Auth-Token: 1fdsfs159kdksmc61220be" -d client=local -d tgt='*' -d fun='test.ping'
curl -v http://myserver/jobs/20130612161218231909
What's going on ? Of course the query sequence is faster but I can't believe it is actually possible to retrieve a partial result from a jid
? Still I can see that the partial result is indeed retrieved in the chrome console and if I use the same jid
with the salt-api I do get the expected result (not the partial one) ...
I can hardly believe what I see. Could you confirm this bug ? Maybe it is related to the salt-master version and it has been fixed in 0.15.3. Though to me it is a bit too severe a flaw to be on the master side.
I am using salt 0.15.1 on the master from the CentOS EPEL stable repo, salt-api 0.8.1 and the latest salt-ui from github.
Thanks
Interface with the api
Display in-line help & validation for required/optional aguments once a user has selected a command to run. This will be useful for the execution component as well as the SLS editor component.
Reqs saltstack/salt#2956.
Requires saltstack/salt#3949
Add inline help for the input filter ala Github's fancy search box.
Salt API should send :
Then Salt-ui needs to ask for authentication if 401 and display a message if 403.
In addition, add viewing the inline docs for each function (since we prefetched those anyway) in a hover (click?) modal.
Hi,
I know this is pre-alpha but I just would like to run this. I have tried with an index.html file:
<!doctype html>
<html lang="en" ng-app="saltui">
<head>
<meta charset="utf-8">
<title>Salt-UI</title>
<script data-main="js/saltui.js" src="js/lib/require.js"></script>
</head>
<body>
<div ng-view></div>
</body>
</html>
Everything is loaded but nothing comes up ...
Thanks for your help
salt-ui has a basic login feature, but once logged in, you can't logout.
this will help testing with multiple users with different permissions.
We need this to be functional while waiting on #17 .
the minimum permission is grains.items
pass authoriziation in index.
Should this be two drop-downs (expr_type
& tgt
) or a single, dynamic text box that can auto-complete varying types of data. E.g., borrow the compound-matcher syntax so if something starts with G@ or L@ start auto-completing on grains or IDs.
running
salt-git
salt-api-git
and salt-ui-git
Port error: Could not establish connection. Receiving end does not exist. miscellaneous_bindings:235
chromeHidden.Port.dispatchOnDisconnect miscellaneous_bindings:235
Uncaught TypeError: Cannot set property 'templateSettings' of undefined templates.js:20
(anonymous function) templates.js:20
context.execCb require.js:1597
Module.check require.js:845
(anonymous function) require.js:1083
(anonymous function) require.js:130
(anonymous function) require.js:1126
each require.js:58
Module.emit require.js:1125
Module.check require.js:899
Module.enable require.js:1113
Module.init require.js:758
callGetModule require.js:1140
context.completeLoad require.js:1511
context.onScriptLoad require.js:1618
GET http://localhost:8000/js/lib/asevented.js?bust=1364924008961 404 (Not Found) require.js:1836
req.load require.js:1836
context.load require.js:1586
Module.load require.js:804
Module.fetch require.js:794
Module.check require.js:824
Module.enable require.js:1113
context.enable require.js:1458
(anonymous function) require.js:1098
(anonymous function) require.js:130
each require.js:58
Module.enable require.js:1060
Module.init require.js:758
callGetModule require.js:1140
context.completeLoad require.js:1491
context.onScriptLoad require.js:1618
Uncaught Error: Script error
http://requirejs.org/docs/errors.html#scripterror require.js:160
makeError require.js:160
context.onScriptError
missing asevented.js in js/lib.
and missing config properties I think.
The minion detail component should provide a way to view the loaded minion grains. (As well as set new custom grains since that's easily done as of Salt 0.12.)
Installing as a Python package will allow:
Run local client executions. Return the JID.
Use output from the status execution module.
The exec-docs component must be tweaked to key off a custom event instead of watching the model. Actually, it should be pulled off the template entirely and only show on-demand while typing as an auto-complete popup.
I would like know if you have a release date for a usable version of salt-ui ?
Thanks
Makefile
in js/lib
should read like this:
# Download copies of all third-party libs and check hashes
all:
-curl -LK libs.txt
-md5sum --check --quiet md5sums.txt
clean:
-rm *.js
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.