mirror of
https://github.com/ansible/awx.git
synced 2026-07-12 00:44:36 -02:30
Merge remote-tracking branch 'origin/master' into auditlog
* origin/master: AC-637 Credential now requires scm_key_unlock when saving encrypted ssh_key_data. AC-626 Removed support for prompting for password and ssh_key_unlock for scm/cloud credentials. AC-613 Change rackspace to rax for inventory source field value. AC-613 Change rackspace to rax for inventory source field value. AC-624 Fix options docs for project update view. AC-632 Fix escaping for ansible-playbook command line when also using ssh-agent. Update CONTRIBUTING.md AC-630 Expose cloud_credentials field for job template and job. AC-641 Added pattern to respond to key unlock prompt for project update. Updated all vendored third-party packages. AC-636 Fix existing projects with scm_type=null to always use empty string. Update validation and tests to ensure None gets automatically coerced to an empty string on saving a project. AC-633 js error fixed. AC-633 fixed a sort of unrelated js error. The capitalize filter directive attempted to act on a 'null' input error. Added a test to ignore empty/null input. AC-633 Fixed 'hast' typo. AC-617 changed callback generation icon to a magic wand, which will hopefully satiate jlaska. AC-627 Fixed password/ssh_password collision in Credentials.js form. This was also fixed in auditlog branch. AC-628 applied credential changes made in add controller to edit controller so that credential/cloud_credential lookups display context-aware credential lists. Moved credentials in tab order. It now follows teams and precedes projects. Based on a suggestion from jlaska. AC-609 Fixed issue with help button not displaying correctly on 'select' pages where user can pick an existing object (i.e. users, credentials, etc) to add to a parent object. Conflicts: awx/api/serializers.py awx/main/migrations/0025_v14_changes.py
This commit is contained in:
@@ -501,6 +501,7 @@ function JobTemplatesEdit ($scope, $rootScope, $compile, $location, $log, $route
|
||||
});
|
||||
|
||||
LookUpInit({
|
||||
url: GetBasePath('credentials') + '?kind=ssh',
|
||||
scope: scope,
|
||||
form: form,
|
||||
current_item: data.credential,
|
||||
@@ -508,11 +509,19 @@ function JobTemplatesEdit ($scope, $rootScope, $compile, $location, $log, $route
|
||||
field: 'credential'
|
||||
});
|
||||
|
||||
// Clone the CredentialList object for use with cloud_credential. Cloning
|
||||
// and changing properties to avoid collision.
|
||||
var CloudCredentialList = {};
|
||||
jQuery.extend(true, CloudCredentialList, CredentialList);
|
||||
CloudCredentialList.name = 'cloudcredentials',
|
||||
CloudCredentialList.iterator = 'cloudcredential',
|
||||
|
||||
LookUpInit({
|
||||
url: GetBasePath('credentials') + '?cloud=true',
|
||||
scope: scope,
|
||||
form: form,
|
||||
current_item: data.cloud_credential,
|
||||
list: CredentialList,
|
||||
list: CloudCredentialList,
|
||||
field: 'cloud_credential'
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user