1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 09:51:09 +03:00
Commit Graph

12969 Commits

Author SHA1 Message Date
Jared Tabor
ff46e46b69 submitting changes after PR feedback
adding translate directive to partial, performing a lookup on credential_types
for the credential on the project page, and some other small changes
2017-06-05 13:23:10 -07:00
Michael Abashian
b033319fff Fixed bug with REVERT button display 2017-06-05 15:41:42 -04:00
Michael Abashian
068473bdac Added the ability to select extra credentials when launching a job template with ask_extra_credentials_on_launch is true. Added extra credentials to job results panel 2017-06-05 15:20:40 -04:00
Ryan Petrello
a706440ff6 Merge pull request #6407 from ryanpetrello/fix-6385
improve a few permission-related errors for CredentialType update/delete
2017-06-05 15:20:26 -04:00
Chris Meyers
beabe62970 Merge pull request #6457 from chrismeyersfsu/fix-6452
better insights_credential reverse relationship
2017-06-05 15:07:44 -04:00
Michael Abashian
b9fea196ca Remove sorting on completed jobs status 2017-06-05 14:47:01 -04:00
Chris Meyers
0d56f42c83 better insights_credential reverse relationship
* From an insights cred, access all related inventories via
cred.insights_inventories rather than cred.insights_credential
* This fixes auto-attaching insights_credential to credential summary
fields. Fixes by NOT attaching them. That is the desired behavior.
2017-06-05 13:48:41 -04:00
Michael Abashian
5058b0d78d Reduced options requests on inventory source form 2017-06-05 13:44:58 -04:00
Jake McDermott
e1a0eec29f fix request urls used for settings view (#6451) 2017-06-05 10:41:27 -04:00
Jared Tabor
38ce6c7226 Insights Cred on Project form, for insights project 2017-06-02 10:42:13 -07:00
Jared Tabor
bf52141f4f adding "Remediate Inventory" button to inventory 2017-06-02 10:42:13 -07:00
Jared Tabor
4a5e8eeb96 updates after feedback from ian hands
more feedback from ian hands

setting insights credential name

if it exists for an inventory
2017-06-02 10:42:08 -07:00
Jared Tabor
e2abbafa1e adding insights row icon per host
as well as hide the insights tab if a host is not an insights
host.
2017-06-02 10:42:07 -07:00
Jared Tabor
289835f01b adding insights credential to inventory form
in order to create an insights inventory
2017-06-02 10:42:07 -07:00
Jared Tabor
15a739687f Insights Dashboard
more insights

changes for responsiveness

severity and icons

various insights changes to dashboard

changing fake data
2017-06-02 10:41:58 -07:00
Aaron Tan
ceab33df80 Prevent generating named URL from non-existing endpoints. 2017-06-02 12:25:37 -04:00
Ryan Petrello
2cb296d28b Merge pull request #6408 from ryanpetrello/fix-6406
clarify valid CredentialType field types
2017-06-02 10:04:04 -04:00
Ryan Petrello
af457ad8eb clarify valid CredentialType field types
almost all of our current credential values are strings, but under the
v1 Credential model, `authorize` is boolean

additionally, if a field is specified with no type, fall back to
`string` as a default (this is almost always what people creating custom
types will want)

see: #6406
2017-06-01 13:23:51 -04:00
Ryan Petrello
f05a97e4ff Merge pull request #6416 from ryanpetrello/fix-6414
fix a 500 error in `/api/v1/credentials/` backwards compat
2017-06-01 12:57:53 -04:00
Ryan Petrello
fd4b86349c fix a 500 error in /api/v1/credentials/ backwards compat
see: #6414
2017-06-01 11:26:18 -04:00
Ryan Petrello
71dda544ab fix a bug in /api/v1/credential detection of Vault payloads
see: #6390
2017-06-01 10:18:43 -04:00
Ryan Petrello
e7d1e2d3a4 Merge pull request #6368 from ryanpetrello/fix-6363
resolve a few Credential.inputs validation issues
2017-06-01 10:09:58 -04:00
Ryan Petrello
e0a629db58 improve error formatting for jsonschema failures on Credential.inputs
this provides error messages keyed by input fields, so that instead of
e.g.,

{
    'inputs': ['Invalid certificate or key: u'XYZ']
}

...you get:

{
    'inputs': {
        'ssh_key_data': ['Invalid certificate or key: u'XYZ']
    }
}

Includes /api/v1/ compatability for error message format.  Requests to
/api/v1/ will get:

{'ssh_key_data': ['Invalid certificate or key: u'XYZ']}
2017-06-01 09:48:42 -04:00
Ryan Petrello
98fa654be2 enforce dict for credential API input payloads
see: #6363
2017-06-01 09:19:21 -04:00
Chris Meyers
eb6e598f6c add insights_credential to summary fields on inventory 2017-06-01 08:47:21 -04:00
Ryan Petrello
16f4eb4532 Merge pull request #6403 from ryanpetrello/fix-6380
OpenStack CredentialType needs a `domain` input field
2017-05-31 17:36:51 -04:00
Ryan Petrello
b0c8d55238 Merge pull request #6402 from ryanpetrello/fix-6372
fix incorrect AWS Credential Type labels
2017-05-31 17:36:33 -04:00
Ryan Petrello
995683c9b2 Merge pull request #6401 from ryanpetrello/fix-6394
add more context for default extra_credentials to the JT launch endpoint
2017-05-31 17:36:15 -04:00
Aaron Tan
a993025e0d Merge pull request #6053 from jangsutsr/named_url
Named URL
2017-05-31 17:02:42 -04:00
Ryan Petrello
462b2c6696 improve a few permission-related errors for CredentialType update/delete
see: #6385
2017-05-31 15:48:34 -04:00
Ryan Petrello
23a1c94d38 OpenStack CredentialType needs a domain input field
see: #6380
2017-05-31 13:44:38 -04:00
Ryan Petrello
2d0ae56d94 fix incorrect AWS Credential Type labels
see: #6372
2017-05-31 13:29:22 -04:00
Ryan Petrello
34b4270b1c add more context for default extra_credentials to the JT launch endpoint
see: #6394
2017-05-31 13:22:46 -04:00
Aaron Tan
5af5f50797 Merge pull request #6397 from jangsutsr/6347_fix_usage_of_tacacs_api
Fix tacacs API usage
2017-05-31 13:11:28 -04:00
Aaron Tan
f25391fe86 Implement named URL feature. 2017-05-31 12:09:54 -04:00
Aaron Tan
3094527759 Fix usage of tacacs API 2017-05-31 11:49:03 -04:00
Aaron Tan
518baee5ba Merge pull request #6389 from jangsutsr/6343_add_url_and_type_fields_to_instances
Add URL and type fields to instances/instance groups
2017-05-31 09:40:55 -04:00
Chris Meyers
0c034f29af use insights etag as a cache
* During insights project updates, if the etag from insights matches the
last etag (scm_revision) then don't get all the maintenance playbooks.
Otherwise, get all the maintenance playbooks and update scm_revision
with the etag.
2017-05-30 18:30:13 -04:00
Chris Meyers
8b97db06b0 abuse group_by and instance_filters 2017-05-30 18:29:02 -04:00
Aaron Tan
604243428c Add URL and type fields to instances/instance groups. 2017-05-30 17:00:27 -04:00
Alan Rominger
a1963024c6 Merge pull request #6378 from AlanCoding/queue_cmd_help
Gracefully handle certain instance group tower-manage scenarios
2017-05-30 16:30:11 -04:00
Chris Meyers
9ede92a426 Revert "support vmware via source_vars"
This reverts commit cc64104f4bad6c360dcbd2f0291006956180a416.
2017-05-30 16:16:12 -04:00
Chris Meyers
f7f4560de1 support vmware via source_vars
* support vmware host_filters and groupby_patterns by just doing nothing
2017-05-30 15:58:30 -04:00
AlanCoding
198b3f0a94 handle user corner cases related to instance group commands 2017-05-30 15:49:48 -04:00
Aaron Tan
b049d624ad Merge pull request #6374 from jangsutsr/6352_fix_500_when_deleting_user
Update remove_tower_source.py to reflect sso model changes
2017-05-30 15:40:31 -04:00
Aaron Tan
da24ef0dba Update remove_tower_source to reflect sso model changes. 2017-05-30 15:14:11 -04:00
Michael Abashian
0279163686 Merge branch 'mabashian-inventories-refactor' into devel 2017-05-30 15:05:58 -04:00
Michael Abashian
641823e82e Merge branch 'inventories-refactor' of https://github.com/mabashian/ansible-tower into mabashian-inventories-refactor
# Conflicts:
#	awx/ui/client/src/inventories/sources/add/sources-add.controller.js
#	awx/ui/client/src/inventories/sources/edit/sources-edit.controller.js
#	awx/ui/client/src/inventories/sources/list/sources-list.controller.js
2017-05-30 15:05:35 -04:00
Michael Abashian
e8573179c5 Removed console.log 2017-05-30 14:12:57 -04:00
Michael Abashian
e9f4c4f7b5 Removed extraTemplate lines. They are not used 2017-05-30 13:43:43 -04:00