44 Commits

Author SHA1 Message Date
Leigh Johnson
6d643ca339 Add uncached template loaders to development settings 2016-09-07 15:47:50 -04:00
Alan Rominger
2fada7a6ad fix flake8 2016-09-01 15:34:06 -04:00
Chris Meyers
ac2f0bdf57 handle mime svg in devel 2016-09-01 12:53:26 -04:00
Matthew Jones
116e40dbe7 Fix some venv issues related to the new dev env 2016-08-30 14:21:11 -04:00
Chris Meyers
ae73be12f1 remove statsd 2016-05-10 11:56:04 -04:00
Matthew Jones
6f79ec8830 Revert "Merge pull request #1534 from chrismeyersfsu/fix-config_performance"
This reverts commit 7cc144fa59f157a5e1789a913e0d9a31720141ec, reversing
changes made to 86af9950e754b06f40cb293a36ab365f589273db.
2016-04-14 11:40:07 -04:00
Chris Meyers
043f97fe35 fixes config endpoint performance issue 2016-04-13 17:28:38 -04:00
Matthew Jones
46bbc83d0d Changes for Tower virtualenv support
* Break requirements down into ansible and tower reqs
* Generate separate Ansible and Tower virtual environments
* Install appropriate requirements files into each one
* Modify development tools to use these venvs instead of our old
  site-packages
* Modify settings to indicate venv enablement and location of venvs
* Modify tasks to use the proper virtual environment for its purpose
2016-03-21 12:11:19 -04:00
Chris Meyers
7ffe46fc74 add postgres Fact model, update views, tests
* awx.main.models Fact added
* view host fact and timeline updated to use new Postgres Fact model instead of Mongo
* Removed license set start Mongo logic
* added View tests
* added Model tests
* Removed mongo fact unit tests
* point at modified jsonbfield that supports sqlite storage driver
* postgresify fact cache receiver
* test OPTIONS endpoint
* Note: single fact view not implemented yet.
2016-02-24 14:38:54 -05:00
Chris Church
60224cdbe4 Update Django to 1.8 and DRF to 3.3, add new Django migrations, update serializers/pagination/metadata, update browsable API styling. 2016-02-02 17:48:04 -05:00
Joshua "jag" Ginsberg
f25b76aee9 Integrate statsd metrics into ansible playbook execution.
* Add dependencies for pystatsd and django-statsd-mozilla
* Default turned off except for development environment
* Modify docker-compose to install statsd/graphite host
2016-01-26 16:54:24 -05:00
Chris Church
84e89ab6f8 Fix auth-related errors breaking unit tests. 2015-10-02 16:16:30 -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
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
Matthew Jones
5df23b95f6 Revert "Improve stdout behavior by implementing a downloadable stdout." 2015-07-24 14:54:13 -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
John Mitchell
32d1c0e4db fixed copyright date 2015-06-11 16:10:23 -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
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
Luke Sneeringer
7d65b439fa Support PBKDF2 passwords in dev. 2015-05-14 11:29:00 -05:00
Chris Meyers
7d7206c7b0 use md5 pass hasher when dev or testing 2015-05-09 08:13:14 -04:00
James Laska
c197f90e45 Comment out jshint+csslint from django_jenkins 2015-04-10 09:54:41 -04:00
Chris Meyers
2a039bb31f moved new fact implementation to fact app 2015-04-07 09:50:35 -04:00
Chris Meyers
c03cef022d Implemented fact scan storage logic.
* added mongo connection logic
* added mongo dbtransform logic to allow keys with . and $
* altered tower fact scanner CacheModule to emit a message for each fact module facts (including ansible facts). Previously, seperate facts module facts were getting concatenated to each subsequent emi
* tower fact scanner CacheModule timeout set as to not hang for forever
* broke apart commands.py test
* added unit test for run_fact_cache_receiver, facts, and dbtransform
2015-04-07 09:50:35 -04:00
James Laska
40fdbc01e3 Pyflakes and pep8 are replaced by flake8 2015-02-18 13:00:49 -05:00
Chris Meyers
981eeb3c88 towards tower-qa running against dev ansible-tower 2015-02-03 11:58:56 -05:00
James Laska
ea0b39859b Enable django_jenkins flake8 reporting
Also exclude awx/ui from pep8 runs.
2015-01-29 13:56:04 -05:00
Chris Church
253a6cffd4 Add default SYSTEM_UUID for development. 2014-10-23 13:36:14 -04:00
Luke Sneeringer
66dc2df8c3 Make development settings honor conf.d 2014-10-20 08:04:16 -05:00
James Laska
888352270b More updates to support latest django_jenkins 2014-10-02 13:26:32 -04:00
James Laska
a174c7b168 The latest version of django_jenkins no longer requires django_tests 2014-10-02 12:15:16 -04:00
Luke Sneeringer
3b45252039 Theoretical move from /etc/awx/ to /etc/tower/. 2014-08-22 10:12:12 -04:00
Luke Sneeringer
dd5fcbbfbd Vagrant Local Development
This commit adds playbooks and files necessary to do local development
from within Vagrant.

These playbooks start with a fresh Ubuntu 12.04 machine and:
  - Install Ansible
  - Install the Tower nightly
  - Install all components to exactly mirror production, except Apache
  - Install uwsgi and nginx for local development (since Apache lacks a
working auto-reload)

This isn't entirely perfect -- in particular, developing on task code
is probably challenging until I figure out how to get celery not to
read from the install, but it is a very easy way to get 90% of the way
there very, very quickly.
2014-06-12 16:51:48 -05:00
James Laska
11b39febfb Include PYLINT_RCFILE 2014-06-05 15:29:36 -04:00
James Laska
e8dc57ff36 Move django_jenkins into development.py 2014-06-05 15:00:21 -04:00
Chris Church
8e61d17cb4 Updated zeromq callback to receive callback port via environment variable. Changed production, development and unit tests to all use different ports/queues for the callback. 2014-02-26 14:11:59 -05:00
Chris Church
e94e1978be Disable capturing SQL queries in memory when running celeryd in development. 2014-02-04 23:04:58 -05:00
Chris Church
2b7af0a2ec Happy new year!!! 2014-01-02 11:51:43 -05:00
Chris Church
fc6ec26ebe AC-752 Update settings to support enabling celeryd using rabbitmq on upgrade, also support config files in /etc/awx/conf.d/. 2014-01-02 11:19:07 -05:00
Chris Church
9fc46e6292 AC-474. Updates to contributing doc, along with related Makefile, testing and settings changes. 2013-09-24 21:41:00 -04:00
Chris Church
8ccf4c0a89 Fix typo in development settings. 2013-07-30 22:48:30 -04:00
Chris Church
92bfddb834 Fix for django-jsonfield to work on Django 1.4.1 (default with Ubuntu 12.10, fix for AC-222), update settings to provide more information when unable to load local/global settings file. 2013-07-28 16:30:19 -04:00
Chris Church
07657926b9 Rename ansibleworks to awx. 2013-06-23 13:21:02 -04:00