Commit Graph

1747 Commits

Author SHA1 Message Date
Chris Meyers
90ea9b8bde presume 401 from insights means invalid credential
* Tell the user about the invalid credentials
2017-08-15 08:31:52 -04:00
Alan Rominger
e2db4b9001 Merge pull request #241 from AlanCoding/mutable
hack around mutability problem for v1 launch
2017-08-14 09:19:52 -04:00
AlanCoding
3d65dc48dc hack around mutability problem for v1 launch 2017-08-11 16:46:27 -04:00
Christian Adams
944e0bb304 Merge pull request #230 from rooftopcellist/si_no_match
Fix for no_match on grouped hosts in smart inventories
2017-08-11 15:33:10 -04:00
adamscmRH
079c8fe9c1 Separates normal & smart inventory logic for script endpoint 2017-08-11 15:15:08 -04:00
Matthew Jones
dd44f7a640 Merge pull request #236 from matburt/contributing_and_other_docs
CONTRIBUTING.md and other docs
2017-08-11 10:30:55 -04:00
Aaron Tan
0c652f2a3a Merge pull request #237 from jangsutsr/7412_update_unified_job_deletion_behavior
Prevent deleting unified jobs with active status
2017-08-10 12:11:27 -04:00
Aaron Tan
497aa13562 Prevent deleting unified jobs with active status 2017-08-10 12:01:25 -04:00
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
Alan Rominger
c009173722 Merge pull request #189 from AlanCoding/no_proj_update
manually update SCM inv src on bulk update
2017-08-08 09:18:12 -04:00
Alan Rominger
fe66d161b2 Merge pull request #140 from AlanCoding/poly_why
hack to work around Django-polymorphic prefetch_related bug
2017-08-07 14:24:17 -04:00
AlanCoding
45a58b24a6 allow insights_system_id to self-enforce its read_only property 2017-08-04 15:54:56 -04:00
AlanCoding
300b392d5a manually update SCM inv src on bulk update 2017-08-04 12:43:24 -04:00
Chris Meyers
d0c50f8ede Merge pull request #176 from chrismeyersfsu/fix-6916
standardize on 502 for insights errors
2017-08-03 18:54:25 -04:00
Aaron Tan
19bd051011 Merge pull request #165 from jangsutsr/7352_prevent_setting_scm_fields_for_non_scm_is
Prevent setting SCM fields for non-SCM inventory sources
2017-08-03 18:04:13 -04:00
Chris Meyers
729d86c485 standardize on 502 for insights errors 2017-08-03 16:12:09 -04:00
Alan Rominger
22d538702a Merge pull request #147 from AlanCoding/underscores
add underscores to Role serializer resource_type
2017-08-03 09:01:18 -04:00
Aaron Tan
195c0bdfe4 Prevent setting SCM fields for non-SCM inventory sources 2017-08-02 17:22:15 -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
Chris Meyers
22aa251a24 Merge pull request #127 from chrismeyersfsu/fix-6559
remove conditional inventory sources POST
2017-08-02 12:25:50 -04:00
Chris Meyers
6cc5f14e16 remove conditional inventory sources POST
* Move logic from validator down to model
* Allow only 1 inventory source of type scm with
update_on_project_update set to True; for each inventory
2017-08-02 11:49:10 -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
321591515c hack to work around Django-polymorphic select_related bug 2017-08-02 09:32:13 -04:00
AlanCoding
4d8faa7265 add underscores to Role serializer resource_type 2017-08-02 08:27:25 -04:00
AlanCoding
0b617d7538 treat vault_credential same as credential for JT launch 2017-08-02 08:24:24 -04:00
Alan Rominger
24d173c74f Revert "add job_type to job summary fields" 2017-08-01 12:36:36 -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
Alan Rominger
9d1853f6df Merge pull request #117 from AlanCoding/add_job_type
add job_type to job summary fields
2017-07-31 12:12:08 -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
Jim Ladd
98d2ca5b16 Vault credential should have ssh type for v1 job templates (#119) 2017-07-31 11:41:14 -04:00
AlanCoding
83dca62e16 add job_type to job summary fields 2017-07-31 10:34:04 -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
Aaron Tan
580871a60b Merge pull request #70 from jangsutsr/5913_allow_parsing_null_json_data
Allow parsing null JSON data
2017-07-27 16:05:26 -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
Aaron Tan
b69321a91e Allow parsing null JSON data 2017-07-27 15:14:50 -04:00
Chris Meyers
f20f4f40a0 trim insights content to only what the UI needs 2017-07-27 13:58:54 -04:00
Matthew Jones
2b1bcc23be Merge branch 'purge_ansible_name' into release_3.2.0
* purge_ansible_name:
  Remove ansible reference from dev PKG-INFO
  Add back in PRIVILEGE_ESCALATION_METHODS inadvertantly removed
  Add awx_ and AWX_ environment vars and extra_vars alongside Tower
  Refactor some tower periodic tasks to label as awx
  Refactor Notification backend for tower -> awx
  Refactor fact cache plugin from tower -> awx
  Rename tower display plugins to awx display
  Mass rename from ansible_(awx|tower) -> (awx|tower)
2017-07-26 23:06:55 -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
Matthew Jones
c7a85d9738 Mass rename from ansible_(awx|tower) -> (awx|tower) 2017-07-26 13:33:26 -04:00
AlanCoding
aa14d12f42 show just id field for API browser POST box 2017-07-25 15:49:16 -04:00