4009 Commits

Author SHA1 Message Date
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
Jared Tabor
0fdb9703ea removing intervals that attempt to open sockets
the intervals are not necessary and we can rely on the socket service doing the reconnection for us.
2015-04-03 16:44:34 -04:00
Matthew Jones
e8d010533f Fixing up some unit tests for "become" refactor 2015-04-03 16:26:52 -04:00
Matthew Jones
39d0f91fdb Merge pull request #117 from matburt/scan_files_implementation
Scan files implementation
2015-04-03 15:37:34 -04:00
Matthew Jones
beac5c30d2 Changing up ad-hoc based unit tests to follow the new "become" refactor 2015-04-03 15:35:04 -04:00
Matthew Jones
2e58f5fd00 Migrate ad-hoc feature to use the new ansible become method if provided 2015-04-03 15:17:52 -04:00
Bill Nottingham
767ec36ad6 Fix typo 2015-04-03 15:00:01 -04:00
Matthew Jones
b6e9382273 Refactor pbexpect string matches to submit become password 2015-04-03 13:57:33 -04:00
Jared Tabor
fa27d7de93 adding sanitizer filter for app
I'm adding a sanitize filter to be used whenever we want to escape tags that are generated from user input. In addition, I created a filters folder and a filter file that imports filters into the app
2015-04-03 12:56:19 -04:00
Jared Tabor
0ea69b1312 removing aw-tooltip-ellipses
this was an unused directive that needs to be removed
2015-04-03 12:56:19 -04:00
Jared Tabor
aae91bbf37 Socket.js
clearing out setInterval timer that tries to reconnect the client to the socket service from within the socket controller for cases where the auth token is expired.
2015-04-03 12:46:09 -04:00
Chris Meyers
c06ba1209e Merge pull request #119 from chrismeyersfsu/ops-mongo_dependencies
added dependencies mongoengine and pymongo
2015-04-03 09:17:24 -04:00
Chris Meyers
9012455b6d added dependencies mongoengine and pymongo 2015-04-03 08:40:16 -04:00