Commit Graph

20832 Commits

Author SHA1 Message Date
Bill Nottingham
ed0bb127e8 Don't use the rsa python lib. 2019-04-02 15:48:30 -04:00
Jeff Bradberry
cac48e7cfb Updated IsolatedManager to take a callback that captures the remote command 2019-04-02 15:40:56 -04:00
softwarefactory-project-zuul[bot]
96bd0f9d9e Merge pull request #3573 from AlanCoding/custom_empty_default
Change default to allow empty groups from custom sources

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-02 17:54:54 +00:00
Keith Grant
bc7472f3f1 remove unused parameter 2019-04-02 13:54:26 -04:00
Keith Grant
5b2f00b978 make Enter key navigate to next tab in launch modal 2019-04-02 13:26:31 -04:00
softwarefactory-project-zuul[bot]
3f73176ef2 Merge pull request #3098 from ansible/credential_plugins
Credential Plugins

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-02 16:19:00 +00:00
Jake McDermott
d987c6e3f7 mention usage with custom credential types in credential plugins doc 2019-04-02 11:24:59 -04:00
Jake McDermott
5d11400f6c replace unlinked fields before updating input sources
With credential type changes for linked credentials disabled, we can
update the unlinked credential fields first. If an error occurs when
updating the unlinked fields, no input sources will be changed.
2019-04-02 11:24:55 -04:00
Jake McDermott
6f43f223b2 update e2e credential checks 2019-04-02 11:24:52 -04:00
Jake McDermott
6b87241099 render non-editable linked credentials
We still want to show linked credentials even when a field is
non-editable.
2019-04-02 11:24:48 -04:00
Jake McDermott
0f6615d9cd make linked fields look disabled when disabled 2019-04-02 11:24:44 -04:00
Jake McDermott
9b55fa61de fix required field entry for object_query 2019-04-02 11:24:41 -04:00
Jake McDermott
165405ad3f include externally sourced input fields for injection 2019-04-02 11:24:36 -04:00
Jake McDermott
7ca92e4c1e prevent input source changes without use role on source cred
To update an input source, the user must have admin access
to the target credential and at least use role on the source
credential.
2019-04-02 11:24:32 -04:00
Jake McDermott
8c107a5fa8 prevent overflow in plugin test notifications 2019-04-02 11:24:14 -04:00
Jake McDermott
8b35ac89fc add timeouts to plugin backends 2019-04-02 11:24:11 -04:00
Jake McDermott
b90f9ac401 remove linked fields from validation loop
All linked fields are initially valid. All unlinked fields
are initially valid.
2019-04-02 11:24:07 -04:00
Jake McDermott
7a093de9fd add workaround for null cloud credential kind summary fields
job details summary field credentials have `null` for the
`kind` field so we can't map it to icon names. To work around
this, we now check the value of the `cloud` field when generating
the icon to use.
2019-04-02 11:24:04 -04:00
Jake McDermott
259fcdc5df don't initialize linked textarea fields as invalid 2019-04-02 11:24:00 -04:00
Jake McDermott
aa4575c92e update validation when input source is set 2019-04-02 11:23:57 -04:00
Jake McDermott
f0f4f487fb disable input source lookups when they can't be changed
If a user doesn't have permission to change an input field, we disable
the input field.
2019-04-02 11:23:53 -04:00
Jake McDermott
c4a79a778f add delete to input source user_capabilities 2019-04-02 11:23:50 -04:00
Jake McDermott
f611d4275f add use to credential user_capabilities 2019-04-02 11:23:46 -04:00
Jake McDermott
8c3dfe8655 remove input value arg from plugin example
The plugin backends no longer expect an input value as an argument
so we're removing it from the documented examples.
2019-04-02 11:23:42 -04:00
Jake McDermott
f9e081046c add object query fields 2019-04-02 11:23:39 -04:00
Jake McDermott
da9abc087e don't ignore choices param in input config
We always want to use choices if they're available in the input config
from the api. An input can sometimes have no type. Usually we'd throw an
error but we can still load a component if it defines a set of choices
to use instead of a type.
2019-04-02 11:23:35 -04:00
Jake McDermott
956f588fd8 generalize secret textarea hint 2019-04-02 11:23:28 -04:00
Jake McDermott
cb238c1f24 read cert from memory
Certificate data lives in the db. We're using a fifo here so we can avoid writing
it to disk when making the http request.
2019-04-02 11:23:24 -04:00
Jake McDermott
3dee9f0512 add plugin for cyberark aim 2019-04-02 11:23:20 -04:00
Jake McDermott
261a635005 remove non-matches from input source arrays 2019-04-02 11:23:17 -04:00
Jake McDermott
4f13592430 hide drag-and-drop textarea hints when showing input value as tag
You can't drag and drop or enter text when a text area is displaying its value
as a tag, so we hide the hint to avoid incorrectly suggesting that you can.
2019-04-02 11:23:13 -04:00
Jake McDermott
73c9d1b7a9 remove bootstrap fade from dialog component
This was breaking the fixed positioning of help popovers for form inputs
nested within the dialog so I'm replacing it.
2019-04-02 11:23:10 -04:00
Jake McDermott
8180a2060a rename at-easy-modal to at-dialog 2019-04-02 11:23:06 -04:00
Jake McDermott
dfaf19cdf3 use default action button class when fill and color props aren't given 2019-04-02 11:23:02 -04:00
Jake McDermott
ea9ed31f9d refactor metadata conversion function to use reduce 2019-04-02 11:22:59 -04:00
Jake McDermott
05226333ff move tag max height declaration to input tag wrapper
We don't want to apply max height to all tags, just the ones we embed
within text/textarea input fields.
2019-04-02 11:22:55 -04:00
Jake McDermott
5b79843390 use a shared variable for layout declarations 2019-04-02 11:22:51 -04:00
Jake McDermott
1eda939ce2 add tips for secret controls 2019-04-02 11:22:48 -04:00
Jake McDermott
43456d13c4 don't replace input source unless changed 2019-04-02 11:22:44 -04:00
Jake McDermott
215c3c87e5 enable input source linking for secret textarea fields 2019-04-02 11:22:41 -04:00
Jake McDermott
957804e22a enable input source linking for textarea fields 2019-04-02 11:22:37 -04:00
Jake McDermott
e14f17687c disable prompt-on-launch when input source is set 2019-04-02 11:22:34 -04:00
Jake McDermott
e0d61cfb8e enable input source linking for password fields 2019-04-02 11:22:30 -04:00
Jake McDermott
1344706095 add wrapper for text input tags 2019-04-02 11:22:27 -04:00
Jake McDermott
5c855b5bd1 add selected credential tray to input source lookup 2019-04-02 11:22:23 -04:00
Jake McDermott
6d0f2948aa don't show lookup until data is fetched 2019-04-02 11:22:20 -04:00
Jake McDermott
736bd2ed67 add validation for required values and metadata fields 2019-04-02 11:22:16 -04:00
Jake McDermott
47f31b41fb combine add and edit controllers 2019-04-02 11:22:12 -04:00
Jake McDermott
61eeb630f8 move org edit permission check to route resolve 2019-04-02 11:22:08 -04:00
Jake McDermott
7f55a1da0d move input value initialization to models 2019-04-02 11:22:05 -04:00