Matthew Jones
efcff9b5f7
Fix psutil usage on el6 for job cancel
...
psutil will fail to import on el6 due to not being able to access a
pseudo terminal. This issues a SIGKILL to the proot process in order to
force the stop
2015-08-05 11:20:48 -04:00
Matthew Jones
14df41b47b
mock stdout unit test patch failure fix
...
Adjust some mock.patch behavior to match the new stdout behavior where
we need to check a file's size as well as its existence
2015-08-05 10:02:07 -04:00
Matthew Jones
7e45ee8b55
Fix empty standard out behavior
...
Previously we could just check for the absence of the stdout file to
know we didn't yet/wouldn't ever have any stdout content. Now that we
are creating the stdout file ahead of time and persisting it we need to
also check to see if the file contains any data. This is also
necessary for some unit tests.
2015-08-04 14:25:05 -04:00
Bill Nottingham
5aa399886b
Fix .ini web links for v2
...
This moved in the github repo.
2015-08-04 13:46:30 -04:00
Matthew Jones
c231601b76
Fix merge issues on stdout branch
...
The act of committing a PR that including part of these changes and then
reverting it meant that some of the changes from the original branch
didn't land in this new PR. This commit adds the missing bits.
Lesson learned: Create a new branch when submitting a PR on a
previously reverted PR
2015-08-04 09:57:39 -04:00
Joe Fiorini
e862e5ca7e
More checkbox fixes
2015-08-04 09:41:13 -04:00
Matthew Jones
bddcb06fab
Merge branch 'stdout_file_download' into upstream_master
...
* stdout_file_download:
Rework stdout display for file storage only
2015-08-03 15:30:17 -04:00
Matthew Jones
1c777c5441
Rework stdout display for file storage only
...
* Cleanup old code related to stdout download using temporary files
* Remove copy-into-database code
* Modify stdout download code to reference stdout file
2015-08-03 15:14:51 -04:00
Matthew Jones
2f05ac7276
Merge pull request #349 from matburt/master
...
Optimize inventory read check for Job Templates
2015-08-03 09:57:51 -04:00
Chris Meyers
e98ee0b428
Merge pull request #330 from chrismeyersfsu/fix-update_instance
...
change update_instance to only take --primary role flag
2015-07-31 15:39:42 -04:00
Chris Meyers
3bc2a38dfe
Merge pull request #323 from chrismeyersfsu/fix-job_survey_vars
...
on job template launch inherit variables in the following hierarchy
2015-07-31 15:37:17 -04:00
Chris Meyers
397158e847
Merge pull request #328 from chrismeyersfsu/fix-ansi
...
fixes stdout formats unicode problem
2015-07-31 14:51:55 -04:00
Joe Fiorini
8e8ec52d15
Fix issues with forms using trueValue and falseValue
2015-07-31 12:00:52 -04:00
Matthew Jones
47a3e69636
Optimize inventory read check for Job Templates
...
Our old check used an extremely inefficient boolean logic AND and
generated a bad query. This does a simpler check by querying the
inventories that the user has access to and using that as a simple
condition when performing the job template permission query
2015-07-31 00:06:12 -04:00
Joe Fiorini
8ce7914cb4
Fix button ordering
2015-07-30 13:05:27 -04:00
Joe Fiorini
c2d1e3865f
Fix checkbox value assignment
2015-07-30 13:05:27 -04:00
Joe Fiorini
a037063a22
Ensure parsers always return a value
2015-07-30 13:03:52 -04:00
Joe Fiorini
bf8b55bfb5
Fix loader to look at index files
2015-07-30 13:03:52 -04:00
Joe Fiorini
84c684155b
Update dependencies
2015-07-30 13:03:52 -04:00
jlmitch5
d3984e45ba
Merge pull request #333 from jlmitch5/jlm_727_credpassphraseui
...
working commit of passphrase disabling
2015-07-29 12:39:53 -04:00
Jared Tabor
b2b867a529
updating to use template URL helper function in routes
2015-07-28 14:21:35 -07:00
Jared Tabor
d806318342
removing stale code
2015-07-28 14:01:14 -07:00
Jared Tabor
8d19eec6af
management jobs fixes
2015-07-28 14:01:13 -07:00
Jared Tabor
fe285a8924
management jobs schedule list query
...
the management jobs should only show the schedules which haven't run yet. updating the query to reflect this.
2015-07-28 14:01:12 -07:00
Jared Tabor
fb99bc1c04
demodalizing management jobs modal
2015-07-28 14:01:11 -07:00
Jared Tabor
4e6c97aa56
demodalizing inventory scripts
...
and refactoring to use es6 modules
2015-07-28 13:54:15 -07:00
Jared Tabor
ee6bc5dbfd
redirecting to inventory manage screen after save
...
after saving a new inventory
2015-07-28 13:19:26 -07:00
Jared Tabor
d9559934b0
adding last user to last path logic
...
in order to send the user to their last path if and only if they were the last user too.
2015-07-28 13:19:25 -07:00
Jared Tabor
5310d3989a
Pagination widget
...
The 'previous' button was not properly disabled when multiple pagination widgets were on the same page. Fixed by inlucding the 'iterator' in the 'previous' button lookup
2015-07-28 13:19:24 -07:00
Jared Tabor
6b4b959bc5
removing unneccessary tooltip on scheduler modal
2015-07-28 13:19:24 -07:00
Jared Tabor
2e3844decb
changing select type from checkbox to radio button
...
for the selection of Team in the credential add/edit form page
2015-07-28 13:19:23 -07:00
Chris Meyers
0ce3a240e6
on job template launch inherit variables in the following hierarchy
...
(bottom up):
* Job Launch Extra Vars
* Job Template Survey (defaults)
* Job Template Extra vars
2015-07-28 09:21:43 -04:00
Matthew Jones
e9370d0199
Merge pull request #326 from matburt/fix_cancel_behavior_in_proot
...
Fix proot job cancel behavior
2015-07-27 20:49:59 -04:00
John Mitchell
f080339b9a
working commit of passphrase disabling
2015-07-27 15:18:52 -04:00
Joe Fiorini
f360a625ea
Get tests running again
2015-07-27 10:19:15 -04:00
Joe Fiorini
e2453b4199
Revert to prior method of compiling CSS
2015-07-27 10:19:15 -04:00
Joe Fiorini
fd85aec6d5
Add some missing Less imports
2015-07-27 10:19:15 -04:00
Joe Fiorini
14d332545c
Treat about partial as a static asset
...
Now bundling all partials into `templates.js`. This didn't work so well
for the about partial because the cowsay <pre> tag got all messed up
when it was pre-cached in JavaScript. Moving this to assets to show that
it's not meant to be bundled, but downloaded as an ajax request instead.
2015-07-27 10:19:15 -04:00
Joe Fiorini
b7c136aba7
Separate node test build from browser build
2015-07-27 10:19:14 -04:00
Joe Fiorini
811d0b1403
Build to awx/ui/static instead of dist
2015-07-27 10:19:14 -04:00
Joe Fiorini
98a37a354a
Move code to awx/ui/client
2015-07-27 10:19:14 -04:00
John Mitchell
113da9f599
fixe become help copy in credentials
2015-07-27 10:02:02 -04:00
John Mitchell
d9c5904f69
made project autopopulate in permission form
2015-07-27 09:35:17 -04:00
John Mitchell
d56ab2b18b
update host graph when jobs complete
2015-07-27 09:07:42 -04:00
Matthew Jones
5df23b95f6
Revert "Improve stdout behavior by implementing a downloadable stdout."
2015-07-24 14:54:13 -04:00
Chris Meyers
9ee9d9031a
fixes stoud formats unicode problem
2015-07-24 14:50:36 -04:00
Matthew Jones
e5776dd22d
Merge pull request #320 from matburt/stdout_file_download
...
Improve stdout behavior by implementing a downloadable stdout.
2015-07-24 12:28:17 -04:00
Matthew Jones
28759e9f20
Use psutil to find the right job to TERM
...
* When using proot use psutil to find the ansible child process and
issue the SIGTERM to instead of the proot process
2015-07-24 12:06:02 -04:00
Chris Meyers
8a453d51b2
change update_instance to only take --primary role flag
...
* removed --secondary option
2015-07-24 08:46:34 -04:00
John Mitchell
b0f7df8fa9
fixed the become hide of password on select option null for credentials
2015-07-23 17:03:43 -04:00