Commit Graph

193 Commits

Author SHA1 Message Date
Chris Meyers
96e282dbaf add basic auth enabled / disabled setting 2015-10-07 09:19:22 -04:00
Chris Meyers
63fbfbe11f expose session settings to user 2015-10-06 12:01:07 -04:00
Matthew Jones
6353277a16 Include new social auth settings in compose 2015-10-05 14:02:38 -04:00
Matthew Jones
2c873e0d1d Fix up docker compose local settings 2015-10-05 14:00:11 -04:00
Chris Church
84e89ab6f8 Fix auth-related errors breaking unit tests. 2015-10-02 16:16:30 -04:00
Chris Church
0c7a4b9f60 Disable flake8 checks in settings. 2015-10-02 15:24:49 -04:00
Chris Church
2ba5e06e2c Add support for single-sign on using python-social-auth (with Google/Github OAuth2 and SAML support). Add support for RADIUS as another authentication backend. 2015-10-02 14:57:27 -04:00
Matthew Jones
acc974289f Unit test for AWS STS token support 2015-09-30 13:42:16 -04:00
Chris Meyers
052929d209 Merge pull request #446 from chrismeyersfsu/feature-session_limit2
Feature session limit2
2015-09-30 11:11:36 -04:00
Chris Meyers
000d26d7e3 session limit enforcement
* upon creating a new session, invalidate oldest sessions
2015-09-28 14:17:28 -04:00
Matthew Jones
3d7f25218a Add api side support for pendo
Also adds setup playbook support for pendo.  This change anticipates
that the default for new installations will be 'detailed'
2015-09-25 15:52:42 -04:00
Chris Meyers
eb8219fd9f add Auth-Token-Timeout to http headers 2015-09-23 10:30:19 -04:00
Matthew Jones
5727d722b6 Merge remote-tracking branch 'upstream/release_2.3' into devel
* upstream/release_2.3: (91 commits)
  Include python-{paramiko,ecdsa} dependencies
  Remove extra epel testing stanzas
  Unit test for ec2 credentialless inventory
  Fix issue with ec2 iam sync with no credential.
  Use the htpasswd command instead the ansible module
  Pip is no longer needed
  check local user root or not in ./configure
  Remove unneeded when check for super user addition
  Improve distro detection in setup.sh
  Fix superuser check on upgrade
  Minor improvements to setup.sh
  Remove ansible prerequisite check from configure
  Attempt to install ansible within setup.sh
  Allow munin processes to access postgres
  Move up base package dependency install
  fixes jenkins failures
  Proper flake8 fix
  fixes executing processes with correct PYTHONPATH will pickup .pth files
  Show the repo for bundled package file dump
  Proper flake8 fix
  ...
2015-09-03 15:46:10 -04:00
Chris Meyers
38435648c6 Merge branch 'feature-offline_merge' into release_2.3 2015-08-21 16:21:12 -04:00
Matthew Jones
1471a3bb3e Allow proot's base tmp path to be configurable 2015-08-21 15:28:39 -04:00
Chris Meyers
99fb641b1b all vendor dependencies expressed in requirements.txt 2015-08-17 11:17:53 -04:00
Matthew Jones
dc0d732ad4 Fix merge issues on stdout branch
The act of committing a PR that including part of these changes and then
reverting it meant that some of the changes from the original branch
didn't land in this new PR.   This commit adds the missing bits.

Lesson learned:  Create a new branch when submitting a PR on a
previously reverted PR
2015-08-05 21:53:46 -04:00
Chris Meyers
fa1643e330 all vendor dependencies expressed in requirements.txt 2015-08-05 08:10:16 -04:00
Matthew Jones
c231601b76 Fix merge issues on stdout branch
The act of committing a PR that including part of these changes and then
reverting it meant that some of the changes from the original branch
didn't land in this new PR.   This commit adds the missing bits.

Lesson learned:  Create a new branch when submitting a PR on a
previously reverted PR
2015-08-04 09:57:39 -04:00
Joe Fiorini
811d0b1403 Build to awx/ui/static instead of dist 2015-07-27 10:19:14 -04:00
Matthew Jones
5df23b95f6 Revert "Improve stdout behavior by implementing a downloadable stdout." 2015-07-24 14:54:13 -04:00
Matthew Jones
3041fce503 Allow settings access from api templates 2015-07-23 12:07:34 -04:00
Matthew Jones
d9f5dee773 Change default stdout temp directory
* Use /var/lib/awx on production configurations
* Use /tmp for development configurations
2015-07-22 16:31:43 -04:00
Matthew Jones
7937b4fbbd Implement a stdout tmp cleanup task
* Cleans up stdout tempfiles generated for download
* Runs every 3 hours, cleans up files older than 1 day
2015-07-22 15:24:52 -04:00
Matthew Jones
b1b49ba286 Efficient stdout downloader implementation
* Temporarily dump stdout contents to a configurable temp location
* Implement file streaming to the host via a new format specifier in the
  api view
2015-07-22 15:08:37 -04:00
Matthew Jones
55da712a95 Protect against very large stdout fields
* Defer loading result_stdout_text until specifically needed
* Conditionally display it based on the size of the field
* Provide a helpful message otherwise
2015-07-22 14:13:48 -04:00
Matthew Jones
4d84a603ad Add missing fact receiver logfile in production settings 2015-06-24 11:05:19 -04:00
Chris Meyers
31b9304165 register a logger for fact receiver 2015-06-23 11:39:44 -04:00
Chris Church
8df9c40435 Add example settings for unit test, remove invalid private argument. 2015-06-12 00:59:10 -04:00
Chris Church
4607972135 Included openstack inventory script from core + changes from some open PRs, fixes to be able to use without custom changes for tower. 2015-06-12 00:58:33 -04:00
Chris Church
dfe4e0c694 Add unit test for azure inventory. 2015-06-12 00:52:57 -04:00
John Mitchell
32d1c0e4db fixed copyright date 2015-06-11 16:10:23 -04:00
Matthew Jones
f945719794 Fix a few more copyright statements 2015-06-11 14:53:25 -04:00
Luke Sneeringer
b0b5e3a726 Do not accept enterprise licenses in some cases.
This commit makes it so that enterprise licenses are rejected in HA
environments if there is no active MongoDB server.

Additionally, it suppresses trying to connect to MongoDB in cases where
it is not present or meaningful.
2015-06-04 14:42:14 -05:00
Matthew Jones
b3da3b34a3 Changing some legal headers for python source files 2015-05-29 12:10:39 -04:00
James Laska
98306350c0 Merge pull request #233 from jlaska/flake8_cleanup
Additional flake8 cleanup
2015-05-20 20:39:46 -04:00
James Laska
7064c9bed4 Additional flake8 cleanup
The flake8 command was identifying several warnings and errors. This change
addresses the flake8 warnings and updates the setup.cfg with additional
exclusions. If accepted, jenkins will be updated to use the flake8 command,
rather than using the django_jenkins plugin. This will expedite jenkins
testing.
2015-05-20 20:33:22 -04:00
Chris Meyers
7ce9f3f38d cache templates 2015-05-17 16:24:08 -04:00
Luke Sneeringer
7d65b439fa Support PBKDF2 passwords in dev. 2015-05-14 11:29:00 -05:00
Chris Meyers
9dfce90987 Merge pull request #194 from chrismeyersfsu/feature-unit_test_speedup
speedup each test case by .3 seconds
2015-05-11 10:27:46 -04:00
Chris Meyers
7d7206c7b0 use md5 pass hasher when dev or testing 2015-05-09 08:13:14 -04:00
Matthew Jones
b07803d2b8 Switch tower_warnings.log to tower.log 2015-05-05 16:53:06 -04:00
Matthew Jones
19901ba7cf Turns out "hostId" is not a good unique host identifier in openstack.
Switching to use "id" instead.
2015-04-23 16:02:44 -04:00
Matthew Jones
405be7edd8 Merge branch 'openstack_inventory_support' into upstream_master
* openstack_inventory_support:
  Use inventory_source source_vars to control what address we use for ansible_ssh_host
  Some small changes to tower openstack work
2015-04-23 11:09:41 -04:00
Chris Meyers
13aa8fce82 Merge pull request #147 from chrismeyersfsu/fix-azuer
handle shutdown azure instances
2015-04-23 10:06:26 -04:00
Chris Meyers
bbd1f41471 track azure vm by unique identifier 2015-04-22 07:05:36 -04:00
Chris Meyers
754b004c24 add instance state 2015-04-21 17:43:54 -04:00
Matthew Jones
f45d75c06c Some small changes to tower openstack work
1) Favor private addresses in the openstack inventory sync
2) Force refresh
3) use hostId and promote it to the top level vars object so we can
track individual host changes
2015-04-20 15:11:06 -04:00
Matthew Jones
6c5fd93ce5 Merge pull request #137 from matburt/openstack_inventory_support
Openstack inventory support
2015-04-14 12:43:20 -04:00
Chris Church
1dd45852a6 Merge pull request #132 from cchurch/ui_version_query_string
Add Tower version to query string for minified CSS/JS.
2015-04-13 17:07:18 -04:00