Matthew Jones
c43a7be99e
Make it so that we take source_vars with the custom inventory script
...
when defining the inventory source. Slight modification to the UI to
make that possible
2014-10-14 15:38:42 -04:00
Matthew Jones
8b8fb2403c
Fix some bugs with missing elements in the run system job task
2014-10-14 14:21:18 -04:00
Matthew Jones
6ed9705d91
Small fix for system job serializer
2014-10-14 13:56:58 -04:00
Matthew Jones
b3ea148f53
Label the SystemJob Access class with the proper model
2014-10-14 13:54:12 -04:00
Matthew Jones
fa0879f15b
Add basic access for system jobs (super user only)
2014-10-14 13:47:44 -04:00
Matthew Jones
434144d276
Make min and max optional in the fields they are used in
2014-10-14 13:37:52 -04:00
Matthew Jones
fbf9a4957e
Initial system job implementation
2014-10-14 11:11:17 -04:00
Matthew Jones
983eb43aec
Add new to the list of statuses that will be canceled if a job's parent
...
is removed
2014-10-14 10:12:01 -04:00
Jared Tabor
8d0cdd66e0
fixing prompt for survey
...
within the job launch modal, the prompt for survey needed to be re-styled, as well as getting 'required' warning for each question
2014-10-14 09:59:22 -04:00
Jared Tabor
5b2eadf60b
added 'form-control' class to survey maker
...
form control class added to the integer/float input fields to make them more uniform throughout
2014-10-14 09:54:43 -04:00
Jared Tabor
4d47d79235
fixed issue with survey question float validation
...
the survey question 'float' option was missing the wrong directive in the element attributes
2014-10-14 09:53:14 -04:00
Jared Tabor
ef768afcbc
fixed jshint errors on directives
2014-10-14 09:52:11 -04:00
Jared Tabor
68f80f6411
fixed the css on survey taker to make it uniform
...
the survey portion of the job launch modal needed to be made to look more like the prompt for passwords and prompt for variables
2014-10-14 09:38:36 -04:00
Jared Tabor
3216d5e12b
fixed ng-min directive to include 0
...
the directive was evaluating 0 as 'false'
2014-10-14 09:38:12 -04:00
James Laska
d43ed5b67e
Correct job_task and job_play help documentation
...
Use the correct query parameter and correct the 'icontains' examples.
2014-10-14 09:00:46 -04:00
Jared Tabor
995bf8c58f
adding cancel button for survey question form
...
cancel button closes the survey question form and returns the modal into its previous state
2014-10-10 14:47:37 -04:00
Jared Tabor
7dd2612268
more validation on survey question
...
survey question needed to have validation that didn't allow the min/max values to overlap incorrectly and for the survey save button to be disabled if hte user is in the process of adding another question
2014-10-10 13:32:06 -04:00
Jared Tabor
2bfdb31deb
added case in generator-helpers for icon in survey
...
survey question 'cancel' button needed appropriate icon
2014-10-10 13:31:06 -04:00
Jared Tabor
9879076cae
ngMin and ngMax for integer/float survey question
...
ngMing and ngMax are directives for setting limitations on number/float fields
2014-10-10 13:30:41 -04:00
Matthew Jones
a7f1202316
Fix spelling error in validation error message
2014-10-10 12:47:54 -04:00
Chris Church
a8952dd796
Fixes https://trello.com/c/ymLR3cfq - Prevent IE from using compatibility mode.
2014-10-09 18:20:30 -04:00
Matthew Jones
62e3b6ad08
Add DELETE to the job template survey spec endpoint
2014-10-09 13:46:03 -04:00
Matthew Jones
681954ab99
Make question_description optional in the survey spec
2014-10-09 09:56:28 -04:00
Jared Tabor
13bf8d89d0
adding more survey maker form validation
...
added validation on integers and floats that ensure answers are int/floats and that they meet the restrictions placed by min/max
2014-10-09 00:26:24 -04:00
Matthew Jones
71e87f7a41
Throw away everything but the first line when fetching the ansible version
2014-10-08 13:30:36 -04:00
Jared Tabor
adb06fba4a
removed surveymaker.js from the index
...
this controller is no longer needed.
2014-10-08 12:04:37 -04:00
Jared Tabor
05a87d0cea
added ngRequired option for textareas
...
this is for survey maker so that certain textareas can be required. This is for multiple choice questions and the options that are required for them
2014-10-08 12:02:42 -04:00
Jared Tabor
360e813258
added a formReset funciton for survey maker
...
this is for getting the survey maker to an initial state, since the survey maker form was removed
2014-10-08 12:00:25 -04:00
Jared Tabor
25ecd6326d
adding directives to integer min/max and integer default answer fields
...
this was supposed to be included in the last commit
2014-10-08 11:58:46 -04:00
Jared Tabor
1b8ebc57e4
added extra validation for integers, specifically for min/max, and for valid integer
...
added ng-min and ng-max directive, and made adjustments to question form for new directives
2014-10-08 11:56:24 -04:00
Jared Tabor
b22c4cb56a
removed routes for old unused survey controllers
...
for survemakeradd and surverymakeredit, these controllers are not being used anymore and have been replaced by the surver helper class. i'm taking out the routes for these html pages/controllers as they are no longer relavant
2014-10-08 10:00:44 -04:00
Matthew Jones
9c81144533
More documentation and validation for job relaunching/template launching
2014-10-07 17:01:12 -04:00
Matthew Jones
6e24131070
Change filtering priority to prevent building a queryset with null
...
values when examining project activity stream
2014-10-07 16:49:27 -04:00
Matthew Jones
ea36e30190
Cancel any running or pending actions when one of the unified job types
...
is deleted/marked inactive
2014-10-07 16:34:10 -04:00
Matthew Jones
d3e5db52cb
Adding job template survey documentation
2014-10-07 13:44:33 -04:00
Matthew Jones
7430973234
Add validation for survey elements on the api side
2014-10-07 10:56:45 -04:00
Jared Tabor
47deaa702d
fixed default answer field in question maker. also added validation for choices if multichoice or multiselect is chosen
2014-10-06 16:15:16 -04:00
Matthew Jones
d6adb1d398
Add a settings that disallows org admins from seeing users outside of
...
their organization. See: https://trello.com/c/M74W11hQ
2014-10-06 15:59:05 -04:00
Matthew Jones
d55569ed51
Reworded invalide private key data to be more generic
2014-10-06 15:09:21 -04:00
Matthew Jones
2b61048651
Revert "Remove the Amazon AMI license handler from tower proper"
...
This reverts commit 22c2f0513d5e08d810ea6b14bc9595642def9462.
2014-10-06 09:59:54 -04:00
Jared Tabor
666496181a
adding survey taker form and fix to job submission
2014-10-03 20:28:27 -04:00
Jared Tabor
352cec7a37
fixed errors in JobSubmission
2014-10-03 20:25:44 -04:00
Jared Tabor
2d3a5f5a65
added new files to app.js and index.html
2014-10-03 20:07:17 -04:00
Jared Tabor
45ae67d7b5
adding changes to form generator for ngDisabled for buttons
2014-10-03 20:05:15 -04:00
Jared Tabor
a76459e62c
made survey taker + prompt for passwords + prompt for variables one modal window
2014-10-03 20:04:16 -04:00
Jared Tabor
3b0e3bd9d5
fixed job template for changes to survey maker
2014-10-03 20:01:51 -04:00
Jared Tabor
752f2d8013
adding updated survey maker with no survey name or survey description
2014-10-03 20:00:22 -04:00
Matthew Jones
be7819e3d7
Make sure that if you have variables being required to start that we
...
return false when determining if the job can start without input
2014-10-03 14:16:50 -04:00
Matthew Jones
d3416336ed
Handle the case where the existing extra vars is None
2014-10-03 10:26:24 -04:00
Matthew Jones
c609f7a81d
Refactor callback receiver
...
* Move callback socket listener into its own method spawned as a
seperate process
* launch and manage worker processes from a parent process and isolate
them such that a fork doesn't inherit the zeromq socket
2014-10-03 00:37:08 -04:00