1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00
Commit Graph

3500 Commits

Author SHA1 Message Date
Jared Tabor
6fccee404a Job Submission
The job submission should NOT send an empty extra_vars dict if no extra variable are collected as a result of the job submission prompts. I was under the impression that an empty extra vars dict would be disregarded. An empty extra_vars dict will in fact overwrite any extra_vars in the JT with a blank set of extra_vars
2015-01-05 18:27:35 -05:00
Luke Sneeringer
86a47bb11c Ensure extra_vars is initiated. 2015-01-05 16:51:11 -06:00
Matthew Jones
21d45b828f Fix up an issue where we wouldn't properly show can_edit or can_copy 2015-01-05 16:28:31 -05:00
Jared Tabor
5d5213ba4c Socket.js
removing 'force new connection' line again
2015-01-05 16:07:36 -05:00
Jared Tabor
f6baacfbe2 Socket.js
adding 'force new connection' line back into socket file
2015-01-05 11:14:40 -05:00
Jared Tabor
a2b5c38436 Typo on survey help 2015-01-05 09:40:30 -05:00
Jared Tabor
b0c9845bc3 Survey maker prevent duplicate vars
Added check in survey maker to prevent saving a question that uses a variable that is already in use.
2014-12-19 14:28:38 -05:00
Jared Tabor
54465d4b31 Socket.js
removing the line i added for the security patch per Matt's request
2014-12-19 14:22:13 -05:00
Jared Tabor
c7c25250a7 Dashboard host count graph
Pie chart tooltip wasn't displaying values with commas properly
2014-12-19 13:57:22 -05:00
Jared Tabor
e41de1684c Job Template form survey check
The job template form wasn't checking for survey in every scenario
2014-12-19 12:18:23 -05:00
Jared Tabor
05ff0a14a4 Job submission
if survey is enabled and not prompting for extra vars then get the extra vars from the job template
2014-12-19 12:05:09 -05:00
Matthew Jones
526e488e78 Incorrect assumption that we needed to merge extra vars manually... now
passing extra vars to the job template launchc will override what is
coming from the job template
2014-12-19 10:51:55 -05:00
Matthew Jones
da658ee524 Fix an issue with relaunching jobs 2014-12-18 16:39:04 -05:00
Jared Tabor
cd486b6d9a Job detail page
When the job run was complete the interval was not being turned off that would continue to update the DOM
2014-12-18 16:29:14 -05:00
Jared Tabor
f5100ee110 Cleanup tower modal issue between saves
cleaned up the management modal between states
2014-12-18 14:25:41 -05:00
Matthew Jones
58ef1df906 Remove foob :embarassed: 2014-12-18 14:23:09 -05:00
Luke Sneeringer
27e8d13790 Do not run task system on secondaries. 2014-12-18 12:14:49 -06:00
Jared Tabor
50372f9c38 Prompt for credentials
fixed prompt for credentials so that ssh and ssh key unlock were both accounted for
2014-12-18 10:52:53 -05:00
Matthew Jones
9ce6101cd4 Do not display inventory scripts for which the organization is inactive 2014-12-18 10:04:40 -05:00
Matthew Jones
45a7c1647f Fix error message returned based on variables_needed_to_start 2014-12-18 08:07:51 -05:00
Matthew Jones
a130ac88dd Fix an bug where I wouldn't properly error out when survey validation
would fail
2014-12-17 22:39:11 -05:00
Matthew Jones
6f5d450e8d Fix an issue that would not allow credential to be posted when launching
a job
2014-12-17 21:09:51 -05:00
Jared Tabor
be2f2596f3 Made delete prompts use the same styling
made the delete prompts more uniform
2014-12-17 17:49:45 -05:00
Jared Tabor
7d0e6d8f53 Account menu for Tower after portal mode
the account menu for tower was displaying items for non-admin users after going to portal page and back to tower.
2014-12-17 17:41:53 -05:00
Jared Tabor
318da8522f Passing vars to API via extra_vars in job launch
We changed this at one point to have all vars passed on the root level, but for uniformity we have changed it back to using the extra_vars object
2014-12-17 17:29:43 -05:00
Matthew Jones
41cabb0899 Add the ability to cleanup management jobs in the cleanup_jobs
management command
2014-12-17 16:54:13 -05:00
Luke Sneeringer
fd6eb66b20 Secondaries should not have schedules. 2014-12-17 15:33:16 -06:00
Matthew Jones
d4879506c2 Switch to using extra_vars for survey variables, fix up some unit tests
related to that and some issues with system jobs
2014-12-17 16:04:55 -05:00
Jared Tabor
6e3cd5bc54 Added "Manual" to inventory source options
The 'manual' option was not being shown b/c it's value was an empty string.
2014-12-17 15:29:25 -05:00
Matthew Jones
7d9f4aac47 Working smart_str in projects unit tests 2014-12-17 14:13:59 -05:00
Luke Sneeringer
c02647cf04 Always allow the /ping/ endpoint, even on secondaries.
Also, if content is None, it does not have the keys we are checking for
in the ./configure script.
2014-12-17 13:09:58 -06:00
Luke Sneeringer
efee35bf70 Fix redirect. 2014-12-17 12:29:58 -06:00
Luke Sneeringer
719ae63a28 Fix error causing single-host HA environments to report not HA. 2014-12-17 12:22:53 -06:00
Matthew Jones
0ffa7588e1 Fix up a unit test for project paths 2014-12-17 13:04:33 -05:00
Matthew Jones
f4e67f789f More making sure we are using smart_str 2014-12-17 12:59:52 -05:00
Matthew Jones
1f723e9404 More work on unicode for project dirs 2014-12-17 12:52:29 -05:00
Matthew Jones
edb646fdf9 Use smart_str more widely with project paths... hopefully this takes
care of the remaining issues
2014-12-17 11:06:56 -05:00
Chris Church
844e1b7343 Update validation for instance filters to allow 'tag:key=value'. Fixes https://trello.com/c/VH9Vnd8z. 2014-12-17 02:31:33 -05:00
Chris Church
ee97e83b2c Allow EC2 inventory sources to omit a credential in order to use IAM roles. Implements https://trello.com/c/aBMF95eF 2014-12-17 01:50:25 -05:00
Chris Church
4ee092152b Fix intermediate migrations to reflect modifications to 0055_v210_changes. 2014-12-16 18:02:04 -05:00
Matthew Jones
b2e1f04ecf Include all cleanup tasks when the cleanup management job is run 2014-12-16 15:38:07 -05:00
Jared Tabor
f422d86355 Survey maker edit multiple quesitons
The survey maker would allow the user to edit multiple questions at the same time. I've removed this functionality.
2014-12-16 15:06:27 -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
c014399d6e Try smart_str for this particular encoding 2014-12-16 13:59:06 -05:00
Jared Tabor
956dfedb30 Job detail job events
The job events modal was not being loaded because the data call to the API was not specifying which page of data to request.
2014-12-16 13:49:40 -05:00
Matthew Jones
cf5cd3fcdc Make sure we are decoding the project path 2014-12-16 13:16:07 -05:00
Matthew Jones
76a7d25131 Force custom inventory script organization to match the organization of
an inventory source's inventory when creating/updating the inventory source
2014-12-16 13:01:11 -05:00
Matthew Jones
b0d6628d46 Add some stdout to the activity stream cleanup command 2014-12-16 10:06:07 -05:00
Jared Tabor
feaee64706 Made SCM update button disabled on edit projects
On the edits project page I disabled the button if the SCM type is manual.
2014-12-16 01:23:12 -05:00
Jared Tabor
283e4a2a96 Custom inventory scripts required on source modal
custom inventory scripts needs to be required when on the source modal screen
2014-12-15 16:40:07 -05:00