Commit Graph

1043 Commits

Author SHA1 Message Date
Chris Meyers
7e86ef9a46 remove scan job choice from launch endpoint 2017-08-10 08:52:54 -04:00
Matthew Jones
67474c8de1 Updating development tooling to be more generic
* Not assuming GCR is being used for image hosting
* Breaking out the dev environment bootstrapping from service starting
2017-08-09 15:53:25 -04:00
AlanCoding
300b392d5a manually update SCM inv src on bulk update 2017-08-04 12:43:24 -04:00
Chris Meyers
729d86c485 standardize on 502 for insights errors 2017-08-03 16:12:09 -04:00
Wayne Witzel III
3ce0529846 Merge pull request #152 from wwitzel3/issue-7355
Ensure hosts list properly when given read access to a smart inventory
2017-08-02 15:41:13 -04:00
Wayne Witzel III
eb73248d37 Refactor InventoryHostsList get_queryset to use getattrd 2017-08-02 15:13:27 -04:00
Wayne Witzel III
fe36ed94b8 Ensure hosts list properly when given read access to a smart inventory 2017-08-02 13:10:55 -04:00
Alan Rominger
c6a790bd24 Merge pull request #145 from AlanCoding/vault_perm
treat vault_credential same as credential for JT launch
2017-08-02 09:46:40 -04:00
AlanCoding
0b617d7538 treat vault_credential same as credential for JT launch 2017-08-02 08:24:24 -04:00
Ryan Petrello
53581b1c5b Merge pull request #131 from ryanpetrello/fix-7337
fix a bug which breaks inventory update stdout downloads
2017-08-01 11:03:01 -04:00
Ryan Petrello
d09872d13a fix a bug which breaks inventory update stdout downloads
see: https://github.com/ansible/ansible-tower/issues/7363
see: https://github.com/ansible/ansible-tower/issues/7337
2017-08-01 10:48:40 -04:00
AlanCoding
55cc23a712 impersonate requesting user in inventory deletion task 2017-07-31 16:06:36 -04:00
AlanCoding
9572b429ad remove support for celery_active_tasks 2017-07-31 15:02:22 -04:00
adamscmRH
6cb0cbd4f7 Inventory update endpoint now returns empty list 2017-07-31 13:25:04 -04:00
Christian Adams
fb850d9644 Merge pull request #113 from rooftopcellist/smart_inventory_edit
Changes Smart Inventory Error Message
2017-07-31 11:57:53 -04:00
Wayne Witzel III
7fe9c7b913 Disable caching for /authtoken endpoint 2017-07-31 09:19:54 -04:00
adamscmRH
e3525fdbc3 Changes Smart Inventory Error Message 2017-07-31 09:10:10 -04:00
Christian Adams
9816ac418a Merge pull request #82 from rooftopcellist/smart_inventory
Blocks creation of Hosts, Groups, and IS for Smart Inventories
2017-07-28 16:33:50 -04:00
adamscmRH
3dcd6ef2c2 Blocks creation of Hosts, Groups, and IS for Smart Inventories
* Updated View unit tests

* Refactored Validators

* Validator Fix for Blocking
2017-07-28 16:24:09 -04:00
Ryan Petrello
dd16966e09 Merge pull request #77 from ryanpetrello/fix-6116
filter credential_type__search from related search fields in API v1
2017-07-27 15:16:17 -04:00
Chris Meyers
f20f4f40a0 trim insights content to only what the UI needs 2017-07-27 13:58:54 -04:00
Ryan Petrello
cb85038976 filter credential_type__search from related search fields in API v1
see: https://github.com/ansible/ansible-tower/issues/6116
2017-07-26 16:42:16 -04:00
Jim Ladd
deb8eaa982 Disable POST to v1 inventory_sources 2017-07-24 14:42:08 -04:00
Jim Ladd
8983351e99 Deprecate post to v2 jobs (#18) 2017-07-24 14:24:38 -04:00
Christian Adams
86210b611c Merge pull request #7222 from rooftopcellist/inventory_update_not_manual
Inventory Update All no longer includes manual sources
2017-07-21 13:04:14 -04:00
adamscmRH
98c8499f2f improved query efficiently, refactored code 2017-07-21 12:22:24 -04:00
Chris Meyers
b80283a1bb Merge pull request #7167 from chrismeyersfsu/fix-6198
remove job_type scan from options
2017-07-21 10:52:36 -04:00
Chris Meyers
8e9318e9d4 Merge pull request #7162 from chrismeyersfsu/fix-6233
remove duplicate hosts from host_filter
2017-07-21 10:45:44 -04:00
Chris Meyers
c11b870084 remove job_type scan from options
* Need to keep the scan job in job_type for migrations so just remove it
from the constructed OPTIONS
2017-07-21 10:45:17 -04:00
adamscmRH
3f9f28322c Inventory Update All no longer includes manual sources 2017-07-20 18:10:22 -04:00
AlanCoding
f2d51f99dc Allow manual updates in spite of update_on_project_update
This makes inventory sources with the that flag set behave
like any other inventory source with manual use.
They will still update when triggered by a project SCM
hash change.
2017-07-20 09:38:47 -04:00
Chris Meyers
22e4957698 remove duplicate hosts from host_filter 2017-07-19 17:09:39 -04:00
Ryan Petrello
4b2be9850e copy adhoc events properly for stdout downloads
see: #7100
2017-07-18 12:12:02 -04:00
Matthew Jones
891f26c850 Fix an issue where an unlicensed system would throw errors
In the case where the license was entirely not present but the tower
license module was present
2017-07-14 10:21:26 -04:00
Wayne Witzel III
8cf3bb3134 Merge pull request #7058 from wwitzel3/host-smart_inventories
Update how we repopulate the /host/:id/smart_inventories data
2017-07-13 14:54:30 -04:00
Wayne Witzel III
6f1ef7fe0b Update how we repopulate the /host/:id/smart_inventories data 2017-07-13 14:04:33 -04:00
Matthew Jones
8e8324983b Merge branch 'license_module_switch' into devel
* license_module_switch:
  Hide eula if stub license is used
  Fix up some issues on feature validation for licenses
  Remove any references to internal licensing utilities
  Switch out existing obfuscated license with external module
2017-07-13 11:08:47 -04:00
Matthew Jones
d5346ec6d0 Hide eula if stub license is used 2017-07-13 10:57:56 -04:00
Chris Meyers
4b9385a233 Merge pull request #7031 from chrismeyersfsu/fix-6342
disallow new survey spec with password default $encrypted$
2017-07-13 08:07:30 -04:00
AlanCoding
45d9b670fd mark inventory source creation views as added 3.2 2017-07-12 15:25:19 -04:00
Chris Meyers
d3e4be66dd disallow new survey spec with password default $encrypted$ 2017-07-12 15:21:55 -04:00
AlanCoding
5153daab17 Mark view error codes for translation 2017-07-12 14:03:30 -04:00
AlanCoding
fb2a4dd20b Inventory sources update status code tweaks
* If all can be updated - 200
* If only some could be updated - 202
* If none could be updated - 400
2017-07-12 13:35:21 -04:00
Chris Meyers
c34a89714c rework hosts without insights creds error message 2017-07-11 14:25:12 -04:00
Alan Rominger
6d251babb5 Merge pull request #6947 from AlanCoding/circular
Move circular group association validation to view
2017-07-11 12:45:29 -04:00
Matthew Jones
8486944eaa Switch out existing obfuscated license with external module
This creates a new fallback license module called StubLicense that
will be used in the event that the tower_license module is not
installed.

All existing license mechanisms are routed through the get_licenser()
util method
2017-07-11 12:01:24 -04:00
AlanCoding
e599b0fdec fix naive datetime in jobs dashboard graph 2017-07-10 13:28:54 -04:00
AlanCoding
fed2eddf07 move circular group association validation to view 2017-07-10 09:12:02 -04:00
AlanCoding
0a339ed05c prevent server error in POST to group hosts 2017-07-07 08:24:50 -04:00
Bill Nottingham
f8515857b2 Remove assorted references to Tower.
Reword and remove references to Tower so they don't need parameterized.
2017-07-05 16:42:47 -04:00