Commit Graph
24 Commits
Author SHA1 Message Date
Ryan Petrello ea4682e782 catch and log LDAP auth plugin misconfigurations
see: #5204
2017-02-06 16:27:22 -05:00
Ryan Petrello 8615c1e999 add the max_page_size value to the OPTIONS response for list views
see: #4356
2017-02-06 15:18:42 -05:00
Ryan Petrello 80ac25f26b only hide scm revision for manual projects if the key already exists
see: #5141
2017-02-06 12:16:23 -05:00
Ryan Petrello 5bd670291b default certain LDAP settings to None instead of an empty string
Related: #5148 #4678
2017-02-02 13:06:59 -05:00
Ryan Petrello afc0f16e58 add a field to OPTIONS that tells if the setting came from a .py file
additionally, update help_text with a helpful message about this

See: #4876
2017-02-02 12:47:53 -05:00
Ryan Petrello 58d19ea654 add tests for encryption/decryption in awx.main.utils.common 2017-02-01 16:24:18 -05:00
Ryan Petrello 9d98ac5e37 clean up a few complicated mocks 2017-02-01 12:56:20 -05:00
Ryan Petrello 557bc8006d automatically encrypt/decrypt CTinT settings that are stored in memcached
addresses #4246
2017-02-01 12:53:10 -05:00
Ryan Petrello f4a21a2650 don't stringify source_vars['private'] for Openstack inventory updates
shade's OS_CLIENT_CONFIG_FILE expects the generated YAML value to be
a boolean, not a stringified boolean

Addresses #5030
2017-01-31 14:57:12 -05:00
Ryan Petrello 51b50ce735 map docker container ports to allow usage of celery.contrib.rdb
http://docs.celeryproject.org/en/latest/reference/celery.contrib.rdb.html
allows you to remotely debug running celery tasks with:

    from celery.contrib import rdb
    rdb.set_trace()

this will bind a remote Python debugger on a random TCP port between
6899-6999, which you can telnet into for remote task debugging
2017-01-31 09:13:07 -05:00
Ryan Petrello 73cbcc2de0 add awx.conf tests to our various test run environments 2017-01-30 12:37:17 -05:00
Ryan Petrello d6857cf65a add some more inline comments and minor refactoring to awx.conf 2017-01-30 12:37:17 -05:00
Ryan Petrello 836ca21b7e add unit tests for awx.conf 2017-01-30 12:37:11 -05:00
Ryan Petrello 4fcc74012d display read-only settings in the API settings endpoint
References #4665
2017-01-30 10:09:15 -05:00
Ryan Petrello f061505895 move the uwsgi master FIFO from /tmp/awxfifo to /var/lib/awx/awxfifo
Resolves #4900
2017-01-25 16:37:11 -05:00
Ryan Petrello f347bc5ae4 fix a typo that results in a NameError
Resolves #4861
2017-01-25 14:08:49 -05:00
Ryan Petrello e7c5dfeaa4 fix a bug which causes activitystream actor assignment to be invalid
Resolves #4660
2017-01-25 11:45:12 -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
Ryan Petrello afe3f1f8af fix non-prettified extra vars on the Hosts Edit UI
this seems to be a duplicate of #3333, only in a different
location.

Resolves #4700
2017-01-19 13:49:21 -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 d418e41f7e Properly encode prev/next pagination links when URL contains unicode chars.
Resolves #4767
2017-01-18 12:43:27 -05:00
Ryan Petrello 9e09fd38a7 Properly parse subversion revision info.
The ansible subversion module returns revision info in an unanticipated format:

https://github.com/ansible/ansible/blob/devel/lib/ansible/modules/source_control/subversion.py#L194-L199

Parse out the revision number we actually care about.

Resolves #4654
2017-01-17 10:04:30 -05:00