Commit Graph

47 Commits

Author SHA1 Message Date
Jake McDermott
477c5df022 add linked status indicator for scm inventory project updates
Signed-off-by: Jake McDermott <yo@jakemcdermott.me>
2019-01-24 16:24:42 -05:00
Ryan Petrello
f223df303f convert py2 -> py3 2019-01-15 14:09:01 -05:00
Ryan Petrello
4e45c3a66c mock an HTTP call to fix busted unit tests 2018-11-28 09:17:50 -05:00
Ryan Petrello
661cc896a9 add a user agent for requests to Insights 2018-11-16 16:25:08 -05:00
Ryan Petrello
00cae104b3 remove over-eager survey choices validation
it looks like choices can also be a list and _maybe_ comma delimited;
clearly there's a lot of history here; let's verify and test what's _really_ supported and _then_ add any necessary validation
2018-10-15 16:40:17 -04:00
AlanCoding
bdc7efb274 humble beginnings of survey question type validation 2018-10-11 12:10:40 -04:00
AlanCoding
c5d49be2c1 avoid error in templating error 2018-05-04 08:39:09 -04:00
adamscmRH
310f37dd37 clears authtoken & add PAT 2018-02-22 15:18:12 -05:00
John Eismeier
026cbeb018 Propose small spelling changes 2018-02-02 10:49:55 -05:00
Ryan Petrello
d35bfafcf5 more test cleanup from 3.2.2 merge 2017-12-13 13:14:22 -05:00
Matthew Jones
9dbcc5934e Merge remote-tracking branch 'tower/release_3.2.2' into devel 2017-12-13 12:25:47 -05:00
AlanCoding
d23d7c422d allow password default reuse with empty default 2017-12-04 10:49:36 -05:00
Ryan Petrello
1057b93570 refactor survey spec validation into a separate testable function 2017-12-01 15:34:07 -05:00
AlanCoding
47f45bf9b3 block user from entering encrypted as bare default 2017-12-01 14:44:06 -05:00
Wayne Witzel III
96904968d8 Fix migration issues, tests, and templates 2017-11-09 17:29:48 -05:00
Jim Ladd
5924571904 Merge pull request #384 from jladdjr/awx365_post_response_discrepancy
Address discrepancy in POST response between jobs launches and project / inventory source updates
2017-10-13 09:59:29 -04:00
Jim Ladd
6f1c7ee733 Update several endpoints to match JT launch POST response
Signed-off-by: Jim Ladd <jladd@redhat.com>
2017-10-12 17:35:34 -04:00
AlanCoding
f03b40aa50 enforce max line length of 160 characters 2017-10-11 12:38:39 -04:00
Ryan Petrello
82d05e0a10 properly sanitize encrypted default passwords in JT.survey_spec
see: https://github.com/ansible/ansible-tower/issues/7259
2017-10-10 14:38:47 -04:00
AlanCoding
ff96a750e1 backend of org-scoped smart inventories 2017-08-29 16:43:56 -04:00
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
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
eb73248d37 Refactor InventoryHostsList get_queryset to use getattrd 2017-08-02 15:13:27 -04:00
Wayne Witzel III
7f75ef9ad4 whitespace clean up 2017-08-02 13:11:16 -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
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
adamscmRH
98c8499f2f improved query efficiently, refactored code 2017-07-21 12:22:24 -04:00
Chris Meyers
c34a89714c rework hosts without insights creds error message 2017-07-11 14:25:12 -04:00
Chris Meyers
2f43f0fe2b flake8 2017-05-26 08:52:13 -04:00
Chris Meyers
87eea59845 add per-inventory insights credential 2017-05-26 07:25:36 -04:00
Chris Meyers
4461c8fe91 more robust insights error handling 2017-05-22 17:32:17 -04:00
Wayne Witzel III
54876e71e7 Added tests for post conditional logic 2017-05-11 15:31:39 -04:00
Ryan Petrello
95ea370e5e add API versioning for /api/v2/ 2017-03-30 15:11:12 -04:00
Wayne Witzel III
5ace8dad4e fix KeyError for default, added tests 2017-01-30 12:15:43 -05:00
Aaron Tan
9e4655419e Fix flake8 E302 errors. 2016-11-15 20:59:39 -05:00
Chris Meyers
4c876b40e4 initial models and endpoints added for workflows 2016-08-30 15:05:28 -04:00
Wayne Witzel III
b862a13d92 update unit tetsts 2016-07-29 11:30:33 -04:00
AlanCoding
1fb173b2e5 RoleTeam and TeamRole sublist NotFound exception handling and test update 2016-07-28 16:01:42 -04:00
Chris Meyers
a57dca9786 fix delete last label disassociate
* Inherit from mixin first in order to overwrite next inherited class
method, unattach.
* Also, fix up test and add test to ensure correct inheritance
2016-06-29 17:19:08 -04:00
Wayne Witzel III
329e81b40e no need for create=True 2016-06-22 15:39:40 -04:00
Wayne Witzel III
1d329856f9 use MagicMock for content_type 2016-06-22 15:36:26 -04:00
Wayne Witzel III
54e618db2e test org role as child for team 400s 2016-06-22 12:00:32 -04:00
Matthew Jones
5895b3a343 Refactor Notification's naming
Notifier -> NotificationTemplate
notifier -> notification_template
2016-05-05 13:53:46 -04:00
Wayne Witzel III
b6bbd4fa77 ensure change access for adding team roles 2016-04-28 13:43:49 -04:00
Matthew Jones
b01fe663af Fix up tests for vacated settings 2016-04-04 11:57:40 -04:00
Chris Meyers
a01b2913bb mockity mock mock 2016-04-01 13:34:06 -04:00