Chris Meyers
60484267e7
Merge pull request #1088 from chrismeyersfsu/mongoectomy_cleanup
...
postgres fact cleanup
2016-03-03 08:31:43 -05:00
Chris Meyers
b0d228579a
add test case to verify delete logic
2016-03-02 12:57:52 -05:00
Chris Meyers
9d24236632
pin pyflakes to allow flake8 to succeed
...
* flake8 monkeypatches pyflakes to add codes to linting results. It
would seem that pyflakes 1.1.0 adds more checks but flake8 doesn't
monkeypatch to expose them. I've submitted a PR to add error code 405 to
be able to express that we ignore it in our setup.cfg
https://gitlab.com/pycqa/flake8/merge_requests/56
2016-03-02 09:30:52 -05:00
Chris Meyers
4fc7fea2b8
follow up and finish option request test
2016-03-01 17:28:29 -05:00
Chris Meyers
4b56ea3d07
postgres fact cleanup
2016-03-01 16:57:22 -05:00
Chris Meyers
88865a2203
flake8 fix
2016-03-01 16:57:00 -05:00
Chris Meyers
67d1aa6c86
migration with correct help_text
2016-03-01 10:39:51 -05:00
Chris Meyers
b5d8aa52c9
get accepts data param, use it
2016-03-01 10:08:08 -05:00
Chris Meyers
5340af2335
updated api tests to use new get fixture format
2016-03-01 09:48:58 -05:00
Chris Meyers
f6fa11e383
fix Fact migration
2016-03-01 09:16:48 -05:00
Chris Meyers
356b9c99b3
Merge branch 'mongoectomy_implementation' into devel
2016-03-01 08:22:40 -05: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 Meyers
c2d2c57aad
add newer version of proot
...
Use proot version that is used in production (5.1.0). Solves the ansible-playbook 2.0 symlink issue we see in our container when launching jobs.
2016-02-24 08:58:41 -05:00
Chris Meyers
62d0e8f6a5
Update Dockerfile
...
Add dateutils python package for `private/license_writer.py` to succeed
2016-02-24 08:52:16 -05:00
Chris Meyers
cad54a43a1
Merge pull request #1001 from chrismeyersfsu/fix-options_choices
...
bring back meta choice options lost in upgrade
2016-02-23 13:55:53 -05:00
Chris Meyers
61fd645d25
Revert "add error to requirements.txt for jenkins testing"
...
This reverts commit b1543763a4c195c857ec82bda058e06a0becf816.
2016-02-23 12:49:28 -05:00
Chris Meyers
3535cf3b08
add error to requirements.txt for jenkins testing
2016-02-23 12:35:54 -05:00
Chris Meyers
3013bcbebb
remove duplicate shade
2016-02-23 12:27:51 -05:00
Chris Meyers
244d1ac73d
keystone dep fix
2016-02-23 11:47:26 -05:00
Chris Meyers
1915347aff
fix req
2016-02-23 10:32:39 -05:00
Chris Meyers
d70615efbd
bring back meta choice options lost in upgrade
...
* status and launch_type OPTIONS choices were lost in the django + drf
upgrade. This brings them back.
2016-02-22 12:58:35 -05:00
Chris Meyers
6434171977
add -y to ansible ppa adding
2016-02-16 13:51:16 -05:00
Chris Meyers
56b0da30f1
adds fact model
2016-02-15 15:39:22 -05:00
Chris Meyers
7b07bb7d93
fix bad mocking
2016-02-01 16:02:52 -05:00
Chris Meyers
e793a179fd
Merge pull request #763 from chrismeyersfsu/openstack_#685
...
point at packages with source on pypi
2016-02-01 12:19:14 -05:00
Chris Meyers
306d0d401a
point at packages with source on pypi
...
* --target doesn't use wheels. Some packages only have wheel. Bump back
the package versions that have source in them, but not too far back such
that the interfaces change. It's a balancing act.
2016-02-01 12:16:26 -05:00
Chris Meyers
53f07fff08
Merge pull request #754 from chrismeyersfsu/openstack_#685
...
requests needs openssl
2016-01-29 16:26:15 -05:00
Chris Meyers
7d73cb1bcf
requests needs openssl
2016-01-29 16:25:37 -05:00
Chris Meyers
c7b8090e3b
Merge pull request #748 from chrismeyersfsu/openstack_#685
...
pyrax bumpb new python license
2016-01-29 11:20:15 -05:00
Chris Meyers
ad27ae1f7d
pyrax bumpb new python license
2016-01-29 11:19:30 -05:00
Chris Meyers
7cff53e7b9
Merge pull request #744 from chrismeyersfsu/openstack_#685
...
separate pip requirements file for python2.6
2016-01-28 17:46:13 -05:00
Chris Meyers
264fca1f3d
separate pip requirements file for python2.6
...
* platforms, like centos6, with python2.6 need old raggity packages.
Let them have the old raggity packages.
2016-01-28 17:35:21 -05:00
Chris Meyers
13c01d91d5
Merge pull request #726 from chrismeyersfsu/openstack_#685
...
bump shade from 0.5.0 to 1.4
2016-01-27 14:07:14 -05:00
Chris Meyers
7afa14aabb
bump shade from 0.5.0 to 1.4
2016-01-27 11:50:57 -05:00
Chris Meyers
ddbef34095
Merge pull request #664 from chrismeyersfsu/#619-desired_state_passwords
...
testable playbook w/ state wanted pattern
2016-01-22 08:32:49 -05:00
Chris Meyers
fe91c73fd2
testable playbook w/ state wanted pattern
...
* remove complicated redis config assembly
* backup and restore discover credentials rather than requiring
* backup strategy no longer drops the db. This allows awx user to
restore without creatdb persmission.
* removed mongo from backup/restore
* added password change support for redis, pg, munin
* added update_password command and respective tests
* tests for munin, pg, redis password change
* unit tests for munin, redis password change
* tests for postgres host (ip and socket) change
* tests for postgres backup/restore on remote db
2016-01-22 08:17:18 -05:00
Chris Meyers
abecbb3ed1
tower api tooling
...
* flake8 ignore inventory plugins pulled from core
* update Dockerfile to include redis-server
2016-01-14 10:23:14 -05:00
Chris Meyers
4f20b6c861
Merge pull request #544 from chrismeyersfsu/feature-hubspot
...
update hubspot with tower release info
2016-01-07 15:19:52 -05:00
Chris Meyers
366dc9dad2
Merge pull request #540 from chrismeyersfsu/feature-installer_simple_easy
...
more testable installer
2016-01-07 13:28:29 -05:00
Chris Meyers
a4a077566a
add postgres socket support and tests
2016-01-06 12:35:10 -05:00
Chris Meyers
667d8a2667
fix the connection check fix
...
* Multiple exceptions in except should be a tuple. Otherwise, the second
parameter will be the error object. Apposed to the intent, for it to be
another exception in a list of exceptions.
2015-12-07 13:48:19 -05:00
Chris Meyers
78ac2ccb55
more robust check added to mongo db connection
...
Calling mongoengine (or pymongo) connect() after already calling
connect() resulting in getting the first connection (connection
pooling). This is bad if we are relying on connect() to determine if
mongo is up. Added executing a ping/pong command after the connect()
command to ensure mongo is still/really up.
2015-12-04 13:25:57 -05:00
Chris Meyers
fe9f502e91
flake8 fix
2015-12-04 10:49:04 -05:00
Chris Meyers
4a6bceaeb0
Merge pull request #504 from chrismeyersfsu/license-a_piece_of_my_soul
...
2.4.0 python lib licenses
2015-11-17 15:49:36 -05:00
Chris Meyers
128f516e81
added dm.xmlsec.bindin license
2015-11-17 15:48:59 -05:00
Chris Meyers
b37af76599
update requirements.txt README
2015-11-16 11:20:57 -05:00
Chris Meyers
46428e7674
add pyrad to requirements.txt
2015-11-16 11:15:08 -05:00
Chris Meyers
a1f9476f6d
added appdirs
2015-11-16 11:14:17 -05:00
Chris Meyers
5142732f59
Merge pull request #505 from chrismeyersfsu/fix-django-radius
...
bump django-radius to include new license
2015-11-16 10:05:49 -05:00
Chris Meyers
693a4412c8
bump django-radius to include new license
2015-11-16 09:59:41 -05:00
Chris Meyers
47dc5b62ba
add django-radius license
2015-11-16 09:26:02 -05:00
Chris Meyers
93076533c7
python openid
2015-11-13 15:29:49 -05:00
Chris Meyers
e92004c6c5
remove duplicate, wrongfully created, license files
2015-11-13 15:02:37 -05:00
Chris Meyers
0cd7746290
keep pre-existing license files
2015-11-13 15:01:05 -05:00
Chris Meyers
4f66949cd9
2.4.0 python lib licenses
2015-11-13 14:51:28 -05:00
Chris Meyers
9829d83839
Merge pull request #498 from chrismeyersfsu/fix-delete_when_license_expired
...
allow multi-org expired licenses to delete orgs
2015-11-13 10:12:44 -05:00
Chris Meyers
97c56d451e
allow multi-org expired licenses to delete orgs
2015-11-12 15:33:00 -05:00
Chris Meyers
c52c7c2f9f
Merge pull request #494 from chrismeyersfsu/feature-socket_tests
...
adds socket tests
2015-11-06 14:39:03 -05:00
Chris Meyers
e928aa40a5
Merge pull request #493 from chrismeyersfsu/feature-git_hook
...
added git pre commit hook to run flake8
2015-11-06 10:48:38 -05:00
Chris Meyers
3f4913f5ab
adds socket tests
2015-11-06 10:30:56 -05:00
Chris Meyers
014419f6ca
Merge pull request #492 from chrismeyersfsu/fix-ha_remove
...
fixes remove_instance error
2015-11-06 07:56:50 -05:00
Chris Meyers
0b4efa3fcd
added git pre commit hook to run flake8
2015-11-06 07:38:29 -05:00
Chris Meyers
dbbfde0d25
fixes remove_instance error
...
* Initialize object attribute to None so a later if check that depends
on that attributes succeeds. The attribute is related to unifying the
command line args to the *_instance command set.
* Added regression test case
2015-11-06 07:19:09 -05:00
Chris Meyers
5845730cf6
Merge pull request #485 from chrismeyersfsu/fix-openstack_jt
...
add openstack cred file to env for jt launch
2015-11-05 11:28:26 -05:00
Chris Meyers
a0f327e6c5
Merge pull request #484 from chrismeyersfsu/feature-stdout_format
...
add content encoding for json to stdout
2015-11-03 10:11:24 -05:00
Chris Meyers
0889f1ebe1
add content encoding for json to stdout
...
* content_format=ansi&content_encoding=base64 support added to
?format=json on stdout endpoint.
Currently the json `content` value is made into html.
This change will allow support for consuming STDOUT for display on the
terminal.
2015-11-03 09:38:49 -05:00
Chris Meyers
3a8044754c
add openstack cred file to env for jt launch
2015-11-03 09:37:38 -05:00
Chris Meyers
bcc2cb7914
Merge pull request #479 from chrismeyersfsu/fix-basic_auth_cookies
...
if basic auth in headers, don't use cookie token
2015-10-19 17:07:14 -04:00
Chris Meyers
1db26531a1
if basic auth in headers, don't use cookie token
...
* Allows for basic auth to be used when cookie token fails
2015-10-19 14:49:15 -04:00
Chris Meyers
f051c13374
list cust inv scripts with deleted orgs
2015-10-14 07:36:32 -05:00
Chris Meyers
4c14827f46
add placeholder for ansible callback plugin path var
2015-10-12 13:36:33 -05:00
Chris Meyers
1bcfc67a52
allow user to add ansible callback plugin paths to job runtime
2015-10-12 13:33:46 -05:00
Chris Meyers
4d7c02aae3
Merge pull request #471 from chrismeyersfsu/fix-consolidate_config
...
consolidate auth configs to session.py
2015-10-09 10:09:02 -04:00
Chris Meyers
dfdd567cbc
Merge pull request #470 from chrismeyersfsu/feature-license_enforce2
...
license enforcement
2015-10-09 10:08:51 -04:00
Chris Meyers
ad383ebccc
license enforcement
...
* add rebrand and auth_enterprise feature to license
* enforce auth_enterprise by not surfacing auth callback info at /auth
endpoint
2015-10-08 18:00:29 -04:00
Chris Meyers
83fe3282dc
add basic auth enabled / disabled setting
2015-10-07 11:36:08 -04:00
Chris Meyers
dcd731071f
pin django debug toolbar for django dep reason
...
* fix IPy dep
* new django debug toolbar released today, broke things. Pin to our old
version of django to ensure success.
2015-10-07 11:34:50 -04:00
Chris Meyers
f213577f6b
expose session settings to user
2015-10-07 11:32:45 -04:00
Chris Meyers
815081eec1
correct egg names for pip dependency resolution
2015-10-07 11:32:22 -04:00
Chris Meyers
02db736166
Merge pull request #464 from chrismeyersfsu/feature-setting_basic_auth
...
add basic auth enabled / disabled setting
2015-10-07 09:23:16 -04:00
Chris Meyers
bc971da3a1
Merge pull request #463 from chrismeyersfsu/devel
...
Fix up layed down settings
2015-10-07 09:22:44 -04:00
Chris Meyers
96e282dbaf
add basic auth enabled / disabled setting
2015-10-07 09:19:22 -04:00
Chris Meyers
5942819d86
Merge branch 'feature-auth_config' into devel
2015-10-07 08:55:05 -04:00
Chris Meyers
e71189466c
pin django debug toolbar for django dep reason
...
* fix IPy dep
* new django debug toolbar released today, broke things. Pin to our old
version of django to ensure success.
2015-10-06 20:26:33 -04:00
Chris Meyers
61b0e80a5f
Merge pull request #462 from chrismeyersfsu/feature-auth_config
...
expose session settings to user
2015-10-06 15:40:35 -04:00
Chris Meyers
63fbfbe11f
expose session settings to user
2015-10-06 12:01:07 -04:00
Chris Meyers
a7d9eea942
Merge pull request #461 from chrismeyersfsu/fix-requirements_eggs
...
correct egg names for pip dependency resolution
2015-10-05 16:31:15 -04:00
Chris Meyers
51b534ae2e
correct egg names for pip dependency resolution
2015-10-05 13:58:55 -04:00
Chris Meyers
c3a387c603
Merge pull request #434 from chrismeyersfsu/fix-rbac_performance2
...
use subqueries instead of python ids
2015-10-02 09:49:49 -04:00
Chris Meyers
5e7473e101
Merge pull request #457 from chrismeyersfsu/fix-stdout_dl_token
...
allow token in get params at stdout endpoint
2015-10-02 08:59:07 -04:00
Chris Meyers
22f0a4b79a
allow token in get params at stdout endpoint
2015-10-01 17:25:21 -04:00
Chris Meyers
73471ead7e
Merge branch 'feature-session_limit3' into devel
2015-10-01 16:28:37 -04:00
Chris Meyers
4434d336a3
notify all socket session of a token
2015-10-01 16:27:49 -04:00
Chris Meyers
b7cb8c7624
Merge pull request #452 from chrismeyersfsu/fix-options_cap
...
add appropriate help_text to run_ad_hoc_command
2015-09-30 14:19:37 -04:00
Chris Meyers
88698ff78b
Merge pull request #449 from chrismeyersfsu/fix-job_events_jenkins
...
influence callback receiver single worker
2015-09-30 14:19:09 -04:00
Chris Meyers
833cbce9e0
add appropriate help_text to run_ad_hoc_command
2015-09-30 14:07:50 -04:00
Chris Meyers
35abd0cc07
influence callback receiver single worker
2015-09-30 12:39:00 -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
4163492e81
add auth timeout header to login response
2015-09-29 15:49:42 -04:00
Chris Meyers
b350eef3f0
session limit invalidation events via socket.io
2015-09-29 14:10:26 -04:00