Coder Social home page Coder Social logo

salt-ui's Introduction

salt-ui

Deprecated. See the Halite project.

salt-ui's People

Contributors

faulkner avatar pierrer avatar thatch45 avatar torhve avatar utahdave avatar vmwghbot avatar whiteinge avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

salt-ui's Issues

[Suggestion] Removing login template (html) from salt-api ?

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

erratic results with salt 0.15.1 (simple test.ping or disk.usage)

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

Component: arguments

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.

How can we have a go with it ?

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

add login/logout option

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.

Component: targeting

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.

multiple errors running salt-ui

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.

Component: minion details

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.)

Add setup.py installer

Installing as a Python package will allow:

  • Distributing production builds (concat & minified) of the JS/CSS files and any production optimizations for the other static assets.
  • Allow salt-api to programmatically detect salt-ui installation, location, and to verify on the version number.
  • Give flexibility to override salt-ui assets by placing files in the normal /src/salt directory.

Fix the documentation auto-completion

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.

curl does not follow redirects

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.