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
Akita Noek
7d2e660749
Make use of 'current' apps so RBAC ImplicitRoleField can work during migrations
...
While a migration is taking place, we can't juse use normal model
references like Role and RolePermission, nor can we use generic foreign
keys without manually referring to the content type and object id
fields.
2016-04-12 11:40:17 -04:00
Akita Noek
6182dad0d4
Added activity stream events for User
...
Completes development for #1087
2016-04-11 17:03:04 -04:00
Graham Mainwaring
a6acb5181a
Merge pull request #1417 from ansible/python27_el6
...
EL6 Python 2.7 and Tower virtualenvs
2016-04-06 10:57:18 -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
Akita Noek
ea2cabe4d4
Merge branch 'devel' of github.com:ansible/ansible-tower into merge-devel
2016-03-01 15:09:58 -05:00
Akita Noek
0ff94e424d
SubList views can now resolve deep relationships using dot notation for relationship specification
...
Made it so you can specify a relationship like 'parent.somelist'
2016-02-22 11:07:32 -05:00
Matthew Jones
eb3d663d18
Support notification password field encryption
...
Modify encrypt_field and decrypt_field to support sub-fields under a
dictionary object. It still uses the parent key when encrypting.
2016-02-21 23:11:17 -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
Wayne Witzel III
71a1547c3a
fixing ad_hoc imports
...
flake8 fixes
Fix and add awx/api/tests
added fact tests
added proper xml reports for jenkins
added jenkins requirements and adjusted Makefile target
2016-02-01 18:37:56 -05:00
Wayne Witzel III
3d4580611e
added pytest to requirements_dev
...
reworking test strucutre
reworked pytest.ini, removed functional imports, updated req_dev
remove unneeded __init__ files
add testing checker to local_settings examples
adding testing packages to system Python for docker
2016-02-01 18:37:56 -05:00
Wayne Witzel III
5d6ea242c0
reorganzing tests folder
...
make tests a module
refacotring to local imports for tests
fixing test import of tasks
fixing test import of tasks
more testing fixups
2016-02-01 18:37:56 -05:00
Matthew Jones
b59e4d8111
Fix up some flake8 import issues
2015-12-17 11:34:01 -05:00
Matthew Jones
0e98491dac
Remove PROJECTS_ROOT and JOBOUTPUT_ROOT from stngs
2015-12-17 11:22:45 -05:00
Matthew Jones
910f9bd4a3
Fixing up some flake8 issues
2015-12-17 10:48:15 -05:00
Matthew Jones
e97e60bd30
Update settings location for certain values
...
* PROJECTS_ROOT
* JOBOUTPUT_ROOT
* SCHEDULE_MAX_JOBS
* STDOUT_MAX_BYTES_DISPLAY
2015-12-15 15:14:16 -05:00
Chris Meyers
b350eef3f0
session limit invalidation events via socket.io
2015-09-29 14:10:26 -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
Matthew Jones
1471a3bb3e
Allow proot's base tmp path to be configurable
2015-08-21 15:28:39 -04:00
Matthew Jones
ee8a76f32b
Use smart_str instead of .encode on passwords
...
We originally tried to prune these .encode() calls out of the tree in
favor of smart_str but we must have missed this one. This allows
migration 0066 to work if utf-8 characters are used in the password
2015-08-13 17:00:46 -04:00
Matthew Jones
e221097a37
Use smart_str instead of .encode on passwords
...
We originally tried to prune these .encode() calls out of the tree in
favor of smart_str but we must have missed this one. This allows
migration 0066 to work if utf-8 characters are used in the password
2015-08-13 16:55:39 -04:00
Chris Meyers
f64a48a98f
python 2.6 safe total_seconds
2015-07-30 13:40:31 -04:00
Matthew Jones
10f5308bd8
Fix version parsing of ansible to exclude newlines
2015-07-06 12:16:17 -04:00
John Mitchell
32d1c0e4db
fixed copyright date
2015-06-11 16:10:23 -04:00
Matthew Jones
bcc18aa689
Make using named pipe for adding passwords conditional on the version
...
of ssh used.
2015-06-11 14:48:10 -04:00
Matthew Jones
b3da3b34a3
Changing some legal headers for python source files
2015-05-29 12:10:39 -04:00
Chris Meyers
0dc7072e68
flake8
2015-05-11 09:08:46 -04:00
Chris Meyers
5ff696f708
added fact view tests
...
* Add related link from host to fact_versions
* Add related link from fact_versions to fact_view
2015-05-08 21:34:24 -04:00
Matthew Jones
36512d74c2
Unused variable to make pyflakes happy
2015-04-21 16:13:37 -04:00
Matthew Jones
0fc753046d
This fixes an issue where various parts of the system could get stuck
...
waiting to emit a socketio event if there was a problem with the
websocket service. Instead of crashing and hanging the system it will
now emit an error and continue.
2015-04-21 15:29:37 -04:00
Chris Church
88e7f6624c
Update relaunch endpoints to use custom serializer, check passwords needed before creating/copying job or ad hoc command.
2015-03-31 17:40:00 -04:00
Chris Church
c1d90e1897
Keep git URLs in SCP format for project updates. Fixes https://trello.com/c/xUL2FZyu
2015-02-26 15:46:55 -05:00
Matthew Jones
bb3732b2c1
Cleaning up some flake8 errors, pyflakes in this case
2015-02-10 17:00:23 -05:00
Matthew Jones
ffec2a19ae
Some slight improvements in ansible version detection in tower where
...
that's used
2015-02-04 10:55:45 -05:00
Matthew Jones
6e6a709165
Fixing up some pep8 issues
2015-02-03 13:46:58 -05:00
Matthew Jones
ffe0d4a5d0
Handle some more boolean types in our custom boolean converter
2015-01-28 10:21:14 -05:00
Matthew Jones
19c6e474cd
Missing boolen utility function export
2015-01-26 14:33:20 -05:00
Matthew Jones
b5db74a7d9
Generalize the python boolean converter so we can use it in RBAC methods
2015-01-26 11:57:21 -05:00
Chris Church
d826cf0a0a
Add support for changing proot verbosity via settings.
2015-01-07 13:11:24 -05:00
Matthew Jones
1f723e9404
More work on unicode for project dirs
2014-12-17 12:52:29 -05:00
Chris Church
41ac7c4d96
Allow space in SCM password. Fixes https://trello.com/c/KaqasZPa
2014-12-16 14:38:58 -05:00
Matthew Jones
91527228db
Demote settings imports in main utils
2014-12-05 15:47:25 -05:00
Matthew Jones
ec887f877f
Support running custom inventory scripts (only) from within proot if enabled
2014-12-05 15:25:06 -05:00
Luke Sneeringer
52aca5a081
Theoretically working Socket implementation.
2014-11-21 09:24:49 -06:00
Luke Sneeringer
ec55603e3f
Fixing various small issues to improve tests.
2014-11-05 16:07:57 -06:00
Luke Sneeringer
99381f11fa
Beginning swap of ZeroMQ for Redis.
2014-10-27 16:18:04 -05:00
Luke Sneeringer
bc763eab57
Know how to spot an HA environment.
2014-10-20 08:04:17 -05:00
Matthew Jones
71e87f7a41
Throw away everything but the first line when fetching the ansible version
2014-10-08 13:30:36 -04:00
Matthew Jones
ac94c11fd7
Adjust inventory computed field calculations to happen in the celery context
2014-04-30 14:38:08 -04:00