Commit Graph

608 Commits

Author SHA1 Message Date
AlanCoding
3e9bc3b3d4 Hide extra_vars in job notifications 2017-04-07 11:49:03 -04:00
Chris Meyers
a94c8ef1e3 add functional tests for host_filter 2017-04-04 09:13:56 -04:00
AlanCoding
ec21505fea update test to fact that logger port is not required 2017-04-03 11:56:41 -04:00
Ryan Petrello
95ea370e5e add API versioning for /api/v2/ 2017-03-30 15:11:12 -04:00
Alan Rominger
d2795c4784 Merge pull request #5434 from AlanCoding/activity_hygiene
avoid multi-field implicit role activity stream entries
2017-03-24 12:26:32 -04:00
AlanCoding
99fc0e8264 Use consistent error message when vars are not parsed correctly 2017-03-22 16:37:20 -04:00
AlanCoding
b01b12ab2a avoid multi-field implicit role activity stream entries 2017-03-22 15:22:48 -04:00
Ryan Petrello
a69dfced74 Merge remote-tracking branch 'origin/release_3.1.2' into devel 2017-03-21 10:39:16 -04:00
Aaron Tan
2e2d88516e Negative functional test added. 2017-03-20 12:21:21 -04:00
Aaron Tan
2edd4b338d Add functional test to gurarantee consistent behavior of provisioning callback with jt launch. 2017-03-17 15:40:55 -04:00
Matthew Jones
47a894a339 Fix up cloudforms license unit test 2017-03-13 21:02:36 -04:00
Matthew Jones
2641b2a1c3 Implement cloudforms license
This is a special license that is triggered in the presence of two
directories:
  - /opt/rh/cfme-appliance
  - /opt/rh/cfme-gemset
and the rpms
  - cfme
  - cfme-appliance
  - cfme-gemset

All of which I'm assured are responsible for validating that this is
indeed an enterprise cloudforms environment.

When these are present then a license is used that is near perpetual,
allows for a stupid large number of instances, and turns on all features
2017-03-13 12:00:22 -04:00
Ryan Petrello
bad9670a0b Merge remote-tracking branch 'origin/release_3.1.2' into devel 2017-03-10 10:57:03 -05:00
Ryan Petrello
f4d4c43d94 prohibit order_by= for sensitive fields
see: #5526
2017-03-10 08:49:59 -05:00
Ryan Petrello
8c1de7f109 add an API endpoint for testing external log aggregrator connectivity
see: #5164
2017-03-09 13:19:56 -05:00
Matthew Jones
071f84d224 Skip requirements test, until it gets some love 2017-03-07 16:48:52 -05:00
AlanCoding
f90ba8e6a6 small refactor of python requirement test to work in dev env 2017-03-01 09:04:31 -05:00
Ryan Petrello
d97ff57cda prohibit API payloads that represent something other than a JSON object
The JSON serializer for our API uses ``json.loads``, which permits *any*
valid JSON (including bare integers, boolean values, etc).  Lots of our
code, however, assumes that inbound JSON content will be a dict.

see: #4756
2017-02-28 13:23:03 -05:00
Alan Rominger
0bdcfbb33e Merge pull request #5512 from AlanCoding/inv_src_qs
Add InventorySource back into schedule queryset
2017-02-22 17:01:11 -05:00
AlanCoding
d85eda99c6 add back in Inv Src into schedule queryset computation 2017-02-22 15:34:18 -05:00
Matthew Jones
b14336bdff Alias unified job template search fields for presentation
The polymorphic accessors have a name that is different than our
normal presentation name for these types. This aliases them for the
presentation layer and then handles processing them when they are
given as filters.
2017-02-22 15:33:47 -05:00
Ryan Petrello
94ad12ab0d set the default in OPTIONS for TOWER_URL_BASE to the request hostname
see: #5470
2017-02-22 11:16:08 -05:00
Alan Rominger
711bee9633 Merge pull request #5414 from AlanCoding/manage_context
Disable activity stream in cleanup_jobs, test things
2017-02-21 12:20:34 -05:00
Alan Rominger
c9e3fc3601 Merge pull request #5445 from AlanCoding/sub_ct_from_cache
Allow UJT content type list to come from manager cache
2017-02-21 10:33:21 -05:00
AlanCoding
757982088c allow UJT content type list to come from cache 2017-02-17 22:08:18 -05:00
AlanCoding
6d961d92c9 block system auditors from attaching notification templates 2017-02-17 16:17:07 -05:00
Alan Rominger
68fc75070d Merge pull request #5348 from AlanCoding/dual_jt_count
Update organization counts to correspond with UI lists
2017-02-17 10:13:10 -05:00
Alan Rominger
377d6ebcab Merge pull request #5396 from AlanCoding/signal_intelligence
Avoid a particular kind of nonsense activity stream entry
2017-02-17 10:09:59 -05:00
AlanCoding
6b45aa758c fix special case where orphan JTs can not be edited by system admins in UI 2017-02-16 14:48:20 -05:00
AlanCoding
9e363d82d8 disable activity stream in cleanup_jobs and test context managers 2017-02-16 14:09:48 -05:00
AlanCoding
d67dadd649 avoid activity stream entries of singleton implicit role associations 2017-02-16 10:22:21 -05:00
AlanCoding
d687ff1be0 delete disable_signals fixture that is not being used 2017-02-15 15:34:14 -05:00
AlanCoding
d054f86652 update organization counts to correspond with UI lists 2017-02-14 14:05:23 -05:00
Ryan Petrello
8753d4968a Merge pull request #5252 from ryanpetrello/log-handler-tests
refactor utils.handlers.HTTPSHandler's usage of django settings
2017-02-09 10:29:38 -05:00
Alan Rominger
90cbfb3cf2 Merge pull request #5234 from AlanCoding/im_the_boss_but_pretend_to_be_one_of_the_members
switcharoo of team admin for member role
2017-02-08 16:53:36 -05:00
Ryan Petrello
56433fd2ca move log handling tests from functional -> unit 2017-02-08 16:34:06 -05:00
Ryan Petrello
669012138e refactor utils.handlers.HTTPSHandler's usage of django settings 2017-02-08 16:34:00 -05:00
Ryan Petrello
a076ab015d Merge pull request #5246 from ryanpetrello/log-handler-tests
add tests for our custom log aggregator/handler
2017-02-08 14:31:51 -05:00
Ryan Petrello
2c447942d5 add tests for our custom log aggregator/handler 2017-02-08 14:19:32 -05:00
AlanCoding
f60f1fdcc4 check related credential for inventory source 2017-02-08 13:16:02 -05:00
AlanCoding
07773bb19e Remove unsuported team indirect access from test
Add in team admin_role in its place
confirm that team admin looks the same as team member
2017-02-08 11:43:38 -05:00
AlanCoding
e5a8eb95b2 fix bugs with system auditors and orphan JTs 2017-02-07 09:18:23 -05:00
Wayne Witzel III
dee359254f fix functional job runtime params tests 2017-02-06 14:50:51 -05:00
AlanCoding
7967cc7722 force UJT user_capabilities to be correct for all submodels 2017-02-05 08:07:36 -05:00
Ryan Petrello
0bcbaa5c86 allow certain LDAP settings fields to be nullable
necessary to completely resolve #4678
2017-01-24 09:31:44 -05:00
Ryan Petrello
40a5c6cc0b fix an LDAP settings bug which can cause LDAP auth to fail
django-ldap-auth expects the "unset/empty" state of certain LDAP DN
settings (such as AUTH_LDAP_REQUIRE_GROUP and
AUTH_LDAP_USER_DN_TEMPLATE) to be NULL/None (not an empty string).

Resolves #4678
2017-01-23 15:35:23 -05:00
Chris Church
41553c879c Make AWX_PROOT_HIDE_PATHS, AWX_PROOT_SHOW_PATHS and AWX_ANSIBLE_CALLBACK_PLUGINS not required. 2017-01-20 16:02:33 -05:00
Ryan Petrello
da66c3f2b8 Revert "add a test for maximum page size enforcement"
This reverts commit af8e6f939ff2d3ecf4658e82777dcd35c0d288a8.

This test seems to leak django.conf.settings between tests (causing the
suite to fail periodically).  Rolling this back until I can figure out
why.
2017-01-19 13:08:44 -05:00
Ryan Petrello
a42216f5e2 add a test for maximum page size enforcement
Resolves #4356
2017-01-18 16:52:22 -05:00
Ryan Petrello
1b73865477 Merge pull request #4799 from ryanpetrello/release_3.1.0
Properly encode prev/next pagination links when URL contains unicode
2017-01-18 16:45:04 -05:00