4021 Commits

Author SHA1 Message Date
Chris Church
fd09cc3726 Return survey_enabled as False for launch endpoint when no survey spec is defined for a job template; allow job template to be launched anyways. Fixes https://trello.com/c/zErQqf1L 2015-04-10 16:20:57 -04:00
Chris Church
3b66dbed03 Fix those flaking warnings. 2015-04-10 15:16:06 -04:00
Chris Church
090456a247 Add grace_period_remaining to allow adding hosts with AWS licenses. Fixes https://trello.com/c/bw6JbrhW 2015-04-10 14:19:33 -04:00
James Laska
c197f90e45 Comment out jshint+csslint from django_jenkins 2015-04-10 09:54:41 -04:00
Chris Church
48bbac7f18 Fix flake8 warnings. 2015-04-09 22:55:53 -04:00
Chris Church
0d9d9db1f9 Fix for failing ad hoc command unit tests. 2015-04-09 22:08:33 -04:00
Chris Church
aa0c16d726 Add choices for job and ad hoc command verbosity. 2015-04-09 18:55:42 -04:00
Jared Tabor
c61ef0a602 send user to inventory manage when saving new inventory 2015-04-09 14:42:59 -04:00
John Mitchell
124492e073 fixed host prepopulation with no groups/no hosts from errorsing to console 2015-04-09 13:59:21 -04:00
John Mitchell
37f7c4d1a3 remove pwdmeter 2015-04-09 11:57:10 -04:00
Jared Tabor
8b336ab2e1 adding infinitescroll bower file for licensing 2015-04-09 11:54:10 -04:00
Chris Church
8beed7f409 Disable ControlPersist for ad hoc commands, should avoid any issues with proot or needing to clean up sockets afterwards. 2015-04-09 10:32:24 -04:00
Chris Meyers
3f8ab73733 Merge pull request #131 from chrismeyersfsu/master
install pymongo from pip
2015-04-08 16:19:17 -04:00
John Mitchell
9edef0c483 adhoc for button not displayed if user doesn't have permission 2015-04-08 16:17:55 -04:00
John Mitchell
2df625e45d adding docs stub for adhoc relaunch helper 2015-04-08 16:17:30 -04:00
John Mitchell
20dc2c1c7d added password prompting for adhoc commands 2015-04-08 16:17:05 -04:00
Chris Church
9500e9b63e Change credential to return 'ssh_password' instead of 'password' when value is set to 'ASK'. 2015-04-08 15:32:45 -04:00
Chris Meyers
53bc065d32 Merge pull request #130 from chrismeyersfsu/feature-mongodb_single_fact
added single fact across multiple hosts query + test cases
2015-04-07 21:25:03 -04:00
jaredevantabor
315e0a4f6a Merge pull request #129 from jaredevantabor/become
Become
2015-04-07 18:17:23 -04:00
Jared Tabor
1d20ddc227 adding comments for job submission 2015-04-07 18:14:38 -04:00
Chris Meyers
fc73f1f87a added single fact across multiple hosts query + test cases 2015-04-07 17:50:07 -04:00
Jared Tabor
d5389cc15d refactoring password gathering in job submission 2015-04-07 16:56:31 -04:00
Jared Tabor
eb5e10aa5c adding 'become' privilege escalation on cred
and on job template adding a flag for enabling 'become' escalation.
2015-04-07 15:11:51 -04:00
Jared Tabor
f6827a1079 adding options for privilege escalation drop down
this will get replaced by info from the back end.
2015-04-07 11:24:31 -04:00
Jared Tabor
47d7440b57 changed credential privilege escalation to selectable 2015-04-07 11:24:21 -04:00
Jared Tabor
4955ad4e01 added privilege escalation chxbox to JT form page
the job template page will need to have a flag to provide the user to run playbooks as sudo
2015-04-07 11:24:13 -04:00
Jared Tabor
1b9c050dc8 adding pbrun radio option and input fields 2015-04-07 11:24:00 -04:00
Chris Meyers
cd39b2e2e9 Merge pull request #128 from chrismeyersfsu/feature-mongodb2
Implemented fact scan storage logic. …
2015-04-07 10:40:35 -04:00
jlmitch5
4b1322932f Merge pull request #125 from jlmitch5/adhoc_pr
UI Support for adhoc commands
2015-04-07 10:19:45 -04:00
Chris Meyers
2a039bb31f moved new fact implementation to fact app 2015-04-07 09:50:35 -04:00
Chris Meyers
85c753afea added host timeline query 2015-04-07 09:50:35 -04:00
Chris Meyers
d93a2ec9d1 added host fact query in time 2015-04-07 09:50:35 -04:00
Chris Meyers
a769af0e83 flake8 fixes 2015-04-07 09:50:35 -04:00
Chris Meyers
f5600be39e missed changing path to external resources 2015-04-07 09:50:35 -04:00
Chris Meyers
35e1c19fc2 do not run tests if mongodb connect fails 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
jlmitch5
fd5ce3d3af Fixed failed resp bug when args are necessary
some modules require args...if the one selected does and the user hasn't input any, we can't reset the form...we need the api form error response to display.
2015-04-06 18:49:53 -04:00
jaredevantabor
a5452fa432 Merge pull request #123 from jaredevantabor/tooltip-escaping
HTML tag escaping in tooltips
2015-04-06 15:55:30 -04:00
Jared Tabor
ed3dab91bf adjusted row heights on dashboard, jobs, and portal mode.
adjusted row heights due to change to button font size.
2015-04-06 15:34:01 -04:00
Chris Church
96df8a6d37 Add field on inventory detail to indicate if the user has permission to run ad hoc commands. 2015-04-06 14:58:26 -04:00
John Mitchell
3c878018be fixing grunt errors 2015-04-06 14:31:47 -04:00
Matthew Jones
037c7342c0 Merge branch 'credential_becomes_refactor' into upstream_master
* credential_becomes_refactor:
  Move 'become_enabled' to JobOptions to allow a toplevel field to exist on the Job model also.  Update tasks and migrations to reflect this
  Last of the ad-hoc priv escalation unit test fixes
  Fixing up some unit tests for "become" refactor
  Changing up ad-hoc based unit tests to follow the new "become" refactor
  Migrate ad-hoc feature to use the new ansible become method if provided
  Refactor pbexpect string matches to submit become password
  Updates and fixes for unit tests on supporting ansible "become"
  Refactor credential to use ansible become if using a new enough ansible version.  Add become flag to job template

Conflicts:
	awx/main/tests/ad_hoc.py
2015-04-06 13:37:36 -04:00
Matthew Jones
55f266d323 Move 'become_enabled' to JobOptions to allow a toplevel field to exist
on the Job model also.  Update tasks and migrations to reflect this
2015-04-06 12:34:47 -04:00
John Mitchell
b618d9223f fixed reset from deleting the provided host pattern from the inventory page. 2015-04-06 11:51:07 -04:00
John Mitchell
47e045e9fe update permission list command language 2015-04-06 11:44:15 -04:00
John Mitchell
ce31b98635 UI support for adhoc commands 2015-04-06 10:31:11 -04:00
John Mitchell
584abcc05b random syntax and style fixes to tower js
may include some new dependencies needed for adhoc commands
2015-04-06 10:30:36 -04:00
John Mitchell
4f5ecb7054 Remove Ad Hoc from command job type 2015-04-06 10:14:19 -04:00
Chris Church
e2a6f100e1 Finish ad hoc command unit tests. 2015-04-05 18:32:04 -04:00
Matthew Jones
736f86fc72 Last of the ad-hoc priv escalation unit test fixes 2015-04-03 16:51:34 -04:00